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.8.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.8.0'
274 PACKAGE_STRING
='wxWidgets 2.8.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 wx_top_builddir 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 ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS 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 CAIRO_CFLAGS CAIRO_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 AROPTIONS 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 BK_DEPS GCC_PCH ICC_PCH BK_MAKE_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_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_TOOLKIT_MGL COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_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_DFB COND_TOOLKIT_DFB_USE_GUI_1 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
789 ac_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value
=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value
=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value
=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value
=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
861 ac_env_GST_LIBS_set
=${GST_LIBS+set}
862 ac_env_GST_LIBS_value
=$GST_LIBS
863 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value
=$GST_LIBS
867 # Report the --help message.
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
873 \`configure' configures wxWidgets 2.8.0 to adapt to many kinds of systems.
875 Usage: $0 [OPTION]... [VAR=VALUE]...
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
880 Defaults for the options are specified in brackets.
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
907 For better control, use the options below.
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
927 --x-includes=DIR X include files are
in DIR
928 --x-libraries=DIR X library files are
in DIR
931 --build=BUILD configure
for building on BUILD
[guessed
]
932 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
933 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short
| recursive
) echo "Configuration of wxWidgets 2.8.0:";;
944 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
945 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
952 --enable-gpe use GNOME PDA Environment features
if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL
for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C
++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --disable-vararg_macros don
't use vararg macros, even if they are supported
969 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
970 --enable-compat24 enable wxWidgets 2.4 compatibility
971 --disable-compat26 disable wxWidgets 2.6 compatibility
972 --disable-rpath disable use of rpath for uninstalled builds
973 --enable-intl use internationalization system
974 --enable-config use wxConfig (and derived) classes
975 --enable-protocols use wxProtocol and derived classes
976 --enable-ftp use wxFTP (requires wxProtocol
977 --enable-http use wxHTTP (requires wxProtocol
978 --enable-fileproto use wxFileProto class (requires wxProtocol
979 --enable-sockets use socket/network classes
980 --enable-ole use OLE classes (Win32 only)
981 --enable-dataobj use data object classes
982 --enable-ipc use interprocess communication (wxSocket etc.)
983 --enable-apple_ieee use the Apple IEEE codec
984 --enable-arcstream use wxArchive streams
985 --enable-backtrace use wxStackWalker class for getting backtraces
986 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
987 --enable-cmdline use wxCmdLineParser class
988 --enable-datetime use wxDateTime class
989 --enable-debugreport use wxDebugReport class
990 --enable-dialupman use dialup network classes
991 --enable-dynlib use wxLibrary class for DLL loading
992 --enable-dynamicloader use (new) wxDynamicLibrary class
993 --enable-exceptions build exception-safe library
994 --enable-ffile use wxFFile class
995 --enable-file use wxFile class
996 --enable-filesystem use virtual file systems classes
997 --enable-fontmap use font encodings conversion classes
998 --enable-fs_archive use virtual archive filesystems
999 --enable-fs_inet use virtual HTTP/FTP filesystems
1000 --enable-fs_zip now replaced by fs_archive
1001 --enable-geometry use geometry class
1002 --enable-log use logging system
1003 --enable-longlong use wxLongLong class
1004 --enable-mimetype use wxMimeTypesManager
1005 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1006 --enable-snglinst use wxSingleInstanceChecker class
1007 --enable-std_iostreams use standard C++ stream classes
1008 --enable-std_string use standard C++ string classes
1009 --enable-stdpaths use wxStandardPaths class
1010 --enable-stopwatch use wxStopWatch class
1011 --enable-streams use wxStream etc classes
1012 --enable-sysoptions use wxSystemOptions
1013 --enable-tarstream use wxTar streams
1014 --enable-textbuf use wxTextBuffer class
1015 --enable-textfile use wxTextFile class
1016 --enable-timer use wxTimer class
1017 --enable-unicode compile wxString with Unicode support
1018 --enable-sound use wxSound class
1019 --enable-mediactrl use wxMediaCtrl class
1020 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1021 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1022 --enable-zipstream use wxZip streams
1023 --enable-url use wxURL class
1024 --enable-variant use wxVariant class
1025 --enable-protocol use wxProtocol class
1026 --enable-protocol-http HTTP support in wxProtocol
1027 --enable-protocol-ftp FTP support in wxProtocol
1028 --enable-protocol-file FILE support in wxProtocol
1029 --enable-threads use threads
1030 --enable-docview use document view architecture
1031 --enable-help use help subsystem
1032 --enable-mshtmlhelp use MS HTML Help (win32)
1033 --enable-html use wxHTML sub-library
1034 --enable-htmlhelp use wxHTML-based help
1035 --enable-xrc use XRC resources sub-library
1036 --enable-aui use AUI docking library
1037 --enable-constraints use layout-constraints system
1038 --enable-printarch use printing architecture
1039 --enable-mdi use multiple document interface architecture
1040 --enable-mdidoc use docview architecture with MDI
1041 --enable-loggui use standard GUI logger
1042 --enable-logwin use wxLogWindow
1043 --enable-logdialog use wxLogDialog
1044 --enable-webkit use wxWebKitCtrl (Mac)
1045 --enable-richtext use wxRichTextCtrl
1046 --enable-graphics_ctx use graphics context 2D drawing API
1047 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1048 --enable-prologio not available; see contrib
1049 --enable-resources not available; see contrib
1050 --enable-clipboard use wxClipboard class
1051 --enable-dnd use Drag'n
'Drop classes
1052 --enable-metafile use win32 metafiles
1053 --enable-controls use all usual controls
1054 --enable-accel use accelerators
1055 --enable-animatectrl use wxAnimationCtrl class
1056 --enable-button use wxButton class
1057 --enable-bmpbutton use wxBitmapButton class
1058 --enable-bmpcombobox use wxBitmapComboBox class
1059 --enable-calendar use wxCalendarCtrl class
1060 --enable-caret use wxCaret class
1061 --enable-checkbox use wxCheckBox class
1062 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1063 --enable-choice use wxChoice class
1064 --enable-choicebook use wxChoicebook class
1065 --enable-collpane use wxCollapsiblePane class
1066 --enable-colourpicker use wxColourPickerCtrl class
1067 --enable-combobox use wxComboBox class
1068 --enable-comboctrl use wxComboCtrl class
1069 --enable-datepick use wxDatePickerCtrl class
1070 --enable-dirpicker use wxDirPickerCtrl class
1071 --enable-display use wxDisplay class
1072 --enable-detect_sm use code to detect X11 session manager
1073 --enable-filepicker use wxFilePickerCtrl class
1074 --enable-fontpicker use wxFontPickerCtrl class
1075 --enable-gauge use wxGauge class
1076 --enable-grid use wxGrid class
1077 --enable-dataviewctrl, use wxDataViewCtrl class
1078 --enable-hyperlink use wxHyperlinkCtrl class
1079 --enable-imaglist use wxImageList class
1080 --enable-listbook use wxListbook class
1081 --enable-listbox use wxListBox class
1082 --enable-listctrl use wxListCtrl class
1083 --enable-notebook use wxNotebook class
1084 --enable-odcombobox use wxOwnerDrawnComboBox class
1085 --enable-radiobox use wxRadioBox class
1086 --enable-radiobtn use wxRadioButton class
1087 --enable-sash use wxSashWindow class
1088 --enable-scrollbar use wxScrollBar class and scrollable windows
1089 --enable-slider use wxSlider class
1090 --enable-spinbtn use wxSpinButton class
1091 --enable-spinctrl use wxSpinCtrl class
1092 --enable-splitter use wxSplitterWindow class
1093 --enable-statbmp use wxStaticBitmap class
1094 --enable-statbox use wxStaticBox class
1095 --enable-statline use wxStaticLine class
1096 --enable-stattext use wxStaticText class
1097 --enable-statusbar use wxStatusBar class
1098 --enable-tabdialog use wxTabControl class
1099 --enable-textctrl use wxTextCtrl class
1100 --enable-togglebtn use wxToggleButton class
1101 --enable-toolbar use wxToolBar class
1102 --enable-tbarnative use native wxToolBar class
1103 --enable-treebook use wxTreebook class
1104 --enable-toolbook use wxToolbook class
1105 --enable-treectrl use wxTreeCtrl class
1106 --enable-tipwindow use wxTipWindow class
1107 --enable-popupwin use wxPopUpWindow class
1108 --enable-commondlg use all common dialogs
1109 --enable-aboutdlg use wxAboutBox
1110 --enable-choicedlg use wxChoiceDialog
1111 --enable-coldlg use wxColourDialog
1112 --enable-filedlg use wxFileDialog
1113 --enable-finddlg use wxFindReplaceDialog
1114 --enable-fontdlg use wxFontDialog
1115 --enable-dirdlg use wxDirDialog
1116 --enable-msgdlg use wxMessageDialog
1117 --enable-numberdlg use wxNumberEntryDialog
1118 --enable-splash use wxSplashScreen
1119 --enable-textdlg use wxTextDialog
1120 --enable-tipdlg use startup tips
1121 --enable-progressdlg use wxProgressDialog
1122 --enable-wizarddlg use wxWizard
1123 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1124 --enable-miniframe use wxMiniFrame class
1125 --enable-tooltips use wxToolTip class
1126 --enable-splines use spline drawing code
1127 --enable-mousewheel use mousewheel
1128 --enable-validators use wxValidator and derived classes
1129 --enable-busyinfo use wxBusyInfo
1130 --enable-joystick use wxJoystick
1131 --enable-metafiles use wxMetaFile (Win32 only)
1132 --enable-dragimage use wxDragImage
1133 --enable-accessibility enable accessibility support
1134 --enable-dccache cache temporary wxDC objects (Win32 only)
1135 --enable-palette use wxPalette class
1136 --enable-image use wxImage class
1137 --enable-gif use gif images (GIF file format)
1138 --enable-pcx use pcx images (PCX file format)
1139 --enable-tga use tga images (TGA file format)
1140 --enable-iff use iff images (IFF file format)
1141 --enable-pnm use pnm images (PNM file format)
1142 --enable-xpm use xpm images (XPM file format)
1143 --enable-icocur use Windows ICO and CUR formats
1144 --enable-official_build official build of wxWidgets (win32 DLL only)
1145 --enable-vendor=VENDOR vendor name (win32 DLL only)
1146 --disable-largefile omit support for large files
1147 --disable-gtktest do not try to compile and run a test GTK+ program
1148 --disable-gtktest Do not try to compile and run a test GTK program
1149 --disable-sdltest Do not try to compile and run a test SDL program
1150 --enable-omf use OMF object format (OS/2)
1151 --disable-dependency-tracking
1152 don't use dependency tracking even
if the compiler
1154 --disable-precomp-headers
1155 don
't use precompiled headers even if compiler can
1158 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1159 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1160 --without-subdirs don't generate makefiles
for samples
/demos
/...
1161 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1162 --with-motif use Motif
/Lesstif
1163 --with-mac use Mac OS X
1164 --with-cocoa use Cocoa
1165 --with-wine use Wine
1166 --with-msw use MS
-Windows
1167 --with-pm use OS
/2 Presentation Manager
1168 --with-mgl use SciTech MGL
1169 --with-directfb use DirectFB
1170 --with-microwin use MicroWindows
1172 --with-libpng use libpng
(PNG image format
)
1173 --with-libjpeg use libjpeg
(JPEG
file format
)
1174 --with-libtiff use libtiff
(TIFF
file format
)
1175 --with-libxpm use libxpm
(XPM
file format
)
1176 --with-libmspack use libmspack
(CHM
help files loading
)
1177 --with-sdl use SDL
for audio on Unix
1178 --with-gnomeprint use GNOME print
for printing under GNOME
1179 --with-gnomevfs use GNOME VFS
for associating MIME types
1180 --with-hildon use Hildon framework
for Nokia
770
1181 --with-opengl use OpenGL
(or Mesa
)
1182 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1183 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1184 --with-regex enable support
for wxRegEx class
1185 --with-zlib use zlib
for LZW compression
1186 --with-odbc use the IODBC and wxODBC classes
1187 --with-expat enable XML support using expat parser
1188 --with-flavour=NAME specify a name to identify this build
1189 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1190 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1191 --with-x use the X Window System
1192 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1193 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1194 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1195 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1196 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1198 Some influential environment variables
:
1199 CC C compiler
command
1200 CFLAGS C compiler flags
1201 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1202 nonstandard directory
<lib dir
>
1203 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1204 headers
in a nonstandard directory
<include dir
>
1206 CXX C
++ compiler
command
1207 CXXFLAGS C
++ compiler flags
1208 CXXCPP C
++ preprocessor
1209 PKG_CONFIG path to pkg
-config utility
1211 C compiler flags
for DIRECTFB
, overriding pkg
-config
1213 linker flags
for DIRECTFB
, overriding pkg
-config
1215 C compiler flags
for PANGOX
, overriding pkg
-config
1216 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1218 C compiler flags
for PANGOFT2
, overriding pkg
-config
1220 linker flags
for PANGOFT2
, overriding pkg
-config
1222 C compiler flags
for PANGOXFT
, overriding pkg
-config
1224 linker flags
for PANGOXFT
, overriding pkg
-config
1225 LIBGNOMEPRINTUI_CFLAGS
1226 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1227 LIBGNOMEPRINTUI_LIBS
1228 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1230 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1232 linker flags
for GNOMEVFS
, overriding pkg
-config
1234 C compiler flags
for HILDON
, overriding pkg
-config
1235 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1237 C compiler flags
for CAIRO
, overriding pkg
-config
1238 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1239 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1240 GST_LIBS linker flags
for GST
, overriding pkg
-config
1242 Use these variables to override the choices made by
`configure' or to help
1243 it to find libraries and programs with nonstandard names/locations.
1245 Report bugs to <wx-dev@lists.wxwidgets.org>.
1249 if test "$ac_init_help" = "recursive"; then
1250 # If there are subdirs, report their specific --help.
1252 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1253 test -d $ac_dir || continue
1256 if test "$ac_dir" != .; then
1257 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1258 # A "../" for each directory in $ac_dir_suffix.
1259 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1261 ac_dir_suffix= ac_top_builddir=
1265 .) # No --srcdir option. We are building in place.
1267 if test -z "$ac_top_builddir"; then
1270 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1272 [\\/]* | ?:[\\/]* ) # Absolute path.
1273 ac_srcdir=$srcdir$ac_dir_suffix;
1274 ac_top_srcdir=$srcdir ;;
1276 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1277 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1280 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1281 # the directories may not exist.
1283 .) ac_abs_builddir="$ac_dir";;
1286 .) ac_abs_builddir=`pwd`;;
1287 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1288 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1291 case $ac_abs_builddir in
1292 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1294 case ${ac_top_builddir}. in
1295 .) ac_abs_top_builddir=$ac_abs_builddir;;
1296 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1297 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1300 case $ac_abs_builddir in
1301 .) ac_abs_srcdir=$ac_srcdir;;
1304 .) ac_abs_srcdir=$ac_abs_builddir;;
1305 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1306 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1309 case $ac_abs_builddir in
1310 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1312 case $ac_top_srcdir in
1313 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1314 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1315 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1320 # Check for guested configure; otherwise get Cygnus style configure.
1321 if test -f $ac_srcdir/configure.gnu; then
1323 $SHELL $ac_srcdir/configure.gnu --help=recursive
1324 elif test -f $ac_srcdir/configure; then
1326 $SHELL $ac_srcdir/configure --help=recursive
1327 elif test -f $ac_srcdir/configure.ac ||
1328 test -f $ac_srcdir/configure.in; then
1330 $ac_configure --help
1332 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1338 test -n "$ac_init_help" && exit 0
1339 if $ac_init_version; then
1341 wxWidgets configure 2.8.0
1342 generated by GNU Autoconf 2.59
1344 Copyright (C) 2003 Free Software Foundation, Inc.
1345 This configure script is free software; the Free Software Foundation
1346 gives unlimited permission to copy, distribute and modify it.
1352 This file contains any messages produced by compilers while
1353 running configure, to aid debugging if configure makes a mistake.
1355 It was created by wxWidgets $as_me 2.8.0, which was
1356 generated by GNU Autoconf 2.59. Invocation command line was
1367 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1368 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1369 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1370 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1371 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1373 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1374 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1376 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1377 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1378 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1379 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1380 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1381 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1382 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1390 test -z "$as_dir" && as_dir=.
1391 echo "PATH: $as_dir"
1406 # Keep a trace of the command line.
1407 # Strip out --no-create and --no-recursion so they do not pile up.
1408 # Strip out --silent because we don't want to record it for future runs.
1409 # Also quote any args containing shell meta-characters.
1410 # Make two passes to allow for proper duplicate-argument suppression.
1415 ac_must_keep_next=false
1421 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1422 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1423 | -silent | --silent | --silen | --sile | --sil)
1425 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1426 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1429 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1431 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1432 if test $ac_must_keep_next = true; then
1433 ac_must_keep_next=false # Got value, back to normal.
1436 *=* | --config-cache | -C | -disable-* | --disable-* \
1437 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1438 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1439 | -with-* | --with-* | -without-* | --without-* | --x)
1440 case "$ac_configure_args0 " in
1441 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1444 -* ) ac_must_keep_next=true ;;
1447 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1448 # Get rid of the leading space.
1454 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1455 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1457 # When interrupted or exit'd, cleanup temporary files, and complete
1458 # config.log. We remove comments because anyway the quotes in there
1459 # would cause problems or look ugly.
1460 # WARNING: Be sure not to use single quotes in there, as some shells,
1461 # such as our DU 5.0 friend, will then `close
' the trap.
1462 trap 'exit_status
=$?
1463 # Save into config.log some information that might help in debugging.
1468 ## ---------------- ##
1469 ## Cache variables. ##
1470 ## ---------------- ##
1473 # The following way of writing the cache mishandles newlines in values,
1476 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1479 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1484 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1491 ## ----------------- ##
1492 ## Output variables. ##
1493 ## ----------------- ##
1496 for ac_var
in $ac_subst_vars
1498 eval ac_val
=$
`echo $ac_var`
1499 echo "$ac_var='"'"'$ac_val'"'"'"
1503 if test -n "$ac_subst_files"; then
1510 for ac_var
in $ac_subst_files
1512 eval ac_val
=$
`echo $ac_var`
1513 echo "$ac_var='"'"'$ac_val'"'"'"
1518 if test -s confdefs.h
; then
1525 sed "/^$/d" confdefs.h
| sort
1528 test "$ac_signal" != 0 &&
1529 echo "$as_me: caught signal $ac_signal"
1530 echo "$as_me: exit $exit_status"
1532 rm -f core
*.core
&&
1533 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1536 for ac_signal in 1 2 13 15; do
1537 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1541 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1542 rm -rf conftest* confdefs.h
1543 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1546 # Predefined preprocessor variables.
1548 cat >>confdefs.h <<_ACEOF
1549 #define PACKAGE_NAME "$PACKAGE_NAME"
1553 cat >>confdefs.h <<_ACEOF
1554 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1558 cat >>confdefs.h <<_ACEOF
1559 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1563 cat >>confdefs.h <<_ACEOF
1564 #define PACKAGE_STRING "$PACKAGE_STRING"
1568 cat >>confdefs.h <<_ACEOF
1569 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1573 # Let the site file select an alternate cache file if it wants to.
1574 # Prefer explicitly selected file to automatically selected ones.
1575 if test -z "$CONFIG_SITE"; then
1576 if test "x$prefix" != xNONE; then
1577 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1579 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1582 for ac_site_file in $CONFIG_SITE; do
1583 if test -r "$ac_site_file"; then
1584 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1585 echo "$as_me: loading site script $ac_site_file" >&6;}
1586 sed 's
/^
/| /' "$ac_site_file" >&5
1591 if test -r "$cache_file"; then
1592 # Some versions of bash will fail to source /dev/null (special
1593 # files actually), so we avoid doing that.
1594 if test -f "$cache_file"; then
1595 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1596 echo "$as_me: loading cache $cache_file" >&6;}
1598 [\\/]* | ?:[\\/]* ) . $cache_file;;
1599 *) . ./$cache_file;;
1603 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1604 echo "$as_me: creating cache $cache_file" >&6;}
1608 # Check that the precious variables saved in the cache have kept the same
1610 ac_cache_corrupted=false
1611 for ac_var in `(set) 2>&1 |
1612 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1613 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1614 eval ac_new_set=\$ac_env_${ac_var}_set
1615 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1616 eval ac_new_val="\$ac_env_${ac_var}_value"
1617 case $ac_old_set,$ac_new_set in
1619 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1620 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1621 ac_cache_corrupted=: ;;
1623 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1624 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1625 ac_cache_corrupted=: ;;
1628 if test "x$ac_old_val" != "x$ac_new_val"; then
1629 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1630 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1631 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1632 echo "$as_me: former value: $ac_old_val" >&2;}
1633 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1634 echo "$as_me: current value: $ac_new_val" >&2;}
1635 ac_cache_corrupted=:
1638 # Pass precious variables to config.status.
1639 if test "$ac_new_set" = set; then
1641 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1642 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1643 *) ac_arg=$ac_var=$ac_new_val ;;
1645 case " $ac_configure_args " in
1646 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1647 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1651 if $ac_cache_corrupted; then
1652 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1653 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1654 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1655 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1656 { (exit 1); exit 1; }; }
1660 ac_cpp='$CPP $CPPFLAGS'
1661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1662 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1695 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1696 if test -f $ac_dir/install-sh; then
1698 ac_install_sh="$ac_aux_dir/install-sh -c"
1700 elif test -f $ac_dir/install.sh; then
1702 ac_install_sh="$ac_aux_dir/install.sh -c"
1704 elif test -f $ac_dir/shtool; then
1706 ac_install_sh="$ac_aux_dir/shtool install -c"
1710 if test -z "$ac_aux_dir"; then
1711 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1712 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1713 { (exit 1); exit 1; }; }
1715 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1716 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1717 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1719 # Make sure we can run config.sub.
1720 $ac_config_sub sun4 >/dev/null 2>&1 ||
1721 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1722 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1723 { (exit 1); exit 1; }; }
1725 echo "$as_me:$LINENO: checking build system type" >&5
1726 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1727 if test "${ac_cv_build+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 ac_cv_build_alias=$build_alias
1731 test -z "$ac_cv_build_alias" &&
1732 ac_cv_build_alias=`$ac_config_guess`
1733 test -z "$ac_cv_build_alias" &&
1734 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1735 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1736 { (exit 1); exit 1; }; }
1737 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1738 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1739 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1740 { (exit 1); exit 1; }; }
1743 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1744 echo "${ECHO_T}$ac_cv_build" >&6
1746 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1747 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1748 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1751 echo "$as_me:$LINENO: checking host system type" >&5
1752 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1753 if test "${ac_cv_host+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1756 ac_cv_host_alias=$host_alias
1757 test -z "$ac_cv_host_alias" &&
1758 ac_cv_host_alias=$ac_cv_build_alias
1759 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1760 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1761 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1762 { (exit 1); exit 1; }; }
1765 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1766 echo "${ECHO_T}$ac_cv_host" >&6
1768 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1769 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1770 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1773 echo "$as_me:$LINENO: checking target system type" >&5
1774 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1775 if test "${ac_cv_target+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 ac_cv_target_alias=$target_alias
1779 test "x$ac_cv_target_alias" = "x" &&
1780 ac_cv_target_alias=$ac_cv_host_alias
1781 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1782 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1783 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1784 { (exit 1); exit 1; }; }
1787 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1788 echo "${ECHO_T}$ac_cv_target" >&6
1789 target=$ac_cv_target
1790 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1791 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1792 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1795 # The aliases save the names the user supplied, while $host etc.
1796 # will get canonicalized.
1797 test -n "$target_alias" &&
1798 test "$program_prefix$program_suffix$program_transform_name" = \
1800 program_prefix=${target_alias}-
1804 wx_major_version_number=2
1805 wx_minor_version_number=8
1807 wx_subrelease_number=0
1809 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1810 WX_VERSION=$WX_RELEASE.$wx_release_number
1811 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1813 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1816 wx_top_builddir="`pwd`"
1829 USE_BSD= USE_DARWIN= USE_FREEBSD=
1835 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1841 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1843 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1845 DEFAULT_wxUSE_COCOA=0
1849 DEFAULT_wxUSE_MICROWIN=0
1850 DEFAULT_wxUSE_MOTIF=0
1856 DEFAULT_DEFAULT_wxUSE_COCOA=0
1857 DEFAULT_DEFAULT_wxUSE_GTK=0
1858 DEFAULT_DEFAULT_wxUSE_MAC=0
1859 DEFAULT_DEFAULT_wxUSE_MGL=0
1860 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1861 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1862 DEFAULT_DEFAULT_wxUSE_MSW=0
1863 DEFAULT_DEFAULT_wxUSE_PM=0
1864 DEFAULT_DEFAULT_wxUSE_X11=0
1865 DEFAULT_DEFAULT_wxUSE_DFB=0
1870 SAMPLES_RPATH_POSTLINK=
1872 DEFAULT_STD_FLAG=yes
1877 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1878 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1880 cat >>confdefs.h <<\_ACEOF
1885 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1889 cat >>confdefs.h <<\_ACEOF
1894 if test "x$TMP" = "xalpha"; then
1896 cat >>confdefs.h <<\_ACEOF
1901 DEFAULT_DEFAULT_wxUSE_GTK=1
1903 *-*-gnu* | *-*-k*bsd*-gnu )
1906 if test "x$TMP" = "xalpha"; then
1908 cat >>confdefs.h <<\_ACEOF
1913 DEFAULT_DEFAULT_wxUSE_GTK=1
1915 *-*-irix5* | *-*-irix6* )
1918 cat >>confdefs.h <<\_ACEOF
1922 cat >>confdefs.h <<\_ACEOF
1926 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1932 cat >>confdefs.h <<\_ACEOF
1936 cat >>confdefs.h <<\_ACEOF
1937 #define __SOLARIS__ 1
1940 cat >>confdefs.h <<\_ACEOF
1944 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1945 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1951 cat >>confdefs.h <<\_ACEOF
1955 cat >>confdefs.h <<\_ACEOF
1959 cat >>confdefs.h <<\_ACEOF
1963 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1968 cat >>confdefs.h <<\_ACEOF
1969 #define __FREEBSD__ 1
1972 cat >>confdefs.h <<\_ACEOF
1976 DEFAULT_DEFAULT_wxUSE_GTK=1
1978 *-*-openbsd*|*-*-mirbsd*)
1981 cat >>confdefs.h <<\_ACEOF
1982 #define __OPENBSD__ 1
1985 cat >>confdefs.h <<\_ACEOF
1989 DEFAULT_DEFAULT_wxUSE_GTK=1
1994 cat >>confdefs.h <<\_ACEOF
1995 #define __NETBSD__ 1
1998 cat >>confdefs.h <<\_ACEOF
2002 DEFAULT_DEFAULT_wxUSE_GTK=1
2003 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2005 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2010 cat >>confdefs.h <<\_ACEOF
2014 cat >>confdefs.h <<\_ACEOF
2018 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2019 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2024 cat >>confdefs.h <<\_ACEOF
2028 cat >>confdefs.h <<\_ACEOF
2032 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2037 cat >>confdefs.h <<\_ACEOF
2041 cat >>confdefs.h <<\_ACEOF
2045 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2052 cat >>confdefs.h <<\_ACEOF
2056 cat >>confdefs.h <<\_ACEOF
2060 cat >>confdefs.h <<\_ACEOF
2064 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2071 cat >>confdefs.h <<\_ACEOF
2072 #define __UNIXWARE__ 1
2077 *-*-cygwin* | *-*-mingw32* )
2080 DEFAULT_DEFAULT_wxUSE_MSW=1
2086 cat >>confdefs.h <<\_ACEOF
2091 DEFAULT_DEFAULT_wxUSE_MGL=1
2094 *-pc-os2_emx | *-pc-os2-emx )
2095 cat >>confdefs.h <<\_ACEOF
2100 cat >>confdefs.h <<\_ACEOF
2105 DEFAULT_DEFAULT_wxUSE_PM=1
2107 LDFLAGS="$LDFLAGS -Zcrtdll"
2108 ac_executable_extensions=".exe"
2109 export ac_executable_extensions
2113 for ac_dir in $PATH; do
2115 if test -z "$ac_TEMP_PATH"; then
2116 ac_TEMP_PATH="$ac_dir"
2118 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2121 export PATH="$ac_TEMP_PATH"
2130 cat >>confdefs.h <<\_ACEOF
2134 cat >>confdefs.h <<\_ACEOF
2135 #define __DARWIN__ 1
2138 cat >>confdefs.h <<\_ACEOF
2139 #define TARGET_CARBON 1
2142 DEFAULT_DEFAULT_wxUSE_MAC=1
2145 powerpc-apple-macos* )
2147 ac_cv_c_bigendian=yes
2149 DEFAULT_DEFAULT_wxUSE_MAC=1
2155 cat >>confdefs.h <<\_ACEOF
2162 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2163 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2164 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2165 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2167 DEFAULT_DEFAULT_wxUSE_X11=1
2168 DEFAULT_wxUSE_SHARED=no
2174 wx_arg_cache_file="configarg.cache"
2175 echo "loading argument cache $wx_arg_cache_file"
2176 rm -f ${wx_arg_cache_file}.tmp
2177 touch ${wx_arg_cache_file}.tmp
2178 touch ${wx_arg_cache_file}
2182 if test $DEBUG_CONFIGURE = 1; then
2183 DEFAULT_wxUSE_UNIVERSAL=no
2184 DEFAULT_wxUSE_STL=no
2186 DEFAULT_wxUSE_NANOX=no
2188 DEFAULT_wxUSE_THREADS=yes
2190 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2191 DEFAULT_wxUSE_OPTIMISE=no
2192 DEFAULT_wxUSE_PROFILE=no
2193 DEFAULT_wxUSE_NO_DEPS=no
2194 DEFAULT_wxUSE_VARARG_MACROS=no
2195 DEFAULT_wxUSE_NO_RTTI=no
2196 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2197 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2198 DEFAULT_wxUSE_RPATH=yes
2199 DEFAULT_wxUSE_PERMISSIVE=no
2200 DEFAULT_wxUSE_DEBUG_FLAG=yes
2201 DEFAULT_wxUSE_DEBUG_INFO=yes
2202 DEFAULT_wxUSE_DEBUG_GDB=yes
2203 DEFAULT_wxUSE_MEM_TRACING=no
2204 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2205 DEFAULT_wxUSE_DMALLOC=no
2206 DEFAULT_wxUSE_APPLE_IEEE=no
2208 DEFAULT_wxUSE_EXCEPTIONS=no
2209 DEFAULT_wxUSE_LOG=yes
2210 DEFAULT_wxUSE_LOGWINDOW=no
2211 DEFAULT_wxUSE_LOGGUI=no
2212 DEFAULT_wxUSE_LOGDIALOG=no
2214 DEFAULT_wxUSE_GUI=yes
2215 DEFAULT_wxUSE_CONTROLS=no
2217 DEFAULT_wxUSE_REGEX=no
2218 DEFAULT_wxUSE_XML=no
2219 DEFAULT_wxUSE_EXPAT=no
2220 DEFAULT_wxUSE_ZLIB=no
2221 DEFAULT_wxUSE_LIBPNG=no
2222 DEFAULT_wxUSE_LIBJPEG=no
2223 DEFAULT_wxUSE_LIBTIFF=no
2224 DEFAULT_wxUSE_LIBXPM=no
2225 DEFAULT_wxUSE_LIBMSPACK=no
2226 DEFAULT_wxUSE_LIBSDL=no
2227 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2228 DEFAULT_wxUSE_LIBGNOMEVFS=no
2229 DEFAULT_wxUSE_LIBHILDON=no
2230 DEFAULT_wxUSE_ODBC=no
2231 DEFAULT_wxUSE_OPENGL=no
2233 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2234 DEFAULT_wxUSE_STACKWALKER=no
2235 DEFAULT_wxUSE_DEBUGREPORT=no
2236 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2237 DEFAULT_wxUSE_STD_IOSTREAM=no
2238 DEFAULT_wxUSE_STD_STRING=no
2239 DEFAULT_wxUSE_CMDLINE_PARSER=no
2240 DEFAULT_wxUSE_DATETIME=no
2241 DEFAULT_wxUSE_TIMER=no
2242 DEFAULT_wxUSE_STOPWATCH=no
2243 DEFAULT_wxUSE_FILE=no
2244 DEFAULT_wxUSE_FFILE=no
2245 DEFAULT_wxUSE_STDPATHS=no
2246 DEFAULT_wxUSE_TEXTBUFFER=no
2247 DEFAULT_wxUSE_TEXTFILE=no
2248 DEFAULT_wxUSE_SOUND=no
2249 DEFAULT_wxUSE_MEDIACTRL=no
2250 DEFAULT_wxUSE_GSTREAMER8=no
2251 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2252 DEFAULT_wxUSE_INTL=no
2253 DEFAULT_wxUSE_CONFIG=no
2254 DEFAULT_wxUSE_FONTMAP=no
2255 DEFAULT_wxUSE_STREAMS=no
2256 DEFAULT_wxUSE_SOCKETS=no
2257 DEFAULT_wxUSE_OLE=no
2258 DEFAULT_wxUSE_DATAOBJ=no
2259 DEFAULT_wxUSE_DIALUP_MANAGER=no
2260 DEFAULT_wxUSE_JOYSTICK=no
2261 DEFAULT_wxUSE_DYNLIB_CLASS=no
2262 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2263 DEFAULT_wxUSE_LONGLONG=no
2264 DEFAULT_wxUSE_GEOMETRY=no
2266 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2267 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2268 DEFAULT_wxUSE_POSTSCRIPT=no
2270 DEFAULT_wxUSE_CLIPBOARD=no
2271 DEFAULT_wxUSE_TOOLTIPS=no
2272 DEFAULT_wxUSE_DRAG_AND_DROP=no
2273 DEFAULT_wxUSE_DRAGIMAGE=no
2274 DEFAULT_wxUSE_SPLINES=no
2275 DEFAULT_wxUSE_MOUSEWHEEL=no
2277 DEFAULT_wxUSE_MDI=no
2278 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2279 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2280 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2282 DEFAULT_wxUSE_RESOURCES=no
2283 DEFAULT_wxUSE_CONSTRAINTS=no
2284 DEFAULT_wxUSE_IPC=no
2285 DEFAULT_wxUSE_HELP=no
2286 DEFAULT_wxUSE_MS_HTML_HELP=no
2287 DEFAULT_wxUSE_WXHTML_HELP=no
2288 DEFAULT_wxUSE_TREELAYOUT=no
2289 DEFAULT_wxUSE_METAFILE=no
2290 DEFAULT_wxUSE_MIMETYPE=no
2291 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2292 DEFAULT_wxUSE_PROTOCOL=no
2293 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2294 DEFAULT_wxUSE_PROTOCOL_FTP=no
2295 DEFAULT_wxUSE_PROTOCOL_FILE=no
2296 DEFAULT_wxUSE_URL=no
2297 DEFAULT_wxUSE_VARIANT=no
2299 DEFAULT_wxUSE_ABOUTDLG=no
2300 DEFAULT_wxUSE_COMMONDLGS=no
2301 DEFAULT_wxUSE_CHOICEDLG=no
2302 DEFAULT_wxUSE_COLOURDLG=no
2303 DEFAULT_wxUSE_DIRDLG=no
2304 DEFAULT_wxUSE_FILEDLG=no
2305 DEFAULT_wxUSE_FINDREPLDLG=no
2306 DEFAULT_wxUSE_FONTDLG=no
2307 DEFAULT_wxUSE_MSGDLG=no
2308 DEFAULT_wxUSE_NUMBERDLG=no
2309 DEFAULT_wxUSE_TEXTDLG=no
2310 DEFAULT_wxUSE_SPLASH=no
2311 DEFAULT_wxUSE_STARTUP_TIPS=no
2312 DEFAULT_wxUSE_PROGRESSDLG=no
2313 DEFAULT_wxUSE_WIZARDDLG=no
2315 DEFAULT_wxUSE_MENUS=no
2316 DEFAULT_wxUSE_MINIFRAME=no
2317 DEFAULT_wxUSE_HTML=no
2318 DEFAULT_wxUSE_RICHTEXT=no
2319 DEFAULT_wxUSE_XRC=no
2320 DEFAULT_wxUSE_AUI=no
2321 DEFAULT_wxUSE_WEBKIT=no
2322 DEFAULT_wxUSE_FILESYSTEM=no
2323 DEFAULT_wxUSE_FS_INET=no
2324 DEFAULT_wxUSE_FS_ZIP=no
2325 DEFAULT_wxUSE_FS_ARCHIVE=no
2326 DEFAULT_wxUSE_BUSYINFO=no
2327 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2328 DEFAULT_wxUSE_ZIPSTREAM=no
2329 DEFAULT_wxUSE_TARSTREAM=no
2330 DEFAULT_wxUSE_VALIDATORS=no
2332 DEFAULT_wxUSE_ACCEL=no
2333 DEFAULT_wxUSE_ANIMATIONCTRL=no
2334 DEFAULT_wxUSE_BUTTON=no
2335 DEFAULT_wxUSE_BMPBUTTON=no
2336 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2337 DEFAULT_wxUSE_CALCTRL=no
2338 DEFAULT_wxUSE_CARET=no
2339 DEFAULT_wxUSE_CHECKBOX=no
2340 DEFAULT_wxUSE_CHECKLST=no
2341 DEFAULT_wxUSE_CHOICE=no
2342 DEFAULT_wxUSE_CHOICEBOOK=no
2343 DEFAULT_wxUSE_COLLPANE=no
2344 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2345 DEFAULT_wxUSE_COMBOBOX=no
2346 DEFAULT_wxUSE_COMBOCTRL=no
2347 DEFAULT_wxUSE_DATEPICKCTRL=no
2348 DEFAULT_wxUSE_DISPLAY=no
2349 DEFAULT_wxUSE_DETECT_SM=no
2350 DEFAULT_wxUSE_DIRPICKERCTRL=no
2351 DEFAULT_wxUSE_FILEPICKERCTRL=no
2352 DEFAULT_wxUSE_FONTPICKERCTRL=no
2353 DEFAULT_wxUSE_GAUGE=no
2354 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2355 DEFAULT_wxUSE_GRID=no
2356 DEFAULT_wxUSE_HYPERLINKCTRL=no
2357 DEFAULT_wxUSE_DATAVIEWCTRL=no
2358 DEFAULT_wxUSE_IMAGLIST=no
2359 DEFAULT_wxUSE_LISTBOOK=no
2360 DEFAULT_wxUSE_LISTBOX=no
2361 DEFAULT_wxUSE_LISTCTRL=no
2362 DEFAULT_wxUSE_NOTEBOOK=no
2363 DEFAULT_wxUSE_ODCOMBOBOX=no
2364 DEFAULT_wxUSE_RADIOBOX=no
2365 DEFAULT_wxUSE_RADIOBTN=no
2366 DEFAULT_wxUSE_SASH=no
2367 DEFAULT_wxUSE_SCROLLBAR=no
2368 DEFAULT_wxUSE_SLIDER=no
2369 DEFAULT_wxUSE_SPINBTN=no
2370 DEFAULT_wxUSE_SPINCTRL=no
2371 DEFAULT_wxUSE_SPLITTER=no
2372 DEFAULT_wxUSE_STATBMP=no
2373 DEFAULT_wxUSE_STATBOX=no
2374 DEFAULT_wxUSE_STATLINE=no
2375 DEFAULT_wxUSE_STATTEXT=no
2376 DEFAULT_wxUSE_STATUSBAR=yes
2377 DEFAULT_wxUSE_TAB_DIALOG=no
2378 DEFAULT_wxUSE_TEXTCTRL=no
2379 DEFAULT_wxUSE_TOGGLEBTN=no
2380 DEFAULT_wxUSE_TOOLBAR=no
2381 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2382 DEFAULT_wxUSE_TREEBOOK=no
2383 DEFAULT_wxUSE_TOOLBOOK=no
2384 DEFAULT_wxUSE_TREECTRL=no
2385 DEFAULT_wxUSE_POPUPWIN=no
2386 DEFAULT_wxUSE_TIPWINDOW=no
2388 DEFAULT_wxUSE_UNICODE=no
2389 DEFAULT_wxUSE_UNICODE_MSLU=no
2390 DEFAULT_wxUSE_WCSRTOMBS=no
2392 DEFAULT_wxUSE_PALETTE=no
2393 DEFAULT_wxUSE_IMAGE=no
2394 DEFAULT_wxUSE_GIF=no
2395 DEFAULT_wxUSE_PCX=no
2396 DEFAULT_wxUSE_TGA=no
2397 DEFAULT_wxUSE_PNM=no
2398 DEFAULT_wxUSE_IFF=no
2399 DEFAULT_wxUSE_XPM=no
2400 DEFAULT_wxUSE_ICO_CUR=no
2401 DEFAULT_wxUSE_ACCESSIBILITY=no
2403 DEFAULT_wxUSE_MONOLITHIC=no
2404 DEFAULT_wxUSE_PLUGINS=no
2405 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2407 DEFAULT_wxUSE_UNIVERSAL=no
2408 DEFAULT_wxUSE_STL=no
2410 DEFAULT_wxUSE_NANOX=no
2412 DEFAULT_wxUSE_THREADS=yes
2414 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2415 DEFAULT_wxUSE_OPTIMISE=yes
2416 DEFAULT_wxUSE_PROFILE=no
2417 DEFAULT_wxUSE_NO_DEPS=no
2418 DEFAULT_wxUSE_VARARG_MACROS=yes
2419 DEFAULT_wxUSE_NO_RTTI=no
2420 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2421 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2422 DEFAULT_wxUSE_RPATH=yes
2423 DEFAULT_wxUSE_PERMISSIVE=no
2424 DEFAULT_wxUSE_DEBUG_FLAG=no
2425 DEFAULT_wxUSE_DEBUG_INFO=no
2426 DEFAULT_wxUSE_DEBUG_GDB=no
2427 DEFAULT_wxUSE_MEM_TRACING=no
2428 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2429 DEFAULT_wxUSE_DMALLOC=no
2430 DEFAULT_wxUSE_APPLE_IEEE=yes
2432 DEFAULT_wxUSE_EXCEPTIONS=yes
2433 DEFAULT_wxUSE_LOG=yes
2434 DEFAULT_wxUSE_LOGWINDOW=yes
2435 DEFAULT_wxUSE_LOGGUI=yes
2436 DEFAULT_wxUSE_LOGDIALOG=yes
2438 DEFAULT_wxUSE_GUI=yes
2440 DEFAULT_wxUSE_REGEX=yes
2441 DEFAULT_wxUSE_XML=yes
2442 DEFAULT_wxUSE_EXPAT=yes
2443 DEFAULT_wxUSE_ZLIB=yes
2444 DEFAULT_wxUSE_LIBPNG=yes
2445 DEFAULT_wxUSE_LIBJPEG=yes
2446 DEFAULT_wxUSE_LIBTIFF=yes
2447 DEFAULT_wxUSE_LIBXPM=yes
2448 DEFAULT_wxUSE_LIBMSPACK=yes
2449 DEFAULT_wxUSE_LIBSDL=no
2450 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2451 DEFAULT_wxUSE_LIBGNOMEVFS=no
2452 DEFAULT_wxUSE_LIBHILDON=no
2453 DEFAULT_wxUSE_ODBC=no
2454 DEFAULT_wxUSE_OPENGL=no
2456 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2457 DEFAULT_wxUSE_STACKWALKER=yes
2458 DEFAULT_wxUSE_DEBUGREPORT=yes
2459 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2460 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2461 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2462 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2463 DEFAULT_wxUSE_DATETIME=yes
2464 DEFAULT_wxUSE_TIMER=yes
2465 DEFAULT_wxUSE_STOPWATCH=yes
2466 DEFAULT_wxUSE_FILE=yes
2467 DEFAULT_wxUSE_FFILE=yes
2468 DEFAULT_wxUSE_STDPATHS=yes
2469 DEFAULT_wxUSE_TEXTBUFFER=yes
2470 DEFAULT_wxUSE_TEXTFILE=yes
2471 DEFAULT_wxUSE_SOUND=yes
2472 DEFAULT_wxUSE_MEDIACTRL=no
2473 DEFAULT_wxUSE_GSTREAMER8=no
2474 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2475 DEFAULT_wxUSE_INTL=yes
2476 DEFAULT_wxUSE_CONFIG=yes
2477 DEFAULT_wxUSE_FONTMAP=yes
2478 DEFAULT_wxUSE_STREAMS=yes
2479 DEFAULT_wxUSE_SOCKETS=yes
2480 DEFAULT_wxUSE_OLE=yes
2481 DEFAULT_wxUSE_DATAOBJ=yes
2482 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2483 DEFAULT_wxUSE_JOYSTICK=yes
2484 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2485 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2486 DEFAULT_wxUSE_LONGLONG=yes
2487 DEFAULT_wxUSE_GEOMETRY=yes
2489 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2490 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2491 DEFAULT_wxUSE_POSTSCRIPT=yes
2493 DEFAULT_wxUSE_CLIPBOARD=yes
2494 DEFAULT_wxUSE_TOOLTIPS=yes
2495 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2496 DEFAULT_wxUSE_DRAGIMAGE=yes
2497 DEFAULT_wxUSE_SPLINES=yes
2498 DEFAULT_wxUSE_MOUSEWHEEL=yes
2500 DEFAULT_wxUSE_MDI=yes
2501 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2502 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2503 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2505 DEFAULT_wxUSE_RESOURCES=no
2506 DEFAULT_wxUSE_CONSTRAINTS=yes
2507 DEFAULT_wxUSE_IPC=yes
2508 DEFAULT_wxUSE_HELP=yes
2509 DEFAULT_wxUSE_MS_HTML_HELP=yes
2510 DEFAULT_wxUSE_WXHTML_HELP=yes
2511 DEFAULT_wxUSE_TREELAYOUT=yes
2512 DEFAULT_wxUSE_METAFILE=yes
2513 DEFAULT_wxUSE_MIMETYPE=yes
2514 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2515 DEFAULT_wxUSE_PROTOCOL=yes
2516 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2517 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2518 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2519 DEFAULT_wxUSE_URL=yes
2520 DEFAULT_wxUSE_VARIANT=yes
2522 DEFAULT_wxUSE_ABOUTDLG=yes
2523 DEFAULT_wxUSE_COMMONDLGS=yes
2524 DEFAULT_wxUSE_CHOICEDLG=yes
2525 DEFAULT_wxUSE_COLOURDLG=yes
2526 DEFAULT_wxUSE_DIRDLG=yes
2527 DEFAULT_wxUSE_FILEDLG=yes
2528 DEFAULT_wxUSE_FINDREPLDLG=yes
2529 DEFAULT_wxUSE_FONTDLG=yes
2530 DEFAULT_wxUSE_MSGDLG=yes
2531 DEFAULT_wxUSE_NUMBERDLG=yes
2532 DEFAULT_wxUSE_TEXTDLG=yes
2533 DEFAULT_wxUSE_SPLASH=yes
2534 DEFAULT_wxUSE_STARTUP_TIPS=yes
2535 DEFAULT_wxUSE_PROGRESSDLG=yes
2536 DEFAULT_wxUSE_WIZARDDLG=yes
2538 DEFAULT_wxUSE_MENUS=yes
2539 DEFAULT_wxUSE_MINIFRAME=yes
2540 DEFAULT_wxUSE_HTML=yes
2541 DEFAULT_wxUSE_RICHTEXT=yes
2542 DEFAULT_wxUSE_XRC=yes
2543 DEFAULT_wxUSE_AUI=yes
2544 DEFAULT_wxUSE_WEBKIT=yes
2545 DEFAULT_wxUSE_FILESYSTEM=yes
2546 DEFAULT_wxUSE_FS_INET=yes
2547 DEFAULT_wxUSE_FS_ZIP=yes
2548 DEFAULT_wxUSE_FS_ARCHIVE=yes
2549 DEFAULT_wxUSE_BUSYINFO=yes
2550 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2551 DEFAULT_wxUSE_ZIPSTREAM=yes
2552 DEFAULT_wxUSE_TARSTREAM=yes
2553 DEFAULT_wxUSE_VALIDATORS=yes
2555 DEFAULT_wxUSE_ACCEL=yes
2556 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2557 DEFAULT_wxUSE_BUTTON=yes
2558 DEFAULT_wxUSE_BMPBUTTON=yes
2559 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2560 DEFAULT_wxUSE_CALCTRL=yes
2561 DEFAULT_wxUSE_CARET=yes
2562 DEFAULT_wxUSE_CHECKBOX=yes
2563 DEFAULT_wxUSE_CHECKLST=yes
2564 DEFAULT_wxUSE_CHOICE=yes
2565 DEFAULT_wxUSE_CHOICEBOOK=yes
2566 DEFAULT_wxUSE_COLLPANE=yes
2567 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2568 DEFAULT_wxUSE_COMBOBOX=yes
2569 DEFAULT_wxUSE_COMBOCTRL=yes
2570 DEFAULT_wxUSE_DATEPICKCTRL=yes
2571 DEFAULT_wxUSE_DISPLAY=yes
2572 DEFAULT_wxUSE_DETECT_SM=yes
2573 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2574 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2575 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2576 DEFAULT_wxUSE_GAUGE=yes
2577 DEFAULT_wxUSE_GRID=yes
2578 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2579 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2580 DEFAULT_wxUSE_DATAVIEWCTRL=no
2581 DEFAULT_wxUSE_IMAGLIST=yes
2582 DEFAULT_wxUSE_LISTBOOK=yes
2583 DEFAULT_wxUSE_LISTBOX=yes
2584 DEFAULT_wxUSE_LISTCTRL=yes
2585 DEFAULT_wxUSE_NOTEBOOK=yes
2586 DEFAULT_wxUSE_ODCOMBOBOX=yes
2587 DEFAULT_wxUSE_RADIOBOX=yes
2588 DEFAULT_wxUSE_RADIOBTN=yes
2589 DEFAULT_wxUSE_SASH=yes
2590 DEFAULT_wxUSE_SCROLLBAR=yes
2591 DEFAULT_wxUSE_SLIDER=yes
2592 DEFAULT_wxUSE_SPINBTN=yes
2593 DEFAULT_wxUSE_SPINCTRL=yes
2594 DEFAULT_wxUSE_SPLITTER=yes
2595 DEFAULT_wxUSE_STATBMP=yes
2596 DEFAULT_wxUSE_STATBOX=yes
2597 DEFAULT_wxUSE_STATLINE=yes
2598 DEFAULT_wxUSE_STATTEXT=yes
2599 DEFAULT_wxUSE_STATUSBAR=yes
2600 DEFAULT_wxUSE_TAB_DIALOG=no
2601 DEFAULT_wxUSE_TEXTCTRL=yes
2602 DEFAULT_wxUSE_TOGGLEBTN=yes
2603 DEFAULT_wxUSE_TOOLBAR=yes
2604 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2605 DEFAULT_wxUSE_TREEBOOK=yes
2606 DEFAULT_wxUSE_TOOLBOOK=yes
2607 DEFAULT_wxUSE_TREECTRL=yes
2608 DEFAULT_wxUSE_POPUPWIN=yes
2609 DEFAULT_wxUSE_TIPWINDOW=yes
2611 DEFAULT_wxUSE_UNICODE=no
2612 DEFAULT_wxUSE_UNICODE_MSLU=yes
2613 DEFAULT_wxUSE_WCSRTOMBS=no
2615 DEFAULT_wxUSE_PALETTE=yes
2616 DEFAULT_wxUSE_IMAGE=yes
2617 DEFAULT_wxUSE_GIF=yes
2618 DEFAULT_wxUSE_PCX=yes
2619 DEFAULT_wxUSE_TGA=yes
2620 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2621 DEFAULT_wxUSE_XPM=yes
2622 DEFAULT_wxUSE_ICO_CUR=yes
2623 DEFAULT_wxUSE_ACCESSIBILITY=no
2625 DEFAULT_wxUSE_MONOLITHIC=no
2626 DEFAULT_wxUSE_PLUGINS=no
2627 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2629 DEFAULT_wxUSE_GTK2=yes
2635 for toolkit in `echo $ALL_TOOLKITS`; do
2636 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2637 if test "x$LINE" != "x" ; then
2638 has_toolkit_in_cache=1
2639 eval "DEFAULT_$LINE"
2640 eval "CACHE_$toolkit=1"
2642 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2643 if test "x$LINE" != "x" ; then
2644 eval "DEFAULT_$LINE"
2652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2653 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2655 # Check whether --enable-gui or --disable-gui was given.
2656 if test "${enable_gui+set}" = set; then
2657 enableval="$enable_gui"
2659 if test "$enableval" = yes; then
2660 ac_cv_use_gui='wxUSE_GUI
=yes'
2662 ac_cv_use_gui='wxUSE_GUI
=no
'
2667 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2668 if test "x$LINE" != x ; then
2669 eval "DEFAULT_$LINE"
2674 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2678 eval "$ac_cv_use_gui"
2679 if test "$no_cache" != 1; then
2680 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2683 if test "$wxUSE_GUI" = yes; then
2684 echo "$as_me:$LINENO: result: yes" >&5
2685 echo "${ECHO_T}yes" >&6
2687 echo "$as_me:$LINENO: result: no" >&5
2688 echo "${ECHO_T}no" >&6
2693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2694 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2696 # Check whether --enable-monolithic or --disable-monolithic was given.
2697 if test "${enable_monolithic+set}" = set; then
2698 enableval="$enable_monolithic"
2700 if test "$enableval" = yes; then
2701 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2703 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2708 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2709 if test "x$LINE" != x ; then
2710 eval "DEFAULT_$LINE"
2715 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2719 eval "$ac_cv_use_monolithic"
2720 if test "$no_cache" != 1; then
2721 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2724 if test "$wxUSE_MONOLITHIC" = yes; then
2725 echo "$as_me:$LINENO: result: yes" >&5
2726 echo "${ECHO_T}yes" >&6
2728 echo "$as_me:$LINENO: result: no" >&5
2729 echo "${ECHO_T}no" >&6
2734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2735 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2737 # Check whether --enable-plugins or --disable-plugins was given.
2738 if test "${enable_plugins+set}" = set; then
2739 enableval="$enable_plugins"
2741 if test "$enableval" = yes; then
2742 ac_cv_use_plugins='wxUSE_PLUGINS
=yes'
2744 ac_cv_use_plugins='wxUSE_PLUGINS
=no
'
2749 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2750 if test "x$LINE" != x ; then
2751 eval "DEFAULT_$LINE"
2756 ac_cv_use_plugins='wxUSE_PLUGINS
='$DEFAULT_wxUSE_PLUGINS
2760 eval "$ac_cv_use_plugins"
2761 if test "$no_cache" != 1; then
2762 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2765 if test "$wxUSE_PLUGINS" = yes; then
2766 echo "$as_me:$LINENO: result: yes" >&5
2767 echo "${ECHO_T}yes" >&6
2769 echo "$as_me:$LINENO: result: no" >&5
2770 echo "${ECHO_T}no" >&6
2775 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2776 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2779 # Check whether --with-subdirs or --without-subdirs was given.
2780 if test "${with_subdirs+set}" = set; then
2781 withval="$with_subdirs"
2783 if test "$withval" = yes; then
2784 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2786 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2791 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2792 if test "x$LINE" != x ; then
2793 eval "DEFAULT_$LINE"
2798 ac_cv_use_subdirs='wxWITH_SUBDIRS
='$DEFAULT_wxWITH_SUBDIRS
2802 eval "$ac_cv_use_subdirs"
2803 if test "$no_cache" != 1; then
2804 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2807 if test "$wxWITH_SUBDIRS" = yes; then
2808 echo "$as_me:$LINENO: result: yes" >&5
2809 echo "${ECHO_T}yes" >&6
2811 echo "$as_me:$LINENO: result: no" >&5
2812 echo "${ECHO_T}no" >&6
2816 if test "$wxUSE_GUI" = "yes"; then
2820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2821 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2823 # Check whether --enable-universal or --disable-universal was given.
2824 if test "${enable_universal+set}" = set; then
2825 enableval="$enable_universal"
2827 if test "$enableval" = yes; then
2828 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2830 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2835 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2836 if test "x$LINE" != x ; then
2837 eval "DEFAULT_$LINE"
2842 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2846 eval "$ac_cv_use_universal"
2847 if test "$no_cache" != 1; then
2848 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2851 if test "$wxUSE_UNIVERSAL" = yes; then
2852 echo "$as_me:$LINENO: result: yes" >&5
2853 echo "${ECHO_T}yes" >&6
2855 echo "$as_me:$LINENO: result: no" >&5
2856 echo "${ECHO_T}no" >&6
2860 # Check whether --with-gtk or --without-gtk was given.
2861 if test "${with_gtk+set}" = set; then
2863 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2866 # Check whether --with-motif or --without-motif was given.
2867 if test "${with_motif+set}" = set; then
2868 withval="$with_motif"
2869 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2872 # Check whether --with-mac or --without-mac was given.
2873 if test "${with_mac+set}" = set; then
2875 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2878 # Check whether --with-cocoa or --without-cocoa was given.
2879 if test "${with_cocoa+set}" = set; then
2880 withval="$with_cocoa"
2881 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2884 # Check whether --with-wine or --without-wine was given.
2885 if test "${with_wine+set}" = set; then
2886 withval="$with_wine"
2887 wxUSE_WINE="$withval" CACHE_WINE=1
2890 # Check whether --with-msw or --without-msw was given.
2891 if test "${with_msw+set}" = set; then
2893 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2896 # Check whether --with-pm or --without-pm was given.
2897 if test "${with_pm+set}" = set; then
2899 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2902 # Check whether --with-mgl or --without-mgl was given.
2903 if test "${with_mgl+set}" = set; then
2905 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2908 # Check whether --with-directfb or --without-directfb was given.
2909 if test "${with_directfb+set}" = set; then
2910 withval="$with_directfb"
2911 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2914 # Check whether --with-microwin or --without-microwin was given.
2915 if test "${with_microwin+set}" = set; then
2916 withval="$with_microwin"
2917 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2920 # Check whether --with-x11 or --without-x11 was given.
2921 if test "${with_x11+set}" = set; then
2923 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2928 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2930 # Check whether --enable-nanox or --disable-nanox was given.
2931 if test "${enable_nanox+set}" = set; then
2932 enableval="$enable_nanox"
2934 if test "$enableval" = yes; then
2935 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2937 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2942 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2943 if test "x$LINE" != x ; then
2944 eval "DEFAULT_$LINE"
2949 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2953 eval "$ac_cv_use_nanox"
2954 if test "$no_cache" != 1; then
2955 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2958 if test "$wxUSE_NANOX" = yes; then
2959 echo "$as_me:$LINENO: result: yes" >&5
2960 echo "${ECHO_T}yes" >&6
2962 echo "$as_me:$LINENO: result: no" >&5
2963 echo "${ECHO_T}no" >&6
2967 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2968 if test "${enable_gtk2+set}" = set; then
2969 enableval="$enable_gtk2"
2970 wxUSE_GTK2="$enableval"
2974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2975 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2977 # Check whether --enable-gpe or --disable-gpe was given.
2978 if test "${enable_gpe+set}" = set; then
2979 enableval="$enable_gpe"
2981 if test "$enableval" = yes; then
2982 ac_cv_use_gpe='wxUSE_GPE
=yes'
2984 ac_cv_use_gpe='wxUSE_GPE
=no
'
2989 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2990 if test "x$LINE" != x ; then
2991 eval "DEFAULT_$LINE"
2996 ac_cv_use_gpe='wxUSE_GPE
='$DEFAULT_wxUSE_GPE
3000 eval "$ac_cv_use_gpe"
3001 if test "$no_cache" != 1; then
3002 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3005 if test "$wxUSE_GPE" = yes; then
3006 echo "$as_me:$LINENO: result: yes" >&5
3007 echo "${ECHO_T}yes" >&6
3009 echo "$as_me:$LINENO: result: no" >&5
3010 echo "${ECHO_T}no" >&6
3015 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3016 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3019 # Check whether --with-libpng or --without-libpng was given.
3020 if test "${with_libpng+set}" = set; then
3021 withval="$with_libpng"
3023 if test "$withval" = yes; then
3024 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
3025 elif test "$withval" = no; then
3026 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
3027 elif test "$withval" = sys; then
3028 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
3029 elif test "$withval" = builtin; then
3030 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
3032 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3033 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3034 { (exit 1); exit 1; }; }
3039 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3040 if test "x$LINE" != x ; then
3041 eval "DEFAULT_$LINE"
3046 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
3050 eval "$ac_cv_use_libpng"
3051 if test "$no_cache" != 1; then
3052 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3055 if test "$wxUSE_LIBPNG" = yes; then
3056 echo "$as_me:$LINENO: result: yes" >&5
3057 echo "${ECHO_T}yes" >&6
3058 elif test "$wxUSE_LIBPNG" = no; then
3059 echo "$as_me:$LINENO: result: no" >&5
3060 echo "${ECHO_T}no" >&6
3061 elif test "$wxUSE_LIBPNG" = sys; then
3062 echo "$as_me:$LINENO: result: system version" >&5
3063 echo "${ECHO_T}system version" >&6
3064 elif test "$wxUSE_LIBPNG" = builtin; then
3065 echo "$as_me:$LINENO: result: builtin version" >&5
3066 echo "${ECHO_T}builtin version" >&6
3068 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3069 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3070 { (exit 1); exit 1; }; }
3074 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3075 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3078 # Check whether --with-libjpeg or --without-libjpeg was given.
3079 if test "${with_libjpeg+set}" = set; then
3080 withval="$with_libjpeg"
3082 if test "$withval" = yes; then
3083 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3084 elif test "$withval" = no; then
3085 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3086 elif test "$withval" = sys; then
3087 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3088 elif test "$withval" = builtin; then
3089 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3091 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3092 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3093 { (exit 1); exit 1; }; }
3098 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x ; then
3100 eval "DEFAULT_$LINE"
3105 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
3109 eval "$ac_cv_use_libjpeg"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3114 if test "$wxUSE_LIBJPEG" = yes; then
3115 echo "$as_me:$LINENO: result: yes" >&5
3116 echo "${ECHO_T}yes" >&6
3117 elif test "$wxUSE_LIBJPEG" = no; then
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3120 elif test "$wxUSE_LIBJPEG" = sys; then
3121 echo "$as_me:$LINENO: result: system version" >&5
3122 echo "${ECHO_T}system version" >&6
3123 elif test "$wxUSE_LIBJPEG" = builtin; then
3124 echo "$as_me:$LINENO: result: builtin version" >&5
3125 echo "${ECHO_T}builtin version" >&6
3127 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3128 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3129 { (exit 1); exit 1; }; }
3133 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3134 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3137 # Check whether --with-libtiff or --without-libtiff was given.
3138 if test "${with_libtiff+set}" = set; then
3139 withval="$with_libtiff"
3141 if test "$withval" = yes; then
3142 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
3143 elif test "$withval" = no; then
3144 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
3145 elif test "$withval" = sys; then
3146 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
3147 elif test "$withval" = builtin; then
3148 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
3150 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3151 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3152 { (exit 1); exit 1; }; }
3157 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3158 if test "x$LINE" != x ; then
3159 eval "DEFAULT_$LINE"
3164 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
3168 eval "$ac_cv_use_libtiff"
3169 if test "$no_cache" != 1; then
3170 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3173 if test "$wxUSE_LIBTIFF" = yes; then
3174 echo "$as_me:$LINENO: result: yes" >&5
3175 echo "${ECHO_T}yes" >&6
3176 elif test "$wxUSE_LIBTIFF" = no; then
3177 echo "$as_me:$LINENO: result: no" >&5
3178 echo "${ECHO_T}no" >&6
3179 elif test "$wxUSE_LIBTIFF" = sys; then
3180 echo "$as_me:$LINENO: result: system version" >&5
3181 echo "${ECHO_T}system version" >&6
3182 elif test "$wxUSE_LIBTIFF" = builtin; then
3183 echo "$as_me:$LINENO: result: builtin version" >&5
3184 echo "${ECHO_T}builtin version" >&6
3186 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3187 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3188 { (exit 1); exit 1; }; }
3192 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3193 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3196 # Check whether --with-libxpm or --without-libxpm was given.
3197 if test "${with_libxpm+set}" = set; then
3198 withval="$with_libxpm"
3200 if test "$withval" = yes; then
3201 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
3202 elif test "$withval" = no; then
3203 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
3204 elif test "$withval" = sys; then
3205 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
3206 elif test "$withval" = builtin; then
3207 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
3209 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3210 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3211 { (exit 1); exit 1; }; }
3216 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3217 if test "x$LINE" != x ; then
3218 eval "DEFAULT_$LINE"
3223 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
3227 eval "$ac_cv_use_libxpm"
3228 if test "$no_cache" != 1; then
3229 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3232 if test "$wxUSE_LIBXPM" = yes; then
3233 echo "$as_me:$LINENO: result: yes" >&5
3234 echo "${ECHO_T}yes" >&6
3235 elif test "$wxUSE_LIBXPM" = no; then
3236 echo "$as_me:$LINENO: result: no" >&5
3237 echo "${ECHO_T}no" >&6
3238 elif test "$wxUSE_LIBXPM" = sys; then
3239 echo "$as_me:$LINENO: result: system version" >&5
3240 echo "${ECHO_T}system version" >&6
3241 elif test "$wxUSE_LIBXPM" = builtin; then
3242 echo "$as_me:$LINENO: result: builtin version" >&5
3243 echo "${ECHO_T}builtin version" >&6
3245 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3246 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3247 { (exit 1); exit 1; }; }
3252 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3253 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3256 # Check whether --with-libmspack or --without-libmspack was given.
3257 if test "${with_libmspack+set}" = set; then
3258 withval="$with_libmspack"
3260 if test "$withval" = yes; then
3261 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3263 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3268 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3269 if test "x$LINE" != x ; then
3270 eval "DEFAULT_$LINE"
3275 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
3279 eval "$ac_cv_use_libmspack"
3280 if test "$no_cache" != 1; then
3281 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3284 if test "$wxUSE_LIBMSPACK" = yes; then
3285 echo "$as_me:$LINENO: result: yes" >&5
3286 echo "${ECHO_T}yes" >&6
3288 echo "$as_me:$LINENO: result: no" >&5
3289 echo "${ECHO_T}no" >&6
3294 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3295 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3298 # Check whether --with-sdl or --without-sdl was given.
3299 if test "${with_sdl+set}" = set; then
3302 if test "$withval" = yes; then
3303 ac_cv_use_sdl='wxUSE_LIBSDL
=yes'
3305 ac_cv_use_sdl='wxUSE_LIBSDL
=no
'
3310 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3311 if test "x$LINE" != x ; then
3312 eval "DEFAULT_$LINE"
3317 ac_cv_use_sdl='wxUSE_LIBSDL
='$DEFAULT_wxUSE_LIBSDL
3321 eval "$ac_cv_use_sdl"
3322 if test "$no_cache" != 1; then
3323 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3326 if test "$wxUSE_LIBSDL" = yes; then
3327 echo "$as_me:$LINENO: result: yes" >&5
3328 echo "${ECHO_T}yes" >&6
3330 echo "$as_me:$LINENO: result: no" >&5
3331 echo "${ECHO_T}no" >&6
3336 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3337 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3340 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3341 if test "${with_gnomeprint+set}" = set; then
3342 withval="$with_gnomeprint"
3344 if test "$withval" = yes; then
3345 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3347 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3352 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3353 if test "x$LINE" != x ; then
3354 eval "DEFAULT_$LINE"
3359 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
='$DEFAULT_wxUSE_LIBGNOMEPRINT
3363 eval "$ac_cv_use_gnomeprint"
3364 if test "$no_cache" != 1; then
3365 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3368 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3369 echo "$as_me:$LINENO: result: yes" >&5
3370 echo "${ECHO_T}yes" >&6
3372 echo "$as_me:$LINENO: result: no" >&5
3373 echo "${ECHO_T}no" >&6
3378 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3379 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3382 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3383 if test "${with_gnomevfs+set}" = set; then
3384 withval="$with_gnomevfs"
3386 if test "$withval" = yes; then
3387 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
3389 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
3394 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3395 if test "x$LINE" != x ; then
3396 eval "DEFAULT_$LINE"
3401 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
='$DEFAULT_wxUSE_LIBGNOMEVFS
3405 eval "$ac_cv_use_gnomevfs"
3406 if test "$no_cache" != 1; then
3407 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3410 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3411 echo "$as_me:$LINENO: result: yes" >&5
3412 echo "${ECHO_T}yes" >&6
3414 echo "$as_me:$LINENO: result: no" >&5
3415 echo "${ECHO_T}no" >&6
3420 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3421 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3424 # Check whether --with-hildon or --without-hildon was given.
3425 if test "${with_hildon+set}" = set; then
3426 withval="$with_hildon"
3428 if test "$withval" = yes; then
3429 ac_cv_use_hildon='wxUSE_LIBHILDON
=yes'
3431 ac_cv_use_hildon='wxUSE_LIBHILDON
=no
'
3436 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3437 if test "x$LINE" != x ; then
3438 eval "DEFAULT_$LINE"
3443 ac_cv_use_hildon='wxUSE_LIBHILDON
='$DEFAULT_wxUSE_LIBHILDON
3447 eval "$ac_cv_use_hildon"
3448 if test "$no_cache" != 1; then
3449 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3452 if test "$wxUSE_LIBHILDON" = yes; then
3453 echo "$as_me:$LINENO: result: yes" >&5
3454 echo "${ECHO_T}yes" >&6
3456 echo "$as_me:$LINENO: result: no" >&5
3457 echo "${ECHO_T}no" >&6
3462 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3463 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3466 # Check whether --with-opengl or --without-opengl was given.
3467 if test "${with_opengl+set}" = set; then
3468 withval="$with_opengl"
3470 if test "$withval" = yes; then
3471 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3473 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3478 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3479 if test "x$LINE" != x ; then
3480 eval "DEFAULT_$LINE"
3485 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
3489 eval "$ac_cv_use_opengl"
3490 if test "$no_cache" != 1; then
3491 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3494 if test "$wxUSE_OPENGL" = yes; then
3495 echo "$as_me:$LINENO: result: yes" >&5
3496 echo "${ECHO_T}yes" >&6
3498 echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6
3503 if test "$wxUSE_UNIVERSAL" = "yes"; then
3505 # Check whether --with-themes or --without-themes was given.
3506 if test "${with_themes+set}" = set; then
3507 withval="$with_themes"
3508 wxUNIV_THEMES="$withval"
3516 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3517 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3520 # Check whether --with-dmalloc or --without-dmalloc was given.
3521 if test "${with_dmalloc+set}" = set; then
3522 withval="$with_dmalloc"
3524 if test "$withval" = yes; then
3525 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3527 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3532 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x ; then
3534 eval "DEFAULT_$LINE"
3539 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
3543 eval "$ac_cv_use_dmalloc"
3544 if test "$no_cache" != 1; then
3545 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3548 if test "$wxUSE_DMALLOC" = yes; then
3549 echo "$as_me:$LINENO: result: yes" >&5
3550 echo "${ECHO_T}yes" >&6
3552 echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6
3557 echo "$as_me:$LINENO: checking for --with-regex" >&5
3558 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3561 # Check whether --with-regex or --without-regex was given.
3562 if test "${with_regex+set}" = set; then
3563 withval="$with_regex"
3565 if test "$withval" = yes; then
3566 ac_cv_use_regex='wxUSE_REGEX
=yes'
3567 elif test "$withval" = no; then
3568 ac_cv_use_regex='wxUSE_REGEX
=no
'
3569 elif test "$withval" = sys; then
3570 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3571 elif test "$withval" = builtin; then
3572 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3574 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3575 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3576 { (exit 1); exit 1; }; }
3581 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3582 if test "x$LINE" != x ; then
3583 eval "DEFAULT_$LINE"
3588 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3592 eval "$ac_cv_use_regex"
3593 if test "$no_cache" != 1; then
3594 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3597 if test "$wxUSE_REGEX" = yes; then
3598 echo "$as_me:$LINENO: result: yes" >&5
3599 echo "${ECHO_T}yes" >&6
3600 elif test "$wxUSE_REGEX" = no; then
3601 echo "$as_me:$LINENO: result: no" >&5
3602 echo "${ECHO_T}no" >&6
3603 elif test "$wxUSE_REGEX" = sys; then
3604 echo "$as_me:$LINENO: result: system version" >&5
3605 echo "${ECHO_T}system version" >&6
3606 elif test "$wxUSE_REGEX" = builtin; then
3607 echo "$as_me:$LINENO: result: builtin version" >&5
3608 echo "${ECHO_T}builtin version" >&6
3610 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3611 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3612 { (exit 1); exit 1; }; }
3616 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3617 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3620 # Check whether --with-zlib or --without-zlib was given.
3621 if test "${with_zlib+set}" = set; then
3622 withval="$with_zlib"
3624 if test "$withval" = yes; then
3625 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3626 elif test "$withval" = no; then
3627 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3628 elif test "$withval" = sys; then
3629 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3630 elif test "$withval" = builtin; then
3631 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3633 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3634 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3635 { (exit 1); exit 1; }; }
3640 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x ; then
3642 eval "DEFAULT_$LINE"
3647 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3651 eval "$ac_cv_use_zlib"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3656 if test "$wxUSE_ZLIB" = yes; then
3657 echo "$as_me:$LINENO: result: yes" >&5
3658 echo "${ECHO_T}yes" >&6
3659 elif test "$wxUSE_ZLIB" = no; then
3660 echo "$as_me:$LINENO: result: no" >&5
3661 echo "${ECHO_T}no" >&6
3662 elif test "$wxUSE_ZLIB" = sys; then
3663 echo "$as_me:$LINENO: result: system version" >&5
3664 echo "${ECHO_T}system version" >&6
3665 elif test "$wxUSE_ZLIB" = builtin; then
3666 echo "$as_me:$LINENO: result: builtin version" >&5
3667 echo "${ECHO_T}builtin version" >&6
3669 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3670 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3671 { (exit 1); exit 1; }; }
3675 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3676 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3679 # Check whether --with-odbc or --without-odbc was given.
3680 if test "${with_odbc+set}" = set; then
3681 withval="$with_odbc"
3683 if test "$withval" = yes; then
3684 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3685 elif test "$withval" = no; then
3686 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3687 elif test "$withval" = sys; then
3688 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3689 elif test "$withval" = builtin; then
3690 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3692 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3693 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3694 { (exit 1); exit 1; }; }
3699 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3700 if test "x$LINE" != x ; then
3701 eval "DEFAULT_$LINE"
3706 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3710 eval "$ac_cv_use_odbc"
3711 if test "$no_cache" != 1; then
3712 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3715 if test "$wxUSE_ODBC" = yes; then
3716 echo "$as_me:$LINENO: result: yes" >&5
3717 echo "${ECHO_T}yes" >&6
3718 elif test "$wxUSE_ODBC" = no; then
3719 echo "$as_me:$LINENO: result: no" >&5
3720 echo "${ECHO_T}no" >&6
3721 elif test "$wxUSE_ODBC" = sys; then
3722 echo "$as_me:$LINENO: result: system version" >&5
3723 echo "${ECHO_T}system version" >&6
3724 elif test "$wxUSE_ODBC" = builtin; then
3725 echo "$as_me:$LINENO: result: builtin version" >&5
3726 echo "${ECHO_T}builtin version" >&6
3728 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3729 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3730 { (exit 1); exit 1; }; }
3734 echo "$as_me:$LINENO: checking for --with-expat" >&5
3735 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3738 # Check whether --with-expat or --without-expat was given.
3739 if test "${with_expat+set}" = set; then
3740 withval="$with_expat"
3742 if test "$withval" = yes; then
3743 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3744 elif test "$withval" = no; then
3745 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3746 elif test "$withval" = sys; then
3747 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3748 elif test "$withval" = builtin; then
3749 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3751 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3752 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3753 { (exit 1); exit 1; }; }
3758 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x ; then
3760 eval "DEFAULT_$LINE"
3765 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3769 eval "$ac_cv_use_expat"
3770 if test "$no_cache" != 1; then
3771 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3774 if test "$wxUSE_EXPAT" = yes; then
3775 echo "$as_me:$LINENO: result: yes" >&5
3776 echo "${ECHO_T}yes" >&6
3777 elif test "$wxUSE_EXPAT" = no; then
3778 echo "$as_me:$LINENO: result: no" >&5
3779 echo "${ECHO_T}no" >&6
3780 elif test "$wxUSE_EXPAT" = sys; then
3781 echo "$as_me:$LINENO: result: system version" >&5
3782 echo "${ECHO_T}system version" >&6
3783 elif test "$wxUSE_EXPAT" = builtin; then
3784 echo "$as_me:$LINENO: result: builtin version" >&5
3785 echo "${ECHO_T}builtin version" >&6
3787 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3788 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3789 { (exit 1); exit 1; }; }
3796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3797 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3799 # Check whether --enable-shared or --disable-shared was given.
3800 if test "${enable_shared+set}" = set; then
3801 enableval="$enable_shared"
3803 if test "$enableval" = yes; then
3804 ac_cv_use_shared='wxUSE_SHARED
=yes'
3806 ac_cv_use_shared='wxUSE_SHARED
=no
'
3811 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3812 if test "x$LINE" != x ; then
3813 eval "DEFAULT_$LINE"
3818 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3822 eval "$ac_cv_use_shared"
3823 if test "$no_cache" != 1; then
3824 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3827 if test "$wxUSE_SHARED" = yes; then
3828 echo "$as_me:$LINENO: result: yes" >&5
3829 echo "${ECHO_T}yes" >&6
3831 echo "$as_me:$LINENO: result: no" >&5
3832 echo "${ECHO_T}no" >&6
3837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3838 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3840 # Check whether --enable-optimise or --disable-optimise was given.
3841 if test "${enable_optimise+set}" = set; then
3842 enableval="$enable_optimise"
3844 if test "$enableval" = yes; then
3845 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3847 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3852 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3853 if test "x$LINE" != x ; then
3854 eval "DEFAULT_$LINE"
3859 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3863 eval "$ac_cv_use_optimise"
3864 if test "$no_cache" != 1; then
3865 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3868 if test "$wxUSE_OPTIMISE" = yes; then
3869 echo "$as_me:$LINENO: result: yes" >&5
3870 echo "${ECHO_T}yes" >&6
3872 echo "$as_me:$LINENO: result: no" >&5
3873 echo "${ECHO_T}no" >&6
3878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3879 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3881 # Check whether --enable-debug or --disable-debug was given.
3882 if test "${enable_debug+set}" = set; then
3883 enableval="$enable_debug"
3885 if test "$enableval" = yes; then
3886 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3888 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3893 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3894 if test "x$LINE" != x ; then
3895 eval "DEFAULT_$LINE"
3900 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3904 eval "$ac_cv_use_debug"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3909 if test "$wxUSE_DEBUG" = yes; then
3910 echo "$as_me:$LINENO: result: yes" >&5
3911 echo "${ECHO_T}yes" >&6
3913 echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3920 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3922 # Check whether --enable-stl or --disable-stl was given.
3923 if test "${enable_stl+set}" = set; then
3924 enableval="$enable_stl"
3926 if test "$enableval" = yes; then
3927 ac_cv_use_stl='wxUSE_STL
=yes'
3929 ac_cv_use_stl='wxUSE_STL
=no
'
3934 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3935 if test "x$LINE" != x ; then
3936 eval "DEFAULT_$LINE"
3941 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3945 eval "$ac_cv_use_stl"
3946 if test "$no_cache" != 1; then
3947 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3950 if test "$wxUSE_STL" = yes; then
3951 echo "$as_me:$LINENO: result: yes" >&5
3952 echo "${ECHO_T}yes" >&6
3954 echo "$as_me:$LINENO: result: no" >&5
3955 echo "${ECHO_T}no" >&6
3958 if test "$USE_OS2" = "1"; then
3959 DEFAULT_wxUSE_OMF=no
3962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3963 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3965 # Check whether --enable-omf or --disable-omf was given.
3966 if test "${enable_omf+set}" = set; then
3967 enableval="$enable_omf"
3969 if test "$enableval" = yes; then
3970 ac_cv_use_omf='wxUSE_OMF
=yes'
3972 ac_cv_use_omf='wxUSE_OMF
=no
'
3977 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x ; then
3979 eval "DEFAULT_$LINE"
3984 ac_cv_use_omf='wxUSE_OMF
='$DEFAULT_wxUSE_OMF
3988 eval "$ac_cv_use_omf"
3989 if test "$no_cache" != 1; then
3990 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3993 if test "$wxUSE_OMF" = yes; then
3994 echo "$as_me:$LINENO: result: yes" >&5
3995 echo "${ECHO_T}yes" >&6
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
4003 if test "$wxUSE_DEBUG" = "yes"; then
4004 DEFAULT_wxUSE_DEBUG_FLAG=yes
4005 DEFAULT_wxUSE_DEBUG_INFO=yes
4007 elif test "$wxUSE_DEBUG" = "no"; then
4008 DEFAULT_wxUSE_DEBUG_FLAG=no
4009 DEFAULT_wxUSE_DEBUG_INFO=no
4015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4016 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4018 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4019 if test "${enable_debug_flag+set}" = set; then
4020 enableval="$enable_debug_flag"
4022 if test "$enableval" = yes; then
4023 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4025 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4030 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4031 if test "x$LINE" != x ; then
4032 eval "DEFAULT_$LINE"
4037 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
4041 eval "$ac_cv_use_debug_flag"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4046 if test "$wxUSE_DEBUG_FLAG" = yes; then
4047 echo "$as_me:$LINENO: result: yes" >&5
4048 echo "${ECHO_T}yes" >&6
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4057 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4059 # Check whether --enable-debug_info or --disable-debug_info was given.
4060 if test "${enable_debug_info+set}" = set; then
4061 enableval="$enable_debug_info"
4063 if test "$enableval" = yes; then
4064 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
4066 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
4071 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x ; then
4073 eval "DEFAULT_$LINE"
4078 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
4082 eval "$ac_cv_use_debug_info"
4083 if test "$no_cache" != 1; then
4084 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4087 if test "$wxUSE_DEBUG_INFO" = yes; then
4088 echo "$as_me:$LINENO: result: yes" >&5
4089 echo "${ECHO_T}yes" >&6
4091 echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4098 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4100 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4101 if test "${enable_debug_gdb+set}" = set; then
4102 enableval="$enable_debug_gdb"
4104 if test "$enableval" = yes; then
4105 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
4107 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
4112 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x ; then
4114 eval "DEFAULT_$LINE"
4119 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
4123 eval "$ac_cv_use_debug_gdb"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4128 if test "$wxUSE_DEBUG_GDB" = yes; then
4129 echo "$as_me:$LINENO: result: yes" >&5
4130 echo "${ECHO_T}yes" >&6
4132 echo "$as_me:$LINENO: result: no" >&5
4133 echo "${ECHO_T}no" >&6
4138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4139 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4141 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4142 if test "${enable_debug_cntxt+set}" = set; then
4143 enableval="$enable_debug_cntxt"
4145 if test "$enableval" = yes; then
4146 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4148 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4153 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x ; then
4155 eval "DEFAULT_$LINE"
4160 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
4164 eval "$ac_cv_use_debug_cntxt"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4169 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4170 echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6
4173 echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4180 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4182 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4183 if test "${enable_mem_tracing+set}" = set; then
4184 enableval="$enable_mem_tracing"
4186 if test "$enableval" = yes; then
4187 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
4189 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
4194 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4195 if test "x$LINE" != x ; then
4196 eval "DEFAULT_$LINE"
4201 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
4205 eval "$ac_cv_use_mem_tracing"
4206 if test "$no_cache" != 1; then
4207 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4210 if test "$wxUSE_MEM_TRACING" = yes; then
4211 echo "$as_me:$LINENO: result: yes" >&5
4212 echo "${ECHO_T}yes" >&6
4214 echo "$as_me:$LINENO: result: no" >&5
4215 echo "${ECHO_T}no" >&6
4220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4221 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4223 # Check whether --enable-profile or --disable-profile was given.
4224 if test "${enable_profile+set}" = set; then
4225 enableval="$enable_profile"
4227 if test "$enableval" = yes; then
4228 ac_cv_use_profile='wxUSE_PROFILE
=yes'
4230 ac_cv_use_profile='wxUSE_PROFILE
=no
'
4235 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4236 if test "x$LINE" != x ; then
4237 eval "DEFAULT_$LINE"
4242 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
4246 eval "$ac_cv_use_profile"
4247 if test "$no_cache" != 1; then
4248 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4251 if test "$wxUSE_PROFILE" = yes; then
4252 echo "$as_me:$LINENO: result: yes" >&5
4253 echo "${ECHO_T}yes" >&6
4255 echo "$as_me:$LINENO: result: no" >&5
4256 echo "${ECHO_T}no" >&6
4261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4262 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4264 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4265 if test "${enable_no_rtti+set}" = set; then
4266 enableval="$enable_no_rtti"
4268 if test "$enableval" = yes; then
4269 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
4271 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
4276 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4277 if test "x$LINE" != x ; then
4278 eval "DEFAULT_$LINE"
4283 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
4287 eval "$ac_cv_use_no_rtti"
4288 if test "$no_cache" != 1; then
4289 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4292 if test "$wxUSE_NO_RTTI" = yes; then
4293 echo "$as_me:$LINENO: result: yes" >&5
4294 echo "${ECHO_T}yes" >&6
4296 echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6
4302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4303 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4305 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4306 if test "${enable_no_exceptions+set}" = set; then
4307 enableval="$enable_no_exceptions"
4309 if test "$enableval" = yes; then
4310 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4312 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4317 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4318 if test "x$LINE" != x ; then
4319 eval "DEFAULT_$LINE"
4324 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
4328 eval "$ac_cv_use_no_exceptions"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4333 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4334 echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6
4337 echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6
4343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4344 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4346 # Check whether --enable-permissive or --disable-permissive was given.
4347 if test "${enable_permissive+set}" = set; then
4348 enableval="$enable_permissive"
4350 if test "$enableval" = yes; then
4351 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4353 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4358 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4359 if test "x$LINE" != x ; then
4360 eval "DEFAULT_$LINE"
4365 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
4369 eval "$ac_cv_use_permissive"
4370 if test "$no_cache" != 1; then
4371 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4374 if test "$wxUSE_PERMISSIVE" = yes; then
4375 echo "$as_me:$LINENO: result: yes" >&5
4376 echo "${ECHO_T}yes" >&6
4378 echo "$as_me:$LINENO: result: no" >&5
4379 echo "${ECHO_T}no" >&6
4384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4385 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4387 # Check whether --enable-no_deps or --disable-no_deps was given.
4388 if test "${enable_no_deps+set}" = set; then
4389 enableval="$enable_no_deps"
4391 if test "$enableval" = yes; then
4392 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
4394 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
4399 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4400 if test "x$LINE" != x ; then
4401 eval "DEFAULT_$LINE"
4406 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
4410 eval "$ac_cv_use_no_deps"
4411 if test "$no_cache" != 1; then
4412 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4415 if test "$wxUSE_NO_DEPS" = yes; then
4416 echo "$as_me:$LINENO: result: yes" >&5
4417 echo "${ECHO_T}yes" >&6
4419 echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6
4425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
4426 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
4428 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
4429 if test "${enable_vararg_macros+set}" = set; then
4430 enableval="$enable_vararg_macros"
4432 if test "$enableval" = yes; then
4433 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
4435 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
4440 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
4441 if test "x$LINE" != x ; then
4442 eval "DEFAULT_$LINE"
4447 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
='$DEFAULT_wxUSE_VARARG_MACROS
4451 eval "$ac_cv_use_vararg_macros"
4452 if test "$no_cache" != 1; then
4453 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
4456 if test "$wxUSE_VARARG_MACROS" = yes; then
4457 echo "$as_me:$LINENO: result: yes" >&5
4458 echo "${ECHO_T}yes" >&6
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4467 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4469 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4470 if test "${enable_universal_binary+set}" = set; then
4471 enableval="$enable_universal_binary"
4473 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4477 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4478 if test "x$LINE" != x ; then
4479 eval "DEFAULT_$LINE"
4480 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4483 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4488 eval "$wx_cv_use_universal_binary"
4489 if test "$no_cache" != 1; then
4490 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4493 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4494 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4500 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4502 # Check whether --enable-compat24 or --disable-compat24 was given.
4503 if test "${enable_compat24+set}" = set; then
4504 enableval="$enable_compat24"
4506 if test "$enableval" = yes; then
4507 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
4509 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
4514 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4515 if test "x$LINE" != x ; then
4516 eval "DEFAULT_$LINE"
4521 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4525 eval "$ac_cv_use_compat24"
4526 if test "$no_cache" != 1; then
4527 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4530 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4531 echo "$as_me:$LINENO: result: yes" >&5
4532 echo "${ECHO_T}yes" >&6
4534 echo "$as_me:$LINENO: result: no" >&5
4535 echo "${ECHO_T}no" >&6
4539 enablestring=disable
4540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4541 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4543 # Check whether --enable-compat26 or --disable-compat26 was given.
4544 if test "${enable_compat26+set}" = set; then
4545 enableval="$enable_compat26"
4547 if test "$enableval" = yes; then
4548 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
4550 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
4555 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4556 if test "x$LINE" != x ; then
4557 eval "DEFAULT_$LINE"
4562 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4566 eval "$ac_cv_use_compat26"
4567 if test "$no_cache" != 1; then
4568 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4571 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4572 echo "$as_me:$LINENO: result: yes" >&5
4573 echo "${ECHO_T}yes" >&6
4575 echo "$as_me:$LINENO: result: no" >&5
4576 echo "${ECHO_T}no" >&6
4582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4583 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4585 # Check whether --enable-rpath or --disable-rpath was given.
4586 if test "${enable_rpath+set}" = set; then
4587 enableval="$enable_rpath"
4589 if test "$enableval" = yes; then
4590 ac_cv_use_rpath='wxUSE_RPATH
=yes'
4592 ac_cv_use_rpath='wxUSE_RPATH
=no
'
4597 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x ; then
4599 eval "DEFAULT_$LINE"
4604 ac_cv_use_rpath='wxUSE_RPATH
='$DEFAULT_wxUSE_RPATH
4608 eval "$ac_cv_use_rpath"
4609 if test "$no_cache" != 1; then
4610 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4613 if test "$wxUSE_RPATH" = yes; then
4614 echo "$as_me:$LINENO: result: yes" >&5
4615 echo "${ECHO_T}yes" >&6
4617 echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4627 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4629 # Check whether --enable-intl or --disable-intl was given.
4630 if test "${enable_intl+set}" = set; then
4631 enableval="$enable_intl"
4633 if test "$enableval" = yes; then
4634 ac_cv_use_intl='wxUSE_INTL
=yes'
4636 ac_cv_use_intl='wxUSE_INTL
=no
'
4641 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x ; then
4643 eval "DEFAULT_$LINE"
4648 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
4652 eval "$ac_cv_use_intl"
4653 if test "$no_cache" != 1; then
4654 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4657 if test "$wxUSE_INTL" = yes; then
4658 echo "$as_me:$LINENO: result: yes" >&5
4659 echo "${ECHO_T}yes" >&6
4661 echo "$as_me:$LINENO: result: no" >&5
4662 echo "${ECHO_T}no" >&6
4667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4670 # Check whether --enable-config or --disable-config was given.
4671 if test "${enable_config+set}" = set; then
4672 enableval="$enable_config"
4674 if test "$enableval" = yes; then
4675 ac_cv_use_config='wxUSE_CONFIG
=yes'
4677 ac_cv_use_config='wxUSE_CONFIG
=no
'
4682 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4683 if test "x$LINE" != x ; then
4684 eval "DEFAULT_$LINE"
4689 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
4693 eval "$ac_cv_use_config"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4698 if test "$wxUSE_CONFIG" = yes; then
4699 echo "$as_me:$LINENO: result: yes" >&5
4700 echo "${ECHO_T}yes" >&6
4702 echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6
4709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4710 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4712 # Check whether --enable-protocols or --disable-protocols was given.
4713 if test "${enable_protocols+set}" = set; then
4714 enableval="$enable_protocols"
4716 if test "$enableval" = yes; then
4717 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4719 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4724 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4725 if test "x$LINE" != x ; then
4726 eval "DEFAULT_$LINE"
4731 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4735 eval "$ac_cv_use_protocols"
4736 if test "$no_cache" != 1; then
4737 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4740 if test "$wxUSE_PROTOCOL" = yes; then
4741 echo "$as_me:$LINENO: result: yes" >&5
4742 echo "${ECHO_T}yes" >&6
4744 echo "$as_me:$LINENO: result: no" >&5
4745 echo "${ECHO_T}no" >&6
4750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4751 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4753 # Check whether --enable-ftp or --disable-ftp was given.
4754 if test "${enable_ftp+set}" = set; then
4755 enableval="$enable_ftp"
4757 if test "$enableval" = yes; then
4758 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4760 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4765 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4766 if test "x$LINE" != x ; then
4767 eval "DEFAULT_$LINE"
4772 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4776 eval "$ac_cv_use_ftp"
4777 if test "$no_cache" != 1; then
4778 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4781 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4782 echo "$as_me:$LINENO: result: yes" >&5
4783 echo "${ECHO_T}yes" >&6
4785 echo "$as_me:$LINENO: result: no" >&5
4786 echo "${ECHO_T}no" >&6
4791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4792 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4794 # Check whether --enable-http or --disable-http was given.
4795 if test "${enable_http+set}" = set; then
4796 enableval="$enable_http"
4798 if test "$enableval" = yes; then
4799 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4801 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4806 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x ; then
4808 eval "DEFAULT_$LINE"
4813 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4817 eval "$ac_cv_use_http"
4818 if test "$no_cache" != 1; then
4819 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4822 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4823 echo "$as_me:$LINENO: result: yes" >&5
4824 echo "${ECHO_T}yes" >&6
4826 echo "$as_me:$LINENO: result: no" >&5
4827 echo "${ECHO_T}no" >&6
4832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4835 # Check whether --enable-fileproto or --disable-fileproto was given.
4836 if test "${enable_fileproto+set}" = set; then
4837 enableval="$enable_fileproto"
4839 if test "$enableval" = yes; then
4840 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4842 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4847 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4848 if test "x$LINE" != x ; then
4849 eval "DEFAULT_$LINE"
4854 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4858 eval "$ac_cv_use_fileproto"
4859 if test "$no_cache" != 1; then
4860 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4863 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4864 echo "$as_me:$LINENO: result: yes" >&5
4865 echo "${ECHO_T}yes" >&6
4867 echo "$as_me:$LINENO: result: no" >&5
4868 echo "${ECHO_T}no" >&6
4873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4874 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4876 # Check whether --enable-sockets or --disable-sockets was given.
4877 if test "${enable_sockets+set}" = set; then
4878 enableval="$enable_sockets"
4880 if test "$enableval" = yes; then
4881 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4883 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4888 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4889 if test "x$LINE" != x ; then
4890 eval "DEFAULT_$LINE"
4895 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4899 eval "$ac_cv_use_sockets"
4900 if test "$no_cache" != 1; then
4901 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4904 if test "$wxUSE_SOCKETS" = yes; then
4905 echo "$as_me:$LINENO: result: yes" >&5
4906 echo "${ECHO_T}yes" >&6
4908 echo "$as_me:$LINENO: result: no" >&5
4909 echo "${ECHO_T}no" >&6
4914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4915 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4917 # Check whether --enable-ole or --disable-ole was given.
4918 if test "${enable_ole+set}" = set; then
4919 enableval="$enable_ole"
4921 if test "$enableval" = yes; then
4922 ac_cv_use_ole='wxUSE_OLE
=yes'
4924 ac_cv_use_ole='wxUSE_OLE
=no
'
4929 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4930 if test "x$LINE" != x ; then
4931 eval "DEFAULT_$LINE"
4936 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4940 eval "$ac_cv_use_ole"
4941 if test "$no_cache" != 1; then
4942 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4945 if test "$wxUSE_OLE" = yes; then
4946 echo "$as_me:$LINENO: result: yes" >&5
4947 echo "${ECHO_T}yes" >&6
4949 echo "$as_me:$LINENO: result: no" >&5
4950 echo "${ECHO_T}no" >&6
4955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4956 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4958 # Check whether --enable-dataobj or --disable-dataobj was given.
4959 if test "${enable_dataobj+set}" = set; then
4960 enableval="$enable_dataobj"
4962 if test "$enableval" = yes; then
4963 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4965 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4970 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4977 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4981 eval "$ac_cv_use_dataobj"
4982 if test "$no_cache" != 1; then
4983 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4986 if test "$wxUSE_DATAOBJ" = yes; then
4987 echo "$as_me:$LINENO: result: yes" >&5
4988 echo "${ECHO_T}yes" >&6
4990 echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6
4997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4998 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
5000 # Check whether --enable-ipc or --disable-ipc was given.
5001 if test "${enable_ipc+set}" = set; then
5002 enableval="$enable_ipc"
5004 if test "$enableval" = yes; then
5005 ac_cv_use_ipc='wxUSE_IPC
=yes'
5007 ac_cv_use_ipc='wxUSE_IPC
=no
'
5012 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5013 if test "x$LINE" != x ; then
5014 eval "DEFAULT_$LINE"
5019 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
5023 eval "$ac_cv_use_ipc"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5028 if test "$wxUSE_IPC" = yes; then
5029 echo "$as_me:$LINENO: result: yes" >&5
5030 echo "${ECHO_T}yes" >&6
5032 echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6
5039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
5042 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
5043 if test "${enable_apple_ieee+set}" = set; then
5044 enableval="$enable_apple_ieee"
5046 if test "$enableval" = yes; then
5047 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
5049 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
5054 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x ; then
5056 eval "DEFAULT_$LINE"
5061 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
5065 eval "$ac_cv_use_apple_ieee"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_APPLE_IEEE" = yes; then
5071 echo "$as_me:$LINENO: result: yes" >&5
5072 echo "${ECHO_T}yes" >&6
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5083 # Check whether --enable-arcstream or --disable-arcstream was given.
5084 if test "${enable_arcstream+set}" = set; then
5085 enableval="$enable_arcstream"
5087 if test "$enableval" = yes; then
5088 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
5090 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
5095 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x ; then
5097 eval "DEFAULT_$LINE"
5102 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5106 eval "$ac_cv_use_arcstream"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5111 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5112 echo "$as_me:$LINENO: result: yes" >&5
5113 echo "${ECHO_T}yes" >&6
5115 echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6
5121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5124 # Check whether --enable-backtrace or --disable-backtrace was given.
5125 if test "${enable_backtrace+set}" = set; then
5126 enableval="$enable_backtrace"
5128 if test "$enableval" = yes; then
5129 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
5131 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
5136 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x ; then
5138 eval "DEFAULT_$LINE"
5143 ac_cv_use_backtrace='wxUSE_STACKWALKER
='$DEFAULT_wxUSE_STACKWALKER
5147 eval "$ac_cv_use_backtrace"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5152 if test "$wxUSE_STACKWALKER" = yes; then
5153 echo "$as_me:$LINENO: result: yes" >&5
5154 echo "${ECHO_T}yes" >&6
5156 echo "$as_me:$LINENO: result: no" >&5
5157 echo "${ECHO_T}no" >&6
5162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5165 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5166 if test "${enable_catch_segvs+set}" = set; then
5167 enableval="$enable_catch_segvs"
5169 if test "$enableval" = yes; then
5170 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
5172 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
5177 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x ; then
5179 eval "DEFAULT_$LINE"
5184 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5188 eval "$ac_cv_use_catch_segvs"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5193 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5194 echo "$as_me:$LINENO: result: yes" >&5
5195 echo "${ECHO_T}yes" >&6
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5206 # Check whether --enable-cmdline or --disable-cmdline was given.
5207 if test "${enable_cmdline+set}" = set; then
5208 enableval="$enable_cmdline"
5210 if test "$enableval" = yes; then
5211 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
5213 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
5218 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x ; then
5220 eval "DEFAULT_$LINE"
5225 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
5229 eval "$ac_cv_use_cmdline"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5234 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5235 echo "$as_me:$LINENO: result: yes" >&5
5236 echo "${ECHO_T}yes" >&6
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5247 # Check whether --enable-datetime or --disable-datetime was given.
5248 if test "${enable_datetime+set}" = set; then
5249 enableval="$enable_datetime"
5251 if test "$enableval" = yes; then
5252 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
5254 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
5259 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x ; then
5261 eval "DEFAULT_$LINE"
5266 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
5270 eval "$ac_cv_use_datetime"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5275 if test "$wxUSE_DATETIME" = yes; then
5276 echo "$as_me:$LINENO: result: yes" >&5
5277 echo "${ECHO_T}yes" >&6
5279 echo "$as_me:$LINENO: result: no" >&5
5280 echo "${ECHO_T}no" >&6
5285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5286 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5288 # Check whether --enable-debugreport or --disable-debugreport was given.
5289 if test "${enable_debugreport+set}" = set; then
5290 enableval="$enable_debugreport"
5292 if test "$enableval" = yes; then
5293 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
5295 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
5300 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5301 if test "x$LINE" != x ; then
5302 eval "DEFAULT_$LINE"
5307 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
='$DEFAULT_wxUSE_DEBUGREPORT
5311 eval "$ac_cv_use_debugreport"
5312 if test "$no_cache" != 1; then
5313 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5316 if test "$wxUSE_DEBUGREPORT" = yes; then
5317 echo "$as_me:$LINENO: result: yes" >&5
5318 echo "${ECHO_T}yes" >&6
5320 echo "$as_me:$LINENO: result: no" >&5
5321 echo "${ECHO_T}no" >&6
5326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5329 # Check whether --enable-dialupman or --disable-dialupman was given.
5330 if test "${enable_dialupman+set}" = set; then
5331 enableval="$enable_dialupman"
5333 if test "$enableval" = yes; then
5334 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
5336 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
5341 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x ; then
5343 eval "DEFAULT_$LINE"
5348 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
5352 eval "$ac_cv_use_dialupman"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5357 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5361 echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6
5367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5370 # Check whether --enable-dynlib or --disable-dynlib was given.
5371 if test "${enable_dynlib+set}" = set; then
5372 enableval="$enable_dynlib"
5374 if test "$enableval" = yes; then
5375 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
5377 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
5382 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x ; then
5384 eval "DEFAULT_$LINE"
5389 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
5393 eval "$ac_cv_use_dynlib"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5398 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5399 echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6
5402 echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6
5408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5411 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5412 if test "${enable_dynamicloader+set}" = set; then
5413 enableval="$enable_dynamicloader"
5415 if test "$enableval" = yes; then
5416 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
5418 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
5423 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x ; then
5425 eval "DEFAULT_$LINE"
5430 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
5434 eval "$ac_cv_use_dynamicloader"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5439 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5440 echo "$as_me:$LINENO: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5443 echo "$as_me:$LINENO: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5452 # Check whether --enable-exceptions or --disable-exceptions was given.
5453 if test "${enable_exceptions+set}" = set; then
5454 enableval="$enable_exceptions"
5456 if test "$enableval" = yes; then
5457 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
5459 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
5464 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x ; then
5466 eval "DEFAULT_$LINE"
5471 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
5475 eval "$ac_cv_use_exceptions"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5480 if test "$wxUSE_EXCEPTIONS" = yes; then
5481 echo "$as_me:$LINENO: result: yes" >&5
5482 echo "${ECHO_T}yes" >&6
5484 echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6
5490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5493 # Check whether --enable-ffile or --disable-ffile was given.
5494 if test "${enable_ffile+set}" = set; then
5495 enableval="$enable_ffile"
5497 if test "$enableval" = yes; then
5498 ac_cv_use_ffile='wxUSE_FFILE
=yes'
5500 ac_cv_use_ffile='wxUSE_FFILE
=no
'
5505 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5512 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
5516 eval "$ac_cv_use_ffile"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5521 if test "$wxUSE_FFILE" = yes; then
5522 echo "$as_me:$LINENO: result: yes" >&5
5523 echo "${ECHO_T}yes" >&6
5525 echo "$as_me:$LINENO: result: no" >&5
5526 echo "${ECHO_T}no" >&6
5531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5534 # Check whether --enable-file or --disable-file was given.
5535 if test "${enable_file+set}" = set; then
5536 enableval="$enable_file"
5538 if test "$enableval" = yes; then
5539 ac_cv_use_file='wxUSE_FILE
=yes'
5541 ac_cv_use_file='wxUSE_FILE
=no
'
5546 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x ; then
5548 eval "DEFAULT_$LINE"
5553 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
5557 eval "$ac_cv_use_file"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5562 if test "$wxUSE_FILE" = yes; then
5563 echo "$as_me:$LINENO: result: yes" >&5
5564 echo "${ECHO_T}yes" >&6
5566 echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6
5572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5575 # Check whether --enable-filesystem or --disable-filesystem was given.
5576 if test "${enable_filesystem+set}" = set; then
5577 enableval="$enable_filesystem"
5579 if test "$enableval" = yes; then
5580 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5582 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5587 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x ; then
5589 eval "DEFAULT_$LINE"
5594 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5598 eval "$ac_cv_use_filesystem"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5603 if test "$wxUSE_FILESYSTEM" = yes; then
5604 echo "$as_me:$LINENO: result: yes" >&5
5605 echo "${ECHO_T}yes" >&6
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5614 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5616 # Check whether --enable-fontmap or --disable-fontmap was given.
5617 if test "${enable_fontmap+set}" = set; then
5618 enableval="$enable_fontmap"
5620 if test "$enableval" = yes; then
5621 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
5623 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
5628 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x ; then
5630 eval "DEFAULT_$LINE"
5635 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
5639 eval "$ac_cv_use_fontmap"
5640 if test "$no_cache" != 1; then
5641 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5644 if test "$wxUSE_FONTMAP" = yes; then
5645 echo "$as_me:$LINENO: result: yes" >&5
5646 echo "${ECHO_T}yes" >&6
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5657 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5658 if test "${enable_fs_archive+set}" = set; then
5659 enableval="$enable_fs_archive"
5661 if test "$enableval" = yes; then
5662 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
5664 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
5669 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x ; then
5671 eval "DEFAULT_$LINE"
5676 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE
='$DEFAULT_wxUSE_FS_ARCHIVE
5680 eval "$ac_cv_use_fs_archive"
5681 if test "$no_cache" != 1; then
5682 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5685 if test "$wxUSE_FS_ARCHIVE" = yes; then
5686 echo "$as_me:$LINENO: result: yes" >&5
5687 echo "${ECHO_T}yes" >&6
5689 echo "$as_me:$LINENO: result: no" >&5
5690 echo "${ECHO_T}no" >&6
5695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5696 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5698 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5699 if test "${enable_fs_inet+set}" = set; then
5700 enableval="$enable_fs_inet"
5702 if test "$enableval" = yes; then
5703 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5705 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5710 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5711 if test "x$LINE" != x ; then
5712 eval "DEFAULT_$LINE"
5717 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5721 eval "$ac_cv_use_fs_inet"
5722 if test "$no_cache" != 1; then
5723 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5726 if test "$wxUSE_FS_INET" = yes; then
5727 echo "$as_me:$LINENO: result: yes" >&5
5728 echo "${ECHO_T}yes" >&6
5730 echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6
5736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5739 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5740 if test "${enable_fs_zip+set}" = set; then
5741 enableval="$enable_fs_zip"
5743 if test "$enableval" = yes; then
5744 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5746 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5751 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x ; then
5753 eval "DEFAULT_$LINE"
5758 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5762 eval "$ac_cv_use_fs_zip"
5763 if test "$no_cache" != 1; then
5764 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5767 if test "$wxUSE_FS_ZIP" = yes; then
5768 echo "$as_me:$LINENO: result: yes" >&5
5769 echo "${ECHO_T}yes" >&6
5771 echo "$as_me:$LINENO: result: no" >&5
5772 echo "${ECHO_T}no" >&6
5777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5778 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5780 # Check whether --enable-geometry or --disable-geometry was given.
5781 if test "${enable_geometry+set}" = set; then
5782 enableval="$enable_geometry"
5784 if test "$enableval" = yes; then
5785 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
5787 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
5792 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5793 if test "x$LINE" != x ; then
5794 eval "DEFAULT_$LINE"
5799 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
5803 eval "$ac_cv_use_geometry"
5804 if test "$no_cache" != 1; then
5805 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5808 if test "$wxUSE_GEOMETRY" = yes; then
5809 echo "$as_me:$LINENO: result: yes" >&5
5810 echo "${ECHO_T}yes" >&6
5812 echo "$as_me:$LINENO: result: no" >&5
5813 echo "${ECHO_T}no" >&6
5818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5819 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5821 # Check whether --enable-log or --disable-log was given.
5822 if test "${enable_log+set}" = set; then
5823 enableval="$enable_log"
5825 if test "$enableval" = yes; then
5826 ac_cv_use_log='wxUSE_LOG
=yes'
5828 ac_cv_use_log='wxUSE_LOG
=no
'
5833 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5834 if test "x$LINE" != x ; then
5835 eval "DEFAULT_$LINE"
5840 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
5844 eval "$ac_cv_use_log"
5845 if test "$no_cache" != 1; then
5846 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5849 if test "$wxUSE_LOG" = yes; then
5850 echo "$as_me:$LINENO: result: yes" >&5
5851 echo "${ECHO_T}yes" >&6
5853 echo "$as_me:$LINENO: result: no" >&5
5854 echo "${ECHO_T}no" >&6
5859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5862 # Check whether --enable-longlong or --disable-longlong was given.
5863 if test "${enable_longlong+set}" = set; then
5864 enableval="$enable_longlong"
5866 if test "$enableval" = yes; then
5867 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5869 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5874 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5875 if test "x$LINE" != x ; then
5876 eval "DEFAULT_$LINE"
5881 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5885 eval "$ac_cv_use_longlong"
5886 if test "$no_cache" != 1; then
5887 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5890 if test "$wxUSE_LONGLONG" = yes; then
5891 echo "$as_me:$LINENO: result: yes" >&5
5892 echo "${ECHO_T}yes" >&6
5894 echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6
5900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5903 # Check whether --enable-mimetype or --disable-mimetype was given.
5904 if test "${enable_mimetype+set}" = set; then
5905 enableval="$enable_mimetype"
5907 if test "$enableval" = yes; then
5908 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5910 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5915 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x ; then
5917 eval "DEFAULT_$LINE"
5922 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5926 eval "$ac_cv_use_mimetype"
5927 if test "$no_cache" != 1; then
5928 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5931 if test "$wxUSE_MIMETYPE" = yes; then
5932 echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6
5935 echo "$as_me:$LINENO: result: no" >&5
5936 echo "${ECHO_T}no" >&6
5941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5944 # Check whether --enable-mslu or --disable-mslu was given.
5945 if test "${enable_mslu+set}" = set; then
5946 enableval="$enable_mslu"
5948 if test "$enableval" = yes; then
5949 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5951 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5956 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5957 if test "x$LINE" != x ; then
5958 eval "DEFAULT_$LINE"
5963 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5967 eval "$ac_cv_use_mslu"
5968 if test "$no_cache" != 1; then
5969 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5972 if test "$wxUSE_UNICODE_MSLU" = yes; then
5973 echo "$as_me:$LINENO: result: yes" >&5
5974 echo "${ECHO_T}yes" >&6
5976 echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6
5982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5983 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5985 # Check whether --enable-snglinst or --disable-snglinst was given.
5986 if test "${enable_snglinst+set}" = set; then
5987 enableval="$enable_snglinst"
5989 if test "$enableval" = yes; then
5990 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5992 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5997 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5998 if test "x$LINE" != x ; then
5999 eval "DEFAULT_$LINE"
6004 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
6008 eval "$ac_cv_use_snglinst"
6009 if test "$no_cache" != 1; then
6010 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6013 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6014 echo "$as_me:$LINENO: result: yes" >&5
6015 echo "${ECHO_T}yes" >&6
6017 echo "$as_me:$LINENO: result: no" >&5
6018 echo "${ECHO_T}no" >&6
6023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6024 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6026 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6027 if test "${enable_std_iostreams+set}" = set; then
6028 enableval="$enable_std_iostreams"
6030 if test "$enableval" = yes; then
6031 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
6033 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
6038 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6039 if test "x$LINE" != x ; then
6040 eval "DEFAULT_$LINE"
6045 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
6049 eval "$ac_cv_use_std_iostreams"
6050 if test "$no_cache" != 1; then
6051 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6054 if test "$wxUSE_STD_IOSTREAM" = yes; then
6055 echo "$as_me:$LINENO: result: yes" >&5
6056 echo "${ECHO_T}yes" >&6
6058 echo "$as_me:$LINENO: result: no" >&5
6059 echo "${ECHO_T}no" >&6
6064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6065 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6067 # Check whether --enable-std_string or --disable-std_string was given.
6068 if test "${enable_std_string+set}" = set; then
6069 enableval="$enable_std_string"
6071 if test "$enableval" = yes; then
6072 ac_cv_use_std_string='wxUSE_STD_STRING
=yes'
6074 ac_cv_use_std_string='wxUSE_STD_STRING
=no
'
6079 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6080 if test "x$LINE" != x ; then
6081 eval "DEFAULT_$LINE"
6086 ac_cv_use_std_string='wxUSE_STD_STRING
='$DEFAULT_wxUSE_STD_STRING
6090 eval "$ac_cv_use_std_string"
6091 if test "$no_cache" != 1; then
6092 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6095 if test "$wxUSE_STD_STRING" = yes; then
6096 echo "$as_me:$LINENO: result: yes" >&5
6097 echo "${ECHO_T}yes" >&6
6099 echo "$as_me:$LINENO: result: no" >&5
6100 echo "${ECHO_T}no" >&6
6105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6106 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6108 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6109 if test "${enable_stdpaths+set}" = set; then
6110 enableval="$enable_stdpaths"
6112 if test "$enableval" = yes; then
6113 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
6115 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
6120 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6121 if test "x$LINE" != x ; then
6122 eval "DEFAULT_$LINE"
6127 ac_cv_use_stdpaths='wxUSE_STDPATHS
='$DEFAULT_wxUSE_STDPATHS
6131 eval "$ac_cv_use_stdpaths"
6132 if test "$no_cache" != 1; then
6133 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6136 if test "$wxUSE_STDPATHS" = yes; then
6137 echo "$as_me:$LINENO: result: yes" >&5
6138 echo "${ECHO_T}yes" >&6
6140 echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6
6146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6147 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6149 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6150 if test "${enable_stopwatch+set}" = set; then
6151 enableval="$enable_stopwatch"
6153 if test "$enableval" = yes; then
6154 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
6156 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
6161 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6162 if test "x$LINE" != x ; then
6163 eval "DEFAULT_$LINE"
6168 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
6172 eval "$ac_cv_use_stopwatch"
6173 if test "$no_cache" != 1; then
6174 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6177 if test "$wxUSE_STOPWATCH" = yes; then
6178 echo "$as_me:$LINENO: result: yes" >&5
6179 echo "${ECHO_T}yes" >&6
6181 echo "$as_me:$LINENO: result: no" >&5
6182 echo "${ECHO_T}no" >&6
6187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6188 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6190 # Check whether --enable-streams or --disable-streams was given.
6191 if test "${enable_streams+set}" = set; then
6192 enableval="$enable_streams"
6194 if test "$enableval" = yes; then
6195 ac_cv_use_streams='wxUSE_STREAMS
=yes'
6197 ac_cv_use_streams='wxUSE_STREAMS
=no
'
6202 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6203 if test "x$LINE" != x ; then
6204 eval "DEFAULT_$LINE"
6209 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
6213 eval "$ac_cv_use_streams"
6214 if test "$no_cache" != 1; then
6215 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6218 if test "$wxUSE_STREAMS" = yes; then
6219 echo "$as_me:$LINENO: result: yes" >&5
6220 echo "${ECHO_T}yes" >&6
6222 echo "$as_me:$LINENO: result: no" >&5
6223 echo "${ECHO_T}no" >&6
6228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6229 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6231 # Check whether --enable-system_options or --disable-system_options was given.
6232 if test "${enable_system_options+set}" = set; then
6233 enableval="$enable_system_options"
6235 if test "$enableval" = yes; then
6236 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
6238 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
6243 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6244 if test "x$LINE" != x ; then
6245 eval "DEFAULT_$LINE"
6250 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6254 eval "$ac_cv_use_system_options"
6255 if test "$no_cache" != 1; then
6256 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6259 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6260 echo "$as_me:$LINENO: result: yes" >&5
6261 echo "${ECHO_T}yes" >&6
6263 echo "$as_me:$LINENO: result: no" >&5
6264 echo "${ECHO_T}no" >&6
6269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6270 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6272 # Check whether --enable-tarstream or --disable-tarstream was given.
6273 if test "${enable_tarstream+set}" = set; then
6274 enableval="$enable_tarstream"
6276 if test "$enableval" = yes; then
6277 ac_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
6279 ac_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
6284 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6285 if test "x$LINE" != x ; then
6286 eval "DEFAULT_$LINE"
6291 ac_cv_use_tarstream='wxUSE_TARSTREAM
='$DEFAULT_wxUSE_TARSTREAM
6295 eval "$ac_cv_use_tarstream"
6296 if test "$no_cache" != 1; then
6297 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6300 if test "$wxUSE_TARSTREAM" = yes; then
6301 echo "$as_me:$LINENO: result: yes" >&5
6302 echo "${ECHO_T}yes" >&6
6304 echo "$as_me:$LINENO: result: no" >&5
6305 echo "${ECHO_T}no" >&6
6310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6311 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6313 # Check whether --enable-textbuf or --disable-textbuf was given.
6314 if test "${enable_textbuf+set}" = set; then
6315 enableval="$enable_textbuf"
6317 if test "$enableval" = yes; then
6318 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
6320 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
6325 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6326 if test "x$LINE" != x ; then
6327 eval "DEFAULT_$LINE"
6332 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
6336 eval "$ac_cv_use_textbuf"
6337 if test "$no_cache" != 1; then
6338 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6341 if test "$wxUSE_TEXTBUFFER" = yes; then
6342 echo "$as_me:$LINENO: result: yes" >&5
6343 echo "${ECHO_T}yes" >&6
6345 echo "$as_me:$LINENO: result: no" >&5
6346 echo "${ECHO_T}no" >&6
6351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6352 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6354 # Check whether --enable-textfile or --disable-textfile was given.
6355 if test "${enable_textfile+set}" = set; then
6356 enableval="$enable_textfile"
6358 if test "$enableval" = yes; then
6359 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
6361 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
6366 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6367 if test "x$LINE" != x ; then
6368 eval "DEFAULT_$LINE"
6373 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
6377 eval "$ac_cv_use_textfile"
6378 if test "$no_cache" != 1; then
6379 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6382 if test "$wxUSE_TEXTFILE" = yes; then
6383 echo "$as_me:$LINENO: result: yes" >&5
6384 echo "${ECHO_T}yes" >&6
6386 echo "$as_me:$LINENO: result: no" >&5
6387 echo "${ECHO_T}no" >&6
6392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6393 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6395 # Check whether --enable-timer or --disable-timer was given.
6396 if test "${enable_timer+set}" = set; then
6397 enableval="$enable_timer"
6399 if test "$enableval" = yes; then
6400 ac_cv_use_timer='wxUSE_TIMER
=yes'
6402 ac_cv_use_timer='wxUSE_TIMER
=no
'
6407 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6408 if test "x$LINE" != x ; then
6409 eval "DEFAULT_$LINE"
6414 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
6418 eval "$ac_cv_use_timer"
6419 if test "$no_cache" != 1; then
6420 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6423 if test "$wxUSE_TIMER" = yes; then
6424 echo "$as_me:$LINENO: result: yes" >&5
6425 echo "${ECHO_T}yes" >&6
6427 echo "$as_me:$LINENO: result: no" >&5
6428 echo "${ECHO_T}no" >&6
6433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6436 # Check whether --enable-unicode or --disable-unicode was given.
6437 if test "${enable_unicode+set}" = set; then
6438 enableval="$enable_unicode"
6440 if test "$enableval" = yes; then
6441 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
6443 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
6448 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6449 if test "x$LINE" != x ; then
6450 eval "DEFAULT_$LINE"
6455 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
6459 eval "$ac_cv_use_unicode"
6460 if test "$no_cache" != 1; then
6461 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6464 if test "$wxUSE_UNICODE" = yes; then
6465 echo "$as_me:$LINENO: result: yes" >&5
6466 echo "${ECHO_T}yes" >&6
6468 echo "$as_me:$LINENO: result: no" >&5
6469 echo "${ECHO_T}no" >&6
6474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6475 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6477 # Check whether --enable-sound or --disable-sound was given.
6478 if test "${enable_sound+set}" = set; then
6479 enableval="$enable_sound"
6481 if test "$enableval" = yes; then
6482 ac_cv_use_sound='wxUSE_SOUND
=yes'
6484 ac_cv_use_sound='wxUSE_SOUND
=no
'
6489 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6490 if test "x$LINE" != x ; then
6491 eval "DEFAULT_$LINE"
6496 ac_cv_use_sound='wxUSE_SOUND
='$DEFAULT_wxUSE_SOUND
6500 eval "$ac_cv_use_sound"
6501 if test "$no_cache" != 1; then
6502 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6505 if test "$wxUSE_SOUND" = yes; then
6506 echo "$as_me:$LINENO: result: yes" >&5
6507 echo "${ECHO_T}yes" >&6
6509 echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6
6515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6518 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6519 if test "${enable_mediactrl+set}" = set; then
6520 enableval="$enable_mediactrl"
6522 if test "$enableval" = yes; then
6523 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
6525 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
6530 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6531 if test "x$LINE" != x ; then
6532 eval "DEFAULT_$LINE"
6537 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
='$DEFAULT_wxUSE_MEDIACTRL
6541 eval "$ac_cv_use_mediactrl"
6542 if test "$no_cache" != 1; then
6543 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6546 if test "$wxUSE_MEDIACTRL" = yes; then
6547 echo "$as_me:$LINENO: result: yes" >&5
6548 echo "${ECHO_T}yes" >&6
6550 echo "$as_me:$LINENO: result: no" >&5
6551 echo "${ECHO_T}no" >&6
6556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6559 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6560 if test "${enable_gstreamer8+set}" = set; then
6561 enableval="$enable_gstreamer8"
6563 if test "$enableval" = yes; then
6564 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
6566 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
6571 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6572 if test "x$LINE" != x ; then
6573 eval "DEFAULT_$LINE"
6578 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8
='$DEFAULT_wxUSE_GSTREAMER8
6582 eval "$ac_cv_use_gstreamer8"
6583 if test "$no_cache" != 1; then
6584 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6587 if test "$wxUSE_GSTREAMER8" = yes; then
6588 echo "$as_me:$LINENO: result: yes" >&5
6589 echo "${ECHO_T}yes" >&6
6591 echo "$as_me:$LINENO: result: no" >&5
6592 echo "${ECHO_T}no" >&6
6597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6600 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6601 if test "${enable_printfposparam+set}" = set; then
6602 enableval="$enable_printfposparam"
6604 if test "$enableval" = yes; then
6605 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
6607 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
6612 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6613 if test "x$LINE" != x ; then
6614 eval "DEFAULT_$LINE"
6619 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6623 eval "$ac_cv_use_printfposparam"
6624 if test "$no_cache" != 1; then
6625 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6628 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6629 echo "$as_me:$LINENO: result: yes" >&5
6630 echo "${ECHO_T}yes" >&6
6632 echo "$as_me:$LINENO: result: no" >&5
6633 echo "${ECHO_T}no" >&6
6638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6641 # Check whether --enable-zipstream or --disable-zipstream was given.
6642 if test "${enable_zipstream+set}" = set; then
6643 enableval="$enable_zipstream"
6645 if test "$enableval" = yes; then
6646 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
6648 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
6653 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6654 if test "x$LINE" != x ; then
6655 eval "DEFAULT_$LINE"
6660 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
6664 eval "$ac_cv_use_zipstream"
6665 if test "$no_cache" != 1; then
6666 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6669 if test "$wxUSE_ZIPSTREAM" = yes; then
6670 echo "$as_me:$LINENO: result: yes" >&5
6671 echo "${ECHO_T}yes" >&6
6673 echo "$as_me:$LINENO: result: no" >&5
6674 echo "${ECHO_T}no" >&6
6680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6681 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6683 # Check whether --enable-url or --disable-url was given.
6684 if test "${enable_url+set}" = set; then
6685 enableval="$enable_url"
6687 if test "$enableval" = yes; then
6688 ac_cv_use_url='wxUSE_URL
=yes'
6690 ac_cv_use_url='wxUSE_URL
=no
'
6695 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6696 if test "x$LINE" != x ; then
6697 eval "DEFAULT_$LINE"
6702 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
6706 eval "$ac_cv_use_url"
6707 if test "$no_cache" != 1; then
6708 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6711 if test "$wxUSE_URL" = yes; then
6712 echo "$as_me:$LINENO: result: yes" >&5
6713 echo "${ECHO_T}yes" >&6
6715 echo "$as_me:$LINENO: result: no" >&5
6716 echo "${ECHO_T}no" >&6
6721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6722 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6724 # Check whether --enable-variant or --disable-variant was given.
6725 if test "${enable_variant+set}" = set; then
6726 enableval="$enable_variant"
6728 if test "$enableval" = yes; then
6729 ac_cv_use_variant='wxUSE_VARIANT
=yes'
6731 ac_cv_use_variant='wxUSE_VARIANT
=no
'
6736 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6737 if test "x$LINE" != x ; then
6738 eval "DEFAULT_$LINE"
6743 ac_cv_use_variant='wxUSE_VARIANT
='$DEFAULT_wxUSE_VARIANT
6747 eval "$ac_cv_use_variant"
6748 if test "$no_cache" != 1; then
6749 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6752 if test "$wxUSE_VARIANT" = yes; then
6753 echo "$as_me:$LINENO: result: yes" >&5
6754 echo "${ECHO_T}yes" >&6
6756 echo "$as_me:$LINENO: result: no" >&5
6757 echo "${ECHO_T}no" >&6
6762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6763 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6765 # Check whether --enable-protocol or --disable-protocol was given.
6766 if test "${enable_protocol+set}" = set; then
6767 enableval="$enable_protocol"
6769 if test "$enableval" = yes; then
6770 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
6772 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
6777 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6778 if test "x$LINE" != x ; then
6779 eval "DEFAULT_$LINE"
6784 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
6788 eval "$ac_cv_use_protocol"
6789 if test "$no_cache" != 1; then
6790 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6793 if test "$wxUSE_PROTOCOL" = yes; then
6794 echo "$as_me:$LINENO: result: yes" >&5
6795 echo "${ECHO_T}yes" >&6
6797 echo "$as_me:$LINENO: result: no" >&5
6798 echo "${ECHO_T}no" >&6
6803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6804 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6806 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6807 if test "${enable_protocol_http+set}" = set; then
6808 enableval="$enable_protocol_http"
6810 if test "$enableval" = yes; then
6811 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
6813 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
6818 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6819 if test "x$LINE" != x ; then
6820 eval "DEFAULT_$LINE"
6825 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
6829 eval "$ac_cv_use_protocol_http"
6830 if test "$no_cache" != 1; then
6831 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6834 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6835 echo "$as_me:$LINENO: result: yes" >&5
6836 echo "${ECHO_T}yes" >&6
6838 echo "$as_me:$LINENO: result: no" >&5
6839 echo "${ECHO_T}no" >&6
6844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6845 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6847 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6848 if test "${enable_protocol_ftp+set}" = set; then
6849 enableval="$enable_protocol_ftp"
6851 if test "$enableval" = yes; then
6852 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
6854 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
6859 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6860 if test "x$LINE" != x ; then
6861 eval "DEFAULT_$LINE"
6866 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
6870 eval "$ac_cv_use_protocol_ftp"
6871 if test "$no_cache" != 1; then
6872 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6875 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6876 echo "$as_me:$LINENO: result: yes" >&5
6877 echo "${ECHO_T}yes" >&6
6879 echo "$as_me:$LINENO: result: no" >&5
6880 echo "${ECHO_T}no" >&6
6885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6888 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6889 if test "${enable_protocol_file+set}" = set; then
6890 enableval="$enable_protocol_file"
6892 if test "$enableval" = yes; then
6893 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
6895 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
6900 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x ; then
6902 eval "DEFAULT_$LINE"
6907 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
6911 eval "$ac_cv_use_protocol_file"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6916 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6917 echo "$as_me:$LINENO: result: yes" >&5
6918 echo "${ECHO_T}yes" >&6
6920 echo "$as_me:$LINENO: result: no" >&5
6921 echo "${ECHO_T}no" >&6
6929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6930 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6932 # Check whether --enable-threads or --disable-threads was given.
6933 if test "${enable_threads+set}" = set; then
6934 enableval="$enable_threads"
6936 if test "$enableval" = yes; then
6937 ac_cv_use_threads='wxUSE_THREADS
=yes'
6939 ac_cv_use_threads='wxUSE_THREADS
=no
'
6944 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6945 if test "x$LINE" != x ; then
6946 eval "DEFAULT_$LINE"
6951 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
6955 eval "$ac_cv_use_threads"
6956 if test "$no_cache" != 1; then
6957 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6960 if test "$wxUSE_THREADS" = yes; then
6961 echo "$as_me:$LINENO: result: yes" >&5
6962 echo "${ECHO_T}yes" >&6
6964 echo "$as_me:$LINENO: result: no" >&5
6965 echo "${ECHO_T}no" >&6
6969 if test "$wxUSE_GUI" = "yes"; then
6974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6977 # Check whether --enable-docview or --disable-docview was given.
6978 if test "${enable_docview+set}" = set; then
6979 enableval="$enable_docview"
6981 if test "$enableval" = yes; then
6982 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
6984 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
6989 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x ; then
6991 eval "DEFAULT_$LINE"
6996 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7000 eval "$ac_cv_use_docview"
7001 if test "$no_cache" != 1; then
7002 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7005 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7006 echo "$as_me:$LINENO: result: yes" >&5
7007 echo "${ECHO_T}yes" >&6
7009 echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6
7015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7018 # Check whether --enable-help or --disable-help was given.
7019 if test "${enable_help+set}" = set; then
7020 enableval="$enable_help"
7022 if test "$enableval" = yes; then
7023 ac_cv_use_help='wxUSE_HELP
=yes'
7025 ac_cv_use_help='wxUSE_HELP
=no
'
7030 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x ; then
7032 eval "DEFAULT_$LINE"
7037 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
7041 eval "$ac_cv_use_help"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7046 if test "$wxUSE_HELP" = yes; then
7047 echo "$as_me:$LINENO: result: yes" >&5
7048 echo "${ECHO_T}yes" >&6
7050 echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6
7056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7057 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7059 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7060 if test "${enable_mshtmlhelp+set}" = set; then
7061 enableval="$enable_mshtmlhelp"
7063 if test "$enableval" = yes; then
7064 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
7066 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
7071 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7072 if test "x$LINE" != x ; then
7073 eval "DEFAULT_$LINE"
7078 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
7082 eval "$ac_cv_use_mshtmlhelp"
7083 if test "$no_cache" != 1; then
7084 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7087 if test "$wxUSE_MS_HTML_HELP" = yes; then
7088 echo "$as_me:$LINENO: result: yes" >&5
7089 echo "${ECHO_T}yes" >&6
7091 echo "$as_me:$LINENO: result: no" >&5
7092 echo "${ECHO_T}no" >&6
7097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7098 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7100 # Check whether --enable-html or --disable-html was given.
7101 if test "${enable_html+set}" = set; then
7102 enableval="$enable_html"
7104 if test "$enableval" = yes; then
7105 ac_cv_use_html='wxUSE_HTML
=yes'
7107 ac_cv_use_html='wxUSE_HTML
=no
'
7112 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x ; then
7114 eval "DEFAULT_$LINE"
7119 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
7123 eval "$ac_cv_use_html"
7124 if test "$no_cache" != 1; then
7125 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7128 if test "$wxUSE_HTML" = yes; then
7129 echo "$as_me:$LINENO: result: yes" >&5
7130 echo "${ECHO_T}yes" >&6
7132 echo "$as_me:$LINENO: result: no" >&5
7133 echo "${ECHO_T}no" >&6
7138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7141 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7142 if test "${enable_htmlhelp+set}" = set; then
7143 enableval="$enable_htmlhelp"
7145 if test "$enableval" = yes; then
7146 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
7148 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
7153 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7154 if test "x$LINE" != x ; then
7155 eval "DEFAULT_$LINE"
7160 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
7164 eval "$ac_cv_use_htmlhelp"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7169 if test "$wxUSE_WXHTML_HELP" = yes; then
7170 echo "$as_me:$LINENO: result: yes" >&5
7171 echo "${ECHO_T}yes" >&6
7173 echo "$as_me:$LINENO: result: no" >&5
7174 echo "${ECHO_T}no" >&6
7179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7182 # Check whether --enable-xrc or --disable-xrc was given.
7183 if test "${enable_xrc+set}" = set; then
7184 enableval="$enable_xrc"
7186 if test "$enableval" = yes; then
7187 ac_cv_use_xrc='wxUSE_XRC
=yes'
7189 ac_cv_use_xrc='wxUSE_XRC
=no
'
7194 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7195 if test "x$LINE" != x ; then
7196 eval "DEFAULT_$LINE"
7201 ac_cv_use_xrc='wxUSE_XRC
='$DEFAULT_wxUSE_XRC
7205 eval "$ac_cv_use_xrc"
7206 if test "$no_cache" != 1; then
7207 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7210 if test "$wxUSE_XRC" = yes; then
7211 echo "$as_me:$LINENO: result: yes" >&5
7212 echo "${ECHO_T}yes" >&6
7214 echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6
7220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7223 # Check whether --enable-aui or --disable-aui was given.
7224 if test "${enable_aui+set}" = set; then
7225 enableval="$enable_aui"
7227 if test "$enableval" = yes; then
7228 ac_cv_use_aui='wxUSE_AUI
=yes'
7230 ac_cv_use_aui='wxUSE_AUI
=no
'
7235 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x ; then
7237 eval "DEFAULT_$LINE"
7242 ac_cv_use_aui='wxUSE_AUI
='$DEFAULT_wxUSE_AUI
7246 eval "$ac_cv_use_aui"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7251 if test "$wxUSE_AUI" = yes; then
7252 echo "$as_me:$LINENO: result: yes" >&5
7253 echo "${ECHO_T}yes" >&6
7255 echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6
7261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7264 # Check whether --enable-constraints or --disable-constraints was given.
7265 if test "${enable_constraints+set}" = set; then
7266 enableval="$enable_constraints"
7268 if test "$enableval" = yes; then
7269 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
7271 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
7276 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7277 if test "x$LINE" != x ; then
7278 eval "DEFAULT_$LINE"
7283 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
7287 eval "$ac_cv_use_constraints"
7288 if test "$no_cache" != 1; then
7289 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7292 if test "$wxUSE_CONSTRAINTS" = yes; then
7293 echo "$as_me:$LINENO: result: yes" >&5
7294 echo "${ECHO_T}yes" >&6
7296 echo "$as_me:$LINENO: result: no" >&5
7297 echo "${ECHO_T}no" >&6
7302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7305 # Check whether --enable-printarch or --disable-printarch was given.
7306 if test "${enable_printarch+set}" = set; then
7307 enableval="$enable_printarch"
7309 if test "$enableval" = yes; then
7310 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
7312 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
7317 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7318 if test "x$LINE" != x ; then
7319 eval "DEFAULT_$LINE"
7324 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7328 eval "$ac_cv_use_printarch"
7329 if test "$no_cache" != 1; then
7330 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7333 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7334 echo "$as_me:$LINENO: result: yes" >&5
7335 echo "${ECHO_T}yes" >&6
7337 echo "$as_me:$LINENO: result: no" >&5
7338 echo "${ECHO_T}no" >&6
7343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7346 # Check whether --enable-mdi or --disable-mdi was given.
7347 if test "${enable_mdi+set}" = set; then
7348 enableval="$enable_mdi"
7350 if test "$enableval" = yes; then
7351 ac_cv_use_mdi='wxUSE_MDI
=yes'
7353 ac_cv_use_mdi='wxUSE_MDI
=no
'
7358 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7359 if test "x$LINE" != x ; then
7360 eval "DEFAULT_$LINE"
7365 ac_cv_use_mdi='wxUSE_MDI
='$DEFAULT_wxUSE_MDI
7369 eval "$ac_cv_use_mdi"
7370 if test "$no_cache" != 1; then
7371 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7374 if test "$wxUSE_MDI" = yes; then
7375 echo "$as_me:$LINENO: result: yes" >&5
7376 echo "${ECHO_T}yes" >&6
7378 echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6
7384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7387 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7388 if test "${enable_mdidoc+set}" = set; then
7389 enableval="$enable_mdidoc"
7391 if test "$enableval" = yes; then
7392 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
7394 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
7399 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7400 if test "x$LINE" != x ; then
7401 eval "DEFAULT_$LINE"
7406 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7410 eval "$ac_cv_use_mdidoc"
7411 if test "$no_cache" != 1; then
7412 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7415 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7416 echo "$as_me:$LINENO: result: yes" >&5
7417 echo "${ECHO_T}yes" >&6
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7426 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7428 # Check whether --enable-loggui or --disable-loggui was given.
7429 if test "${enable_loggui+set}" = set; then
7430 enableval="$enable_loggui"
7432 if test "$enableval" = yes; then
7433 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
7435 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
7440 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x ; then
7442 eval "DEFAULT_$LINE"
7447 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
7451 eval "$ac_cv_use_loggui"
7452 if test "$no_cache" != 1; then
7453 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7456 if test "$wxUSE_LOGGUI" = yes; then
7457 echo "$as_me:$LINENO: result: yes" >&5
7458 echo "${ECHO_T}yes" >&6
7460 echo "$as_me:$LINENO: result: no" >&5
7461 echo "${ECHO_T}no" >&6
7466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7469 # Check whether --enable-logwin or --disable-logwin was given.
7470 if test "${enable_logwin+set}" = set; then
7471 enableval="$enable_logwin"
7473 if test "$enableval" = yes; then
7474 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
7476 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
7481 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7488 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
7492 eval "$ac_cv_use_logwin"
7493 if test "$no_cache" != 1; then
7494 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7497 if test "$wxUSE_LOGWINDOW" = yes; then
7498 echo "$as_me:$LINENO: result: yes" >&5
7499 echo "${ECHO_T}yes" >&6
7501 echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6
7507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7510 # Check whether --enable-logdialog or --disable-logdialog was given.
7511 if test "${enable_logdialog+set}" = set; then
7512 enableval="$enable_logdialog"
7514 if test "$enableval" = yes; then
7515 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
7517 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
7522 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x ; then
7524 eval "DEFAULT_$LINE"
7529 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
7533 eval "$ac_cv_use_logdialog"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7538 if test "$wxUSE_LOGDIALOG" = yes; then
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7542 echo "$as_me:$LINENO: result: no" >&5
7543 echo "${ECHO_T}no" >&6
7548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7549 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7551 # Check whether --enable-webkit or --disable-webkit was given.
7552 if test "${enable_webkit+set}" = set; then
7553 enableval="$enable_webkit"
7555 if test "$enableval" = yes; then
7556 ac_cv_use_webkit='wxUSE_WEBKIT
=yes'
7558 ac_cv_use_webkit='wxUSE_WEBKIT
=no
'
7563 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x ; then
7565 eval "DEFAULT_$LINE"
7570 ac_cv_use_webkit='wxUSE_WEBKIT
='$DEFAULT_wxUSE_WEBKIT
7574 eval "$ac_cv_use_webkit"
7575 if test "$no_cache" != 1; then
7576 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7579 if test "$wxUSE_WEBKIT" = yes; then
7580 echo "$as_me:$LINENO: result: yes" >&5
7581 echo "${ECHO_T}yes" >&6
7583 echo "$as_me:$LINENO: result: no" >&5
7584 echo "${ECHO_T}no" >&6
7589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7592 # Check whether --enable-richtext or --disable-richtext was given.
7593 if test "${enable_richtext+set}" = set; then
7594 enableval="$enable_richtext"
7596 if test "$enableval" = yes; then
7597 ac_cv_use_richtext='wxUSE_RICHTEXT
=yes'
7599 ac_cv_use_richtext='wxUSE_RICHTEXT
=no
'
7604 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x ; then
7606 eval "DEFAULT_$LINE"
7611 ac_cv_use_richtext='wxUSE_RICHTEXT
='$DEFAULT_wxUSE_RICHTEXT
7615 eval "$ac_cv_use_richtext"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7620 if test "$wxUSE_RICHTEXT" = yes; then
7621 echo "$as_me:$LINENO: result: yes" >&5
7622 echo "${ECHO_T}yes" >&6
7624 echo "$as_me:$LINENO: result: no" >&5
7625 echo "${ECHO_T}no" >&6
7630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7631 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7633 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7634 if test "${enable_graphics_ctx+set}" = set; then
7635 enableval="$enable_graphics_ctx"
7637 if test "$enableval" = yes; then
7638 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
7640 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
7645 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7646 if test "x$LINE" != x ; then
7647 eval "DEFAULT_$LINE"
7652 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7656 eval "$ac_cv_use_graphics_ctx"
7657 if test "$no_cache" != 1; then
7658 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7661 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7662 echo "$as_me:$LINENO: result: yes" >&5
7663 echo "${ECHO_T}yes" >&6
7665 echo "$as_me:$LINENO: result: no" >&5
7666 echo "${ECHO_T}no" >&6
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7675 # Check whether --enable-postscript or --disable-postscript was given.
7676 if test "${enable_postscript+set}" = set; then
7677 enableval="$enable_postscript"
7679 if test "$enableval" = yes; then
7680 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
7682 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
7687 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x ; then
7689 eval "DEFAULT_$LINE"
7694 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
7698 eval "$ac_cv_use_postscript"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7703 if test "$wxUSE_POSTSCRIPT" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7717 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7719 # Check whether --enable-prologio or --disable-prologio was given.
7720 if test "${enable_prologio+set}" = set; then
7721 enableval="$enable_prologio"
7723 if test "$enableval" = yes; then
7724 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
7726 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
7731 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7732 if test "x$LINE" != x ; then
7733 eval "DEFAULT_$LINE"
7738 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
7742 eval "$ac_cv_use_prologio"
7743 if test "$no_cache" != 1; then
7744 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7747 if test "$wxUSE_PROLOGIO" = yes; then
7748 echo "$as_me:$LINENO: result: yes" >&5
7749 echo "${ECHO_T}yes" >&6
7751 echo "$as_me:$LINENO: result: no" >&5
7752 echo "${ECHO_T}no" >&6
7757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7758 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7760 # Check whether --enable-resources or --disable-resources was given.
7761 if test "${enable_resources+set}" = set; then
7762 enableval="$enable_resources"
7764 if test "$enableval" = yes; then
7765 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
7767 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
7772 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7773 if test "x$LINE" != x ; then
7774 eval "DEFAULT_$LINE"
7779 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
7783 eval "$ac_cv_use_resources"
7784 if test "$no_cache" != 1; then
7785 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7788 if test "$wxUSE_RESOURCES" = yes; then
7789 echo "$as_me:$LINENO: result: yes" >&5
7790 echo "${ECHO_T}yes" >&6
7792 echo "$as_me:$LINENO: result: no" >&5
7793 echo "${ECHO_T}no" >&6
7800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7801 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7803 # Check whether --enable-clipboard or --disable-clipboard was given.
7804 if test "${enable_clipboard+set}" = set; then
7805 enableval="$enable_clipboard"
7807 if test "$enableval" = yes; then
7808 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
7810 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
7815 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7816 if test "x$LINE" != x ; then
7817 eval "DEFAULT_$LINE"
7822 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
7826 eval "$ac_cv_use_clipboard"
7827 if test "$no_cache" != 1; then
7828 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7831 if test "$wxUSE_CLIPBOARD" = yes; then
7832 echo "$as_me:$LINENO: result: yes" >&5
7833 echo "${ECHO_T}yes" >&6
7835 echo "$as_me:$LINENO: result: no" >&5
7836 echo "${ECHO_T}no" >&6
7841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7844 # Check whether --enable-dnd or --disable-dnd was given.
7845 if test "${enable_dnd+set}" = set; then
7846 enableval="$enable_dnd"
7848 if test "$enableval" = yes; then
7849 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
7851 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
7856 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7857 if test "x$LINE" != x ; then
7858 eval "DEFAULT_$LINE"
7863 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
7867 eval "$ac_cv_use_dnd"
7868 if test "$no_cache" != 1; then
7869 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7872 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7873 echo "$as_me:$LINENO: result: yes" >&5
7874 echo "${ECHO_T}yes" >&6
7876 echo "$as_me:$LINENO: result: no" >&5
7877 echo "${ECHO_T}no" >&6
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7885 # Check whether --enable-metafile or --disable-metafile was given.
7886 if test "${enable_metafile+set}" = set; then
7887 enableval="$enable_metafile"
7889 if test "$enableval" = yes; then
7890 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
7892 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
7897 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7904 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
7908 eval "$ac_cv_use_metafile"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7913 if test "$wxUSE_METAFILE" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7927 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7929 # Check whether --enable-controls or --disable-controls was given.
7930 if test "${enable_controls+set}" = set; then
7931 enableval="$enable_controls"
7933 if test "$enableval" = yes; then
7934 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
7936 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
7941 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7942 if test "x$LINE" != x ; then
7943 eval "DEFAULT_$LINE"
7948 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
7952 eval "$ac_cv_use_controls"
7953 if test "$no_cache" != 1; then
7954 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7957 if test "$wxUSE_CONTROLS" = yes; then
7958 echo "$as_me:$LINENO: result: yes" >&5
7959 echo "${ECHO_T}yes" >&6
7961 echo "$as_me:$LINENO: result: no" >&5
7962 echo "${ECHO_T}no" >&6
7966 if test "$wxUSE_CONTROLS" = "yes"; then
7967 DEFAULT_wxUSE_ACCEL=yes
7968 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7969 DEFAULT_wxUSE_BMPBUTTON=yes
7970 DEFAULT_wxUSE_BUTTON=yes
7971 DEFAULT_wxUSE_CALCTRL=yes
7972 DEFAULT_wxUSE_CARET=yes
7973 DEFAULT_wxUSE_COMBOBOX=yes
7974 DEFAULT_wxUSE_CHECKBOX=yes
7975 DEFAULT_wxUSE_CHECKLISTBOX=yes
7976 DEFAULT_wxUSE_CHOICE=yes
7977 DEFAULT_wxUSE_CHOICEBOOK=yes
7978 DEFAULT_wxUSE_COLLPANE=yes
7979 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7980 DEFAULT_wxUSE_COMBOBOX=yes
7981 DEFAULT_wxUSE_DATEPICKCTRL=yes
7982 DEFAULT_wxUSE_DISPLAY=yes
7983 DEFAULT_wxUSE_DETECT_SM=yes
7984 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7985 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7986 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7987 DEFAULT_wxUSE_GAUGE=yes
7988 DEFAULT_wxUSE_GRID=yes
7989 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7990 DEFAULT_wxUSE_DATAVIEWCTRL=no
7991 DEFAULT_wxUSE_IMAGLIST=yes
7992 DEFAULT_wxUSE_LISTBOOK=yes
7993 DEFAULT_wxUSE_LISTBOX=yes
7994 DEFAULT_wxUSE_LISTCTRL=yes
7995 DEFAULT_wxUSE_NOTEBOOK=yes
7996 DEFAULT_wxUSE_RADIOBOX=yes
7997 DEFAULT_wxUSE_RADIOBTN=yes
7998 DEFAULT_wxUSE_SASH=yes
7999 DEFAULT_wxUSE_SCROLLBAR=yes
8000 DEFAULT_wxUSE_SLIDER=yes
8001 DEFAULT_wxUSE_SPINBTN=yes
8002 DEFAULT_wxUSE_SPINCTRL=yes
8003 DEFAULT_wxUSE_SPLITTER=yes
8004 DEFAULT_wxUSE_STATBMP=yes
8005 DEFAULT_wxUSE_STATBOX=yes
8006 DEFAULT_wxUSE_STATLINE=yes
8007 DEFAULT_wxUSE_STATUSBAR=yes
8008 DEFAULT_wxUSE_TAB_DIALOG=yes
8009 DEFAULT_wxUSE_TOGGLEBTN=yes
8010 DEFAULT_wxUSE_TOOLBAR=yes
8011 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8012 DEFAULT_wxUSE_TOOLTIPS=yes
8013 DEFAULT_wxUSE_TREEBOOK=yes
8014 DEFAULT_wxUSE_TOOLBOOK=yes
8015 DEFAULT_wxUSE_TREECTRL=yes
8016 DEFAULT_wxUSE_POPUPWIN=yes
8017 DEFAULT_wxUSE_TIPWINDOW=yes
8018 elif test "$wxUSE_CONTROLS" = "no"; then
8019 DEFAULT_wxUSE_ACCEL=no
8020 DEFAULT_wxUSE_ANIMATIONCTRL=no
8021 DEFAULT_wxUSE_BMPBUTTON=no
8022 DEFAULT_wxUSE_BUTTON=no
8023 DEFAULT_wxUSE_CALCTRL=no
8024 DEFAULT_wxUSE_CARET=no
8025 DEFAULT_wxUSE_COLLPANE=no
8026 DEFAULT_wxUSE_COMBOBOX=no
8027 DEFAULT_wxUSE_CHECKBOX=no
8028 DEFAULT_wxUSE_CHECKLISTBOX=no
8029 DEFAULT_wxUSE_CHOICE=no
8030 DEFAULT_wxUSE_CHOICEBOOK=no
8031 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8032 DEFAULT_wxUSE_COMBOBOX=no
8033 DEFAULT_wxUSE_DATEPICKCTRL=no
8034 DEFAULT_wxUSE_DISPLAY=no
8035 DEFAULT_wxUSE_DETECT_SM=no
8036 DEFAULT_wxUSE_DIRPICKERCTRL=no
8037 DEFAULT_wxUSE_FILEPICKERCTRL=no
8038 DEFAULT_wxUSE_FONTPICKERCTRL=no
8039 DEFAULT_wxUSE_GAUGE=no
8040 DEFAULT_wxUSE_GRID=no
8041 DEFAULT_wxUSE_HYPERLINKCTRL=no
8042 DEFAULT_wxUSE_DATAVIEWCTRL=no
8043 DEFAULT_wxUSE_IMAGLIST=no
8044 DEFAULT_wxUSE_LISTBOOK=no
8045 DEFAULT_wxUSE_LISTBOX=no
8046 DEFAULT_wxUSE_LISTCTRL=no
8047 DEFAULT_wxUSE_NOTEBOOK=no
8048 DEFAULT_wxUSE_RADIOBOX=no
8049 DEFAULT_wxUSE_RADIOBTN=no
8050 DEFAULT_wxUSE_SASH=no
8051 DEFAULT_wxUSE_SCROLLBAR=no
8052 DEFAULT_wxUSE_SLIDER=no
8053 DEFAULT_wxUSE_SPINBTN=no
8054 DEFAULT_wxUSE_SPINCTRL=no
8055 DEFAULT_wxUSE_SPLITTER=no
8056 DEFAULT_wxUSE_STATBMP=no
8057 DEFAULT_wxUSE_STATBOX=no
8058 DEFAULT_wxUSE_STATLINE=no
8059 DEFAULT_wxUSE_STATUSBAR=no
8060 DEFAULT_wxUSE_TAB_DIALOG=no
8061 DEFAULT_wxUSE_TOGGLEBTN=no
8062 DEFAULT_wxUSE_TOOLBAR=no
8063 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8064 DEFAULT_wxUSE_TOOLTIPS=no
8065 DEFAULT_wxUSE_TREEBOOK=no
8066 DEFAULT_wxUSE_TOOLBOOK=no
8067 DEFAULT_wxUSE_TREECTRL=no
8068 DEFAULT_wxUSE_POPUPWIN=no
8069 DEFAULT_wxUSE_TIPWINDOW=no
8074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8075 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8077 # Check whether --enable-accel or --disable-accel was given.
8078 if test "${enable_accel+set}" = set; then
8079 enableval="$enable_accel"
8081 if test "$enableval" = yes; then
8082 ac_cv_use_accel='wxUSE_ACCEL
=yes'
8084 ac_cv_use_accel='wxUSE_ACCEL
=no
'
8089 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8090 if test "x$LINE" != x ; then
8091 eval "DEFAULT_$LINE"
8096 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
8100 eval "$ac_cv_use_accel"
8101 if test "$no_cache" != 1; then
8102 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8105 if test "$wxUSE_ACCEL" = yes; then
8106 echo "$as_me:$LINENO: result: yes" >&5
8107 echo "${ECHO_T}yes" >&6
8109 echo "$as_me:$LINENO: result: no" >&5
8110 echo "${ECHO_T}no" >&6
8115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8116 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8118 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8119 if test "${enable_animatectrl+set}" = set; then
8120 enableval="$enable_animatectrl"
8122 if test "$enableval" = yes; then
8123 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
8125 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
8130 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8131 if test "x$LINE" != x ; then
8132 eval "DEFAULT_$LINE"
8137 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
='$DEFAULT_wxUSE_ANIMATIONCTRL
8141 eval "$ac_cv_use_animatectrl"
8142 if test "$no_cache" != 1; then
8143 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8146 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8147 echo "$as_me:$LINENO: result: yes" >&5
8148 echo "${ECHO_T}yes" >&6
8150 echo "$as_me:$LINENO: result: no" >&5
8151 echo "${ECHO_T}no" >&6
8156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8157 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8159 # Check whether --enable-button or --disable-button was given.
8160 if test "${enable_button+set}" = set; then
8161 enableval="$enable_button"
8163 if test "$enableval" = yes; then
8164 ac_cv_use_button='wxUSE_BUTTON
=yes'
8166 ac_cv_use_button='wxUSE_BUTTON
=no
'
8171 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8172 if test "x$LINE" != x ; then
8173 eval "DEFAULT_$LINE"
8178 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
8182 eval "$ac_cv_use_button"
8183 if test "$no_cache" != 1; then
8184 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8187 if test "$wxUSE_BUTTON" = yes; then
8188 echo "$as_me:$LINENO: result: yes" >&5
8189 echo "${ECHO_T}yes" >&6
8191 echo "$as_me:$LINENO: result: no" >&5
8192 echo "${ECHO_T}no" >&6
8197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8198 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8200 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8201 if test "${enable_bmpbutton+set}" = set; then
8202 enableval="$enable_bmpbutton"
8204 if test "$enableval" = yes; then
8205 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
8207 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
8212 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8213 if test "x$LINE" != x ; then
8214 eval "DEFAULT_$LINE"
8219 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
8223 eval "$ac_cv_use_bmpbutton"
8224 if test "$no_cache" != 1; then
8225 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8228 if test "$wxUSE_BMPBUTTON" = yes; then
8229 echo "$as_me:$LINENO: result: yes" >&5
8230 echo "${ECHO_T}yes" >&6
8232 echo "$as_me:$LINENO: result: no" >&5
8233 echo "${ECHO_T}no" >&6
8238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8241 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8242 if test "${enable_bmpcombobox+set}" = set; then
8243 enableval="$enable_bmpcombobox"
8245 if test "$enableval" = yes; then
8246 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
8248 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
8253 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8254 if test "x$LINE" != x ; then
8255 eval "DEFAULT_$LINE"
8260 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8264 eval "$ac_cv_use_bmpcombobox"
8265 if test "$no_cache" != 1; then
8266 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8269 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8270 echo "$as_me:$LINENO: result: yes" >&5
8271 echo "${ECHO_T}yes" >&6
8273 echo "$as_me:$LINENO: result: no" >&5
8274 echo "${ECHO_T}no" >&6
8279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8280 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8282 # Check whether --enable-calendar or --disable-calendar was given.
8283 if test "${enable_calendar+set}" = set; then
8284 enableval="$enable_calendar"
8286 if test "$enableval" = yes; then
8287 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
8289 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
8294 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8295 if test "x$LINE" != x ; then
8296 eval "DEFAULT_$LINE"
8301 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
8305 eval "$ac_cv_use_calendar"
8306 if test "$no_cache" != 1; then
8307 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8310 if test "$wxUSE_CALCTRL" = yes; then
8311 echo "$as_me:$LINENO: result: yes" >&5
8312 echo "${ECHO_T}yes" >&6
8314 echo "$as_me:$LINENO: result: no" >&5
8315 echo "${ECHO_T}no" >&6
8320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8321 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8323 # Check whether --enable-caret or --disable-caret was given.
8324 if test "${enable_caret+set}" = set; then
8325 enableval="$enable_caret"
8327 if test "$enableval" = yes; then
8328 ac_cv_use_caret='wxUSE_CARET
=yes'
8330 ac_cv_use_caret='wxUSE_CARET
=no
'
8335 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8336 if test "x$LINE" != x ; then
8337 eval "DEFAULT_$LINE"
8342 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
8346 eval "$ac_cv_use_caret"
8347 if test "$no_cache" != 1; then
8348 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8351 if test "$wxUSE_CARET" = yes; then
8352 echo "$as_me:$LINENO: result: yes" >&5
8353 echo "${ECHO_T}yes" >&6
8355 echo "$as_me:$LINENO: result: no" >&5
8356 echo "${ECHO_T}no" >&6
8361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8362 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8364 # Check whether --enable-checkbox or --disable-checkbox was given.
8365 if test "${enable_checkbox+set}" = set; then
8366 enableval="$enable_checkbox"
8368 if test "$enableval" = yes; then
8369 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
8371 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
8376 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8377 if test "x$LINE" != x ; then
8378 eval "DEFAULT_$LINE"
8383 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
8387 eval "$ac_cv_use_checkbox"
8388 if test "$no_cache" != 1; then
8389 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8392 if test "$wxUSE_CHECKBOX" = yes; then
8393 echo "$as_me:$LINENO: result: yes" >&5
8394 echo "${ECHO_T}yes" >&6
8396 echo "$as_me:$LINENO: result: no" >&5
8397 echo "${ECHO_T}no" >&6
8402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8403 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8405 # Check whether --enable-checklst or --disable-checklst was given.
8406 if test "${enable_checklst+set}" = set; then
8407 enableval="$enable_checklst"
8409 if test "$enableval" = yes; then
8410 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
8412 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
8417 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8418 if test "x$LINE" != x ; then
8419 eval "DEFAULT_$LINE"
8424 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
8428 eval "$ac_cv_use_checklst"
8429 if test "$no_cache" != 1; then
8430 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8433 if test "$wxUSE_CHECKLST" = yes; then
8434 echo "$as_me:$LINENO: result: yes" >&5
8435 echo "${ECHO_T}yes" >&6
8437 echo "$as_me:$LINENO: result: no" >&5
8438 echo "${ECHO_T}no" >&6
8443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8444 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8446 # Check whether --enable-choice or --disable-choice was given.
8447 if test "${enable_choice+set}" = set; then
8448 enableval="$enable_choice"
8450 if test "$enableval" = yes; then
8451 ac_cv_use_choice='wxUSE_CHOICE
=yes'
8453 ac_cv_use_choice='wxUSE_CHOICE
=no
'
8458 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8459 if test "x$LINE" != x ; then
8460 eval "DEFAULT_$LINE"
8465 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
8469 eval "$ac_cv_use_choice"
8470 if test "$no_cache" != 1; then
8471 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8474 if test "$wxUSE_CHOICE" = yes; then
8475 echo "$as_me:$LINENO: result: yes" >&5
8476 echo "${ECHO_T}yes" >&6
8478 echo "$as_me:$LINENO: result: no" >&5
8479 echo "${ECHO_T}no" >&6
8484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8485 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8487 # Check whether --enable-choicebook or --disable-choicebook was given.
8488 if test "${enable_choicebook+set}" = set; then
8489 enableval="$enable_choicebook"
8491 if test "$enableval" = yes; then
8492 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
8494 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
8499 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8500 if test "x$LINE" != x ; then
8501 eval "DEFAULT_$LINE"
8506 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
='$DEFAULT_wxUSE_CHOICEBOOK
8510 eval "$ac_cv_use_choicebook"
8511 if test "$no_cache" != 1; then
8512 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8515 if test "$wxUSE_CHOICEBOOK" = yes; then
8516 echo "$as_me:$LINENO: result: yes" >&5
8517 echo "${ECHO_T}yes" >&6
8519 echo "$as_me:$LINENO: result: no" >&5
8520 echo "${ECHO_T}no" >&6
8525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8528 # Check whether --enable-collpane or --disable-collpane was given.
8529 if test "${enable_collpane+set}" = set; then
8530 enableval="$enable_collpane"
8532 if test "$enableval" = yes; then
8533 ac_cv_use_collpane='wxUSE_COLLPANE
=yes'
8535 ac_cv_use_collpane='wxUSE_COLLPANE
=no
'
8540 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8541 if test "x$LINE" != x ; then
8542 eval "DEFAULT_$LINE"
8547 ac_cv_use_collpane='wxUSE_COLLPANE
='$DEFAULT_wxUSE_COLLPANE
8551 eval "$ac_cv_use_collpane"
8552 if test "$no_cache" != 1; then
8553 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8556 if test "$wxUSE_COLLPANE" = yes; then
8557 echo "$as_me:$LINENO: result: yes" >&5
8558 echo "${ECHO_T}yes" >&6
8560 echo "$as_me:$LINENO: result: no" >&5
8561 echo "${ECHO_T}no" >&6
8566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8567 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8569 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8570 if test "${enable_colourpicker+set}" = set; then
8571 enableval="$enable_colourpicker"
8573 if test "$enableval" = yes; then
8574 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
8576 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
8581 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8582 if test "x$LINE" != x ; then
8583 eval "DEFAULT_$LINE"
8588 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
='$DEFAULT_wxUSE_COLOURPICKERCTRL
8592 eval "$ac_cv_use_colourpicker"
8593 if test "$no_cache" != 1; then
8594 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8597 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8598 echo "$as_me:$LINENO: result: yes" >&5
8599 echo "${ECHO_T}yes" >&6
8601 echo "$as_me:$LINENO: result: no" >&5
8602 echo "${ECHO_T}no" >&6
8607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8608 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8610 # Check whether --enable-combobox or --disable-combobox was given.
8611 if test "${enable_combobox+set}" = set; then
8612 enableval="$enable_combobox"
8614 if test "$enableval" = yes; then
8615 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
8617 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
8622 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8623 if test "x$LINE" != x ; then
8624 eval "DEFAULT_$LINE"
8629 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
8633 eval "$ac_cv_use_combobox"
8634 if test "$no_cache" != 1; then
8635 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8638 if test "$wxUSE_COMBOBOX" = yes; then
8639 echo "$as_me:$LINENO: result: yes" >&5
8640 echo "${ECHO_T}yes" >&6
8642 echo "$as_me:$LINENO: result: no" >&5
8643 echo "${ECHO_T}no" >&6
8648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8651 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8652 if test "${enable_comboctrl+set}" = set; then
8653 enableval="$enable_comboctrl"
8655 if test "$enableval" = yes; then
8656 ac_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
8658 ac_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
8663 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8664 if test "x$LINE" != x ; then
8665 eval "DEFAULT_$LINE"
8670 ac_cv_use_comboctrl='wxUSE_COMBOCTRL
='$DEFAULT_wxUSE_COMBOCTRL
8674 eval "$ac_cv_use_comboctrl"
8675 if test "$no_cache" != 1; then
8676 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8679 if test "$wxUSE_COMBOCTRL" = yes; then
8680 echo "$as_me:$LINENO: result: yes" >&5
8681 echo "${ECHO_T}yes" >&6
8683 echo "$as_me:$LINENO: result: no" >&5
8684 echo "${ECHO_T}no" >&6
8689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8692 # Check whether --enable-datepick or --disable-datepick was given.
8693 if test "${enable_datepick+set}" = set; then
8694 enableval="$enable_datepick"
8696 if test "$enableval" = yes; then
8697 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
8699 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
8704 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8705 if test "x$LINE" != x ; then
8706 eval "DEFAULT_$LINE"
8711 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
='$DEFAULT_wxUSE_DATEPICKCTRL
8715 eval "$ac_cv_use_datepick"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8720 if test "$wxUSE_DATEPICKCTRL" = yes; then
8721 echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6
8724 echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6
8730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8733 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8734 if test "${enable_dirpicker+set}" = set; then
8735 enableval="$enable_dirpicker"
8737 if test "$enableval" = yes; then
8738 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
8740 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
8745 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8746 if test "x$LINE" != x ; then
8747 eval "DEFAULT_$LINE"
8752 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
='$DEFAULT_wxUSE_DIRPICKERCTRL
8756 eval "$ac_cv_use_dirpicker"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8761 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8762 echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6
8765 echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6
8771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8772 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8774 # Check whether --enable-display or --disable-display was given.
8775 if test "${enable_display+set}" = set; then
8776 enableval="$enable_display"
8778 if test "$enableval" = yes; then
8779 ac_cv_use_display='wxUSE_DISPLAY
=yes'
8781 ac_cv_use_display='wxUSE_DISPLAY
=no
'
8786 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8787 if test "x$LINE" != x ; then
8788 eval "DEFAULT_$LINE"
8793 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
8797 eval "$ac_cv_use_display"
8798 if test "$no_cache" != 1; then
8799 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8802 if test "$wxUSE_DISPLAY" = yes; then
8803 echo "$as_me:$LINENO: result: yes" >&5
8804 echo "${ECHO_T}yes" >&6
8806 echo "$as_me:$LINENO: result: no" >&5
8807 echo "${ECHO_T}no" >&6
8812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8815 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8816 if test "${enable_detect_sm+set}" = set; then
8817 enableval="$enable_detect_sm"
8819 if test "$enableval" = yes; then
8820 ac_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
8822 ac_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
8827 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8828 if test "x$LINE" != x ; then
8829 eval "DEFAULT_$LINE"
8834 ac_cv_use_detect_sm='wxUSE_DETECT_SM
='$DEFAULT_wxUSE_DETECT_SM
8838 eval "$ac_cv_use_detect_sm"
8839 if test "$no_cache" != 1; then
8840 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8843 if test "$wxUSE_DETECT_SM" = yes; then
8844 echo "$as_me:$LINENO: result: yes" >&5
8845 echo "${ECHO_T}yes" >&6
8847 echo "$as_me:$LINENO: result: no" >&5
8848 echo "${ECHO_T}no" >&6
8853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8856 # Check whether --enable-filepicker or --disable-filepicker was given.
8857 if test "${enable_filepicker+set}" = set; then
8858 enableval="$enable_filepicker"
8860 if test "$enableval" = yes; then
8861 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
8863 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
8868 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x ; then
8870 eval "DEFAULT_$LINE"
8875 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL
='$DEFAULT_wxUSE_FILEPICKERCTRL
8879 eval "$ac_cv_use_filepicker"
8880 if test "$no_cache" != 1; then
8881 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8884 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8885 echo "$as_me:$LINENO: result: yes" >&5
8886 echo "${ECHO_T}yes" >&6
8888 echo "$as_me:$LINENO: result: no" >&5
8889 echo "${ECHO_T}no" >&6
8894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8895 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8897 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8898 if test "${enable_fontpicker+set}" = set; then
8899 enableval="$enable_fontpicker"
8901 if test "$enableval" = yes; then
8902 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
8904 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
8909 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8910 if test "x$LINE" != x ; then
8911 eval "DEFAULT_$LINE"
8916 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
='$DEFAULT_wxUSE_FONTPICKERCTRL
8920 eval "$ac_cv_use_fontpicker"
8921 if test "$no_cache" != 1; then
8922 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8925 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8926 echo "$as_me:$LINENO: result: yes" >&5
8927 echo "${ECHO_T}yes" >&6
8929 echo "$as_me:$LINENO: result: no" >&5
8930 echo "${ECHO_T}no" >&6
8935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8938 # Check whether --enable-gauge or --disable-gauge was given.
8939 if test "${enable_gauge+set}" = set; then
8940 enableval="$enable_gauge"
8942 if test "$enableval" = yes; then
8943 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
8945 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
8950 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8951 if test "x$LINE" != x ; then
8952 eval "DEFAULT_$LINE"
8957 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
8961 eval "$ac_cv_use_gauge"
8962 if test "$no_cache" != 1; then
8963 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8966 if test "$wxUSE_GAUGE" = yes; then
8967 echo "$as_me:$LINENO: result: yes" >&5
8968 echo "${ECHO_T}yes" >&6
8970 echo "$as_me:$LINENO: result: no" >&5
8971 echo "${ECHO_T}no" >&6
8976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8979 # Check whether --enable-grid or --disable-grid was given.
8980 if test "${enable_grid+set}" = set; then
8981 enableval="$enable_grid"
8983 if test "$enableval" = yes; then
8984 ac_cv_use_grid='wxUSE_GRID
=yes'
8986 ac_cv_use_grid='wxUSE_GRID
=no
'
8991 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8992 if test "x$LINE" != x ; then
8993 eval "DEFAULT_$LINE"
8998 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
9002 eval "$ac_cv_use_grid"
9003 if test "$no_cache" != 1; then
9004 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9007 if test "$wxUSE_GRID" = yes; then
9008 echo "$as_me:$LINENO: result: yes" >&5
9009 echo "${ECHO_T}yes" >&6
9011 echo "$as_me:$LINENO: result: no" >&5
9012 echo "${ECHO_T}no" >&6
9017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
9020 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
9021 if test "${enable_dataviewctrl+set}" = set; then
9022 enableval="$enable_dataviewctrl"
9024 if test "$enableval" = yes; then
9025 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
9027 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
9032 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9033 if test "x$LINE" != x ; then
9034 eval "DEFAULT_$LINE"
9039 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
='$DEFAULT_wxUSE_DATAVIEWCTRL
9043 eval "$ac_cv_use_dataviewctrl"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9048 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9049 echo "$as_me:$LINENO: result: yes" >&5
9050 echo "${ECHO_T}yes" >&6
9052 echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9061 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9062 if test "${enable_hyperlink+set}" = set; then
9063 enableval="$enable_hyperlink"
9065 if test "$enableval" = yes; then
9066 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
9068 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
9073 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x ; then
9075 eval "DEFAULT_$LINE"
9080 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
='$DEFAULT_wxUSE_HYPERLINKCTRL
9084 eval "$ac_cv_use_hyperlink"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9089 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9102 # Check whether --enable-imaglist or --disable-imaglist was given.
9103 if test "${enable_imaglist+set}" = set; then
9104 enableval="$enable_imaglist"
9106 if test "$enableval" = yes; then
9107 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
9109 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
9114 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x ; then
9116 eval "DEFAULT_$LINE"
9121 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
9125 eval "$ac_cv_use_imaglist"
9126 if test "$no_cache" != 1; then
9127 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9130 if test "$wxUSE_IMAGLIST" = yes; then
9131 echo "$as_me:$LINENO: result: yes" >&5
9132 echo "${ECHO_T}yes" >&6
9134 echo "$as_me:$LINENO: result: no" >&5
9135 echo "${ECHO_T}no" >&6
9140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9143 # Check whether --enable-listbook or --disable-listbook was given.
9144 if test "${enable_listbook+set}" = set; then
9145 enableval="$enable_listbook"
9147 if test "$enableval" = yes; then
9148 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
9150 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
9155 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9156 if test "x$LINE" != x ; then
9157 eval "DEFAULT_$LINE"
9162 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
9166 eval "$ac_cv_use_listbook"
9167 if test "$no_cache" != 1; then
9168 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9171 if test "$wxUSE_LISTBOOK" = yes; then
9172 echo "$as_me:$LINENO: result: yes" >&5
9173 echo "${ECHO_T}yes" >&6
9175 echo "$as_me:$LINENO: result: no" >&5
9176 echo "${ECHO_T}no" >&6
9181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9184 # Check whether --enable-listbox or --disable-listbox was given.
9185 if test "${enable_listbox+set}" = set; then
9186 enableval="$enable_listbox"
9188 if test "$enableval" = yes; then
9189 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
9191 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
9196 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9197 if test "x$LINE" != x ; then
9198 eval "DEFAULT_$LINE"
9203 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
9207 eval "$ac_cv_use_listbox"
9208 if test "$no_cache" != 1; then
9209 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9212 if test "$wxUSE_LISTBOX" = yes; then
9213 echo "$as_me:$LINENO: result: yes" >&5
9214 echo "${ECHO_T}yes" >&6
9216 echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6
9222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9223 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9225 # Check whether --enable-listctrl or --disable-listctrl was given.
9226 if test "${enable_listctrl+set}" = set; then
9227 enableval="$enable_listctrl"
9229 if test "$enableval" = yes; then
9230 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
9232 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
9237 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9238 if test "x$LINE" != x ; then
9239 eval "DEFAULT_$LINE"
9244 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
9248 eval "$ac_cv_use_listctrl"
9249 if test "$no_cache" != 1; then
9250 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9253 if test "$wxUSE_LISTCTRL" = yes; then
9254 echo "$as_me:$LINENO: result: yes" >&5
9255 echo "${ECHO_T}yes" >&6
9257 echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6
9263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9266 # Check whether --enable-notebook or --disable-notebook was given.
9267 if test "${enable_notebook+set}" = set; then
9268 enableval="$enable_notebook"
9270 if test "$enableval" = yes; then
9271 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
9273 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
9278 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9279 if test "x$LINE" != x ; then
9280 eval "DEFAULT_$LINE"
9285 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
9289 eval "$ac_cv_use_notebook"
9290 if test "$no_cache" != 1; then
9291 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9294 if test "$wxUSE_NOTEBOOK" = yes; then
9295 echo "$as_me:$LINENO: result: yes" >&5
9296 echo "${ECHO_T}yes" >&6
9298 echo "$as_me:$LINENO: result: no" >&5
9299 echo "${ECHO_T}no" >&6
9304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9307 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9308 if test "${enable_odcombobox+set}" = set; then
9309 enableval="$enable_odcombobox"
9311 if test "$enableval" = yes; then
9312 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
9314 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
9319 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9320 if test "x$LINE" != x ; then
9321 eval "DEFAULT_$LINE"
9326 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
='$DEFAULT_wxUSE_ODCOMBOBOX
9330 eval "$ac_cv_use_odcombobox"
9331 if test "$no_cache" != 1; then
9332 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9335 if test "$wxUSE_ODCOMBOBOX" = yes; then
9336 echo "$as_me:$LINENO: result: yes" >&5
9337 echo "${ECHO_T}yes" >&6
9339 echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6
9345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9348 # Check whether --enable-radiobox or --disable-radiobox was given.
9349 if test "${enable_radiobox+set}" = set; then
9350 enableval="$enable_radiobox"
9352 if test "$enableval" = yes; then
9353 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
9355 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
9360 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9361 if test "x$LINE" != x ; then
9362 eval "DEFAULT_$LINE"
9367 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
9371 eval "$ac_cv_use_radiobox"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9376 if test "$wxUSE_RADIOBOX" = yes; then
9377 echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6
9380 echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6
9386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9389 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9390 if test "${enable_radiobtn+set}" = set; then
9391 enableval="$enable_radiobtn"
9393 if test "$enableval" = yes; then
9394 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
9396 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
9401 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9402 if test "x$LINE" != x ; then
9403 eval "DEFAULT_$LINE"
9408 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
9412 eval "$ac_cv_use_radiobtn"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9417 if test "$wxUSE_RADIOBTN" = yes; then
9418 echo "$as_me:$LINENO: result: yes" >&5
9419 echo "${ECHO_T}yes" >&6
9421 echo "$as_me:$LINENO: result: no" >&5
9422 echo "${ECHO_T}no" >&6
9427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9428 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9430 # Check whether --enable-sash or --disable-sash was given.
9431 if test "${enable_sash+set}" = set; then
9432 enableval="$enable_sash"
9434 if test "$enableval" = yes; then
9435 ac_cv_use_sash='wxUSE_SASH
=yes'
9437 ac_cv_use_sash='wxUSE_SASH
=no
'
9442 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9443 if test "x$LINE" != x ; then
9444 eval "DEFAULT_$LINE"
9449 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
9453 eval "$ac_cv_use_sash"
9454 if test "$no_cache" != 1; then
9455 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9458 if test "$wxUSE_SASH" = yes; then
9459 echo "$as_me:$LINENO: result: yes" >&5
9460 echo "${ECHO_T}yes" >&6
9462 echo "$as_me:$LINENO: result: no" >&5
9463 echo "${ECHO_T}no" >&6
9468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9469 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9471 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9472 if test "${enable_scrollbar+set}" = set; then
9473 enableval="$enable_scrollbar"
9475 if test "$enableval" = yes; then
9476 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
9478 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
9483 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9484 if test "x$LINE" != x ; then
9485 eval "DEFAULT_$LINE"
9490 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
9494 eval "$ac_cv_use_scrollbar"
9495 if test "$no_cache" != 1; then
9496 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9499 if test "$wxUSE_SCROLLBAR" = yes; then
9500 echo "$as_me:$LINENO: result: yes" >&5
9501 echo "${ECHO_T}yes" >&6
9503 echo "$as_me:$LINENO: result: no" >&5
9504 echo "${ECHO_T}no" >&6
9509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9510 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9512 # Check whether --enable-slider or --disable-slider was given.
9513 if test "${enable_slider+set}" = set; then
9514 enableval="$enable_slider"
9516 if test "$enableval" = yes; then
9517 ac_cv_use_slider='wxUSE_SLIDER
=yes'
9519 ac_cv_use_slider='wxUSE_SLIDER
=no
'
9524 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9525 if test "x$LINE" != x ; then
9526 eval "DEFAULT_$LINE"
9531 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
9535 eval "$ac_cv_use_slider"
9536 if test "$no_cache" != 1; then
9537 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9540 if test "$wxUSE_SLIDER" = yes; then
9541 echo "$as_me:$LINENO: result: yes" >&5
9542 echo "${ECHO_T}yes" >&6
9544 echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6
9550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9551 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9553 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9554 if test "${enable_spinbtn+set}" = set; then
9555 enableval="$enable_spinbtn"
9557 if test "$enableval" = yes; then
9558 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
9560 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
9565 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9566 if test "x$LINE" != x ; then
9567 eval "DEFAULT_$LINE"
9572 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
9576 eval "$ac_cv_use_spinbtn"
9577 if test "$no_cache" != 1; then
9578 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9581 if test "$wxUSE_SPINBTN" = yes; then
9582 echo "$as_me:$LINENO: result: yes" >&5
9583 echo "${ECHO_T}yes" >&6
9585 echo "$as_me:$LINENO: result: no" >&5
9586 echo "${ECHO_T}no" >&6
9591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9592 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9594 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9595 if test "${enable_spinctrl+set}" = set; then
9596 enableval="$enable_spinctrl"
9598 if test "$enableval" = yes; then
9599 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
9601 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
9606 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9607 if test "x$LINE" != x ; then
9608 eval "DEFAULT_$LINE"
9613 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
9617 eval "$ac_cv_use_spinctrl"
9618 if test "$no_cache" != 1; then
9619 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9622 if test "$wxUSE_SPINCTRL" = yes; then
9623 echo "$as_me:$LINENO: result: yes" >&5
9624 echo "${ECHO_T}yes" >&6
9626 echo "$as_me:$LINENO: result: no" >&5
9627 echo "${ECHO_T}no" >&6
9632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9635 # Check whether --enable-splitter or --disable-splitter was given.
9636 if test "${enable_splitter+set}" = set; then
9637 enableval="$enable_splitter"
9639 if test "$enableval" = yes; then
9640 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
9642 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
9647 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9648 if test "x$LINE" != x ; then
9649 eval "DEFAULT_$LINE"
9654 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
9658 eval "$ac_cv_use_splitter"
9659 if test "$no_cache" != 1; then
9660 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9663 if test "$wxUSE_SPLITTER" = yes; then
9664 echo "$as_me:$LINENO: result: yes" >&5
9665 echo "${ECHO_T}yes" >&6
9667 echo "$as_me:$LINENO: result: no" >&5
9668 echo "${ECHO_T}no" >&6
9673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9674 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9676 # Check whether --enable-statbmp or --disable-statbmp was given.
9677 if test "${enable_statbmp+set}" = set; then
9678 enableval="$enable_statbmp"
9680 if test "$enableval" = yes; then
9681 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
9683 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
9688 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9689 if test "x$LINE" != x ; then
9690 eval "DEFAULT_$LINE"
9695 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
9699 eval "$ac_cv_use_statbmp"
9700 if test "$no_cache" != 1; then
9701 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9704 if test "$wxUSE_STATBMP" = yes; then
9705 echo "$as_me:$LINENO: result: yes" >&5
9706 echo "${ECHO_T}yes" >&6
9708 echo "$as_me:$LINENO: result: no" >&5
9709 echo "${ECHO_T}no" >&6
9714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9717 # Check whether --enable-statbox or --disable-statbox was given.
9718 if test "${enable_statbox+set}" = set; then
9719 enableval="$enable_statbox"
9721 if test "$enableval" = yes; then
9722 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
9724 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
9729 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9730 if test "x$LINE" != x ; then
9731 eval "DEFAULT_$LINE"
9736 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
9740 eval "$ac_cv_use_statbox"
9741 if test "$no_cache" != 1; then
9742 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9745 if test "$wxUSE_STATBOX" = yes; then
9746 echo "$as_me:$LINENO: result: yes" >&5
9747 echo "${ECHO_T}yes" >&6
9749 echo "$as_me:$LINENO: result: no" >&5
9750 echo "${ECHO_T}no" >&6
9755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9756 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9758 # Check whether --enable-statline or --disable-statline was given.
9759 if test "${enable_statline+set}" = set; then
9760 enableval="$enable_statline"
9762 if test "$enableval" = yes; then
9763 ac_cv_use_statline='wxUSE_STATLINE
=yes'
9765 ac_cv_use_statline='wxUSE_STATLINE
=no
'
9770 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9771 if test "x$LINE" != x ; then
9772 eval "DEFAULT_$LINE"
9777 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
9781 eval "$ac_cv_use_statline"
9782 if test "$no_cache" != 1; then
9783 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9786 if test "$wxUSE_STATLINE" = yes; then
9787 echo "$as_me:$LINENO: result: yes" >&5
9788 echo "${ECHO_T}yes" >&6
9790 echo "$as_me:$LINENO: result: no" >&5
9791 echo "${ECHO_T}no" >&6
9796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9797 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9799 # Check whether --enable-stattext or --disable-stattext was given.
9800 if test "${enable_stattext+set}" = set; then
9801 enableval="$enable_stattext"
9803 if test "$enableval" = yes; then
9804 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
9806 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
9811 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9812 if test "x$LINE" != x ; then
9813 eval "DEFAULT_$LINE"
9818 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
9822 eval "$ac_cv_use_stattext"
9823 if test "$no_cache" != 1; then
9824 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9827 if test "$wxUSE_STATTEXT" = yes; then
9828 echo "$as_me:$LINENO: result: yes" >&5
9829 echo "${ECHO_T}yes" >&6
9831 echo "$as_me:$LINENO: result: no" >&5
9832 echo "${ECHO_T}no" >&6
9837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9838 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9840 # Check whether --enable-statusbar or --disable-statusbar was given.
9841 if test "${enable_statusbar+set}" = set; then
9842 enableval="$enable_statusbar"
9844 if test "$enableval" = yes; then
9845 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
9847 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
9852 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9853 if test "x$LINE" != x ; then
9854 eval "DEFAULT_$LINE"
9859 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
9863 eval "$ac_cv_use_statusbar"
9864 if test "$no_cache" != 1; then
9865 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9868 if test "$wxUSE_STATUSBAR" = yes; then
9869 echo "$as_me:$LINENO: result: yes" >&5
9870 echo "${ECHO_T}yes" >&6
9872 echo "$as_me:$LINENO: result: no" >&5
9873 echo "${ECHO_T}no" >&6
9878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9879 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9881 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9882 if test "${enable_tabdialog+set}" = set; then
9883 enableval="$enable_tabdialog"
9885 if test "$enableval" = yes; then
9886 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
9888 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
9893 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9894 if test "x$LINE" != x ; then
9895 eval "DEFAULT_$LINE"
9900 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
='$DEFAULT_wxUSE_TAB_DIALOG
9904 eval "$ac_cv_use_tabdialog"
9905 if test "$no_cache" != 1; then
9906 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9909 if test "$wxUSE_TAB_DIALOG" = yes; then
9910 echo "$as_me:$LINENO: result: yes" >&5
9911 echo "${ECHO_T}yes" >&6
9913 echo "$as_me:$LINENO: result: no" >&5
9914 echo "${ECHO_T}no" >&6
9919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9920 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9922 # Check whether --enable-textctrl or --disable-textctrl was given.
9923 if test "${enable_textctrl+set}" = set; then
9924 enableval="$enable_textctrl"
9926 if test "$enableval" = yes; then
9927 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
9929 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
9934 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9935 if test "x$LINE" != x ; then
9936 eval "DEFAULT_$LINE"
9941 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
9945 eval "$ac_cv_use_textctrl"
9946 if test "$no_cache" != 1; then
9947 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9950 if test "$wxUSE_TEXTCTRL" = yes; then
9951 echo "$as_me:$LINENO: result: yes" >&5
9952 echo "${ECHO_T}yes" >&6
9954 echo "$as_me:$LINENO: result: no" >&5
9955 echo "${ECHO_T}no" >&6
9960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9961 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9963 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9964 if test "${enable_togglebtn+set}" = set; then
9965 enableval="$enable_togglebtn"
9967 if test "$enableval" = yes; then
9968 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
9970 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
9975 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9976 if test "x$LINE" != x ; then
9977 eval "DEFAULT_$LINE"
9982 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
9986 eval "$ac_cv_use_togglebtn"
9987 if test "$no_cache" != 1; then
9988 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9991 if test "$wxUSE_TOGGLEBTN" = yes; then
9992 echo "$as_me:$LINENO: result: yes" >&5
9993 echo "${ECHO_T}yes" >&6
9995 echo "$as_me:$LINENO: result: no" >&5
9996 echo "${ECHO_T}no" >&6
10001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10002 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
10004 # Check whether --enable-toolbar or --disable-toolbar was given.
10005 if test "${enable_toolbar+set}" = set; then
10006 enableval="$enable_toolbar"
10008 if test "$enableval" = yes; then
10009 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
10011 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
10016 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10017 if test "x$LINE" != x ; then
10018 eval "DEFAULT_$LINE"
10023 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
10027 eval "$ac_cv_use_toolbar"
10028 if test "$no_cache" != 1; then
10029 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10032 if test "$wxUSE_TOOLBAR" = yes; then
10033 echo "$as_me:$LINENO: result: yes" >&5
10034 echo "${ECHO_T}yes" >&6
10036 echo "$as_me:$LINENO: result: no" >&5
10037 echo "${ECHO_T}no" >&6
10042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10043 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10045 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10046 if test "${enable_tbarnative+set}" = set; then
10047 enableval="$enable_tbarnative"
10049 if test "$enableval" = yes; then
10050 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
10052 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
10057 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10058 if test "x$LINE" != x ; then
10059 eval "DEFAULT_$LINE"
10064 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10068 eval "$ac_cv_use_tbarnative"
10069 if test "$no_cache" != 1; then
10070 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10073 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10074 echo "$as_me:$LINENO: result: yes" >&5
10075 echo "${ECHO_T}yes" >&6
10077 echo "$as_me:$LINENO: result: no" >&5
10078 echo "${ECHO_T}no" >&6
10083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10084 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10086 # Check whether --enable-treebook or --disable-treebook was given.
10087 if test "${enable_treebook+set}" = set; then
10088 enableval="$enable_treebook"
10090 if test "$enableval" = yes; then
10091 ac_cv_use_treebook='wxUSE_TREEBOOK
=yes'
10093 ac_cv_use_treebook='wxUSE_TREEBOOK
=no
'
10098 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10099 if test "x$LINE" != x ; then
10100 eval "DEFAULT_$LINE"
10105 ac_cv_use_treebook='wxUSE_TREEBOOK
='$DEFAULT_wxUSE_TREEBOOK
10109 eval "$ac_cv_use_treebook"
10110 if test "$no_cache" != 1; then
10111 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10114 if test "$wxUSE_TREEBOOK" = yes; then
10115 echo "$as_me:$LINENO: result: yes" >&5
10116 echo "${ECHO_T}yes" >&6
10118 echo "$as_me:$LINENO: result: no" >&5
10119 echo "${ECHO_T}no" >&6
10124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10125 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10127 # Check whether --enable-toolbook or --disable-toolbook was given.
10128 if test "${enable_toolbook+set}" = set; then
10129 enableval="$enable_toolbook"
10131 if test "$enableval" = yes; then
10132 ac_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
10134 ac_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
10139 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10140 if test "x$LINE" != x ; then
10141 eval "DEFAULT_$LINE"
10146 ac_cv_use_toolbook='wxUSE_TOOLBOOK
='$DEFAULT_wxUSE_TOOLBOOK
10150 eval "$ac_cv_use_toolbook"
10151 if test "$no_cache" != 1; then
10152 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10155 if test "$wxUSE_TOOLBOOK" = yes; then
10156 echo "$as_me:$LINENO: result: yes" >&5
10157 echo "${ECHO_T}yes" >&6
10159 echo "$as_me:$LINENO: result: no" >&5
10160 echo "${ECHO_T}no" >&6
10165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10166 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10168 # Check whether --enable-treectrl or --disable-treectrl was given.
10169 if test "${enable_treectrl+set}" = set; then
10170 enableval="$enable_treectrl"
10172 if test "$enableval" = yes; then
10173 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
10175 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
10180 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10181 if test "x$LINE" != x ; then
10182 eval "DEFAULT_$LINE"
10187 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
10191 eval "$ac_cv_use_treectrl"
10192 if test "$no_cache" != 1; then
10193 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10196 if test "$wxUSE_TREECTRL" = yes; then
10197 echo "$as_me:$LINENO: result: yes" >&5
10198 echo "${ECHO_T}yes" >&6
10200 echo "$as_me:$LINENO: result: no" >&5
10201 echo "${ECHO_T}no" >&6
10206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10207 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10209 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10210 if test "${enable_tipwindow+set}" = set; then
10211 enableval="$enable_tipwindow"
10213 if test "$enableval" = yes; then
10214 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
10216 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
10221 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10222 if test "x$LINE" != x ; then
10223 eval "DEFAULT_$LINE"
10228 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
10232 eval "$ac_cv_use_tipwindow"
10233 if test "$no_cache" != 1; then
10234 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10237 if test "$wxUSE_TIPWINDOW" = yes; then
10238 echo "$as_me:$LINENO: result: yes" >&5
10239 echo "${ECHO_T}yes" >&6
10241 echo "$as_me:$LINENO: result: no" >&5
10242 echo "${ECHO_T}no" >&6
10247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10248 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10250 # Check whether --enable-popupwin or --disable-popupwin was given.
10251 if test "${enable_popupwin+set}" = set; then
10252 enableval="$enable_popupwin"
10254 if test "$enableval" = yes; then
10255 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
10257 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
10262 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10263 if test "x$LINE" != x ; then
10264 eval "DEFAULT_$LINE"
10269 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
10273 eval "$ac_cv_use_popupwin"
10274 if test "$no_cache" != 1; then
10275 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10278 if test "$wxUSE_POPUPWIN" = yes; then
10279 echo "$as_me:$LINENO: result: yes" >&5
10280 echo "${ECHO_T}yes" >&6
10282 echo "$as_me:$LINENO: result: no" >&5
10283 echo "${ECHO_T}no" >&6
10290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10293 # Check whether --enable-commondlg or --disable-commondlg was given.
10294 if test "${enable_commondlg+set}" = set; then
10295 enableval="$enable_commondlg"
10297 if test "$enableval" = yes; then
10298 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
10300 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
10305 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10306 if test "x$LINE" != x ; then
10307 eval "DEFAULT_$LINE"
10312 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
10316 eval "$ac_cv_use_commondlg"
10317 if test "$no_cache" != 1; then
10318 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10321 if test "$wxUSE_COMMONDLGS" = yes; then
10322 echo "$as_me:$LINENO: result: yes" >&5
10323 echo "${ECHO_T}yes" >&6
10325 echo "$as_me:$LINENO: result: no" >&5
10326 echo "${ECHO_T}no" >&6
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10334 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10335 if test "${enable_aboutdlg+set}" = set; then
10336 enableval="$enable_aboutdlg"
10338 if test "$enableval" = yes; then
10339 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
10341 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
10346 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x ; then
10348 eval "DEFAULT_$LINE"
10353 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG
='$DEFAULT_wxUSE_ABOUTDLG
10357 eval "$ac_cv_use_aboutdlg"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10362 if test "$wxUSE_ABOUTDLG" = yes; then
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10375 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10376 if test "${enable_choicedlg+set}" = set; then
10377 enableval="$enable_choicedlg"
10379 if test "$enableval" = yes; then
10380 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
10382 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
10387 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10388 if test "x$LINE" != x ; then
10389 eval "DEFAULT_$LINE"
10394 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
10398 eval "$ac_cv_use_choicedlg"
10399 if test "$no_cache" != 1; then
10400 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10403 if test "$wxUSE_CHOICEDLG" = yes; then
10404 echo "$as_me:$LINENO: result: yes" >&5
10405 echo "${ECHO_T}yes" >&6
10407 echo "$as_me:$LINENO: result: no" >&5
10408 echo "${ECHO_T}no" >&6
10413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10414 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10416 # Check whether --enable-coldlg or --disable-coldlg was given.
10417 if test "${enable_coldlg+set}" = set; then
10418 enableval="$enable_coldlg"
10420 if test "$enableval" = yes; then
10421 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
10423 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
10428 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10429 if test "x$LINE" != x ; then
10430 eval "DEFAULT_$LINE"
10435 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
10439 eval "$ac_cv_use_coldlg"
10440 if test "$no_cache" != 1; then
10441 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10444 if test "$wxUSE_COLOURDLG" = yes; then
10445 echo "$as_me:$LINENO: result: yes" >&5
10446 echo "${ECHO_T}yes" >&6
10448 echo "$as_me:$LINENO: result: no" >&5
10449 echo "${ECHO_T}no" >&6
10454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10455 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10457 # Check whether --enable-filedlg or --disable-filedlg was given.
10458 if test "${enable_filedlg+set}" = set; then
10459 enableval="$enable_filedlg"
10461 if test "$enableval" = yes; then
10462 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
10464 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
10469 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10470 if test "x$LINE" != x ; then
10471 eval "DEFAULT_$LINE"
10476 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
10480 eval "$ac_cv_use_filedlg"
10481 if test "$no_cache" != 1; then
10482 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10485 if test "$wxUSE_FILEDLG" = yes; then
10486 echo "$as_me:$LINENO: result: yes" >&5
10487 echo "${ECHO_T}yes" >&6
10489 echo "$as_me:$LINENO: result: no" >&5
10490 echo "${ECHO_T}no" >&6
10495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10496 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10498 # Check whether --enable-finddlg or --disable-finddlg was given.
10499 if test "${enable_finddlg+set}" = set; then
10500 enableval="$enable_finddlg"
10502 if test "$enableval" = yes; then
10503 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
10505 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
10510 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10511 if test "x$LINE" != x ; then
10512 eval "DEFAULT_$LINE"
10517 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
10521 eval "$ac_cv_use_finddlg"
10522 if test "$no_cache" != 1; then
10523 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10526 if test "$wxUSE_FINDREPLDLG" = yes; then
10527 echo "$as_me:$LINENO: result: yes" >&5
10528 echo "${ECHO_T}yes" >&6
10530 echo "$as_me:$LINENO: result: no" >&5
10531 echo "${ECHO_T}no" >&6
10536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10537 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10539 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10540 if test "${enable_fontdlg+set}" = set; then
10541 enableval="$enable_fontdlg"
10543 if test "$enableval" = yes; then
10544 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
10546 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
10551 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10552 if test "x$LINE" != x ; then
10553 eval "DEFAULT_$LINE"
10558 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
10562 eval "$ac_cv_use_fontdlg"
10563 if test "$no_cache" != 1; then
10564 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10567 if test "$wxUSE_FONTDLG" = yes; then
10568 echo "$as_me:$LINENO: result: yes" >&5
10569 echo "${ECHO_T}yes" >&6
10571 echo "$as_me:$LINENO: result: no" >&5
10572 echo "${ECHO_T}no" >&6
10577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10578 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10580 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10581 if test "${enable_dirdlg+set}" = set; then
10582 enableval="$enable_dirdlg"
10584 if test "$enableval" = yes; then
10585 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
10587 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
10592 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10593 if test "x$LINE" != x ; then
10594 eval "DEFAULT_$LINE"
10599 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
10603 eval "$ac_cv_use_dirdlg"
10604 if test "$no_cache" != 1; then
10605 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10608 if test "$wxUSE_DIRDLG" = yes; then
10609 echo "$as_me:$LINENO: result: yes" >&5
10610 echo "${ECHO_T}yes" >&6
10612 echo "$as_me:$LINENO: result: no" >&5
10613 echo "${ECHO_T}no" >&6
10618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10621 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10622 if test "${enable_msgdlg+set}" = set; then
10623 enableval="$enable_msgdlg"
10625 if test "$enableval" = yes; then
10626 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
10628 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
10633 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10634 if test "x$LINE" != x ; then
10635 eval "DEFAULT_$LINE"
10640 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
10644 eval "$ac_cv_use_msgdlg"
10645 if test "$no_cache" != 1; then
10646 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10649 if test "$wxUSE_MSGDLG" = yes; then
10650 echo "$as_me:$LINENO: result: yes" >&5
10651 echo "${ECHO_T}yes" >&6
10653 echo "$as_me:$LINENO: result: no" >&5
10654 echo "${ECHO_T}no" >&6
10659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10660 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10662 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10663 if test "${enable_numberdlg+set}" = set; then
10664 enableval="$enable_numberdlg"
10666 if test "$enableval" = yes; then
10667 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
10669 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
10674 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10675 if test "x$LINE" != x ; then
10676 eval "DEFAULT_$LINE"
10681 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
10685 eval "$ac_cv_use_numberdlg"
10686 if test "$no_cache" != 1; then
10687 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10690 if test "$wxUSE_NUMBERDLG" = yes; then
10691 echo "$as_me:$LINENO: result: yes" >&5
10692 echo "${ECHO_T}yes" >&6
10694 echo "$as_me:$LINENO: result: no" >&5
10695 echo "${ECHO_T}no" >&6
10700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10701 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10703 # Check whether --enable-splash or --disable-splash was given.
10704 if test "${enable_splash+set}" = set; then
10705 enableval="$enable_splash"
10707 if test "$enableval" = yes; then
10708 ac_cv_use_splash='wxUSE_SPLASH
=yes'
10710 ac_cv_use_splash='wxUSE_SPLASH
=no
'
10715 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10716 if test "x$LINE" != x ; then
10717 eval "DEFAULT_$LINE"
10722 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
10726 eval "$ac_cv_use_splash"
10727 if test "$no_cache" != 1; then
10728 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10731 if test "$wxUSE_SPLASH" = yes; then
10732 echo "$as_me:$LINENO: result: yes" >&5
10733 echo "${ECHO_T}yes" >&6
10735 echo "$as_me:$LINENO: result: no" >&5
10736 echo "${ECHO_T}no" >&6
10741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10742 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10744 # Check whether --enable-textdlg or --disable-textdlg was given.
10745 if test "${enable_textdlg+set}" = set; then
10746 enableval="$enable_textdlg"
10748 if test "$enableval" = yes; then
10749 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
10751 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
10756 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10757 if test "x$LINE" != x ; then
10758 eval "DEFAULT_$LINE"
10763 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
10767 eval "$ac_cv_use_textdlg"
10768 if test "$no_cache" != 1; then
10769 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10772 if test "$wxUSE_TEXTDLG" = yes; then
10773 echo "$as_me:$LINENO: result: yes" >&5
10774 echo "${ECHO_T}yes" >&6
10776 echo "$as_me:$LINENO: result: no" >&5
10777 echo "${ECHO_T}no" >&6
10782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10783 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10785 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10786 if test "${enable_tipdlg+set}" = set; then
10787 enableval="$enable_tipdlg"
10789 if test "$enableval" = yes; then
10790 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
10792 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
10797 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10798 if test "x$LINE" != x ; then
10799 eval "DEFAULT_$LINE"
10804 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
10808 eval "$ac_cv_use_tipdlg"
10809 if test "$no_cache" != 1; then
10810 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10813 if test "$wxUSE_STARTUP_TIPS" = yes; then
10814 echo "$as_me:$LINENO: result: yes" >&5
10815 echo "${ECHO_T}yes" >&6
10817 echo "$as_me:$LINENO: result: no" >&5
10818 echo "${ECHO_T}no" >&6
10823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10824 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10826 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10827 if test "${enable_progressdlg+set}" = set; then
10828 enableval="$enable_progressdlg"
10830 if test "$enableval" = yes; then
10831 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
10833 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
10838 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10839 if test "x$LINE" != x ; then
10840 eval "DEFAULT_$LINE"
10845 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
10849 eval "$ac_cv_use_progressdlg"
10850 if test "$no_cache" != 1; then
10851 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10854 if test "$wxUSE_PROGRESSDLG" = yes; then
10855 echo "$as_me:$LINENO: result: yes" >&5
10856 echo "${ECHO_T}yes" >&6
10858 echo "$as_me:$LINENO: result: no" >&5
10859 echo "${ECHO_T}no" >&6
10864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10865 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10867 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10868 if test "${enable_wizarddlg+set}" = set; then
10869 enableval="$enable_wizarddlg"
10871 if test "$enableval" = yes; then
10872 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
10874 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
10879 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10880 if test "x$LINE" != x ; then
10881 eval "DEFAULT_$LINE"
10886 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
10890 eval "$ac_cv_use_wizarddlg"
10891 if test "$no_cache" != 1; then
10892 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10895 if test "$wxUSE_WIZARDDLG" = yes; then
10896 echo "$as_me:$LINENO: result: yes" >&5
10897 echo "${ECHO_T}yes" >&6
10899 echo "$as_me:$LINENO: result: no" >&5
10900 echo "${ECHO_T}no" >&6
10907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10908 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10910 # Check whether --enable-menus or --disable-menus was given.
10911 if test "${enable_menus+set}" = set; then
10912 enableval="$enable_menus"
10914 if test "$enableval" = yes; then
10915 ac_cv_use_menus='wxUSE_MENUS
=yes'
10917 ac_cv_use_menus='wxUSE_MENUS
=no
'
10922 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10923 if test "x$LINE" != x ; then
10924 eval "DEFAULT_$LINE"
10929 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
10933 eval "$ac_cv_use_menus"
10934 if test "$no_cache" != 1; then
10935 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10938 if test "$wxUSE_MENUS" = yes; then
10939 echo "$as_me:$LINENO: result: yes" >&5
10940 echo "${ECHO_T}yes" >&6
10942 echo "$as_me:$LINENO: result: no" >&5
10943 echo "${ECHO_T}no" >&6
10948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10949 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10951 # Check whether --enable-miniframe or --disable-miniframe was given.
10952 if test "${enable_miniframe+set}" = set; then
10953 enableval="$enable_miniframe"
10955 if test "$enableval" = yes; then
10956 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
10958 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
10963 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10964 if test "x$LINE" != x ; then
10965 eval "DEFAULT_$LINE"
10970 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
10974 eval "$ac_cv_use_miniframe"
10975 if test "$no_cache" != 1; then
10976 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10979 if test "$wxUSE_MINIFRAME" = yes; then
10980 echo "$as_me:$LINENO: result: yes" >&5
10981 echo "${ECHO_T}yes" >&6
10983 echo "$as_me:$LINENO: result: no" >&5
10984 echo "${ECHO_T}no" >&6
10989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10990 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10992 # Check whether --enable-tooltips or --disable-tooltips was given.
10993 if test "${enable_tooltips+set}" = set; then
10994 enableval="$enable_tooltips"
10996 if test "$enableval" = yes; then
10997 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
10999 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
11004 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11005 if test "x$LINE" != x ; then
11006 eval "DEFAULT_$LINE"
11011 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
11015 eval "$ac_cv_use_tooltips"
11016 if test "$no_cache" != 1; then
11017 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11020 if test "$wxUSE_TOOLTIPS" = yes; then
11021 echo "$as_me:$LINENO: result: yes" >&5
11022 echo "${ECHO_T}yes" >&6
11024 echo "$as_me:$LINENO: result: no" >&5
11025 echo "${ECHO_T}no" >&6
11030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11031 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
11033 # Check whether --enable-splines or --disable-splines was given.
11034 if test "${enable_splines+set}" = set; then
11035 enableval="$enable_splines"
11037 if test "$enableval" = yes; then
11038 ac_cv_use_splines='wxUSE_SPLINES
=yes'
11040 ac_cv_use_splines='wxUSE_SPLINES
=no
'
11045 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11046 if test "x$LINE" != x ; then
11047 eval "DEFAULT_$LINE"
11052 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
11056 eval "$ac_cv_use_splines"
11057 if test "$no_cache" != 1; then
11058 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11061 if test "$wxUSE_SPLINES" = yes; then
11062 echo "$as_me:$LINENO: result: yes" >&5
11063 echo "${ECHO_T}yes" >&6
11065 echo "$as_me:$LINENO: result: no" >&5
11066 echo "${ECHO_T}no" >&6
11071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11072 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11074 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11075 if test "${enable_mousewheel+set}" = set; then
11076 enableval="$enable_mousewheel"
11078 if test "$enableval" = yes; then
11079 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
11081 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
11086 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11087 if test "x$LINE" != x ; then
11088 eval "DEFAULT_$LINE"
11093 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
='$DEFAULT_wxUSE_MOUSEWHEEL
11097 eval "$ac_cv_use_mousewheel"
11098 if test "$no_cache" != 1; then
11099 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11102 if test "$wxUSE_MOUSEWHEEL" = yes; then
11103 echo "$as_me:$LINENO: result: yes" >&5
11104 echo "${ECHO_T}yes" >&6
11106 echo "$as_me:$LINENO: result: no" >&5
11107 echo "${ECHO_T}no" >&6
11112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11113 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11115 # Check whether --enable-validators or --disable-validators was given.
11116 if test "${enable_validators+set}" = set; then
11117 enableval="$enable_validators"
11119 if test "$enableval" = yes; then
11120 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
11122 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
11127 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11128 if test "x$LINE" != x ; then
11129 eval "DEFAULT_$LINE"
11134 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
11138 eval "$ac_cv_use_validators"
11139 if test "$no_cache" != 1; then
11140 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11143 if test "$wxUSE_VALIDATORS" = yes; then
11144 echo "$as_me:$LINENO: result: yes" >&5
11145 echo "${ECHO_T}yes" >&6
11147 echo "$as_me:$LINENO: result: no" >&5
11148 echo "${ECHO_T}no" >&6
11153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11154 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11156 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11157 if test "${enable_busyinfo+set}" = set; then
11158 enableval="$enable_busyinfo"
11160 if test "$enableval" = yes; then
11161 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
11163 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
11168 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11169 if test "x$LINE" != x ; then
11170 eval "DEFAULT_$LINE"
11175 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
11179 eval "$ac_cv_use_busyinfo"
11180 if test "$no_cache" != 1; then
11181 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11184 if test "$wxUSE_BUSYINFO" = yes; then
11185 echo "$as_me:$LINENO: result: yes" >&5
11186 echo "${ECHO_T}yes" >&6
11188 echo "$as_me:$LINENO: result: no" >&5
11189 echo "${ECHO_T}no" >&6
11194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11195 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11197 # Check whether --enable-joystick or --disable-joystick was given.
11198 if test "${enable_joystick+set}" = set; then
11199 enableval="$enable_joystick"
11201 if test "$enableval" = yes; then
11202 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
11204 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
11209 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11210 if test "x$LINE" != x ; then
11211 eval "DEFAULT_$LINE"
11216 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
11220 eval "$ac_cv_use_joystick"
11221 if test "$no_cache" != 1; then
11222 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11225 if test "$wxUSE_JOYSTICK" = yes; then
11226 echo "$as_me:$LINENO: result: yes" >&5
11227 echo "${ECHO_T}yes" >&6
11229 echo "$as_me:$LINENO: result: no" >&5
11230 echo "${ECHO_T}no" >&6
11235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11236 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11238 # Check whether --enable-metafile or --disable-metafile was given.
11239 if test "${enable_metafile+set}" = set; then
11240 enableval="$enable_metafile"
11242 if test "$enableval" = yes; then
11243 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
11245 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
11250 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11251 if test "x$LINE" != x ; then
11252 eval "DEFAULT_$LINE"
11257 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
11261 eval "$ac_cv_use_metafile"
11262 if test "$no_cache" != 1; then
11263 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11266 if test "$wxUSE_METAFILE" = yes; then
11267 echo "$as_me:$LINENO: result: yes" >&5
11268 echo "${ECHO_T}yes" >&6
11270 echo "$as_me:$LINENO: result: no" >&5
11271 echo "${ECHO_T}no" >&6
11276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11277 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11279 # Check whether --enable-dragimage or --disable-dragimage was given.
11280 if test "${enable_dragimage+set}" = set; then
11281 enableval="$enable_dragimage"
11283 if test "$enableval" = yes; then
11284 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
11286 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
11291 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11292 if test "x$LINE" != x ; then
11293 eval "DEFAULT_$LINE"
11298 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
11302 eval "$ac_cv_use_dragimage"
11303 if test "$no_cache" != 1; then
11304 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11307 if test "$wxUSE_DRAGIMAGE" = yes; then
11308 echo "$as_me:$LINENO: result: yes" >&5
11309 echo "${ECHO_T}yes" >&6
11311 echo "$as_me:$LINENO: result: no" >&5
11312 echo "${ECHO_T}no" >&6
11317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11318 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11320 # Check whether --enable-accessibility or --disable-accessibility was given.
11321 if test "${enable_accessibility+set}" = set; then
11322 enableval="$enable_accessibility"
11324 if test "$enableval" = yes; then
11325 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
11327 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
11332 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11333 if test "x$LINE" != x ; then
11334 eval "DEFAULT_$LINE"
11339 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
11343 eval "$ac_cv_use_accessibility"
11344 if test "$no_cache" != 1; then
11345 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11348 if test "$wxUSE_ACCESSIBILITY" = yes; then
11349 echo "$as_me:$LINENO: result: yes" >&5
11350 echo "${ECHO_T}yes" >&6
11352 echo "$as_me:$LINENO: result: no" >&5
11353 echo "${ECHO_T}no" >&6
11357 if test "$wxUSE_MSW" = "1"; then
11360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11361 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11363 # Check whether --enable-dccache or --disable-dccache was given.
11364 if test "${enable_dccache+set}" = set; then
11365 enableval="$enable_dccache"
11367 if test "$enableval" = yes; then
11368 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
11370 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
11375 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11376 if test "x$LINE" != x ; then
11377 eval "DEFAULT_$LINE"
11382 ac_cv_use_dccache='wxUSE_DC_CACHEING
='$DEFAULT_wxUSE_DC_CACHEING
11386 eval "$ac_cv_use_dccache"
11387 if test "$no_cache" != 1; then
11388 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11391 if test "$wxUSE_DC_CACHEING" = yes; then
11392 echo "$as_me:$LINENO: result: yes" >&5
11393 echo "${ECHO_T}yes" >&6
11395 echo "$as_me:$LINENO: result: no" >&5
11396 echo "${ECHO_T}no" >&6
11404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11405 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11407 # Check whether --enable-palette or --disable-palette was given.
11408 if test "${enable_palette+set}" = set; then
11409 enableval="$enable_palette"
11411 if test "$enableval" = yes; then
11412 ac_cv_use_palette='wxUSE_PALETTE
=yes'
11414 ac_cv_use_palette='wxUSE_PALETTE
=no
'
11419 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11420 if test "x$LINE" != x ; then
11421 eval "DEFAULT_$LINE"
11426 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
11430 eval "$ac_cv_use_palette"
11431 if test "$no_cache" != 1; then
11432 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11435 if test "$wxUSE_PALETTE" = yes; then
11436 echo "$as_me:$LINENO: result: yes" >&5
11437 echo "${ECHO_T}yes" >&6
11439 echo "$as_me:$LINENO: result: no" >&5
11440 echo "${ECHO_T}no" >&6
11445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11446 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11448 # Check whether --enable-image or --disable-image was given.
11449 if test "${enable_image+set}" = set; then
11450 enableval="$enable_image"
11452 if test "$enableval" = yes; then
11453 ac_cv_use_image='wxUSE_IMAGE
=yes'
11455 ac_cv_use_image='wxUSE_IMAGE
=no
'
11460 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11461 if test "x$LINE" != x ; then
11462 eval "DEFAULT_$LINE"
11467 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
11471 eval "$ac_cv_use_image"
11472 if test "$no_cache" != 1; then
11473 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11476 if test "$wxUSE_IMAGE" = yes; then
11477 echo "$as_me:$LINENO: result: yes" >&5
11478 echo "${ECHO_T}yes" >&6
11480 echo "$as_me:$LINENO: result: no" >&5
11481 echo "${ECHO_T}no" >&6
11486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11487 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11489 # Check whether --enable-gif or --disable-gif was given.
11490 if test "${enable_gif+set}" = set; then
11491 enableval="$enable_gif"
11493 if test "$enableval" = yes; then
11494 ac_cv_use_gif='wxUSE_GIF
=yes'
11496 ac_cv_use_gif='wxUSE_GIF
=no
'
11501 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11502 if test "x$LINE" != x ; then
11503 eval "DEFAULT_$LINE"
11508 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
11512 eval "$ac_cv_use_gif"
11513 if test "$no_cache" != 1; then
11514 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11517 if test "$wxUSE_GIF" = yes; then
11518 echo "$as_me:$LINENO: result: yes" >&5
11519 echo "${ECHO_T}yes" >&6
11521 echo "$as_me:$LINENO: result: no" >&5
11522 echo "${ECHO_T}no" >&6
11527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11528 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11530 # Check whether --enable-pcx or --disable-pcx was given.
11531 if test "${enable_pcx+set}" = set; then
11532 enableval="$enable_pcx"
11534 if test "$enableval" = yes; then
11535 ac_cv_use_pcx='wxUSE_PCX
=yes'
11537 ac_cv_use_pcx='wxUSE_PCX
=no
'
11542 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11543 if test "x$LINE" != x ; then
11544 eval "DEFAULT_$LINE"
11549 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
11553 eval "$ac_cv_use_pcx"
11554 if test "$no_cache" != 1; then
11555 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11558 if test "$wxUSE_PCX" = yes; then
11559 echo "$as_me:$LINENO: result: yes" >&5
11560 echo "${ECHO_T}yes" >&6
11562 echo "$as_me:$LINENO: result: no" >&5
11563 echo "${ECHO_T}no" >&6
11568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11569 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11571 # Check whether --enable-tga or --disable-tga was given.
11572 if test "${enable_tga+set}" = set; then
11573 enableval="$enable_tga"
11575 if test "$enableval" = yes; then
11576 ac_cv_use_tga='wxUSE_TGA
=yes'
11578 ac_cv_use_tga='wxUSE_TGA
=no
'
11583 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11584 if test "x$LINE" != x ; then
11585 eval "DEFAULT_$LINE"
11590 ac_cv_use_tga='wxUSE_TGA
='$DEFAULT_wxUSE_TGA
11594 eval "$ac_cv_use_tga"
11595 if test "$no_cache" != 1; then
11596 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11599 if test "$wxUSE_TGA" = yes; then
11600 echo "$as_me:$LINENO: result: yes" >&5
11601 echo "${ECHO_T}yes" >&6
11603 echo "$as_me:$LINENO: result: no" >&5
11604 echo "${ECHO_T}no" >&6
11609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11610 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11612 # Check whether --enable-iff or --disable-iff was given.
11613 if test "${enable_iff+set}" = set; then
11614 enableval="$enable_iff"
11616 if test "$enableval" = yes; then
11617 ac_cv_use_iff='wxUSE_IFF
=yes'
11619 ac_cv_use_iff='wxUSE_IFF
=no
'
11624 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11625 if test "x$LINE" != x ; then
11626 eval "DEFAULT_$LINE"
11631 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
11635 eval "$ac_cv_use_iff"
11636 if test "$no_cache" != 1; then
11637 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11640 if test "$wxUSE_IFF" = yes; then
11641 echo "$as_me:$LINENO: result: yes" >&5
11642 echo "${ECHO_T}yes" >&6
11644 echo "$as_me:$LINENO: result: no" >&5
11645 echo "${ECHO_T}no" >&6
11650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11651 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11653 # Check whether --enable-pnm or --disable-pnm was given.
11654 if test "${enable_pnm+set}" = set; then
11655 enableval="$enable_pnm"
11657 if test "$enableval" = yes; then
11658 ac_cv_use_pnm='wxUSE_PNM
=yes'
11660 ac_cv_use_pnm='wxUSE_PNM
=no
'
11665 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11666 if test "x$LINE" != x ; then
11667 eval "DEFAULT_$LINE"
11672 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
11676 eval "$ac_cv_use_pnm"
11677 if test "$no_cache" != 1; then
11678 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11681 if test "$wxUSE_PNM" = yes; then
11682 echo "$as_me:$LINENO: result: yes" >&5
11683 echo "${ECHO_T}yes" >&6
11685 echo "$as_me:$LINENO: result: no" >&5
11686 echo "${ECHO_T}no" >&6
11691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11692 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11694 # Check whether --enable-xpm or --disable-xpm was given.
11695 if test "${enable_xpm+set}" = set; then
11696 enableval="$enable_xpm"
11698 if test "$enableval" = yes; then
11699 ac_cv_use_xpm='wxUSE_XPM
=yes'
11701 ac_cv_use_xpm='wxUSE_XPM
=no
'
11706 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11707 if test "x$LINE" != x ; then
11708 eval "DEFAULT_$LINE"
11713 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
11717 eval "$ac_cv_use_xpm"
11718 if test "$no_cache" != 1; then
11719 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11722 if test "$wxUSE_XPM" = yes; then
11723 echo "$as_me:$LINENO: result: yes" >&5
11724 echo "${ECHO_T}yes" >&6
11726 echo "$as_me:$LINENO: result: no" >&5
11727 echo "${ECHO_T}no" >&6
11732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11733 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11735 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11736 if test "${enable_ico_cur+set}" = set; then
11737 enableval="$enable_ico_cur"
11739 if test "$enableval" = yes; then
11740 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
11742 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
11747 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11748 if test "x$LINE" != x ; then
11749 eval "DEFAULT_$LINE"
11754 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
11758 eval "$ac_cv_use_ico_cur"
11759 if test "$no_cache" != 1; then
11760 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11763 if test "$wxUSE_ICO_CUR" = yes; then
11764 echo "$as_me:$LINENO: result: yes" >&5
11765 echo "${ECHO_T}yes" >&6
11767 echo "$as_me:$LINENO: result: no" >&5
11768 echo "${ECHO_T}no" >&6
11776 # Check whether --with-flavour or --without-flavour was given.
11777 if test "${with_flavour+set}" = set; then
11778 withval="$with_flavour"
11779 WX_FLAVOUR="$withval"
11785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11786 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11788 # Check whether --enable-official_build or --disable-official_build was given.
11789 if test "${enable_official_build+set}" = set; then
11790 enableval="$enable_official_build"
11792 if test "$enableval" = yes; then
11793 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
11795 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
11800 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11801 if test "x$LINE" != x ; then
11802 eval "DEFAULT_$LINE"
11807 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
11811 eval "$ac_cv_use_official_build"
11812 if test "$no_cache" != 1; then
11813 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11816 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11817 echo "$as_me:$LINENO: result: yes" >&5
11818 echo "${ECHO_T}yes" >&6
11820 echo "$as_me:$LINENO: result: no" >&5
11821 echo "${ECHO_T}no" >&6
11824 # Check whether --enable-vendor or --disable-vendor was given.
11825 if test "${enable_vendor+set}" = set; then
11826 enableval="$enable_vendor"
11827 VENDOR="$enableval"
11829 if test "x$VENDOR" = "x"; then
11836 echo "saving argument cache $wx_arg_cache_file"
11837 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11841 echo "$as_me:$LINENO: checking for toolkit" >&5
11842 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11844 # In Wine, we need to default to MSW, not GTK or MOTIF
11845 if test "$wxUSE_WINE" = "yes"; then
11846 DEFAULT_DEFAULT_wxUSE_GTK=0
11847 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11848 DEFAULT_DEFAULT_wxUSE_MSW=1
11851 CXX=${CXX:-wineg++}
11855 if test "$wxUSE_GUI" = "yes"; then
11857 if test "$USE_BEOS" = 1; then
11858 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11859 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11860 { (exit 1); exit 1; }; }
11863 if test "$TOOLKIT_GIVEN" = 1; then
11864 for toolkit in `echo $ALL_TOOLKITS`; do
11866 eval "value=\$${var}"
11867 if test "x$value" = "xno"; then
11869 elif test "x$value" != "x"; then
11873 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11874 eval "wx${toolkit}_VERSION=$value"
11878 for toolkit in `echo $ALL_TOOLKITS`; do
11879 if test "$has_toolkit_in_cache" != 1; then
11880 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11882 var=DEFAULT_wxUSE_$toolkit
11884 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11885 if test "x$version" != "x"; then
11886 eval "wx${toolkit}_VERSION=$version"
11889 eval "wxUSE_$toolkit=\$${var}"
11893 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11894 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11895 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11898 *-pc-os2_emx | *-pc-os2-emx )
11899 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11902 case "$NUM_TOOLKITS" in
11906 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11907 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11908 { (exit 1); exit 1; }; }
11911 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11912 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11913 { (exit 1); exit 1; }; }
11916 # to be removed when --disable-gtk2 isn't needed
11917 if test "x$wxUSE_GTK2" = "xyes"; then
11919 elif test "x$wxUSE_GTK2" = "xno"; then
11923 for toolkit
in `echo $ALL_TOOLKITS`; do
11925 eval "value=\$${var}"
11926 if test "x$value" != x
; then
11927 cache_var
=CACHE_
$toolkit
11928 eval "cache=\$${cache_var}"
11929 if test "$cache" = 1; then
11930 echo "$var=$value" >> ${wx_arg_cache_file}
11931 eval "version=\$wx${toolkit}_VERSION"
11932 if test "x$version" != "x"; then
11933 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11936 if test "$value" = 1; then
11937 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11938 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11939 echo "${ECHO_T}$toolkit_echo" >&6
11944 if test "x$host_alias" != "x"; then
11945 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11946 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11948 echo "$as_me:$LINENO: result: base only" >&5
11949 echo "${ECHO_T}base only" >&6
11954 cat >confcache
<<\_ACEOF
11955 # This file is a shell script that caches the results of configure
11956 # tests run on this system so they can be shared between configure
11957 # scripts and configure runs, see configure's option --config-cache.
11958 # It is not useful on other systems. If it contains results you don't
11959 # want to keep, you may remove or edit it.
11961 # config.status only pays attention to the cache file if you give it
11962 # the --recheck option to rerun configure.
11964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11966 # following values.
11970 # The following way of writing the cache mishandles newlines in values,
11971 # but we know of no workaround that is simple, portable, and efficient.
11972 # So, don't put newlines in cache variables' values.
11973 # Ultrix sh set writes to stderr and can't be redirected directly,
11974 # and sets the high bit in the cache file unless we assign to the vars.
11977 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11979 # `set' does not quote correctly, so add quotes (double-quote
11980 # substitution turns \\\\ into \\, and sed turns \\ into \).
11983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11986 # `set' quotes correctly as required by POSIX, so do not add quotes.
11988 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11997 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11999 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12000 if test -w $cache_file; then
12001 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12002 cat confcache
>$cache_file
12004 echo "not updating unwritable cache $cache_file"
12014 ac_cpp
='$CPP $CPPFLAGS'
12015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12018 if test -n "$ac_tool_prefix"; then
12019 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12020 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12021 echo "$as_me:$LINENO: checking for $ac_word" >&5
12022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12023 if test "${ac_cv_prog_CC+set}" = set; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6
12026 if test -n "$CC"; then
12027 ac_cv_prog_CC
="$CC" # Let the user override the test.
12029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12030 for as_dir
in $PATH
12033 test -z "$as_dir" && as_dir
=.
12034 for ac_exec_ext
in '' $ac_executable_extensions; do
12035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12036 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12046 if test -n "$CC"; then
12047 echo "$as_me:$LINENO: result: $CC" >&5
12048 echo "${ECHO_T}$CC" >&6
12050 echo "$as_me:$LINENO: result: no" >&5
12051 echo "${ECHO_T}no" >&6
12055 if test -z "$ac_cv_prog_CC"; then
12057 # Extract the first word of "gcc", so it can be a program name with args.
12058 set dummy gcc
; ac_word
=$2
12059 echo "$as_me:$LINENO: checking for $ac_word" >&5
12060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12061 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12062 echo $ECHO_N "(cached) $ECHO_C" >&6
12064 if test -n "$ac_ct_CC"; then
12065 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12068 for as_dir
in $PATH
12071 test -z "$as_dir" && as_dir
=.
12072 for ac_exec_ext
in '' $ac_executable_extensions; do
12073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12074 ac_cv_prog_ac_ct_CC
="gcc"
12075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12083 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12084 if test -n "$ac_ct_CC"; then
12085 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12086 echo "${ECHO_T}$ac_ct_CC" >&6
12088 echo "$as_me:$LINENO: result: no" >&5
12089 echo "${ECHO_T}no" >&6
12094 CC
="$ac_cv_prog_CC"
12097 if test -z "$CC"; then
12098 if test -n "$ac_tool_prefix"; then
12099 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12100 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12101 echo "$as_me:$LINENO: checking for $ac_word" >&5
12102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12103 if test "${ac_cv_prog_CC+set}" = set; then
12104 echo $ECHO_N "(cached) $ECHO_C" >&6
12106 if test -n "$CC"; then
12107 ac_cv_prog_CC
="$CC" # Let the user override the test.
12109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12110 for as_dir
in $PATH
12113 test -z "$as_dir" && as_dir
=.
12114 for ac_exec_ext
in '' $ac_executable_extensions; do
12115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12116 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12126 if test -n "$CC"; then
12127 echo "$as_me:$LINENO: result: $CC" >&5
12128 echo "${ECHO_T}$CC" >&6
12130 echo "$as_me:$LINENO: result: no" >&5
12131 echo "${ECHO_T}no" >&6
12135 if test -z "$ac_cv_prog_CC"; then
12137 # Extract the first word of "cc", so it can be a program name with args.
12138 set dummy cc
; ac_word
=$2
12139 echo "$as_me:$LINENO: checking for $ac_word" >&5
12140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12141 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12142 echo $ECHO_N "(cached) $ECHO_C" >&6
12144 if test -n "$ac_ct_CC"; then
12145 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12148 for as_dir
in $PATH
12151 test -z "$as_dir" && as_dir
=.
12152 for ac_exec_ext
in '' $ac_executable_extensions; do
12153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12154 ac_cv_prog_ac_ct_CC
="cc"
12155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12163 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12164 if test -n "$ac_ct_CC"; then
12165 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12166 echo "${ECHO_T}$ac_ct_CC" >&6
12168 echo "$as_me:$LINENO: result: no" >&5
12169 echo "${ECHO_T}no" >&6
12174 CC
="$ac_cv_prog_CC"
12178 if test -z "$CC"; then
12179 # Extract the first word of "cc", so it can be a program name with args.
12180 set dummy cc
; ac_word
=$2
12181 echo "$as_me:$LINENO: checking for $ac_word" >&5
12182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12183 if test "${ac_cv_prog_CC+set}" = set; then
12184 echo $ECHO_N "(cached) $ECHO_C" >&6
12186 if test -n "$CC"; then
12187 ac_cv_prog_CC
="$CC" # Let the user override the test.
12189 ac_prog_rejected
=no
12190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12191 for as_dir
in $PATH
12194 test -z "$as_dir" && as_dir
=.
12195 for ac_exec_ext
in '' $ac_executable_extensions; do
12196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12197 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12198 ac_prog_rejected
=yes
12202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12208 if test $ac_prog_rejected = yes; then
12209 # We found a bogon in the path, so make sure we never use it.
12210 set dummy
$ac_cv_prog_CC
12212 if test $# != 0; then
12213 # We chose a different compiler from the bogus one.
12214 # However, it has the same basename, so the bogon will be chosen
12215 # first if we set CC to just the basename; use the full file name.
12217 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12223 if test -n "$CC"; then
12224 echo "$as_me:$LINENO: result: $CC" >&5
12225 echo "${ECHO_T}$CC" >&6
12227 echo "$as_me:$LINENO: result: no" >&5
12228 echo "${ECHO_T}no" >&6
12232 if test -z "$CC"; then
12233 if test -n "$ac_tool_prefix"; then
12236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12237 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12238 echo "$as_me:$LINENO: checking for $ac_word" >&5
12239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12240 if test "${ac_cv_prog_CC+set}" = set; then
12241 echo $ECHO_N "(cached) $ECHO_C" >&6
12243 if test -n "$CC"; then
12244 ac_cv_prog_CC
="$CC" # Let the user override the test.
12246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12247 for as_dir
in $PATH
12250 test -z "$as_dir" && as_dir
=.
12251 for ac_exec_ext
in '' $ac_executable_extensions; do
12252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12253 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12263 if test -n "$CC"; then
12264 echo "$as_me:$LINENO: result: $CC" >&5
12265 echo "${ECHO_T}$CC" >&6
12267 echo "$as_me:$LINENO: result: no" >&5
12268 echo "${ECHO_T}no" >&6
12271 test -n "$CC" && break
12274 if test -z "$CC"; then
12278 # Extract the first word of "$ac_prog", so it can be a program name with args.
12279 set dummy
$ac_prog; ac_word
=$2
12280 echo "$as_me:$LINENO: checking for $ac_word" >&5
12281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12282 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12283 echo $ECHO_N "(cached) $ECHO_C" >&6
12285 if test -n "$ac_ct_CC"; then
12286 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12289 for as_dir
in $PATH
12292 test -z "$as_dir" && as_dir
=.
12293 for ac_exec_ext
in '' $ac_executable_extensions; do
12294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12295 ac_cv_prog_ac_ct_CC
="$ac_prog"
12296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12304 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12305 if test -n "$ac_ct_CC"; then
12306 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12307 echo "${ECHO_T}$ac_ct_CC" >&6
12309 echo "$as_me:$LINENO: result: no" >&5
12310 echo "${ECHO_T}no" >&6
12313 test -n "$ac_ct_CC" && break
12322 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12323 See \`config.log' for more details." >&5
12324 echo "$as_me: error: no acceptable C compiler found in \$PATH
12325 See \`config.log' for more details." >&2;}
12326 { (exit 1); exit 1; }; }
12328 # Provide some information about the compiler.
12329 echo "$as_me:$LINENO:" \
12330 "checking for C compiler version" >&5
12331 ac_compiler
=`set X $ac_compile; echo $2`
12332 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12333 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); }
12337 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12338 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); }
12342 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12343 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346 (exit $ac_status); }
12348 cat >conftest.
$ac_ext <<_ACEOF
12351 cat confdefs.h
>>conftest.
$ac_ext
12352 cat >>conftest.
$ac_ext <<_ACEOF
12353 /* end confdefs.h. */
12363 ac_clean_files_save
=$ac_clean_files
12364 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12365 # Try to create an executable without -o first, disregard a.out.
12366 # It will help us diagnose broken compilers, and finding out an intuition
12368 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12369 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12370 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12371 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12372 (eval $ac_link_default) 2>&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); }; then
12376 # Find the output, starting from the most likely. This scheme is
12377 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12380 # Be careful to initialize this variable, since it used to be cached.
12381 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12383 # b.out is created by i960 compilers.
12384 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12386 test -f "$ac_file" || continue
12388 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12391 # This is the source file.
12394 # We found the default executable, but exeext='' is most
12398 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12399 # FIXME: I believe we export ac_cv_exeext for Libtool,
12400 # but it would be cool to find out if it's true. Does anybody
12401 # maintain Libtool? --akim.
12402 export ac_cv_exeext
12409 echo "$as_me: failed program was:" >&5
12410 sed 's/^/| /' conftest.
$ac_ext >&5
12412 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12413 See \`config.log' for more details." >&5
12414 echo "$as_me: error: C compiler cannot create executables
12415 See \`config.log' for more details." >&2;}
12416 { (exit 77); exit 77; }; }
12419 ac_exeext
=$ac_cv_exeext
12420 echo "$as_me:$LINENO: result: $ac_file" >&5
12421 echo "${ECHO_T}$ac_file" >&6
12423 # Check the compiler produces executables we can run. If not, either
12424 # the compiler is broken, or we cross compile.
12425 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12426 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12427 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12428 # If not cross compiling, check that we can run a simple program.
12429 if test "$cross_compiling" != yes; then
12430 if { ac_try
='./$ac_file'
12431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12432 (eval $ac_try) 2>&5
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); }; }; then
12438 if test "$cross_compiling" = maybe
; then
12439 cross_compiling
=yes
12441 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12442 If you meant to cross compile, use \`--host'.
12443 See \`config.log' for more details." >&5
12444 echo "$as_me: error: cannot run C compiled programs.
12445 If you meant to cross compile, use \`--host'.
12446 See \`config.log' for more details." >&2;}
12447 { (exit 1); exit 1; }; }
12451 echo "$as_me:$LINENO: result: yes" >&5
12452 echo "${ECHO_T}yes" >&6
12454 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12455 ac_clean_files
=$ac_clean_files_save
12456 # Check the compiler produces executables we can run. If not, either
12457 # the compiler is broken, or we cross compile.
12458 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12459 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12460 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12461 echo "${ECHO_T}$cross_compiling" >&6
12463 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12464 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12466 (eval $ac_link) 2>&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); }; then
12470 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12471 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12472 # work properly (i.e., refer to `conftest.exe'), while it won't with
12474 for ac_file
in conftest.exe conftest conftest.
*; do
12475 test -f "$ac_file" || continue
12477 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12478 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12479 export ac_cv_exeext
12485 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12486 See \`config.log' for more details." >&5
12487 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12488 See \`config.log' for more details." >&2;}
12489 { (exit 1); exit 1; }; }
12492 rm -f conftest
$ac_cv_exeext
12493 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12494 echo "${ECHO_T}$ac_cv_exeext" >&6
12496 rm -f conftest.
$ac_ext
12497 EXEEXT
=$ac_cv_exeext
12499 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12500 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12501 if test "${ac_cv_objext+set}" = set; then
12502 echo $ECHO_N "(cached) $ECHO_C" >&6
12504 cat >conftest.
$ac_ext <<_ACEOF
12507 cat confdefs.h
>>conftest.
$ac_ext
12508 cat >>conftest.
$ac_ext <<_ACEOF
12509 /* end confdefs.h. */
12519 rm -f conftest.o conftest.obj
12520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12521 (eval $ac_compile) 2>&5
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); }; then
12525 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12527 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12528 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12533 echo "$as_me: failed program was:" >&5
12534 sed 's/^/| /' conftest.
$ac_ext >&5
12536 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12537 See \`config.log' for more details." >&5
12538 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12539 See \`config.log' for more details." >&2;}
12540 { (exit 1); exit 1; }; }
12543 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12545 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12546 echo "${ECHO_T}$ac_cv_objext" >&6
12547 OBJEXT
=$ac_cv_objext
12549 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12550 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12551 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12552 echo $ECHO_N "(cached) $ECHO_C" >&6
12554 cat >conftest.
$ac_ext <<_ACEOF
12557 cat confdefs.h
>>conftest.
$ac_ext
12558 cat >>conftest.
$ac_ext <<_ACEOF
12559 /* end confdefs.h. */
12572 rm -f conftest.
$ac_objext
12573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12574 (eval $ac_compile) 2>conftest.er1
12576 grep -v '^ *+' conftest.er1
>conftest.err
12578 cat conftest.err
>&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); } &&
12581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 (eval $ac_try) 2>&5
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); }; } &&
12587 { ac_try
='test -s conftest.$ac_objext'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; }; then
12593 ac_compiler_gnu
=yes
12595 echo "$as_me: failed program was:" >&5
12596 sed 's/^/| /' conftest.
$ac_ext >&5
12600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12601 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12604 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12605 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12606 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12607 ac_test_CFLAGS
=${CFLAGS+set}
12608 ac_save_CFLAGS
=$CFLAGS
12610 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12611 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12612 if test "${ac_cv_prog_cc_g+set}" = set; then
12613 echo $ECHO_N "(cached) $ECHO_C" >&6
12615 cat >conftest.
$ac_ext <<_ACEOF
12618 cat confdefs.h
>>conftest.
$ac_ext
12619 cat >>conftest.
$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12630 rm -f conftest.
$ac_objext
12631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12632 (eval $ac_compile) 2>conftest.er1
12634 grep -v '^ *+' conftest.er1
>conftest.err
12636 cat conftest.err
>&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); } &&
12639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12641 (eval $ac_try) 2>&5
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); }; } &&
12645 { ac_try
='test -s conftest.$ac_objext'
12646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12647 (eval $ac_try) 2>&5
12649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12650 (exit $ac_status); }; }; then
12651 ac_cv_prog_cc_g
=yes
12653 echo "$as_me: failed program was:" >&5
12654 sed 's/^/| /' conftest.
$ac_ext >&5
12658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12660 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12661 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12662 if test "$ac_test_CFLAGS" = set; then
12663 CFLAGS
=$ac_save_CFLAGS
12664 elif test $ac_cv_prog_cc_g = yes; then
12665 if test "$GCC" = yes; then
12671 if test "$GCC" = yes; then
12677 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12678 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12679 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12680 echo $ECHO_N "(cached) $ECHO_C" >&6
12682 ac_cv_prog_cc_stdc
=no
12684 cat >conftest.
$ac_ext <<_ACEOF
12687 cat confdefs.h
>>conftest.
$ac_ext
12688 cat >>conftest.
$ac_ext <<_ACEOF
12689 /* end confdefs.h. */
12690 #include <stdarg.h>
12692 #include <sys/types.h>
12693 #include <sys/stat.h>
12694 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12695 struct buf { int x; };
12696 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12697 static char *e (p, i)
12703 static char *f (char * (*g) (char **, int), char **p, ...)
12708 s = g (p, va_arg (v,int));
12713 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12714 function prototypes and stuff, but not '\xHH' hex character constants.
12715 These don't provoke an error unfortunately, instead are silently treated
12716 as 'x'. The following induces an error, until -std1 is added to get
12717 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12718 array size at least. It's necessary to write '\x00'==0 to get something
12719 that's true only with -std1. */
12720 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12722 int test (int i, double x);
12723 struct s1 {int (*f) (int a);};
12724 struct s2 {int (*f) (double a);};
12725 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12731 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12736 # Don't try gcc -ansi; that turns off useful extensions and
12737 # breaks some systems' header files.
12738 # AIX -qlanglvl=ansi
12739 # Ultrix and OSF/1 -std1
12740 # HP-UX 10.20 and later -Ae
12741 # HP-UX older versions -Aa -D_HPUX_SOURCE
12742 # SVR4 -Xc -D__EXTENSIONS__
12743 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12745 CC
="$ac_save_CC $ac_arg"
12746 rm -f conftest.
$ac_objext
12747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12748 (eval $ac_compile) 2>conftest.er1
12750 grep -v '^ *+' conftest.er1
>conftest.err
12752 cat conftest.err
>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } &&
12755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; } &&
12761 { ac_try
='test -s conftest.$ac_objext'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; }; then
12767 ac_cv_prog_cc_stdc
=$ac_arg
12770 echo "$as_me: failed program was:" >&5
12771 sed 's/^/| /' conftest.
$ac_ext >&5
12774 rm -f conftest.err conftest.
$ac_objext
12776 rm -f conftest.
$ac_ext conftest.
$ac_objext
12781 case "x$ac_cv_prog_cc_stdc" in
12783 echo "$as_me:$LINENO: result: none needed" >&5
12784 echo "${ECHO_T}none needed" >&6 ;;
12786 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12787 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12788 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12791 # Some people use a C++ compiler to compile C. Since we use `exit',
12792 # in C++ we need to declare it. In case someone uses the same compiler
12793 # for both compiling C and C++ we need to have the C++ compiler decide
12794 # the declaration of exit, since it's the most demanding environment.
12795 cat >conftest.
$ac_ext <<_ACEOF
12796 #ifndef __cplusplus
12800 rm -f conftest.
$ac_objext
12801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12802 (eval $ac_compile) 2>conftest.er1
12804 grep -v '^ *+' conftest.er1
>conftest.err
12806 cat conftest.err
>&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); } &&
12809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12811 (eval $ac_try) 2>&5
12813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); }; } &&
12815 { ac_try
='test -s conftest.$ac_objext'
12816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12817 (eval $ac_try) 2>&5
12819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820 (exit $ac_status); }; }; then
12821 for ac_declaration
in \
12823 'extern "C" void std::exit (int) throw (); using std::exit;' \
12824 'extern "C" void std::exit (int); using std::exit;' \
12825 'extern "C" void exit (int) throw ();' \
12826 'extern "C" void exit (int);' \
12829 cat >conftest.
$ac_ext <<_ACEOF
12832 cat confdefs.h
>>conftest.
$ac_ext
12833 cat >>conftest.
$ac_ext <<_ACEOF
12834 /* end confdefs.h. */
12836 #include <stdlib.h>
12845 rm -f conftest.
$ac_objext
12846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12847 (eval $ac_compile) 2>conftest.er1
12849 grep -v '^ *+' conftest.er1
>conftest.err
12851 cat conftest.err
>&5
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); } &&
12854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12856 (eval $ac_try) 2>&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); }; } &&
12860 { ac_try
='test -s conftest.$ac_objext'
12861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12862 (eval $ac_try) 2>&5
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); }; }; then
12868 echo "$as_me: failed program was:" >&5
12869 sed 's/^/| /' conftest.
$ac_ext >&5
12873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12874 cat >conftest.
$ac_ext <<_ACEOF
12877 cat confdefs.h
>>conftest.
$ac_ext
12878 cat >>conftest.
$ac_ext <<_ACEOF
12879 /* end confdefs.h. */
12889 rm -f conftest.
$ac_objext
12890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12891 (eval $ac_compile) 2>conftest.er1
12893 grep -v '^ *+' conftest.er1
>conftest.err
12895 cat conftest.err
>&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); } &&
12898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900 (eval $ac_try) 2>&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; } &&
12904 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
12912 echo "$as_me: failed program was:" >&5
12913 sed 's/^/| /' conftest.
$ac_ext >&5
12916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12919 if test -n "$ac_declaration"; then
12920 echo '#ifdef __cplusplus' >>confdefs.h
12921 echo $ac_declaration >>confdefs.h
12922 echo '#endif' >>confdefs.h
12926 echo "$as_me: failed program was:" >&5
12927 sed 's/^/| /' conftest.
$ac_ext >&5
12930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12932 ac_cpp
='$CPP $CPPFLAGS'
12933 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12934 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12935 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12940 ac_cpp
='$CPP $CPPFLAGS'
12941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12945 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12946 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12947 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12950 cat >conftest.
$ac_ext <<_ACEOF
12953 cat confdefs.h
>>conftest.
$ac_ext
12954 cat >>conftest.
$ac_ext <<_ACEOF
12955 /* end confdefs.h. */
12961 #ifndef __INTEL_COMPILER
12969 rm -f conftest.
$ac_objext
12970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12971 (eval $ac_compile) 2>conftest.er1
12973 grep -v '^ *+' conftest.er1
>conftest.err
12975 cat conftest.err
>&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12980 (eval $ac_try) 2>&5
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); }; } &&
12984 { ac_try
='test -s conftest.$ac_objext'
12985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12986 (eval $ac_try) 2>&5
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); }; }; then
12990 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12992 echo "$as_me: failed program was:" >&5
12993 sed 's/^/| /' conftest.
$ac_ext >&5
12995 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13002 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13003 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13005 ac_cpp
='$CPP $CPPFLAGS'
13006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13010 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13017 if test "x$GCC" != "xyes"; then
13018 if test "xCC" = "xC"; then
13019 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13020 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13021 if test "${bakefile_cv_c_exto+set}" = set; then
13022 echo $ECHO_N "(cached) $ECHO_C" >&6
13024 cat >conftest.
$ac_ext <<_ACEOF
13027 cat confdefs.h
>>conftest.
$ac_ext
13028 cat >>conftest.
$ac_ext <<_ACEOF
13029 /* end confdefs.h. */
13039 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13041 (eval $ac_compile) 2>&5
13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 (exit $ac_status); }; then
13045 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13047 conftest.
$ac_ext.o
)
13048 bakefile_cv_c_exto
="-ext o"
13055 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13056 See \`config.log' for more details." >&5
13057 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13058 See \`config.log' for more details." >&2;}
13059 { (exit 1); exit 1; }; }
13063 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13066 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13067 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13068 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13069 if test "c" = "c"; then
13070 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
13072 if test "c" = "cxx"; then
13073 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
13077 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13078 unset ac_cv_prog_cc_g
13079 ac_test_CFLAGS
=${CFLAGS+set}
13080 ac_save_CFLAGS
=$CFLAGS
13082 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13083 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13084 if test "${ac_cv_prog_cc_g+set}" = set; then
13085 echo $ECHO_N "(cached) $ECHO_C" >&6
13087 cat >conftest.
$ac_ext <<_ACEOF
13090 cat confdefs.h
>>conftest.
$ac_ext
13091 cat >>conftest.
$ac_ext <<_ACEOF
13092 /* end confdefs.h. */
13102 rm -f conftest.
$ac_objext
13103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13104 (eval $ac_compile) 2>conftest.er1
13106 grep -v '^ *+' conftest.er1
>conftest.err
13108 cat conftest.err
>&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } &&
13111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13113 (eval $ac_try) 2>&5
13115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116 (exit $ac_status); }; } &&
13117 { ac_try
='test -s conftest.$ac_objext'
13118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13119 (eval $ac_try) 2>&5
13121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13122 (exit $ac_status); }; }; then
13123 ac_cv_prog_cc_g
=yes
13125 echo "$as_me: failed program was:" >&5
13126 sed 's/^/| /' conftest.
$ac_ext >&5
13130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13132 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13133 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13134 if test "$ac_test_CFLAGS" = set; then
13135 CFLAGS
=$ac_save_CFLAGS
13136 elif test $ac_cv_prog_cc_g = yes; then
13137 if test "$GCC" = yes; then
13143 if test "$GCC" = yes; then
13155 ac_cpp
='$CPP $CPPFLAGS'
13156 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13157 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13158 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13160 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13161 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13162 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13163 echo $ECHO_N "(cached) $ECHO_C" >&6
13165 cat >conftest.
$ac_ext <<_ACEOF
13168 cat confdefs.h
>>conftest.
$ac_ext
13169 cat >>conftest.
$ac_ext <<_ACEOF
13170 /* end confdefs.h. */
13183 rm -f conftest.
$ac_objext
13184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13185 (eval $ac_compile) 2>conftest.er1
13187 grep -v '^ *+' conftest.er1
>conftest.err
13189 cat conftest.err
>&5
13190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); } &&
13192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13194 (eval $ac_try) 2>&5
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); }; } &&
13198 { ac_try
='test -s conftest.$ac_objext'
13199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13200 (eval $ac_try) 2>&5
13202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13203 (exit $ac_status); }; }; then
13204 bakefile_compiler_xlc
=yes
13206 echo "$as_me: failed program was:" >&5
13207 sed 's/^/| /' conftest.
$ac_ext >&5
13209 bakefile_compiler_xlc
=no
13211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13212 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13215 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13216 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13218 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13220 ac_cpp
='$CPP $CPPFLAGS'
13221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13230 ac_cpp
='$CPP $CPPFLAGS'
13231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13235 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13236 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13237 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13238 echo $ECHO_N "(cached) $ECHO_C" >&6
13240 cat >conftest.
$ac_ext <<_ACEOF
13243 cat confdefs.h
>>conftest.
$ac_ext
13244 cat >>conftest.
$ac_ext <<_ACEOF
13245 /* end confdefs.h. */
13258 rm -f conftest.
$ac_objext
13259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13260 (eval $ac_compile) 2>conftest.er1
13262 grep -v '^ *+' conftest.er1
>conftest.err
13264 cat conftest.err
>&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); } &&
13267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13269 (eval $ac_try) 2>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); }; } &&
13273 { ac_try
='test -s conftest.$ac_objext'
13274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }; }; then
13279 bakefile_compiler_mwerks
=yes
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.
$ac_ext >&5
13284 bakefile_compiler_mwerks
=no
13286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13287 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13290 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13291 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13293 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13295 ac_cpp
='$CPP $CPPFLAGS'
13296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13302 ac_cpp
='$CPP $CPPFLAGS'
13303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13307 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13308 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13309 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13310 echo $ECHO_N "(cached) $ECHO_C" >&6
13312 cat >conftest.
$ac_ext <<_ACEOF
13315 cat confdefs.h
>>conftest.
$ac_ext
13316 cat >>conftest.
$ac_ext <<_ACEOF
13317 /* end confdefs.h. */
13330 rm -f conftest.
$ac_objext
13331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13332 (eval $ac_compile) 2>conftest.er1
13334 grep -v '^ *+' conftest.er1
>conftest.err
13336 cat conftest.err
>&5
13337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 (exit $ac_status); } &&
13339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13341 (eval $ac_try) 2>&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); }; } &&
13345 { ac_try
='test -s conftest.$ac_objext'
13346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13347 (eval $ac_try) 2>&5
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); }; }; then
13351 bakefile_compiler_xlc
=yes
13353 echo "$as_me: failed program was:" >&5
13354 sed 's/^/| /' conftest.
$ac_ext >&5
13356 bakefile_compiler_xlc
=no
13358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13359 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13362 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13363 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13365 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13367 ac_cpp
='$CPP $CPPFLAGS'
13368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13379 ac_cpp
='$CPP $CPPFLAGS'
13380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13384 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13385 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13386 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13387 echo $ECHO_N "(cached) $ECHO_C" >&6
13389 cat >conftest.
$ac_ext <<_ACEOF
13392 cat confdefs.h
>>conftest.
$ac_ext
13393 cat >>conftest.
$ac_ext <<_ACEOF
13394 /* end confdefs.h. */
13400 #ifndef _SGI_COMPILER_VERSION
13408 rm -f conftest.
$ac_objext
13409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13410 (eval $ac_compile) 2>conftest.er1
13412 grep -v '^ *+' conftest.er1
>conftest.err
13414 cat conftest.err
>&5
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); } &&
13417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13419 (eval $ac_try) 2>&5
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; } &&
13423 { ac_try
='test -s conftest.$ac_objext'
13424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13425 (eval $ac_try) 2>&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); }; }; then
13429 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13431 echo "$as_me: failed program was:" >&5
13432 sed 's/^/| /' conftest.
$ac_ext >&5
13434 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13441 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13442 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13444 ac_cpp
='$CPP $CPPFLAGS'
13445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13449 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13462 ac_cpp
='$CPP $CPPFLAGS'
13463 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13464 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13465 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13467 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13468 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13469 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13472 cat >conftest.
$ac_ext <<_ACEOF
13475 cat confdefs.h
>>conftest.
$ac_ext
13476 cat >>conftest.
$ac_ext <<_ACEOF
13477 /* end confdefs.h. */
13491 rm -f conftest.
$ac_objext
13492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13493 (eval $ac_compile) 2>conftest.er1
13495 grep -v '^ *+' conftest.er1
>conftest.err
13497 cat conftest.err
>&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } &&
13500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13502 (eval $ac_try) 2>&5
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); }; } &&
13506 { ac_try
='test -s conftest.$ac_objext'
13507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13508 (eval $ac_try) 2>&5
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); }; }; then
13512 bakefile_cv_c_compiler___HP_cc
=yes
13514 echo "$as_me: failed program was:" >&5
13515 sed 's/^/| /' conftest.
$ac_ext >&5
13517 bakefile_cv_c_compiler___HP_cc
=no
13520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13524 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13525 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13527 ac_cpp
='$CPP $CPPFLAGS'
13528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13532 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13545 ac_cpp
='$CPP $CPPFLAGS'
13546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13550 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13551 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13552 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13553 echo $ECHO_N "(cached) $ECHO_C" >&6
13555 cat >conftest.
$ac_ext <<_ACEOF
13558 cat confdefs.h
>>conftest.
$ac_ext
13559 cat >>conftest.
$ac_ext <<_ACEOF
13560 /* end confdefs.h. */
13574 rm -f conftest.
$ac_objext
13575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13576 (eval $ac_compile) 2>conftest.er1
13578 grep -v '^ *+' conftest.er1
>conftest.err
13580 cat conftest.err
>&5
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); } &&
13583 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 (eval $ac_try) 2>&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; } &&
13589 { ac_try
='test -s conftest.$ac_objext'
13590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13591 (eval $ac_try) 2>&5
13593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 (exit $ac_status); }; }; then
13595 bakefile_cv_c_compiler___DECC
=yes
13597 echo "$as_me: failed program was:" >&5
13598 sed 's/^/| /' conftest.
$ac_ext >&5
13600 bakefile_cv_c_compiler___DECC
=no
13603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13607 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13608 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13610 ac_cpp
='$CPP $CPPFLAGS'
13611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13615 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13628 ac_cpp
='$CPP $CPPFLAGS'
13629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13633 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13634 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13635 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13636 echo $ECHO_N "(cached) $ECHO_C" >&6
13638 cat >conftest.
$ac_ext <<_ACEOF
13641 cat confdefs.h
>>conftest.
$ac_ext
13642 cat >>conftest.
$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13657 rm -f conftest.
$ac_objext
13658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13659 (eval $ac_compile) 2>conftest.er1
13661 grep -v '^ *+' conftest.er1
>conftest.err
13663 cat conftest.err
>&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); } &&
13666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13668 (eval $ac_try) 2>&5
13670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671 (exit $ac_status); }; } &&
13672 { ac_try
='test -s conftest.$ac_objext'
13673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13674 (eval $ac_try) 2>&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); }; }; then
13678 bakefile_cv_c_compiler___SUNPRO_C
=yes
13680 echo "$as_me: failed program was:" >&5
13681 sed 's/^/| /' conftest.
$ac_ext >&5
13683 bakefile_cv_c_compiler___SUNPRO_C
=no
13686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13690 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13691 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13693 ac_cpp
='$CPP $CPPFLAGS'
13694 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13695 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13696 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13698 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13712 ac_cpp
='$CPP $CPPFLAGS'
13713 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13714 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13715 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13716 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13717 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13718 # On Suns, sometimes $CPP names a directory.
13719 if test -n "$CPP" && test -d "$CPP"; then
13722 if test -z "$CPP"; then
13723 if test "${ac_cv_prog_CPP+set}" = set; then
13724 echo $ECHO_N "(cached) $ECHO_C" >&6
13726 # Double quotes because CPP needs to be expanded
13727 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13729 ac_preproc_ok
=false
13730 for ac_c_preproc_warn_flag
in '' yes
13732 # Use a header file that comes with gcc, so configuring glibc
13733 # with a fresh cross-compiler works.
13734 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13735 # <limits.h> exists even on freestanding compilers.
13736 # On the NeXT, cc -E runs the code through the compiler's parser,
13737 # not just through cpp. "Syntax error" is here to catch this case.
13738 cat >conftest.
$ac_ext <<_ACEOF
13741 cat confdefs.h
>>conftest.
$ac_ext
13742 cat >>conftest.
$ac_ext <<_ACEOF
13743 /* end confdefs.h. */
13745 # include <limits.h>
13747 # include <assert.h>
13751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13752 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13754 grep -v '^ *+' conftest.er1
>conftest.err
13756 cat conftest.err
>&5
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); } >/dev
/null
; then
13759 if test -s conftest.err
; then
13760 ac_cpp_err
=$ac_c_preproc_warn_flag
13761 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13768 if test -z "$ac_cpp_err"; then
13771 echo "$as_me: failed program was:" >&5
13772 sed 's/^/| /' conftest.
$ac_ext >&5
13774 # Broken: fails on valid input.
13777 rm -f conftest.err conftest.
$ac_ext
13779 # OK, works on sane cases. Now check whether non-existent headers
13780 # can be detected and how.
13781 cat >conftest.
$ac_ext <<_ACEOF
13784 cat confdefs.h
>>conftest.
$ac_ext
13785 cat >>conftest.
$ac_ext <<_ACEOF
13786 /* end confdefs.h. */
13787 #include <ac_nonexistent.h>
13789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13790 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13792 grep -v '^ *+' conftest.er1
>conftest.err
13794 cat conftest.err
>&5
13795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 (exit $ac_status); } >/dev
/null
; then
13797 if test -s conftest.err
; then
13798 ac_cpp_err
=$ac_c_preproc_warn_flag
13799 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13806 if test -z "$ac_cpp_err"; then
13807 # Broken: success on invalid input.
13810 echo "$as_me: failed program was:" >&5
13811 sed 's/^/| /' conftest.
$ac_ext >&5
13813 # Passes both tests.
13817 rm -f conftest.err conftest.
$ac_ext
13820 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13821 rm -f conftest.err conftest.
$ac_ext
13822 if $ac_preproc_ok; then
13827 ac_cv_prog_CPP
=$CPP
13830 CPP
=$ac_cv_prog_CPP
13832 ac_cv_prog_CPP
=$CPP
13834 echo "$as_me:$LINENO: result: $CPP" >&5
13835 echo "${ECHO_T}$CPP" >&6
13836 ac_preproc_ok
=false
13837 for ac_c_preproc_warn_flag
in '' yes
13839 # Use a header file that comes with gcc, so configuring glibc
13840 # with a fresh cross-compiler works.
13841 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13842 # <limits.h> exists even on freestanding compilers.
13843 # On the NeXT, cc -E runs the code through the compiler's parser,
13844 # not just through cpp. "Syntax error" is here to catch this case.
13845 cat >conftest.
$ac_ext <<_ACEOF
13848 cat confdefs.h
>>conftest.
$ac_ext
13849 cat >>conftest.
$ac_ext <<_ACEOF
13850 /* end confdefs.h. */
13852 # include <limits.h>
13854 # include <assert.h>
13858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13859 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13861 grep -v '^ *+' conftest.er1
>conftest.err
13863 cat conftest.err
>&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); } >/dev
/null
; then
13866 if test -s conftest.err
; then
13867 ac_cpp_err
=$ac_c_preproc_warn_flag
13868 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13875 if test -z "$ac_cpp_err"; then
13878 echo "$as_me: failed program was:" >&5
13879 sed 's/^/| /' conftest.
$ac_ext >&5
13881 # Broken: fails on valid input.
13884 rm -f conftest.err conftest.
$ac_ext
13886 # OK, works on sane cases. Now check whether non-existent headers
13887 # can be detected and how.
13888 cat >conftest.
$ac_ext <<_ACEOF
13891 cat confdefs.h
>>conftest.
$ac_ext
13892 cat >>conftest.
$ac_ext <<_ACEOF
13893 /* end confdefs.h. */
13894 #include <ac_nonexistent.h>
13896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13897 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13899 grep -v '^ *+' conftest.er1
>conftest.err
13901 cat conftest.err
>&5
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); } >/dev
/null
; then
13904 if test -s conftest.err
; then
13905 ac_cpp_err
=$ac_c_preproc_warn_flag
13906 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13913 if test -z "$ac_cpp_err"; then
13914 # Broken: success on invalid input.
13917 echo "$as_me: failed program was:" >&5
13918 sed 's/^/| /' conftest.
$ac_ext >&5
13920 # Passes both tests.
13924 rm -f conftest.err conftest.
$ac_ext
13927 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13928 rm -f conftest.err conftest.
$ac_ext
13929 if $ac_preproc_ok; then
13932 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13933 See \`config.log' for more details." >&5
13934 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13935 See \`config.log' for more details." >&2;}
13936 { (exit 1); exit 1; }; }
13940 ac_cpp
='$CPP $CPPFLAGS'
13941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13946 echo "$as_me:$LINENO: checking for egrep" >&5
13947 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13948 if test "${ac_cv_prog_egrep+set}" = set; then
13949 echo $ECHO_N "(cached) $ECHO_C" >&6
13951 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13952 then ac_cv_prog_egrep
='grep -E'
13953 else ac_cv_prog_egrep
='egrep'
13956 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13957 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13958 EGREP
=$ac_cv_prog_egrep
13961 if test $ac_cv_c_compiler_gnu = yes; then
13962 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13963 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13964 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13965 echo $ECHO_N "(cached) $ECHO_C" >&6
13967 ac_pattern
="Autoconf.*'x'"
13968 cat >conftest.
$ac_ext <<_ACEOF
13971 cat confdefs.h
>>conftest.
$ac_ext
13972 cat >>conftest.
$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13978 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13979 ac_cv_prog_gcc_traditional
=yes
13981 ac_cv_prog_gcc_traditional
=no
13986 if test $ac_cv_prog_gcc_traditional = no
; then
13987 cat >conftest.
$ac_ext <<_ACEOF
13990 cat confdefs.h
>>conftest.
$ac_ext
13991 cat >>conftest.
$ac_ext <<_ACEOF
13992 /* end confdefs.h. */
13993 #include <termio.h>
13996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13997 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13998 ac_cv_prog_gcc_traditional
=yes
14004 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14005 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14006 if test $ac_cv_prog_gcc_traditional = yes; then
14007 CC
="$CC -traditional"
14012 CXXFLAGS
=${CXXFLAGS:=}
14017 ac_cpp
='$CXXCPP $CPPFLAGS'
14018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14021 if test -n "$ac_tool_prefix"; then
14022 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14024 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14025 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14026 echo "$as_me:$LINENO: checking for $ac_word" >&5
14027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14028 if test "${ac_cv_prog_CXX+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14031 if test -n "$CXX"; then
14032 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
14034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14035 for as_dir
in $PATH
14038 test -z "$as_dir" && as_dir
=.
14039 for ac_exec_ext
in '' $ac_executable_extensions; do
14040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14041 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
14042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14050 CXX
=$ac_cv_prog_CXX
14051 if test -n "$CXX"; then
14052 echo "$as_me:$LINENO: result: $CXX" >&5
14053 echo "${ECHO_T}$CXX" >&6
14055 echo "$as_me:$LINENO: result: no" >&5
14056 echo "${ECHO_T}no" >&6
14059 test -n "$CXX" && break
14062 if test -z "$CXX"; then
14064 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14066 # Extract the first word of "$ac_prog", so it can be a program name with args.
14067 set dummy
$ac_prog; ac_word
=$2
14068 echo "$as_me:$LINENO: checking for $ac_word" >&5
14069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14070 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14071 echo $ECHO_N "(cached) $ECHO_C" >&6
14073 if test -n "$ac_ct_CXX"; then
14074 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
14076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14077 for as_dir
in $PATH
14080 test -z "$as_dir" && as_dir
=.
14081 for ac_exec_ext
in '' $ac_executable_extensions; do
14082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14083 ac_cv_prog_ac_ct_CXX
="$ac_prog"
14084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14092 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
14093 if test -n "$ac_ct_CXX"; then
14094 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14095 echo "${ECHO_T}$ac_ct_CXX" >&6
14097 echo "$as_me:$LINENO: result: no" >&5
14098 echo "${ECHO_T}no" >&6
14101 test -n "$ac_ct_CXX" && break
14103 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
14109 # Provide some information about the compiler.
14110 echo "$as_me:$LINENO:" \
14111 "checking for C++ compiler version" >&5
14112 ac_compiler
=`set X $ac_compile; echo $2`
14113 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14114 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }
14118 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14119 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
14121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); }
14123 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14124 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); }
14129 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14130 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14131 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14132 echo $ECHO_N "(cached) $ECHO_C" >&6
14134 cat >conftest.
$ac_ext <<_ACEOF
14137 cat confdefs.h
>>conftest.
$ac_ext
14138 cat >>conftest.
$ac_ext <<_ACEOF
14139 /* end confdefs.h. */
14152 rm -f conftest.
$ac_objext
14153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14154 (eval $ac_compile) 2>conftest.er1
14156 grep -v '^ *+' conftest.er1
>conftest.err
14158 cat conftest.err
>&5
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); } &&
14161 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14163 (eval $ac_try) 2>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); }; } &&
14167 { ac_try
='test -s conftest.$ac_objext'
14168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14169 (eval $ac_try) 2>&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); }; }; then
14173 ac_compiler_gnu
=yes
14175 echo "$as_me: failed program was:" >&5
14176 sed 's/^/| /' conftest.
$ac_ext >&5
14180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14181 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
14184 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14185 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14186 GXX
=`test $ac_compiler_gnu = yes && echo yes`
14187 ac_test_CXXFLAGS
=${CXXFLAGS+set}
14188 ac_save_CXXFLAGS
=$CXXFLAGS
14190 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14191 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14192 if test "${ac_cv_prog_cxx_g+set}" = set; then
14193 echo $ECHO_N "(cached) $ECHO_C" >&6
14195 cat >conftest.
$ac_ext <<_ACEOF
14198 cat confdefs.h
>>conftest.
$ac_ext
14199 cat >>conftest.
$ac_ext <<_ACEOF
14200 /* end confdefs.h. */
14210 rm -f conftest.
$ac_objext
14211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14212 (eval $ac_compile) 2>conftest.er1
14214 grep -v '^ *+' conftest.er1
>conftest.err
14216 cat conftest.err
>&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); } &&
14219 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14221 (eval $ac_try) 2>&5
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); }; } &&
14225 { ac_try
='test -s conftest.$ac_objext'
14226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14227 (eval $ac_try) 2>&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); }; }; then
14231 ac_cv_prog_cxx_g
=yes
14233 echo "$as_me: failed program was:" >&5
14234 sed 's/^/| /' conftest.
$ac_ext >&5
14236 ac_cv_prog_cxx_g
=no
14238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14240 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14241 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14242 if test "$ac_test_CXXFLAGS" = set; then
14243 CXXFLAGS
=$ac_save_CXXFLAGS
14244 elif test $ac_cv_prog_cxx_g = yes; then
14245 if test "$GXX" = yes; then
14251 if test "$GXX" = yes; then
14257 for ac_declaration
in \
14259 'extern "C" void std::exit (int) throw (); using std::exit;' \
14260 'extern "C" void std::exit (int); using std::exit;' \
14261 'extern "C" void exit (int) throw ();' \
14262 'extern "C" void exit (int);' \
14265 cat >conftest.
$ac_ext <<_ACEOF
14268 cat confdefs.h
>>conftest.
$ac_ext
14269 cat >>conftest.
$ac_ext <<_ACEOF
14270 /* end confdefs.h. */
14272 #include <stdlib.h>
14281 rm -f conftest.
$ac_objext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14283 (eval $ac_compile) 2>conftest.er1
14285 grep -v '^ *+' conftest.er1
>conftest.err
14287 cat conftest.err
>&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); } &&
14290 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14292 (eval $ac_try) 2>&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); }; } &&
14296 { ac_try
='test -s conftest.$ac_objext'
14297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298 (eval $ac_try) 2>&5
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; }; then
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.
$ac_ext >&5
14309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14310 cat >conftest.
$ac_ext <<_ACEOF
14313 cat confdefs.h
>>conftest.
$ac_ext
14314 cat >>conftest.
$ac_ext <<_ACEOF
14315 /* end confdefs.h. */
14325 rm -f conftest.
$ac_objext
14326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14327 (eval $ac_compile) 2>conftest.er1
14329 grep -v '^ *+' conftest.er1
>conftest.err
14331 cat conftest.err
>&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); } &&
14334 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14336 (eval $ac_try) 2>&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); }; } &&
14340 { ac_try
='test -s conftest.$ac_objext'
14341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14342 (eval $ac_try) 2>&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); }; }; then
14348 echo "$as_me: failed program was:" >&5
14349 sed 's/^/| /' conftest.
$ac_ext >&5
14352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14355 if test -n "$ac_declaration"; then
14356 echo '#ifdef __cplusplus' >>confdefs.h
14357 echo $ac_declaration >>confdefs.h
14358 echo '#endif' >>confdefs.h
14362 ac_cpp
='$CPP $CPPFLAGS'
14363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14370 ac_cpp
='$CXXCPP $CPPFLAGS'
14371 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14372 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14373 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14375 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14376 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14377 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14378 echo $ECHO_N "(cached) $ECHO_C" >&6
14380 cat >conftest.
$ac_ext <<_ACEOF
14383 cat confdefs.h
>>conftest.
$ac_ext
14384 cat >>conftest.
$ac_ext <<_ACEOF
14385 /* end confdefs.h. */
14391 #ifndef __INTEL_COMPILER
14399 rm -f conftest.
$ac_objext
14400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14401 (eval $ac_compile) 2>conftest.er1
14403 grep -v '^ *+' conftest.er1
>conftest.err
14405 cat conftest.err
>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } &&
14408 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 (eval $ac_try) 2>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }; } &&
14414 { ac_try
='test -s conftest.$ac_objext'
14415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416 (eval $ac_try) 2>&5
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); }; }; then
14420 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14422 echo "$as_me: failed program was:" >&5
14423 sed 's/^/| /' conftest.
$ac_ext >&5
14425 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14432 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14433 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14435 ac_cpp
='$CPP $CPPFLAGS'
14436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14440 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14447 if test "x$GCXX" != "xyes"; then
14448 if test "xCXX" = "xC"; then
14449 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14450 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14451 if test "${bakefile_cv_c_exto+set}" = set; then
14452 echo $ECHO_N "(cached) $ECHO_C" >&6
14454 cat >conftest.
$ac_ext <<_ACEOF
14457 cat confdefs.h
>>conftest.
$ac_ext
14458 cat >>conftest.
$ac_ext <<_ACEOF
14459 /* end confdefs.h. */
14469 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14471 (eval $ac_compile) 2>&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); }; then
14475 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14477 conftest.
$ac_ext.o
)
14478 bakefile_cv_c_exto
="-ext o"
14485 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14486 See \`config.log' for more details." >&5
14487 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14488 See \`config.log' for more details." >&2;}
14489 { (exit 1); exit 1; }; }
14493 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14496 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14497 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14498 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14499 if test "c" = "c"; then
14500 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
14502 if test "c" = "cxx"; then
14503 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
14507 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14508 unset ac_cv_prog_cc_g
14509 ac_test_CFLAGS
=${CFLAGS+set}
14510 ac_save_CFLAGS
=$CFLAGS
14512 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14513 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14514 if test "${ac_cv_prog_cc_g+set}" = set; then
14515 echo $ECHO_N "(cached) $ECHO_C" >&6
14517 cat >conftest.
$ac_ext <<_ACEOF
14520 cat confdefs.h
>>conftest.
$ac_ext
14521 cat >>conftest.
$ac_ext <<_ACEOF
14522 /* end confdefs.h. */
14532 rm -f conftest.
$ac_objext
14533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14534 (eval $ac_compile) 2>conftest.er1
14536 grep -v '^ *+' conftest.er1
>conftest.err
14538 cat conftest.err
>&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } &&
14541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14543 (eval $ac_try) 2>&5
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); }; } &&
14547 { ac_try
='test -s conftest.$ac_objext'
14548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14549 (eval $ac_try) 2>&5
14551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); }; }; then
14553 ac_cv_prog_cc_g
=yes
14555 echo "$as_me: failed program was:" >&5
14556 sed 's/^/| /' conftest.
$ac_ext >&5
14560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14562 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14563 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14564 if test "$ac_test_CFLAGS" = set; then
14565 CFLAGS
=$ac_save_CFLAGS
14566 elif test $ac_cv_prog_cc_g = yes; then
14567 if test "$GCC" = yes; then
14573 if test "$GCC" = yes; then
14585 ac_cpp
='$CXXCPP $CPPFLAGS'
14586 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14587 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14588 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14590 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14591 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14592 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14593 echo $ECHO_N "(cached) $ECHO_C" >&6
14595 cat >conftest.
$ac_ext <<_ACEOF
14598 cat confdefs.h
>>conftest.
$ac_ext
14599 cat >>conftest.
$ac_ext <<_ACEOF
14600 /* end confdefs.h. */
14613 rm -f conftest.
$ac_objext
14614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14615 (eval $ac_compile) 2>conftest.er1
14617 grep -v '^ *+' conftest.er1
>conftest.err
14619 cat conftest.err
>&5
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); } &&
14622 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14624 (eval $ac_try) 2>&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); }; } &&
14628 { ac_try
='test -s conftest.$ac_objext'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; }; then
14634 bakefile_compiler_xlc
=yes
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.
$ac_ext >&5
14639 bakefile_compiler_xlc
=no
14641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14642 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14645 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14646 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14648 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14650 ac_cpp
='$CPP $CPPFLAGS'
14651 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14652 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14653 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14660 ac_cpp
='$CXXCPP $CPPFLAGS'
14661 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14662 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14663 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14665 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14666 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14667 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14668 echo $ECHO_N "(cached) $ECHO_C" >&6
14670 cat >conftest.
$ac_ext <<_ACEOF
14673 cat confdefs.h
>>conftest.
$ac_ext
14674 cat >>conftest.
$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14688 rm -f conftest.
$ac_objext
14689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14690 (eval $ac_compile) 2>conftest.er1
14692 grep -v '^ *+' conftest.er1
>conftest.err
14694 cat conftest.err
>&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); } &&
14697 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14699 (eval $ac_try) 2>&5
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); }; } &&
14703 { ac_try
='test -s conftest.$ac_objext'
14704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14705 (eval $ac_try) 2>&5
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); }; }; then
14709 bakefile_compiler_mwerks
=yes
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.
$ac_ext >&5
14714 bakefile_compiler_mwerks
=no
14716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14717 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14720 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14721 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14723 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14725 ac_cpp
='$CPP $CPPFLAGS'
14726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14732 ac_cpp
='$CXXCPP $CPPFLAGS'
14733 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14734 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14735 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14737 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14738 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14739 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14742 cat >conftest.
$ac_ext <<_ACEOF
14745 cat confdefs.h
>>conftest.
$ac_ext
14746 cat >>conftest.
$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14760 rm -f conftest.
$ac_objext
14761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14762 (eval $ac_compile) 2>conftest.er1
14764 grep -v '^ *+' conftest.er1
>conftest.err
14766 cat conftest.err
>&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); } &&
14769 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; } &&
14775 { ac_try
='test -s conftest.$ac_objext'
14776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777 (eval $ac_try) 2>&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); }; }; then
14781 bakefile_compiler_xlc
=yes
14783 echo "$as_me: failed program was:" >&5
14784 sed 's/^/| /' conftest.
$ac_ext >&5
14786 bakefile_compiler_xlc
=no
14788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14789 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14792 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14793 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14795 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14797 ac_cpp
='$CPP $CPPFLAGS'
14798 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14799 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14800 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14809 ac_cpp
='$CXXCPP $CPPFLAGS'
14810 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14811 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14812 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14814 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14815 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14816 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14817 echo $ECHO_N "(cached) $ECHO_C" >&6
14819 cat >conftest.
$ac_ext <<_ACEOF
14822 cat confdefs.h
>>conftest.
$ac_ext
14823 cat >>conftest.
$ac_ext <<_ACEOF
14824 /* end confdefs.h. */
14830 #ifndef _SGI_COMPILER_VERSION
14838 rm -f conftest.
$ac_objext
14839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14840 (eval $ac_compile) 2>conftest.er1
14842 grep -v '^ *+' conftest.er1
>conftest.err
14844 cat conftest.err
>&5
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); } &&
14847 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14849 (eval $ac_try) 2>&5
14851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14852 (exit $ac_status); }; } &&
14853 { ac_try
='test -s conftest.$ac_objext'
14854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14855 (eval $ac_try) 2>&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; }; then
14859 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14861 echo "$as_me: failed program was:" >&5
14862 sed 's/^/| /' conftest.
$ac_ext >&5
14864 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14871 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14872 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14874 ac_cpp
='$CPP $CPPFLAGS'
14875 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14876 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14877 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14879 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14892 ac_cpp
='$CXXCPP $CPPFLAGS'
14893 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14894 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14895 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14897 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14898 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14899 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14900 echo $ECHO_N "(cached) $ECHO_C" >&6
14902 cat >conftest.
$ac_ext <<_ACEOF
14905 cat confdefs.h
>>conftest.
$ac_ext
14906 cat >>conftest.
$ac_ext <<_ACEOF
14907 /* end confdefs.h. */
14921 rm -f conftest.
$ac_objext
14922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14923 (eval $ac_compile) 2>conftest.er1
14925 grep -v '^ *+' conftest.er1
>conftest.err
14927 cat conftest.err
>&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } &&
14930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14932 (eval $ac_try) 2>&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; } &&
14936 { ac_try
='test -s conftest.$ac_objext'
14937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14938 (eval $ac_try) 2>&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); }; }; then
14942 bakefile_cv_cxx_compiler___HP_aCC
=yes
14944 echo "$as_me: failed program was:" >&5
14945 sed 's/^/| /' conftest.
$ac_ext >&5
14947 bakefile_cv_cxx_compiler___HP_aCC
=no
14950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14954 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14955 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14957 ac_cpp
='$CPP $CPPFLAGS'
14958 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14959 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14960 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14962 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
14975 ac_cpp
='$CXXCPP $CPPFLAGS'
14976 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14977 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14978 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14980 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14981 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14982 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14983 echo $ECHO_N "(cached) $ECHO_C" >&6
14985 cat >conftest.
$ac_ext <<_ACEOF
14988 cat confdefs.h
>>conftest.
$ac_ext
14989 cat >>conftest.
$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
15004 rm -f conftest.
$ac_objext
15005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15006 (eval $ac_compile) 2>conftest.er1
15008 grep -v '^ *+' conftest.er1
>conftest.err
15010 cat conftest.err
>&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); } &&
15013 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15015 (eval $ac_try) 2>&5
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); }; } &&
15019 { ac_try
='test -s conftest.$ac_objext'
15020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15021 (eval $ac_try) 2>&5
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); }; }; then
15025 bakefile_cv_cxx_compiler___DECCXX
=yes
15027 echo "$as_me: failed program was:" >&5
15028 sed 's/^/| /' conftest.
$ac_ext >&5
15030 bakefile_cv_cxx_compiler___DECCXX
=no
15033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15037 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15038 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15040 ac_cpp
='$CPP $CPPFLAGS'
15041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15045 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
15058 ac_cpp
='$CXXCPP $CPPFLAGS'
15059 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15060 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15061 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15063 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15064 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15065 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15066 echo $ECHO_N "(cached) $ECHO_C" >&6
15068 cat >conftest.
$ac_ext <<_ACEOF
15071 cat confdefs.h
>>conftest.
$ac_ext
15072 cat >>conftest.
$ac_ext <<_ACEOF
15073 /* end confdefs.h. */
15079 #ifndef __SUNPRO_CC
15087 rm -f conftest.
$ac_objext
15088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15089 (eval $ac_compile) 2>conftest.er1
15091 grep -v '^ *+' conftest.er1
>conftest.err
15093 cat conftest.err
>&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); } &&
15096 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 (eval $ac_try) 2>&5
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; } &&
15102 { ac_try
='test -s conftest.$ac_objext'
15103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15104 (eval $ac_try) 2>&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); }; }; then
15108 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
15110 echo "$as_me: failed program was:" >&5
15111 sed 's/^/| /' conftest.
$ac_ext >&5
15113 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
15116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15120 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15121 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15123 ac_cpp
='$CPP $CPPFLAGS'
15124 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15125 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15126 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15128 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
15141 if test -n "$ac_tool_prefix"; then
15142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15143 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
15144 echo "$as_me:$LINENO: checking for $ac_word" >&5
15145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15146 if test "${ac_cv_prog_RANLIB+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15149 if test -n "$RANLIB"; then
15150 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
15152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15153 for as_dir
in $PATH
15156 test -z "$as_dir" && as_dir
=.
15157 for ac_exec_ext
in '' $ac_executable_extensions; do
15158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15159 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
15160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15168 RANLIB
=$ac_cv_prog_RANLIB
15169 if test -n "$RANLIB"; then
15170 echo "$as_me:$LINENO: result: $RANLIB" >&5
15171 echo "${ECHO_T}$RANLIB" >&6
15173 echo "$as_me:$LINENO: result: no" >&5
15174 echo "${ECHO_T}no" >&6
15178 if test -z "$ac_cv_prog_RANLIB"; then
15179 ac_ct_RANLIB
=$RANLIB
15180 # Extract the first word of "ranlib", so it can be a program name with args.
15181 set dummy ranlib
; ac_word
=$2
15182 echo "$as_me:$LINENO: checking for $ac_word" >&5
15183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15185 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 if test -n "$ac_ct_RANLIB"; then
15188 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
15190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15191 for as_dir
in $PATH
15194 test -z "$as_dir" && as_dir
=.
15195 for ac_exec_ext
in '' $ac_executable_extensions; do
15196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15197 ac_cv_prog_ac_ct_RANLIB
="ranlib"
15198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15204 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
15207 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15208 if test -n "$ac_ct_RANLIB"; then
15209 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15210 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15212 echo "$as_me:$LINENO: result: no" >&5
15213 echo "${ECHO_T}no" >&6
15216 RANLIB
=$ac_ct_RANLIB
15218 RANLIB
="$ac_cv_prog_RANLIB"
15222 if test -n "$ac_tool_prefix"; then
15223 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15224 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15225 echo "$as_me:$LINENO: checking for $ac_word" >&5
15226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15227 if test "${ac_cv_prog_AR+set}" = set; then
15228 echo $ECHO_N "(cached) $ECHO_C" >&6
15230 if test -n "$AR"; then
15231 ac_cv_prog_AR
="$AR" # Let the user override the test.
15233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15234 for as_dir
in $PATH
15237 test -z "$as_dir" && as_dir
=.
15238 for ac_exec_ext
in '' $ac_executable_extensions; do
15239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15240 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15250 if test -n "$AR"; then
15251 echo "$as_me:$LINENO: result: $AR" >&5
15252 echo "${ECHO_T}$AR" >&6
15254 echo "$as_me:$LINENO: result: no" >&5
15255 echo "${ECHO_T}no" >&6
15259 if test -z "$ac_cv_prog_AR"; then
15261 # Extract the first word of "ar", so it can be a program name with args.
15262 set dummy
ar; ac_word
=$2
15263 echo "$as_me:$LINENO: checking for $ac_word" >&5
15264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15265 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15266 echo $ECHO_N "(cached) $ECHO_C" >&6
15268 if test -n "$ac_ct_AR"; then
15269 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15272 for as_dir
in $PATH
15275 test -z "$as_dir" && as_dir
=.
15276 for ac_exec_ext
in '' $ac_executable_extensions; do
15277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15278 ac_cv_prog_ac_ct_AR
="ar"
15279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15287 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15288 if test -n "$ac_ct_AR"; then
15289 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15290 echo "${ECHO_T}$ac_ct_AR" >&6
15292 echo "$as_me:$LINENO: result: no" >&5
15293 echo "${ECHO_T}no" >&6
15298 AR
="$ac_cv_prog_AR"
15301 if test "x$AR" = "x" ; then
15302 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15303 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15304 { (exit 1); exit 1; }; }
15307 # Find a good install program. We prefer a C program (faster),
15308 # so one script is as good as another. But avoid the broken or
15309 # incompatible versions:
15310 # SysV /etc/install, /usr/sbin/install
15311 # SunOS /usr/etc/install
15312 # IRIX /sbin/install
15314 # AmigaOS /C/install, which installs bootblocks on floppy discs
15315 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15316 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15317 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15318 # OS/2's system install, which has a completely different semantic
15319 # ./install, which can be erroneously created by make from ./install.sh.
15320 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15321 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15322 if test -z "$INSTALL"; then
15323 if test "${ac_cv_path_install+set}" = set; then
15324 echo $ECHO_N "(cached) $ECHO_C" >&6
15326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15327 for as_dir
in $PATH
15330 test -z "$as_dir" && as_dir
=.
15331 # Account for people who put trailing slashes in PATH elements.
15333 .
/ | .
// | /cC
/* | \
15334 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15335 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15338 # OSF1 and SCO ODT 3.0 have their own names for install.
15339 # Don't use installbsd from OSF since it installs stuff as root
15341 for ac_prog
in ginstall scoinst
install; do
15342 for ac_exec_ext
in '' $ac_executable_extensions; do
15343 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15344 if test $ac_prog = install &&
15345 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15346 # AIX install. It has an incompatible calling convention.
15348 elif test $ac_prog = install &&
15349 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15350 # program-specific install script used by HP pwplus--don't use.
15353 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15365 if test "${ac_cv_path_install+set}" = set; then
15366 INSTALL
=$ac_cv_path_install
15368 # As a last resort, use the slow shell script. We don't cache a
15369 # path for INSTALL within a source directory, because that will
15370 # break other packages using the cache if that directory is
15371 # removed, or if the path is relative.
15372 INSTALL
=$ac_install_sh
15375 echo "$as_me:$LINENO: result: $INSTALL" >&5
15376 echo "${ECHO_T}$INSTALL" >&6
15378 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15379 # It thinks the first close brace ends the variable substitution.
15380 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15382 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15384 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15390 ?
:* ) # Drive letter, considered as absolute.
15393 INSTALL
=`pwd`/${INSTALL} ;;
15400 INSTALL_PROGRAM
="cp -fp"
15401 INSTALL_DATA
="cp -fp"
15407 if test -n "$ac_tool_prefix"; then
15408 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15409 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15410 echo "$as_me:$LINENO: checking for $ac_word" >&5
15411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15412 if test "${ac_cv_prog_STRIP+set}" = set; then
15413 echo $ECHO_N "(cached) $ECHO_C" >&6
15415 if test -n "$STRIP"; then
15416 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15419 for as_dir
in $PATH
15422 test -z "$as_dir" && as_dir
=.
15423 for ac_exec_ext
in '' $ac_executable_extensions; do
15424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15425 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15434 STRIP
=$ac_cv_prog_STRIP
15435 if test -n "$STRIP"; then
15436 echo "$as_me:$LINENO: result: $STRIP" >&5
15437 echo "${ECHO_T}$STRIP" >&6
15439 echo "$as_me:$LINENO: result: no" >&5
15440 echo "${ECHO_T}no" >&6
15444 if test -z "$ac_cv_prog_STRIP"; then
15446 # Extract the first word of "strip", so it can be a program name with args.
15447 set dummy strip
; ac_word
=$2
15448 echo "$as_me:$LINENO: checking for $ac_word" >&5
15449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15450 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15451 echo $ECHO_N "(cached) $ECHO_C" >&6
15453 if test -n "$ac_ct_STRIP"; then
15454 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15457 for as_dir
in $PATH
15460 test -z "$as_dir" && as_dir
=.
15461 for ac_exec_ext
in '' $ac_executable_extensions; do
15462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15463 ac_cv_prog_ac_ct_STRIP
="strip"
15464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15470 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15473 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15474 if test -n "$ac_ct_STRIP"; then
15475 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15476 echo "${ECHO_T}$ac_ct_STRIP" >&6
15478 echo "$as_me:$LINENO: result: no" >&5
15479 echo "${ECHO_T}no" >&6
15484 STRIP
="$ac_cv_prog_STRIP"
15488 if test "$wxUSE_WINE" = "yes"; then
15489 if test -n "$ac_tool_prefix"; then
15490 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15491 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15492 echo "$as_me:$LINENO: checking for $ac_word" >&5
15493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15494 if test "${ac_cv_prog_WINDRES+set}" = set; then
15495 echo $ECHO_N "(cached) $ECHO_C" >&6
15497 if test -n "$WINDRES"; then
15498 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15501 for as_dir
in $PATH
15504 test -z "$as_dir" && as_dir
=.
15505 for ac_exec_ext
in '' $ac_executable_extensions; do
15506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15507 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15516 WINDRES
=$ac_cv_prog_WINDRES
15517 if test -n "$WINDRES"; then
15518 echo "$as_me:$LINENO: result: $WINDRES" >&5
15519 echo "${ECHO_T}$WINDRES" >&6
15521 echo "$as_me:$LINENO: result: no" >&5
15522 echo "${ECHO_T}no" >&6
15526 if test -z "$ac_cv_prog_WINDRES"; then
15527 ac_ct_WINDRES
=$WINDRES
15528 # Extract the first word of "wrc", so it can be a program name with args.
15529 set dummy wrc
; ac_word
=$2
15530 echo "$as_me:$LINENO: checking for $ac_word" >&5
15531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15532 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15533 echo $ECHO_N "(cached) $ECHO_C" >&6
15535 if test -n "$ac_ct_WINDRES"; then
15536 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15539 for as_dir
in $PATH
15542 test -z "$as_dir" && as_dir
=.
15543 for ac_exec_ext
in '' $ac_executable_extensions; do
15544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15545 ac_cv_prog_ac_ct_WINDRES
="wrc"
15546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15554 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15555 if test -n "$ac_ct_WINDRES"; then
15556 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15557 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15559 echo "$as_me:$LINENO: result: no" >&5
15560 echo "${ECHO_T}no" >&6
15563 WINDRES
=$ac_ct_WINDRES
15565 WINDRES
="$ac_cv_prog_WINDRES"
15571 *-*-cygwin* | *-*-mingw32* )
15572 if test -n "$ac_tool_prefix"; then
15573 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15574 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15575 echo "$as_me:$LINENO: checking for $ac_word" >&5
15576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15577 if test "${ac_cv_prog_WINDRES+set}" = set; then
15578 echo $ECHO_N "(cached) $ECHO_C" >&6
15580 if test -n "$WINDRES"; then
15581 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15584 for as_dir
in $PATH
15587 test -z "$as_dir" && as_dir
=.
15588 for ac_exec_ext
in '' $ac_executable_extensions; do
15589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15590 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15599 WINDRES
=$ac_cv_prog_WINDRES
15600 if test -n "$WINDRES"; then
15601 echo "$as_me:$LINENO: result: $WINDRES" >&5
15602 echo "${ECHO_T}$WINDRES" >&6
15604 echo "$as_me:$LINENO: result: no" >&5
15605 echo "${ECHO_T}no" >&6
15609 if test -z "$ac_cv_prog_WINDRES"; then
15610 ac_ct_WINDRES
=$WINDRES
15611 # Extract the first word of "windres", so it can be a program name with args.
15612 set dummy windres
; ac_word
=$2
15613 echo "$as_me:$LINENO: checking for $ac_word" >&5
15614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15615 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15616 echo $ECHO_N "(cached) $ECHO_C" >&6
15618 if test -n "$ac_ct_WINDRES"; then
15619 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15622 for as_dir
in $PATH
15625 test -z "$as_dir" && as_dir
=.
15626 for ac_exec_ext
in '' $ac_executable_extensions; do
15627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15628 ac_cv_prog_ac_ct_WINDRES
="windres"
15629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15637 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15638 if test -n "$ac_ct_WINDRES"; then
15639 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15640 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15642 echo "$as_me:$LINENO: result: no" >&5
15643 echo "${ECHO_T}no" >&6
15646 WINDRES
=$ac_ct_WINDRES
15648 WINDRES
="$ac_cv_prog_WINDRES"
15652 if test -n "$ac_tool_prefix"; then
15653 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15654 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15655 echo "$as_me:$LINENO: checking for $ac_word" >&5
15656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15657 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15658 echo $ECHO_N "(cached) $ECHO_C" >&6
15660 if test -n "$DLLTOOL"; then
15661 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15664 for as_dir
in $PATH
15667 test -z "$as_dir" && as_dir
=.
15668 for ac_exec_ext
in '' $ac_executable_extensions; do
15669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15670 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15679 DLLTOOL
=$ac_cv_prog_DLLTOOL
15680 if test -n "$DLLTOOL"; then
15681 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15682 echo "${ECHO_T}$DLLTOOL" >&6
15684 echo "$as_me:$LINENO: result: no" >&5
15685 echo "${ECHO_T}no" >&6
15689 if test -z "$ac_cv_prog_DLLTOOL"; then
15690 ac_ct_DLLTOOL
=$DLLTOOL
15691 # Extract the first word of "dlltool", so it can be a program name with args.
15692 set dummy dlltool
; ac_word
=$2
15693 echo "$as_me:$LINENO: checking for $ac_word" >&5
15694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15695 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15696 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 if test -n "$ac_ct_DLLTOOL"; then
15699 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15702 for as_dir
in $PATH
15705 test -z "$as_dir" && as_dir
=.
15706 for ac_exec_ext
in '' $ac_executable_extensions; do
15707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15708 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15717 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15718 if test -n "$ac_ct_DLLTOOL"; then
15719 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15720 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15722 echo "$as_me:$LINENO: result: no" >&5
15723 echo "${ECHO_T}no" >&6
15726 DLLTOOL
=$ac_ct_DLLTOOL
15728 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15735 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15736 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15737 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15738 echo $ECHO_N "(cached) $ECHO_C" >&6
15741 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15742 $EGREP -s GNU
> /dev
/null
); then
15743 wx_cv_prog_makeisgnu
="yes"
15745 wx_cv_prog_makeisgnu
="no"
15749 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15750 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15752 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15760 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15761 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15762 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15763 if test "${wx_cv_prog_makevpath+set}" = set; then
15764 echo $ECHO_N "(cached) $ECHO_C" >&6
15767 cat - << EOF > confMake
15773 if test ! -d sub
; then
15776 echo dummy
> sub
/file
15777 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15779 rm -f sub
/file check final_file confMake
15781 if test "$RESULT" = 0; then
15782 wx_cv_prog_makevpath
="yes"
15784 wx_cv_prog_makevpath
="no"
15788 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15789 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15791 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15792 { { echo "$as_me:$LINENO: error:
15793 You need a make-utility that is able to use the variable
15795 If your version of make does not support VPATH correctly,
15796 please install GNU-make (possibly as gmake), and start
15797 configure with the following command:
15798 export MAKE=gmake; ./configure for sh-type shells
15799 setenv MAKE gmake; ./configure for csh-type shells
15800 Also please do remember to use gmake in this case every time
15801 you are trying to compile.
15803 echo "$as_me: error:
15804 You need a make-utility that is able to use the variable
15806 If your version of make does not support VPATH correctly,
15807 please install GNU-make (possibly as gmake), and start
15808 configure with the following command:
15809 export MAKE=gmake; ./configure for sh-type shells
15810 setenv MAKE gmake; ./configure for csh-type shells
15811 Also please do remember to use gmake in this case every time
15812 you are trying to compile.
15814 { (exit 1); exit 1; }; }
15816 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15817 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15819 if test "$LN_S" = "ln -s"; then
15820 echo "$as_me:$LINENO: result: yes" >&5
15821 echo "${ECHO_T}yes" >&6
15823 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15824 echo "${ECHO_T}no, using $LN_S" >&6
15830 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15831 CXXFLAGS
="-qunique $CXXFLAGS"
15835 powerpc
-*-darwin* )
15836 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15837 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15838 cat >conftest.
$ac_ext <<_ACEOF
15841 cat confdefs.h
>>conftest.
$ac_ext
15842 cat >>conftest.
$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15848 #ifndef __POWERPC__
15849 choke me for lack of PowerPC
15856 rm -f conftest.
$ac_objext
15857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15858 (eval $ac_compile) 2>conftest.er1
15860 grep -v '^ *+' conftest.er1
>conftest.err
15862 cat conftest.err
>&5
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); } &&
15865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15867 (eval $ac_try) 2>&5
15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870 (exit $ac_status); }; } &&
15871 { ac_try
='test -s conftest.$ac_objext'
15872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15873 (eval $ac_try) 2>&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); }; }; then
15877 echo "$as_me:$LINENO: result: yes" >&5
15878 echo "${ECHO_T}yes" >&6
15880 echo "$as_me: failed program was:" >&5
15881 sed 's/^/| /' conftest.
$ac_ext >&5
15883 echo "$as_me:$LINENO: result: no" >&5
15884 echo "${ECHO_T}no" >&6
15885 cat >>confdefs.h
<<\_ACEOF
15886 #define __POWERPC__ 1
15891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15897 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15898 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15899 cat >conftest.
$ac_ext <<_ACEOF
15902 cat confdefs.h
>>conftest.
$ac_ext
15903 cat >>conftest.
$ac_ext <<_ACEOF
15904 /* end confdefs.h. */
15905 #include <CoreFoundation/CFBase.h>
15915 rm -f conftest.
$ac_objext
15916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15917 (eval $ac_compile) 2>conftest.er1
15919 grep -v '^ *+' conftest.er1
>conftest.err
15921 cat conftest.err
>&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); } &&
15924 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15926 (eval $ac_try) 2>&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); }; } &&
15930 { ac_try
='test -s conftest.$ac_objext'
15931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15932 (eval $ac_try) 2>&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); }; }; then
15936 echo "$as_me:$LINENO: result: yes" >&5
15937 echo "${ECHO_T}yes" >&6
15939 echo "$as_me: failed program was:" >&5
15940 sed 's/^/| /' conftest.
$ac_ext >&5
15942 echo "$as_me:$LINENO: result: no" >&5
15943 echo "${ECHO_T}no" >&6
15944 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15945 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15946 cat >conftest.
$ac_ext <<_ACEOF
15949 cat confdefs.h
>>conftest.
$ac_ext
15950 cat >>conftest.
$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 #define __CF_USE_FRAMEWORK_INCLUDES__
15953 #include <CoreFoundation/CFBase.h>
15963 rm -f conftest.
$ac_objext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15965 (eval $ac_compile) 2>conftest.er1
15967 grep -v '^ *+' conftest.er1
>conftest.err
15969 cat conftest.err
>&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); } &&
15972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15974 (eval $ac_try) 2>&5
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); }; } &&
15978 { ac_try
='test -s conftest.$ac_objext'
15979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15980 (eval $ac_try) 2>&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); }; }; then
15984 echo "$as_me:$LINENO: result: yes" >&5
15985 echo "${ECHO_T}yes" >&6
15986 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15988 echo "$as_me: failed program was:" >&5
15989 sed 's/^/| /' conftest.
$ac_ext >&5
15991 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15992 See \`config.log' for more details." >&5
15993 echo "$as_me: error: no. CoreFoundation not available.
15994 See \`config.log' for more details." >&2;}
15995 { (exit 1); exit 1; }; }
15998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16007 doesnt_want_win32
=0
16010 if test "$wxUSE_MSW" = 1 ; then
16013 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
16014 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
16015 if test "${wx_cv_nocygwin+set}" = set; then
16016 echo $ECHO_N "(cached) $ECHO_C" >&6
16019 cat >conftest.
$ac_ext <<_ACEOF
16022 cat confdefs.h
>>conftest.
$ac_ext
16023 cat >>conftest.
$ac_ext <<_ACEOF
16024 /* end confdefs.h. */
16038 rm -f conftest.
$ac_objext
16039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16040 (eval $ac_compile) 2>conftest.er1
16042 grep -v '^ *+' conftest.er1
>conftest.err
16044 cat conftest.err
>&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); } &&
16047 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16049 (eval $ac_try) 2>&5
16051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052 (exit $ac_status); }; } &&
16053 { ac_try
='test -s conftest.$ac_objext'
16054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16055 (eval $ac_try) 2>&5
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); }; }; then
16061 echo "$as_me: failed program was:" >&5
16062 sed 's/^/| /' conftest.
$ac_ext >&5
16067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16071 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16072 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16074 if test "$wx_cv_nocygwin" = "yes"; then
16077 doesnt_want_win32
=1
16080 if test "$wants_win32" = 1 ; then
16081 BAKEFILE_FORCE_PLATFORM
=win32
16089 if test "$wxUSE_WINE" = "yes"; then
16091 LDFLAGS_GUI
="-mwindows"
16094 if test "$wants_win32" = 1 ; then
16097 cat >>confdefs.h
<<\_ACEOF
16098 #define __WIN32__ 1
16101 cat >>confdefs.h
<<\_ACEOF
16102 #define __WIN95__ 1
16105 cat >>confdefs.h
<<\_ACEOF
16106 #define __WINDOWS__ 1
16109 cat >>confdefs.h
<<\_ACEOF
16110 #define __GNUWIN32__ 1
16113 cat >>confdefs.h
<<\_ACEOF
16118 if test "$doesnt_want_win32" = 1 ; then
16123 if test "$USE_UNIX" = 1 ; then
16125 cat >>confdefs.h
<<\_ACEOF
16132 *-pc-os2_emx | *-pc-os2-emx )
16133 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16134 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16135 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16136 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16137 echo $ECHO_N "(cached) $ECHO_C" >&6
16139 ac_check_lib_save_LIBS
=$LIBS
16140 LIBS
="-lcExt $LIBS"
16141 cat >conftest.
$ac_ext <<_ACEOF
16144 cat confdefs.h
>>conftest.
$ac_ext
16145 cat >>conftest.
$ac_ext <<_ACEOF
16146 /* end confdefs.h. */
16148 /* Override any gcc2 internal prototype to avoid an error. */
16152 /* We use char because int might match the return type of a gcc2
16153 builtin and then its argument prototype would still apply. */
16163 rm -f conftest.
$ac_objext conftest
$ac_exeext
16164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16165 (eval $ac_link) 2>conftest.er1
16167 grep -v '^ *+' conftest.er1
>conftest.err
16169 cat conftest.err
>&5
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); } &&
16172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16174 (eval $ac_try) 2>&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); }; } &&
16178 { ac_try
='test -s conftest$ac_exeext'
16179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16180 (eval $ac_try) 2>&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); }; }; then
16184 ac_cv_lib_cExt_drand48
=yes
16186 echo "$as_me: failed program was:" >&5
16187 sed 's/^/| /' conftest.
$ac_ext >&5
16189 ac_cv_lib_cExt_drand48
=no
16191 rm -f conftest.err conftest.
$ac_objext \
16192 conftest
$ac_exeext conftest.
$ac_ext
16193 LIBS
=$ac_check_lib_save_LIBS
16195 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16196 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16197 if test $ac_cv_lib_cExt_drand48 = yes; then
16198 LIBS
="$LIBS -lcExt"
16202 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
16204 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16205 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16206 if test "${wx_cv_gccversion+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16210 if test "$cross_compiling" = yes; then
16211 wx_cv_gccversion
="EMX2"
16214 cat >conftest.
$ac_ext <<_ACEOF
16217 cat confdefs.h
>>conftest.
$ac_ext
16218 cat >>conftest.
$ac_ext <<_ACEOF
16219 /* end confdefs.h. */
16225 FILE *f=fopen("conftestval", "w");
16230 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16232 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16242 rm -f conftest
$ac_exeext
16243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16244 (eval $ac_link) 2>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
16253 wx_cv_gccversion
=`cat conftestval`
16255 echo "$as_me: program exited with status $ac_status" >&5
16256 echo "$as_me: failed program was:" >&5
16257 sed 's/^/| /' conftest.
$ac_ext >&5
16259 ( exit $ac_status )
16260 wx_cv_gccversion
="EMX2"
16262 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16266 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16267 echo "${ECHO_T}$wx_cv_gccversion" >&6
16268 if test "$wx_cv_gccversion" = "EMX2"; then
16269 LIBS
="$LIBS -lstdcpp"
16270 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16272 if test "$wx_cv_gccversion" = "EMX3"; then
16273 LIBS
="$LIBS -lstdcxx -lgcc"
16274 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16276 LIBS
="$LIBS -lstdc++"
16279 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16280 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16281 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16288 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16289 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16290 if test "${ac_cv_string_strcasecmp+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16294 cat >conftest.
$ac_ext <<_ACEOF
16297 cat confdefs.h
>>conftest.
$ac_ext
16298 cat >>conftest.
$ac_ext <<_ACEOF
16299 /* end confdefs.h. */
16301 #include <string.h>
16307 strcasecmp("foo", "bar");
16313 rm -f conftest.
$ac_objext conftest
$ac_exeext
16314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16315 (eval $ac_link) 2>conftest.er1
16317 grep -v '^ *+' conftest.er1
>conftest.err
16319 cat conftest.err
>&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); } &&
16322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16324 (eval $ac_try) 2>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }; } &&
16328 { ac_try
='test -s conftest$ac_exeext'
16329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16330 (eval $ac_try) 2>&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); }; }; then
16334 ac_cv_string_strcasecmp
=yes
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.
$ac_ext >&5
16339 ac_cv_string_strcasecmp
=no
16342 rm -f conftest.err conftest.
$ac_objext \
16343 conftest
$ac_exeext conftest.
$ac_ext
16346 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16347 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16349 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16350 cat >>confdefs.h
<<\_ACEOF
16351 #define HAVE_STRCASECMP_IN_STRING_H 1
16355 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16356 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16357 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16358 echo $ECHO_N "(cached) $ECHO_C" >&6
16361 cat >conftest.
$ac_ext <<_ACEOF
16364 cat confdefs.h
>>conftest.
$ac_ext
16365 cat >>conftest.
$ac_ext <<_ACEOF
16366 /* end confdefs.h. */
16368 #include <strings.h>
16374 strcasecmp("foo", "bar");
16380 rm -f conftest.
$ac_objext conftest
$ac_exeext
16381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16382 (eval $ac_link) 2>conftest.er1
16384 grep -v '^ *+' conftest.er1
>conftest.err
16386 cat conftest.err
>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; } &&
16395 { ac_try
='test -s conftest$ac_exeext'
16396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16397 (eval $ac_try) 2>&5
16399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 (exit $ac_status); }; }; then
16401 ac_cv_strings_strcasecmp
=yes
16403 echo "$as_me: failed program was:" >&5
16404 sed 's/^/| /' conftest.
$ac_ext >&5
16406 ac_cv_strings_strcasecmp
=no
16409 rm -f conftest.err conftest.
$ac_objext \
16410 conftest
$ac_exeext conftest.
$ac_ext
16413 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16414 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16416 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16417 cat >>confdefs.h
<<\_ACEOF
16418 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16422 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16423 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16424 { (exit 1); exit 1; }; }
16432 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16433 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16434 if test "${ac_cv_header_stdc+set}" = set; then
16435 echo $ECHO_N "(cached) $ECHO_C" >&6
16437 cat >conftest.
$ac_ext <<_ACEOF
16440 cat confdefs.h
>>conftest.
$ac_ext
16441 cat >>conftest.
$ac_ext <<_ACEOF
16442 /* end confdefs.h. */
16443 #include <stdlib.h>
16444 #include <stdarg.h>
16445 #include <string.h>
16456 rm -f conftest.
$ac_objext
16457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16458 (eval $ac_compile) 2>conftest.er1
16460 grep -v '^ *+' conftest.er1
>conftest.err
16462 cat conftest.err
>&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); } &&
16465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16467 (eval $ac_try) 2>&5
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); }; } &&
16471 { ac_try
='test -s conftest.$ac_objext'
16472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16473 (eval $ac_try) 2>&5
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); }; }; then
16477 ac_cv_header_stdc
=yes
16479 echo "$as_me: failed program was:" >&5
16480 sed 's/^/| /' conftest.
$ac_ext >&5
16482 ac_cv_header_stdc
=no
16484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16486 if test $ac_cv_header_stdc = yes; then
16487 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16488 cat >conftest.
$ac_ext <<_ACEOF
16491 cat confdefs.h
>>conftest.
$ac_ext
16492 cat >>conftest.
$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16494 #include <string.h>
16497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16498 $EGREP "memchr" >/dev
/null
2>&1; then
16501 ac_cv_header_stdc
=no
16507 if test $ac_cv_header_stdc = yes; then
16508 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16509 cat >conftest.
$ac_ext <<_ACEOF
16512 cat confdefs.h
>>conftest.
$ac_ext
16513 cat >>conftest.
$ac_ext <<_ACEOF
16514 /* end confdefs.h. */
16515 #include <stdlib.h>
16518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16519 $EGREP "free" >/dev
/null
2>&1; then
16522 ac_cv_header_stdc
=no
16528 if test $ac_cv_header_stdc = yes; then
16529 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16530 if test "$cross_compiling" = yes; then
16533 cat >conftest.
$ac_ext <<_ACEOF
16536 cat confdefs.h
>>conftest.
$ac_ext
16537 cat >>conftest.
$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16540 #if ((' ' & 0x0FF) == 0x020)
16541 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16542 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16544 # define ISLOWER(c) \
16545 (('a' <= (c) && (c) <= 'i') \
16546 || ('j' <= (c) && (c) <= 'r') \
16547 || ('s' <= (c) && (c) <= 'z'))
16548 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16551 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16556 for (i = 0; i < 256; i++)
16557 if (XOR (islower (i), ISLOWER (i))
16558 || toupper (i) != TOUPPER (i))
16563 rm -f conftest
$ac_exeext
16564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16565 (eval $ac_link) 2>&5
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16576 echo "$as_me: program exited with status $ac_status" >&5
16577 echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.
$ac_ext >&5
16580 ( exit $ac_status )
16581 ac_cv_header_stdc
=no
16583 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16587 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16588 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16589 if test $ac_cv_header_stdc = yes; then
16591 cat >>confdefs.h
<<\_ACEOF
16592 #define STDC_HEADERS 1
16597 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16607 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16608 inttypes.h stdint.h unistd.h
16610 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16611 echo "$as_me:$LINENO: checking for $ac_header" >&5
16612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16614 echo $ECHO_N "(cached) $ECHO_C" >&6
16616 cat >conftest.
$ac_ext <<_ACEOF
16619 cat confdefs.h
>>conftest.
$ac_ext
16620 cat >>conftest.
$ac_ext <<_ACEOF
16621 /* end confdefs.h. */
16622 $ac_includes_default
16624 #include <$ac_header>
16626 rm -f conftest.
$ac_objext
16627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16628 (eval $ac_compile) 2>conftest.er1
16630 grep -v '^ *+' conftest.er1
>conftest.err
16632 cat conftest.err
>&5
16633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634 (exit $ac_status); } &&
16635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16637 (eval $ac_try) 2>&5
16639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 (exit $ac_status); }; } &&
16641 { ac_try
='test -s conftest.$ac_objext'
16642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16643 (eval $ac_try) 2>&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); }; }; then
16647 eval "$as_ac_Header=yes"
16649 echo "$as_me: failed program was:" >&5
16650 sed 's/^/| /' conftest.
$ac_ext >&5
16652 eval "$as_ac_Header=no"
16654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16659 cat >>confdefs.h
<<_ACEOF
16660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16674 for ac_header
in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
16676 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16678 echo "$as_me:$LINENO: checking for $ac_header" >&5
16679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16681 echo $ECHO_N "(cached) $ECHO_C" >&6
16683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16686 # Is the header compilable?
16687 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16688 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16689 cat >conftest.
$ac_ext <<_ACEOF
16692 cat confdefs.h
>>conftest.
$ac_ext
16693 cat >>conftest.
$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 $ac_includes_default
16696 #include <$ac_header>
16698 rm -f conftest.
$ac_objext
16699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16700 (eval $ac_compile) 2>conftest.er1
16702 grep -v '^ *+' conftest.er1
>conftest.err
16704 cat conftest.err
>&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); } &&
16707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709 (eval $ac_try) 2>&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }; } &&
16713 { ac_try
='test -s conftest.$ac_objext'
16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; }; then
16719 ac_header_compiler
=yes
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.
$ac_ext >&5
16724 ac_header_compiler
=no
16726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16728 echo "${ECHO_T}$ac_header_compiler" >&6
16730 # Is the header present?
16731 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16732 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16733 cat >conftest.
$ac_ext <<_ACEOF
16736 cat confdefs.h
>>conftest.
$ac_ext
16737 cat >>conftest.
$ac_ext <<_ACEOF
16738 /* end confdefs.h. */
16739 #include <$ac_header>
16741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16742 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16744 grep -v '^ *+' conftest.er1
>conftest.err
16746 cat conftest.err
>&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); } >/dev
/null
; then
16749 if test -s conftest.err
; then
16750 ac_cpp_err
=$ac_c_preproc_warn_flag
16751 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16758 if test -z "$ac_cpp_err"; then
16759 ac_header_preproc
=yes
16761 echo "$as_me: failed program was:" >&5
16762 sed 's/^/| /' conftest.
$ac_ext >&5
16764 ac_header_preproc
=no
16766 rm -f conftest.err conftest.
$ac_ext
16767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16768 echo "${ECHO_T}$ac_header_preproc" >&6
16770 # So? What about this header?
16771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16773 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16774 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16776 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16777 ac_header_preproc
=yes
16780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16784 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16785 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16786 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16787 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16789 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16790 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16791 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16794 ## ----------------------------------------- ##
16795 ## Report this to wx-dev@lists.wxwidgets.org ##
16796 ## ----------------------------------------- ##
16799 sed "s/^/$as_me: WARNING: /" >&2
16802 echo "$as_me:$LINENO: checking for $ac_header" >&5
16803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16805 echo $ECHO_N "(cached) $ECHO_C" >&6
16807 eval "$as_ac_Header=\$ac_header_preproc"
16809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16814 cat >>confdefs.h
<<_ACEOF
16815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16823 if test "$ac_cv_header_wchar_h" != "yes"; then
16825 for ac_header
in wcstr.h
16827 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16829 echo "$as_me:$LINENO: checking for $ac_header" >&5
16830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16832 echo $ECHO_N "(cached) $ECHO_C" >&6
16834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16837 # Is the header compilable?
16838 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16839 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16840 cat >conftest.
$ac_ext <<_ACEOF
16843 cat confdefs.h
>>conftest.
$ac_ext
16844 cat >>conftest.
$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 $ac_includes_default
16847 #include <$ac_header>
16849 rm -f conftest.
$ac_objext
16850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16851 (eval $ac_compile) 2>conftest.er1
16853 grep -v '^ *+' conftest.er1
>conftest.err
16855 cat conftest.err
>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } &&
16858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; } &&
16864 { ac_try
='test -s conftest.$ac_objext'
16865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16866 (eval $ac_try) 2>&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); }; }; then
16870 ac_header_compiler
=yes
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.
$ac_ext >&5
16875 ac_header_compiler
=no
16877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16879 echo "${ECHO_T}$ac_header_compiler" >&6
16881 # Is the header present?
16882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16884 cat >conftest.
$ac_ext <<_ACEOF
16887 cat confdefs.h
>>conftest.
$ac_ext
16888 cat >>conftest.
$ac_ext <<_ACEOF
16889 /* end confdefs.h. */
16890 #include <$ac_header>
16892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16893 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16895 grep -v '^ *+' conftest.er1
>conftest.err
16897 cat conftest.err
>&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } >/dev
/null
; then
16900 if test -s conftest.err
; then
16901 ac_cpp_err
=$ac_c_preproc_warn_flag
16902 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16909 if test -z "$ac_cpp_err"; then
16910 ac_header_preproc
=yes
16912 echo "$as_me: failed program was:" >&5
16913 sed 's/^/| /' conftest.
$ac_ext >&5
16915 ac_header_preproc
=no
16917 rm -f conftest.err conftest.
$ac_ext
16918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16919 echo "${ECHO_T}$ac_header_preproc" >&6
16921 # So? What about this header?
16922 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16924 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16925 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16927 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16928 ac_header_preproc
=yes
16931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16935 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16936 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16937 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16938 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16940 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16941 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16942 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16945 ## ----------------------------------------- ##
16946 ## Report this to wx-dev@lists.wxwidgets.org ##
16947 ## ----------------------------------------- ##
16950 sed "s/^/$as_me: WARNING: /" >&2
16953 echo "$as_me:$LINENO: checking for $ac_header" >&5
16954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16956 echo $ECHO_N "(cached) $ECHO_C" >&6
16958 eval "$as_ac_Header=\$ac_header_preproc"
16960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16965 cat >>confdefs.h
<<_ACEOF
16966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16976 *-pc-os2_emx | *-pc-os2-emx )
16977 if test $ac_cv_header_langinfo_h = "yes" \
16978 -a \
( "$wx_cv_gccversion" = "EMX2" \
16979 -o "$wx_cv_gccversion" = "EMX3" \
16980 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16981 LIBS
="$LIBS -lintl"
16986 if test "$USE_UNIX" = 1 ; then
16988 for ac_header
in sys
/select.h
16990 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16992 echo "$as_me:$LINENO: checking for $ac_header" >&5
16993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16995 echo $ECHO_N "(cached) $ECHO_C" >&6
16997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16998 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17000 # Is the header compilable?
17001 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17002 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17003 cat >conftest.
$ac_ext <<_ACEOF
17006 cat confdefs.h
>>conftest.
$ac_ext
17007 cat >>conftest.
$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17009 $ac_includes_default
17010 #include <$ac_header>
17012 rm -f conftest.
$ac_objext
17013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17014 (eval $ac_compile) 2>conftest.er1
17016 grep -v '^ *+' conftest.er1
>conftest.err
17018 cat conftest.err
>&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); } &&
17021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17023 (eval $ac_try) 2>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }; } &&
17027 { ac_try
='test -s conftest.$ac_objext'
17028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17029 (eval $ac_try) 2>&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); }; }; then
17033 ac_header_compiler
=yes
17035 echo "$as_me: failed program was:" >&5
17036 sed 's/^/| /' conftest.
$ac_ext >&5
17038 ac_header_compiler
=no
17040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17042 echo "${ECHO_T}$ac_header_compiler" >&6
17044 # Is the header present?
17045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17047 cat >conftest.
$ac_ext <<_ACEOF
17050 cat confdefs.h
>>conftest.
$ac_ext
17051 cat >>conftest.
$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 #include <$ac_header>
17055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17056 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
17063 if test -s conftest.err
; then
17064 ac_cpp_err
=$ac_c_preproc_warn_flag
17065 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17072 if test -z "$ac_cpp_err"; then
17073 ac_header_preproc
=yes
17075 echo "$as_me: failed program was:" >&5
17076 sed 's/^/| /' conftest.
$ac_ext >&5
17078 ac_header_preproc
=no
17080 rm -f conftest.err conftest.
$ac_ext
17081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17082 echo "${ECHO_T}$ac_header_preproc" >&6
17084 # So? What about this header?
17085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17091 ac_header_preproc
=yes
17094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17108 ## ----------------------------------------- ##
17109 ## Report this to wx-dev@lists.wxwidgets.org ##
17110 ## ----------------------------------------- ##
17113 sed "s/^/$as_me: WARNING: /" >&2
17116 echo "$as_me:$LINENO: checking for $ac_header" >&5
17117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 eval "$as_ac_Header=\$ac_header_preproc"
17123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17128 cat >>confdefs.h
<<_ACEOF
17129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17139 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17140 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17141 if test "${ac_cv_c_const+set}" = set; then
17142 echo $ECHO_N "(cached) $ECHO_C" >&6
17144 cat >conftest.
$ac_ext <<_ACEOF
17147 cat confdefs.h
>>conftest.
$ac_ext
17148 cat >>conftest.
$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17154 /* FIXME: Include the comments suggested by Paul. */
17155 #ifndef __cplusplus
17156 /* Ultrix mips cc rejects this. */
17157 typedef int charset[2];
17159 /* SunOS 4.1.1 cc rejects this. */
17160 char const *const *ccp;
17162 /* NEC SVR4.0.2 mips cc rejects this. */
17163 struct point {int x, y;};
17164 static struct point const zero = {0,0};
17165 /* AIX XL C 1.02.0.0 rejects this.
17166 It does not let you subtract one const X* pointer from another in
17167 an arm of an if-expression whose if-part is not a constant
17169 const char *g = "string";
17170 ccp = &g + (g ? g-g : 0);
17171 /* HPUX 7.0 cc rejects these. */
17174 ccp = (char const *const *) p;
17175 { /* SCO 3.2v4 cc rejects this. */
17177 char const *s = 0 ? (char *) 0 : (char const *) 0;
17181 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17182 int x[] = {25, 17};
17183 const int *foo = &x[0];
17186 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17187 typedef const int *iptr;
17191 { /* AIX XL C 1.02.0.0 rejects this saying
17192 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17193 struct s { int j; const int *ap[3]; };
17194 struct s *b; b->j = 5;
17196 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17197 const int foo = 10;
17205 rm -f conftest.
$ac_objext
17206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17207 (eval $ac_compile) 2>conftest.er1
17209 grep -v '^ *+' conftest.er1
>conftest.err
17211 cat conftest.err
>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); } &&
17214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17216 (eval $ac_try) 2>&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); }; } &&
17220 { ac_try
='test -s conftest.$ac_objext'
17221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17222 (eval $ac_try) 2>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); }; }; then
17228 echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.
$ac_ext >&5
17233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17235 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17236 echo "${ECHO_T}$ac_cv_c_const" >&6
17237 if test $ac_cv_c_const = no
; then
17239 cat >>confdefs.h
<<\_ACEOF
17245 echo "$as_me:$LINENO: checking for inline" >&5
17246 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17247 if test "${ac_cv_c_inline+set}" = set; then
17248 echo $ECHO_N "(cached) $ECHO_C" >&6
17251 for ac_kw
in inline __inline__ __inline
; do
17252 cat >conftest.
$ac_ext <<_ACEOF
17255 cat confdefs.h
>>conftest.
$ac_ext
17256 cat >>conftest.
$ac_ext <<_ACEOF
17257 /* end confdefs.h. */
17258 #ifndef __cplusplus
17260 static $ac_kw foo_t static_foo () {return 0; }
17261 $ac_kw foo_t foo () {return 0; }
17265 rm -f conftest.
$ac_objext
17266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17267 (eval $ac_compile) 2>conftest.er1
17269 grep -v '^ *+' conftest.er1
>conftest.err
17271 cat conftest.err
>&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); } &&
17274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17276 (eval $ac_try) 2>&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); }; } &&
17280 { ac_try
='test -s conftest.$ac_objext'
17281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17282 (eval $ac_try) 2>&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); }; }; then
17286 ac_cv_c_inline
=$ac_kw; break
17288 echo "$as_me: failed program was:" >&5
17289 sed 's/^/| /' conftest.
$ac_ext >&5
17292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17296 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17297 echo "${ECHO_T}$ac_cv_c_inline" >&6
17300 case $ac_cv_c_inline in
17303 case $ac_cv_c_inline in
17305 *) ac_val
=$ac_cv_c_inline;;
17307 cat >>confdefs.h
<<_ACEOF
17308 #ifndef __cplusplus
17309 #define inline $ac_val
17316 echo "$as_me:$LINENO: checking for char" >&5
17317 echo $ECHO_N "checking for char... $ECHO_C" >&6
17318 if test "${ac_cv_type_char+set}" = set; then
17319 echo $ECHO_N "(cached) $ECHO_C" >&6
17321 cat >conftest.
$ac_ext <<_ACEOF
17324 cat confdefs.h
>>conftest.
$ac_ext
17325 cat >>conftest.
$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17327 $ac_includes_default
17339 rm -f conftest.
$ac_objext
17340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17341 (eval $ac_compile) 2>conftest.er1
17343 grep -v '^ *+' conftest.er1
>conftest.err
17345 cat conftest.err
>&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); } &&
17348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; } &&
17354 { ac_try
='test -s conftest.$ac_objext'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; }; then
17360 ac_cv_type_char
=yes
17362 echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.
$ac_ext >&5
17367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17369 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17370 echo "${ECHO_T}$ac_cv_type_char" >&6
17372 echo "$as_me:$LINENO: checking size of char" >&5
17373 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17374 if test "${ac_cv_sizeof_char+set}" = set; then
17375 echo $ECHO_N "(cached) $ECHO_C" >&6
17377 if test "$ac_cv_type_char" = yes; then
17378 # The cast to unsigned long works around a bug in the HP C Compiler
17379 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17380 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17381 # This bug is HP SR number 8606223364.
17382 if test "$cross_compiling" = yes; then
17383 # Depending upon the size, compute the lo and hi bounds.
17384 cat >conftest.
$ac_ext <<_ACEOF
17387 cat confdefs.h
>>conftest.
$ac_ext
17388 cat >>conftest.
$ac_ext <<_ACEOF
17389 /* end confdefs.h. */
17390 $ac_includes_default
17394 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17401 rm -f conftest.
$ac_objext
17402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17403 (eval $ac_compile) 2>conftest.er1
17405 grep -v '^ *+' conftest.er1
>conftest.err
17407 cat conftest.err
>&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); } &&
17410 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17412 (eval $ac_try) 2>&5
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); }; } &&
17416 { ac_try
='test -s conftest.$ac_objext'
17417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17418 (eval $ac_try) 2>&5
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); }; }; then
17424 cat >conftest.
$ac_ext <<_ACEOF
17427 cat confdefs.h
>>conftest.
$ac_ext
17428 cat >>conftest.
$ac_ext <<_ACEOF
17429 /* end confdefs.h. */
17430 $ac_includes_default
17434 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17441 rm -f conftest.
$ac_objext
17442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17443 (eval $ac_compile) 2>conftest.er1
17445 grep -v '^ *+' conftest.er1
>conftest.err
17447 cat conftest.err
>&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); } &&
17450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452 (eval $ac_try) 2>&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); }; } &&
17456 { ac_try
='test -s conftest.$ac_objext'
17457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458 (eval $ac_try) 2>&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); }; }; then
17462 ac_hi
=$ac_mid; break
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.
$ac_ext >&5
17467 ac_lo
=`expr $ac_mid + 1`
17468 if test $ac_lo -le $ac_mid; then
17472 ac_mid
=`expr 2 '*' $ac_mid + 1`
17474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.
$ac_ext >&5
17480 cat >conftest.
$ac_ext <<_ACEOF
17483 cat confdefs.h
>>conftest.
$ac_ext
17484 cat >>conftest.
$ac_ext <<_ACEOF
17485 /* end confdefs.h. */
17486 $ac_includes_default
17490 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17497 rm -f conftest.
$ac_objext
17498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17499 (eval $ac_compile) 2>conftest.er1
17501 grep -v '^ *+' conftest.er1
>conftest.err
17503 cat conftest.err
>&5
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); } &&
17506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17508 (eval $ac_try) 2>&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); }; } &&
17512 { ac_try
='test -s conftest.$ac_objext'
17513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17514 (eval $ac_try) 2>&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); }; }; then
17520 cat >conftest.
$ac_ext <<_ACEOF
17523 cat confdefs.h
>>conftest.
$ac_ext
17524 cat >>conftest.
$ac_ext <<_ACEOF
17525 /* end confdefs.h. */
17526 $ac_includes_default
17530 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17537 rm -f conftest.
$ac_objext
17538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17539 (eval $ac_compile) 2>conftest.er1
17541 grep -v '^ *+' conftest.er1
>conftest.err
17543 cat conftest.err
>&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); } &&
17546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; } &&
17552 { ac_try
='test -s conftest.$ac_objext'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; }; then
17558 ac_lo
=$ac_mid; break
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.
$ac_ext >&5
17563 ac_hi
=`expr '(' $ac_mid ')' - 1`
17564 if test $ac_mid -le $ac_hi; then
17568 ac_mid
=`expr 2 '*' $ac_mid`
17570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17573 echo "$as_me: failed program was:" >&5
17574 sed 's/^/| /' conftest.
$ac_ext >&5
17578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17581 # Binary search between lo and hi bounds.
17582 while test "x$ac_lo" != "x$ac_hi"; do
17583 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17584 cat >conftest.
$ac_ext <<_ACEOF
17587 cat confdefs.h
>>conftest.
$ac_ext
17588 cat >>conftest.
$ac_ext <<_ACEOF
17589 /* end confdefs.h. */
17590 $ac_includes_default
17594 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17601 rm -f conftest.
$ac_objext
17602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17603 (eval $ac_compile) 2>conftest.er1
17605 grep -v '^ *+' conftest.er1
>conftest.err
17607 cat conftest.err
>&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } &&
17610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; } &&
17616 { ac_try
='test -s conftest.$ac_objext'
17617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17618 (eval $ac_try) 2>&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); }; }; then
17624 echo "$as_me: failed program was:" >&5
17625 sed 's/^/| /' conftest.
$ac_ext >&5
17627 ac_lo
=`expr '(' $ac_mid ')' + 1`
17629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17632 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17633 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17634 See \`config.log' for more details." >&5
17635 echo "$as_me: error: cannot compute sizeof (char), 77
17636 See \`config.log' for more details." >&2;}
17637 { (exit 1); exit 1; }; } ;;
17640 if test "$cross_compiling" = yes; then
17641 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17642 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17643 { (exit 1); exit 1; }; }
17645 cat >conftest.
$ac_ext <<_ACEOF
17648 cat confdefs.h
>>conftest.
$ac_ext
17649 cat >>conftest.
$ac_ext <<_ACEOF
17650 /* end confdefs.h. */
17651 $ac_includes_default
17652 long longval () { return (long) (sizeof (char)); }
17653 unsigned long ulongval () { return (long) (sizeof (char)); }
17655 #include <stdlib.h>
17660 FILE *f = fopen ("conftest.val", "w");
17663 if (((long) (sizeof (char))) < 0)
17665 long i = longval ();
17666 if (i != ((long) (sizeof (char))))
17668 fprintf (f, "%ld\n", i);
17672 unsigned long i = ulongval ();
17673 if (i != ((long) (sizeof (char))))
17675 fprintf (f, "%lu\n", i);
17677 exit (ferror (f) || fclose (f) != 0);
17683 rm -f conftest
$ac_exeext
17684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17685 (eval $ac_link) 2>&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690 (eval $ac_try) 2>&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; }; then
17694 ac_cv_sizeof_char
=`cat conftest.val`
17696 echo "$as_me: program exited with status $ac_status" >&5
17697 echo "$as_me: failed program was:" >&5
17698 sed 's/^/| /' conftest.
$ac_ext >&5
17700 ( exit $ac_status )
17701 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17702 See \`config.log' for more details." >&5
17703 echo "$as_me: error: cannot compute sizeof (char), 77
17704 See \`config.log' for more details." >&2;}
17705 { (exit 1); exit 1; }; }
17707 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17712 ac_cv_sizeof_char
=0
17715 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17716 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17717 cat >>confdefs.h
<<_ACEOF
17718 #define SIZEOF_CHAR $ac_cv_sizeof_char
17722 echo "$as_me:$LINENO: checking for short" >&5
17723 echo $ECHO_N "checking for short... $ECHO_C" >&6
17724 if test "${ac_cv_type_short+set}" = set; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17727 cat >conftest.
$ac_ext <<_ACEOF
17730 cat confdefs.h
>>conftest.
$ac_ext
17731 cat >>conftest.
$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17733 $ac_includes_default
17739 if (sizeof (short))
17745 rm -f conftest.
$ac_objext
17746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17747 (eval $ac_compile) 2>conftest.er1
17749 grep -v '^ *+' conftest.er1
>conftest.err
17751 cat conftest.err
>&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } &&
17754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; } &&
17760 { ac_try
='test -s conftest.$ac_objext'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; }; then
17766 ac_cv_type_short
=yes
17768 echo "$as_me: failed program was:" >&5
17769 sed 's/^/| /' conftest.
$ac_ext >&5
17771 ac_cv_type_short
=no
17773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17775 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17776 echo "${ECHO_T}$ac_cv_type_short" >&6
17778 echo "$as_me:$LINENO: checking size of short" >&5
17779 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17780 if test "${ac_cv_sizeof_short+set}" = set; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17783 if test "$ac_cv_type_short" = yes; then
17784 # The cast to unsigned long works around a bug in the HP C Compiler
17785 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17786 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17787 # This bug is HP SR number 8606223364.
17788 if test "$cross_compiling" = yes; then
17789 # Depending upon the size, compute the lo and hi bounds.
17790 cat >conftest.
$ac_ext <<_ACEOF
17793 cat confdefs.h
>>conftest.
$ac_ext
17794 cat >>conftest.
$ac_ext <<_ACEOF
17795 /* end confdefs.h. */
17796 $ac_includes_default
17800 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17807 rm -f conftest.
$ac_objext
17808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17809 (eval $ac_compile) 2>conftest.er1
17811 grep -v '^ *+' conftest.er1
>conftest.err
17813 cat conftest.err
>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } &&
17816 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17818 (eval $ac_try) 2>&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); }; } &&
17822 { ac_try
='test -s conftest.$ac_objext'
17823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17824 (eval $ac_try) 2>&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); }; }; then
17830 cat >conftest.
$ac_ext <<_ACEOF
17833 cat confdefs.h
>>conftest.
$ac_ext
17834 cat >>conftest.
$ac_ext <<_ACEOF
17835 /* end confdefs.h. */
17836 $ac_includes_default
17840 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17847 rm -f conftest.
$ac_objext
17848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17849 (eval $ac_compile) 2>conftest.er1
17851 grep -v '^ *+' conftest.er1
>conftest.err
17853 cat conftest.err
>&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); } &&
17856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; } &&
17862 { ac_try
='test -s conftest.$ac_objext'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; }; then
17868 ac_hi
=$ac_mid; break
17870 echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.
$ac_ext >&5
17873 ac_lo
=`expr $ac_mid + 1`
17874 if test $ac_lo -le $ac_mid; then
17878 ac_mid
=`expr 2 '*' $ac_mid + 1`
17880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.
$ac_ext >&5
17886 cat >conftest.
$ac_ext <<_ACEOF
17889 cat confdefs.h
>>conftest.
$ac_ext
17890 cat >>conftest.
$ac_ext <<_ACEOF
17891 /* end confdefs.h. */
17892 $ac_includes_default
17896 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17903 rm -f conftest.
$ac_objext
17904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17905 (eval $ac_compile) 2>conftest.er1
17907 grep -v '^ *+' conftest.er1
>conftest.err
17909 cat conftest.err
>&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } &&
17912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17914 (eval $ac_try) 2>&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); }; } &&
17918 { ac_try
='test -s conftest.$ac_objext'
17919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17920 (eval $ac_try) 2>&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); }; }; then
17926 cat >conftest.
$ac_ext <<_ACEOF
17929 cat confdefs.h
>>conftest.
$ac_ext
17930 cat >>conftest.
$ac_ext <<_ACEOF
17931 /* end confdefs.h. */
17932 $ac_includes_default
17936 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17943 rm -f conftest.
$ac_objext
17944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17945 (eval $ac_compile) 2>conftest.er1
17947 grep -v '^ *+' conftest.er1
>conftest.err
17949 cat conftest.err
>&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); } &&
17952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17954 (eval $ac_try) 2>&5
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); }; } &&
17958 { ac_try
='test -s conftest.$ac_objext'
17959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17960 (eval $ac_try) 2>&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); }; }; then
17964 ac_lo
=$ac_mid; break
17966 echo "$as_me: failed program was:" >&5
17967 sed 's/^/| /' conftest.
$ac_ext >&5
17969 ac_hi
=`expr '(' $ac_mid ')' - 1`
17970 if test $ac_mid -le $ac_hi; then
17974 ac_mid
=`expr 2 '*' $ac_mid`
17976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17979 echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.
$ac_ext >&5
17984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17987 # Binary search between lo and hi bounds.
17988 while test "x$ac_lo" != "x$ac_hi"; do
17989 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17990 cat >conftest.
$ac_ext <<_ACEOF
17993 cat confdefs.h
>>conftest.
$ac_ext
17994 cat >>conftest.
$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
17996 $ac_includes_default
18000 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18007 rm -f conftest.
$ac_objext
18008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18009 (eval $ac_compile) 2>conftest.er1
18011 grep -v '^ *+' conftest.er1
>conftest.err
18013 cat conftest.err
>&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); } &&
18016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018 (eval $ac_try) 2>&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; } &&
18022 { ac_try
='test -s conftest.$ac_objext'
18023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18024 (eval $ac_try) 2>&5
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); }; }; then
18030 echo "$as_me: failed program was:" >&5
18031 sed 's/^/| /' conftest.
$ac_ext >&5
18033 ac_lo
=`expr '(' $ac_mid ')' + 1`
18035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18038 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18039 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18040 See \`config.log' for more details." >&5
18041 echo "$as_me: error: cannot compute sizeof (short), 77
18042 See \`config.log' for more details." >&2;}
18043 { (exit 1); exit 1; }; } ;;
18046 if test "$cross_compiling" = yes; then
18047 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18048 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18049 { (exit 1); exit 1; }; }
18051 cat >conftest.
$ac_ext <<_ACEOF
18054 cat confdefs.h
>>conftest.
$ac_ext
18055 cat >>conftest.
$ac_ext <<_ACEOF
18056 /* end confdefs.h. */
18057 $ac_includes_default
18058 long longval () { return (long) (sizeof (short)); }
18059 unsigned long ulongval () { return (long) (sizeof (short)); }
18061 #include <stdlib.h>
18066 FILE *f = fopen ("conftest.val", "w");
18069 if (((long) (sizeof (short))) < 0)
18071 long i = longval ();
18072 if (i != ((long) (sizeof (short))))
18074 fprintf (f, "%ld\n", i);
18078 unsigned long i = ulongval ();
18079 if (i != ((long) (sizeof (short))))
18081 fprintf (f, "%lu\n", i);
18083 exit (ferror (f) || fclose (f) != 0);
18089 rm -f conftest
$ac_exeext
18090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18091 (eval $ac_link) 2>&5
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18096 (eval $ac_try) 2>&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); }; }; then
18100 ac_cv_sizeof_short
=`cat conftest.val`
18102 echo "$as_me: program exited with status $ac_status" >&5
18103 echo "$as_me: failed program was:" >&5
18104 sed 's/^/| /' conftest.
$ac_ext >&5
18106 ( exit $ac_status )
18107 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18108 See \`config.log' for more details." >&5
18109 echo "$as_me: error: cannot compute sizeof (short), 77
18110 See \`config.log' for more details." >&2;}
18111 { (exit 1); exit 1; }; }
18113 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18118 ac_cv_sizeof_short
=0
18121 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18122 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18123 cat >>confdefs.h
<<_ACEOF
18124 #define SIZEOF_SHORT $ac_cv_sizeof_short
18128 echo "$as_me:$LINENO: checking for void *" >&5
18129 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18130 if test "${ac_cv_type_void_p+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 cat >conftest.
$ac_ext <<_ACEOF
18136 cat confdefs.h
>>conftest.
$ac_ext
18137 cat >>conftest.
$ac_ext <<_ACEOF
18138 /* end confdefs.h. */
18139 $ac_includes_default
18145 if (sizeof (void *))
18151 rm -f conftest.
$ac_objext
18152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18153 (eval $ac_compile) 2>conftest.er1
18155 grep -v '^ *+' conftest.er1
>conftest.err
18157 cat conftest.err
>&5
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); } &&
18160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162 (eval $ac_try) 2>&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); }; } &&
18166 { ac_try
='test -s conftest.$ac_objext'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; }; then
18172 ac_cv_type_void_p
=yes
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.
$ac_ext >&5
18177 ac_cv_type_void_p
=no
18179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18181 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18182 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18184 echo "$as_me:$LINENO: checking size of void *" >&5
18185 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18186 if test "${ac_cv_sizeof_void_p+set}" = set; then
18187 echo $ECHO_N "(cached) $ECHO_C" >&6
18189 if test "$ac_cv_type_void_p" = yes; then
18190 # The cast to unsigned long works around a bug in the HP C Compiler
18191 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18192 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18193 # This bug is HP SR number 8606223364.
18194 if test "$cross_compiling" = yes; then
18195 # Depending upon the size, compute the lo and hi bounds.
18196 cat >conftest.
$ac_ext <<_ACEOF
18199 cat confdefs.h
>>conftest.
$ac_ext
18200 cat >>conftest.
$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18202 $ac_includes_default
18206 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18213 rm -f conftest.
$ac_objext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>conftest.er1
18217 grep -v '^ *+' conftest.er1
>conftest.err
18219 cat conftest.err
>&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; } &&
18228 { ac_try
='test -s conftest.$ac_objext'
18229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18230 (eval $ac_try) 2>&5
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; }; then
18236 cat >conftest.
$ac_ext <<_ACEOF
18239 cat confdefs.h
>>conftest.
$ac_ext
18240 cat >>conftest.
$ac_ext <<_ACEOF
18241 /* end confdefs.h. */
18242 $ac_includes_default
18246 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18253 rm -f conftest.
$ac_objext
18254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18255 (eval $ac_compile) 2>conftest.er1
18257 grep -v '^ *+' conftest.er1
>conftest.err
18259 cat conftest.err
>&5
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); } &&
18262 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18264 (eval $ac_try) 2>&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); }; } &&
18268 { ac_try
='test -s conftest.$ac_objext'
18269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18270 (eval $ac_try) 2>&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); }; }; then
18274 ac_hi
=$ac_mid; break
18276 echo "$as_me: failed program was:" >&5
18277 sed 's/^/| /' conftest.
$ac_ext >&5
18279 ac_lo
=`expr $ac_mid + 1`
18280 if test $ac_lo -le $ac_mid; then
18284 ac_mid
=`expr 2 '*' $ac_mid + 1`
18286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18289 echo "$as_me: failed program was:" >&5
18290 sed 's/^/| /' conftest.
$ac_ext >&5
18292 cat >conftest.
$ac_ext <<_ACEOF
18295 cat confdefs.h
>>conftest.
$ac_ext
18296 cat >>conftest.
$ac_ext <<_ACEOF
18297 /* end confdefs.h. */
18298 $ac_includes_default
18302 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18309 rm -f conftest.
$ac_objext
18310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18311 (eval $ac_compile) 2>conftest.er1
18313 grep -v '^ *+' conftest.er1
>conftest.err
18315 cat conftest.err
>&5
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); } &&
18318 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; } &&
18324 { ac_try
='test -s conftest.$ac_objext'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; }; then
18332 cat >conftest.
$ac_ext <<_ACEOF
18335 cat confdefs.h
>>conftest.
$ac_ext
18336 cat >>conftest.
$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338 $ac_includes_default
18342 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18349 rm -f conftest.
$ac_objext
18350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18351 (eval $ac_compile) 2>conftest.er1
18353 grep -v '^ *+' conftest.er1
>conftest.err
18355 cat conftest.err
>&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } &&
18358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360 (eval $ac_try) 2>&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); }; } &&
18364 { ac_try
='test -s conftest.$ac_objext'
18365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18366 (eval $ac_try) 2>&5
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); }; }; then
18370 ac_lo
=$ac_mid; break
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.
$ac_ext >&5
18375 ac_hi
=`expr '(' $ac_mid ')' - 1`
18376 if test $ac_mid -le $ac_hi; then
18380 ac_mid
=`expr 2 '*' $ac_mid`
18382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18385 echo "$as_me: failed program was:" >&5
18386 sed 's/^/| /' conftest.
$ac_ext >&5
18390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18393 # Binary search between lo and hi bounds.
18394 while test "x$ac_lo" != "x$ac_hi"; do
18395 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18396 cat >conftest.
$ac_ext <<_ACEOF
18399 cat confdefs.h
>>conftest.
$ac_ext
18400 cat >>conftest.
$ac_ext <<_ACEOF
18401 /* end confdefs.h. */
18402 $ac_includes_default
18406 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18413 rm -f conftest.
$ac_objext
18414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18415 (eval $ac_compile) 2>conftest.er1
18417 grep -v '^ *+' conftest.er1
>conftest.err
18419 cat conftest.err
>&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); } &&
18422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424 (eval $ac_try) 2>&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); }; } &&
18428 { ac_try
='test -s conftest.$ac_objext'
18429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18430 (eval $ac_try) 2>&5
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); }; }; then
18436 echo "$as_me: failed program was:" >&5
18437 sed 's/^/| /' conftest.
$ac_ext >&5
18439 ac_lo
=`expr '(' $ac_mid ')' + 1`
18441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18444 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18445 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18446 See \`config.log' for more details." >&5
18447 echo "$as_me: error: cannot compute sizeof (void *), 77
18448 See \`config.log' for more details." >&2;}
18449 { (exit 1); exit 1; }; } ;;
18452 if test "$cross_compiling" = yes; then
18453 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18454 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18455 { (exit 1); exit 1; }; }
18457 cat >conftest.
$ac_ext <<_ACEOF
18460 cat confdefs.h
>>conftest.
$ac_ext
18461 cat >>conftest.
$ac_ext <<_ACEOF
18462 /* end confdefs.h. */
18463 $ac_includes_default
18464 long longval () { return (long) (sizeof (void *)); }
18465 unsigned long ulongval () { return (long) (sizeof (void *)); }
18467 #include <stdlib.h>
18472 FILE *f = fopen ("conftest.val", "w");
18475 if (((long) (sizeof (void *))) < 0)
18477 long i = longval ();
18478 if (i != ((long) (sizeof (void *))))
18480 fprintf (f, "%ld\n", i);
18484 unsigned long i = ulongval ();
18485 if (i != ((long) (sizeof (void *))))
18487 fprintf (f, "%lu\n", i);
18489 exit (ferror (f) || fclose (f) != 0);
18495 rm -f conftest
$ac_exeext
18496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18497 (eval $ac_link) 2>&5
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18502 (eval $ac_try) 2>&5
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); }; }; then
18506 ac_cv_sizeof_void_p
=`cat conftest.val`
18508 echo "$as_me: program exited with status $ac_status" >&5
18509 echo "$as_me: failed program was:" >&5
18510 sed 's/^/| /' conftest.
$ac_ext >&5
18512 ( exit $ac_status )
18513 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18514 See \`config.log' for more details." >&5
18515 echo "$as_me: error: cannot compute sizeof (void *), 77
18516 See \`config.log' for more details." >&2;}
18517 { (exit 1); exit 1; }; }
18519 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18524 ac_cv_sizeof_void_p
=0
18527 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18528 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18529 cat >>confdefs.h
<<_ACEOF
18530 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18534 echo "$as_me:$LINENO: checking for int" >&5
18535 echo $ECHO_N "checking for int... $ECHO_C" >&6
18536 if test "${ac_cv_type_int+set}" = set; then
18537 echo $ECHO_N "(cached) $ECHO_C" >&6
18539 cat >conftest.
$ac_ext <<_ACEOF
18542 cat confdefs.h
>>conftest.
$ac_ext
18543 cat >>conftest.
$ac_ext <<_ACEOF
18544 /* end confdefs.h. */
18545 $ac_includes_default
18557 rm -f conftest.
$ac_objext
18558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18559 (eval $ac_compile) 2>conftest.er1
18561 grep -v '^ *+' conftest.er1
>conftest.err
18563 cat conftest.err
>&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } &&
18566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; } &&
18572 { ac_try
='test -s conftest.$ac_objext'
18573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18574 (eval $ac_try) 2>&5
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); }; }; then
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.
$ac_ext >&5
18585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18587 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18588 echo "${ECHO_T}$ac_cv_type_int" >&6
18590 echo "$as_me:$LINENO: checking size of int" >&5
18591 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18592 if test "${ac_cv_sizeof_int+set}" = set; then
18593 echo $ECHO_N "(cached) $ECHO_C" >&6
18595 if test "$ac_cv_type_int" = yes; then
18596 # The cast to unsigned long works around a bug in the HP C Compiler
18597 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18598 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18599 # This bug is HP SR number 8606223364.
18600 if test "$cross_compiling" = yes; then
18601 # Depending upon the size, compute the lo and hi bounds.
18602 cat >conftest.
$ac_ext <<_ACEOF
18605 cat confdefs.h
>>conftest.
$ac_ext
18606 cat >>conftest.
$ac_ext <<_ACEOF
18607 /* end confdefs.h. */
18608 $ac_includes_default
18612 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18619 rm -f conftest.
$ac_objext
18620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18621 (eval $ac_compile) 2>conftest.er1
18623 grep -v '^ *+' conftest.er1
>conftest.err
18625 cat conftest.err
>&5
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); } &&
18628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18630 (eval $ac_try) 2>&5
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); }; } &&
18634 { ac_try
='test -s conftest.$ac_objext'
18635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18636 (eval $ac_try) 2>&5
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); }; }; then
18642 cat >conftest.
$ac_ext <<_ACEOF
18645 cat confdefs.h
>>conftest.
$ac_ext
18646 cat >>conftest.
$ac_ext <<_ACEOF
18647 /* end confdefs.h. */
18648 $ac_includes_default
18652 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18659 rm -f conftest.
$ac_objext
18660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18661 (eval $ac_compile) 2>conftest.er1
18663 grep -v '^ *+' conftest.er1
>conftest.err
18665 cat conftest.err
>&5
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); } &&
18668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18670 (eval $ac_try) 2>&5
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); }; } &&
18674 { ac_try
='test -s conftest.$ac_objext'
18675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18676 (eval $ac_try) 2>&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); }; }; then
18680 ac_hi
=$ac_mid; break
18682 echo "$as_me: failed program was:" >&5
18683 sed 's/^/| /' conftest.
$ac_ext >&5
18685 ac_lo
=`expr $ac_mid + 1`
18686 if test $ac_lo -le $ac_mid; then
18690 ac_mid
=`expr 2 '*' $ac_mid + 1`
18692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18695 echo "$as_me: failed program was:" >&5
18696 sed 's/^/| /' conftest.
$ac_ext >&5
18698 cat >conftest.
$ac_ext <<_ACEOF
18701 cat confdefs.h
>>conftest.
$ac_ext
18702 cat >>conftest.
$ac_ext <<_ACEOF
18703 /* end confdefs.h. */
18704 $ac_includes_default
18708 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18715 rm -f conftest.
$ac_objext
18716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18717 (eval $ac_compile) 2>conftest.er1
18719 grep -v '^ *+' conftest.er1
>conftest.err
18721 cat conftest.err
>&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } &&
18724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18726 (eval $ac_try) 2>&5
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); }; } &&
18730 { ac_try
='test -s conftest.$ac_objext'
18731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18732 (eval $ac_try) 2>&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); }; }; then
18738 cat >conftest.
$ac_ext <<_ACEOF
18741 cat confdefs.h
>>conftest.
$ac_ext
18742 cat >>conftest.
$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18744 $ac_includes_default
18748 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18755 rm -f conftest.
$ac_objext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18757 (eval $ac_compile) 2>conftest.er1
18759 grep -v '^ *+' conftest.er1
>conftest.err
18761 cat conftest.err
>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } &&
18764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; } &&
18770 { ac_try
='test -s conftest.$ac_objext'
18771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772 (eval $ac_try) 2>&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; }; then
18776 ac_lo
=$ac_mid; break
18778 echo "$as_me: failed program was:" >&5
18779 sed 's/^/| /' conftest.
$ac_ext >&5
18781 ac_hi
=`expr '(' $ac_mid ')' - 1`
18782 if test $ac_mid -le $ac_hi; then
18786 ac_mid
=`expr 2 '*' $ac_mid`
18788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.
$ac_ext >&5
18796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18799 # Binary search between lo and hi bounds.
18800 while test "x$ac_lo" != "x$ac_hi"; do
18801 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18802 cat >conftest.
$ac_ext <<_ACEOF
18805 cat confdefs.h
>>conftest.
$ac_ext
18806 cat >>conftest.
$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18808 $ac_includes_default
18812 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18819 rm -f conftest.
$ac_objext
18820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18821 (eval $ac_compile) 2>conftest.er1
18823 grep -v '^ *+' conftest.er1
>conftest.err
18825 cat conftest.err
>&5
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); } &&
18828 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18830 (eval $ac_try) 2>&5
18832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18833 (exit $ac_status); }; } &&
18834 { ac_try
='test -s conftest.$ac_objext'
18835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18836 (eval $ac_try) 2>&5
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); }; }; then
18842 echo "$as_me: failed program was:" >&5
18843 sed 's/^/| /' conftest.
$ac_ext >&5
18845 ac_lo
=`expr '(' $ac_mid ')' + 1`
18847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18850 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18851 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18852 See \`config.log' for more details." >&5
18853 echo "$as_me: error: cannot compute sizeof (int), 77
18854 See \`config.log' for more details." >&2;}
18855 { (exit 1); exit 1; }; } ;;
18858 if test "$cross_compiling" = yes; then
18859 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18860 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18861 { (exit 1); exit 1; }; }
18863 cat >conftest.
$ac_ext <<_ACEOF
18866 cat confdefs.h
>>conftest.
$ac_ext
18867 cat >>conftest.
$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869 $ac_includes_default
18870 long longval () { return (long) (sizeof (int)); }
18871 unsigned long ulongval () { return (long) (sizeof (int)); }
18873 #include <stdlib.h>
18878 FILE *f = fopen ("conftest.val", "w");
18881 if (((long) (sizeof (int))) < 0)
18883 long i = longval ();
18884 if (i != ((long) (sizeof (int))))
18886 fprintf (f, "%ld\n", i);
18890 unsigned long i = ulongval ();
18891 if (i != ((long) (sizeof (int))))
18893 fprintf (f, "%lu\n", i);
18895 exit (ferror (f) || fclose (f) != 0);
18901 rm -f conftest
$ac_exeext
18902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18903 (eval $ac_link) 2>&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18908 (eval $ac_try) 2>&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); }; }; then
18912 ac_cv_sizeof_int
=`cat conftest.val`
18914 echo "$as_me: program exited with status $ac_status" >&5
18915 echo "$as_me: failed program was:" >&5
18916 sed 's/^/| /' conftest.
$ac_ext >&5
18918 ( exit $ac_status )
18919 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18920 See \`config.log' for more details." >&5
18921 echo "$as_me: error: cannot compute sizeof (int), 77
18922 See \`config.log' for more details." >&2;}
18923 { (exit 1); exit 1; }; }
18925 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18933 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18934 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18935 cat >>confdefs.h
<<_ACEOF
18936 #define SIZEOF_INT $ac_cv_sizeof_int
18940 echo "$as_me:$LINENO: checking for long" >&5
18941 echo $ECHO_N "checking for long... $ECHO_C" >&6
18942 if test "${ac_cv_type_long+set}" = set; then
18943 echo $ECHO_N "(cached) $ECHO_C" >&6
18945 cat >conftest.
$ac_ext <<_ACEOF
18948 cat confdefs.h
>>conftest.
$ac_ext
18949 cat >>conftest.
$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18951 $ac_includes_default
18963 rm -f conftest.
$ac_objext
18964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18965 (eval $ac_compile) 2>conftest.er1
18967 grep -v '^ *+' conftest.er1
>conftest.err
18969 cat conftest.err
>&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); } &&
18972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; } &&
18978 { ac_try
='test -s conftest.$ac_objext'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; }; then
18984 ac_cv_type_long
=yes
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.
$ac_ext >&5
18991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18993 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18994 echo "${ECHO_T}$ac_cv_type_long" >&6
18996 echo "$as_me:$LINENO: checking size of long" >&5
18997 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18998 if test "${ac_cv_sizeof_long+set}" = set; then
18999 echo $ECHO_N "(cached) $ECHO_C" >&6
19001 if test "$ac_cv_type_long" = yes; then
19002 # The cast to unsigned long works around a bug in the HP C Compiler
19003 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19004 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19005 # This bug is HP SR number 8606223364.
19006 if test "$cross_compiling" = yes; then
19007 # Depending upon the size, compute the lo and hi bounds.
19008 cat >conftest.
$ac_ext <<_ACEOF
19011 cat confdefs.h
>>conftest.
$ac_ext
19012 cat >>conftest.
$ac_ext <<_ACEOF
19013 /* end confdefs.h. */
19014 $ac_includes_default
19018 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19025 rm -f conftest.
$ac_objext
19026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19027 (eval $ac_compile) 2>conftest.er1
19029 grep -v '^ *+' conftest.er1
>conftest.err
19031 cat conftest.err
>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); } &&
19034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; } &&
19040 { ac_try
='test -s conftest.$ac_objext'
19041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19042 (eval $ac_try) 2>&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; }; then
19048 cat >conftest.
$ac_ext <<_ACEOF
19051 cat confdefs.h
>>conftest.
$ac_ext
19052 cat >>conftest.
$ac_ext <<_ACEOF
19053 /* end confdefs.h. */
19054 $ac_includes_default
19058 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19065 rm -f conftest.
$ac_objext
19066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19067 (eval $ac_compile) 2>conftest.er1
19069 grep -v '^ *+' conftest.er1
>conftest.err
19071 cat conftest.err
>&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); } &&
19074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19076 (eval $ac_try) 2>&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }; } &&
19080 { ac_try
='test -s conftest.$ac_objext'
19081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19082 (eval $ac_try) 2>&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); }; }; then
19086 ac_hi
=$ac_mid; break
19088 echo "$as_me: failed program was:" >&5
19089 sed 's/^/| /' conftest.
$ac_ext >&5
19091 ac_lo
=`expr $ac_mid + 1`
19092 if test $ac_lo -le $ac_mid; then
19096 ac_mid
=`expr 2 '*' $ac_mid + 1`
19098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19101 echo "$as_me: failed program was:" >&5
19102 sed 's/^/| /' conftest.
$ac_ext >&5
19104 cat >conftest.
$ac_ext <<_ACEOF
19107 cat confdefs.h
>>conftest.
$ac_ext
19108 cat >>conftest.
$ac_ext <<_ACEOF
19109 /* end confdefs.h. */
19110 $ac_includes_default
19114 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19121 rm -f conftest.
$ac_objext
19122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19123 (eval $ac_compile) 2>conftest.er1
19125 grep -v '^ *+' conftest.er1
>conftest.err
19127 cat conftest.err
>&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); } &&
19130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19132 (eval $ac_try) 2>&5
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); }; } &&
19136 { ac_try
='test -s conftest.$ac_objext'
19137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138 (eval $ac_try) 2>&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); }; }; then
19144 cat >conftest.
$ac_ext <<_ACEOF
19147 cat confdefs.h
>>conftest.
$ac_ext
19148 cat >>conftest.
$ac_ext <<_ACEOF
19149 /* end confdefs.h. */
19150 $ac_includes_default
19154 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19161 rm -f conftest.
$ac_objext
19162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19163 (eval $ac_compile) 2>conftest.er1
19165 grep -v '^ *+' conftest.er1
>conftest.err
19167 cat conftest.err
>&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } &&
19170 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19172 (eval $ac_try) 2>&5
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); }; } &&
19176 { ac_try
='test -s conftest.$ac_objext'
19177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19178 (eval $ac_try) 2>&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); }; }; then
19182 ac_lo
=$ac_mid; break
19184 echo "$as_me: failed program was:" >&5
19185 sed 's/^/| /' conftest.
$ac_ext >&5
19187 ac_hi
=`expr '(' $ac_mid ')' - 1`
19188 if test $ac_mid -le $ac_hi; then
19192 ac_mid
=`expr 2 '*' $ac_mid`
19194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19197 echo "$as_me: failed program was:" >&5
19198 sed 's/^/| /' conftest.
$ac_ext >&5
19202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19205 # Binary search between lo and hi bounds.
19206 while test "x$ac_lo" != "x$ac_hi"; do
19207 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19208 cat >conftest.
$ac_ext <<_ACEOF
19211 cat confdefs.h
>>conftest.
$ac_ext
19212 cat >>conftest.
$ac_ext <<_ACEOF
19213 /* end confdefs.h. */
19214 $ac_includes_default
19218 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19225 rm -f conftest.
$ac_objext
19226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19227 (eval $ac_compile) 2>conftest.er1
19229 grep -v '^ *+' conftest.er1
>conftest.err
19231 cat conftest.err
>&5
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); } &&
19234 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19236 (eval $ac_try) 2>&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); }; } &&
19240 { ac_try
='test -s conftest.$ac_objext'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; }; then
19248 echo "$as_me: failed program was:" >&5
19249 sed 's/^/| /' conftest.
$ac_ext >&5
19251 ac_lo
=`expr '(' $ac_mid ')' + 1`
19253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19256 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19257 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19258 See \`config.log' for more details." >&5
19259 echo "$as_me: error: cannot compute sizeof (long), 77
19260 See \`config.log' for more details." >&2;}
19261 { (exit 1); exit 1; }; } ;;
19264 if test "$cross_compiling" = yes; then
19265 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19266 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19267 { (exit 1); exit 1; }; }
19269 cat >conftest.
$ac_ext <<_ACEOF
19272 cat confdefs.h
>>conftest.
$ac_ext
19273 cat >>conftest.
$ac_ext <<_ACEOF
19274 /* end confdefs.h. */
19275 $ac_includes_default
19276 long longval () { return (long) (sizeof (long)); }
19277 unsigned long ulongval () { return (long) (sizeof (long)); }
19279 #include <stdlib.h>
19284 FILE *f = fopen ("conftest.val", "w");
19287 if (((long) (sizeof (long))) < 0)
19289 long i = longval ();
19290 if (i != ((long) (sizeof (long))))
19292 fprintf (f, "%ld\n", i);
19296 unsigned long i = ulongval ();
19297 if (i != ((long) (sizeof (long))))
19299 fprintf (f, "%lu\n", i);
19301 exit (ferror (f) || fclose (f) != 0);
19307 rm -f conftest
$ac_exeext
19308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19309 (eval $ac_link) 2>&5
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19314 (eval $ac_try) 2>&5
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); }; }; then
19318 ac_cv_sizeof_long
=`cat conftest.val`
19320 echo "$as_me: program exited with status $ac_status" >&5
19321 echo "$as_me: failed program was:" >&5
19322 sed 's/^/| /' conftest.
$ac_ext >&5
19324 ( exit $ac_status )
19325 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19326 See \`config.log' for more details." >&5
19327 echo "$as_me: error: cannot compute sizeof (long), 77
19328 See \`config.log' for more details." >&2;}
19329 { (exit 1); exit 1; }; }
19331 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19336 ac_cv_sizeof_long
=0
19339 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19340 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19341 cat >>confdefs.h
<<_ACEOF
19342 #define SIZEOF_LONG $ac_cv_sizeof_long
19346 echo "$as_me:$LINENO: checking for size_t" >&5
19347 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19348 if test "${ac_cv_type_size_t+set}" = set; then
19349 echo $ECHO_N "(cached) $ECHO_C" >&6
19351 cat >conftest.
$ac_ext <<_ACEOF
19354 cat confdefs.h
>>conftest.
$ac_ext
19355 cat >>conftest.
$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 $ac_includes_default
19363 if (sizeof (size_t))
19369 rm -f conftest.
$ac_objext
19370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19371 (eval $ac_compile) 2>conftest.er1
19373 grep -v '^ *+' conftest.er1
>conftest.err
19375 cat conftest.err
>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); } &&
19378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; } &&
19384 { ac_try
='test -s conftest.$ac_objext'
19385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19386 (eval $ac_try) 2>&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; }; then
19390 ac_cv_type_size_t
=yes
19392 echo "$as_me: failed program was:" >&5
19393 sed 's/^/| /' conftest.
$ac_ext >&5
19395 ac_cv_type_size_t
=no
19397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19399 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19400 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19402 echo "$as_me:$LINENO: checking size of size_t" >&5
19403 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19404 if test "${ac_cv_sizeof_size_t+set}" = set; then
19405 echo $ECHO_N "(cached) $ECHO_C" >&6
19407 if test "$ac_cv_type_size_t" = yes; then
19408 # The cast to unsigned long works around a bug in the HP C Compiler
19409 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19410 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19411 # This bug is HP SR number 8606223364.
19412 if test "$cross_compiling" = yes; then
19413 # Depending upon the size, compute the lo and hi bounds.
19414 cat >conftest.
$ac_ext <<_ACEOF
19417 cat confdefs.h
>>conftest.
$ac_ext
19418 cat >>conftest.
$ac_ext <<_ACEOF
19419 /* end confdefs.h. */
19420 $ac_includes_default
19424 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19431 rm -f conftest.
$ac_objext
19432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19433 (eval $ac_compile) 2>conftest.er1
19435 grep -v '^ *+' conftest.er1
>conftest.err
19437 cat conftest.err
>&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); } &&
19440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19442 (eval $ac_try) 2>&5
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); }; } &&
19446 { ac_try
='test -s conftest.$ac_objext'
19447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19448 (eval $ac_try) 2>&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); }; }; then
19454 cat >conftest.
$ac_ext <<_ACEOF
19457 cat confdefs.h
>>conftest.
$ac_ext
19458 cat >>conftest.
$ac_ext <<_ACEOF
19459 /* end confdefs.h. */
19460 $ac_includes_default
19464 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19471 rm -f conftest.
$ac_objext
19472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19473 (eval $ac_compile) 2>conftest.er1
19475 grep -v '^ *+' conftest.er1
>conftest.err
19477 cat conftest.err
>&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } &&
19480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19482 (eval $ac_try) 2>&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); }; } &&
19486 { ac_try
='test -s conftest.$ac_objext'
19487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19488 (eval $ac_try) 2>&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); }; }; then
19492 ac_hi
=$ac_mid; break
19494 echo "$as_me: failed program was:" >&5
19495 sed 's/^/| /' conftest.
$ac_ext >&5
19497 ac_lo
=`expr $ac_mid + 1`
19498 if test $ac_lo -le $ac_mid; then
19502 ac_mid
=`expr 2 '*' $ac_mid + 1`
19504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19507 echo "$as_me: failed program was:" >&5
19508 sed 's/^/| /' conftest.
$ac_ext >&5
19510 cat >conftest.
$ac_ext <<_ACEOF
19513 cat confdefs.h
>>conftest.
$ac_ext
19514 cat >>conftest.
$ac_ext <<_ACEOF
19515 /* end confdefs.h. */
19516 $ac_includes_default
19520 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19527 rm -f conftest.
$ac_objext
19528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19529 (eval $ac_compile) 2>conftest.er1
19531 grep -v '^ *+' conftest.er1
>conftest.err
19533 cat conftest.err
>&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } &&
19536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19538 (eval $ac_try) 2>&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); }; } &&
19542 { ac_try
='test -s conftest.$ac_objext'
19543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19544 (eval $ac_try) 2>&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); }; }; then
19550 cat >conftest.
$ac_ext <<_ACEOF
19553 cat confdefs.h
>>conftest.
$ac_ext
19554 cat >>conftest.
$ac_ext <<_ACEOF
19555 /* end confdefs.h. */
19556 $ac_includes_default
19560 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19567 rm -f conftest.
$ac_objext
19568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19569 (eval $ac_compile) 2>conftest.er1
19571 grep -v '^ *+' conftest.er1
>conftest.err
19573 cat conftest.err
>&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); } &&
19576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19578 (eval $ac_try) 2>&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; } &&
19582 { ac_try
='test -s conftest.$ac_objext'
19583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584 (eval $ac_try) 2>&5
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; }; then
19588 ac_lo
=$ac_mid; break
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.
$ac_ext >&5
19593 ac_hi
=`expr '(' $ac_mid ')' - 1`
19594 if test $ac_mid -le $ac_hi; then
19598 ac_mid
=`expr 2 '*' $ac_mid`
19600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19603 echo "$as_me: failed program was:" >&5
19604 sed 's/^/| /' conftest.
$ac_ext >&5
19608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19611 # Binary search between lo and hi bounds.
19612 while test "x$ac_lo" != "x$ac_hi"; do
19613 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19614 cat >conftest.
$ac_ext <<_ACEOF
19617 cat confdefs.h
>>conftest.
$ac_ext
19618 cat >>conftest.
$ac_ext <<_ACEOF
19619 /* end confdefs.h. */
19620 $ac_includes_default
19624 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19631 rm -f conftest.
$ac_objext
19632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19633 (eval $ac_compile) 2>conftest.er1
19635 grep -v '^ *+' conftest.er1
>conftest.err
19637 cat conftest.err
>&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } &&
19640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19642 (eval $ac_try) 2>&5
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); }; } &&
19646 { ac_try
='test -s conftest.$ac_objext'
19647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19648 (eval $ac_try) 2>&5
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); }; }; then
19654 echo "$as_me: failed program was:" >&5
19655 sed 's/^/| /' conftest.
$ac_ext >&5
19657 ac_lo
=`expr '(' $ac_mid ')' + 1`
19659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19662 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19663 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19664 See \`config.log' for more details." >&5
19665 echo "$as_me: error: cannot compute sizeof (size_t), 77
19666 See \`config.log' for more details." >&2;}
19667 { (exit 1); exit 1; }; } ;;
19670 if test "$cross_compiling" = yes; then
19671 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19672 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19673 { (exit 1); exit 1; }; }
19675 cat >conftest.
$ac_ext <<_ACEOF
19678 cat confdefs.h
>>conftest.
$ac_ext
19679 cat >>conftest.
$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 $ac_includes_default
19682 long longval () { return (long) (sizeof (size_t)); }
19683 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19685 #include <stdlib.h>
19690 FILE *f = fopen ("conftest.val", "w");
19693 if (((long) (sizeof (size_t))) < 0)
19695 long i = longval ();
19696 if (i != ((long) (sizeof (size_t))))
19698 fprintf (f, "%ld\n", i);
19702 unsigned long i = ulongval ();
19703 if (i != ((long) (sizeof (size_t))))
19705 fprintf (f, "%lu\n", i);
19707 exit (ferror (f) || fclose (f) != 0);
19713 rm -f conftest
$ac_exeext
19714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19715 (eval $ac_link) 2>&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19720 (eval $ac_try) 2>&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); }; }; then
19724 ac_cv_sizeof_size_t
=`cat conftest.val`
19726 echo "$as_me: program exited with status $ac_status" >&5
19727 echo "$as_me: failed program was:" >&5
19728 sed 's/^/| /' conftest.
$ac_ext >&5
19730 ( exit $ac_status )
19731 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19732 See \`config.log' for more details." >&5
19733 echo "$as_me: error: cannot compute sizeof (size_t), 77
19734 See \`config.log' for more details." >&2;}
19735 { (exit 1); exit 1; }; }
19737 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19742 ac_cv_sizeof_size_t
=0
19745 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19746 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19747 cat >>confdefs.h
<<_ACEOF
19748 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19755 echo "$as_me:$LINENO: checking for long long" >&5
19756 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19757 if test "${ac_cv_type_long_long+set}" = set; then
19758 echo $ECHO_N "(cached) $ECHO_C" >&6
19760 cat >conftest.
$ac_ext <<_ACEOF
19763 cat confdefs.h
>>conftest.
$ac_ext
19764 cat >>conftest.
$ac_ext <<_ACEOF
19765 /* end confdefs.h. */
19766 $ac_includes_default
19770 if ((long long *) 0)
19772 if (sizeof (long long))
19778 rm -f conftest.
$ac_objext
19779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19780 (eval $ac_compile) 2>conftest.er1
19782 grep -v '^ *+' conftest.er1
>conftest.err
19784 cat conftest.err
>&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); } &&
19787 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789 (eval $ac_try) 2>&5
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; } &&
19793 { ac_try
='test -s conftest.$ac_objext'
19794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19795 (eval $ac_try) 2>&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); }; }; then
19799 ac_cv_type_long_long
=yes
19801 echo "$as_me: failed program was:" >&5
19802 sed 's/^/| /' conftest.
$ac_ext >&5
19804 ac_cv_type_long_long
=no
19806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19808 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19809 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19811 echo "$as_me:$LINENO: checking size of long long" >&5
19812 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19813 if test "${ac_cv_sizeof_long_long+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19816 if test "$ac_cv_type_long_long" = yes; then
19817 # The cast to unsigned long works around a bug in the HP C Compiler
19818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19820 # This bug is HP SR number 8606223364.
19821 if test "$cross_compiling" = yes; then
19822 # Depending upon the size, compute the lo and hi bounds.
19823 cat >conftest.
$ac_ext <<_ACEOF
19826 cat confdefs.h
>>conftest.
$ac_ext
19827 cat >>conftest.
$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19829 $ac_includes_default
19833 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19840 rm -f conftest.
$ac_objext
19841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19842 (eval $ac_compile) 2>conftest.er1
19844 grep -v '^ *+' conftest.er1
>conftest.err
19846 cat conftest.err
>&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); } &&
19849 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19851 (eval $ac_try) 2>&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); }; } &&
19855 { ac_try
='test -s conftest.$ac_objext'
19856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19857 (eval $ac_try) 2>&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); }; }; then
19863 cat >conftest.
$ac_ext <<_ACEOF
19866 cat confdefs.h
>>conftest.
$ac_ext
19867 cat >>conftest.
$ac_ext <<_ACEOF
19868 /* end confdefs.h. */
19869 $ac_includes_default
19873 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19880 rm -f conftest.
$ac_objext
19881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19882 (eval $ac_compile) 2>conftest.er1
19884 grep -v '^ *+' conftest.er1
>conftest.err
19886 cat conftest.err
>&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } &&
19889 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19891 (eval $ac_try) 2>&5
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); }; } &&
19895 { ac_try
='test -s conftest.$ac_objext'
19896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19897 (eval $ac_try) 2>&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); }; }; then
19901 ac_hi
=$ac_mid; break
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.
$ac_ext >&5
19906 ac_lo
=`expr $ac_mid + 1`
19907 if test $ac_lo -le $ac_mid; then
19911 ac_mid
=`expr 2 '*' $ac_mid + 1`
19913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19916 echo "$as_me: failed program was:" >&5
19917 sed 's/^/| /' conftest.
$ac_ext >&5
19919 cat >conftest.
$ac_ext <<_ACEOF
19922 cat confdefs.h
>>conftest.
$ac_ext
19923 cat >>conftest.
$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 $ac_includes_default
19929 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19936 rm -f conftest.
$ac_objext
19937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19938 (eval $ac_compile) 2>conftest.er1
19940 grep -v '^ *+' conftest.er1
>conftest.err
19942 cat conftest.err
>&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); } &&
19945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; } &&
19951 { ac_try
='test -s conftest.$ac_objext'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; }; then
19959 cat >conftest.
$ac_ext <<_ACEOF
19962 cat confdefs.h
>>conftest.
$ac_ext
19963 cat >>conftest.
$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 $ac_includes_default
19969 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19976 rm -f conftest.
$ac_objext
19977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19978 (eval $ac_compile) 2>conftest.er1
19980 grep -v '^ *+' conftest.er1
>conftest.err
19982 cat conftest.err
>&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); } &&
19985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; } &&
19991 { ac_try
='test -s conftest.$ac_objext'
19992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19993 (eval $ac_try) 2>&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); }; }; then
19997 ac_lo
=$ac_mid; break
19999 echo "$as_me: failed program was:" >&5
20000 sed 's/^/| /' conftest.
$ac_ext >&5
20002 ac_hi
=`expr '(' $ac_mid ')' - 1`
20003 if test $ac_mid -le $ac_hi; then
20007 ac_mid
=`expr 2 '*' $ac_mid`
20009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20012 echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.
$ac_ext >&5
20017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20020 # Binary search between lo and hi bounds.
20021 while test "x$ac_lo" != "x$ac_hi"; do
20022 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20023 cat >conftest.
$ac_ext <<_ACEOF
20026 cat confdefs.h
>>conftest.
$ac_ext
20027 cat >>conftest.
$ac_ext <<_ACEOF
20028 /* end confdefs.h. */
20029 $ac_includes_default
20033 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20040 rm -f conftest.
$ac_objext
20041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20042 (eval $ac_compile) 2>conftest.er1
20044 grep -v '^ *+' conftest.er1
>conftest.err
20046 cat conftest.err
>&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } &&
20049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20051 (eval $ac_try) 2>&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); }; } &&
20055 { ac_try
='test -s conftest.$ac_objext'
20056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20057 (eval $ac_try) 2>&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); }; }; then
20063 echo "$as_me: failed program was:" >&5
20064 sed 's/^/| /' conftest.
$ac_ext >&5
20066 ac_lo
=`expr '(' $ac_mid ')' + 1`
20068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20071 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20072 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20073 See \`config.log' for more details." >&5
20074 echo "$as_me: error: cannot compute sizeof (long long), 77
20075 See \`config.log' for more details." >&2;}
20076 { (exit 1); exit 1; }; } ;;
20079 if test "$cross_compiling" = yes; then
20080 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20081 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20082 { (exit 1); exit 1; }; }
20084 cat >conftest.
$ac_ext <<_ACEOF
20087 cat confdefs.h
>>conftest.
$ac_ext
20088 cat >>conftest.
$ac_ext <<_ACEOF
20089 /* end confdefs.h. */
20090 $ac_includes_default
20091 long longval () { return (long) (sizeof (long long)); }
20092 unsigned long ulongval () { return (long) (sizeof (long long)); }
20094 #include <stdlib.h>
20099 FILE *f = fopen ("conftest.val", "w");
20102 if (((long) (sizeof (long long))) < 0)
20104 long i = longval ();
20105 if (i != ((long) (sizeof (long long))))
20107 fprintf (f, "%ld\n", i);
20111 unsigned long i = ulongval ();
20112 if (i != ((long) (sizeof (long long))))
20114 fprintf (f, "%lu\n", i);
20116 exit (ferror (f) || fclose (f) != 0);
20122 rm -f conftest
$ac_exeext
20123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20124 (eval $ac_link) 2>&5
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20129 (eval $ac_try) 2>&5
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); }; }; then
20133 ac_cv_sizeof_long_long
=`cat conftest.val`
20135 echo "$as_me: program exited with status $ac_status" >&5
20136 echo "$as_me: failed program was:" >&5
20137 sed 's/^/| /' conftest.
$ac_ext >&5
20139 ( exit $ac_status )
20140 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20141 See \`config.log' for more details." >&5
20142 echo "$as_me: error: cannot compute sizeof (long long), 77
20143 See \`config.log' for more details." >&2;}
20144 { (exit 1); exit 1; }; }
20146 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20151 ac_cv_sizeof_long_long
=0
20154 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20155 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20156 cat >>confdefs.h
<<_ACEOF
20157 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20163 echo "$as_me:$LINENO: checking for long long" >&5
20164 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20165 if test "${ac_cv_type_long_long+set}" = set; then
20166 echo $ECHO_N "(cached) $ECHO_C" >&6
20168 cat >conftest.
$ac_ext <<_ACEOF
20171 cat confdefs.h
>>conftest.
$ac_ext
20172 cat >>conftest.
$ac_ext <<_ACEOF
20173 /* end confdefs.h. */
20174 $ac_includes_default
20178 if ((long long *) 0)
20180 if (sizeof (long long))
20186 rm -f conftest.
$ac_objext
20187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20188 (eval $ac_compile) 2>conftest.er1
20190 grep -v '^ *+' conftest.er1
>conftest.err
20192 cat conftest.err
>&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); } &&
20195 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20197 (eval $ac_try) 2>&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); }; } &&
20201 { ac_try
='test -s conftest.$ac_objext'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; }; then
20207 ac_cv_type_long_long
=yes
20209 echo "$as_me: failed program was:" >&5
20210 sed 's/^/| /' conftest.
$ac_ext >&5
20212 ac_cv_type_long_long
=no
20214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20216 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20217 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20219 echo "$as_me:$LINENO: checking size of long long" >&5
20220 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20221 if test "${ac_cv_sizeof_long_long+set}" = set; then
20222 echo $ECHO_N "(cached) $ECHO_C" >&6
20224 if test "$ac_cv_type_long_long" = yes; then
20225 # The cast to unsigned long works around a bug in the HP C Compiler
20226 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20227 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20228 # This bug is HP SR number 8606223364.
20229 if test "$cross_compiling" = yes; then
20230 # Depending upon the size, compute the lo and hi bounds.
20231 cat >conftest.
$ac_ext <<_ACEOF
20234 cat confdefs.h
>>conftest.
$ac_ext
20235 cat >>conftest.
$ac_ext <<_ACEOF
20236 /* end confdefs.h. */
20237 $ac_includes_default
20241 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20248 rm -f conftest.
$ac_objext
20249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20250 (eval $ac_compile) 2>conftest.er1
20252 grep -v '^ *+' conftest.er1
>conftest.err
20254 cat conftest.err
>&5
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); } &&
20257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20259 (eval $ac_try) 2>&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); }; } &&
20263 { ac_try
='test -s conftest.$ac_objext'
20264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20265 (eval $ac_try) 2>&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); }; }; then
20271 cat >conftest.
$ac_ext <<_ACEOF
20274 cat confdefs.h
>>conftest.
$ac_ext
20275 cat >>conftest.
$ac_ext <<_ACEOF
20276 /* end confdefs.h. */
20277 $ac_includes_default
20281 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20288 rm -f conftest.
$ac_objext
20289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20290 (eval $ac_compile) 2>conftest.er1
20292 grep -v '^ *+' conftest.er1
>conftest.err
20294 cat conftest.err
>&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); } &&
20297 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20299 (eval $ac_try) 2>&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); }; } &&
20303 { ac_try
='test -s conftest.$ac_objext'
20304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20305 (eval $ac_try) 2>&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); }; }; then
20309 ac_hi
=$ac_mid; break
20311 echo "$as_me: failed program was:" >&5
20312 sed 's/^/| /' conftest.
$ac_ext >&5
20314 ac_lo
=`expr $ac_mid + 1`
20315 if test $ac_lo -le $ac_mid; then
20319 ac_mid
=`expr 2 '*' $ac_mid + 1`
20321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20324 echo "$as_me: failed program was:" >&5
20325 sed 's/^/| /' conftest.
$ac_ext >&5
20327 cat >conftest.
$ac_ext <<_ACEOF
20330 cat confdefs.h
>>conftest.
$ac_ext
20331 cat >>conftest.
$ac_ext <<_ACEOF
20332 /* end confdefs.h. */
20333 $ac_includes_default
20337 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20344 rm -f conftest.
$ac_objext
20345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20346 (eval $ac_compile) 2>conftest.er1
20348 grep -v '^ *+' conftest.er1
>conftest.err
20350 cat conftest.err
>&5
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); } &&
20353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20355 (eval $ac_try) 2>&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); }; } &&
20359 { ac_try
='test -s conftest.$ac_objext'
20360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20361 (eval $ac_try) 2>&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); }; }; then
20367 cat >conftest.
$ac_ext <<_ACEOF
20370 cat confdefs.h
>>conftest.
$ac_ext
20371 cat >>conftest.
$ac_ext <<_ACEOF
20372 /* end confdefs.h. */
20373 $ac_includes_default
20377 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20384 rm -f conftest.
$ac_objext
20385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20386 (eval $ac_compile) 2>conftest.er1
20388 grep -v '^ *+' conftest.er1
>conftest.err
20390 cat conftest.err
>&5
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); } &&
20393 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20395 (eval $ac_try) 2>&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); }; } &&
20399 { ac_try
='test -s conftest.$ac_objext'
20400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20401 (eval $ac_try) 2>&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); }; }; then
20405 ac_lo
=$ac_mid; break
20407 echo "$as_me: failed program was:" >&5
20408 sed 's/^/| /' conftest.
$ac_ext >&5
20410 ac_hi
=`expr '(' $ac_mid ')' - 1`
20411 if test $ac_mid -le $ac_hi; then
20415 ac_mid
=`expr 2 '*' $ac_mid`
20417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.
$ac_ext >&5
20425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20428 # Binary search between lo and hi bounds.
20429 while test "x$ac_lo" != "x$ac_hi"; do
20430 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20431 cat >conftest.
$ac_ext <<_ACEOF
20434 cat confdefs.h
>>conftest.
$ac_ext
20435 cat >>conftest.
$ac_ext <<_ACEOF
20436 /* end confdefs.h. */
20437 $ac_includes_default
20441 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20448 rm -f conftest.
$ac_objext
20449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20450 (eval $ac_compile) 2>conftest.er1
20452 grep -v '^ *+' conftest.er1
>conftest.err
20454 cat conftest.err
>&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); } &&
20457 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20459 (eval $ac_try) 2>&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); }; } &&
20463 { ac_try
='test -s conftest.$ac_objext'
20464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20465 (eval $ac_try) 2>&5
20467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468 (exit $ac_status); }; }; then
20471 echo "$as_me: failed program was:" >&5
20472 sed 's/^/| /' conftest.
$ac_ext >&5
20474 ac_lo
=`expr '(' $ac_mid ')' + 1`
20476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20479 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20480 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20481 See \`config.log' for more details." >&5
20482 echo "$as_me: error: cannot compute sizeof (long long), 77
20483 See \`config.log' for more details." >&2;}
20484 { (exit 1); exit 1; }; } ;;
20487 if test "$cross_compiling" = yes; then
20488 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20489 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20490 { (exit 1); exit 1; }; }
20492 cat >conftest.
$ac_ext <<_ACEOF
20495 cat confdefs.h
>>conftest.
$ac_ext
20496 cat >>conftest.
$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 $ac_includes_default
20499 long longval () { return (long) (sizeof (long long)); }
20500 unsigned long ulongval () { return (long) (sizeof (long long)); }
20502 #include <stdlib.h>
20507 FILE *f = fopen ("conftest.val", "w");
20510 if (((long) (sizeof (long long))) < 0)
20512 long i = longval ();
20513 if (i != ((long) (sizeof (long long))))
20515 fprintf (f, "%ld\n", i);
20519 unsigned long i = ulongval ();
20520 if (i != ((long) (sizeof (long long))))
20522 fprintf (f, "%lu\n", i);
20524 exit (ferror (f) || fclose (f) != 0);
20530 rm -f conftest
$ac_exeext
20531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20532 (eval $ac_link) 2>&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20537 (eval $ac_try) 2>&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); }; }; then
20541 ac_cv_sizeof_long_long
=`cat conftest.val`
20543 echo "$as_me: program exited with status $ac_status" >&5
20544 echo "$as_me: failed program was:" >&5
20545 sed 's/^/| /' conftest.
$ac_ext >&5
20547 ( exit $ac_status )
20548 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20549 See \`config.log' for more details." >&5
20550 echo "$as_me: error: cannot compute sizeof (long long), 77
20551 See \`config.log' for more details." >&2;}
20552 { (exit 1); exit 1; }; }
20554 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20559 ac_cv_sizeof_long_long
=0
20562 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20563 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20564 cat >>confdefs.h
<<_ACEOF
20565 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20569 if test "$ac_cv_sizeof_long_long" != "0"; then
20570 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20574 echo "$as_me:$LINENO: checking for long long" >&5
20575 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20576 if test "${ac_cv_type_long_long+set}" = set; then
20577 echo $ECHO_N "(cached) $ECHO_C" >&6
20579 cat >conftest.
$ac_ext <<_ACEOF
20582 cat confdefs.h
>>conftest.
$ac_ext
20583 cat >>conftest.
$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 $ac_includes_default
20589 if ((long long *) 0)
20591 if (sizeof (long long))
20597 rm -f conftest.
$ac_objext
20598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20599 (eval $ac_compile) 2>conftest.er1
20601 grep -v '^ *+' conftest.er1
>conftest.err
20603 cat conftest.err
>&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); } &&
20606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20608 (eval $ac_try) 2>&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); }; } &&
20612 { ac_try
='test -s conftest.$ac_objext'
20613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20614 (eval $ac_try) 2>&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); }; }; then
20618 ac_cv_type_long_long
=yes
20620 echo "$as_me: failed program was:" >&5
20621 sed 's/^/| /' conftest.
$ac_ext >&5
20623 ac_cv_type_long_long
=no
20625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20627 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20628 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20630 echo "$as_me:$LINENO: checking size of long long" >&5
20631 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20632 if test "${ac_cv_sizeof_long_long+set}" = set; then
20633 echo $ECHO_N "(cached) $ECHO_C" >&6
20635 if test "$ac_cv_type_long_long" = yes; then
20636 # The cast to unsigned long works around a bug in the HP C Compiler
20637 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20638 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20639 # This bug is HP SR number 8606223364.
20640 if test "$cross_compiling" = yes; then
20641 # Depending upon the size, compute the lo and hi bounds.
20642 cat >conftest.
$ac_ext <<_ACEOF
20645 cat confdefs.h
>>conftest.
$ac_ext
20646 cat >>conftest.
$ac_ext <<_ACEOF
20647 /* end confdefs.h. */
20648 $ac_includes_default
20652 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20659 rm -f conftest.
$ac_objext
20660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20661 (eval $ac_compile) 2>conftest.er1
20663 grep -v '^ *+' conftest.er1
>conftest.err
20665 cat conftest.err
>&5
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); } &&
20668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20670 (eval $ac_try) 2>&5
20672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673 (exit $ac_status); }; } &&
20674 { ac_try
='test -s conftest.$ac_objext'
20675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20676 (eval $ac_try) 2>&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); }; }; then
20682 cat >conftest.
$ac_ext <<_ACEOF
20685 cat confdefs.h
>>conftest.
$ac_ext
20686 cat >>conftest.
$ac_ext <<_ACEOF
20687 /* end confdefs.h. */
20688 $ac_includes_default
20692 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20699 rm -f conftest.
$ac_objext
20700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20701 (eval $ac_compile) 2>conftest.er1
20703 grep -v '^ *+' conftest.er1
>conftest.err
20705 cat conftest.err
>&5
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); } &&
20708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20710 (eval $ac_try) 2>&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); }; } &&
20714 { ac_try
='test -s conftest.$ac_objext'
20715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20716 (eval $ac_try) 2>&5
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); }; }; then
20720 ac_hi
=$ac_mid; break
20722 echo "$as_me: failed program was:" >&5
20723 sed 's/^/| /' conftest.
$ac_ext >&5
20725 ac_lo
=`expr $ac_mid + 1`
20726 if test $ac_lo -le $ac_mid; then
20730 ac_mid
=`expr 2 '*' $ac_mid + 1`
20732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20735 echo "$as_me: failed program was:" >&5
20736 sed 's/^/| /' conftest.
$ac_ext >&5
20738 cat >conftest.
$ac_ext <<_ACEOF
20741 cat confdefs.h
>>conftest.
$ac_ext
20742 cat >>conftest.
$ac_ext <<_ACEOF
20743 /* end confdefs.h. */
20744 $ac_includes_default
20748 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20755 rm -f conftest.
$ac_objext
20756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20757 (eval $ac_compile) 2>conftest.er1
20759 grep -v '^ *+' conftest.er1
>conftest.err
20761 cat conftest.err
>&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } &&
20764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20766 (eval $ac_try) 2>&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); }; } &&
20770 { ac_try
='test -s conftest.$ac_objext'
20771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20772 (eval $ac_try) 2>&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; }; then
20778 cat >conftest.
$ac_ext <<_ACEOF
20781 cat confdefs.h
>>conftest.
$ac_ext
20782 cat >>conftest.
$ac_ext <<_ACEOF
20783 /* end confdefs.h. */
20784 $ac_includes_default
20788 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20795 rm -f conftest.
$ac_objext
20796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20797 (eval $ac_compile) 2>conftest.er1
20799 grep -v '^ *+' conftest.er1
>conftest.err
20801 cat conftest.err
>&5
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); } &&
20804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20806 (eval $ac_try) 2>&5
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); }; } &&
20810 { ac_try
='test -s conftest.$ac_objext'
20811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20812 (eval $ac_try) 2>&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); }; }; then
20816 ac_lo
=$ac_mid; break
20818 echo "$as_me: failed program was:" >&5
20819 sed 's/^/| /' conftest.
$ac_ext >&5
20821 ac_hi
=`expr '(' $ac_mid ')' - 1`
20822 if test $ac_mid -le $ac_hi; then
20826 ac_mid
=`expr 2 '*' $ac_mid`
20828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20831 echo "$as_me: failed program was:" >&5
20832 sed 's/^/| /' conftest.
$ac_ext >&5
20836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20839 # Binary search between lo and hi bounds.
20840 while test "x$ac_lo" != "x$ac_hi"; do
20841 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20842 cat >conftest.
$ac_ext <<_ACEOF
20845 cat confdefs.h
>>conftest.
$ac_ext
20846 cat >>conftest.
$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20848 $ac_includes_default
20852 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20859 rm -f conftest.
$ac_objext
20860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20861 (eval $ac_compile) 2>conftest.er1
20863 grep -v '^ *+' conftest.er1
>conftest.err
20865 cat conftest.err
>&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } &&
20868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20870 (eval $ac_try) 2>&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); }; } &&
20874 { ac_try
='test -s conftest.$ac_objext'
20875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20876 (eval $ac_try) 2>&5
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); }; }; then
20882 echo "$as_me: failed program was:" >&5
20883 sed 's/^/| /' conftest.
$ac_ext >&5
20885 ac_lo
=`expr '(' $ac_mid ')' + 1`
20887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20890 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20891 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20892 See \`config.log' for more details." >&5
20893 echo "$as_me: error: cannot compute sizeof (long long), 77
20894 See \`config.log' for more details." >&2;}
20895 { (exit 1); exit 1; }; } ;;
20898 if test "$cross_compiling" = yes; then
20899 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20900 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20901 { (exit 1); exit 1; }; }
20903 cat >conftest.
$ac_ext <<_ACEOF
20906 cat confdefs.h
>>conftest.
$ac_ext
20907 cat >>conftest.
$ac_ext <<_ACEOF
20908 /* end confdefs.h. */
20909 $ac_includes_default
20910 long longval () { return (long) (sizeof (long long)); }
20911 unsigned long ulongval () { return (long) (sizeof (long long)); }
20913 #include <stdlib.h>
20918 FILE *f = fopen ("conftest.val", "w");
20921 if (((long) (sizeof (long long))) < 0)
20923 long i = longval ();
20924 if (i != ((long) (sizeof (long long))))
20926 fprintf (f, "%ld\n", i);
20930 unsigned long i = ulongval ();
20931 if (i != ((long) (sizeof (long long))))
20933 fprintf (f, "%lu\n", i);
20935 exit (ferror (f) || fclose (f) != 0);
20941 rm -f conftest
$ac_exeext
20942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20943 (eval $ac_link) 2>&5
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; }; then
20952 ac_cv_sizeof_long_long
=`cat conftest.val`
20954 echo "$as_me: program exited with status $ac_status" >&5
20955 echo "$as_me: failed program was:" >&5
20956 sed 's/^/| /' conftest.
$ac_ext >&5
20958 ( exit $ac_status )
20959 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20960 See \`config.log' for more details." >&5
20961 echo "$as_me: error: cannot compute sizeof (long long), 77
20962 See \`config.log' for more details." >&2;}
20963 { (exit 1); exit 1; }; }
20965 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20970 ac_cv_sizeof_long_long
=0
20973 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20974 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20975 cat >>confdefs.h
<<_ACEOF
20976 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20982 echo "$as_me:$LINENO: checking for wchar_t" >&5
20983 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20984 if test "${ac_cv_type_wchar_t+set}" = set; then
20985 echo $ECHO_N "(cached) $ECHO_C" >&6
20987 cat >conftest.
$ac_ext <<_ACEOF
20990 cat confdefs.h
>>conftest.
$ac_ext
20991 cat >>conftest.
$ac_ext <<_ACEOF
20992 /* end confdefs.h. */
20994 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20995 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20996 # error "fake wchar_t"
20998 #ifdef HAVE_WCHAR_H
21000 # include <stddef.h>
21002 # include <wchar.h>
21004 #ifdef HAVE_STDLIB_H
21005 # include <stdlib.h>
21016 if (sizeof (wchar_t))
21022 rm -f conftest.
$ac_objext
21023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21024 (eval $ac_compile) 2>conftest.er1
21026 grep -v '^ *+' conftest.er1
>conftest.err
21028 cat conftest.err
>&5
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); } &&
21031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21033 (eval $ac_try) 2>&5
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); }; } &&
21037 { ac_try
='test -s conftest.$ac_objext'
21038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21039 (eval $ac_try) 2>&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); }; }; then
21043 ac_cv_type_wchar_t
=yes
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.
$ac_ext >&5
21048 ac_cv_type_wchar_t
=no
21050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21052 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21053 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21055 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21056 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21057 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21058 echo $ECHO_N "(cached) $ECHO_C" >&6
21060 if test "$ac_cv_type_wchar_t" = yes; then
21061 # The cast to unsigned long works around a bug in the HP C Compiler
21062 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21063 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21064 # This bug is HP SR number 8606223364.
21065 if test "$cross_compiling" = yes; then
21066 # Depending upon the size, compute the lo and hi bounds.
21067 cat >conftest.
$ac_ext <<_ACEOF
21070 cat confdefs.h
>>conftest.
$ac_ext
21071 cat >>conftest.
$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21074 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21075 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21076 # error "fake wchar_t"
21078 #ifdef HAVE_WCHAR_H
21080 # include <stddef.h>
21082 # include <wchar.h>
21084 #ifdef HAVE_STDLIB_H
21085 # include <stdlib.h>
21094 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21101 rm -f conftest.
$ac_objext
21102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21103 (eval $ac_compile) 2>conftest.er1
21105 grep -v '^ *+' conftest.er1
>conftest.err
21107 cat conftest.err
>&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } &&
21110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21112 (eval $ac_try) 2>&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); }; } &&
21116 { ac_try
='test -s conftest.$ac_objext'
21117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21118 (eval $ac_try) 2>&5
21120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21121 (exit $ac_status); }; }; then
21124 cat >conftest.
$ac_ext <<_ACEOF
21127 cat confdefs.h
>>conftest.
$ac_ext
21128 cat >>conftest.
$ac_ext <<_ACEOF
21129 /* end confdefs.h. */
21131 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21132 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21133 # error "fake wchar_t"
21135 #ifdef HAVE_WCHAR_H
21137 # include <stddef.h>
21139 # include <wchar.h>
21141 #ifdef HAVE_STDLIB_H
21142 # include <stdlib.h>
21151 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21158 rm -f conftest.
$ac_objext
21159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21160 (eval $ac_compile) 2>conftest.er1
21162 grep -v '^ *+' conftest.er1
>conftest.err
21164 cat conftest.err
>&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); } &&
21167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21169 (eval $ac_try) 2>&5
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); }; } &&
21173 { ac_try
='test -s conftest.$ac_objext'
21174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21175 (eval $ac_try) 2>&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); }; }; then
21179 ac_hi
=$ac_mid; break
21181 echo "$as_me: failed program was:" >&5
21182 sed 's/^/| /' conftest.
$ac_ext >&5
21184 ac_lo
=`expr $ac_mid + 1`
21185 if test $ac_lo -le $ac_mid; then
21189 ac_mid
=`expr 2 '*' $ac_mid + 1`
21191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21194 echo "$as_me: failed program was:" >&5
21195 sed 's/^/| /' conftest.
$ac_ext >&5
21197 cat >conftest.
$ac_ext <<_ACEOF
21200 cat confdefs.h
>>conftest.
$ac_ext
21201 cat >>conftest.
$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21204 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21205 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21206 # error "fake wchar_t"
21208 #ifdef HAVE_WCHAR_H
21210 # include <stddef.h>
21212 # include <wchar.h>
21214 #ifdef HAVE_STDLIB_H
21215 # include <stdlib.h>
21224 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21231 rm -f conftest.
$ac_objext
21232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21233 (eval $ac_compile) 2>conftest.er1
21235 grep -v '^ *+' conftest.er1
>conftest.err
21237 cat conftest.err
>&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } &&
21240 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21242 (eval $ac_try) 2>&5
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); }; } &&
21246 { ac_try
='test -s conftest.$ac_objext'
21247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21248 (eval $ac_try) 2>&5
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); }; }; then
21254 cat >conftest.
$ac_ext <<_ACEOF
21257 cat confdefs.h
>>conftest.
$ac_ext
21258 cat >>conftest.
$ac_ext <<_ACEOF
21259 /* end confdefs.h. */
21261 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21262 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21263 # error "fake wchar_t"
21265 #ifdef HAVE_WCHAR_H
21267 # include <stddef.h>
21269 # include <wchar.h>
21271 #ifdef HAVE_STDLIB_H
21272 # include <stdlib.h>
21281 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21288 rm -f conftest.
$ac_objext
21289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21290 (eval $ac_compile) 2>conftest.er1
21292 grep -v '^ *+' conftest.er1
>conftest.err
21294 cat conftest.err
>&5
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); } &&
21297 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21299 (eval $ac_try) 2>&5
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); }; } &&
21303 { ac_try
='test -s conftest.$ac_objext'
21304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21305 (eval $ac_try) 2>&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); }; }; then
21309 ac_lo
=$ac_mid; break
21311 echo "$as_me: failed program was:" >&5
21312 sed 's/^/| /' conftest.
$ac_ext >&5
21314 ac_hi
=`expr '(' $ac_mid ')' - 1`
21315 if test $ac_mid -le $ac_hi; then
21319 ac_mid
=`expr 2 '*' $ac_mid`
21321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21324 echo "$as_me: failed program was:" >&5
21325 sed 's/^/| /' conftest.
$ac_ext >&5
21329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21332 # Binary search between lo and hi bounds.
21333 while test "x$ac_lo" != "x$ac_hi"; do
21334 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21335 cat >conftest.
$ac_ext <<_ACEOF
21338 cat confdefs.h
>>conftest.
$ac_ext
21339 cat >>conftest.
$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21342 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21343 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21344 # error "fake wchar_t"
21346 #ifdef HAVE_WCHAR_H
21348 # include <stddef.h>
21350 # include <wchar.h>
21352 #ifdef HAVE_STDLIB_H
21353 # include <stdlib.h>
21362 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21369 rm -f conftest.
$ac_objext
21370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21371 (eval $ac_compile) 2>conftest.er1
21373 grep -v '^ *+' conftest.er1
>conftest.err
21375 cat conftest.err
>&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); } &&
21378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21380 (eval $ac_try) 2>&5
21382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); }; } &&
21384 { ac_try
='test -s conftest.$ac_objext'
21385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21386 (eval $ac_try) 2>&5
21388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389 (exit $ac_status); }; }; then
21392 echo "$as_me: failed program was:" >&5
21393 sed 's/^/| /' conftest.
$ac_ext >&5
21395 ac_lo
=`expr '(' $ac_mid ')' + 1`
21397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21400 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21401 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21402 See \`config.log' for more details." >&5
21403 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21404 See \`config.log' for more details." >&2;}
21405 { (exit 1); exit 1; }; } ;;
21408 if test "$cross_compiling" = yes; then
21409 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21410 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21411 { (exit 1); exit 1; }; }
21413 cat >conftest.
$ac_ext <<_ACEOF
21416 cat confdefs.h
>>conftest.
$ac_ext
21417 cat >>conftest.
$ac_ext <<_ACEOF
21418 /* end confdefs.h. */
21420 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21421 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21422 # error "fake wchar_t"
21424 #ifdef HAVE_WCHAR_H
21426 # include <stddef.h>
21428 # include <wchar.h>
21430 #ifdef HAVE_STDLIB_H
21431 # include <stdlib.h>
21437 long longval () { return (long) (sizeof (wchar_t)); }
21438 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21440 #include <stdlib.h>
21445 FILE *f = fopen ("conftest.val", "w");
21448 if (((long) (sizeof (wchar_t))) < 0)
21450 long i = longval ();
21451 if (i != ((long) (sizeof (wchar_t))))
21453 fprintf (f, "%ld\n", i);
21457 unsigned long i = ulongval ();
21458 if (i != ((long) (sizeof (wchar_t))))
21460 fprintf (f, "%lu\n", i);
21462 exit (ferror (f) || fclose (f) != 0);
21468 rm -f conftest
$ac_exeext
21469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21470 (eval $ac_link) 2>&5
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21475 (eval $ac_try) 2>&5
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); }; }; then
21479 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21481 echo "$as_me: program exited with status $ac_status" >&5
21482 echo "$as_me: failed program was:" >&5
21483 sed 's/^/| /' conftest.
$ac_ext >&5
21485 ( exit $ac_status )
21486 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21487 See \`config.log' for more details." >&5
21488 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21489 See \`config.log' for more details." >&2;}
21490 { (exit 1); exit 1; }; }
21492 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21497 ac_cv_sizeof_wchar_t
=0
21500 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21501 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21502 cat >>confdefs.h
<<_ACEOF
21503 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21507 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21513 echo "$as_me:$LINENO: checking for va_copy" >&5
21514 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21515 if test "${wx_cv_func_va_copy+set}" = set; then
21516 echo $ECHO_N "(cached) $ECHO_C" >&6
21519 cat >conftest.
$ac_ext <<_ACEOF
21521 #include <stdarg.h>
21522 void foo(char *f, ...)
21536 rm -f conftest.
$ac_objext conftest
$ac_exeext
21537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21538 (eval $ac_link) 2>conftest.er1
21540 grep -v '^ *+' conftest.er1
>conftest.err
21542 cat conftest.err
>&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } &&
21545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21547 (eval $ac_try) 2>&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); }; } &&
21551 { ac_try
='test -s conftest$ac_exeext'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; }; then
21557 wx_cv_func_va_copy
=yes
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.
$ac_ext >&5
21562 wx_cv_func_va_copy
=no
21565 rm -f conftest.err conftest.
$ac_objext \
21566 conftest
$ac_exeext conftest.
$ac_ext
21570 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21571 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21573 if test $wx_cv_func_va_copy = "yes"; then
21574 cat >>confdefs.h
<<\_ACEOF
21575 #define HAVE_VA_COPY 1
21579 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21580 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21581 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21582 echo $ECHO_N "(cached) $ECHO_C" >&6
21585 if test "$cross_compiling" = yes; then
21586 wx_cv_type_va_list_lvalue
=yes
21589 cat >conftest.
$ac_ext <<_ACEOF
21591 #include <stdarg.h>
21592 int foo(char *f, ...)
21597 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21605 return foo("hi", 17);
21608 rm -f conftest
$ac_exeext
21609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21610 (eval $ac_link) 2>&5
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21615 (eval $ac_try) 2>&5
21617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618 (exit $ac_status); }; }; then
21619 wx_cv_type_va_list_lvalue
=yes
21621 echo "$as_me: program exited with status $ac_status" >&5
21622 echo "$as_me: failed program was:" >&5
21623 sed 's/^/| /' conftest.
$ac_ext >&5
21625 ( exit $ac_status )
21626 wx_cv_type_va_list_lvalue
=no
21628 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21633 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21634 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21636 if test $wx_cv_type_va_list_lvalue != "yes"; then
21637 cat >>confdefs.h
<<\_ACEOF
21638 #define VA_LIST_IS_ARRAY 1
21644 if test "$wxUSE_VARARG_MACROS" = "yes"; then
21646 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21647 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21648 if test "${wx_cv_have_variadic_macros+set}" = set; then
21649 echo $ECHO_N "(cached) $ECHO_C" >&6
21653 ac_cpp
='$CXXCPP $CPPFLAGS'
21654 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21658 cat >conftest.
$ac_ext <<_ACEOF
21661 cat confdefs.h
>>conftest.
$ac_ext
21662 cat >>conftest.
$ac_ext <<_ACEOF
21663 /* end confdefs.h. */
21666 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21672 test("%s %d %p", "test", 1, 0);
21679 rm -f conftest.
$ac_objext
21680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21681 (eval $ac_compile) 2>conftest.er1
21683 grep -v '^ *+' conftest.er1
>conftest.err
21685 cat conftest.err
>&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } &&
21688 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21690 (eval $ac_try) 2>&5
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); }; } &&
21694 { ac_try
='test -s conftest.$ac_objext'
21695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21696 (eval $ac_try) 2>&5
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); }; }; then
21700 wx_cv_have_variadic_macros
=yes
21702 echo "$as_me: failed program was:" >&5
21703 sed 's/^/| /' conftest.
$ac_ext >&5
21705 wx_cv_have_variadic_macros
=no
21708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21710 ac_cpp
='$CPP $CPPFLAGS'
21711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21718 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21719 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21721 if test $wx_cv_have_variadic_macros = "yes"; then
21722 cat >>confdefs.h
<<\_ACEOF
21723 #define HAVE_VARIADIC_MACROS 1
21729 # Check whether --enable-largefile or --disable-largefile was given.
21730 if test "${enable_largefile+set}" = set; then
21731 enableval
="$enable_largefile"
21734 if test "$enable_largefile" != no
; then
21737 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21738 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21739 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21740 echo $ECHO_N "(cached) $ECHO_C" >&6
21743 cat >conftest.
$ac_ext <<_ACEOF
21746 cat confdefs.h
>>conftest.
$ac_ext
21747 cat >>conftest.
$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 #define _FILE_OFFSET_BITS 64
21750 #include <sys/types.h>
21755 unsigned int field: sizeof(off_t) == 8;
21762 rm -f conftest.
$ac_objext
21763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21764 (eval $ac_compile) 2>conftest.er1
21766 grep -v '^ *+' conftest.er1
>conftest.err
21768 cat conftest.err
>&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); } &&
21771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21773 (eval $ac_try) 2>&5
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); }; } &&
21777 { ac_try
='test -s conftest.$ac_objext'
21778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21779 (eval $ac_try) 2>&5
21781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21782 (exit $ac_status); }; }; then
21783 ac_cv_sys_file_offset_bits
=64
21785 echo "$as_me: failed program was:" >&5
21786 sed 's/^/| /' conftest.
$ac_ext >&5
21788 ac_cv_sys_file_offset_bits
=no
21790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21794 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21795 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21797 if test "$ac_cv_sys_file_offset_bits" != no
; then
21799 cat >>confdefs.h
<<_ACEOF
21800 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21805 if test "x$wx_largefile" != "xyes"; then
21807 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21808 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21809 if test "${ac_cv_sys_large_files+set}" = set; then
21810 echo $ECHO_N "(cached) $ECHO_C" >&6
21813 cat >conftest.
$ac_ext <<_ACEOF
21816 cat confdefs.h
>>conftest.
$ac_ext
21817 cat >>conftest.
$ac_ext <<_ACEOF
21818 /* end confdefs.h. */
21819 #define _LARGE_FILES 1
21820 #include <sys/types.h>
21825 unsigned int field: sizeof(off_t) == 8;
21832 rm -f conftest.
$ac_objext
21833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21834 (eval $ac_compile) 2>conftest.er1
21836 grep -v '^ *+' conftest.er1
>conftest.err
21838 cat conftest.err
>&5
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); } &&
21841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21843 (eval $ac_try) 2>&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); }; } &&
21847 { ac_try
='test -s conftest.$ac_objext'
21848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21849 (eval $ac_try) 2>&5
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); }; }; then
21853 ac_cv_sys_large_files
=1
21855 echo "$as_me: failed program was:" >&5
21856 sed 's/^/| /' conftest.
$ac_ext >&5
21858 ac_cv_sys_large_files
=no
21860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21864 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21865 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21867 if test "$ac_cv_sys_large_files" != no
; then
21869 cat >>confdefs.h
<<_ACEOF
21870 #define _LARGE_FILES $ac_cv_sys_large_files
21877 echo "$as_me:$LINENO: checking if large file support is available" >&5
21878 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21879 if test "x$wx_largefile" = "xyes"; then
21880 cat >>confdefs.h
<<\_ACEOF
21881 #define HAVE_LARGEFILE_SUPPORT 1
21885 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21886 echo "${ECHO_T}$wx_largefile" >&6
21890 if test "x$wx_largefile" = "xyes"; then
21891 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21892 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21894 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21895 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21896 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21897 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21898 echo $ECHO_N "(cached) $ECHO_C" >&6
21902 ac_cpp
='$CXXCPP $CPPFLAGS'
21903 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21904 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21905 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21907 cat >conftest.
$ac_ext <<_ACEOF
21910 cat confdefs.h
>>conftest.
$ac_ext
21911 cat >>conftest.
$ac_ext <<_ACEOF
21912 /* end confdefs.h. */
21918 #ifndef __STDC_EXT__
21926 rm -f conftest.
$ac_objext
21927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21928 (eval $ac_compile) 2>conftest.er1
21930 grep -v '^ *+' conftest.er1
>conftest.err
21932 cat conftest.err
>&5
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); } &&
21935 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21937 (eval $ac_try) 2>&5
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); }; } &&
21941 { ac_try
='test -s conftest.$ac_objext'
21942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21943 (eval $ac_try) 2>&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); }; }; then
21947 wx_cv_STDC_EXT_required
=no
21949 echo "$as_me: failed program was:" >&5
21950 sed 's/^/| /' conftest.
$ac_ext >&5
21952 wx_cv_STDC_EXT_required
=yes
21955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21957 ac_cpp
='$CPP $CPPFLAGS'
21958 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21959 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21960 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21965 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21966 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21967 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21968 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21972 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21974 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21975 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21976 if test "${ac_cv_sys_largefile_source+set}" = set; then
21977 echo $ECHO_N "(cached) $ECHO_C" >&6
21980 ac_cv_sys_largefile_source
=no
21981 cat >conftest.
$ac_ext <<_ACEOF
21984 cat confdefs.h
>>conftest.
$ac_ext
21985 cat >>conftest.
$ac_ext <<_ACEOF
21986 /* end confdefs.h. */
21996 rm -f conftest.
$ac_objext
21997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21998 (eval $ac_compile) 2>conftest.er1
22000 grep -v '^ *+' conftest.er1
>conftest.err
22002 cat conftest.err
>&5
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); } &&
22005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22007 (eval $ac_try) 2>&5
22009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010 (exit $ac_status); }; } &&
22011 { ac_try
='test -s conftest.$ac_objext'
22012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22013 (eval $ac_try) 2>&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); }; }; then
22019 echo "$as_me: failed program was:" >&5
22020 sed 's/^/| /' conftest.
$ac_ext >&5
22023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22024 cat >conftest.
$ac_ext <<_ACEOF
22027 cat confdefs.h
>>conftest.
$ac_ext
22028 cat >>conftest.
$ac_ext <<_ACEOF
22029 /* end confdefs.h. */
22030 #define _LARGEFILE_SOURCE 1
22040 rm -f conftest.
$ac_objext
22041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22042 (eval $ac_compile) 2>conftest.er1
22044 grep -v '^ *+' conftest.er1
>conftest.err
22046 cat conftest.err
>&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } &&
22049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22051 (eval $ac_try) 2>&5
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); }; } &&
22055 { ac_try
='test -s conftest.$ac_objext'
22056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22057 (eval $ac_try) 2>&5
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); }; }; then
22061 ac_cv_sys_largefile_source
=1; break
22063 echo "$as_me: failed program was:" >&5
22064 sed 's/^/| /' conftest.
$ac_ext >&5
22067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22071 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22072 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22073 if test "$ac_cv_sys_largefile_source" != no
; then
22075 cat >>confdefs.h
<<_ACEOF
22076 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22082 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22083 # in glibc 2.1.3, but that breaks too many other things.
22084 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22085 echo "$as_me:$LINENO: checking for fseeko" >&5
22086 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22087 if test "${ac_cv_func_fseeko+set}" = set; then
22088 echo $ECHO_N "(cached) $ECHO_C" >&6
22090 cat >conftest.
$ac_ext <<_ACEOF
22093 cat confdefs.h
>>conftest.
$ac_ext
22094 cat >>conftest.
$ac_ext <<_ACEOF
22095 /* end confdefs.h. */
22100 return fseeko && fseeko (stdin, 0, 0);
22105 rm -f conftest.
$ac_objext conftest
$ac_exeext
22106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22107 (eval $ac_link) 2>conftest.er1
22109 grep -v '^ *+' conftest.er1
>conftest.err
22111 cat conftest.err
>&5
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); } &&
22114 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22116 (eval $ac_try) 2>&5
22118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119 (exit $ac_status); }; } &&
22120 { ac_try
='test -s conftest$ac_exeext'
22121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22122 (eval $ac_try) 2>&5
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); }; }; then
22126 ac_cv_func_fseeko
=yes
22128 echo "$as_me: failed program was:" >&5
22129 sed 's/^/| /' conftest.
$ac_ext >&5
22131 ac_cv_func_fseeko
=no
22133 rm -f conftest.err conftest.
$ac_objext \
22134 conftest
$ac_exeext conftest.
$ac_ext
22136 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22137 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22138 if test $ac_cv_func_fseeko = yes; then
22140 cat >>confdefs.h
<<\_ACEOF
22141 #define HAVE_FSEEKO 1
22146 if test "$ac_cv_sys_largefile_source" != no
; then
22147 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22151 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22152 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22153 if test "${ac_cv_c_bigendian+set}" = set; then
22154 echo $ECHO_N "(cached) $ECHO_C" >&6
22156 ac_cv_c_bigendian
=unknown
22157 # See if sys/param.h defines the BYTE_ORDER macro.
22158 cat >conftest.
$ac_ext <<_ACEOF
22161 cat confdefs.h
>>conftest.
$ac_ext
22162 cat >>conftest.
$ac_ext <<_ACEOF
22163 /* end confdefs.h. */
22164 #include <sys/types.h>
22165 #include <sys/param.h>
22170 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22171 bogus endian macros
22177 rm -f conftest.
$ac_objext
22178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22179 (eval $ac_compile) 2>conftest.er1
22181 grep -v '^ *+' conftest.er1
>conftest.err
22183 cat conftest.err
>&5
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); } &&
22186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22188 (eval $ac_try) 2>&5
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); }; } &&
22192 { ac_try
='test -s conftest.$ac_objext'
22193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22194 (eval $ac_try) 2>&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); }; }; then
22198 # It does; now see whether it defined to BIG_ENDIAN or not.
22199 cat >conftest.
$ac_ext <<_ACEOF
22202 cat confdefs.h
>>conftest.
$ac_ext
22203 cat >>conftest.
$ac_ext <<_ACEOF
22204 /* end confdefs.h. */
22205 #include <sys/types.h>
22206 #include <sys/param.h>
22211 #if BYTE_ORDER != BIG_ENDIAN
22218 rm -f conftest.
$ac_objext
22219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22220 (eval $ac_compile) 2>conftest.er1
22222 grep -v '^ *+' conftest.er1
>conftest.err
22224 cat conftest.err
>&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); } &&
22227 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22229 (eval $ac_try) 2>&5
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); }; } &&
22233 { ac_try
='test -s conftest.$ac_objext'
22234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22235 (eval $ac_try) 2>&5
22237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238 (exit $ac_status); }; }; then
22239 ac_cv_c_bigendian
=yes
22241 echo "$as_me: failed program was:" >&5
22242 sed 's/^/| /' conftest.
$ac_ext >&5
22244 ac_cv_c_bigendian
=no
22246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22248 echo "$as_me: failed program was:" >&5
22249 sed 's/^/| /' conftest.
$ac_ext >&5
22252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22253 if test $ac_cv_c_bigendian = unknown
; then
22254 if test "$cross_compiling" = yes; then
22255 ac_cv_c_bigendian
=unknown
22257 cat >conftest.
$ac_ext <<_ACEOF
22260 cat confdefs.h
>>conftest.
$ac_ext
22261 cat >>conftest.
$ac_ext <<_ACEOF
22262 /* end confdefs.h. */
22264 /* Are we little or big endian? From Harbison&Steele. */
22268 char c[sizeof (long)];
22271 exit (u.c[sizeof (long) - 1] == 1);
22274 rm -f conftest
$ac_exeext
22275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22276 (eval $ac_link) 2>&5
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22281 (eval $ac_try) 2>&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); }; }; then
22285 ac_cv_c_bigendian
=no
22287 echo "$as_me: program exited with status $ac_status" >&5
22288 echo "$as_me: failed program was:" >&5
22289 sed 's/^/| /' conftest.
$ac_ext >&5
22291 ( exit $ac_status )
22292 ac_cv_c_bigendian
=yes
22294 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22298 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22299 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22300 if test $ac_cv_c_bigendian = unknown
; then
22301 { 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
22302 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;}
22304 if test $ac_cv_c_bigendian = yes; then
22305 cat >>confdefs.h
<<\_ACEOF
22306 #define WORDS_BIGENDIAN 1
22313 ac_cpp
='$CXXCPP $CPPFLAGS'
22314 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22315 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22316 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22317 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
22318 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
22319 if test -z "$CXXCPP"; then
22320 if test "${ac_cv_prog_CXXCPP+set}" = set; then
22321 echo $ECHO_N "(cached) $ECHO_C" >&6
22323 # Double quotes because CXXCPP needs to be expanded
22324 for CXXCPP
in "$CXX -E" "/lib/cpp"
22326 ac_preproc_ok
=false
22327 for ac_cxx_preproc_warn_flag
in '' yes
22329 # Use a header file that comes with gcc, so configuring glibc
22330 # with a fresh cross-compiler works.
22331 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22332 # <limits.h> exists even on freestanding compilers.
22333 # On the NeXT, cc -E runs the code through the compiler's parser,
22334 # not just through cpp. "Syntax error" is here to catch this case.
22335 cat >conftest.
$ac_ext <<_ACEOF
22338 cat confdefs.h
>>conftest.
$ac_ext
22339 cat >>conftest.
$ac_ext <<_ACEOF
22340 /* end confdefs.h. */
22342 # include <limits.h>
22344 # include <assert.h>
22348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22349 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22351 grep -v '^ *+' conftest.er1
>conftest.err
22353 cat conftest.err
>&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); } >/dev
/null
; then
22356 if test -s conftest.err
; then
22357 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22358 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22365 if test -z "$ac_cpp_err"; then
22368 echo "$as_me: failed program was:" >&5
22369 sed 's/^/| /' conftest.
$ac_ext >&5
22371 # Broken: fails on valid input.
22374 rm -f conftest.err conftest.
$ac_ext
22376 # OK, works on sane cases. Now check whether non-existent headers
22377 # can be detected and how.
22378 cat >conftest.
$ac_ext <<_ACEOF
22381 cat confdefs.h
>>conftest.
$ac_ext
22382 cat >>conftest.
$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384 #include <ac_nonexistent.h>
22386 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22387 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22389 grep -v '^ *+' conftest.er1
>conftest.err
22391 cat conftest.err
>&5
22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22393 (exit $ac_status); } >/dev
/null
; then
22394 if test -s conftest.err
; then
22395 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22396 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22403 if test -z "$ac_cpp_err"; then
22404 # Broken: success on invalid input.
22407 echo "$as_me: failed program was:" >&5
22408 sed 's/^/| /' conftest.
$ac_ext >&5
22410 # Passes both tests.
22414 rm -f conftest.err conftest.
$ac_ext
22417 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22418 rm -f conftest.err conftest.
$ac_ext
22419 if $ac_preproc_ok; then
22424 ac_cv_prog_CXXCPP
=$CXXCPP
22427 CXXCPP
=$ac_cv_prog_CXXCPP
22429 ac_cv_prog_CXXCPP
=$CXXCPP
22431 echo "$as_me:$LINENO: result: $CXXCPP" >&5
22432 echo "${ECHO_T}$CXXCPP" >&6
22433 ac_preproc_ok
=false
22434 for ac_cxx_preproc_warn_flag
in '' yes
22436 # Use a header file that comes with gcc, so configuring glibc
22437 # with a fresh cross-compiler works.
22438 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22439 # <limits.h> exists even on freestanding compilers.
22440 # On the NeXT, cc -E runs the code through the compiler's parser,
22441 # not just through cpp. "Syntax error" is here to catch this case.
22442 cat >conftest.
$ac_ext <<_ACEOF
22445 cat confdefs.h
>>conftest.
$ac_ext
22446 cat >>conftest.
$ac_ext <<_ACEOF
22447 /* end confdefs.h. */
22449 # include <limits.h>
22451 # include <assert.h>
22455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22456 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22458 grep -v '^ *+' conftest.er1
>conftest.err
22460 cat conftest.err
>&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } >/dev
/null
; then
22463 if test -s conftest.err
; then
22464 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22465 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22472 if test -z "$ac_cpp_err"; then
22475 echo "$as_me: failed program was:" >&5
22476 sed 's/^/| /' conftest.
$ac_ext >&5
22478 # Broken: fails on valid input.
22481 rm -f conftest.err conftest.
$ac_ext
22483 # OK, works on sane cases. Now check whether non-existent headers
22484 # can be detected and how.
22485 cat >conftest.
$ac_ext <<_ACEOF
22488 cat confdefs.h
>>conftest.
$ac_ext
22489 cat >>conftest.
$ac_ext <<_ACEOF
22490 /* end confdefs.h. */
22491 #include <ac_nonexistent.h>
22493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22494 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22496 grep -v '^ *+' conftest.er1
>conftest.err
22498 cat conftest.err
>&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } >/dev
/null
; then
22501 if test -s conftest.err
; then
22502 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22503 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22510 if test -z "$ac_cpp_err"; then
22511 # Broken: success on invalid input.
22514 echo "$as_me: failed program was:" >&5
22515 sed 's/^/| /' conftest.
$ac_ext >&5
22517 # Passes both tests.
22521 rm -f conftest.err conftest.
$ac_ext
22524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22525 rm -f conftest.err conftest.
$ac_ext
22526 if $ac_preproc_ok; then
22529 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22530 See \`config.log' for more details." >&5
22531 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22532 See \`config.log' for more details." >&2;}
22533 { (exit 1); exit 1; }; }
22537 ac_cpp
='$CXXCPP $CPPFLAGS'
22538 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22539 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22540 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22547 ac_cpp
='$CXXCPP $CPPFLAGS'
22548 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22549 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22550 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22554 for ac_header
in iostream
22556 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22558 echo "$as_me:$LINENO: checking for $ac_header" >&5
22559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22561 echo $ECHO_N "(cached) $ECHO_C" >&6
22563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22566 # Is the header compilable?
22567 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22569 cat >conftest.
$ac_ext <<_ACEOF
22572 cat confdefs.h
>>conftest.
$ac_ext
22573 cat >>conftest.
$ac_ext <<_ACEOF
22574 /* end confdefs.h. */
22575 $ac_includes_default
22576 #include <$ac_header>
22578 rm -f conftest.
$ac_objext
22579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22580 (eval $ac_compile) 2>conftest.er1
22582 grep -v '^ *+' conftest.er1
>conftest.err
22584 cat conftest.err
>&5
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); } &&
22587 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22589 (eval $ac_try) 2>&5
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; } &&
22593 { ac_try
='test -s conftest.$ac_objext'
22594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22595 (eval $ac_try) 2>&5
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; }; then
22599 ac_header_compiler
=yes
22601 echo "$as_me: failed program was:" >&5
22602 sed 's/^/| /' conftest.
$ac_ext >&5
22604 ac_header_compiler
=no
22606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22607 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22608 echo "${ECHO_T}$ac_header_compiler" >&6
22610 # Is the header present?
22611 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22612 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22613 cat >conftest.
$ac_ext <<_ACEOF
22616 cat confdefs.h
>>conftest.
$ac_ext
22617 cat >>conftest.
$ac_ext <<_ACEOF
22618 /* end confdefs.h. */
22619 #include <$ac_header>
22621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22622 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22624 grep -v '^ *+' conftest.er1
>conftest.err
22626 cat conftest.err
>&5
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); } >/dev
/null
; then
22629 if test -s conftest.err
; then
22630 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22631 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22638 if test -z "$ac_cpp_err"; then
22639 ac_header_preproc
=yes
22641 echo "$as_me: failed program was:" >&5
22642 sed 's/^/| /' conftest.
$ac_ext >&5
22644 ac_header_preproc
=no
22646 rm -f conftest.err conftest.
$ac_ext
22647 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22648 echo "${ECHO_T}$ac_header_preproc" >&6
22650 # So? What about this header?
22651 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22653 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22654 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22656 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22657 ac_header_preproc
=yes
22660 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22661 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22662 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22663 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22664 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22665 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22666 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22667 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22669 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22670 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22671 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22674 ## ----------------------------------------- ##
22675 ## Report this to wx-dev@lists.wxwidgets.org ##
22676 ## ----------------------------------------- ##
22679 sed "s/^/$as_me: WARNING: /" >&2
22682 echo "$as_me:$LINENO: checking for $ac_header" >&5
22683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22685 echo $ECHO_N "(cached) $ECHO_C" >&6
22687 eval "$as_ac_Header=\$ac_header_preproc"
22689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22694 cat >>confdefs.h
<<_ACEOF
22695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22703 if test "$ac_cv_header_iostream" = "yes" ; then
22706 cat >>confdefs.h
<<\_ACEOF
22707 #define wxUSE_IOSTREAMH 1
22713 ac_cpp
='$CPP $CPPFLAGS'
22714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22721 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22722 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22723 if test "${wx_cv_cpp_bool+set}" = set; then
22724 echo $ECHO_N "(cached) $ECHO_C" >&6
22730 ac_cpp
='$CXXCPP $CPPFLAGS'
22731 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22732 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22733 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22736 cat >conftest.
$ac_ext <<_ACEOF
22739 cat confdefs.h
>>conftest.
$ac_ext
22740 cat >>conftest.
$ac_ext <<_ACEOF
22741 /* end confdefs.h. */
22756 rm -f conftest.
$ac_objext
22757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22758 (eval $ac_compile) 2>conftest.er1
22760 grep -v '^ *+' conftest.er1
>conftest.err
22762 cat conftest.err
>&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } &&
22765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22767 (eval $ac_try) 2>&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); }; } &&
22771 { ac_try
='test -s conftest.$ac_objext'
22772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773 (eval $ac_try) 2>&5
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); }; }; then
22781 echo "$as_me: failed program was:" >&5
22782 sed 's/^/| /' conftest.
$ac_ext >&5
22789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22792 ac_cpp
='$CPP $CPPFLAGS'
22793 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22794 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22795 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22799 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22800 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22802 if test "$wx_cv_cpp_bool" = "yes"; then
22803 cat >>confdefs.h
<<\_ACEOF
22804 #define HAVE_BOOL 1
22811 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22812 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22813 if test "${wx_cv_explicit+set}" = set; then
22814 echo $ECHO_N "(cached) $ECHO_C" >&6
22820 ac_cpp
='$CXXCPP $CPPFLAGS'
22821 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22822 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22823 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22826 cat >conftest.
$ac_ext <<_ACEOF
22829 cat confdefs.h
>>conftest.
$ac_ext
22830 cat >>conftest.
$ac_ext <<_ACEOF
22831 /* end confdefs.h. */
22833 class Foo { public: explicit Foo(int) {} };
22845 rm -f conftest.
$ac_objext
22846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22847 (eval $ac_compile) 2>conftest.er1
22849 grep -v '^ *+' conftest.er1
>conftest.err
22851 cat conftest.err
>&5
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); } &&
22854 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22856 (eval $ac_try) 2>&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); }; } &&
22860 { ac_try
='test -s conftest.$ac_objext'
22861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22862 (eval $ac_try) 2>&5
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); }; }; then
22867 cat >conftest.
$ac_ext <<_ACEOF
22870 cat confdefs.h
>>conftest.
$ac_ext
22871 cat >>conftest.
$ac_ext <<_ACEOF
22872 /* end confdefs.h. */
22874 class Foo { public: explicit Foo(int) {} };
22875 static void TakeFoo(const Foo& foo) { }
22888 rm -f conftest.
$ac_objext
22889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22890 (eval $ac_compile) 2>conftest.er1
22892 grep -v '^ *+' conftest.er1
>conftest.err
22894 cat conftest.err
>&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); } &&
22897 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22899 (eval $ac_try) 2>&5
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); }; } &&
22903 { ac_try
='test -s conftest.$ac_objext'
22904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22905 (eval $ac_try) 2>&5
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); }; }; then
22911 echo "$as_me: failed program was:" >&5
22912 sed 's/^/| /' conftest.
$ac_ext >&5
22917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22920 echo "$as_me: failed program was:" >&5
22921 sed 's/^/| /' conftest.
$ac_ext >&5
22926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22929 ac_cpp
='$CPP $CPPFLAGS'
22930 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22931 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22932 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22936 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22937 echo "${ECHO_T}$wx_cv_explicit" >&6
22939 if test "$wx_cv_explicit" = "yes"; then
22940 cat >>confdefs.h
<<\_ACEOF
22941 #define HAVE_EXPLICIT 1
22947 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22948 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22949 if test "${ac_cv_cxx_const_cast+set}" = set; then
22950 echo $ECHO_N "(cached) $ECHO_C" >&6
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
22960 cat >conftest.
$ac_ext <<_ACEOF
22963 cat confdefs.h
>>conftest.
$ac_ext
22964 cat >>conftest.
$ac_ext <<_ACEOF
22965 /* end confdefs.h. */
22970 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22975 rm -f conftest.
$ac_objext
22976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22977 (eval $ac_compile) 2>conftest.er1
22979 grep -v '^ *+' conftest.er1
>conftest.err
22981 cat conftest.err
>&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); } &&
22984 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986 (eval $ac_try) 2>&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; } &&
22990 { ac_try
='test -s conftest.$ac_objext'
22991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992 (eval $ac_try) 2>&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); }; }; then
22996 ac_cv_cxx_const_cast
=yes
22998 echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.
$ac_ext >&5
23001 ac_cv_cxx_const_cast
=no
23003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23005 ac_cpp
='$CPP $CPPFLAGS'
23006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23012 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23013 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23014 if test "$ac_cv_cxx_const_cast" = yes; then
23016 cat >>confdefs.h
<<\_ACEOF
23017 #define HAVE_CONST_CAST
23022 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23023 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23024 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23025 echo $ECHO_N "(cached) $ECHO_C" >&6
23030 ac_cpp
='$CXXCPP $CPPFLAGS'
23031 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23032 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23033 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23035 cat >conftest.
$ac_ext <<_ACEOF
23038 cat confdefs.h
>>conftest.
$ac_ext
23039 cat >>conftest.
$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23041 #include <typeinfo>
23042 class Base { public : Base () {} virtual void f () = 0;};
23043 class Derived : public Base { public : Derived () {} virtual void f () {} };
23044 class Unrelated { public : Unrelated () {} };
23045 int g (Unrelated&) { return 0; }
23050 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23055 rm -f conftest.
$ac_objext
23056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23057 (eval $ac_compile) 2>conftest.er1
23059 grep -v '^ *+' conftest.er1
>conftest.err
23061 cat conftest.err
>&5
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); } &&
23064 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23066 (eval $ac_try) 2>&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); }; } &&
23070 { ac_try
='test -s conftest.$ac_objext'
23071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23072 (eval $ac_try) 2>&5
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); }; }; then
23076 ac_cv_cxx_reinterpret_cast
=yes
23078 echo "$as_me: failed program was:" >&5
23079 sed 's/^/| /' conftest.
$ac_ext >&5
23081 ac_cv_cxx_reinterpret_cast
=no
23083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23085 ac_cpp
='$CPP $CPPFLAGS'
23086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23092 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23093 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23094 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23096 cat >>confdefs.h
<<\_ACEOF
23097 #define HAVE_REINTERPRET_CAST
23102 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23103 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23104 if test "${ac_cv_cxx_static_cast+set}" = set; then
23105 echo $ECHO_N "(cached) $ECHO_C" >&6
23110 ac_cpp
='$CXXCPP $CPPFLAGS'
23111 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23112 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23113 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23115 cat >conftest.
$ac_ext <<_ACEOF
23118 cat confdefs.h
>>conftest.
$ac_ext
23119 cat >>conftest.
$ac_ext <<_ACEOF
23120 /* end confdefs.h. */
23121 #include <typeinfo>
23122 class Base { public : Base () {} virtual void f () = 0; };
23123 class Derived : public Base { public : Derived () {} virtual void f () {} };
23124 int g (Derived&) { return 0; }
23129 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23134 rm -f conftest.
$ac_objext
23135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23136 (eval $ac_compile) 2>conftest.er1
23138 grep -v '^ *+' conftest.er1
>conftest.err
23140 cat conftest.err
>&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); } &&
23143 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23145 (eval $ac_try) 2>&5
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); }; } &&
23149 { ac_try
='test -s conftest.$ac_objext'
23150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23151 (eval $ac_try) 2>&5
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); }; }; then
23155 ac_cv_cxx_static_cast
=yes
23157 echo "$as_me: failed program was:" >&5
23158 sed 's/^/| /' conftest.
$ac_ext >&5
23160 ac_cv_cxx_static_cast
=no
23162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23164 ac_cpp
='$CPP $CPPFLAGS'
23165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23171 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23172 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23173 if test "$ac_cv_cxx_static_cast" = yes; then
23175 cat >>confdefs.h
<<\_ACEOF
23176 #define HAVE_STATIC_CAST
23182 if test "x$SUNCXX" = xyes
; then
23183 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23186 if test "x$SUNCC" = xyes
; then
23187 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23190 if test "x$SGICC" = "xyes"; then
23191 CFLAGS
="-woff 3970 $CFLAGS"
23193 if test "x$SGICXX" = "xyes"; then
23194 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23197 if test "x$HPCC" = "xyes"; then
23198 CFLAGS
="+W 2011,2450 $CFLAGS"
23200 if test "x$HPCXX" = "xyes"; then
23201 CXXFLAGS
="+W 2340 $CXXFLAGS"
23204 if test "x$COMPAQCXX" = "xyes"; then
23205 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23209 ac_cpp
='$CXXCPP $CPPFLAGS'
23210 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23215 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23216 if test "$wxUSE_UNICODE" = "yes"; then
23217 std_string
="std::wstring"
23218 char_type
="wchar_t"
23220 std_string
="std::string"
23224 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23225 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23226 if test "${wx_cv_class_stdstring+set}" = set; then
23227 echo $ECHO_N "(cached) $ECHO_C" >&6
23230 cat >conftest.
$ac_ext <<_ACEOF
23233 cat confdefs.h
>>conftest.
$ac_ext
23234 cat >>conftest.
$ac_ext <<_ACEOF
23235 /* end confdefs.h. */
23245 rm -f conftest.
$ac_objext
23246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23247 (eval $ac_compile) 2>conftest.er1
23249 grep -v '^ *+' conftest.er1
>conftest.err
23251 cat conftest.err
>&5
23252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253 (exit $ac_status); } &&
23254 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23256 (eval $ac_try) 2>&5
23258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23259 (exit $ac_status); }; } &&
23260 { ac_try
='test -s conftest.$ac_objext'
23261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23262 (eval $ac_try) 2>&5
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); }; }; then
23266 wx_cv_class_stdstring
=yes
23268 echo "$as_me: failed program was:" >&5
23269 sed 's/^/| /' conftest.
$ac_ext >&5
23271 wx_cv_class_stdstring
=no
23274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23278 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23279 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
23281 if test "$wx_cv_class_stdstring" = yes; then
23282 if test "$wxUSE_UNICODE" = "yes"; then
23283 cat >>confdefs.h
<<\_ACEOF
23284 #define HAVE_STD_WSTRING 1
23289 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23290 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23291 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23292 echo $ECHO_N "(cached) $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 wx_cv_class_stdbasicstring
=yes
23346 echo "$as_me: failed program was:" >&5
23347 sed 's/^/| /' conftest.
$ac_ext >&5
23349 wx_cv_class_stdbasicstring
=no
23352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23356 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23357 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
23359 if test "$wx_cv_class_stdbasicstring" != yes; then
23360 if test "$wxUSE_STL" = "yes"; then
23361 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23362 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23363 { (exit 1); exit 1; }; }
23364 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23365 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23366 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23367 { (exit 1); exit 1; }; }
23369 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23370 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23371 wxUSE_STD_STRING
=no
23377 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23378 echo "$as_me:$LINENO: checking for std::istream" >&5
23379 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23380 if test "${ac_cv_type_std__istream+set}" = set; then
23381 echo $ECHO_N "(cached) $ECHO_C" >&6
23383 cat >conftest.
$ac_ext <<_ACEOF
23386 cat confdefs.h
>>conftest.
$ac_ext
23387 cat >>conftest.
$ac_ext <<_ACEOF
23388 /* end confdefs.h. */
23389 #include <iostream>
23394 if ((std::istream *) 0)
23396 if (sizeof (std::istream))
23402 rm -f conftest.
$ac_objext
23403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23404 (eval $ac_compile) 2>conftest.er1
23406 grep -v '^ *+' conftest.er1
>conftest.err
23408 cat conftest.err
>&5
23409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410 (exit $ac_status); } &&
23411 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23413 (eval $ac_try) 2>&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); }; } &&
23417 { ac_try
='test -s conftest.$ac_objext'
23418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23419 (eval $ac_try) 2>&5
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); }; }; then
23423 ac_cv_type_std__istream
=yes
23425 echo "$as_me: failed program was:" >&5
23426 sed 's/^/| /' conftest.
$ac_ext >&5
23428 ac_cv_type_std__istream
=no
23430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23432 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23433 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23434 if test $ac_cv_type_std__istream = yes; then
23436 cat >>confdefs.h
<<_ACEOF
23437 #define HAVE_STD__ISTREAM 1
23442 wxUSE_STD_IOSTREAM
=no
23444 echo "$as_me:$LINENO: checking for std::ostream" >&5
23445 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23446 if test "${ac_cv_type_std__ostream+set}" = set; then
23447 echo $ECHO_N "(cached) $ECHO_C" >&6
23449 cat >conftest.
$ac_ext <<_ACEOF
23452 cat confdefs.h
>>conftest.
$ac_ext
23453 cat >>conftest.
$ac_ext <<_ACEOF
23454 /* end confdefs.h. */
23455 #include <iostream>
23460 if ((std::ostream *) 0)
23462 if (sizeof (std::ostream))
23468 rm -f conftest.
$ac_objext
23469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23470 (eval $ac_compile) 2>conftest.er1
23472 grep -v '^ *+' conftest.er1
>conftest.err
23474 cat conftest.err
>&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); } &&
23477 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23479 (eval $ac_try) 2>&5
23481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482 (exit $ac_status); }; } &&
23483 { ac_try
='test -s conftest.$ac_objext'
23484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23485 (eval $ac_try) 2>&5
23487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23488 (exit $ac_status); }; }; then
23489 ac_cv_type_std__ostream
=yes
23491 echo "$as_me: failed program was:" >&5
23492 sed 's/^/| /' conftest.
$ac_ext >&5
23494 ac_cv_type_std__ostream
=no
23496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23498 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23499 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23500 if test $ac_cv_type_std__ostream = yes; then
23502 cat >>confdefs.h
<<_ACEOF
23503 #define HAVE_STD__OSTREAM 1
23508 wxUSE_STD_IOSTREAM
=no
23512 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23513 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23514 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23515 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23516 { (exit 1); exit 1; }; }
23518 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23519 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23524 if test "$wxUSE_STL" = "yes"; then
23525 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23526 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23527 if test "${wx_cv_lib_stl+set}" = set; then
23528 echo $ECHO_N "(cached) $ECHO_C" >&6
23530 cat >conftest.
$ac_ext <<_ACEOF
23533 cat confdefs.h
>>conftest.
$ac_ext
23534 cat >>conftest.
$ac_ext <<_ACEOF
23535 /* end confdefs.h. */
23537 #include <functional>
23538 #include <algorithm>
23544 std::vector<int> moo;
23545 std::list<int> foo;
23546 std::vector<int>::iterator it =
23547 std::find_if(moo.begin(), moo.end(),
23548 std::bind2nd(std::less<int>(), 3));
23553 rm -f conftest.
$ac_objext
23554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23555 (eval $ac_compile) 2>conftest.er1
23557 grep -v '^ *+' conftest.er1
>conftest.err
23559 cat conftest.err
>&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); } &&
23562 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
23568 { ac_try
='test -s conftest.$ac_objext'
23569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23570 (eval $ac_try) 2>&5
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); }; }; then
23576 echo "$as_me: failed program was:" >&5
23577 sed 's/^/| /' conftest.
$ac_ext >&5
23582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23585 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23586 echo "${ECHO_T}$wx_cv_lib_stl" >&6
23588 if test "$wx_cv_lib_stl" != yes; then
23589 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23590 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23591 { (exit 1); exit 1; }; }
23594 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23595 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23596 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23597 echo $ECHO_N "(cached) $ECHO_C" >&6
23599 cat >conftest.
$ac_ext <<_ACEOF
23602 cat confdefs.h
>>conftest.
$ac_ext
23603 cat >>conftest.
$ac_ext <<_ACEOF
23604 /* end confdefs.h. */
23609 std::string foo, bar;
23611 foo.compare(1, 1, bar);
23612 foo.compare(1, 1, bar, 1, 1);
23614 foo.compare(1, 1, "");
23615 foo.compare(1, 1, "", 2);
23620 rm -f conftest.
$ac_objext
23621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23622 (eval $ac_compile) 2>conftest.er1
23624 grep -v '^ *+' conftest.er1
>conftest.err
23626 cat conftest.err
>&5
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); } &&
23629 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23631 (eval $ac_try) 2>&5
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; } &&
23635 { ac_try
='test -s conftest.$ac_objext'
23636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23637 (eval $ac_try) 2>&5
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); }; }; then
23641 wx_cv_func_stdstring_compare
=yes
23643 echo "$as_me: failed program was:" >&5
23644 sed 's/^/| /' conftest.
$ac_ext >&5
23646 wx_cv_func_stdstring_compare
=no
23649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23652 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23653 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
23655 if test "$wx_cv_func_stdstring_compare" = yes; then
23656 cat >>confdefs.h
<<\_ACEOF
23657 #define HAVE_STD_STRING_COMPARE 1
23662 if test "${ac_cv_header_hash_map+set}" = set; then
23663 echo "$as_me:$LINENO: checking for hash_map" >&5
23664 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23665 if test "${ac_cv_header_hash_map+set}" = set; then
23666 echo $ECHO_N "(cached) $ECHO_C" >&6
23668 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23669 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23671 # Is the header compilable?
23672 echo "$as_me:$LINENO: checking hash_map usability" >&5
23673 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23674 cat >conftest.
$ac_ext <<_ACEOF
23677 cat confdefs.h
>>conftest.
$ac_ext
23678 cat >>conftest.
$ac_ext <<_ACEOF
23679 /* end confdefs.h. */
23680 $ac_includes_default
23681 #include <hash_map>
23683 rm -f conftest.
$ac_objext
23684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23685 (eval $ac_compile) 2>conftest.er1
23687 grep -v '^ *+' conftest.er1
>conftest.err
23689 cat conftest.err
>&5
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); } &&
23692 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23694 (eval $ac_try) 2>&5
23696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23697 (exit $ac_status); }; } &&
23698 { ac_try
='test -s conftest.$ac_objext'
23699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23700 (eval $ac_try) 2>&5
23702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23703 (exit $ac_status); }; }; then
23704 ac_header_compiler
=yes
23706 echo "$as_me: failed program was:" >&5
23707 sed 's/^/| /' conftest.
$ac_ext >&5
23709 ac_header_compiler
=no
23711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23712 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23713 echo "${ECHO_T}$ac_header_compiler" >&6
23715 # Is the header present?
23716 echo "$as_me:$LINENO: checking hash_map presence" >&5
23717 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23718 cat >conftest.
$ac_ext <<_ACEOF
23721 cat confdefs.h
>>conftest.
$ac_ext
23722 cat >>conftest.
$ac_ext <<_ACEOF
23723 /* end confdefs.h. */
23724 #include <hash_map>
23726 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23727 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23729 grep -v '^ *+' conftest.er1
>conftest.err
23731 cat conftest.err
>&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); } >/dev
/null
; then
23734 if test -s conftest.err
; then
23735 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23736 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23743 if test -z "$ac_cpp_err"; then
23744 ac_header_preproc
=yes
23746 echo "$as_me: failed program was:" >&5
23747 sed 's/^/| /' conftest.
$ac_ext >&5
23749 ac_header_preproc
=no
23751 rm -f conftest.err conftest.
$ac_ext
23752 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23753 echo "${ECHO_T}$ac_header_preproc" >&6
23755 # So? What about this header?
23756 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23758 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23759 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23760 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23761 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23762 ac_header_preproc
=yes
23765 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23766 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23767 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23768 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23769 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23770 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23771 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23772 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23773 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23774 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23775 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23776 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23779 ## ----------------------------------------- ##
23780 ## Report this to wx-dev@lists.wxwidgets.org ##
23781 ## ----------------------------------------- ##
23784 sed "s/^/$as_me: WARNING: /" >&2
23787 echo "$as_me:$LINENO: checking for hash_map" >&5
23788 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23789 if test "${ac_cv_header_hash_map+set}" = set; then
23790 echo $ECHO_N "(cached) $ECHO_C" >&6
23792 ac_cv_header_hash_map
=$ac_header_preproc
23794 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23795 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23798 if test $ac_cv_header_hash_map = yes; then
23799 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23800 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
23801 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23802 echo $ECHO_N "(cached) $ECHO_C" >&6
23804 cat >conftest.
$ac_ext <<_ACEOF
23807 cat confdefs.h
>>conftest.
$ac_ext
23808 cat >>conftest.
$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23810 #include <hash_map>
23811 #include <hash_set>
23815 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23816 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23821 rm -f conftest.
$ac_objext
23822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23823 (eval $ac_compile) 2>conftest.er1
23825 grep -v '^ *+' conftest.er1
>conftest.err
23827 cat conftest.err
>&5
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); } &&
23830 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23832 (eval $ac_try) 2>&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); }; } &&
23836 { ac_try
='test -s conftest.$ac_objext'
23837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23838 (eval $ac_try) 2>&5
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); }; }; then
23842 wx_cv_class_stdhashmapset
=yes
23844 echo "$as_me: failed program was:" >&5
23845 sed 's/^/| /' conftest.
$ac_ext >&5
23847 wx_cv_class_stdhashmapset
=no
23849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23853 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23854 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23860 if test "$wx_cv_class_stdhashmapset" = yes; then
23861 cat >>confdefs.h
<<\_ACEOF
23862 #define HAVE_HASH_MAP 1
23865 cat >>confdefs.h
<<\_ACEOF
23866 #define HAVE_STD_HASH_MAP 1
23871 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23872 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23873 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23874 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23875 echo $ECHO_N "(cached) $ECHO_C" >&6
23877 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23878 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23880 # Is the header compilable?
23881 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23882 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23883 cat >conftest.
$ac_ext <<_ACEOF
23886 cat confdefs.h
>>conftest.
$ac_ext
23887 cat >>conftest.
$ac_ext <<_ACEOF
23888 /* end confdefs.h. */
23889 $ac_includes_default
23890 #include <ext/hash_map>
23892 rm -f conftest.
$ac_objext
23893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23894 (eval $ac_compile) 2>conftest.er1
23896 grep -v '^ *+' conftest.er1
>conftest.err
23898 cat conftest.err
>&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); } &&
23901 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23903 (eval $ac_try) 2>&5
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); }; } &&
23907 { ac_try
='test -s conftest.$ac_objext'
23908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23909 (eval $ac_try) 2>&5
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); }; }; then
23913 ac_header_compiler
=yes
23915 echo "$as_me: failed program was:" >&5
23916 sed 's/^/| /' conftest.
$ac_ext >&5
23918 ac_header_compiler
=no
23920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23921 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23922 echo "${ECHO_T}$ac_header_compiler" >&6
23924 # Is the header present?
23925 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23926 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23927 cat >conftest.
$ac_ext <<_ACEOF
23930 cat confdefs.h
>>conftest.
$ac_ext
23931 cat >>conftest.
$ac_ext <<_ACEOF
23932 /* end confdefs.h. */
23933 #include <ext/hash_map>
23935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23936 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23938 grep -v '^ *+' conftest.er1
>conftest.err
23940 cat conftest.err
>&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); } >/dev
/null
; then
23943 if test -s conftest.err
; then
23944 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23945 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23952 if test -z "$ac_cpp_err"; then
23953 ac_header_preproc
=yes
23955 echo "$as_me: failed program was:" >&5
23956 sed 's/^/| /' conftest.
$ac_ext >&5
23958 ac_header_preproc
=no
23960 rm -f conftest.err conftest.
$ac_ext
23961 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23962 echo "${ECHO_T}$ac_header_preproc" >&6
23964 # So? What about this header?
23965 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23967 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23968 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23969 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23970 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23971 ac_header_preproc
=yes
23974 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23975 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23976 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23977 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23978 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23979 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23980 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23981 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23982 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23983 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23984 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23985 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23988 ## ----------------------------------------- ##
23989 ## Report this to wx-dev@lists.wxwidgets.org ##
23990 ## ----------------------------------------- ##
23993 sed "s/^/$as_me: WARNING: /" >&2
23996 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23997 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23998 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23999 echo $ECHO_N "(cached) $ECHO_C" >&6
24001 ac_cv_header_ext_hash_map
=$ac_header_preproc
24003 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24004 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24007 if test $ac_cv_header_ext_hash_map = yes; then
24008 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24009 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
24010 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24011 echo $ECHO_N "(cached) $ECHO_C" >&6
24013 cat >conftest.
$ac_ext <<_ACEOF
24016 cat confdefs.h
>>conftest.
$ac_ext
24017 cat >>conftest.
$ac_ext <<_ACEOF
24018 /* end confdefs.h. */
24019 #include <ext/hash_map>
24020 #include <ext/hash_set>
24024 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24025 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24030 rm -f conftest.
$ac_objext
24031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24032 (eval $ac_compile) 2>conftest.er1
24034 grep -v '^ *+' conftest.er1
>conftest.err
24036 cat conftest.err
>&5
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); } &&
24039 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24041 (eval $ac_try) 2>&5
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); }; } &&
24045 { ac_try
='test -s conftest.$ac_objext'
24046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24047 (eval $ac_try) 2>&5
24049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050 (exit $ac_status); }; }; then
24051 wx_cv_class_gnuhashmapset
=yes
24053 echo "$as_me: failed program was:" >&5
24054 sed 's/^/| /' conftest.
$ac_ext >&5
24056 wx_cv_class_gnuhashmapset
=no
24058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24062 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24063 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
24069 if test "$wx_cv_class_gnuhashmapset" = yes; then
24070 cat >>confdefs.h
<<\_ACEOF
24071 #define HAVE_EXT_HASH_MAP 1
24074 cat >>confdefs.h
<<\_ACEOF
24075 #define HAVE_GNU_CXX_HASH_MAP 1
24082 ac_cpp
='$CPP $CPPFLAGS'
24083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24090 /usr/local/include \
24092 /usr/Motif-2.1/include \
24093 /usr/Motif-1.2/include \
24094 /usr/include/Motif1.2 \
24097 /usr/openwin/include \
24101 /usr/X11R6/include \
24102 /usr/X11R6.4/include \
24103 /usr/X11R5/include \
24104 /usr/X11R4/include \
24106 /usr/include/X11R6 \
24107 /usr/include/X11R5 \
24108 /usr/include/X11R4 \
24110 /usr/local/X11R6/include \
24111 /usr/local/X11R5/include \
24112 /usr/local/X11R4/include \
24114 /usr/local/include/X11R6 \
24115 /usr/local/include/X11R5 \
24116 /usr/local/include/X11R4 \
24120 /usr/local/X11/include \
24121 /usr/local/include/X11 \
24123 /usr/XFree86/include/X11 \
24126 /usr/openwin/share/include"
24128 echo "$as_me:$LINENO: checking for libraries directory" >&5
24129 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24133 if test "${wx_cv_std_libpath+set}" = set; then
24134 echo $ECHO_N "(cached) $ECHO_C" >&6
24137 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24138 for e
in a so sl dylib dll.a
; do
24140 if test -f $libc; then
24143 cat >conftest.
$ac_ext <<_ACEOF
24144 int main() { return 0; }
24146 rm -f conftest.
$ac_objext conftest
$ac_exeext
24147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24148 (eval $ac_link) 2>conftest.er1
24150 grep -v '^ *+' conftest.er1
>conftest.err
24152 cat conftest.err
>&5
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); } &&
24155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24157 (eval $ac_try) 2>&5
24159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24160 (exit $ac_status); }; } &&
24161 { ac_try
='test -s conftest$ac_exeext'
24162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24163 (eval $ac_try) 2>&5
24165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166 (exit $ac_status); }; }; then
24167 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24169 echo "$as_me: failed program was:" >&5
24170 sed 's/^/| /' conftest.
$ac_ext >&5
24173 rm -f conftest.err conftest.
$ac_objext \
24174 conftest
$ac_exeext conftest.
$ac_ext
24176 if test "x$wx_cv_std_libpath" != "x"; then
24182 if test "x$wx_cv_std_libpath" = "x"; then
24183 wx_cv_std_libpath
="lib"
24192 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24193 wx_cv_std_libpath
="lib/64"
24195 wx_cv_std_libpath
="lib"
24200 if test "$ac_cv_sizeof_void_p" = 8 -a \
24201 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24202 wx_cv_std_libpath
="lib64"
24204 wx_cv_std_libpath
="lib"
24209 wx_cv_std_libpath
="lib";
24213 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24214 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24216 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24218 if test "$build" != "$host" -a "$GCC" = yes; then
24219 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24220 cross_root
=`dirname $cross_root`
24221 cross_root
=`dirname $cross_root`
24223 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24224 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24225 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24227 if test -z "$PKG_CONFIG_PATH"; then
24228 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24229 export PKG_CONFIG_PATH
24232 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24235 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24237 if test -f "$ac_dir/X11/Intrinsic.h"; then
24238 ac_find_includes
=$ac_dir
24243 x_includes
=$ac_find_includes
24245 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24248 for ac_dir
in $SEARCH_LIB;
24250 for ac_extension
in a so sl dylib dll.a
; do
24251 if test -f "$ac_dir/libXt.$ac_extension"; then
24252 ac_find_libraries
=$ac_dir
24258 x_libraries
=$ac_find_libraries
24264 cat >confcache
<<\_ACEOF
24265 # This file is a shell script that caches the results of configure
24266 # tests run on this system so they can be shared between configure
24267 # scripts and configure runs, see configure's option --config-cache.
24268 # It is not useful on other systems. If it contains results you don't
24269 # want to keep, you may remove or edit it.
24271 # config.status only pays attention to the cache file if you give it
24272 # the --recheck option to rerun configure.
24274 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24275 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24276 # following values.
24280 # The following way of writing the cache mishandles newlines in values,
24281 # but we know of no workaround that is simple, portable, and efficient.
24282 # So, don't put newlines in cache variables' values.
24283 # Ultrix sh set writes to stderr and can't be redirected directly,
24284 # and sets the high bit in the cache file unless we assign to the vars.
24287 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24289 # `set' does not quote correctly, so add quotes (double-quote
24290 # substitution turns \\\\ into \\, and sed turns \\ into \).
24293 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24296 # `set' quotes correctly as required by POSIX, so do not add quotes.
24298 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24305 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24307 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24309 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24310 if test -w $cache_file; then
24311 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24312 cat confcache
>$cache_file
24314 echo "not updating unwritable cache $cache_file"
24319 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24320 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24321 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24322 if test "${wx_cv_lib_glibc21+set}" = set; then
24323 echo $ECHO_N "(cached) $ECHO_C" >&6
24326 cat >conftest.
$ac_ext <<_ACEOF
24329 cat confdefs.h
>>conftest.
$ac_ext
24330 cat >>conftest.
$ac_ext <<_ACEOF
24331 /* end confdefs.h. */
24332 #include <features.h>
24337 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24345 rm -f conftest.
$ac_objext
24346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24347 (eval $ac_compile) 2>conftest.er1
24349 grep -v '^ *+' conftest.er1
>conftest.err
24351 cat conftest.err
>&5
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); } &&
24354 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24356 (eval $ac_try) 2>&5
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); }; } &&
24360 { ac_try
='test -s conftest.$ac_objext'
24361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24362 (eval $ac_try) 2>&5
24364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24365 (exit $ac_status); }; }; then
24367 wx_cv_lib_glibc21
=yes
24370 echo "$as_me: failed program was:" >&5
24371 sed 's/^/| /' conftest.
$ac_ext >&5
24374 wx_cv_lib_glibc21
=no
24378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24381 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24382 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24383 if test "$wx_cv_lib_glibc21" = "yes"; then
24384 cat >>confdefs.h
<<\_ACEOF
24385 #define wxHAVE_GLIBC2 1
24391 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24392 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24393 cat >>confdefs.h
<<\_ACEOF
24394 #define _GNU_SOURCE 1
24405 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24406 echo "$as_me:$LINENO: checking for $ac_func" >&5
24407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24408 if eval "test \"\${$as_ac_var+set}\" = set"; then
24409 echo $ECHO_N "(cached) $ECHO_C" >&6
24411 cat >conftest.
$ac_ext <<_ACEOF
24414 cat confdefs.h
>>conftest.
$ac_ext
24415 cat >>conftest.
$ac_ext <<_ACEOF
24416 /* end confdefs.h. */
24417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24419 #define $ac_func innocuous_$ac_func
24421 /* System header to define __stub macros and hopefully few prototypes,
24422 which can conflict with char $ac_func (); below.
24423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24424 <limits.h> exists even on freestanding compilers. */
24427 # include <limits.h>
24429 # include <assert.h>
24434 /* Override any gcc2 internal prototype to avoid an error. */
24439 /* We use char because int might match the return type of a gcc2
24440 builtin and then its argument prototype would still apply. */
24442 /* The GNU C library defines this for functions which it implements
24443 to always fail with ENOSYS. Some functions are actually named
24444 something starting with __ and the normal name is an alias. */
24445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24448 char (*f) () = $ac_func;
24457 return f != $ac_func;
24462 rm -f conftest.
$ac_objext conftest
$ac_exeext
24463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24464 (eval $ac_link) 2>conftest.er1
24466 grep -v '^ *+' conftest.er1
>conftest.err
24468 cat conftest.err
>&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); } &&
24471 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24473 (eval $ac_try) 2>&5
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); }; } &&
24477 { ac_try
='test -s conftest$ac_exeext'
24478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24479 (eval $ac_try) 2>&5
24481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482 (exit $ac_status); }; }; then
24483 eval "$as_ac_var=yes"
24485 echo "$as_me: failed program was:" >&5
24486 sed 's/^/| /' conftest.
$ac_ext >&5
24488 eval "$as_ac_var=no"
24490 rm -f conftest.err conftest.
$ac_objext \
24491 conftest
$ac_exeext conftest.
$ac_ext
24493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24495 if test `eval echo '${'$as_ac_var'}'` = yes; then
24496 cat >>confdefs.h
<<_ACEOF
24497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24504 for ac_func
in floor
24506 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24507 echo "$as_me:$LINENO: checking for $ac_func" >&5
24508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24509 if eval "test \"\${$as_ac_var+set}\" = set"; then
24510 echo $ECHO_N "(cached) $ECHO_C" >&6
24512 cat >conftest.
$ac_ext <<_ACEOF
24515 cat confdefs.h
>>conftest.
$ac_ext
24516 cat >>conftest.
$ac_ext <<_ACEOF
24517 /* end confdefs.h. */
24518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24520 #define $ac_func innocuous_$ac_func
24522 /* System header to define __stub macros and hopefully few prototypes,
24523 which can conflict with char $ac_func (); below.
24524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24525 <limits.h> exists even on freestanding compilers. */
24528 # include <limits.h>
24530 # include <assert.h>
24535 /* Override any gcc2 internal prototype to avoid an error. */
24540 /* We use char because int might match the return type of a gcc2
24541 builtin and then its argument prototype would still apply. */
24543 /* The GNU C library defines this for functions which it implements
24544 to always fail with ENOSYS. Some functions are actually named
24545 something starting with __ and the normal name is an alias. */
24546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24549 char (*f) () = $ac_func;
24558 return f != $ac_func;
24563 rm -f conftest.
$ac_objext conftest
$ac_exeext
24564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24565 (eval $ac_link) 2>conftest.er1
24567 grep -v '^ *+' conftest.er1
>conftest.err
24569 cat conftest.err
>&5
24570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24571 (exit $ac_status); } &&
24572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24574 (eval $ac_try) 2>&5
24576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577 (exit $ac_status); }; } &&
24578 { ac_try
='test -s conftest$ac_exeext'
24579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24580 (eval $ac_try) 2>&5
24582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24583 (exit $ac_status); }; }; then
24584 eval "$as_ac_var=yes"
24586 echo "$as_me: failed program was:" >&5
24587 sed 's/^/| /' conftest.
$ac_ext >&5
24589 eval "$as_ac_var=no"
24591 rm -f conftest.err conftest.
$ac_objext \
24592 conftest
$ac_exeext conftest.
$ac_ext
24594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24596 if test `eval echo '${'$as_ac_var'}'` = yes; then
24597 cat >>confdefs.h
<<_ACEOF
24598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24604 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24605 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24606 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24607 echo "$as_me:$LINENO: result: yes" >&5
24608 echo "${ECHO_T}yes" >&6
24610 echo "$as_me:$LINENO: result: no" >&5
24611 echo "${ECHO_T}no" >&6
24613 # use different functions to avoid configure caching
24619 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24620 echo "$as_me:$LINENO: checking for $ac_func" >&5
24621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24622 if eval "test \"\${$as_ac_var+set}\" = set"; then
24623 echo $ECHO_N "(cached) $ECHO_C" >&6
24625 cat >conftest.
$ac_ext <<_ACEOF
24628 cat confdefs.h
>>conftest.
$ac_ext
24629 cat >>conftest.
$ac_ext <<_ACEOF
24630 /* end confdefs.h. */
24631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24633 #define $ac_func innocuous_$ac_func
24635 /* System header to define __stub macros and hopefully few prototypes,
24636 which can conflict with char $ac_func (); below.
24637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24638 <limits.h> exists even on freestanding compilers. */
24641 # include <limits.h>
24643 # include <assert.h>
24648 /* Override any gcc2 internal prototype to avoid an error. */
24653 /* We use char because int might match the return type of a gcc2
24654 builtin and then its argument prototype would still apply. */
24656 /* The GNU C library defines this for functions which it implements
24657 to always fail with ENOSYS. Some functions are actually named
24658 something starting with __ and the normal name is an alias. */
24659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24662 char (*f) () = $ac_func;
24671 return f != $ac_func;
24676 rm -f conftest.
$ac_objext conftest
$ac_exeext
24677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24678 (eval $ac_link) 2>conftest.er1
24680 grep -v '^ *+' conftest.er1
>conftest.err
24682 cat conftest.err
>&5
24683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684 (exit $ac_status); } &&
24685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24687 (eval $ac_try) 2>&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); }; } &&
24691 { ac_try
='test -s conftest$ac_exeext'
24692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24693 (eval $ac_try) 2>&5
24695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696 (exit $ac_status); }; }; then
24697 eval "$as_ac_var=yes"
24699 echo "$as_me: failed program was:" >&5
24700 sed 's/^/| /' conftest.
$ac_ext >&5
24702 eval "$as_ac_var=no"
24704 rm -f conftest.err conftest.
$ac_objext \
24705 conftest
$ac_exeext conftest.
$ac_ext
24707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24709 if test `eval echo '${'$as_ac_var'}'` = yes; then
24710 cat >>confdefs.h
<<_ACEOF
24711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24718 for ac_func
in ceil
24720 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24721 echo "$as_me:$LINENO: checking for $ac_func" >&5
24722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24723 if eval "test \"\${$as_ac_var+set}\" = set"; then
24724 echo $ECHO_N "(cached) $ECHO_C" >&6
24726 cat >conftest.
$ac_ext <<_ACEOF
24729 cat confdefs.h
>>conftest.
$ac_ext
24730 cat >>conftest.
$ac_ext <<_ACEOF
24731 /* end confdefs.h. */
24732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24734 #define $ac_func innocuous_$ac_func
24736 /* System header to define __stub macros and hopefully few prototypes,
24737 which can conflict with char $ac_func (); below.
24738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24739 <limits.h> exists even on freestanding compilers. */
24742 # include <limits.h>
24744 # include <assert.h>
24749 /* Override any gcc2 internal prototype to avoid an error. */
24754 /* We use char because int might match the return type of a gcc2
24755 builtin and then its argument prototype would still apply. */
24757 /* The GNU C library defines this for functions which it implements
24758 to always fail with ENOSYS. Some functions are actually named
24759 something starting with __ and the normal name is an alias. */
24760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24763 char (*f) () = $ac_func;
24772 return f != $ac_func;
24777 rm -f conftest.
$ac_objext conftest
$ac_exeext
24778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24779 (eval $ac_link) 2>conftest.er1
24781 grep -v '^ *+' conftest.er1
>conftest.err
24783 cat conftest.err
>&5
24784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24785 (exit $ac_status); } &&
24786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24788 (eval $ac_try) 2>&5
24790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24791 (exit $ac_status); }; } &&
24792 { ac_try
='test -s conftest$ac_exeext'
24793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24794 (eval $ac_try) 2>&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); }; }; then
24798 eval "$as_ac_var=yes"
24800 echo "$as_me: failed program was:" >&5
24801 sed 's/^/| /' conftest.
$ac_ext >&5
24803 eval "$as_ac_var=no"
24805 rm -f conftest.err conftest.
$ac_objext \
24806 conftest
$ac_exeext conftest.
$ac_ext
24808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24810 if test `eval echo '${'$as_ac_var'}'` = yes; then
24811 cat >>confdefs.h
<<_ACEOF
24812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24818 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24819 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24820 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24821 echo "$as_me:$LINENO: result: yes" >&5
24822 echo "${ECHO_T}yes" >&6
24824 echo "$as_me:$LINENO: result: no" >&5
24825 echo "${ECHO_T}no" >&6
24826 # not sure we should warn the user, crash, etc.
24830 if test "wxUSE_UNICODE" = "yes"; then
24832 for wx_func
in wcstoull
24834 echo "$as_me:$LINENO: checking for $wx_func" >&5
24835 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24836 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24837 echo $ECHO_N "(cached) $ECHO_C" >&6
24840 cat >conftest.
$ac_ext <<_ACEOF
24844 cat confdefs.h
>>conftest.
$ac_ext
24845 cat >>conftest.
$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24849 $ac_includes_default
24865 rm -f conftest.
$ac_objext conftest
$ac_exeext
24866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24867 (eval $ac_link) 2>conftest.er1
24869 grep -v '^ *+' conftest.er1
>conftest.err
24871 cat conftest.err
>&5
24872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873 (exit $ac_status); } &&
24874 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24876 (eval $ac_try) 2>&5
24878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879 (exit $ac_status); }; } &&
24880 { ac_try
='test -s conftest$ac_exeext'
24881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24882 (eval $ac_try) 2>&5
24884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885 (exit $ac_status); }; }; then
24886 eval wx_cv_func_
$wx_func=yes
24888 echo "$as_me: failed program was:" >&5
24889 sed 's/^/| /' conftest.
$ac_ext >&5
24891 eval wx_cv_func_
$wx_func=no
24893 rm -f conftest.err conftest.
$ac_objext \
24894 conftest
$ac_exeext conftest.
$ac_ext
24897 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24898 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24900 if eval test \
$wx_cv_func_$wx_func = yes
24902 cat >>confdefs.h
<<_ACEOF
24903 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24915 for wx_func
in strtoull
24917 echo "$as_me:$LINENO: checking for $wx_func" >&5
24918 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24919 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24920 echo $ECHO_N "(cached) $ECHO_C" >&6
24923 cat >conftest.
$ac_ext <<_ACEOF
24927 cat confdefs.h
>>conftest.
$ac_ext
24928 cat >>conftest.
$ac_ext <<_ACEOF
24929 /* end confdefs.h. */
24932 $ac_includes_default
24948 rm -f conftest.
$ac_objext conftest
$ac_exeext
24949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24950 (eval $ac_link) 2>conftest.er1
24952 grep -v '^ *+' conftest.er1
>conftest.err
24954 cat conftest.err
>&5
24955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24956 (exit $ac_status); } &&
24957 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24959 (eval $ac_try) 2>&5
24961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962 (exit $ac_status); }; } &&
24963 { ac_try
='test -s conftest$ac_exeext'
24964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24965 (eval $ac_try) 2>&5
24967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24968 (exit $ac_status); }; }; then
24969 eval wx_cv_func_
$wx_func=yes
24971 echo "$as_me: failed program was:" >&5
24972 sed 's/^/| /' conftest.
$ac_ext >&5
24974 eval wx_cv_func_
$wx_func=no
24976 rm -f conftest.err conftest.
$ac_objext \
24977 conftest
$ac_exeext conftest.
$ac_ext
24980 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24981 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24983 if eval test \
$wx_cv_func_$wx_func = yes
24985 cat >>confdefs.h
<<_ACEOF
24986 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25000 if test "$wxUSE_REGEX" != "no"; then
25001 cat >>confdefs.h
<<\_ACEOF
25002 #define wxUSE_REGEX 1
25006 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25007 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25008 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25009 wxUSE_REGEX
=builtin
25012 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25013 if test "${ac_cv_header_regex_h+set}" = set; then
25014 echo "$as_me:$LINENO: checking for regex.h" >&5
25015 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25016 if test "${ac_cv_header_regex_h+set}" = set; then
25017 echo $ECHO_N "(cached) $ECHO_C" >&6
25019 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25020 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25022 # Is the header compilable?
25023 echo "$as_me:$LINENO: checking regex.h usability" >&5
25024 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25025 cat >conftest.
$ac_ext <<_ACEOF
25028 cat confdefs.h
>>conftest.
$ac_ext
25029 cat >>conftest.
$ac_ext <<_ACEOF
25030 /* end confdefs.h. */
25031 $ac_includes_default
25034 rm -f conftest.
$ac_objext
25035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25036 (eval $ac_compile) 2>conftest.er1
25038 grep -v '^ *+' conftest.er1
>conftest.err
25040 cat conftest.err
>&5
25041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25042 (exit $ac_status); } &&
25043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25045 (eval $ac_try) 2>&5
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); }; } &&
25049 { ac_try
='test -s conftest.$ac_objext'
25050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25051 (eval $ac_try) 2>&5
25053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25054 (exit $ac_status); }; }; then
25055 ac_header_compiler
=yes
25057 echo "$as_me: failed program was:" >&5
25058 sed 's/^/| /' conftest.
$ac_ext >&5
25060 ac_header_compiler
=no
25062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25063 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25064 echo "${ECHO_T}$ac_header_compiler" >&6
25066 # Is the header present?
25067 echo "$as_me:$LINENO: checking regex.h presence" >&5
25068 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25069 cat >conftest.
$ac_ext <<_ACEOF
25072 cat confdefs.h
>>conftest.
$ac_ext
25073 cat >>conftest.
$ac_ext <<_ACEOF
25074 /* end confdefs.h. */
25077 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25078 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25080 grep -v '^ *+' conftest.er1
>conftest.err
25082 cat conftest.err
>&5
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); } >/dev
/null
; then
25085 if test -s conftest.err
; then
25086 ac_cpp_err
=$ac_c_preproc_warn_flag
25087 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25094 if test -z "$ac_cpp_err"; then
25095 ac_header_preproc
=yes
25097 echo "$as_me: failed program was:" >&5
25098 sed 's/^/| /' conftest.
$ac_ext >&5
25100 ac_header_preproc
=no
25102 rm -f conftest.err conftest.
$ac_ext
25103 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25104 echo "${ECHO_T}$ac_header_preproc" >&6
25106 # So? What about this header?
25107 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25109 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25110 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25111 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25112 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25113 ac_header_preproc
=yes
25116 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25117 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25118 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25119 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25120 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25121 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25122 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25123 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25124 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25125 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25126 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25127 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25130 ## ----------------------------------------- ##
25131 ## Report this to wx-dev@lists.wxwidgets.org ##
25132 ## ----------------------------------------- ##
25135 sed "s/^/$as_me: WARNING: /" >&2
25138 echo "$as_me:$LINENO: checking for regex.h" >&5
25139 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25140 if test "${ac_cv_header_regex_h+set}" = set; then
25141 echo $ECHO_N "(cached) $ECHO_C" >&6
25143 ac_cv_header_regex_h
=$ac_header_preproc
25145 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25146 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25149 if test $ac_cv_header_regex_h = yes; then
25152 for ac_func
in regcomp re_search
25154 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25155 echo "$as_me:$LINENO: checking for $ac_func" >&5
25156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25157 if eval "test \"\${$as_ac_var+set}\" = set"; then
25158 echo $ECHO_N "(cached) $ECHO_C" >&6
25160 cat >conftest.
$ac_ext <<_ACEOF
25163 cat confdefs.h
>>conftest.
$ac_ext
25164 cat >>conftest.
$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25168 #define $ac_func innocuous_$ac_func
25170 /* System header to define __stub macros and hopefully few prototypes,
25171 which can conflict with char $ac_func (); below.
25172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25173 <limits.h> exists even on freestanding compilers. */
25176 # include <limits.h>
25178 # include <assert.h>
25183 /* Override any gcc2 internal prototype to avoid an error. */
25188 /* We use char because int might match the return type of a gcc2
25189 builtin and then its argument prototype would still apply. */
25191 /* The GNU C library defines this for functions which it implements
25192 to always fail with ENOSYS. Some functions are actually named
25193 something starting with __ and the normal name is an alias. */
25194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25197 char (*f) () = $ac_func;
25206 return f != $ac_func;
25211 rm -f conftest.
$ac_objext conftest
$ac_exeext
25212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25213 (eval $ac_link) 2>conftest.er1
25215 grep -v '^ *+' conftest.er1
>conftest.err
25217 cat conftest.err
>&5
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); } &&
25220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25222 (eval $ac_try) 2>&5
25224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25225 (exit $ac_status); }; } &&
25226 { ac_try
='test -s conftest$ac_exeext'
25227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25228 (eval $ac_try) 2>&5
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); }; }; then
25232 eval "$as_ac_var=yes"
25234 echo "$as_me: failed program was:" >&5
25235 sed 's/^/| /' conftest.
$ac_ext >&5
25237 eval "$as_ac_var=no"
25239 rm -f conftest.err conftest.
$ac_objext \
25240 conftest
$ac_exeext conftest.
$ac_ext
25242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25244 if test `eval echo '${'$as_ac_var'}'` = yes; then
25245 cat >>confdefs.h
<<_ACEOF
25246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25256 if test "x$ac_cv_func_regcomp" != "xyes"; then
25257 if test "$wxUSE_REGEX" = "sys" ; then
25258 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25259 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25260 { (exit 1); exit 1; }; }
25262 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25263 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25264 wxUSE_REGEX
=builtin
25268 cat >>confdefs.h
<<\_ACEOF
25269 #define WX_NO_REGEX_ADVANCED 1
25278 if test "$wxUSE_ZLIB" != "no" ; then
25279 cat >>confdefs.h
<<\_ACEOF
25280 #define wxUSE_ZLIB 1
25284 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25285 if test "$USE_DARWIN" = 1; then
25286 system_zlib_h_ok
="yes"
25288 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25289 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25290 if test "${ac_cv_header_zlib_h+set}" = set; then
25291 echo $ECHO_N "(cached) $ECHO_C" >&6
25293 if test "$cross_compiling" = yes; then
25294 unset ac_cv_header_zlib_h
25297 cat >conftest.
$ac_ext <<_ACEOF
25300 cat confdefs.h
>>conftest.
$ac_ext
25301 cat >>conftest.
$ac_ext <<_ACEOF
25302 /* end confdefs.h. */
25309 FILE *f=fopen("conftestval", "w");
25312 ZLIB_VERSION[0] == '1' &&
25313 (ZLIB_VERSION[2] > '1' ||
25314 (ZLIB_VERSION[2] == '1' &&
25315 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25320 rm -f conftest
$ac_exeext
25321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25322 (eval $ac_link) 2>&5
25324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25325 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25327 (eval $ac_try) 2>&5
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); }; }; then
25331 ac_cv_header_zlib_h
=`cat conftestval`
25333 echo "$as_me: program exited with status $ac_status" >&5
25334 echo "$as_me: failed program was:" >&5
25335 sed 's/^/| /' conftest.
$ac_ext >&5
25337 ( exit $ac_status )
25338 ac_cv_header_zlib_h
=no
25340 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25344 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25345 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25346 if test "${ac_cv_header_zlib_h+set}" = set; then
25347 echo "$as_me:$LINENO: checking for zlib.h" >&5
25348 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25349 if test "${ac_cv_header_zlib_h+set}" = set; then
25350 echo $ECHO_N "(cached) $ECHO_C" >&6
25352 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25353 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25355 # Is the header compilable?
25356 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25357 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25358 cat >conftest.
$ac_ext <<_ACEOF
25361 cat confdefs.h
>>conftest.
$ac_ext
25362 cat >>conftest.
$ac_ext <<_ACEOF
25363 /* end confdefs.h. */
25364 $ac_includes_default
25367 rm -f conftest.
$ac_objext
25368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25369 (eval $ac_compile) 2>conftest.er1
25371 grep -v '^ *+' conftest.er1
>conftest.err
25373 cat conftest.err
>&5
25374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25375 (exit $ac_status); } &&
25376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25378 (eval $ac_try) 2>&5
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); }; } &&
25382 { ac_try
='test -s conftest.$ac_objext'
25383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25384 (eval $ac_try) 2>&5
25386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25387 (exit $ac_status); }; }; then
25388 ac_header_compiler
=yes
25390 echo "$as_me: failed program was:" >&5
25391 sed 's/^/| /' conftest.
$ac_ext >&5
25393 ac_header_compiler
=no
25395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25397 echo "${ECHO_T}$ac_header_compiler" >&6
25399 # Is the header present?
25400 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25401 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25402 cat >conftest.
$ac_ext <<_ACEOF
25405 cat confdefs.h
>>conftest.
$ac_ext
25406 cat >>conftest.
$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25411 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25413 grep -v '^ *+' conftest.er1
>conftest.err
25415 cat conftest.err
>&5
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); } >/dev
/null
; then
25418 if test -s conftest.err
; then
25419 ac_cpp_err
=$ac_c_preproc_warn_flag
25420 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25427 if test -z "$ac_cpp_err"; then
25428 ac_header_preproc
=yes
25430 echo "$as_me: failed program was:" >&5
25431 sed 's/^/| /' conftest.
$ac_ext >&5
25433 ac_header_preproc
=no
25435 rm -f conftest.err conftest.
$ac_ext
25436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25437 echo "${ECHO_T}$ac_header_preproc" >&6
25439 # So? What about this header?
25440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25442 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25443 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25444 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25445 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25446 ac_header_preproc
=yes
25449 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25450 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25451 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25452 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25453 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25454 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25455 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25456 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25457 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25458 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25459 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25460 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25463 ## ----------------------------------------- ##
25464 ## Report this to wx-dev@lists.wxwidgets.org ##
25465 ## ----------------------------------------- ##
25468 sed "s/^/$as_me: WARNING: /" >&2
25471 echo "$as_me:$LINENO: checking for zlib.h" >&5
25472 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25473 if test "${ac_cv_header_zlib_h+set}" = set; then
25474 echo $ECHO_N "(cached) $ECHO_C" >&6
25476 ac_cv_header_zlib_h
=$ac_header_preproc
25478 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25479 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25485 system_zlib_h_ok
=$ac_cv_header_zlib_h
25488 if test "$system_zlib_h_ok" = "yes"; then
25489 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25490 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25491 if test "${ac_cv_lib_z_deflate+set}" = set; then
25492 echo $ECHO_N "(cached) $ECHO_C" >&6
25494 ac_check_lib_save_LIBS
=$LIBS
25496 cat >conftest.
$ac_ext <<_ACEOF
25499 cat confdefs.h
>>conftest.
$ac_ext
25500 cat >>conftest.
$ac_ext <<_ACEOF
25501 /* end confdefs.h. */
25503 /* Override any gcc2 internal prototype to avoid an error. */
25507 /* We use char because int might match the return type of a gcc2
25508 builtin and then its argument prototype would still apply. */
25518 rm -f conftest.
$ac_objext conftest
$ac_exeext
25519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25520 (eval $ac_link) 2>conftest.er1
25522 grep -v '^ *+' conftest.er1
>conftest.err
25524 cat conftest.err
>&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } &&
25527 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25529 (eval $ac_try) 2>&5
25531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); }; } &&
25533 { ac_try
='test -s conftest$ac_exeext'
25534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25535 (eval $ac_try) 2>&5
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); }; }; then
25539 ac_cv_lib_z_deflate
=yes
25541 echo "$as_me: failed program was:" >&5
25542 sed 's/^/| /' conftest.
$ac_ext >&5
25544 ac_cv_lib_z_deflate
=no
25546 rm -f conftest.err conftest.
$ac_objext \
25547 conftest
$ac_exeext conftest.
$ac_ext
25548 LIBS
=$ac_check_lib_save_LIBS
25550 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25551 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25552 if test $ac_cv_lib_z_deflate = yes; then
25558 if test "x$ZLIB_LINK" = "x" ; then
25559 if test "$wxUSE_ZLIB" = "sys" ; then
25560 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25561 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25562 { (exit 1); exit 1; }; }
25564 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25565 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25576 if test "$wxUSE_LIBPNG" != "no" ; then
25577 cat >>confdefs.h
<<\_ACEOF
25578 #define wxUSE_LIBPNG 1
25582 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25583 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25584 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25588 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25589 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25590 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25591 wxUSE_LIBPNG
=builtin
25594 if test "$wxUSE_MGL" != 1 ; then
25595 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25596 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25597 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25598 if test "${ac_cv_header_png_h+set}" = set; then
25599 echo $ECHO_N "(cached) $ECHO_C" >&6
25601 if test "$cross_compiling" = yes; then
25602 unset ac_cv_header_png_h
25605 cat >conftest.
$ac_ext <<_ACEOF
25608 cat confdefs.h
>>conftest.
$ac_ext
25609 cat >>conftest.
$ac_ext <<_ACEOF
25610 /* end confdefs.h. */
25617 FILE *f=fopen("conftestval", "w");
25620 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25625 rm -f conftest
$ac_exeext
25626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25627 (eval $ac_link) 2>&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25632 (eval $ac_try) 2>&5
25634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635 (exit $ac_status); }; }; then
25636 ac_cv_header_png_h
=`cat conftestval`
25638 echo "$as_me: program exited with status $ac_status" >&5
25639 echo "$as_me: failed program was:" >&5
25640 sed 's/^/| /' conftest.
$ac_ext >&5
25642 ( exit $ac_status )
25643 ac_cv_header_png_h
=no
25645 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25649 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25650 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25651 if test "${ac_cv_header_png_h+set}" = set; then
25652 echo "$as_me:$LINENO: checking for png.h" >&5
25653 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25654 if test "${ac_cv_header_png_h+set}" = set; then
25655 echo $ECHO_N "(cached) $ECHO_C" >&6
25657 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25658 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25660 # Is the header compilable?
25661 echo "$as_me:$LINENO: checking png.h usability" >&5
25662 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25663 cat >conftest.
$ac_ext <<_ACEOF
25666 cat confdefs.h
>>conftest.
$ac_ext
25667 cat >>conftest.
$ac_ext <<_ACEOF
25668 /* end confdefs.h. */
25669 $ac_includes_default
25672 rm -f conftest.
$ac_objext
25673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25674 (eval $ac_compile) 2>conftest.er1
25676 grep -v '^ *+' conftest.er1
>conftest.err
25678 cat conftest.err
>&5
25679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25680 (exit $ac_status); } &&
25681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25683 (eval $ac_try) 2>&5
25685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25686 (exit $ac_status); }; } &&
25687 { ac_try
='test -s conftest.$ac_objext'
25688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25689 (eval $ac_try) 2>&5
25691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25692 (exit $ac_status); }; }; then
25693 ac_header_compiler
=yes
25695 echo "$as_me: failed program was:" >&5
25696 sed 's/^/| /' conftest.
$ac_ext >&5
25698 ac_header_compiler
=no
25700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25702 echo "${ECHO_T}$ac_header_compiler" >&6
25704 # Is the header present?
25705 echo "$as_me:$LINENO: checking png.h presence" >&5
25706 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25707 cat >conftest.
$ac_ext <<_ACEOF
25710 cat confdefs.h
>>conftest.
$ac_ext
25711 cat >>conftest.
$ac_ext <<_ACEOF
25712 /* end confdefs.h. */
25715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25716 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25718 grep -v '^ *+' conftest.er1
>conftest.err
25720 cat conftest.err
>&5
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); } >/dev
/null
; then
25723 if test -s conftest.err
; then
25724 ac_cpp_err
=$ac_c_preproc_warn_flag
25725 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25732 if test -z "$ac_cpp_err"; then
25733 ac_header_preproc
=yes
25735 echo "$as_me: failed program was:" >&5
25736 sed 's/^/| /' conftest.
$ac_ext >&5
25738 ac_header_preproc
=no
25740 rm -f conftest.err conftest.
$ac_ext
25741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25742 echo "${ECHO_T}$ac_header_preproc" >&6
25744 # So? What about this header?
25745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25747 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25748 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25749 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25750 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25751 ac_header_preproc
=yes
25754 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25755 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25756 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25757 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25758 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25759 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25760 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25761 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25762 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25763 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25764 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25765 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25768 ## ----------------------------------------- ##
25769 ## Report this to wx-dev@lists.wxwidgets.org ##
25770 ## ----------------------------------------- ##
25773 sed "s/^/$as_me: WARNING: /" >&2
25776 echo "$as_me:$LINENO: checking for png.h" >&5
25777 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25778 if test "${ac_cv_header_png_h+set}" = set; then
25779 echo $ECHO_N "(cached) $ECHO_C" >&6
25781 ac_cv_header_png_h
=$ac_header_preproc
25783 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25784 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25790 if test "$ac_cv_header_png_h" = "yes"; then
25791 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25792 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25793 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25794 echo $ECHO_N "(cached) $ECHO_C" >&6
25796 ac_check_lib_save_LIBS
=$LIBS
25797 LIBS
="-lpng -lz -lm $LIBS"
25798 cat >conftest.
$ac_ext <<_ACEOF
25801 cat confdefs.h
>>conftest.
$ac_ext
25802 cat >>conftest.
$ac_ext <<_ACEOF
25803 /* end confdefs.h. */
25805 /* Override any gcc2 internal prototype to avoid an error. */
25809 /* We use char because int might match the return type of a gcc2
25810 builtin and then its argument prototype would still apply. */
25811 char png_check_sig ();
25820 rm -f conftest.
$ac_objext conftest
$ac_exeext
25821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25822 (eval $ac_link) 2>conftest.er1
25824 grep -v '^ *+' conftest.er1
>conftest.err
25826 cat conftest.err
>&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); } &&
25829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25831 (eval $ac_try) 2>&5
25833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25834 (exit $ac_status); }; } &&
25835 { ac_try
='test -s conftest$ac_exeext'
25836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25837 (eval $ac_try) 2>&5
25839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25840 (exit $ac_status); }; }; then
25841 ac_cv_lib_png_png_check_sig
=yes
25843 echo "$as_me: failed program was:" >&5
25844 sed 's/^/| /' conftest.
$ac_ext >&5
25846 ac_cv_lib_png_png_check_sig
=no
25848 rm -f conftest.err conftest.
$ac_objext \
25849 conftest
$ac_exeext conftest.
$ac_ext
25850 LIBS
=$ac_check_lib_save_LIBS
25852 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25853 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25854 if test $ac_cv_lib_png_png_check_sig = yes; then
25855 PNG_LINK
=" -lpng -lz"
25860 if test "x$PNG_LINK" = "x" ; then
25861 if test "$wxUSE_LIBPNG" = "sys" ; then
25862 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25863 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25864 { (exit 1); exit 1; }; }
25866 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25867 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25868 wxUSE_LIBPNG
=builtin
25876 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25881 if test "$wxUSE_LIBJPEG" != "no" ; then
25882 cat >>confdefs.h
<<\_ACEOF
25883 #define wxUSE_LIBJPEG 1
25887 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25888 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25889 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25893 if test "$wxUSE_MGL" != 1 ; then
25894 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25895 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25896 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25897 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25898 echo $ECHO_N "(cached) $ECHO_C" >&6
25900 cat >conftest.
$ac_ext <<_ACEOF
25903 cat confdefs.h
>>conftest.
$ac_ext
25904 cat >>conftest.
$ac_ext <<_ACEOF
25905 /* end confdefs.h. */
25907 #undef HAVE_STDLIB_H
25909 #include <jpeglib.h>
25920 rm -f conftest.
$ac_objext
25921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25922 (eval $ac_compile) 2>conftest.er1
25924 grep -v '^ *+' conftest.er1
>conftest.err
25926 cat conftest.err
>&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } &&
25929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25931 (eval $ac_try) 2>&5
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); }; } &&
25935 { ac_try
='test -s conftest.$ac_objext'
25936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937 (eval $ac_try) 2>&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); }; }; then
25941 ac_cv_header_jpeglib_h
=yes
25943 echo "$as_me: failed program was:" >&5
25944 sed 's/^/| /' conftest.
$ac_ext >&5
25946 ac_cv_header_jpeglib_h
=no
25949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25953 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25954 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25956 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25957 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25958 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25959 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25960 echo $ECHO_N "(cached) $ECHO_C" >&6
25962 ac_check_lib_save_LIBS
=$LIBS
25963 LIBS
="-ljpeg $LIBS"
25964 cat >conftest.
$ac_ext <<_ACEOF
25967 cat confdefs.h
>>conftest.
$ac_ext
25968 cat >>conftest.
$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25971 /* Override any gcc2 internal prototype to avoid an error. */
25975 /* We use char because int might match the return type of a gcc2
25976 builtin and then its argument prototype would still apply. */
25977 char jpeg_read_header ();
25981 jpeg_read_header ();
25986 rm -f conftest.
$ac_objext conftest
$ac_exeext
25987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25988 (eval $ac_link) 2>conftest.er1
25990 grep -v '^ *+' conftest.er1
>conftest.err
25992 cat conftest.err
>&5
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); } &&
25995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25997 (eval $ac_try) 2>&5
25999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26000 (exit $ac_status); }; } &&
26001 { ac_try
='test -s conftest$ac_exeext'
26002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26003 (eval $ac_try) 2>&5
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); }; }; then
26007 ac_cv_lib_jpeg_jpeg_read_header
=yes
26009 echo "$as_me: failed program was:" >&5
26010 sed 's/^/| /' conftest.
$ac_ext >&5
26012 ac_cv_lib_jpeg_jpeg_read_header
=no
26014 rm -f conftest.err conftest.
$ac_objext \
26015 conftest
$ac_exeext conftest.
$ac_ext
26016 LIBS
=$ac_check_lib_save_LIBS
26018 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26019 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26020 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26021 JPEG_LINK
=" -ljpeg"
26026 if test "x$JPEG_LINK" = "x" ; then
26027 if test "$wxUSE_LIBJPEG" = "sys" ; then
26028 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26029 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26030 { (exit 1); exit 1; }; }
26032 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26033 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26034 wxUSE_LIBJPEG
=builtin
26039 if test "$wxUSE_MSW" = 1; then
26040 echo "$as_me:$LINENO: checking for boolean" >&5
26041 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
26042 if test "${ac_cv_type_boolean+set}" = set; then
26043 echo $ECHO_N "(cached) $ECHO_C" >&6
26045 cat >conftest.
$ac_ext <<_ACEOF
26048 cat confdefs.h
>>conftest.
$ac_ext
26049 cat >>conftest.
$ac_ext <<_ACEOF
26050 /* end confdefs.h. */
26051 #include <windows.h>
26058 if (sizeof (boolean))
26064 rm -f conftest.
$ac_objext
26065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26066 (eval $ac_compile) 2>conftest.er1
26068 grep -v '^ *+' conftest.er1
>conftest.err
26070 cat conftest.err
>&5
26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072 (exit $ac_status); } &&
26073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26075 (eval $ac_try) 2>&5
26077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26078 (exit $ac_status); }; } &&
26079 { ac_try
='test -s conftest.$ac_objext'
26080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26081 (eval $ac_try) 2>&5
26083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26084 (exit $ac_status); }; }; then
26085 ac_cv_type_boolean
=yes
26087 echo "$as_me: failed program was:" >&5
26088 sed 's/^/| /' conftest.
$ac_ext >&5
26090 ac_cv_type_boolean
=no
26092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26094 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26095 echo "${ECHO_T}$ac_cv_type_boolean" >&6
26096 if test $ac_cv_type_boolean = yes; then
26098 cat >>confdefs.h
<<_ACEOF
26099 #define HAVE_BOOLEAN 1
26103 echo "$as_me:$LINENO: checking for boolean" >&5
26104 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
26105 if test "${ac_cv_type_boolean+set}" = set; then
26106 echo $ECHO_N "(cached) $ECHO_C" >&6
26108 cat >conftest.
$ac_ext <<_ACEOF
26111 cat confdefs.h
>>conftest.
$ac_ext
26112 cat >>conftest.
$ac_ext <<_ACEOF
26113 /* end confdefs.h. */
26115 #undef HAVE_BOOLEAN
26117 #include <jpeglib.h>
26125 if (sizeof (boolean))
26131 rm -f conftest.
$ac_objext
26132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26133 (eval $ac_compile) 2>conftest.er1
26135 grep -v '^ *+' conftest.er1
>conftest.err
26137 cat conftest.err
>&5
26138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26139 (exit $ac_status); } &&
26140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26142 (eval $ac_try) 2>&5
26144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26145 (exit $ac_status); }; } &&
26146 { ac_try
='test -s conftest.$ac_objext'
26147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26148 (eval $ac_try) 2>&5
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); }; }; then
26152 ac_cv_type_boolean
=yes
26154 echo "$as_me: failed program was:" >&5
26155 sed 's/^/| /' conftest.
$ac_ext >&5
26157 ac_cv_type_boolean
=no
26159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26161 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26162 echo "${ECHO_T}$ac_cv_type_boolean" >&6
26164 echo "$as_me:$LINENO: checking size of boolean" >&5
26165 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
26166 if test "${ac_cv_sizeof_boolean+set}" = set; then
26167 echo $ECHO_N "(cached) $ECHO_C" >&6
26169 if test "$ac_cv_type_boolean" = yes; then
26170 # The cast to unsigned long works around a bug in the HP C Compiler
26171 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26172 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26173 # This bug is HP SR number 8606223364.
26174 if test "$cross_compiling" = yes; then
26175 # Depending upon the size, compute the lo and hi bounds.
26176 cat >conftest.
$ac_ext <<_ACEOF
26179 cat confdefs.h
>>conftest.
$ac_ext
26180 cat >>conftest.
$ac_ext <<_ACEOF
26181 /* end confdefs.h. */
26183 #undef HAVE_BOOLEAN
26185 #include <jpeglib.h>
26191 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
26198 rm -f conftest.
$ac_objext
26199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26200 (eval $ac_compile) 2>conftest.er1
26202 grep -v '^ *+' conftest.er1
>conftest.err
26204 cat conftest.err
>&5
26205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26206 (exit $ac_status); } &&
26207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26209 (eval $ac_try) 2>&5
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); }; } &&
26213 { ac_try
='test -s conftest.$ac_objext'
26214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26215 (eval $ac_try) 2>&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); }; }; then
26221 cat >conftest.
$ac_ext <<_ACEOF
26224 cat confdefs.h
>>conftest.
$ac_ext
26225 cat >>conftest.
$ac_ext <<_ACEOF
26226 /* end confdefs.h. */
26228 #undef HAVE_BOOLEAN
26230 #include <jpeglib.h>
26236 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
26243 rm -f conftest.
$ac_objext
26244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26245 (eval $ac_compile) 2>conftest.er1
26247 grep -v '^ *+' conftest.er1
>conftest.err
26249 cat conftest.err
>&5
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); } &&
26252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; } &&
26258 { ac_try
='test -s conftest.$ac_objext'
26259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26260 (eval $ac_try) 2>&5
26262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26263 (exit $ac_status); }; }; then
26264 ac_hi
=$ac_mid; break
26266 echo "$as_me: failed program was:" >&5
26267 sed 's/^/| /' conftest.
$ac_ext >&5
26269 ac_lo
=`expr $ac_mid + 1`
26270 if test $ac_lo -le $ac_mid; then
26274 ac_mid
=`expr 2 '*' $ac_mid + 1`
26276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26279 echo "$as_me: failed program was:" >&5
26280 sed 's/^/| /' conftest.
$ac_ext >&5
26282 cat >conftest.
$ac_ext <<_ACEOF
26285 cat confdefs.h
>>conftest.
$ac_ext
26286 cat >>conftest.
$ac_ext <<_ACEOF
26287 /* end confdefs.h. */
26289 #undef HAVE_BOOLEAN
26291 #include <jpeglib.h>
26297 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
26304 rm -f conftest.
$ac_objext
26305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26306 (eval $ac_compile) 2>conftest.er1
26308 grep -v '^ *+' conftest.er1
>conftest.err
26310 cat conftest.err
>&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); } &&
26313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315 (eval $ac_try) 2>&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); }; } &&
26319 { ac_try
='test -s conftest.$ac_objext'
26320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26321 (eval $ac_try) 2>&5
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); }; }; then
26327 cat >conftest.
$ac_ext <<_ACEOF
26330 cat confdefs.h
>>conftest.
$ac_ext
26331 cat >>conftest.
$ac_ext <<_ACEOF
26332 /* end confdefs.h. */
26334 #undef HAVE_BOOLEAN
26336 #include <jpeglib.h>
26342 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
26349 rm -f conftest.
$ac_objext
26350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26351 (eval $ac_compile) 2>conftest.er1
26353 grep -v '^ *+' conftest.er1
>conftest.err
26355 cat conftest.err
>&5
26356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26357 (exit $ac_status); } &&
26358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26360 (eval $ac_try) 2>&5
26362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26363 (exit $ac_status); }; } &&
26364 { ac_try
='test -s conftest.$ac_objext'
26365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26366 (eval $ac_try) 2>&5
26368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369 (exit $ac_status); }; }; then
26370 ac_lo
=$ac_mid; break
26372 echo "$as_me: failed program was:" >&5
26373 sed 's/^/| /' conftest.
$ac_ext >&5
26375 ac_hi
=`expr '(' $ac_mid ')' - 1`
26376 if test $ac_mid -le $ac_hi; then
26380 ac_mid
=`expr 2 '*' $ac_mid`
26382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26385 echo "$as_me: failed program was:" >&5
26386 sed 's/^/| /' conftest.
$ac_ext >&5
26390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26393 # Binary search between lo and hi bounds.
26394 while test "x$ac_lo" != "x$ac_hi"; do
26395 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26396 cat >conftest.
$ac_ext <<_ACEOF
26399 cat confdefs.h
>>conftest.
$ac_ext
26400 cat >>conftest.
$ac_ext <<_ACEOF
26401 /* end confdefs.h. */
26403 #undef HAVE_BOOLEAN
26405 #include <jpeglib.h>
26411 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
26418 rm -f conftest.
$ac_objext
26419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26420 (eval $ac_compile) 2>conftest.er1
26422 grep -v '^ *+' conftest.er1
>conftest.err
26424 cat conftest.err
>&5
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); } &&
26427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
26433 { ac_try
='test -s conftest.$ac_objext'
26434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26435 (eval $ac_try) 2>&5
26437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438 (exit $ac_status); }; }; then
26441 echo "$as_me: failed program was:" >&5
26442 sed 's/^/| /' conftest.
$ac_ext >&5
26444 ac_lo
=`expr '(' $ac_mid ')' + 1`
26446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26449 ?
*) ac_cv_sizeof_boolean
=$ac_lo;;
26450 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
26451 See \`config.log' for more details." >&5
26452 echo "$as_me: error: cannot compute sizeof (boolean), 77
26453 See \`config.log' for more details." >&2;}
26454 { (exit 1); exit 1; }; } ;;
26457 if test "$cross_compiling" = yes; then
26458 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
26459 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
26460 { (exit 1); exit 1; }; }
26462 cat >conftest.
$ac_ext <<_ACEOF
26465 cat confdefs.h
>>conftest.
$ac_ext
26466 cat >>conftest.
$ac_ext <<_ACEOF
26467 /* end confdefs.h. */
26469 #undef HAVE_BOOLEAN
26471 #include <jpeglib.h>
26474 long longval () { return (long) (sizeof (boolean)); }
26475 unsigned long ulongval () { return (long) (sizeof (boolean)); }
26477 #include <stdlib.h>
26482 FILE *f = fopen ("conftest.val", "w");
26485 if (((long) (sizeof (boolean))) < 0)
26487 long i = longval ();
26488 if (i != ((long) (sizeof (boolean))))
26490 fprintf (f, "%ld\n", i);
26494 unsigned long i = ulongval ();
26495 if (i != ((long) (sizeof (boolean))))
26497 fprintf (f, "%lu\n", i);
26499 exit (ferror (f) || fclose (f) != 0);
26505 rm -f conftest
$ac_exeext
26506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26507 (eval $ac_link) 2>&5
26509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26510 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26512 (eval $ac_try) 2>&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); }; }; then
26516 ac_cv_sizeof_boolean
=`cat conftest.val`
26518 echo "$as_me: program exited with status $ac_status" >&5
26519 echo "$as_me: failed program was:" >&5
26520 sed 's/^/| /' conftest.
$ac_ext >&5
26522 ( exit $ac_status )
26523 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
26524 See \`config.log' for more details." >&5
26525 echo "$as_me: error: cannot compute sizeof (boolean), 77
26526 See \`config.log' for more details." >&2;}
26527 { (exit 1); exit 1; }; }
26529 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26534 ac_cv_sizeof_boolean
=0
26537 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26538 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
26539 cat >>confdefs.h
<<_ACEOF
26540 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26544 cat >>confdefs.h
<<_ACEOF
26545 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26559 TIFF_PREREQ_LINKS
=-lm
26560 if test "$wxUSE_LIBTIFF" != "no" ; then
26561 cat >>confdefs.h
<<\_ACEOF
26562 #define wxUSE_LIBTIFF 1
26566 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26567 if test "$wxUSE_LIBJPEG" = "sys"; then
26568 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26570 if test "$wxUSE_ZLIB" = "sys"; then
26571 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26573 if test "${ac_cv_header_tiffio_h+set}" = set; then
26574 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26575 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26576 if test "${ac_cv_header_tiffio_h+set}" = set; then
26577 echo $ECHO_N "(cached) $ECHO_C" >&6
26579 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26580 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26582 # Is the header compilable?
26583 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26584 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26585 cat >conftest.
$ac_ext <<_ACEOF
26588 cat confdefs.h
>>conftest.
$ac_ext
26589 cat >>conftest.
$ac_ext <<_ACEOF
26590 /* end confdefs.h. */
26591 $ac_includes_default
26592 #include <tiffio.h>
26594 rm -f conftest.
$ac_objext
26595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26596 (eval $ac_compile) 2>conftest.er1
26598 grep -v '^ *+' conftest.er1
>conftest.err
26600 cat conftest.err
>&5
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); } &&
26603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26605 (eval $ac_try) 2>&5
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); }; } &&
26609 { ac_try
='test -s conftest.$ac_objext'
26610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26611 (eval $ac_try) 2>&5
26613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26614 (exit $ac_status); }; }; then
26615 ac_header_compiler
=yes
26617 echo "$as_me: failed program was:" >&5
26618 sed 's/^/| /' conftest.
$ac_ext >&5
26620 ac_header_compiler
=no
26622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26623 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26624 echo "${ECHO_T}$ac_header_compiler" >&6
26626 # Is the header present?
26627 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26628 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26629 cat >conftest.
$ac_ext <<_ACEOF
26632 cat confdefs.h
>>conftest.
$ac_ext
26633 cat >>conftest.
$ac_ext <<_ACEOF
26634 /* end confdefs.h. */
26635 #include <tiffio.h>
26637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26638 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26640 grep -v '^ *+' conftest.er1
>conftest.err
26642 cat conftest.err
>&5
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); } >/dev
/null
; then
26645 if test -s conftest.err
; then
26646 ac_cpp_err
=$ac_c_preproc_warn_flag
26647 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26654 if test -z "$ac_cpp_err"; then
26655 ac_header_preproc
=yes
26657 echo "$as_me: failed program was:" >&5
26658 sed 's/^/| /' conftest.
$ac_ext >&5
26660 ac_header_preproc
=no
26662 rm -f conftest.err conftest.
$ac_ext
26663 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26664 echo "${ECHO_T}$ac_header_preproc" >&6
26666 # So? What about this header?
26667 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26669 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26670 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26671 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26672 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26673 ac_header_preproc
=yes
26676 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26677 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26678 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26679 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26680 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26681 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26682 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26683 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26684 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26685 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26686 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26687 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26690 ## ----------------------------------------- ##
26691 ## Report this to wx-dev@lists.wxwidgets.org ##
26692 ## ----------------------------------------- ##
26695 sed "s/^/$as_me: WARNING: /" >&2
26698 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26699 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26700 if test "${ac_cv_header_tiffio_h+set}" = set; then
26701 echo $ECHO_N "(cached) $ECHO_C" >&6
26703 ac_cv_header_tiffio_h
=$ac_header_preproc
26705 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26706 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26709 if test $ac_cv_header_tiffio_h = yes; then
26711 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26712 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26713 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26714 echo $ECHO_N "(cached) $ECHO_C" >&6
26716 ac_check_lib_save_LIBS
=$LIBS
26717 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26718 cat >conftest.
$ac_ext <<_ACEOF
26721 cat confdefs.h
>>conftest.
$ac_ext
26722 cat >>conftest.
$ac_ext <<_ACEOF
26723 /* end confdefs.h. */
26725 /* Override any gcc2 internal prototype to avoid an error. */
26729 /* We use char because int might match the return type of a gcc2
26730 builtin and then its argument prototype would still apply. */
26740 rm -f conftest.
$ac_objext conftest
$ac_exeext
26741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26742 (eval $ac_link) 2>conftest.er1
26744 grep -v '^ *+' conftest.er1
>conftest.err
26746 cat conftest.err
>&5
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); } &&
26749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26751 (eval $ac_try) 2>&5
26753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754 (exit $ac_status); }; } &&
26755 { ac_try
='test -s conftest$ac_exeext'
26756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26757 (eval $ac_try) 2>&5
26759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26760 (exit $ac_status); }; }; then
26761 ac_cv_lib_tiff_TIFFError
=yes
26763 echo "$as_me: failed program was:" >&5
26764 sed 's/^/| /' conftest.
$ac_ext >&5
26766 ac_cv_lib_tiff_TIFFError
=no
26768 rm -f conftest.err conftest.
$ac_objext \
26769 conftest
$ac_exeext conftest.
$ac_ext
26770 LIBS
=$ac_check_lib_save_LIBS
26772 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26773 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26774 if test $ac_cv_lib_tiff_TIFFError = yes; then
26775 TIFF_LINK
=" -ltiff"
26784 if test "x$TIFF_LINK" = "x" ; then
26785 if test "$wxUSE_LIBTIFF" = "sys" ; then
26786 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26787 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26788 { (exit 1); exit 1; }; }
26790 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26791 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26792 wxUSE_LIBTIFF
=builtin
26801 if test "$wxUSE_WCHAR_T" != "yes"; then
26802 if test "$wxUSE_EXPAT" != "no"; then
26803 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26804 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26807 if test "$wxUSE_XML" != "no"; then
26808 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26809 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26814 if test "$wxUSE_EXPAT" != "no"; then
26816 cat >>confdefs.h
<<\_ACEOF
26817 #define wxUSE_EXPAT 1
26820 cat >>confdefs.h
<<\_ACEOF
26821 #define wxUSE_XML 1
26825 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26826 if test "${ac_cv_header_expat_h+set}" = set; then
26827 echo "$as_me:$LINENO: checking for expat.h" >&5
26828 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26829 if test "${ac_cv_header_expat_h+set}" = set; then
26830 echo $ECHO_N "(cached) $ECHO_C" >&6
26832 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26833 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26835 # Is the header compilable?
26836 echo "$as_me:$LINENO: checking expat.h usability" >&5
26837 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26838 cat >conftest.
$ac_ext <<_ACEOF
26841 cat confdefs.h
>>conftest.
$ac_ext
26842 cat >>conftest.
$ac_ext <<_ACEOF
26843 /* end confdefs.h. */
26844 $ac_includes_default
26847 rm -f conftest.
$ac_objext
26848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26849 (eval $ac_compile) 2>conftest.er1
26851 grep -v '^ *+' conftest.er1
>conftest.err
26853 cat conftest.err
>&5
26854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26855 (exit $ac_status); } &&
26856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26858 (eval $ac_try) 2>&5
26860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26861 (exit $ac_status); }; } &&
26862 { ac_try
='test -s conftest.$ac_objext'
26863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26864 (eval $ac_try) 2>&5
26866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26867 (exit $ac_status); }; }; then
26868 ac_header_compiler
=yes
26870 echo "$as_me: failed program was:" >&5
26871 sed 's/^/| /' conftest.
$ac_ext >&5
26873 ac_header_compiler
=no
26875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26877 echo "${ECHO_T}$ac_header_compiler" >&6
26879 # Is the header present?
26880 echo "$as_me:$LINENO: checking expat.h presence" >&5
26881 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26882 cat >conftest.
$ac_ext <<_ACEOF
26885 cat confdefs.h
>>conftest.
$ac_ext
26886 cat >>conftest.
$ac_ext <<_ACEOF
26887 /* end confdefs.h. */
26890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26891 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26893 grep -v '^ *+' conftest.er1
>conftest.err
26895 cat conftest.err
>&5
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); } >/dev
/null
; then
26898 if test -s conftest.err
; then
26899 ac_cpp_err
=$ac_c_preproc_warn_flag
26900 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26907 if test -z "$ac_cpp_err"; then
26908 ac_header_preproc
=yes
26910 echo "$as_me: failed program was:" >&5
26911 sed 's/^/| /' conftest.
$ac_ext >&5
26913 ac_header_preproc
=no
26915 rm -f conftest.err conftest.
$ac_ext
26916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26917 echo "${ECHO_T}$ac_header_preproc" >&6
26919 # So? What about this header?
26920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26922 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26923 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26924 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26925 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26926 ac_header_preproc
=yes
26929 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26930 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26931 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26932 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26933 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26934 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26935 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26936 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26937 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26938 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26939 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26940 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26943 ## ----------------------------------------- ##
26944 ## Report this to wx-dev@lists.wxwidgets.org ##
26945 ## ----------------------------------------- ##
26948 sed "s/^/$as_me: WARNING: /" >&2
26951 echo "$as_me:$LINENO: checking for expat.h" >&5
26952 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26953 if test "${ac_cv_header_expat_h+set}" = set; then
26954 echo $ECHO_N "(cached) $ECHO_C" >&6
26956 ac_cv_header_expat_h
=$ac_header_preproc
26958 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26959 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26962 if test $ac_cv_header_expat_h = yes; then
26967 if test "x$found_expat_h" = "x1"; then
26968 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26969 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26970 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26971 echo $ECHO_N "(cached) $ECHO_C" >&6
26975 ac_cpp
='$CXXCPP $CPPFLAGS'
26976 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26977 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26978 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26980 cat >conftest.
$ac_ext <<_ACEOF
26983 cat confdefs.h
>>conftest.
$ac_ext
26984 cat >>conftest.
$ac_ext <<_ACEOF
26985 /* end confdefs.h. */
26995 rm -f conftest.
$ac_objext
26996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26997 (eval $ac_compile) 2>conftest.er1
26999 grep -v '^ *+' conftest.er1
>conftest.err
27001 cat conftest.err
>&5
27002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003 (exit $ac_status); } &&
27004 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27006 (eval $ac_try) 2>&5
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); }; } &&
27010 { ac_try
='test -s conftest.$ac_objext'
27011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27012 (eval $ac_try) 2>&5
27014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015 (exit $ac_status); }; }; then
27016 wx_cv_expat_is_not_broken
=yes
27018 echo "$as_me: failed program was:" >&5
27019 sed 's/^/| /' conftest.
$ac_ext >&5
27021 wx_cv_expat_is_not_broken
=no
27024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27026 ac_cpp
='$CPP $CPPFLAGS'
27027 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27028 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27029 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27034 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27035 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27036 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27037 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27038 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27039 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27040 echo $ECHO_N "(cached) $ECHO_C" >&6
27042 ac_check_lib_save_LIBS
=$LIBS
27043 LIBS
="-lexpat $LIBS"
27044 cat >conftest.
$ac_ext <<_ACEOF
27047 cat confdefs.h
>>conftest.
$ac_ext
27048 cat >>conftest.
$ac_ext <<_ACEOF
27049 /* end confdefs.h. */
27051 /* Override any gcc2 internal prototype to avoid an error. */
27055 /* We use char because int might match the return type of a gcc2
27056 builtin and then its argument prototype would still apply. */
27057 char XML_ParserCreate ();
27061 XML_ParserCreate ();
27066 rm -f conftest.
$ac_objext conftest
$ac_exeext
27067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27068 (eval $ac_link) 2>conftest.er1
27070 grep -v '^ *+' conftest.er1
>conftest.err
27072 cat conftest.err
>&5
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); } &&
27075 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27077 (eval $ac_try) 2>&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); }; } &&
27081 { ac_try
='test -s conftest$ac_exeext'
27082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27083 (eval $ac_try) 2>&5
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); }; }; then
27087 ac_cv_lib_expat_XML_ParserCreate
=yes
27089 echo "$as_me: failed program was:" >&5
27090 sed 's/^/| /' conftest.
$ac_ext >&5
27092 ac_cv_lib_expat_XML_ParserCreate
=no
27094 rm -f conftest.err conftest.
$ac_objext \
27095 conftest
$ac_exeext conftest.
$ac_ext
27096 LIBS
=$ac_check_lib_save_LIBS
27098 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27099 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27100 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27101 EXPAT_LINK
=" -lexpat"
27106 if test "x$EXPAT_LINK" = "x" ; then
27107 if test "$wxUSE_EXPAT" = "sys" ; then
27108 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27109 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27110 { (exit 1); exit 1; }; }
27112 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27113 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27114 wxUSE_EXPAT
=builtin
27120 if test "$wxUSE_EXPAT" = "builtin" ; then
27123 subdirs
="$subdirs src/expat"
27130 if test "$wxUSE_LIBMSPACK" != "no"; then
27131 if test "${ac_cv_header_mspack_h+set}" = set; then
27132 echo "$as_me:$LINENO: checking for mspack.h" >&5
27133 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27134 if test "${ac_cv_header_mspack_h+set}" = set; then
27135 echo $ECHO_N "(cached) $ECHO_C" >&6
27137 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27138 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27140 # Is the header compilable?
27141 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27142 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27143 cat >conftest.
$ac_ext <<_ACEOF
27146 cat confdefs.h
>>conftest.
$ac_ext
27147 cat >>conftest.
$ac_ext <<_ACEOF
27148 /* end confdefs.h. */
27149 $ac_includes_default
27150 #include <mspack.h>
27152 rm -f conftest.
$ac_objext
27153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27154 (eval $ac_compile) 2>conftest.er1
27156 grep -v '^ *+' conftest.er1
>conftest.err
27158 cat conftest.err
>&5
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); } &&
27161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27163 (eval $ac_try) 2>&5
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); }; } &&
27167 { ac_try
='test -s conftest.$ac_objext'
27168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27169 (eval $ac_try) 2>&5
27171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172 (exit $ac_status); }; }; then
27173 ac_header_compiler
=yes
27175 echo "$as_me: failed program was:" >&5
27176 sed 's/^/| /' conftest.
$ac_ext >&5
27178 ac_header_compiler
=no
27180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27182 echo "${ECHO_T}$ac_header_compiler" >&6
27184 # Is the header present?
27185 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27186 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27187 cat >conftest.
$ac_ext <<_ACEOF
27190 cat confdefs.h
>>conftest.
$ac_ext
27191 cat >>conftest.
$ac_ext <<_ACEOF
27192 /* end confdefs.h. */
27193 #include <mspack.h>
27195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27196 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27198 grep -v '^ *+' conftest.er1
>conftest.err
27200 cat conftest.err
>&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); } >/dev
/null
; then
27203 if test -s conftest.err
; then
27204 ac_cpp_err
=$ac_c_preproc_warn_flag
27205 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27212 if test -z "$ac_cpp_err"; then
27213 ac_header_preproc
=yes
27215 echo "$as_me: failed program was:" >&5
27216 sed 's/^/| /' conftest.
$ac_ext >&5
27218 ac_header_preproc
=no
27220 rm -f conftest.err conftest.
$ac_ext
27221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27222 echo "${ECHO_T}$ac_header_preproc" >&6
27224 # So? What about this header?
27225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27227 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27228 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27229 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27230 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27231 ac_header_preproc
=yes
27234 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27235 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27236 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27237 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27238 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27239 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27240 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27241 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27242 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27243 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27244 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27245 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27248 ## ----------------------------------------- ##
27249 ## Report this to wx-dev@lists.wxwidgets.org ##
27250 ## ----------------------------------------- ##
27253 sed "s/^/$as_me: WARNING: /" >&2
27256 echo "$as_me:$LINENO: checking for mspack.h" >&5
27257 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27258 if test "${ac_cv_header_mspack_h+set}" = set; then
27259 echo $ECHO_N "(cached) $ECHO_C" >&6
27261 ac_cv_header_mspack_h
=$ac_header_preproc
27263 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27264 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27267 if test $ac_cv_header_mspack_h = yes; then
27272 if test "x$found_mspack_h" = "x1"; then
27273 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27274 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27275 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27276 echo $ECHO_N "(cached) $ECHO_C" >&6
27278 ac_check_lib_save_LIBS
=$LIBS
27279 LIBS
="-lmspack $LIBS"
27280 cat >conftest.
$ac_ext <<_ACEOF
27283 cat confdefs.h
>>conftest.
$ac_ext
27284 cat >>conftest.
$ac_ext <<_ACEOF
27285 /* end confdefs.h. */
27287 /* Override any gcc2 internal prototype to avoid an error. */
27291 /* We use char because int might match the return type of a gcc2
27292 builtin and then its argument prototype would still apply. */
27293 char mspack_create_chm_decompressor ();
27297 mspack_create_chm_decompressor ();
27302 rm -f conftest.
$ac_objext conftest
$ac_exeext
27303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27304 (eval $ac_link) 2>conftest.er1
27306 grep -v '^ *+' conftest.er1
>conftest.err
27308 cat conftest.err
>&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); } &&
27311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27313 (eval $ac_try) 2>&5
27315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27316 (exit $ac_status); }; } &&
27317 { ac_try
='test -s conftest$ac_exeext'
27318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27319 (eval $ac_try) 2>&5
27321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27322 (exit $ac_status); }; }; then
27323 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
27325 echo "$as_me: failed program was:" >&5
27326 sed 's/^/| /' conftest.
$ac_ext >&5
27328 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
27330 rm -f conftest.err conftest.
$ac_objext \
27331 conftest
$ac_exeext conftest.
$ac_ext
27332 LIBS
=$ac_check_lib_save_LIBS
27334 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27335 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27336 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27337 MSPACK_LINK
=" -lmspack"
27341 if test "x$MSPACK_LINK" = "x" ; then
27346 if test "$wxUSE_LIBMSPACK" != "no"; then
27347 cat >>confdefs.h
<<\_ACEOF
27348 #define wxUSE_LIBMSPACK 1
27362 if test "$USE_WIN32" = 1 ; then
27364 for ac_header
in w32api.h
27366 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27368 echo "$as_me:$LINENO: checking for $ac_header" >&5
27369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27371 echo $ECHO_N "(cached) $ECHO_C" >&6
27373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27376 # Is the header compilable?
27377 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27378 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27379 cat >conftest.
$ac_ext <<_ACEOF
27382 cat confdefs.h
>>conftest.
$ac_ext
27383 cat >>conftest.
$ac_ext <<_ACEOF
27384 /* end confdefs.h. */
27385 $ac_includes_default
27386 #include <$ac_header>
27388 rm -f conftest.
$ac_objext
27389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27390 (eval $ac_compile) 2>conftest.er1
27392 grep -v '^ *+' conftest.er1
>conftest.err
27394 cat conftest.err
>&5
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); } &&
27397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27399 (eval $ac_try) 2>&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); }; } &&
27403 { ac_try
='test -s conftest.$ac_objext'
27404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27405 (eval $ac_try) 2>&5
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); }; }; then
27409 ac_header_compiler
=yes
27411 echo "$as_me: failed program was:" >&5
27412 sed 's/^/| /' conftest.
$ac_ext >&5
27414 ac_header_compiler
=no
27416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27417 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27418 echo "${ECHO_T}$ac_header_compiler" >&6
27420 # Is the header present?
27421 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27422 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27423 cat >conftest.
$ac_ext <<_ACEOF
27426 cat confdefs.h
>>conftest.
$ac_ext
27427 cat >>conftest.
$ac_ext <<_ACEOF
27428 /* end confdefs.h. */
27429 #include <$ac_header>
27431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27432 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27434 grep -v '^ *+' conftest.er1
>conftest.err
27436 cat conftest.err
>&5
27437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438 (exit $ac_status); } >/dev
/null
; then
27439 if test -s conftest.err
; then
27440 ac_cpp_err
=$ac_c_preproc_warn_flag
27441 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27448 if test -z "$ac_cpp_err"; then
27449 ac_header_preproc
=yes
27451 echo "$as_me: failed program was:" >&5
27452 sed 's/^/| /' conftest.
$ac_ext >&5
27454 ac_header_preproc
=no
27456 rm -f conftest.err conftest.
$ac_ext
27457 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27458 echo "${ECHO_T}$ac_header_preproc" >&6
27460 # So? What about this header?
27461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27463 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27464 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27466 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27467 ac_header_preproc
=yes
27470 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27471 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27472 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27473 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27474 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27475 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27476 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27477 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27480 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27481 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27484 ## ----------------------------------------- ##
27485 ## Report this to wx-dev@lists.wxwidgets.org ##
27486 ## ----------------------------------------- ##
27489 sed "s/^/$as_me: WARNING: /" >&2
27492 echo "$as_me:$LINENO: checking for $ac_header" >&5
27493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27495 echo $ECHO_N "(cached) $ECHO_C" >&6
27497 eval "$as_ac_Header=\$ac_header_preproc"
27499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27504 cat >>confdefs.h
<<_ACEOF
27505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27512 if test "${ac_cv_header_windows_h+set}" = set; then
27513 echo "$as_me:$LINENO: checking for windows.h" >&5
27514 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27515 if test "${ac_cv_header_windows_h+set}" = set; then
27516 echo $ECHO_N "(cached) $ECHO_C" >&6
27518 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27519 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27521 # Is the header compilable?
27522 echo "$as_me:$LINENO: checking windows.h usability" >&5
27523 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27524 cat >conftest.
$ac_ext <<_ACEOF
27527 cat confdefs.h
>>conftest.
$ac_ext
27528 cat >>conftest.
$ac_ext <<_ACEOF
27529 /* end confdefs.h. */
27530 $ac_includes_default
27531 #include <windows.h>
27533 rm -f conftest.
$ac_objext
27534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27535 (eval $ac_compile) 2>conftest.er1
27537 grep -v '^ *+' conftest.er1
>conftest.err
27539 cat conftest.err
>&5
27540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27541 (exit $ac_status); } &&
27542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27544 (eval $ac_try) 2>&5
27546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27547 (exit $ac_status); }; } &&
27548 { ac_try
='test -s conftest.$ac_objext'
27549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27550 (eval $ac_try) 2>&5
27552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27553 (exit $ac_status); }; }; then
27554 ac_header_compiler
=yes
27556 echo "$as_me: failed program was:" >&5
27557 sed 's/^/| /' conftest.
$ac_ext >&5
27559 ac_header_compiler
=no
27561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27563 echo "${ECHO_T}$ac_header_compiler" >&6
27565 # Is the header present?
27566 echo "$as_me:$LINENO: checking windows.h presence" >&5
27567 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27568 cat >conftest.
$ac_ext <<_ACEOF
27571 cat confdefs.h
>>conftest.
$ac_ext
27572 cat >>conftest.
$ac_ext <<_ACEOF
27573 /* end confdefs.h. */
27574 #include <windows.h>
27576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27577 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27579 grep -v '^ *+' conftest.er1
>conftest.err
27581 cat conftest.err
>&5
27582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27583 (exit $ac_status); } >/dev
/null
; then
27584 if test -s conftest.err
; then
27585 ac_cpp_err
=$ac_c_preproc_warn_flag
27586 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27593 if test -z "$ac_cpp_err"; then
27594 ac_header_preproc
=yes
27596 echo "$as_me: failed program was:" >&5
27597 sed 's/^/| /' conftest.
$ac_ext >&5
27599 ac_header_preproc
=no
27601 rm -f conftest.err conftest.
$ac_ext
27602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27603 echo "${ECHO_T}$ac_header_preproc" >&6
27605 # So? What about this header?
27606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27608 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27609 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27610 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27611 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27612 ac_header_preproc
=yes
27615 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27616 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27617 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27618 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27619 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27620 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27621 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27622 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27623 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27624 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27625 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27626 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27629 ## ----------------------------------------- ##
27630 ## Report this to wx-dev@lists.wxwidgets.org ##
27631 ## ----------------------------------------- ##
27634 sed "s/^/$as_me: WARNING: /" >&2
27637 echo "$as_me:$LINENO: checking for windows.h" >&5
27638 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27639 if test "${ac_cv_header_windows_h+set}" = set; then
27640 echo $ECHO_N "(cached) $ECHO_C" >&6
27642 ac_cv_header_windows_h
=$ac_header_preproc
27644 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27645 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27648 if test $ac_cv_header_windows_h = yes; then
27652 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27653 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27654 { (exit 1); exit 1; }; }
27660 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27662 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27663 LIBS
="$LIBS -loleacc"
27668 LIBS
="$LIBS -lkernel32 -luser32"
27671 if test "$wxUSE_ODBC" = "sys" ; then
27674 if test "$wxUSE_ODBC" = "yes" ; then
27675 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27676 cat >>confdefs.h
<<\_ACEOF
27677 #define wxUSE_ODBC 1
27682 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27683 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27685 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27687 WIN32INSTALL
=win32install
27690 for ac_header
in pbt.h
27692 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27694 echo "$as_me:$LINENO: checking for $ac_header" >&5
27695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27697 echo $ECHO_N "(cached) $ECHO_C" >&6
27699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27702 # Is the header compilable?
27703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27705 cat >conftest.
$ac_ext <<_ACEOF
27708 cat confdefs.h
>>conftest.
$ac_ext
27709 cat >>conftest.
$ac_ext <<_ACEOF
27710 /* end confdefs.h. */
27711 $ac_includes_default
27712 #include <$ac_header>
27714 rm -f conftest.
$ac_objext
27715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27716 (eval $ac_compile) 2>conftest.er1
27718 grep -v '^ *+' conftest.er1
>conftest.err
27720 cat conftest.err
>&5
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); } &&
27723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27725 (eval $ac_try) 2>&5
27727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728 (exit $ac_status); }; } &&
27729 { ac_try
='test -s conftest.$ac_objext'
27730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27731 (eval $ac_try) 2>&5
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); }; }; then
27735 ac_header_compiler
=yes
27737 echo "$as_me: failed program was:" >&5
27738 sed 's/^/| /' conftest.
$ac_ext >&5
27740 ac_header_compiler
=no
27742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27743 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27744 echo "${ECHO_T}$ac_header_compiler" >&6
27746 # Is the header present?
27747 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27748 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27749 cat >conftest.
$ac_ext <<_ACEOF
27752 cat confdefs.h
>>conftest.
$ac_ext
27753 cat >>conftest.
$ac_ext <<_ACEOF
27754 /* end confdefs.h. */
27755 #include <$ac_header>
27757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27758 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27760 grep -v '^ *+' conftest.er1
>conftest.err
27762 cat conftest.err
>&5
27763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27764 (exit $ac_status); } >/dev
/null
; then
27765 if test -s conftest.err
; then
27766 ac_cpp_err
=$ac_c_preproc_warn_flag
27767 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27774 if test -z "$ac_cpp_err"; then
27775 ac_header_preproc
=yes
27777 echo "$as_me: failed program was:" >&5
27778 sed 's/^/| /' conftest.
$ac_ext >&5
27780 ac_header_preproc
=no
27782 rm -f conftest.err conftest.
$ac_ext
27783 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27784 echo "${ECHO_T}$ac_header_preproc" >&6
27786 # So? What about this header?
27787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27789 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27790 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27792 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27793 ac_header_preproc
=yes
27796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27800 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27801 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27802 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27803 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27806 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27807 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27810 ## ----------------------------------------- ##
27811 ## Report this to wx-dev@lists.wxwidgets.org ##
27812 ## ----------------------------------------- ##
27815 sed "s/^/$as_me: WARNING: /" >&2
27818 echo "$as_me:$LINENO: checking for $ac_header" >&5
27819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27821 echo $ECHO_N "(cached) $ECHO_C" >&6
27823 eval "$as_ac_Header=\$ac_header_preproc"
27825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27830 cat >>confdefs.h
<<_ACEOF
27831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27835 cat >>confdefs.h
<<\_ACEOF
27836 #define NEED_PBT_H 1
27845 if test "$wxUSE_GUI" = "yes"; then
27855 if test "$wxUSE_COCOA" = 1 ; then
27856 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27857 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27858 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27859 wxUSE_PRINTING_ARCHITECTURE
=no
27861 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27862 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27863 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27864 wxUSE_DRAG_AND_DROP
=no
27866 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27867 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27868 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27873 if test "$wxUSE_MSW" = 1 ; then
27879 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27883 if test "$wxUSE_GTK" = 1; then
27884 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27885 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27887 gtk_version_cached
=1
27888 if test "${wx_cv_lib_gtk+set}" = set; then
27889 echo $ECHO_N "(cached) $ECHO_C" >&6
27892 gtk_version_cached
=0
27893 echo "$as_me:$LINENO: result: " >&5
27894 echo "${ECHO_T}" >&6
27897 if test "$wxUSE_THREADS" = "yes"; then
27898 GTK_MODULES
=gthread
27902 if test "x$wxGTK_VERSION" != "x1"
27906 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27911 # Check whether --enable-gtktest or --disable-gtktest was given.
27912 if test "${enable_gtktest+set}" = set; then
27913 enableval
="$enable_gtktest"
27919 pkg_config_args
=gtk
+-2.0
27920 for module
in .
$GTK_MODULES
27924 pkg_config_args
="$pkg_config_args gthread-2.0"
27931 # Extract the first word of "pkg-config", so it can be a program name with args.
27932 set dummy pkg
-config; ac_word
=$2
27933 echo "$as_me:$LINENO: checking for $ac_word" >&5
27934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27935 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27936 echo $ECHO_N "(cached) $ECHO_C" >&6
27938 case $PKG_CONFIG in
27940 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27944 for as_dir
in $PATH
27947 test -z "$as_dir" && as_dir
=.
27948 for ac_exec_ext
in '' $ac_executable_extensions; do
27949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27950 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27957 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27961 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27963 if test -n "$PKG_CONFIG"; then
27964 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27965 echo "${ECHO_T}$PKG_CONFIG" >&6
27967 echo "$as_me:$LINENO: result: no" >&5
27968 echo "${ECHO_T}no" >&6
27972 if test x
$PKG_CONFIG != xno
; then
27973 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27976 echo "*** pkg-config too old; version 0.7 or better required."
27984 min_gtk_version
=2.0.0
27985 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27986 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27988 if test x
$PKG_CONFIG != xno
; then
27989 ## don't try to run the test against uninstalled libtool libs
27990 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27991 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27995 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28002 if test x
"$no_gtk" = x
; then
28003 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
28004 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
28005 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28006 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28007 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28008 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28009 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28010 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28011 if test "x$enable_gtktest" = "xyes" ; then
28012 ac_save_CFLAGS
="$CFLAGS"
28013 ac_save_LIBS
="$LIBS"
28014 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28015 LIBS
="$GTK_LIBS $LIBS"
28017 if test "$cross_compiling" = yes; then
28018 echo $ac_n "cross compiling; assumed OK... $ac_c"
28020 cat >conftest.
$ac_ext <<_ACEOF
28023 cat confdefs.h
>>conftest.
$ac_ext
28024 cat >>conftest.
$ac_ext <<_ACEOF
28025 /* end confdefs.h. */
28027 #include <gtk/gtk.h>
28029 #include <stdlib.h>
28034 int major, minor, micro;
28037 system ("touch conf.gtktest");
28039 /* HP/UX 9 (%@#!) writes to sscanf strings */
28040 tmp_version = g_strdup("$min_gtk_version");
28041 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28042 printf("%s, bad version string\n", "$min_gtk_version");
28046 if ((gtk_major_version != $gtk_config_major_version) ||
28047 (gtk_minor_version != $gtk_config_minor_version) ||
28048 (gtk_micro_version != $gtk_config_micro_version))
28050 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28051 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28052 gtk_major_version, gtk_minor_version, gtk_micro_version);
28053 printf ("*** was found! If pkg-config was correct, then it is best\n");
28054 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28055 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28056 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28057 printf("*** required on your system.\n");
28058 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28059 printf("*** to point to the correct configuration files\n");
28061 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28062 (gtk_minor_version != GTK_MINOR_VERSION) ||
28063 (gtk_micro_version != GTK_MICRO_VERSION))
28065 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28066 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28067 printf("*** library (version %d.%d.%d)\n",
28068 gtk_major_version, gtk_minor_version, gtk_micro_version);
28072 if ((gtk_major_version > major) ||
28073 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28074 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28080 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28081 gtk_major_version, gtk_minor_version, gtk_micro_version);
28082 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28083 major, minor, micro);
28084 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28086 printf("*** If you have already installed a sufficiently new version, this error\n");
28087 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28088 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28089 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28090 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28091 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28092 printf("*** so that the correct libraries are found at run-time))\n");
28099 rm -f conftest
$ac_exeext
28100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28101 (eval $ac_link) 2>&5
28103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28104 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28106 (eval $ac_try) 2>&5
28108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28109 (exit $ac_status); }; }; then
28112 echo "$as_me: program exited with status $ac_status" >&5
28113 echo "$as_me: failed program was:" >&5
28114 sed 's/^/| /' conftest.
$ac_ext >&5
28116 ( exit $ac_status )
28119 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28121 CFLAGS
="$ac_save_CFLAGS"
28122 LIBS
="$ac_save_LIBS"
28125 if test "x$no_gtk" = x
; then
28126 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28127 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28130 echo "$as_me:$LINENO: result: no" >&5
28131 echo "${ECHO_T}no" >&6
28132 if test "$PKG_CONFIG" = "no" ; then
28133 echo "*** A new enough version of pkg-config was not found."
28134 echo "*** See http://pkgconfig.sourceforge.net"
28136 if test -f conf.gtktest
; then
28139 echo "*** Could not run GTK+ test program, checking why..."
28140 ac_save_CFLAGS
="$CFLAGS"
28141 ac_save_LIBS
="$LIBS"
28142 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28143 LIBS
="$LIBS $GTK_LIBS"
28144 cat >conftest.
$ac_ext <<_ACEOF
28147 cat confdefs.h
>>conftest.
$ac_ext
28148 cat >>conftest.
$ac_ext <<_ACEOF
28149 /* end confdefs.h. */
28151 #include <gtk/gtk.h>
28157 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28162 rm -f conftest.
$ac_objext conftest
$ac_exeext
28163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28164 (eval $ac_link) 2>conftest.er1
28166 grep -v '^ *+' conftest.er1
>conftest.err
28168 cat conftest.err
>&5
28169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28170 (exit $ac_status); } &&
28171 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28173 (eval $ac_try) 2>&5
28175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28176 (exit $ac_status); }; } &&
28177 { ac_try
='test -s conftest$ac_exeext'
28178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28179 (eval $ac_try) 2>&5
28181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28182 (exit $ac_status); }; }; then
28183 echo "*** The test program compiled, but did not run. This usually means"
28184 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28185 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28186 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28187 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28188 echo "*** is required on your system"
28190 echo "*** If you have an old version installed, it is best to remove it, although"
28191 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28193 echo "$as_me: failed program was:" >&5
28194 sed 's/^/| /' conftest.
$ac_ext >&5
28196 echo "*** The test program failed to compile or link. See the file config.log for the"
28197 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28199 rm -f conftest.err conftest.
$ac_objext \
28200 conftest
$ac_exeext conftest.
$ac_ext
28201 CFLAGS
="$ac_save_CFLAGS"
28202 LIBS
="$ac_save_LIBS"
28216 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28217 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
28218 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
28220 if test "$wxUSE_SHARED" != "yes"; then
28221 GTK_LIBS
="$GTK_LIBS -lX11"
28226 if test -z "$wx_cv_lib_gtk"; then
28227 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28229 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28230 if test "${with_gtk_prefix+set}" = set; then
28231 withval
="$with_gtk_prefix"
28232 gtk_config_prefix
="$withval"
28234 gtk_config_prefix
=""
28237 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28238 if test "${with_gtk_exec_prefix+set}" = set; then
28239 withval
="$with_gtk_exec_prefix"
28240 gtk_config_exec_prefix
="$withval"
28242 gtk_config_exec_prefix
=""
28244 # Check whether --enable-gtktest or --disable-gtktest was given.
28245 if test "${enable_gtktest+set}" = set; then
28246 enableval
="$enable_gtktest"
28252 for module
in .
$GTK_MODULES
28256 gtk_config_args
="$gtk_config_args gthread"
28261 if test x
$gtk_config_exec_prefix != x
; then
28262 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28263 if test x
${GTK_CONFIG+set} != xset
; then
28264 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28267 if test x
$gtk_config_prefix != x
; then
28268 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28269 if test x
${GTK_CONFIG+set} != xset
; then
28270 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28274 # Extract the first word of "gtk-config", so it can be a program name with args.
28275 set dummy gtk
-config; ac_word
=$2
28276 echo "$as_me:$LINENO: checking for $ac_word" >&5
28277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28278 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28279 echo $ECHO_N "(cached) $ECHO_C" >&6
28281 case $GTK_CONFIG in
28283 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28287 for as_dir
in $PATH
28290 test -z "$as_dir" && as_dir
=.
28291 for ac_exec_ext
in '' $ac_executable_extensions; do
28292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28293 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28300 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28304 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28306 if test -n "$GTK_CONFIG"; then
28307 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28308 echo "${ECHO_T}$GTK_CONFIG" >&6
28310 echo "$as_me:$LINENO: result: no" >&5
28311 echo "${ECHO_T}no" >&6
28314 min_gtk_version
=1.2.7
28315 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28316 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28318 if test "$GTK_CONFIG" = "no" ; then
28321 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28322 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28323 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28324 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28325 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28326 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28327 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28328 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28329 if test "x$enable_gtktest" = "xyes" ; then
28330 ac_save_CFLAGS
="$CFLAGS"
28331 ac_save_LIBS
="$LIBS"
28332 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28333 LIBS
="$GTK_LIBS $LIBS"
28335 if test "$cross_compiling" = yes; then
28336 echo $ac_n "cross compiling; assumed OK... $ac_c"
28338 cat >conftest.
$ac_ext <<_ACEOF
28341 cat confdefs.h
>>conftest.
$ac_ext
28342 cat >>conftest.
$ac_ext <<_ACEOF
28343 /* end confdefs.h. */
28345 #include <gtk/gtk.h>
28347 #include <stdlib.h>
28352 int major, minor, micro;
28355 system ("touch conf.gtktest");
28357 /* HP/UX 9 (%@#!) writes to sscanf strings */
28358 tmp_version = g_strdup("$min_gtk_version");
28359 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28360 printf("%s, bad version string\n", "$min_gtk_version");
28364 if ((gtk_major_version != $gtk_config_major_version) ||
28365 (gtk_minor_version != $gtk_config_minor_version) ||
28366 (gtk_micro_version != $gtk_config_micro_version))
28368 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28369 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28370 gtk_major_version, gtk_minor_version, gtk_micro_version);
28371 printf ("*** was found! If gtk-config was correct, then it is best\n");
28372 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28373 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28374 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28375 printf("*** required on your system.\n");
28376 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28377 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28378 printf("*** before re-running configure\n");
28380 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28381 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28382 (gtk_minor_version != GTK_MINOR_VERSION) ||
28383 (gtk_micro_version != GTK_MICRO_VERSION))
28385 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28386 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28387 printf("*** library (version %d.%d.%d)\n",
28388 gtk_major_version, gtk_minor_version, gtk_micro_version);
28390 #endif /* defined (GTK_MAJOR_VERSION) ... */
28393 if ((gtk_major_version > major) ||
28394 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28395 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28401 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28402 gtk_major_version, gtk_minor_version, gtk_micro_version);
28403 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28404 major, minor, micro);
28405 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28407 printf("*** If you have already installed a sufficiently new version, this error\n");
28408 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28409 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28410 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28411 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28412 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28413 printf("*** so that the correct libraries are found at run-time))\n");
28420 rm -f conftest
$ac_exeext
28421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28422 (eval $ac_link) 2>&5
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28427 (eval $ac_try) 2>&5
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); }; }; then
28433 echo "$as_me: program exited with status $ac_status" >&5
28434 echo "$as_me: failed program was:" >&5
28435 sed 's/^/| /' conftest.
$ac_ext >&5
28437 ( exit $ac_status )
28440 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28442 CFLAGS
="$ac_save_CFLAGS"
28443 LIBS
="$ac_save_LIBS"
28446 if test "x$no_gtk" = x
; then
28447 echo "$as_me:$LINENO: result: yes" >&5
28448 echo "${ECHO_T}yes" >&6
28449 wx_cv_lib_gtk
=1.2.7
28451 echo "$as_me:$LINENO: result: no" >&5
28452 echo "${ECHO_T}no" >&6
28453 if test "$GTK_CONFIG" = "no" ; then
28454 echo "*** The gtk-config script installed by GTK could not be found"
28455 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28456 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28457 echo "*** full path to gtk-config."
28459 if test -f conf.gtktest
; then
28462 echo "*** Could not run GTK test program, checking why..."
28463 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28464 LIBS
="$LIBS $GTK_LIBS"
28465 cat >conftest.
$ac_ext <<_ACEOF
28468 cat confdefs.h
>>conftest.
$ac_ext
28469 cat >>conftest.
$ac_ext <<_ACEOF
28470 /* end confdefs.h. */
28472 #include <gtk/gtk.h>
28478 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28483 rm -f conftest.
$ac_objext conftest
$ac_exeext
28484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28485 (eval $ac_link) 2>conftest.er1
28487 grep -v '^ *+' conftest.er1
>conftest.err
28489 cat conftest.err
>&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } &&
28492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28494 (eval $ac_try) 2>&5
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); }; } &&
28498 { ac_try
='test -s conftest$ac_exeext'
28499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28500 (eval $ac_try) 2>&5
28502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28503 (exit $ac_status); }; }; then
28504 echo "*** The test program compiled, but did not run. This usually means"
28505 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28506 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28507 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28508 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28509 echo "*** is required on your system"
28511 echo "*** If you have an old version installed, it is best to remove it, although"
28512 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28514 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28515 echo "*** came with the system with the command"
28517 echo "*** rpm --erase --nodeps gtk gtk-devel"
28519 echo "$as_me: failed program was:" >&5
28520 sed 's/^/| /' conftest.
$ac_ext >&5
28522 echo "*** The test program failed to compile or link. See the file config.log for the"
28523 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28524 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28525 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28527 rm -f conftest.err conftest.
$ac_objext \
28528 conftest
$ac_exeext conftest.
$ac_ext
28529 CFLAGS
="$ac_save_CFLAGS"
28530 LIBS
="$ac_save_LIBS"
28542 if test -z "$wx_cv_lib_gtk"; then
28544 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28545 if test "${with_gtk_prefix+set}" = set; then
28546 withval
="$with_gtk_prefix"
28547 gtk_config_prefix
="$withval"
28549 gtk_config_prefix
=""
28552 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28553 if test "${with_gtk_exec_prefix+set}" = set; then
28554 withval
="$with_gtk_exec_prefix"
28555 gtk_config_exec_prefix
="$withval"
28557 gtk_config_exec_prefix
=""
28559 # Check whether --enable-gtktest or --disable-gtktest was given.
28560 if test "${enable_gtktest+set}" = set; then
28561 enableval
="$enable_gtktest"
28567 for module
in .
$GTK_MODULES
28571 gtk_config_args
="$gtk_config_args gthread"
28576 if test x
$gtk_config_exec_prefix != x
; then
28577 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28578 if test x
${GTK_CONFIG+set} != xset
; then
28579 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28582 if test x
$gtk_config_prefix != x
; then
28583 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28584 if test x
${GTK_CONFIG+set} != xset
; then
28585 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28589 # Extract the first word of "gtk-config", so it can be a program name with args.
28590 set dummy gtk
-config; ac_word
=$2
28591 echo "$as_me:$LINENO: checking for $ac_word" >&5
28592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28593 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28594 echo $ECHO_N "(cached) $ECHO_C" >&6
28596 case $GTK_CONFIG in
28598 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28602 for as_dir
in $PATH
28605 test -z "$as_dir" && as_dir
=.
28606 for ac_exec_ext
in '' $ac_executable_extensions; do
28607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28608 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28615 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28619 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28621 if test -n "$GTK_CONFIG"; then
28622 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28623 echo "${ECHO_T}$GTK_CONFIG" >&6
28625 echo "$as_me:$LINENO: result: no" >&5
28626 echo "${ECHO_T}no" >&6
28629 min_gtk_version
=1.2.3
28630 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28631 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28633 if test "$GTK_CONFIG" = "no" ; then
28636 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28637 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28638 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28640 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28641 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28642 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28643 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28644 if test "x$enable_gtktest" = "xyes" ; then
28645 ac_save_CFLAGS
="$CFLAGS"
28646 ac_save_LIBS
="$LIBS"
28647 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28648 LIBS
="$GTK_LIBS $LIBS"
28650 if test "$cross_compiling" = yes; then
28651 echo $ac_n "cross compiling; assumed OK... $ac_c"
28653 cat >conftest.
$ac_ext <<_ACEOF
28656 cat confdefs.h
>>conftest.
$ac_ext
28657 cat >>conftest.
$ac_ext <<_ACEOF
28658 /* end confdefs.h. */
28660 #include <gtk/gtk.h>
28662 #include <stdlib.h>
28667 int major, minor, micro;
28670 system ("touch conf.gtktest");
28672 /* HP/UX 9 (%@#!) writes to sscanf strings */
28673 tmp_version = g_strdup("$min_gtk_version");
28674 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28675 printf("%s, bad version string\n", "$min_gtk_version");
28679 if ((gtk_major_version != $gtk_config_major_version) ||
28680 (gtk_minor_version != $gtk_config_minor_version) ||
28681 (gtk_micro_version != $gtk_config_micro_version))
28683 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28684 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28685 gtk_major_version, gtk_minor_version, gtk_micro_version);
28686 printf ("*** was found! If gtk-config was correct, then it is best\n");
28687 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28688 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28689 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28690 printf("*** required on your system.\n");
28691 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28692 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28693 printf("*** before re-running configure\n");
28695 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28696 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28697 (gtk_minor_version != GTK_MINOR_VERSION) ||
28698 (gtk_micro_version != GTK_MICRO_VERSION))
28700 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28701 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28702 printf("*** library (version %d.%d.%d)\n",
28703 gtk_major_version, gtk_minor_version, gtk_micro_version);
28705 #endif /* defined (GTK_MAJOR_VERSION) ... */
28708 if ((gtk_major_version > major) ||
28709 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28710 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28716 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28717 gtk_major_version, gtk_minor_version, gtk_micro_version);
28718 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28719 major, minor, micro);
28720 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28722 printf("*** If you have already installed a sufficiently new version, this error\n");
28723 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28724 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28725 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28726 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28727 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28728 printf("*** so that the correct libraries are found at run-time))\n");
28735 rm -f conftest
$ac_exeext
28736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28737 (eval $ac_link) 2>&5
28739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28740 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28742 (eval $ac_try) 2>&5
28744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745 (exit $ac_status); }; }; then
28748 echo "$as_me: program exited with status $ac_status" >&5
28749 echo "$as_me: failed program was:" >&5
28750 sed 's/^/| /' conftest.
$ac_ext >&5
28752 ( exit $ac_status )
28755 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28757 CFLAGS
="$ac_save_CFLAGS"
28758 LIBS
="$ac_save_LIBS"
28761 if test "x$no_gtk" = x
; then
28762 echo "$as_me:$LINENO: result: yes" >&5
28763 echo "${ECHO_T}yes" >&6
28764 wx_cv_lib_gtk
=1.2.3
28766 echo "$as_me:$LINENO: result: no" >&5
28767 echo "${ECHO_T}no" >&6
28768 if test "$GTK_CONFIG" = "no" ; then
28769 echo "*** The gtk-config script installed by GTK could not be found"
28770 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28771 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28772 echo "*** full path to gtk-config."
28774 if test -f conf.gtktest
; then
28777 echo "*** Could not run GTK test program, checking why..."
28778 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28779 LIBS
="$LIBS $GTK_LIBS"
28780 cat >conftest.
$ac_ext <<_ACEOF
28783 cat confdefs.h
>>conftest.
$ac_ext
28784 cat >>conftest.
$ac_ext <<_ACEOF
28785 /* end confdefs.h. */
28787 #include <gtk/gtk.h>
28793 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28798 rm -f conftest.
$ac_objext conftest
$ac_exeext
28799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28800 (eval $ac_link) 2>conftest.er1
28802 grep -v '^ *+' conftest.er1
>conftest.err
28804 cat conftest.err
>&5
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); } &&
28807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28809 (eval $ac_try) 2>&5
28811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812 (exit $ac_status); }; } &&
28813 { ac_try
='test -s conftest$ac_exeext'
28814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28815 (eval $ac_try) 2>&5
28817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28818 (exit $ac_status); }; }; then
28819 echo "*** The test program compiled, but did not run. This usually means"
28820 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28821 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28822 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28823 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28824 echo "*** is required on your system"
28826 echo "*** If you have an old version installed, it is best to remove it, although"
28827 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28829 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28830 echo "*** came with the system with the command"
28832 echo "*** rpm --erase --nodeps gtk gtk-devel"
28834 echo "$as_me: failed program was:" >&5
28835 sed 's/^/| /' conftest.
$ac_ext >&5
28837 echo "*** The test program failed to compile or link. See the file config.log for the"
28838 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28839 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28840 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28842 rm -f conftest.err conftest.
$ac_objext \
28843 conftest
$ac_exeext conftest.
$ac_ext
28844 CFLAGS
="$ac_save_CFLAGS"
28845 LIBS
="$ac_save_LIBS"
28860 if test -z "$wx_cv_lib_gtk"; then
28863 wx_cv_cflags_gtk
=$GTK_CFLAGS
28864 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28871 if test "$gtk_version_cached" = 1; then
28872 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28873 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28876 case "$wx_cv_lib_gtk" in
28885 *) { { echo "$as_me:$LINENO: error:
28886 The development files for GTK+ were not found. For GTK+ 2, please
28887 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28888 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28889 and that the version is 1.2.3 or above. Also check that the
28890 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28891 --libs' are in the LD_LIBRARY_PATH or equivalent.
28893 echo "$as_me: error:
28894 The development files for GTK+ were not found. For GTK+ 2, please
28895 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28896 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28897 and that the version is 1.2.3 or above. Also check that the
28898 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28899 --libs' are in the LD_LIBRARY_PATH or equivalent.
28901 { (exit 1); exit 1; }; }
28905 if test "$WXGTK20" = 1; then
28906 save_CFLAGS
="$CFLAGS"
28908 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28909 LIBS
="$LIBS $wx_cv_libs_gtk"
28911 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28912 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28913 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28914 echo $ECHO_N "(cached) $ECHO_C" >&6
28916 cat >conftest.
$ac_ext <<_ACEOF
28919 cat confdefs.h
>>conftest.
$ac_ext
28920 cat >>conftest.
$ac_ext <<_ACEOF
28921 /* end confdefs.h. */
28922 #include <gtk/gtk.h>
28927 #ifndef gtk_icon_size_lookup
28928 char *p = (char *) gtk_icon_size_lookup;
28935 rm -f conftest.
$ac_objext
28936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28937 (eval $ac_compile) 2>conftest.er1
28939 grep -v '^ *+' conftest.er1
>conftest.err
28941 cat conftest.err
>&5
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); } &&
28944 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28946 (eval $ac_try) 2>&5
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); }; } &&
28950 { ac_try
='test -s conftest.$ac_objext'
28951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28952 (eval $ac_try) 2>&5
28954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28955 (exit $ac_status); }; }; then
28956 ac_cv_have_decl_gtk_icon_size_lookup
=yes
28958 echo "$as_me: failed program was:" >&5
28959 sed 's/^/| /' conftest.
$ac_ext >&5
28961 ac_cv_have_decl_gtk_icon_size_lookup
=no
28963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28965 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28966 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28967 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28969 cat >>confdefs.h
<<_ACEOF
28970 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28975 cat >>confdefs.h
<<_ACEOF
28976 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28979 cat >>confdefs.h
<<\_ACEOF
28980 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28987 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28988 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28989 cat >conftest.
$ac_ext <<_ACEOF
28992 cat confdefs.h
>>conftest.
$ac_ext
28993 cat >>conftest.
$ac_ext <<_ACEOF
28994 /* end confdefs.h. */
28996 #include <gtk/gtk.h>
29002 #if !GTK_CHECK_VERSION(2,6,0)
29010 rm -f conftest.
$ac_objext
29011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29012 (eval $ac_compile) 2>conftest.er1
29014 grep -v '^ *+' conftest.er1
>conftest.err
29016 cat conftest.err
>&5
29017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29018 (exit $ac_status); } &&
29019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29021 (eval $ac_try) 2>&5
29023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29024 (exit $ac_status); }; } &&
29025 { ac_try
='test -s conftest.$ac_objext'
29026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29027 (eval $ac_try) 2>&5
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); }; }; then
29032 cat >>confdefs.h
<<\_ACEOF
29033 #define __WXGTK26__ 1
29036 cat >>confdefs.h
<<\_ACEOF
29037 #define __WXGTK24__ 1
29040 echo "$as_me:$LINENO: result: yes" >&5
29041 echo "${ECHO_T}yes" >&6
29045 echo "$as_me: failed program was:" >&5
29046 sed 's/^/| /' conftest.
$ac_ext >&5
29049 echo "$as_me:$LINENO: result: no" >&5
29050 echo "${ECHO_T}no" >&6
29054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29056 if test "$ac_wxgtk26" = 0; then
29057 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29058 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29059 cat >conftest.
$ac_ext <<_ACEOF
29062 cat confdefs.h
>>conftest.
$ac_ext
29063 cat >>conftest.
$ac_ext <<_ACEOF
29064 /* end confdefs.h. */
29066 #include <gtk/gtk.h>
29072 #if !GTK_CHECK_VERSION(2,4,0)
29080 rm -f conftest.
$ac_objext
29081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29082 (eval $ac_compile) 2>conftest.er1
29084 grep -v '^ *+' conftest.er1
>conftest.err
29086 cat conftest.err
>&5
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); } &&
29089 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29091 (eval $ac_try) 2>&5
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); }; } &&
29095 { ac_try
='test -s conftest.$ac_objext'
29096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29097 (eval $ac_try) 2>&5
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); }; }; then
29102 cat >>confdefs.h
<<\_ACEOF
29103 #define __WXGTK24__ 1
29106 echo "$as_me:$LINENO: result: yes" >&5
29107 echo "${ECHO_T}yes" >&6
29110 echo "$as_me: failed program was:" >&5
29111 sed 's/^/| /' conftest.
$ac_ext >&5
29114 echo "$as_me:$LINENO: result: no" >&5
29115 echo "${ECHO_T}no" >&6
29118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29121 CFLAGS
="$save_CFLAGS"
29124 if test "$wxUSE_UNICODE" = "yes"; then
29125 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29126 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29130 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29131 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29132 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29133 echo $ECHO_N "(cached) $ECHO_C" >&6
29135 ac_check_lib_save_LIBS
=$LIBS
29137 cat >conftest.
$ac_ext <<_ACEOF
29140 cat confdefs.h
>>conftest.
$ac_ext
29141 cat >>conftest.
$ac_ext <<_ACEOF
29142 /* end confdefs.h. */
29144 /* Override any gcc2 internal prototype to avoid an error. */
29148 /* We use char because int might match the return type of a gcc2
29149 builtin and then its argument prototype would still apply. */
29150 char gdk_im_open ();
29159 rm -f conftest.
$ac_objext conftest
$ac_exeext
29160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29161 (eval $ac_link) 2>conftest.er1
29163 grep -v '^ *+' conftest.er1
>conftest.err
29165 cat conftest.err
>&5
29166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167 (exit $ac_status); } &&
29168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29170 (eval $ac_try) 2>&5
29172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29173 (exit $ac_status); }; } &&
29174 { ac_try
='test -s conftest$ac_exeext'
29175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29176 (eval $ac_try) 2>&5
29178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29179 (exit $ac_status); }; }; then
29180 ac_cv_lib_gdk_gdk_im_open
=yes
29182 echo "$as_me: failed program was:" >&5
29183 sed 's/^/| /' conftest.
$ac_ext >&5
29185 ac_cv_lib_gdk_gdk_im_open
=no
29187 rm -f conftest.err conftest.
$ac_objext \
29188 conftest
$ac_exeext conftest.
$ac_ext
29189 LIBS
=$ac_check_lib_save_LIBS
29191 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29192 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29193 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29194 cat >>confdefs.h
<<\_ACEOF
29202 if test "$USE_DARWIN" != 1; then
29204 for ac_func
in poll
29206 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29207 echo "$as_me:$LINENO: checking for $ac_func" >&5
29208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29209 if eval "test \"\${$as_ac_var+set}\" = set"; then
29210 echo $ECHO_N "(cached) $ECHO_C" >&6
29212 cat >conftest.
$ac_ext <<_ACEOF
29215 cat confdefs.h
>>conftest.
$ac_ext
29216 cat >>conftest.
$ac_ext <<_ACEOF
29217 /* end confdefs.h. */
29218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29220 #define $ac_func innocuous_$ac_func
29222 /* System header to define __stub macros and hopefully few prototypes,
29223 which can conflict with char $ac_func (); below.
29224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29225 <limits.h> exists even on freestanding compilers. */
29228 # include <limits.h>
29230 # include <assert.h>
29235 /* Override any gcc2 internal prototype to avoid an error. */
29240 /* We use char because int might match the return type of a gcc2
29241 builtin and then its argument prototype would still apply. */
29243 /* The GNU C library defines this for functions which it implements
29244 to always fail with ENOSYS. Some functions are actually named
29245 something starting with __ and the normal name is an alias. */
29246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29249 char (*f) () = $ac_func;
29258 return f != $ac_func;
29263 rm -f conftest.
$ac_objext conftest
$ac_exeext
29264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29265 (eval $ac_link) 2>conftest.er1
29267 grep -v '^ *+' conftest.er1
>conftest.err
29269 cat conftest.err
>&5
29270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29271 (exit $ac_status); } &&
29272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29274 (eval $ac_try) 2>&5
29276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29277 (exit $ac_status); }; } &&
29278 { ac_try
='test -s conftest$ac_exeext'
29279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29280 (eval $ac_try) 2>&5
29282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29283 (exit $ac_status); }; }; then
29284 eval "$as_ac_var=yes"
29286 echo "$as_me: failed program was:" >&5
29287 sed 's/^/| /' conftest.
$ac_ext >&5
29289 eval "$as_ac_var=no"
29291 rm -f conftest.err conftest.
$ac_objext \
29292 conftest
$ac_exeext conftest.
$ac_ext
29294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29296 if test `eval echo '${'$as_ac_var'}'` = yes; then
29297 cat >>confdefs.h
<<_ACEOF
29298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29306 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
29307 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29309 AFMINSTALL
=afminstall
29313 if test "$wxUSE_GPE" = "yes"; then
29314 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29315 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29318 for ac_dir
in $SEARCH_LIB;
29320 for ac_extension
in a so sl dylib dll.a
; do
29321 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29322 ac_find_libraries
=$ac_dir
29328 if test "$ac_find_libraries" != "" ; then
29330 if test "$ac_find_libraries" = "default location"; then
29333 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29335 if test $result = 0; then
29338 ac_path_to_link
=" -L$ac_find_libraries"
29342 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29344 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29345 echo "${ECHO_T}found in $ac_find_libraries" >&6
29347 echo "$as_me:$LINENO: result: not found" >&5
29348 echo "${ECHO_T}not found" >&6
29354 if test "$wxUSE_MGL" = 1; then
29355 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29356 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29357 if test "x$MGL_ROOT" = x
; then
29358 echo "$as_me:$LINENO: result: not found" >&5
29359 echo "${ECHO_T}not found" >&6
29360 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29361 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29362 { (exit 1); exit 1; }; }
29364 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29365 echo "${ECHO_T}$MGL_ROOT" >&6
29368 echo "$as_me:$LINENO: checking for libmgl location" >&5
29369 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29372 if test "x$wxUSE_SHARED" = xyes
; then
29373 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29375 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29379 mgl_os_candidates
="dos32/dj2"
29382 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29383 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29384 { (exit 1); exit 1; }; }
29390 for mgl_os_i
in $mgl_os_candidates ; do
29391 if test "x$mgl_os" = x
; then
29392 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29393 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29394 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29399 if test "x$mgl_lib_type" = x
; then
29400 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29401 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29402 mgl_lib_type
=release
29409 if test "x$mgl_os" = x
; then
29410 echo "$as_me:$LINENO: result: not found" >&5
29411 echo "${ECHO_T}not found" >&6
29412 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29413 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29414 { (exit 1); exit 1; }; }
29416 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29417 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29419 wxUSE_UNIVERSAL
="yes"
29421 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29422 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29424 AFMINSTALL
=afminstall
29429 if test "$wxUSE_DFB" = 1; then
29432 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29433 if test -n "$ac_tool_prefix"; then
29434 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29435 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29436 echo "$as_me:$LINENO: checking for $ac_word" >&5
29437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29438 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29439 echo $ECHO_N "(cached) $ECHO_C" >&6
29441 case $PKG_CONFIG in
29443 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29447 for as_dir
in $PATH
29450 test -z "$as_dir" && as_dir
=.
29451 for ac_exec_ext
in '' $ac_executable_extensions; do
29452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29453 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29463 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29465 if test -n "$PKG_CONFIG"; then
29466 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29467 echo "${ECHO_T}$PKG_CONFIG" >&6
29469 echo "$as_me:$LINENO: result: no" >&5
29470 echo "${ECHO_T}no" >&6
29474 if test -z "$ac_cv_path_PKG_CONFIG"; then
29475 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29476 # Extract the first word of "pkg-config", so it can be a program name with args.
29477 set dummy pkg
-config; ac_word
=$2
29478 echo "$as_me:$LINENO: checking for $ac_word" >&5
29479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29480 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29481 echo $ECHO_N "(cached) $ECHO_C" >&6
29483 case $ac_pt_PKG_CONFIG in
29485 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29489 for as_dir
in $PATH
29492 test -z "$as_dir" && as_dir
=.
29493 for ac_exec_ext
in '' $ac_executable_extensions; do
29494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29495 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29505 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29507 if test -n "$ac_pt_PKG_CONFIG"; then
29508 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29509 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29511 echo "$as_me:$LINENO: result: no" >&5
29512 echo "${ECHO_T}no" >&6
29515 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29517 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29521 if test -n "$PKG_CONFIG"; then
29522 _pkg_min_version
=0.9.0
29523 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29524 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29525 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29526 echo "$as_me:$LINENO: result: yes" >&5
29527 echo "${ECHO_T}yes" >&6
29529 echo "$as_me:$LINENO: result: no" >&5
29530 echo "${ECHO_T}no" >&6
29538 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29539 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29541 if test -n "$PKG_CONFIG"; then
29542 if test -n "$DIRECTFB_CFLAGS"; then
29543 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29545 if test -n "$PKG_CONFIG" && \
29546 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29547 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); }; then
29551 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29559 if test -n "$PKG_CONFIG"; then
29560 if test -n "$DIRECTFB_LIBS"; then
29561 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29563 if test -n "$PKG_CONFIG" && \
29564 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29565 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); }; then
29569 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29580 if test $pkg_failed = yes; then
29582 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29583 _pkg_short_errors_supported
=yes
29585 _pkg_short_errors_supported
=no
29587 if test $_pkg_short_errors_supported = yes; then
29588 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29590 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29592 # Put the nasty error message in config.log where it belongs
29593 echo "$DIRECTFB_PKG_ERRORS" >&5
29596 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29597 echo "$as_me: error: DirectFB not found." >&2;}
29598 { (exit 1); exit 1; }; }
29601 elif test $pkg_failed = untried
; then
29603 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29604 echo "$as_me: error: DirectFB not found." >&2;}
29605 { (exit 1); exit 1; }; }
29609 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29610 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29611 echo "$as_me:$LINENO: result: yes" >&5
29612 echo "${ECHO_T}yes" >&6
29614 wxUSE_UNIVERSAL
="yes"
29615 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29616 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29623 if test "$wxUSE_MICROWIN" = 1; then
29624 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29625 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29626 if test "x$MICROWINDOWS" = x
; then
29627 echo "$as_me:$LINENO: result: not found" >&5
29628 echo "${ECHO_T}not found" >&6
29629 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29630 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29631 { (exit 1); exit 1; }; }
29633 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29634 echo "${ECHO_T}$MICROWINDOWS" >&6
29637 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29638 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29639 echo "${ECHO_T}MicroWindows' libraries found." >&6
29641 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29642 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29643 { (exit 1); exit 1; }; }
29646 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29647 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29649 wxUSE_UNIVERSAL
="yes"
29651 AFMINSTALL
=afminstall
29653 GUIDIST
=MICROWIN_DIST
29655 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29658 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29660 if test "x$ac_path_x_has_been_run" != xyes
; then
29661 echo "$as_me:$LINENO: checking for X" >&5
29662 echo $ECHO_N "checking for X... $ECHO_C" >&6
29664 ac_path_x_has_been_run
=yes
29666 # Check whether --with-x or --without-x was given.
29667 if test "${with_x+set}" = set; then
29671 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29672 if test "x$with_x" = xno
; then
29673 # The user explicitly disabled X.
29676 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29677 # Both variables are already set.
29680 if test "${ac_cv_have_x+set}" = set; then
29681 echo $ECHO_N "(cached) $ECHO_C" >&6
29683 # One or both of the vars are not set, and there is no cached value.
29684 ac_x_includes
=no ac_x_libraries
=no
29685 rm -fr conftest.dir
29686 if mkdir conftest.dir
; then
29688 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29689 cat >Imakefile
<<'_ACEOF'
29691 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29693 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29694 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29695 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29696 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29697 for ac_extension
in a so sl
; do
29698 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29699 test -f $ac_im_libdir/libX11.
$ac_extension; then
29700 ac_im_usrlibdir
=$ac_im_libdir; break
29703 # Screen out bogus values from the imake configuration. They are
29704 # bogus both because they are the default anyway, and because
29705 # using them would break gcc on systems where it needs fixed includes.
29706 case $ac_im_incroot in
29708 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29710 case $ac_im_usrlibdir in
29711 /usr
/lib
| /lib
) ;;
29712 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29716 rm -fr conftest.dir
29719 # Standard set of common directories for X headers.
29720 # Check X11 before X11Rn because it is often a symlink to the current release.
29732 /usr/local/X11/include
29733 /usr/local/X11R6/include
29734 /usr/local/X11R5/include
29735 /usr/local/X11R4/include
29737 /usr/local/include/X11
29738 /usr/local/include/X11R6
29739 /usr/local/include/X11R5
29740 /usr/local/include/X11R4
29744 /usr/XFree86/include/X11
29748 /usr/unsupported/include
29749 /usr/athena/include
29750 /usr/local/x11r5/include
29751 /usr/lpp/Xamples/include
29753 /usr/openwin/include
29754 /usr/openwin/share/include'
29756 if test "$ac_x_includes" = no
; then
29757 # Guess where to find include files, by looking for a specified header file.
29758 # First, try using that file with no special directory specified.
29759 cat >conftest.
$ac_ext <<_ACEOF
29762 cat confdefs.h
>>conftest.
$ac_ext
29763 cat >>conftest.
$ac_ext <<_ACEOF
29764 /* end confdefs.h. */
29765 #include <X11/Intrinsic.h>
29767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29768 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29770 grep -v '^ *+' conftest.er1
>conftest.err
29772 cat conftest.err
>&5
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); } >/dev
/null
; then
29775 if test -s conftest.err
; then
29776 ac_cpp_err
=$ac_c_preproc_warn_flag
29777 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29784 if test -z "$ac_cpp_err"; then
29785 # We can compile using X headers with no special include directory.
29788 echo "$as_me: failed program was:" >&5
29789 sed 's/^/| /' conftest.
$ac_ext >&5
29791 for ac_dir
in $ac_x_header_dirs; do
29792 if test -r "$ac_dir/X11/Intrinsic.h"; then
29793 ac_x_includes
=$ac_dir
29798 rm -f conftest.err conftest.
$ac_ext
29799 fi # $ac_x_includes = no
29801 if test "$ac_x_libraries" = no
; then
29802 # Check for the libraries.
29803 # See if we find them without any special options.
29804 # Don't add to $LIBS permanently.
29807 cat >conftest.
$ac_ext <<_ACEOF
29810 cat confdefs.h
>>conftest.
$ac_ext
29811 cat >>conftest.
$ac_ext <<_ACEOF
29812 /* end confdefs.h. */
29813 #include <X11/Intrinsic.h>
29822 rm -f conftest.
$ac_objext conftest
$ac_exeext
29823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29824 (eval $ac_link) 2>conftest.er1
29826 grep -v '^ *+' conftest.er1
>conftest.err
29828 cat conftest.err
>&5
29829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29830 (exit $ac_status); } &&
29831 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29833 (eval $ac_try) 2>&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); }; } &&
29837 { ac_try
='test -s conftest$ac_exeext'
29838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29839 (eval $ac_try) 2>&5
29841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29842 (exit $ac_status); }; }; then
29844 # We can link X programs with no special library path.
29847 echo "$as_me: failed program was:" >&5
29848 sed 's/^/| /' conftest.
$ac_ext >&5
29851 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29853 # Don't even attempt the hair of trying to link an X program!
29854 for ac_extension
in a so sl
; do
29855 if test -r $ac_dir/libXt.
$ac_extension; then
29856 ac_x_libraries
=$ac_dir
29862 rm -f conftest.err conftest.
$ac_objext \
29863 conftest
$ac_exeext conftest.
$ac_ext
29864 fi # $ac_x_libraries = no
29866 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29867 # Didn't find X anywhere. Cache the known absence of X.
29868 ac_cv_have_x
="have_x=no"
29870 # Record where we found X for the cache.
29871 ac_cv_have_x
="have_x=yes \
29872 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29877 eval "$ac_cv_have_x"
29880 if test "$have_x" != yes; then
29881 echo "$as_me:$LINENO: result: $have_x" >&5
29882 echo "${ECHO_T}$have_x" >&6
29885 # If each of the values was on the command line, it overrides each guess.
29886 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29887 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29888 # Update the cache value to reflect the command line values.
29889 ac_cv_have_x
="have_x=yes \
29890 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29891 # It might be that x_includes is empty (headers are found in the
29892 # standard search path. Then output the corresponding message
29893 ac_out_x_includes
=$x_includes
29894 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
29895 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29896 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29900 if test "$no_x" = yes; then
29901 # Not all programs may use this symbol, but it does not hurt to define it.
29903 cat >>confdefs.h
<<\_ACEOF
29904 #define X_DISPLAY_MISSING 1
29907 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29909 if test -n "$x_includes"; then
29910 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29913 # It would also be nice to do this for all -L options, not just this one.
29914 if test -n "$x_libraries"; then
29915 X_LIBS
="$X_LIBS -L$x_libraries"
29916 # For Solaris; some versions of Sun CC require a space after -R and
29917 # others require no space. Words are not sufficient . . . .
29918 case `(uname -sr) 2>/dev/null` in
29920 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29921 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29922 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29923 cat >conftest.
$ac_ext <<_ACEOF
29926 cat confdefs.h
>>conftest.
$ac_ext
29927 cat >>conftest.
$ac_ext <<_ACEOF
29928 /* end confdefs.h. */
29938 rm -f conftest.
$ac_objext conftest
$ac_exeext
29939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29940 (eval $ac_link) 2>conftest.er1
29942 grep -v '^ *+' conftest.er1
>conftest.err
29944 cat conftest.err
>&5
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); } &&
29947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29949 (eval $ac_try) 2>&5
29951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29952 (exit $ac_status); }; } &&
29953 { ac_try
='test -s conftest$ac_exeext'
29954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29955 (eval $ac_try) 2>&5
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); }; }; then
29961 echo "$as_me: failed program was:" >&5
29962 sed 's/^/| /' conftest.
$ac_ext >&5
29966 rm -f conftest.err conftest.
$ac_objext \
29967 conftest
$ac_exeext conftest.
$ac_ext
29968 if test $ac_R_nospace = yes; then
29969 echo "$as_me:$LINENO: result: no" >&5
29970 echo "${ECHO_T}no" >&6
29971 X_LIBS
="$X_LIBS -R$x_libraries"
29973 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29974 cat >conftest.
$ac_ext <<_ACEOF
29977 cat confdefs.h
>>conftest.
$ac_ext
29978 cat >>conftest.
$ac_ext <<_ACEOF
29979 /* end confdefs.h. */
29989 rm -f conftest.
$ac_objext conftest
$ac_exeext
29990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29991 (eval $ac_link) 2>conftest.er1
29993 grep -v '^ *+' conftest.er1
>conftest.err
29995 cat conftest.err
>&5
29996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29997 (exit $ac_status); } &&
29998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30000 (eval $ac_try) 2>&5
30002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003 (exit $ac_status); }; } &&
30004 { ac_try
='test -s conftest$ac_exeext'
30005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30006 (eval $ac_try) 2>&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); }; }; then
30012 echo "$as_me: failed program was:" >&5
30013 sed 's/^/| /' conftest.
$ac_ext >&5
30017 rm -f conftest.err conftest.
$ac_objext \
30018 conftest
$ac_exeext conftest.
$ac_ext
30019 if test $ac_R_space = yes; then
30020 echo "$as_me:$LINENO: result: yes" >&5
30021 echo "${ECHO_T}yes" >&6
30022 X_LIBS
="$X_LIBS -R $x_libraries"
30024 echo "$as_me:$LINENO: result: neither works" >&5
30025 echo "${ECHO_T}neither works" >&6
30028 LIBS
=$ac_xsave_LIBS
30032 # Check for system-dependent libraries X programs must link with.
30033 # Do this before checking for the system-independent R6 libraries
30034 # (-lICE), since we may need -lsocket or whatever for X linking.
30036 if test "$ISC" = yes; then
30037 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
30039 # Martyn Johnson says this is needed for Ultrix, if the X
30040 # libraries were built with DECnet support. And Karl Berry says
30041 # the Alpha needs dnet_stub (dnet does not exist).
30042 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
30043 cat >conftest.
$ac_ext <<_ACEOF
30046 cat confdefs.h
>>conftest.
$ac_ext
30047 cat >>conftest.
$ac_ext <<_ACEOF
30048 /* end confdefs.h. */
30050 /* Override any gcc2 internal prototype to avoid an error. */
30054 /* We use char because int might match the return type of a gcc2
30055 builtin and then its argument prototype would still apply. */
30056 char XOpenDisplay ();
30065 rm -f conftest.
$ac_objext conftest
$ac_exeext
30066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30067 (eval $ac_link) 2>conftest.er1
30069 grep -v '^ *+' conftest.er1
>conftest.err
30071 cat conftest.err
>&5
30072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30073 (exit $ac_status); } &&
30074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30076 (eval $ac_try) 2>&5
30078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30079 (exit $ac_status); }; } &&
30080 { ac_try
='test -s conftest$ac_exeext'
30081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30082 (eval $ac_try) 2>&5
30084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30085 (exit $ac_status); }; }; then
30088 echo "$as_me: failed program was:" >&5
30089 sed 's/^/| /' conftest.
$ac_ext >&5
30091 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30092 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30093 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30094 echo $ECHO_N "(cached) $ECHO_C" >&6
30096 ac_check_lib_save_LIBS
=$LIBS
30097 LIBS
="-ldnet $LIBS"
30098 cat >conftest.
$ac_ext <<_ACEOF
30101 cat confdefs.h
>>conftest.
$ac_ext
30102 cat >>conftest.
$ac_ext <<_ACEOF
30103 /* end confdefs.h. */
30105 /* Override any gcc2 internal prototype to avoid an error. */
30109 /* We use char because int might match the return type of a gcc2
30110 builtin and then its argument prototype would still apply. */
30120 rm -f conftest.
$ac_objext conftest
$ac_exeext
30121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30122 (eval $ac_link) 2>conftest.er1
30124 grep -v '^ *+' conftest.er1
>conftest.err
30126 cat conftest.err
>&5
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); } &&
30129 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30131 (eval $ac_try) 2>&5
30133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134 (exit $ac_status); }; } &&
30135 { ac_try
='test -s conftest$ac_exeext'
30136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30137 (eval $ac_try) 2>&5
30139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 (exit $ac_status); }; }; then
30141 ac_cv_lib_dnet_dnet_ntoa
=yes
30143 echo "$as_me: failed program was:" >&5
30144 sed 's/^/| /' conftest.
$ac_ext >&5
30146 ac_cv_lib_dnet_dnet_ntoa
=no
30148 rm -f conftest.err conftest.
$ac_objext \
30149 conftest
$ac_exeext conftest.
$ac_ext
30150 LIBS
=$ac_check_lib_save_LIBS
30152 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30153 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30154 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30155 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
30158 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
30159 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30160 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30161 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30162 echo $ECHO_N "(cached) $ECHO_C" >&6
30164 ac_check_lib_save_LIBS
=$LIBS
30165 LIBS
="-ldnet_stub $LIBS"
30166 cat >conftest.
$ac_ext <<_ACEOF
30169 cat confdefs.h
>>conftest.
$ac_ext
30170 cat >>conftest.
$ac_ext <<_ACEOF
30171 /* end confdefs.h. */
30173 /* Override any gcc2 internal prototype to avoid an error. */
30177 /* We use char because int might match the return type of a gcc2
30178 builtin and then its argument prototype would still apply. */
30188 rm -f conftest.
$ac_objext conftest
$ac_exeext
30189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30190 (eval $ac_link) 2>conftest.er1
30192 grep -v '^ *+' conftest.er1
>conftest.err
30194 cat conftest.err
>&5
30195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30196 (exit $ac_status); } &&
30197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30199 (eval $ac_try) 2>&5
30201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30202 (exit $ac_status); }; } &&
30203 { ac_try
='test -s conftest$ac_exeext'
30204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30205 (eval $ac_try) 2>&5
30207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30208 (exit $ac_status); }; }; then
30209 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30211 echo "$as_me: failed program was:" >&5
30212 sed 's/^/| /' conftest.
$ac_ext >&5
30214 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30216 rm -f conftest.err conftest.
$ac_objext \
30217 conftest
$ac_exeext conftest.
$ac_ext
30218 LIBS
=$ac_check_lib_save_LIBS
30220 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30221 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30222 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30223 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30228 rm -f conftest.err conftest.
$ac_objext \
30229 conftest
$ac_exeext conftest.
$ac_ext
30230 LIBS
="$ac_xsave_LIBS"
30232 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30233 # to get the SysV transport functions.
30234 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30236 # The nsl library prevents programs from opening the X display
30237 # on Irix 5.2, according to T.E. Dickey.
30238 # The functions gethostbyname, getservbyname, and inet_addr are
30239 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30240 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30241 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30242 if test "${ac_cv_func_gethostbyname+set}" = set; then
30243 echo $ECHO_N "(cached) $ECHO_C" >&6
30245 cat >conftest.
$ac_ext <<_ACEOF
30248 cat confdefs.h
>>conftest.
$ac_ext
30249 cat >>conftest.
$ac_ext <<_ACEOF
30250 /* end confdefs.h. */
30251 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30253 #define gethostbyname innocuous_gethostbyname
30255 /* System header to define __stub macros and hopefully few prototypes,
30256 which can conflict with char gethostbyname (); below.
30257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30258 <limits.h> exists even on freestanding compilers. */
30261 # include <limits.h>
30263 # include <assert.h>
30266 #undef gethostbyname
30268 /* Override any gcc2 internal prototype to avoid an error. */
30273 /* We use char because int might match the return type of a gcc2
30274 builtin and then its argument prototype would still apply. */
30275 char gethostbyname ();
30276 /* The GNU C library defines this for functions which it implements
30277 to always fail with ENOSYS. Some functions are actually named
30278 something starting with __ and the normal name is an alias. */
30279 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30282 char (*f) () = gethostbyname;
30291 return f != gethostbyname;
30296 rm -f conftest.
$ac_objext conftest
$ac_exeext
30297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30298 (eval $ac_link) 2>conftest.er1
30300 grep -v '^ *+' conftest.er1
>conftest.err
30302 cat conftest.err
>&5
30303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304 (exit $ac_status); } &&
30305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30307 (eval $ac_try) 2>&5
30309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30310 (exit $ac_status); }; } &&
30311 { ac_try
='test -s conftest$ac_exeext'
30312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30313 (eval $ac_try) 2>&5
30315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30316 (exit $ac_status); }; }; then
30317 ac_cv_func_gethostbyname
=yes
30319 echo "$as_me: failed program was:" >&5
30320 sed 's/^/| /' conftest.
$ac_ext >&5
30322 ac_cv_func_gethostbyname
=no
30324 rm -f conftest.err conftest.
$ac_objext \
30325 conftest
$ac_exeext conftest.
$ac_ext
30327 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30328 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30330 if test $ac_cv_func_gethostbyname = no
; then
30331 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30332 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30333 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30334 echo $ECHO_N "(cached) $ECHO_C" >&6
30336 ac_check_lib_save_LIBS
=$LIBS
30338 cat >conftest.
$ac_ext <<_ACEOF
30341 cat confdefs.h
>>conftest.
$ac_ext
30342 cat >>conftest.
$ac_ext <<_ACEOF
30343 /* end confdefs.h. */
30345 /* Override any gcc2 internal prototype to avoid an error. */
30349 /* We use char because int might match the return type of a gcc2
30350 builtin and then its argument prototype would still apply. */
30351 char gethostbyname ();
30360 rm -f conftest.
$ac_objext conftest
$ac_exeext
30361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30362 (eval $ac_link) 2>conftest.er1
30364 grep -v '^ *+' conftest.er1
>conftest.err
30366 cat conftest.err
>&5
30367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30368 (exit $ac_status); } &&
30369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30371 (eval $ac_try) 2>&5
30373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30374 (exit $ac_status); }; } &&
30375 { ac_try
='test -s conftest$ac_exeext'
30376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30377 (eval $ac_try) 2>&5
30379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30380 (exit $ac_status); }; }; then
30381 ac_cv_lib_nsl_gethostbyname
=yes
30383 echo "$as_me: failed program was:" >&5
30384 sed 's/^/| /' conftest.
$ac_ext >&5
30386 ac_cv_lib_nsl_gethostbyname
=no
30388 rm -f conftest.err conftest.
$ac_objext \
30389 conftest
$ac_exeext conftest.
$ac_ext
30390 LIBS
=$ac_check_lib_save_LIBS
30392 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30393 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30394 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30395 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30398 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30399 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30400 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30401 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30402 echo $ECHO_N "(cached) $ECHO_C" >&6
30404 ac_check_lib_save_LIBS
=$LIBS
30406 cat >conftest.
$ac_ext <<_ACEOF
30409 cat confdefs.h
>>conftest.
$ac_ext
30410 cat >>conftest.
$ac_ext <<_ACEOF
30411 /* end confdefs.h. */
30413 /* Override any gcc2 internal prototype to avoid an error. */
30417 /* We use char because int might match the return type of a gcc2
30418 builtin and then its argument prototype would still apply. */
30419 char gethostbyname ();
30428 rm -f conftest.
$ac_objext conftest
$ac_exeext
30429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30430 (eval $ac_link) 2>conftest.er1
30432 grep -v '^ *+' conftest.er1
>conftest.err
30434 cat conftest.err
>&5
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); } &&
30437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30439 (eval $ac_try) 2>&5
30441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442 (exit $ac_status); }; } &&
30443 { ac_try
='test -s conftest$ac_exeext'
30444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30445 (eval $ac_try) 2>&5
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); }; }; then
30449 ac_cv_lib_bsd_gethostbyname
=yes
30451 echo "$as_me: failed program was:" >&5
30452 sed 's/^/| /' conftest.
$ac_ext >&5
30454 ac_cv_lib_bsd_gethostbyname
=no
30456 rm -f conftest.err conftest.
$ac_objext \
30457 conftest
$ac_exeext conftest.
$ac_ext
30458 LIBS
=$ac_check_lib_save_LIBS
30460 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30461 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30462 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30463 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30469 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30470 # socket/setsockopt and other routines are undefined under SCO ODT
30471 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30472 # on later versions), says Simon Leinen: it contains gethostby*
30473 # variants that don't use the name server (or something). -lsocket
30474 # must be given before -lnsl if both are needed. We assume that
30475 # if connect needs -lnsl, so does gethostbyname.
30476 echo "$as_me:$LINENO: checking for connect" >&5
30477 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30478 if test "${ac_cv_func_connect+set}" = set; then
30479 echo $ECHO_N "(cached) $ECHO_C" >&6
30481 cat >conftest.
$ac_ext <<_ACEOF
30484 cat confdefs.h
>>conftest.
$ac_ext
30485 cat >>conftest.
$ac_ext <<_ACEOF
30486 /* end confdefs.h. */
30487 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30489 #define connect innocuous_connect
30491 /* System header to define __stub macros and hopefully few prototypes,
30492 which can conflict with char connect (); below.
30493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30494 <limits.h> exists even on freestanding compilers. */
30497 # include <limits.h>
30499 # include <assert.h>
30504 /* Override any gcc2 internal prototype to avoid an error. */
30509 /* We use char because int might match the return type of a gcc2
30510 builtin and then its argument prototype would still apply. */
30512 /* The GNU C library defines this for functions which it implements
30513 to always fail with ENOSYS. Some functions are actually named
30514 something starting with __ and the normal name is an alias. */
30515 #if defined (__stub_connect) || defined (__stub___connect)
30518 char (*f) () = connect;
30527 return f != connect;
30532 rm -f conftest.
$ac_objext conftest
$ac_exeext
30533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30534 (eval $ac_link) 2>conftest.er1
30536 grep -v '^ *+' conftest.er1
>conftest.err
30538 cat conftest.err
>&5
30539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30540 (exit $ac_status); } &&
30541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30543 (eval $ac_try) 2>&5
30545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546 (exit $ac_status); }; } &&
30547 { ac_try
='test -s conftest$ac_exeext'
30548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30549 (eval $ac_try) 2>&5
30551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30552 (exit $ac_status); }; }; then
30553 ac_cv_func_connect
=yes
30555 echo "$as_me: failed program was:" >&5
30556 sed 's/^/| /' conftest.
$ac_ext >&5
30558 ac_cv_func_connect
=no
30560 rm -f conftest.err conftest.
$ac_objext \
30561 conftest
$ac_exeext conftest.
$ac_ext
30563 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30564 echo "${ECHO_T}$ac_cv_func_connect" >&6
30566 if test $ac_cv_func_connect = no
; then
30567 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30568 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30569 if test "${ac_cv_lib_socket_connect+set}" = set; then
30570 echo $ECHO_N "(cached) $ECHO_C" >&6
30572 ac_check_lib_save_LIBS
=$LIBS
30573 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30574 cat >conftest.
$ac_ext <<_ACEOF
30577 cat confdefs.h
>>conftest.
$ac_ext
30578 cat >>conftest.
$ac_ext <<_ACEOF
30579 /* end confdefs.h. */
30581 /* Override any gcc2 internal prototype to avoid an error. */
30585 /* We use char because int might match the return type of a gcc2
30586 builtin and then its argument prototype would still apply. */
30596 rm -f conftest.
$ac_objext conftest
$ac_exeext
30597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30598 (eval $ac_link) 2>conftest.er1
30600 grep -v '^ *+' conftest.er1
>conftest.err
30602 cat conftest.err
>&5
30603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30604 (exit $ac_status); } &&
30605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30607 (eval $ac_try) 2>&5
30609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30610 (exit $ac_status); }; } &&
30611 { ac_try
='test -s conftest$ac_exeext'
30612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30613 (eval $ac_try) 2>&5
30615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30616 (exit $ac_status); }; }; then
30617 ac_cv_lib_socket_connect
=yes
30619 echo "$as_me: failed program was:" >&5
30620 sed 's/^/| /' conftest.
$ac_ext >&5
30622 ac_cv_lib_socket_connect
=no
30624 rm -f conftest.err conftest.
$ac_objext \
30625 conftest
$ac_exeext conftest.
$ac_ext
30626 LIBS
=$ac_check_lib_save_LIBS
30628 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30629 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30630 if test $ac_cv_lib_socket_connect = yes; then
30631 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30636 # Guillermo Gomez says -lposix is necessary on A/UX.
30637 echo "$as_me:$LINENO: checking for remove" >&5
30638 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30639 if test "${ac_cv_func_remove+set}" = set; then
30640 echo $ECHO_N "(cached) $ECHO_C" >&6
30642 cat >conftest.
$ac_ext <<_ACEOF
30645 cat confdefs.h
>>conftest.
$ac_ext
30646 cat >>conftest.
$ac_ext <<_ACEOF
30647 /* end confdefs.h. */
30648 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30650 #define remove innocuous_remove
30652 /* System header to define __stub macros and hopefully few prototypes,
30653 which can conflict with char remove (); below.
30654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30655 <limits.h> exists even on freestanding compilers. */
30658 # include <limits.h>
30660 # include <assert.h>
30665 /* Override any gcc2 internal prototype to avoid an error. */
30670 /* We use char because int might match the return type of a gcc2
30671 builtin and then its argument prototype would still apply. */
30673 /* The GNU C library defines this for functions which it implements
30674 to always fail with ENOSYS. Some functions are actually named
30675 something starting with __ and the normal name is an alias. */
30676 #if defined (__stub_remove) || defined (__stub___remove)
30679 char (*f) () = remove;
30688 return f != remove;
30693 rm -f conftest.
$ac_objext conftest
$ac_exeext
30694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30695 (eval $ac_link) 2>conftest.er1
30697 grep -v '^ *+' conftest.er1
>conftest.err
30699 cat conftest.err
>&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); } &&
30702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30704 (eval $ac_try) 2>&5
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); }; } &&
30708 { ac_try
='test -s conftest$ac_exeext'
30709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30710 (eval $ac_try) 2>&5
30712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30713 (exit $ac_status); }; }; then
30714 ac_cv_func_remove
=yes
30716 echo "$as_me: failed program was:" >&5
30717 sed 's/^/| /' conftest.
$ac_ext >&5
30719 ac_cv_func_remove
=no
30721 rm -f conftest.err conftest.
$ac_objext \
30722 conftest
$ac_exeext conftest.
$ac_ext
30724 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30725 echo "${ECHO_T}$ac_cv_func_remove" >&6
30727 if test $ac_cv_func_remove = no
; then
30728 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30729 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30730 if test "${ac_cv_lib_posix_remove+set}" = set; then
30731 echo $ECHO_N "(cached) $ECHO_C" >&6
30733 ac_check_lib_save_LIBS
=$LIBS
30734 LIBS
="-lposix $LIBS"
30735 cat >conftest.
$ac_ext <<_ACEOF
30738 cat confdefs.h
>>conftest.
$ac_ext
30739 cat >>conftest.
$ac_ext <<_ACEOF
30740 /* end confdefs.h. */
30742 /* Override any gcc2 internal prototype to avoid an error. */
30746 /* We use char because int might match the return type of a gcc2
30747 builtin and then its argument prototype would still apply. */
30757 rm -f conftest.
$ac_objext conftest
$ac_exeext
30758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30759 (eval $ac_link) 2>conftest.er1
30761 grep -v '^ *+' conftest.er1
>conftest.err
30763 cat conftest.err
>&5
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); } &&
30766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30768 (eval $ac_try) 2>&5
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); }; } &&
30772 { ac_try
='test -s conftest$ac_exeext'
30773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30774 (eval $ac_try) 2>&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); }; }; then
30778 ac_cv_lib_posix_remove
=yes
30780 echo "$as_me: failed program was:" >&5
30781 sed 's/^/| /' conftest.
$ac_ext >&5
30783 ac_cv_lib_posix_remove
=no
30785 rm -f conftest.err conftest.
$ac_objext \
30786 conftest
$ac_exeext conftest.
$ac_ext
30787 LIBS
=$ac_check_lib_save_LIBS
30789 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30790 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30791 if test $ac_cv_lib_posix_remove = yes; then
30792 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30797 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30798 echo "$as_me:$LINENO: checking for shmat" >&5
30799 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30800 if test "${ac_cv_func_shmat+set}" = set; then
30801 echo $ECHO_N "(cached) $ECHO_C" >&6
30803 cat >conftest.
$ac_ext <<_ACEOF
30806 cat confdefs.h
>>conftest.
$ac_ext
30807 cat >>conftest.
$ac_ext <<_ACEOF
30808 /* end confdefs.h. */
30809 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30811 #define shmat innocuous_shmat
30813 /* System header to define __stub macros and hopefully few prototypes,
30814 which can conflict with char shmat (); below.
30815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30816 <limits.h> exists even on freestanding compilers. */
30819 # include <limits.h>
30821 # include <assert.h>
30826 /* Override any gcc2 internal prototype to avoid an error. */
30831 /* We use char because int might match the return type of a gcc2
30832 builtin and then its argument prototype would still apply. */
30834 /* The GNU C library defines this for functions which it implements
30835 to always fail with ENOSYS. Some functions are actually named
30836 something starting with __ and the normal name is an alias. */
30837 #if defined (__stub_shmat) || defined (__stub___shmat)
30840 char (*f) () = shmat;
30854 rm -f conftest.
$ac_objext conftest
$ac_exeext
30855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30856 (eval $ac_link) 2>conftest.er1
30858 grep -v '^ *+' conftest.er1
>conftest.err
30860 cat conftest.err
>&5
30861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30862 (exit $ac_status); } &&
30863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30865 (eval $ac_try) 2>&5
30867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30868 (exit $ac_status); }; } &&
30869 { ac_try
='test -s conftest$ac_exeext'
30870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30871 (eval $ac_try) 2>&5
30873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30874 (exit $ac_status); }; }; then
30875 ac_cv_func_shmat
=yes
30877 echo "$as_me: failed program was:" >&5
30878 sed 's/^/| /' conftest.
$ac_ext >&5
30880 ac_cv_func_shmat
=no
30882 rm -f conftest.err conftest.
$ac_objext \
30883 conftest
$ac_exeext conftest.
$ac_ext
30885 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30886 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30888 if test $ac_cv_func_shmat = no
; then
30889 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30890 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30891 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30892 echo $ECHO_N "(cached) $ECHO_C" >&6
30894 ac_check_lib_save_LIBS
=$LIBS
30896 cat >conftest.
$ac_ext <<_ACEOF
30899 cat confdefs.h
>>conftest.
$ac_ext
30900 cat >>conftest.
$ac_ext <<_ACEOF
30901 /* end confdefs.h. */
30903 /* Override any gcc2 internal prototype to avoid an error. */
30907 /* We use char because int might match the return type of a gcc2
30908 builtin and then its argument prototype would still apply. */
30918 rm -f conftest.
$ac_objext conftest
$ac_exeext
30919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30920 (eval $ac_link) 2>conftest.er1
30922 grep -v '^ *+' conftest.er1
>conftest.err
30924 cat conftest.err
>&5
30925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30926 (exit $ac_status); } &&
30927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30929 (eval $ac_try) 2>&5
30931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30932 (exit $ac_status); }; } &&
30933 { ac_try
='test -s conftest$ac_exeext'
30934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30935 (eval $ac_try) 2>&5
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); }; }; then
30939 ac_cv_lib_ipc_shmat
=yes
30941 echo "$as_me: failed program was:" >&5
30942 sed 's/^/| /' conftest.
$ac_ext >&5
30944 ac_cv_lib_ipc_shmat
=no
30946 rm -f conftest.err conftest.
$ac_objext \
30947 conftest
$ac_exeext conftest.
$ac_ext
30948 LIBS
=$ac_check_lib_save_LIBS
30950 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30951 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30952 if test $ac_cv_lib_ipc_shmat = yes; then
30953 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
30959 # Check for libraries that X11R6 Xt/Xaw programs need.
30960 ac_save_LDFLAGS
=$LDFLAGS
30961 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
30962 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30963 # check for ICE first), but we must link in the order -lSM -lICE or
30964 # we get undefined symbols. So assume we have SM if we have ICE.
30965 # These have to be linked with before -lX11, unlike the other
30966 # libraries we check for below, so use a different variable.
30967 # John Interrante, Karl Berry
30968 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30969 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30970 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30971 echo $ECHO_N "(cached) $ECHO_C" >&6
30973 ac_check_lib_save_LIBS
=$LIBS
30974 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
30975 cat >conftest.
$ac_ext <<_ACEOF
30978 cat confdefs.h
>>conftest.
$ac_ext
30979 cat >>conftest.
$ac_ext <<_ACEOF
30980 /* end confdefs.h. */
30982 /* Override any gcc2 internal prototype to avoid an error. */
30986 /* We use char because int might match the return type of a gcc2
30987 builtin and then its argument prototype would still apply. */
30988 char IceConnectionNumber ();
30992 IceConnectionNumber ();
30997 rm -f conftest.
$ac_objext conftest
$ac_exeext
30998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30999 (eval $ac_link) 2>conftest.er1
31001 grep -v '^ *+' conftest.er1
>conftest.err
31003 cat conftest.err
>&5
31004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31005 (exit $ac_status); } &&
31006 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31008 (eval $ac_try) 2>&5
31010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31011 (exit $ac_status); }; } &&
31012 { ac_try
='test -s conftest$ac_exeext'
31013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31014 (eval $ac_try) 2>&5
31016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31017 (exit $ac_status); }; }; then
31018 ac_cv_lib_ICE_IceConnectionNumber
=yes
31020 echo "$as_me: failed program was:" >&5
31021 sed 's/^/| /' conftest.
$ac_ext >&5
31023 ac_cv_lib_ICE_IceConnectionNumber
=no
31025 rm -f conftest.err conftest.
$ac_objext \
31026 conftest
$ac_exeext conftest.
$ac_ext
31027 LIBS
=$ac_check_lib_save_LIBS
31029 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31030 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31031 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31032 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31035 LDFLAGS
=$ac_save_LDFLAGS
31040 if test "$no_x" = "yes"; then
31041 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31042 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31043 { (exit 1); exit 1; }; }
31046 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31047 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31048 AFMINSTALL
=afminstall
31049 COMPILED_X_PROGRAM
=0
31053 if test "$wxUSE_X11" = 1; then
31054 if test "$wxUSE_NANOX" = "yes"; then
31055 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31056 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31057 if test "x$MICROWIN" = x
; then
31058 echo "$as_me:$LINENO: result: not found" >&5
31059 echo "${ECHO_T}not found" >&6
31060 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31061 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31062 { (exit 1); exit 1; }; }
31064 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31065 echo "${ECHO_T}$MICROWIN" >&6
31066 cat >>confdefs.h
<<\_ACEOF
31067 #define wxUSE_NANOX 1
31073 if test "$wxUSE_UNICODE" = "yes"; then
31076 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31077 if test -n "$ac_tool_prefix"; then
31078 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31079 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31080 echo "$as_me:$LINENO: checking for $ac_word" >&5
31081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31082 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31083 echo $ECHO_N "(cached) $ECHO_C" >&6
31085 case $PKG_CONFIG in
31087 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31091 for as_dir
in $PATH
31094 test -z "$as_dir" && as_dir
=.
31095 for ac_exec_ext
in '' $ac_executable_extensions; do
31096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31097 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31107 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31109 if test -n "$PKG_CONFIG"; then
31110 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31111 echo "${ECHO_T}$PKG_CONFIG" >&6
31113 echo "$as_me:$LINENO: result: no" >&5
31114 echo "${ECHO_T}no" >&6
31118 if test -z "$ac_cv_path_PKG_CONFIG"; then
31119 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31120 # Extract the first word of "pkg-config", so it can be a program name with args.
31121 set dummy pkg
-config; ac_word
=$2
31122 echo "$as_me:$LINENO: checking for $ac_word" >&5
31123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31124 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31125 echo $ECHO_N "(cached) $ECHO_C" >&6
31127 case $ac_pt_PKG_CONFIG in
31129 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31133 for as_dir
in $PATH
31136 test -z "$as_dir" && as_dir
=.
31137 for ac_exec_ext
in '' $ac_executable_extensions; do
31138 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31139 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31149 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31151 if test -n "$ac_pt_PKG_CONFIG"; then
31152 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31153 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31155 echo "$as_me:$LINENO: result: no" >&5
31156 echo "${ECHO_T}no" >&6
31159 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31161 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31165 if test -n "$PKG_CONFIG"; then
31166 _pkg_min_version
=0.9.0
31167 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31168 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31169 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31170 echo "$as_me:$LINENO: result: yes" >&5
31171 echo "${ECHO_T}yes" >&6
31173 echo "$as_me:$LINENO: result: no" >&5
31174 echo "${ECHO_T}no" >&6
31182 echo "$as_me:$LINENO: checking for PANGOX" >&5
31183 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31185 if test -n "$PKG_CONFIG"; then
31186 if test -n "$PANGOX_CFLAGS"; then
31187 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31189 if test -n "$PKG_CONFIG" && \
31190 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31191 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); }; then
31195 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31203 if test -n "$PKG_CONFIG"; then
31204 if test -n "$PANGOX_LIBS"; then
31205 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31207 if test -n "$PKG_CONFIG" && \
31208 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31209 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); }; then
31213 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31224 if test $pkg_failed = yes; then
31226 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31227 _pkg_short_errors_supported
=yes
31229 _pkg_short_errors_supported
=no
31231 if test $_pkg_short_errors_supported = yes; then
31232 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31234 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31236 # Put the nasty error message in config.log where it belongs
31237 echo "$PANGOX_PKG_ERRORS" >&5
31240 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31241 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31242 { (exit 1); exit 1; }; }
31245 elif test $pkg_failed = untried
; then
31247 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31248 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31249 { (exit 1); exit 1; }; }
31253 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31254 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31255 echo "$as_me:$LINENO: result: yes" >&5
31256 echo "${ECHO_T}yes" >&6
31258 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31259 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31260 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31265 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31266 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31268 if test -n "$PKG_CONFIG"; then
31269 if test -n "$PANGOFT2_CFLAGS"; then
31270 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31272 if test -n "$PKG_CONFIG" && \
31273 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31274 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31277 (exit $ac_status); }; then
31278 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31286 if test -n "$PKG_CONFIG"; then
31287 if test -n "$PANGOFT2_LIBS"; then
31288 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31290 if test -n "$PKG_CONFIG" && \
31291 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31292 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31295 (exit $ac_status); }; then
31296 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31307 if test $pkg_failed = yes; then
31309 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31310 _pkg_short_errors_supported
=yes
31312 _pkg_short_errors_supported
=no
31314 if test $_pkg_short_errors_supported = yes; then
31315 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31317 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31319 # Put the nasty error message in config.log where it belongs
31320 echo "$PANGOFT2_PKG_ERRORS" >&5
31323 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31324 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31325 wxUSE_PRINTING_ARCHITECTURE
="no"
31328 elif test $pkg_failed = untried
; then
31330 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31331 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31332 wxUSE_PRINTING_ARCHITECTURE
="no"
31336 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31337 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31338 echo "$as_me:$LINENO: result: yes" >&5
31339 echo "${ECHO_T}yes" >&6
31341 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31342 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31343 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31348 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31349 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31351 if test -n "$PKG_CONFIG"; then
31352 if test -n "$PANGOXFT_CFLAGS"; then
31353 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31355 if test -n "$PKG_CONFIG" && \
31356 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31357 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31360 (exit $ac_status); }; then
31361 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31369 if test -n "$PKG_CONFIG"; then
31370 if test -n "$PANGOXFT_LIBS"; then
31371 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31373 if test -n "$PKG_CONFIG" && \
31374 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31375 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31378 (exit $ac_status); }; then
31379 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31390 if test $pkg_failed = yes; then
31392 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31393 _pkg_short_errors_supported
=yes
31395 _pkg_short_errors_supported
=no
31397 if test $_pkg_short_errors_supported = yes; then
31398 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31400 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31402 # Put the nasty error message in config.log where it belongs
31403 echo "$PANGOXFT_PKG_ERRORS" >&5
31406 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31407 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31410 elif test $pkg_failed = untried
; then
31412 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31413 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31417 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31418 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31419 echo "$as_me:$LINENO: result: yes" >&5
31420 echo "${ECHO_T}yes" >&6
31422 cat >>confdefs.h
<<\_ACEOF
31423 #define HAVE_PANGO_XFT 1
31426 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31427 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31428 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31432 LIBS
="$LIBS $PANGOX_LIBS"
31434 for ac_func
in pango_font_family_is_monospace
31436 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31437 echo "$as_me:$LINENO: checking for $ac_func" >&5
31438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31439 if eval "test \"\${$as_ac_var+set}\" = set"; then
31440 echo $ECHO_N "(cached) $ECHO_C" >&6
31442 cat >conftest.
$ac_ext <<_ACEOF
31445 cat confdefs.h
>>conftest.
$ac_ext
31446 cat >>conftest.
$ac_ext <<_ACEOF
31447 /* end confdefs.h. */
31448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31450 #define $ac_func innocuous_$ac_func
31452 /* System header to define __stub macros and hopefully few prototypes,
31453 which can conflict with char $ac_func (); below.
31454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31455 <limits.h> exists even on freestanding compilers. */
31458 # include <limits.h>
31460 # include <assert.h>
31465 /* Override any gcc2 internal prototype to avoid an error. */
31470 /* We use char because int might match the return type of a gcc2
31471 builtin and then its argument prototype would still apply. */
31473 /* The GNU C library defines this for functions which it implements
31474 to always fail with ENOSYS. Some functions are actually named
31475 something starting with __ and the normal name is an alias. */
31476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31479 char (*f) () = $ac_func;
31488 return f != $ac_func;
31493 rm -f conftest.
$ac_objext conftest
$ac_exeext
31494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31495 (eval $ac_link) 2>conftest.er1
31497 grep -v '^ *+' conftest.er1
>conftest.err
31499 cat conftest.err
>&5
31500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31501 (exit $ac_status); } &&
31502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31504 (eval $ac_try) 2>&5
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); }; } &&
31508 { ac_try
='test -s conftest$ac_exeext'
31509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31510 (eval $ac_try) 2>&5
31512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31513 (exit $ac_status); }; }; then
31514 eval "$as_ac_var=yes"
31516 echo "$as_me: failed program was:" >&5
31517 sed 's/^/| /' conftest.
$ac_ext >&5
31519 eval "$as_ac_var=no"
31521 rm -f conftest.err conftest.
$ac_objext \
31522 conftest
$ac_exeext conftest.
$ac_ext
31524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31526 if test `eval echo '${'$as_ac_var'}'` = yes; then
31527 cat >>confdefs.h
<<_ACEOF
31528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31537 wxUSE_UNIVERSAL
="yes"
31539 if test "$wxUSE_NANOX" = "yes"; then
31540 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31541 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"
31542 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31544 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31551 if test "$wxUSE_MOTIF" = 1; then
31552 if test "$wxUSE_UNICODE" = "yes"; then
31553 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31554 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31555 { (exit 1); exit 1; }; }
31558 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31559 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31562 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31564 if test -f "$ac_dir/Xm/Xm.h"; then
31565 ac_find_includes
=$ac_dir
31570 if test "$ac_find_includes" != "" ; then
31571 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31572 echo "${ECHO_T}found in $ac_find_includes" >&6
31574 if test "x$ac_find_includes" = "x/usr/include"; then
31575 ac_path_to_include
=""
31577 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31579 if test $result = 0; then
31580 ac_path_to_include
=""
31582 ac_path_to_include
=" -I$ac_find_includes"
31586 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31588 save_CFLAGS
=$CFLAGS
31589 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31591 cat >conftest.
$ac_ext <<_ACEOF
31594 cat confdefs.h
>>conftest.
$ac_ext
31595 cat >>conftest.
$ac_ext <<_ACEOF
31596 /* end confdefs.h. */
31605 version = xmUseVersion;
31611 rm -f conftest.
$ac_objext
31612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31613 (eval $ac_compile) 2>conftest.er1
31615 grep -v '^ *+' conftest.er1
>conftest.err
31617 cat conftest.err
>&5
31618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 (exit $ac_status); } &&
31620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31622 (eval $ac_try) 2>&5
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); }; } &&
31626 { ac_try
='test -s conftest.$ac_objext'
31627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31628 (eval $ac_try) 2>&5
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); }; }; then
31633 echo "$as_me:$LINENO: result: found in default search path" >&5
31634 echo "${ECHO_T}found in default search path" >&6
31635 COMPILED_X_PROGRAM
=1
31638 echo "$as_me: failed program was:" >&5
31639 sed 's/^/| /' conftest.
$ac_ext >&5
31642 echo "$as_me:$LINENO: result: no" >&5
31643 echo "${ECHO_T}no" >&6
31644 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31645 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31646 { (exit 1); exit 1; }; }
31650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31652 CFLAGS
=$save_CFLAGS
31656 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31657 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31660 for ac_dir
in $SEARCH_LIB;
31662 for ac_extension
in a so sl dylib dll.a
; do
31663 if test -f "$ac_dir/libXm.$ac_extension"; then
31664 ac_find_libraries
=$ac_dir
31671 if test "x$ac_find_libraries" != "x" ; then
31672 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31673 echo "${ECHO_T}found in $ac_find_libraries" >&6
31676 if test "$ac_find_libraries" = "default location"; then
31679 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31681 if test $result = 0; then
31684 ac_path_to_link
=" -L$ac_find_libraries"
31688 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31690 save_CFLAGS
=$CFLAGS
31691 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31693 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31695 cat >conftest.
$ac_ext <<_ACEOF
31698 cat confdefs.h
>>conftest.
$ac_ext
31699 cat >>conftest.
$ac_ext <<_ACEOF
31700 /* end confdefs.h. */
31709 version = xmUseVersion;
31715 rm -f conftest.
$ac_objext conftest
$ac_exeext
31716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31717 (eval $ac_link) 2>conftest.er1
31719 grep -v '^ *+' conftest.er1
>conftest.err
31721 cat conftest.err
>&5
31722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31723 (exit $ac_status); } &&
31724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31726 (eval $ac_try) 2>&5
31728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31729 (exit $ac_status); }; } &&
31730 { ac_try
='test -s conftest$ac_exeext'
31731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31732 (eval $ac_try) 2>&5
31734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31735 (exit $ac_status); }; }; then
31737 echo "$as_me:$LINENO: result: found in default search path" >&5
31738 echo "${ECHO_T}found in default search path" >&6
31739 COMPILED_X_PROGRAM
=1
31742 echo "$as_me: failed program was:" >&5
31743 sed 's/^/| /' conftest.
$ac_ext >&5
31746 echo "$as_me:$LINENO: result: no" >&5
31747 echo "${ECHO_T}no" >&6
31748 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31749 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31750 { (exit 1); exit 1; }; }
31754 rm -f conftest.err conftest.
$ac_objext \
31755 conftest
$ac_exeext conftest.
$ac_ext
31757 CFLAGS
=$save_CFLAGS
31761 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31762 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31766 for libp
in "" " -lXp"; do
31767 if test "$libs_found" = "0"; then
31768 for libsm_ice
in "" " -lSM -lICE"; do
31769 if test "$libs_found" = "0"; then
31771 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31772 save_CFLAGS
=$CFLAGS
31773 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31775 cat >conftest.
$ac_ext <<_ACEOF
31778 cat confdefs.h
>>conftest.
$ac_ext
31779 cat >>conftest.
$ac_ext <<_ACEOF
31780 /* end confdefs.h. */
31783 #include <Xm/List.h>
31789 XmString string = NULL;
31792 XmListAddItem(w, string, position);
31798 rm -f conftest.
$ac_objext conftest
$ac_exeext
31799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31800 (eval $ac_link) 2>conftest.er1
31802 grep -v '^ *+' conftest.er1
>conftest.err
31804 cat conftest.err
>&5
31805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31806 (exit $ac_status); } &&
31807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31809 (eval $ac_try) 2>&5
31811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31812 (exit $ac_status); }; } &&
31813 { ac_try
='test -s conftest$ac_exeext'
31814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31815 (eval $ac_try) 2>&5
31817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31818 (exit $ac_status); }; }; then
31821 libsm_ice_link
="$libsm_ice"
31822 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31823 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31827 echo "$as_me: failed program was:" >&5
31828 sed 's/^/| /' conftest.
$ac_ext >&5
31833 rm -f conftest.err conftest.
$ac_objext \
31834 conftest
$ac_exeext conftest.
$ac_ext
31837 CFLAGS
=$save_CFLAGS
31843 if test "$libs_found" = "0"; then
31844 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31845 echo "${ECHO_T}can't find the right libraries" >&6
31846 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31847 echo "$as_me: error: can't link a simple motif program" >&2;}
31848 { (exit 1); exit 1; }; }
31851 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31852 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31853 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31854 echo $ECHO_N "(cached) $ECHO_C" >&6
31856 ac_check_lib_save_LIBS
=$LIBS
31858 cat >conftest.
$ac_ext <<_ACEOF
31861 cat confdefs.h
>>conftest.
$ac_ext
31862 cat >>conftest.
$ac_ext <<_ACEOF
31863 /* end confdefs.h. */
31865 /* Override any gcc2 internal prototype to avoid an error. */
31869 /* We use char because int might match the return type of a gcc2
31870 builtin and then its argument prototype would still apply. */
31871 char SgCreateList ();
31880 rm -f conftest.
$ac_objext conftest
$ac_exeext
31881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31882 (eval $ac_link) 2>conftest.er1
31884 grep -v '^ *+' conftest.er1
>conftest.err
31886 cat conftest.err
>&5
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); } &&
31889 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31891 (eval $ac_try) 2>&5
31893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894 (exit $ac_status); }; } &&
31895 { ac_try
='test -s conftest$ac_exeext'
31896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31897 (eval $ac_try) 2>&5
31899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31900 (exit $ac_status); }; }; then
31901 ac_cv_lib_Sgm_SgCreateList
=yes
31903 echo "$as_me: failed program was:" >&5
31904 sed 's/^/| /' conftest.
$ac_ext >&5
31906 ac_cv_lib_Sgm_SgCreateList
=no
31908 rm -f conftest.err conftest.
$ac_objext \
31909 conftest
$ac_exeext conftest.
$ac_ext
31910 LIBS
=$ac_check_lib_save_LIBS
31912 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31913 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31914 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31915 libsgm_link
=" -lSgm"
31919 save_CFLAGS
=$CFLAGS
31920 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31922 echo "$as_me:$LINENO: checking for Motif 2" >&5
31923 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31924 if test "${wx_cv_lib_motif2+set}" = set; then
31925 echo $ECHO_N "(cached) $ECHO_C" >&6
31927 cat >conftest.
$ac_ext <<_ACEOF
31930 cat confdefs.h
>>conftest.
$ac_ext
31931 cat >>conftest.
$ac_ext <<_ACEOF
31932 /* end confdefs.h. */
31940 #if XmVersion < 2000
31948 rm -f conftest.
$ac_objext
31949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31950 (eval $ac_compile) 2>conftest.er1
31952 grep -v '^ *+' conftest.er1
>conftest.err
31954 cat conftest.err
>&5
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); } &&
31957 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31959 (eval $ac_try) 2>&5
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; } &&
31963 { ac_try
='test -s conftest.$ac_objext'
31964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31965 (eval $ac_try) 2>&5
31967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31968 (exit $ac_status); }; }; then
31969 wx_cv_lib_motif2
="yes"
31971 echo "$as_me: failed program was:" >&5
31972 sed 's/^/| /' conftest.
$ac_ext >&5
31974 wx_cv_lib_motif2
="no"
31976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31978 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31979 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31980 if test "$wx_cv_lib_motif2" = "yes"; then
31981 cat >>confdefs.h
<<\_ACEOF
31982 #define __WXMOTIF20__ 1
31986 cat >>confdefs.h
<<\_ACEOF
31987 #define __WXMOTIF20__ 0
31992 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31993 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31994 if test "${wx_cv_lib_lesstif+set}" = set; then
31995 echo $ECHO_N "(cached) $ECHO_C" >&6
31997 cat >conftest.
$ac_ext <<_ACEOF
32000 cat confdefs.h
>>conftest.
$ac_ext
32001 cat >>conftest.
$ac_ext <<_ACEOF
32002 /* end confdefs.h. */
32010 #if !defined(LesstifVersion) || LesstifVersion <= 0
32018 rm -f conftest.
$ac_objext
32019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32020 (eval $ac_compile) 2>conftest.er1
32022 grep -v '^ *+' conftest.er1
>conftest.err
32024 cat conftest.err
>&5
32025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32026 (exit $ac_status); } &&
32027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32029 (eval $ac_try) 2>&5
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); }; } &&
32033 { ac_try
='test -s conftest.$ac_objext'
32034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32035 (eval $ac_try) 2>&5
32037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32038 (exit $ac_status); }; }; then
32039 wx_cv_lib_lesstif
="yes"
32041 echo "$as_me: failed program was:" >&5
32042 sed 's/^/| /' conftest.
$ac_ext >&5
32044 wx_cv_lib_lesstif
="no"
32046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32049 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32050 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32051 if test "$wx_cv_lib_lesstif" = "yes"; then
32052 cat >>confdefs.h
<<\_ACEOF
32053 #define __WXLESSTIF__ 1
32057 cat >>confdefs.h
<<\_ACEOF
32058 #define __WXLESSTIF__ 0
32063 CFLAGS
=$save_CFLAGS
32065 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32070 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32071 if test "$wxUSE_LIBXPM" = "sys"; then
32072 echo "$as_me:$LINENO: checking for Xpm library" >&5
32073 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32076 for ac_dir
in $SEARCH_LIB;
32078 for ac_extension
in a so sl dylib dll.a
; do
32079 if test -f "$ac_dir/libXpm.$ac_extension"; then
32080 ac_find_libraries
=$ac_dir
32086 if test "$ac_find_libraries" != "" ; then
32088 if test "$ac_find_libraries" = "default location"; then
32091 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32093 if test $result = 0; then
32096 ac_path_to_link
=" -L$ac_find_libraries"
32100 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32101 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32102 echo "${ECHO_T}found in $ac_find_libraries" >&6
32104 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32105 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32106 if test "${wx_cv_x11_xpm_h+set}" = set; then
32107 echo $ECHO_N "(cached) $ECHO_C" >&6
32110 save_CFLAGS
=$CFLAGS
32111 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32113 cat >conftest.
$ac_ext <<_ACEOF
32116 cat confdefs.h
>>conftest.
$ac_ext
32117 cat >>conftest.
$ac_ext <<_ACEOF
32118 /* end confdefs.h. */
32120 #include <X11/xpm.h>
32127 version = XpmLibraryVersion();
32133 rm -f conftest.
$ac_objext
32134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32135 (eval $ac_compile) 2>conftest.er1
32137 grep -v '^ *+' conftest.er1
>conftest.err
32139 cat conftest.err
>&5
32140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32141 (exit $ac_status); } &&
32142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32144 (eval $ac_try) 2>&5
32146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32147 (exit $ac_status); }; } &&
32148 { ac_try
='test -s conftest.$ac_objext'
32149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32150 (eval $ac_try) 2>&5
32152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32153 (exit $ac_status); }; }; then
32154 wx_cv_x11_xpm_h
=yes
32156 echo "$as_me: failed program was:" >&5
32157 sed 's/^/| /' conftest.
$ac_ext >&5
32162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32164 CFLAGS
=$save_CFLAGS
32168 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32169 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32171 if test $wx_cv_x11_xpm_h = "yes"; then
32172 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32173 cat >>confdefs.h
<<\_ACEOF
32174 #define wxHAVE_LIB_XPM 1
32178 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32179 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32185 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32186 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32187 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32188 echo $ECHO_N "(cached) $ECHO_C" >&6
32190 ac_check_lib_save_LIBS
=$LIBS
32191 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32192 cat >conftest.
$ac_ext <<_ACEOF
32195 cat confdefs.h
>>conftest.
$ac_ext
32196 cat >>conftest.
$ac_ext <<_ACEOF
32197 /* end confdefs.h. */
32199 /* Override any gcc2 internal prototype to avoid an error. */
32203 /* We use char because int might match the return type of a gcc2
32204 builtin and then its argument prototype would still apply. */
32205 char XShapeQueryExtension ();
32209 XShapeQueryExtension ();
32214 rm -f conftest.
$ac_objext conftest
$ac_exeext
32215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32216 (eval $ac_link) 2>conftest.er1
32218 grep -v '^ *+' conftest.er1
>conftest.err
32220 cat conftest.err
>&5
32221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32222 (exit $ac_status); } &&
32223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32225 (eval $ac_try) 2>&5
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); }; } &&
32229 { ac_try
='test -s conftest$ac_exeext'
32230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32231 (eval $ac_try) 2>&5
32233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32234 (exit $ac_status); }; }; then
32235 ac_cv_lib_Xext_XShapeQueryExtension
=yes
32237 echo "$as_me: failed program was:" >&5
32238 sed 's/^/| /' conftest.
$ac_ext >&5
32240 ac_cv_lib_Xext_XShapeQueryExtension
=no
32242 rm -f conftest.err conftest.
$ac_objext \
32243 conftest
$ac_exeext conftest.
$ac_ext
32244 LIBS
=$ac_check_lib_save_LIBS
32246 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32247 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32248 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32250 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
32256 if test "$wxHAVE_XEXT_LIB" = 1; then
32257 save_CFLAGS
="$CFLAGS"
32258 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32260 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32261 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32262 cat >conftest.
$ac_ext <<_ACEOF
32265 cat confdefs.h
>>conftest.
$ac_ext
32266 cat >>conftest.
$ac_ext <<_ACEOF
32267 /* end confdefs.h. */
32269 #include <X11/Xlib.h>
32270 #include <X11/extensions/shape.h>
32276 int dummy1, dummy2;
32277 XShapeQueryExtension((Display*)NULL,
32278 (int*)NULL, (int*)NULL);
32284 rm -f conftest.
$ac_objext
32285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32286 (eval $ac_compile) 2>conftest.er1
32288 grep -v '^ *+' conftest.er1
>conftest.err
32290 cat conftest.err
>&5
32291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32292 (exit $ac_status); } &&
32293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32295 (eval $ac_try) 2>&5
32297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32298 (exit $ac_status); }; } &&
32299 { ac_try
='test -s conftest.$ac_objext'
32300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32301 (eval $ac_try) 2>&5
32303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32304 (exit $ac_status); }; }; then
32306 cat >>confdefs.h
<<\_ACEOF
32307 #define HAVE_XSHAPE 1
32310 echo "$as_me:$LINENO: result: found" >&5
32311 echo "${ECHO_T}found" >&6
32314 echo "$as_me: failed program was:" >&5
32315 sed 's/^/| /' conftest.
$ac_ext >&5
32318 echo "$as_me:$LINENO: result: not found" >&5
32319 echo "${ECHO_T}not found" >&6
32322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32323 CFLAGS
="$save_CFLAGS"
32328 if test "$wxUSE_MAC" = 1; then
32329 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32330 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32331 if test "$GCC" = yes; then
32332 echo "$as_me:$LINENO: result: gcc" >&5
32333 echo "${ECHO_T}gcc" >&6
32334 CPPFLAGS_PASCAL
="-fpascal-strings"
32335 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32336 echo "$as_me:$LINENO: result: xlc" >&5
32337 echo "${ECHO_T}xlc" >&6
32338 CPPFLAGS_PASCAL
="-qmacpstr"
32340 echo "$as_me:$LINENO: result: none" >&5
32341 echo "${ECHO_T}none" >&6
32344 if test "x$wxUSE_UNIX" = "xyes"; then
32345 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32347 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32352 WXBASEPORT
="_carbon"
32355 if test "$wxUSE_COCOA" = 1; then
32360 if test "$wxUSE_PM" = 1; then
32363 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32364 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32365 if test "${wx_cv_spbcdata+set}" = set; then
32366 echo $ECHO_N "(cached) $ECHO_C" >&6
32369 cat >conftest.
$ac_ext <<_ACEOF
32372 cat confdefs.h
>>conftest.
$ac_ext
32373 cat >>conftest.
$ac_ext <<_ACEOF
32374 /* end confdefs.h. */
32389 rm -f conftest.
$ac_objext
32390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32391 (eval $ac_compile) 2>conftest.er1
32393 grep -v '^ *+' conftest.er1
>conftest.err
32395 cat conftest.err
>&5
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); } &&
32398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32400 (eval $ac_try) 2>&5
32402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32403 (exit $ac_status); }; } &&
32404 { ac_try
='test -s conftest.$ac_objext'
32405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32406 (eval $ac_try) 2>&5
32408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32409 (exit $ac_status); }; }; then
32412 echo "$as_me: failed program was:" >&5
32413 sed 's/^/| /' conftest.
$ac_ext >&5
32418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32422 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32423 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32425 if test $wx_cv_spbcdata = "yes"; then
32426 cat >>confdefs.h
<<\_ACEOF
32427 #define HAVE_SPBCDATA 1
32433 if test "$TOOLKIT" = "PM" ; then
32436 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32439 if test "$wxUSE_UNIVERSAL" = "yes"; then
32440 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32444 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32445 DISTDIR
="wx\$(TOOLKIT)"
32451 if test "$USE_WIN32" = 1 ; then
32455 GUIDIST
="BASE_DIST"
32460 if test "$wxUSE_GUI" = "yes"; then
32461 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32463 for ac_header
in X
11/Xlib.h
32465 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32467 echo "$as_me:$LINENO: checking for $ac_header" >&5
32468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32470 echo $ECHO_N "(cached) $ECHO_C" >&6
32472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32475 # Is the header compilable?
32476 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32477 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32478 cat >conftest.
$ac_ext <<_ACEOF
32481 cat confdefs.h
>>conftest.
$ac_ext
32482 cat >>conftest.
$ac_ext <<_ACEOF
32483 /* end confdefs.h. */
32484 $ac_includes_default
32485 #include <$ac_header>
32487 rm -f conftest.
$ac_objext
32488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32489 (eval $ac_compile) 2>conftest.er1
32491 grep -v '^ *+' conftest.er1
>conftest.err
32493 cat conftest.err
>&5
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); } &&
32496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32498 (eval $ac_try) 2>&5
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); }; } &&
32502 { ac_try
='test -s conftest.$ac_objext'
32503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32504 (eval $ac_try) 2>&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); }; }; then
32508 ac_header_compiler
=yes
32510 echo "$as_me: failed program was:" >&5
32511 sed 's/^/| /' conftest.
$ac_ext >&5
32513 ac_header_compiler
=no
32515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32517 echo "${ECHO_T}$ac_header_compiler" >&6
32519 # Is the header present?
32520 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32522 cat >conftest.
$ac_ext <<_ACEOF
32525 cat confdefs.h
>>conftest.
$ac_ext
32526 cat >>conftest.
$ac_ext <<_ACEOF
32527 /* end confdefs.h. */
32528 #include <$ac_header>
32530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32531 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32533 grep -v '^ *+' conftest.er1
>conftest.err
32535 cat conftest.err
>&5
32536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537 (exit $ac_status); } >/dev
/null
; then
32538 if test -s conftest.err
; then
32539 ac_cpp_err
=$ac_c_preproc_warn_flag
32540 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32547 if test -z "$ac_cpp_err"; then
32548 ac_header_preproc
=yes
32550 echo "$as_me: failed program was:" >&5
32551 sed 's/^/| /' conftest.
$ac_ext >&5
32553 ac_header_preproc
=no
32555 rm -f conftest.err conftest.
$ac_ext
32556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32557 echo "${ECHO_T}$ac_header_preproc" >&6
32559 # So? What about this header?
32560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32565 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32566 ac_header_preproc
=yes
32569 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32571 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32572 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32573 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32574 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32575 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32576 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32579 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32580 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32583 ## ----------------------------------------- ##
32584 ## Report this to wx-dev@lists.wxwidgets.org ##
32585 ## ----------------------------------------- ##
32588 sed "s/^/$as_me: WARNING: /" >&2
32591 echo "$as_me:$LINENO: checking for $ac_header" >&5
32592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32594 echo $ECHO_N "(cached) $ECHO_C" >&6
32596 eval "$as_ac_Header=\$ac_header_preproc"
32598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32603 cat >>confdefs.h
<<_ACEOF
32604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32612 for ac_header
in X
11/XKBlib.h
32614 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32615 echo "$as_me:$LINENO: checking for $ac_header" >&5
32616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32618 echo $ECHO_N "(cached) $ECHO_C" >&6
32620 cat >conftest.
$ac_ext <<_ACEOF
32623 cat confdefs.h
>>conftest.
$ac_ext
32624 cat >>conftest.
$ac_ext <<_ACEOF
32625 /* end confdefs.h. */
32627 #if HAVE_X11_XLIB_H
32628 #include <X11/Xlib.h>
32632 #include <$ac_header>
32634 rm -f conftest.
$ac_objext
32635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32636 (eval $ac_compile) 2>conftest.er1
32638 grep -v '^ *+' conftest.er1
>conftest.err
32640 cat conftest.err
>&5
32641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642 (exit $ac_status); } &&
32643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32645 (eval $ac_try) 2>&5
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); }; } &&
32649 { ac_try
='test -s conftest.$ac_objext'
32650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32651 (eval $ac_try) 2>&5
32653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32654 (exit $ac_status); }; }; then
32655 eval "$as_ac_Header=yes"
32657 echo "$as_me: failed program was:" >&5
32658 sed 's/^/| /' conftest.
$ac_ext >&5
32660 eval "$as_ac_Header=no"
32662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32667 cat >>confdefs.h
<<_ACEOF
32668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32683 if test "$TOOLKIT" != "MSW" ; then
32685 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32687 if test "${ac_cv_header_sql_h+set}" = set; then
32688 echo "$as_me:$LINENO: checking for sql.h" >&5
32689 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32690 if test "${ac_cv_header_sql_h+set}" = set; then
32691 echo $ECHO_N "(cached) $ECHO_C" >&6
32693 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32694 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32696 # Is the header compilable?
32697 echo "$as_me:$LINENO: checking sql.h usability" >&5
32698 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32699 cat >conftest.
$ac_ext <<_ACEOF
32702 cat confdefs.h
>>conftest.
$ac_ext
32703 cat >>conftest.
$ac_ext <<_ACEOF
32704 /* end confdefs.h. */
32705 $ac_includes_default
32708 rm -f conftest.
$ac_objext
32709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32710 (eval $ac_compile) 2>conftest.er1
32712 grep -v '^ *+' conftest.er1
>conftest.err
32714 cat conftest.err
>&5
32715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716 (exit $ac_status); } &&
32717 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32719 (eval $ac_try) 2>&5
32721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32722 (exit $ac_status); }; } &&
32723 { ac_try
='test -s conftest.$ac_objext'
32724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32725 (eval $ac_try) 2>&5
32727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32728 (exit $ac_status); }; }; then
32729 ac_header_compiler
=yes
32731 echo "$as_me: failed program was:" >&5
32732 sed 's/^/| /' conftest.
$ac_ext >&5
32734 ac_header_compiler
=no
32736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32737 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32738 echo "${ECHO_T}$ac_header_compiler" >&6
32740 # Is the header present?
32741 echo "$as_me:$LINENO: checking sql.h presence" >&5
32742 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32743 cat >conftest.
$ac_ext <<_ACEOF
32746 cat confdefs.h
>>conftest.
$ac_ext
32747 cat >>conftest.
$ac_ext <<_ACEOF
32748 /* end confdefs.h. */
32751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32752 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32754 grep -v '^ *+' conftest.er1
>conftest.err
32756 cat conftest.err
>&5
32757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32758 (exit $ac_status); } >/dev
/null
; then
32759 if test -s conftest.err
; then
32760 ac_cpp_err
=$ac_c_preproc_warn_flag
32761 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32768 if test -z "$ac_cpp_err"; then
32769 ac_header_preproc
=yes
32771 echo "$as_me: failed program was:" >&5
32772 sed 's/^/| /' conftest.
$ac_ext >&5
32774 ac_header_preproc
=no
32776 rm -f conftest.err conftest.
$ac_ext
32777 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32778 echo "${ECHO_T}$ac_header_preproc" >&6
32780 # So? What about this header?
32781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32783 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32784 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32785 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32786 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32787 ac_header_preproc
=yes
32790 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32791 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32792 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32793 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32794 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32795 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32796 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32797 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32798 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32799 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32800 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32801 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32804 ## ----------------------------------------- ##
32805 ## Report this to wx-dev@lists.wxwidgets.org ##
32806 ## ----------------------------------------- ##
32809 sed "s/^/$as_me: WARNING: /" >&2
32812 echo "$as_me:$LINENO: checking for sql.h" >&5
32813 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32814 if test "${ac_cv_header_sql_h+set}" = set; then
32815 echo $ECHO_N "(cached) $ECHO_C" >&6
32817 ac_cv_header_sql_h
=$ac_header_preproc
32819 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32820 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32823 if test $ac_cv_header_sql_h = yes; then
32828 if test "x$found_sql_h" = "x1" ; then
32829 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32830 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32831 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32832 echo $ECHO_N "(cached) $ECHO_C" >&6
32834 ac_check_lib_save_LIBS
=$LIBS
32835 LIBS
="-liodbc $LIBS"
32836 cat >conftest.
$ac_ext <<_ACEOF
32839 cat confdefs.h
>>conftest.
$ac_ext
32840 cat >>conftest.
$ac_ext <<_ACEOF
32841 /* end confdefs.h. */
32843 /* Override any gcc2 internal prototype to avoid an error. */
32847 /* We use char because int might match the return type of a gcc2
32848 builtin and then its argument prototype would still apply. */
32849 char SQLAllocEnv ();
32858 rm -f conftest.
$ac_objext conftest
$ac_exeext
32859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32860 (eval $ac_link) 2>conftest.er1
32862 grep -v '^ *+' conftest.er1
>conftest.err
32864 cat conftest.err
>&5
32865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32866 (exit $ac_status); } &&
32867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32869 (eval $ac_try) 2>&5
32871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32872 (exit $ac_status); }; } &&
32873 { ac_try
='test -s conftest$ac_exeext'
32874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32875 (eval $ac_try) 2>&5
32877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878 (exit $ac_status); }; }; then
32879 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32881 echo "$as_me: failed program was:" >&5
32882 sed 's/^/| /' conftest.
$ac_ext >&5
32884 ac_cv_lib_iodbc_SQLAllocEnv
=no
32886 rm -f conftest.err conftest.
$ac_objext \
32887 conftest
$ac_exeext conftest.
$ac_ext
32888 LIBS
=$ac_check_lib_save_LIBS
32890 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32891 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32892 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32893 ODBC_LINK
=" -liodbc"
32896 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32897 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32898 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32899 echo $ECHO_N "(cached) $ECHO_C" >&6
32901 ac_check_lib_save_LIBS
=$LIBS
32902 LIBS
="-lunixodbc $LIBS"
32903 cat >conftest.
$ac_ext <<_ACEOF
32906 cat confdefs.h
>>conftest.
$ac_ext
32907 cat >>conftest.
$ac_ext <<_ACEOF
32908 /* end confdefs.h. */
32910 /* Override any gcc2 internal prototype to avoid an error. */
32914 /* We use char because int might match the return type of a gcc2
32915 builtin and then its argument prototype would still apply. */
32916 char SQLAllocEnv ();
32925 rm -f conftest.
$ac_objext conftest
$ac_exeext
32926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32927 (eval $ac_link) 2>conftest.er1
32929 grep -v '^ *+' conftest.er1
>conftest.err
32931 cat conftest.err
>&5
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); } &&
32934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32936 (eval $ac_try) 2>&5
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); }; } &&
32940 { ac_try
='test -s conftest$ac_exeext'
32941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32942 (eval $ac_try) 2>&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; }; then
32946 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32948 echo "$as_me: failed program was:" >&5
32949 sed 's/^/| /' conftest.
$ac_ext >&5
32951 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32953 rm -f conftest.err conftest.
$ac_objext \
32954 conftest
$ac_exeext conftest.
$ac_ext
32955 LIBS
=$ac_check_lib_save_LIBS
32957 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32958 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32959 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32960 ODBC_LINK
=" -lunixodbc"
32963 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32964 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32965 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32966 echo $ECHO_N "(cached) $ECHO_C" >&6
32968 ac_check_lib_save_LIBS
=$LIBS
32969 LIBS
="-lodbc $LIBS"
32970 cat >conftest.
$ac_ext <<_ACEOF
32973 cat confdefs.h
>>conftest.
$ac_ext
32974 cat >>conftest.
$ac_ext <<_ACEOF
32975 /* end confdefs.h. */
32977 /* Override any gcc2 internal prototype to avoid an error. */
32981 /* We use char because int might match the return type of a gcc2
32982 builtin and then its argument prototype would still apply. */
32983 char SQLAllocEnv ();
32992 rm -f conftest.
$ac_objext conftest
$ac_exeext
32993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32994 (eval $ac_link) 2>conftest.er1
32996 grep -v '^ *+' conftest.er1
>conftest.err
32998 cat conftest.err
>&5
32999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000 (exit $ac_status); } &&
33001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33003 (eval $ac_try) 2>&5
33005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006 (exit $ac_status); }; } &&
33007 { ac_try
='test -s conftest$ac_exeext'
33008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33009 (eval $ac_try) 2>&5
33011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33012 (exit $ac_status); }; }; then
33013 ac_cv_lib_odbc_SQLAllocEnv
=yes
33015 echo "$as_me: failed program was:" >&5
33016 sed 's/^/| /' conftest.
$ac_ext >&5
33018 ac_cv_lib_odbc_SQLAllocEnv
=no
33020 rm -f conftest.err conftest.
$ac_objext \
33021 conftest
$ac_exeext conftest.
$ac_ext
33022 LIBS
=$ac_check_lib_save_LIBS
33024 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33025 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33026 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33027 ODBC_LINK
=" -lodbc"
33037 if test "x$ODBC_LINK" = "x" ; then
33038 if test "$wxUSE_ODBC" = "sys" ; then
33039 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33040 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33041 { (exit 1); exit 1; }; }
33043 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33044 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33052 if test "$wxUSE_ODBC" = "builtin" ; then
33053 cat >>confdefs.h
<<\_ACEOF
33054 #define wxUSE_BUILTIN_IODBC 1
33060 if test "$wxUSE_ODBC" != "no" ; then
33061 cat >>confdefs.h
<<\_ACEOF
33062 #define wxUSE_ODBC 1
33065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
33067 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
33071 if test "$wxUSE_DISPLAY" = "yes"; then
33072 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33073 echo "$as_me:$LINENO: checking for Xinerama" >&5
33074 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33077 for ac_dir
in $SEARCH_LIB;
33079 for ac_extension
in a so sl dylib dll.a
; do
33080 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33081 ac_find_libraries
=$ac_dir
33087 if test "$ac_find_libraries" != "" ; then
33089 if test "$ac_find_libraries" = "default location"; then
33092 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33094 if test $result = 0; then
33097 ac_path_to_link
=" -L$ac_find_libraries"
33101 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33102 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33104 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
33105 echo "$as_me:$LINENO: result: yes" >&5
33106 echo "${ECHO_T}yes" >&6
33108 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33109 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33112 for ac_dir
in $SEARCH_LIB;
33114 for ac_extension
in a so sl dylib dll.a
; do
33115 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33116 ac_find_libraries
=$ac_dir
33122 if test "$ac_find_libraries" != "" ; then
33123 echo "$as_me:$LINENO: result: yes" >&5
33124 echo "${ECHO_T}yes" >&6
33126 for ac_header
in X
11/extensions
/xf86vmode.h
33128 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33129 echo "$as_me:$LINENO: checking for $ac_header" >&5
33130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33132 echo $ECHO_N "(cached) $ECHO_C" >&6
33134 cat >conftest.
$ac_ext <<_ACEOF
33137 cat confdefs.h
>>conftest.
$ac_ext
33138 cat >>conftest.
$ac_ext <<_ACEOF
33139 /* end confdefs.h. */
33141 #if HAVE_X11_XLIB_H
33142 #include <X11/Xlib.h>
33146 #include <$ac_header>
33148 rm -f conftest.
$ac_objext
33149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33150 (eval $ac_compile) 2>conftest.er1
33152 grep -v '^ *+' conftest.er1
>conftest.err
33154 cat conftest.err
>&5
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); } &&
33157 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33159 (eval $ac_try) 2>&5
33161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162 (exit $ac_status); }; } &&
33163 { ac_try
='test -s conftest.$ac_objext'
33164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33165 (eval $ac_try) 2>&5
33167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33168 (exit $ac_status); }; }; then
33169 eval "$as_ac_Header=yes"
33171 echo "$as_me: failed program was:" >&5
33172 sed 's/^/| /' conftest.
$ac_ext >&5
33174 eval "$as_ac_Header=no"
33176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33181 cat >>confdefs.h
<<_ACEOF
33182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33185 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33192 echo "$as_me:$LINENO: result: no" >&5
33193 echo "${ECHO_T}no" >&6
33197 echo "$as_me:$LINENO: result: no" >&5
33198 echo "${ECHO_T}no" >&6
33199 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33200 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33203 elif test "$wxUSE_MSW" = 1; then
33205 for ac_header
in ddraw.h
33207 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33208 echo "$as_me:$LINENO: checking for $ac_header" >&5
33209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33211 echo $ECHO_N "(cached) $ECHO_C" >&6
33213 cat >conftest.
$ac_ext <<_ACEOF
33216 cat confdefs.h
>>conftest.
$ac_ext
33217 cat >>conftest.
$ac_ext <<_ACEOF
33218 /* end confdefs.h. */
33219 #include <windows.h>
33221 #include <$ac_header>
33223 rm -f conftest.
$ac_objext
33224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33225 (eval $ac_compile) 2>conftest.er1
33227 grep -v '^ *+' conftest.er1
>conftest.err
33229 cat conftest.err
>&5
33230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33231 (exit $ac_status); } &&
33232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33234 (eval $ac_try) 2>&5
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); }; } &&
33238 { ac_try
='test -s conftest.$ac_objext'
33239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33240 (eval $ac_try) 2>&5
33242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33243 (exit $ac_status); }; }; then
33244 eval "$as_ac_Header=yes"
33246 echo "$as_me: failed program was:" >&5
33247 sed 's/^/| /' conftest.
$ac_ext >&5
33249 eval "$as_ac_Header=no"
33251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33255 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33256 cat >>confdefs.h
<<_ACEOF
33257 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33267 if test "$wxUSE_DETECT_SM" = "yes"; then
33268 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33269 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33270 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33273 for ac_dir
in $SEARCH_LIB;
33275 for ac_extension
in a so sl dylib dll.a
; do
33276 if test -f "$ac_dir/libSM.$ac_extension"; then
33277 ac_find_libraries
=$ac_dir
33283 if test "$ac_find_libraries" != "" ; then
33285 if test "$ac_find_libraries" = "default location"; then
33288 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33290 if test $result = 0; then
33293 ac_path_to_link
=" -L$ac_find_libraries"
33297 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33298 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33300 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
33301 echo "$as_me:$LINENO: result: yes" >&5
33302 echo "${ECHO_T}yes" >&6
33304 echo "$as_me:$LINENO: result: no" >&5
33305 echo "${ECHO_T}no" >&6
33306 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33307 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33308 wxUSE_DETECT_SM
="no"
33311 wxUSE_DETECT_SM
="no"
33318 if test "$wxUSE_OPENGL" = "yes"; then
33319 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
33320 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33321 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33323 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33324 OPENGL_LIBS
="-framework OpenGL -framework AGL"
33325 elif test "$wxUSE_MSW" = 1; then
33326 OPENGL_LIBS
="-lopengl32 -lglu32"
33328 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33329 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
33332 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
;
33334 if test -f "$ac_dir/GL/gl.h"; then
33335 ac_find_includes
=$ac_dir
33340 if test "$ac_find_includes" != "" ; then
33341 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33342 echo "${ECHO_T}found in $ac_find_includes" >&6
33344 if test "x$ac_find_includes" = "x/usr/include"; then
33345 ac_path_to_include
=""
33347 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
33349 if test $result = 0; then
33350 ac_path_to_include
=""
33352 ac_path_to_include
=" -I$ac_find_includes"
33356 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
33358 echo "$as_me:$LINENO: result: not found" >&5
33359 echo "${ECHO_T}not found" >&6
33362 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33363 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33364 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33365 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33366 echo $ECHO_N "(cached) $ECHO_C" >&6
33368 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33369 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33371 # Is the header compilable?
33372 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33373 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33374 cat >conftest.
$ac_ext <<_ACEOF
33377 cat confdefs.h
>>conftest.
$ac_ext
33378 cat >>conftest.
$ac_ext <<_ACEOF
33379 /* end confdefs.h. */
33380 $ac_includes_default
33383 rm -f conftest.
$ac_objext
33384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33385 (eval $ac_compile) 2>conftest.er1
33387 grep -v '^ *+' conftest.er1
>conftest.err
33389 cat conftest.err
>&5
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); } &&
33392 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33394 (eval $ac_try) 2>&5
33396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397 (exit $ac_status); }; } &&
33398 { ac_try
='test -s conftest.$ac_objext'
33399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33400 (eval $ac_try) 2>&5
33402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33403 (exit $ac_status); }; }; then
33404 ac_header_compiler
=yes
33406 echo "$as_me: failed program was:" >&5
33407 sed 's/^/| /' conftest.
$ac_ext >&5
33409 ac_header_compiler
=no
33411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33412 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33413 echo "${ECHO_T}$ac_header_compiler" >&6
33415 # Is the header present?
33416 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33417 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33418 cat >conftest.
$ac_ext <<_ACEOF
33421 cat confdefs.h
>>conftest.
$ac_ext
33422 cat >>conftest.
$ac_ext <<_ACEOF
33423 /* end confdefs.h. */
33426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33427 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33429 grep -v '^ *+' conftest.er1
>conftest.err
33431 cat conftest.err
>&5
33432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33433 (exit $ac_status); } >/dev
/null
; then
33434 if test -s conftest.err
; then
33435 ac_cpp_err
=$ac_c_preproc_warn_flag
33436 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33443 if test -z "$ac_cpp_err"; then
33444 ac_header_preproc
=yes
33446 echo "$as_me: failed program was:" >&5
33447 sed 's/^/| /' conftest.
$ac_ext >&5
33449 ac_header_preproc
=no
33451 rm -f conftest.err conftest.
$ac_ext
33452 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33453 echo "${ECHO_T}$ac_header_preproc" >&6
33455 # So? What about this header?
33456 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33458 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33459 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33460 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33461 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33462 ac_header_preproc
=yes
33465 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33466 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33467 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33468 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33469 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33470 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33471 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33472 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33473 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33474 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33475 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33476 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33479 ## ----------------------------------------- ##
33480 ## Report this to wx-dev@lists.wxwidgets.org ##
33481 ## ----------------------------------------- ##
33484 sed "s/^/$as_me: WARNING: /" >&2
33487 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33488 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33489 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33490 echo $ECHO_N "(cached) $ECHO_C" >&6
33492 ac_cv_header_GL_gl_h
=$ac_header_preproc
33494 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33495 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33498 if test $ac_cv_header_GL_gl_h = yes; then
33500 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33501 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33502 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33503 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33504 echo $ECHO_N "(cached) $ECHO_C" >&6
33506 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33507 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33509 # Is the header compilable?
33510 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
33511 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
33512 cat >conftest.
$ac_ext <<_ACEOF
33515 cat confdefs.h
>>conftest.
$ac_ext
33516 cat >>conftest.
$ac_ext <<_ACEOF
33517 /* end confdefs.h. */
33518 $ac_includes_default
33519 #include <GL/glu.h>
33521 rm -f conftest.
$ac_objext
33522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33523 (eval $ac_compile) 2>conftest.er1
33525 grep -v '^ *+' conftest.er1
>conftest.err
33527 cat conftest.err
>&5
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); } &&
33530 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33532 (eval $ac_try) 2>&5
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); }; } &&
33536 { ac_try
='test -s conftest.$ac_objext'
33537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33538 (eval $ac_try) 2>&5
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); }; }; then
33542 ac_header_compiler
=yes
33544 echo "$as_me: failed program was:" >&5
33545 sed 's/^/| /' conftest.
$ac_ext >&5
33547 ac_header_compiler
=no
33549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33551 echo "${ECHO_T}$ac_header_compiler" >&6
33553 # Is the header present?
33554 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
33555 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
33556 cat >conftest.
$ac_ext <<_ACEOF
33559 cat confdefs.h
>>conftest.
$ac_ext
33560 cat >>conftest.
$ac_ext <<_ACEOF
33561 /* end confdefs.h. */
33562 #include <GL/glu.h>
33564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33565 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33567 grep -v '^ *+' conftest.er1
>conftest.err
33569 cat conftest.err
>&5
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); } >/dev
/null
; then
33572 if test -s conftest.err
; then
33573 ac_cpp_err
=$ac_c_preproc_warn_flag
33574 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33581 if test -z "$ac_cpp_err"; then
33582 ac_header_preproc
=yes
33584 echo "$as_me: failed program was:" >&5
33585 sed 's/^/| /' conftest.
$ac_ext >&5
33587 ac_header_preproc
=no
33589 rm -f conftest.err conftest.
$ac_ext
33590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33591 echo "${ECHO_T}$ac_header_preproc" >&6
33593 # So? What about this header?
33594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33596 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
33597 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33598 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
33599 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
33600 ac_header_preproc
=yes
33603 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
33604 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
33605 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
33606 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
33607 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
33608 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
33609 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
33610 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
33611 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
33612 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
33613 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
33614 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
33617 ## ----------------------------------------- ##
33618 ## Report this to wx-dev@lists.wxwidgets.org ##
33619 ## ----------------------------------------- ##
33622 sed "s/^/$as_me: WARNING: /" >&2
33625 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33626 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33627 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33628 echo $ECHO_N "(cached) $ECHO_C" >&6
33630 ac_cv_header_GL_glu_h
=$ac_header_preproc
33632 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33633 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33636 if test $ac_cv_header_GL_glu_h = yes; then
33640 echo "$as_me:$LINENO: checking for -lGL" >&5
33641 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33644 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
33646 for ac_extension
in a so sl dylib dll.a
; do
33647 if test -f "$ac_dir/libGL.$ac_extension"; then
33648 ac_find_libraries
=$ac_dir
33654 if test "$ac_find_libraries" != "" ; then
33655 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33656 echo "${ECHO_T}found in $ac_find_libraries" >&6
33659 if test "$ac_find_libraries" = "default location"; then
33662 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33664 if test $result = 0; then
33667 ac_path_to_link
=" -L$ac_find_libraries"
33671 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33672 LDFLAGS_GL
="$ac_path_to_link"
33675 echo "$as_me:$LINENO: checking for -lGLU" >&5
33676 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33679 for ac_dir
in $SEARCH_LIB;
33681 for ac_extension
in a so sl dylib dll.a
; do
33682 if test -f "$ac_dir/libGLU.$ac_extension"; then
33683 ac_find_libraries
=$ac_dir
33689 if test "$ac_find_libraries" != "" ; then
33691 if test "$ac_find_libraries" = "default location"; then
33694 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33696 if test $result = 0; then
33699 ac_path_to_link
=" -L$ac_find_libraries"
33703 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33704 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33705 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33709 OPENGL_LIBS
="-lGL -lGLU"
33710 echo "$as_me:$LINENO: result: yes" >&5
33711 echo "${ECHO_T}yes" >&6
33713 echo "$as_me:$LINENO: result: no" >&5
33714 echo "${ECHO_T}no" >&6
33717 echo "$as_me:$LINENO: result: no" >&5
33718 echo "${ECHO_T}no" >&6
33721 if test "$found_gl" != 1; then
33722 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33723 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33726 for ac_dir
in $SEARCH_LIB;
33728 for ac_extension
in a so sl dylib dll.a
; do
33729 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33730 ac_find_libraries
=$ac_dir
33736 if test "$ac_find_libraries" != "" ; then
33738 if test "$ac_find_libraries" = "default location"; then
33741 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33743 if test $result = 0; then
33746 ac_path_to_link
=" -L$ac_find_libraries"
33750 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33751 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33752 echo "$as_me:$LINENO: result: yes" >&5
33753 echo "${ECHO_T}yes" >&6
33755 echo "$as_me:$LINENO: result: no" >&5
33756 echo "${ECHO_T}no" >&6
33768 if test "x$OPENGL_LIBS" = "x"; then
33769 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33770 echo "$as_me: error: OpenGL libraries not available" >&2;}
33771 { (exit 1); exit 1; }; }
33775 if test "$wxUSE_OPENGL" = "yes"; then
33777 cat >>confdefs.h
<<\_ACEOF
33778 #define wxUSE_OPENGL 1
33781 cat >>confdefs.h
<<\_ACEOF
33782 #define wxUSE_GLCANVAS 1
33785 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33790 if test -n "$TOOLKIT" ; then
33791 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33796 if test "$wxUSE_SHARED" = "yes"; then
33800 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33801 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33806 if test "$wxUSE_SHARED" = "yes"; then
33810 *-*-cygwin* | *-*-mingw* )
33811 wx_cv_version_script
=no
33815 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33816 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33817 if test "${wx_cv_version_script+set}" = set; then
33818 echo $ECHO_N "(cached) $ECHO_C" >&6
33821 echo "VER_1 { *; };" >conftest.sym
33822 echo "int main() { return 0; }" >conftest.cpp
33825 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33826 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33828 (eval $ac_try) 2>&5
33830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33831 (exit $ac_status); }; } ; then
33832 if test -s conftest.stderr
; then
33833 wx_cv_version_script
=no
33835 wx_cv_version_script
=yes
33838 wx_cv_version_script
=no
33841 if test $wx_cv_version_script = yes
33843 echo "struct B { virtual ~B() { } }; \
33844 struct D : public B { }; \
33845 void F() { D d; }" > conftest.cpp
33848 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33849 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33851 (eval $ac_try) 2>&5
33853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33854 (exit $ac_status); }; } &&
33856 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33857 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
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); }; }
33865 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33866 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33868 (eval $ac_try) 2>&5
33870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33871 (exit $ac_status); }; }
33873 wx_cv_version_script
=yes
33875 wx_cv_version_script
=no
33880 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33881 rm -f conftest1.output conftest2.output conftest3.output
33884 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33885 echo "${ECHO_T}$wx_cv_version_script" >&6
33887 if test $wx_cv_version_script = yes ; then
33888 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33895 *-*-linux* | *-*-gnu* )
33896 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33897 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33901 if test "$GCC" = yes ; then
33902 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33904 saveLdflags
="$LDFLAGS"
33905 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33906 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33907 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33908 cat >conftest.
$ac_ext <<_ACEOF
33911 cat confdefs.h
>>conftest.
$ac_ext
33912 cat >>conftest.
$ac_ext <<_ACEOF
33913 /* end confdefs.h. */
33923 rm -f conftest.
$ac_objext conftest
$ac_exeext
33924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33925 (eval $ac_link) 2>conftest.er1
33927 grep -v '^ *+' conftest.er1
>conftest.err
33929 cat conftest.err
>&5
33930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33931 (exit $ac_status); } &&
33932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33934 (eval $ac_try) 2>&5
33936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33937 (exit $ac_status); }; } &&
33938 { ac_try
='test -s conftest$ac_exeext'
33939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33940 (eval $ac_try) 2>&5
33942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33943 (exit $ac_status); }; }; then
33945 echo "$as_me:$LINENO: result: yes" >&5
33946 echo "${ECHO_T}yes" >&6
33947 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33948 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33951 echo "$as_me: failed program was:" >&5
33952 sed 's/^/| /' conftest.
$ac_ext >&5
33955 echo "$as_me:$LINENO: result: no" >&5
33956 echo "${ECHO_T}no" >&6
33957 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33958 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33959 LDFLAGS
="$saveLdflags -Wl,-R,/"
33960 cat >conftest.
$ac_ext <<_ACEOF
33963 cat confdefs.h
>>conftest.
$ac_ext
33964 cat >>conftest.
$ac_ext <<_ACEOF
33965 /* end confdefs.h. */
33975 rm -f conftest.
$ac_objext conftest
$ac_exeext
33976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33977 (eval $ac_link) 2>conftest.er1
33979 grep -v '^ *+' conftest.er1
>conftest.err
33981 cat conftest.err
>&5
33982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33983 (exit $ac_status); } &&
33984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33986 (eval $ac_try) 2>&5
33988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33989 (exit $ac_status); }; } &&
33990 { ac_try
='test -s conftest$ac_exeext'
33991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33992 (eval $ac_try) 2>&5
33994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33995 (exit $ac_status); }; }; then
33997 echo "$as_me:$LINENO: result: yes" >&5
33998 echo "${ECHO_T}yes" >&6
33999 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
34000 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34003 echo "$as_me: failed program was:" >&5
34004 sed 's/^/| /' conftest.
$ac_ext >&5
34007 echo "$as_me:$LINENO: result: no" >&5
34008 echo "${ECHO_T}no" >&6
34011 rm -f conftest.err conftest.
$ac_objext \
34012 conftest
$ac_exeext conftest.
$ac_ext
34015 rm -f conftest.err conftest.
$ac_objext \
34016 conftest
$ac_exeext conftest.
$ac_ext
34017 LDFLAGS
="$saveLdflags"
34019 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34020 WXCONFIG_RPATH
="-R\$libdir"
34025 install_name_tool
=`which install_name_tool`
34026 if test "$install_name_tool" -a -x "$install_name_tool"; then
34027 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34028 cat <<EOF >change-install-names
34030 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34031 inst_cmd="install_name_tool "
34032 for i in \${libnames} ; do
34033 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34037 chmod +x change
-install-names
34041 *-*-cygwin* | *-*-mingw32* )
34042 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34046 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
34047 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34052 if test $wxUSE_RPATH = "no"; then
34053 SAMPLES_RPATH_FLAG
=''
34054 SAMPLES_RPATH_POSTLINK
=''
34062 config_linkage_component
="-static"
34069 lib_unicode_suffix
=
34071 if test "$wxUSE_UNICODE" = "yes"; then
34072 lib_unicode_suffix
=u
34073 WX_CHARTYPE
="unicode"
34078 WX_DEBUGTYPE
="release"
34080 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34082 WX_DEBUGTYPE
="debug"
34086 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34087 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34090 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34094 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34096 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34098 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34100 if test "$cross_compiling" = "yes"; then
34101 HOST_SUFFIX
="-$host_alias"
34102 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
34103 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
34106 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34107 if test "${TOOLKIT_DIR}" = "os2"; then
34108 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34110 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34115 if test "$wxUSE_COCOA" = 1; then
34119 ac_cpp
='$CPP $CPPFLAGS'
34120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34126 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34127 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34128 cat >conftest.
$ac_ext <<_ACEOF
34131 cat confdefs.h
>>conftest.
$ac_ext
34132 cat >>conftest.
$ac_ext <<_ACEOF
34133 /* end confdefs.h. */
34134 #include <AppKit/NSEvent.h>
34135 #include <CoreFoundation/CoreFoundation.h>
34145 rm -f conftest.
$ac_objext
34146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34147 (eval $ac_compile) 2>conftest.er1
34149 grep -v '^ *+' conftest.er1
>conftest.err
34151 cat conftest.err
>&5
34152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34153 (exit $ac_status); } &&
34154 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34156 (eval $ac_try) 2>&5
34158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34159 (exit $ac_status); }; } &&
34160 { ac_try
='test -s conftest.$ac_objext'
34161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34162 (eval $ac_try) 2>&5
34164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34165 (exit $ac_status); }; }; then
34166 echo "$as_me:$LINENO: result: no" >&5
34167 echo "${ECHO_T}no" >&6
34169 echo "$as_me: failed program was:" >&5
34170 sed 's/^/| /' conftest.
$ac_ext >&5
34172 echo "$as_me:$LINENO: result: yes" >&5
34173 echo "${ECHO_T}yes" >&6
34174 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34175 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34176 cat >conftest.
$ac_ext <<_ACEOF
34179 cat confdefs.h
>>conftest.
$ac_ext
34180 cat >>conftest.
$ac_ext <<_ACEOF
34181 /* end confdefs.h. */
34182 #define __Point__ 1
34183 #include <AppKit/NSEvent.h>
34184 #include <CoreFoundation/CoreFoundation.h>
34194 rm -f conftest.
$ac_objext
34195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34196 (eval $ac_compile) 2>conftest.er1
34198 grep -v '^ *+' conftest.er1
>conftest.err
34200 cat conftest.err
>&5
34201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34202 (exit $ac_status); } &&
34203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34205 (eval $ac_try) 2>&5
34207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34208 (exit $ac_status); }; } &&
34209 { ac_try
='test -s conftest.$ac_objext'
34210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34211 (eval $ac_try) 2>&5
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); }; }; then
34215 echo "$as_me:$LINENO: result: yes" >&5
34216 echo "${ECHO_T}yes" >&6
34217 cat >>confdefs.h
<<\_ACEOF
34218 #define __Point__ 1
34223 echo "$as_me: failed program was:" >&5
34224 sed 's/^/| /' conftest.
$ac_ext >&5
34226 { { echo "$as_me:$LINENO: error: no
34227 See \`config.log' for more details." >&5
34228 echo "$as_me: error: no
34229 See \`config.log' for more details." >&2;}
34230 { (exit 1); exit 1; }; }
34233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34238 ac_cpp
='$CPP $CPPFLAGS'
34239 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34240 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34241 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34245 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34246 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34247 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34249 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
34251 # Extract the first word of "Rez", so it can be a program name with args.
34252 set dummy Rez
; ac_word
=$2
34253 echo "$as_me:$LINENO: checking for $ac_word" >&5
34254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34255 if test "${ac_cv_prog_REZ+set}" = set; then
34256 echo $ECHO_N "(cached) $ECHO_C" >&6
34258 if test -n "$REZ"; then
34259 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
34261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34262 for as_dir
in $PATH
34265 test -z "$as_dir" && as_dir
=.
34266 for ac_exec_ext
in '' $ac_executable_extensions; do
34267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34268 ac_cv_prog_REZ
="Rez"
34269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34275 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
34278 REZ
=$ac_cv_prog_REZ
34279 if test -n "$REZ"; then
34280 echo "$as_me:$LINENO: result: $REZ" >&5
34281 echo "${ECHO_T}$REZ" >&6
34283 echo "$as_me:$LINENO: result: no" >&5
34284 echo "${ECHO_T}no" >&6
34287 # Extract the first word of "DeRez", so it can be a program name with args.
34288 set dummy DeRez
; ac_word
=$2
34289 echo "$as_me:$LINENO: checking for $ac_word" >&5
34290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34291 if test "${ac_cv_prog_DEREZ+set}" = set; then
34292 echo $ECHO_N "(cached) $ECHO_C" >&6
34294 if test -n "$DEREZ"; then
34295 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
34297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34298 for as_dir
in $PATH
34301 test -z "$as_dir" && as_dir
=.
34302 for ac_exec_ext
in '' $ac_executable_extensions; do
34303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34304 ac_cv_prog_DEREZ
="DeRez"
34305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34311 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
34314 DEREZ
=$ac_cv_prog_DEREZ
34315 if test -n "$DEREZ"; then
34316 echo "$as_me:$LINENO: result: $DEREZ" >&5
34317 echo "${ECHO_T}$DEREZ" >&6
34319 echo "$as_me:$LINENO: result: no" >&5
34320 echo "${ECHO_T}no" >&6
34323 # Extract the first word of "SetFile", so it can be a program name with args.
34324 set dummy SetFile
; ac_word
=$2
34325 echo "$as_me:$LINENO: checking for $ac_word" >&5
34326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34327 if test "${ac_cv_prog_SETFILE+set}" = set; then
34328 echo $ECHO_N "(cached) $ECHO_C" >&6
34330 if test -n "$SETFILE"; then
34331 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34334 for as_dir
in $PATH
34337 test -z "$as_dir" && as_dir
=.
34338 for ac_exec_ext
in '' $ac_executable_extensions; do
34339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34340 ac_cv_prog_SETFILE
="SetFile"
34341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34347 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34350 SETFILE
=$ac_cv_prog_SETFILE
34351 if test -n "$SETFILE"; then
34352 echo "$as_me:$LINENO: result: $SETFILE" >&5
34353 echo "${ECHO_T}$SETFILE" >&6
34355 echo "$as_me:$LINENO: result: no" >&5
34356 echo "${ECHO_T}no" >&6
34360 MACSETFILE
="\$(SETFILE)"
34362 if test "$wxUSE_MAC" = 1; then
34363 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34365 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
34367 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34368 RESCOMP
="echo -n \| $REZ"
34369 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34375 if test "$wxUSE_PM" = 1; then
34377 WXCONFIG_RESFLAGS
="-ep"
34379 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
34381 POSTLINK_COMMAND
="@true"
34388 echo "$as_me:$LINENO: checking for mode_t" >&5
34389 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34390 if test "${ac_cv_type_mode_t+set}" = set; then
34391 echo $ECHO_N "(cached) $ECHO_C" >&6
34393 cat >conftest.
$ac_ext <<_ACEOF
34396 cat confdefs.h
>>conftest.
$ac_ext
34397 cat >>conftest.
$ac_ext <<_ACEOF
34398 /* end confdefs.h. */
34399 $ac_includes_default
34405 if (sizeof (mode_t))
34411 rm -f conftest.
$ac_objext
34412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34413 (eval $ac_compile) 2>conftest.er1
34415 grep -v '^ *+' conftest.er1
>conftest.err
34417 cat conftest.err
>&5
34418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34419 (exit $ac_status); } &&
34420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34422 (eval $ac_try) 2>&5
34424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34425 (exit $ac_status); }; } &&
34426 { ac_try
='test -s conftest.$ac_objext'
34427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34428 (eval $ac_try) 2>&5
34430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34431 (exit $ac_status); }; }; then
34432 ac_cv_type_mode_t
=yes
34434 echo "$as_me: failed program was:" >&5
34435 sed 's/^/| /' conftest.
$ac_ext >&5
34437 ac_cv_type_mode_t
=no
34439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34441 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34442 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34443 if test $ac_cv_type_mode_t = yes; then
34447 cat >>confdefs.h
<<_ACEOF
34453 echo "$as_me:$LINENO: checking for off_t" >&5
34454 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34455 if test "${ac_cv_type_off_t+set}" = set; then
34456 echo $ECHO_N "(cached) $ECHO_C" >&6
34458 cat >conftest.
$ac_ext <<_ACEOF
34461 cat confdefs.h
>>conftest.
$ac_ext
34462 cat >>conftest.
$ac_ext <<_ACEOF
34463 /* end confdefs.h. */
34464 $ac_includes_default
34470 if (sizeof (off_t))
34476 rm -f conftest.
$ac_objext
34477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34478 (eval $ac_compile) 2>conftest.er1
34480 grep -v '^ *+' conftest.er1
>conftest.err
34482 cat conftest.err
>&5
34483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34484 (exit $ac_status); } &&
34485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34487 (eval $ac_try) 2>&5
34489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34490 (exit $ac_status); }; } &&
34491 { ac_try
='test -s conftest.$ac_objext'
34492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34493 (eval $ac_try) 2>&5
34495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34496 (exit $ac_status); }; }; then
34497 ac_cv_type_off_t
=yes
34499 echo "$as_me: failed program was:" >&5
34500 sed 's/^/| /' conftest.
$ac_ext >&5
34502 ac_cv_type_off_t
=no
34504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34506 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34507 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34508 if test $ac_cv_type_off_t = yes; then
34512 cat >>confdefs.h
<<_ACEOF
34518 echo "$as_me:$LINENO: checking for pid_t" >&5
34519 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34520 if test "${ac_cv_type_pid_t+set}" = set; then
34521 echo $ECHO_N "(cached) $ECHO_C" >&6
34523 cat >conftest.
$ac_ext <<_ACEOF
34526 cat confdefs.h
>>conftest.
$ac_ext
34527 cat >>conftest.
$ac_ext <<_ACEOF
34528 /* end confdefs.h. */
34529 $ac_includes_default
34535 if (sizeof (pid_t))
34541 rm -f conftest.
$ac_objext
34542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34543 (eval $ac_compile) 2>conftest.er1
34545 grep -v '^ *+' conftest.er1
>conftest.err
34547 cat conftest.err
>&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); } &&
34550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34552 (eval $ac_try) 2>&5
34554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34555 (exit $ac_status); }; } &&
34556 { ac_try
='test -s conftest.$ac_objext'
34557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34558 (eval $ac_try) 2>&5
34560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34561 (exit $ac_status); }; }; then
34562 ac_cv_type_pid_t
=yes
34564 echo "$as_me: failed program was:" >&5
34565 sed 's/^/| /' conftest.
$ac_ext >&5
34567 ac_cv_type_pid_t
=no
34569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34571 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34572 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34573 if test $ac_cv_type_pid_t = yes; then
34577 cat >>confdefs.h
<<_ACEOF
34583 echo "$as_me:$LINENO: checking for size_t" >&5
34584 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34585 if test "${ac_cv_type_size_t+set}" = set; then
34586 echo $ECHO_N "(cached) $ECHO_C" >&6
34588 cat >conftest.
$ac_ext <<_ACEOF
34591 cat confdefs.h
>>conftest.
$ac_ext
34592 cat >>conftest.
$ac_ext <<_ACEOF
34593 /* end confdefs.h. */
34594 $ac_includes_default
34600 if (sizeof (size_t))
34606 rm -f conftest.
$ac_objext
34607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34608 (eval $ac_compile) 2>conftest.er1
34610 grep -v '^ *+' conftest.er1
>conftest.err
34612 cat conftest.err
>&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); } &&
34615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34617 (eval $ac_try) 2>&5
34619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34620 (exit $ac_status); }; } &&
34621 { ac_try
='test -s conftest.$ac_objext'
34622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34623 (eval $ac_try) 2>&5
34625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34626 (exit $ac_status); }; }; then
34627 ac_cv_type_size_t
=yes
34629 echo "$as_me: failed program was:" >&5
34630 sed 's/^/| /' conftest.
$ac_ext >&5
34632 ac_cv_type_size_t
=no
34634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34636 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34637 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34638 if test $ac_cv_type_size_t = yes; then
34642 cat >>confdefs.h
<<_ACEOF
34643 #define size_t unsigned
34648 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34649 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34650 if test "${ac_cv_type_uid_t+set}" = set; then
34651 echo $ECHO_N "(cached) $ECHO_C" >&6
34653 cat >conftest.
$ac_ext <<_ACEOF
34656 cat confdefs.h
>>conftest.
$ac_ext
34657 cat >>conftest.
$ac_ext <<_ACEOF
34658 /* end confdefs.h. */
34659 #include <sys/types.h>
34662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34663 $EGREP "uid_t" >/dev
/null
2>&1; then
34664 ac_cv_type_uid_t
=yes
34666 ac_cv_type_uid_t
=no
34671 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34672 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34673 if test $ac_cv_type_uid_t = no
; then
34675 cat >>confdefs.h
<<\_ACEOF
34680 cat >>confdefs.h
<<\_ACEOF
34687 echo "$as_me:$LINENO: checking for ssize_t" >&5
34688 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34689 if test "${ac_cv_type_ssize_t+set}" = set; then
34690 echo $ECHO_N "(cached) $ECHO_C" >&6
34692 cat >conftest.
$ac_ext <<_ACEOF
34695 cat confdefs.h
>>conftest.
$ac_ext
34696 cat >>conftest.
$ac_ext <<_ACEOF
34697 /* end confdefs.h. */
34698 $ac_includes_default
34704 if (sizeof (ssize_t))
34710 rm -f conftest.
$ac_objext
34711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34712 (eval $ac_compile) 2>conftest.er1
34714 grep -v '^ *+' conftest.er1
>conftest.err
34716 cat conftest.err
>&5
34717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34718 (exit $ac_status); } &&
34719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34721 (eval $ac_try) 2>&5
34723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34724 (exit $ac_status); }; } &&
34725 { ac_try
='test -s conftest.$ac_objext'
34726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34727 (eval $ac_try) 2>&5
34729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34730 (exit $ac_status); }; }; then
34731 ac_cv_type_ssize_t
=yes
34733 echo "$as_me: failed program was:" >&5
34734 sed 's/^/| /' conftest.
$ac_ext >&5
34736 ac_cv_type_ssize_t
=no
34738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34740 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34741 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34742 if test $ac_cv_type_ssize_t = yes; then
34744 cat >>confdefs.h
<<_ACEOF
34745 #define HAVE_SSIZE_T 1
34753 ac_cpp
='$CXXCPP $CPPFLAGS'
34754 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34755 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34756 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34757 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34758 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34759 if test "${wx_cv_size_t_is_uint+set}" = set; then
34760 echo $ECHO_N "(cached) $ECHO_C" >&6
34763 cat >conftest.
$ac_ext <<_ACEOF
34766 cat confdefs.h
>>conftest.
$ac_ext
34767 cat >>conftest.
$ac_ext <<_ACEOF
34768 /* end confdefs.h. */
34769 #include <stddef.h>
34776 struct Foo { void foo(size_t); void foo(unsigned int); };
34784 rm -f conftest.
$ac_objext
34785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34786 (eval $ac_compile) 2>conftest.er1
34788 grep -v '^ *+' conftest.er1
>conftest.err
34790 cat conftest.err
>&5
34791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34792 (exit $ac_status); } &&
34793 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34795 (eval $ac_try) 2>&5
34797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34798 (exit $ac_status); }; } &&
34799 { ac_try
='test -s conftest.$ac_objext'
34800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34801 (eval $ac_try) 2>&5
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); }; }; then
34805 wx_cv_size_t_is_uint
=no
34807 echo "$as_me: failed program was:" >&5
34808 sed 's/^/| /' conftest.
$ac_ext >&5
34810 wx_cv_size_t_is_uint
=yes
34813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34817 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34818 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34820 if test "$wx_cv_size_t_is_uint" = "yes"; then
34821 cat >>confdefs.h
<<\_ACEOF
34822 #define wxSIZE_T_IS_UINT 1
34826 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34827 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34828 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34829 echo $ECHO_N "(cached) $ECHO_C" >&6
34831 cat >conftest.
$ac_ext <<_ACEOF
34834 cat confdefs.h
>>conftest.
$ac_ext
34835 cat >>conftest.
$ac_ext <<_ACEOF
34836 /* end confdefs.h. */
34837 #include <stddef.h>
34844 struct Foo { void foo(size_t); void foo(unsigned long); };
34852 rm -f conftest.
$ac_objext
34853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34854 (eval $ac_compile) 2>conftest.er1
34856 grep -v '^ *+' conftest.er1
>conftest.err
34858 cat conftest.err
>&5
34859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34860 (exit $ac_status); } &&
34861 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34863 (eval $ac_try) 2>&5
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); }; } &&
34867 { ac_try
='test -s conftest.$ac_objext'
34868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34869 (eval $ac_try) 2>&5
34871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34872 (exit $ac_status); }; }; then
34873 wx_cv_size_t_is_ulong
=no
34875 echo "$as_me: failed program was:" >&5
34876 sed 's/^/| /' conftest.
$ac_ext >&5
34878 wx_cv_size_t_is_ulong
=yes
34881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34884 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34885 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34887 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34888 cat >>confdefs.h
<<\_ACEOF
34889 #define wxSIZE_T_IS_ULONG 1
34896 ac_cpp
='$CPP $CPPFLAGS'
34897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34902 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34903 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34904 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34905 echo $ECHO_N "(cached) $ECHO_C" >&6
34908 cat >conftest.
$ac_ext <<_ACEOF
34911 cat confdefs.h
>>conftest.
$ac_ext
34912 cat >>conftest.
$ac_ext <<_ACEOF
34913 /* end confdefs.h. */
34927 rm -f conftest.
$ac_objext
34928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34929 (eval $ac_compile) 2>conftest.er1
34931 grep -v '^ *+' conftest.er1
>conftest.err
34933 cat conftest.err
>&5
34934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935 (exit $ac_status); } &&
34936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34938 (eval $ac_try) 2>&5
34940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34941 (exit $ac_status); }; } &&
34942 { ac_try
='test -s conftest.$ac_objext'
34943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34944 (eval $ac_try) 2>&5
34946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34947 (exit $ac_status); }; }; then
34949 wx_cv_struct_pw_gecos
=yes
34952 echo "$as_me: failed program was:" >&5
34953 sed 's/^/| /' conftest.
$ac_ext >&5
34956 wx_cv_struct_pw_gecos
=no
34960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34964 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34965 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34967 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34968 cat >>confdefs.h
<<\_ACEOF
34969 #define HAVE_PW_GECOS 1
34975 if test "$wxUSE_WCHAR_T" = "yes"; then
34976 cat >>confdefs.h
<<\_ACEOF
34977 #define wxUSE_WCHAR_T 1
34984 for ac_func
in wcslen
34986 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34987 echo "$as_me:$LINENO: checking for $ac_func" >&5
34988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34989 if eval "test \"\${$as_ac_var+set}\" = set"; then
34990 echo $ECHO_N "(cached) $ECHO_C" >&6
34992 cat >conftest.
$ac_ext <<_ACEOF
34995 cat confdefs.h
>>conftest.
$ac_ext
34996 cat >>conftest.
$ac_ext <<_ACEOF
34997 /* end confdefs.h. */
34998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35000 #define $ac_func innocuous_$ac_func
35002 /* System header to define __stub macros and hopefully few prototypes,
35003 which can conflict with char $ac_func (); below.
35004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35005 <limits.h> exists even on freestanding compilers. */
35008 # include <limits.h>
35010 # include <assert.h>
35015 /* Override any gcc2 internal prototype to avoid an error. */
35020 /* We use char because int might match the return type of a gcc2
35021 builtin and then its argument prototype would still apply. */
35023 /* The GNU C library defines this for functions which it implements
35024 to always fail with ENOSYS. Some functions are actually named
35025 something starting with __ and the normal name is an alias. */
35026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35029 char (*f) () = $ac_func;
35038 return f != $ac_func;
35043 rm -f conftest.
$ac_objext conftest
$ac_exeext
35044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35045 (eval $ac_link) 2>conftest.er1
35047 grep -v '^ *+' conftest.er1
>conftest.err
35049 cat conftest.err
>&5
35050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35051 (exit $ac_status); } &&
35052 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35054 (eval $ac_try) 2>&5
35056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35057 (exit $ac_status); }; } &&
35058 { ac_try
='test -s conftest$ac_exeext'
35059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35060 (eval $ac_try) 2>&5
35062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35063 (exit $ac_status); }; }; then
35064 eval "$as_ac_var=yes"
35066 echo "$as_me: failed program was:" >&5
35067 sed 's/^/| /' conftest.
$ac_ext >&5
35069 eval "$as_ac_var=no"
35071 rm -f conftest.err conftest.
$ac_objext \
35072 conftest
$ac_exeext conftest.
$ac_ext
35074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35076 if test `eval echo '${'$as_ac_var'}'` = yes; then
35077 cat >>confdefs.h
<<_ACEOF
35078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35085 if test "$WCSLEN_FOUND" = 0; then
35086 if test "$TOOLKIT" = "MSW"; then
35087 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35088 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35089 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35090 echo $ECHO_N "(cached) $ECHO_C" >&6
35092 ac_check_lib_save_LIBS
=$LIBS
35093 LIBS
="-lmsvcrt $LIBS"
35094 cat >conftest.
$ac_ext <<_ACEOF
35097 cat confdefs.h
>>conftest.
$ac_ext
35098 cat >>conftest.
$ac_ext <<_ACEOF
35099 /* end confdefs.h. */
35101 /* Override any gcc2 internal prototype to avoid an error. */
35105 /* We use char because int might match the return type of a gcc2
35106 builtin and then its argument prototype would still apply. */
35116 rm -f conftest.
$ac_objext conftest
$ac_exeext
35117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35118 (eval $ac_link) 2>conftest.er1
35120 grep -v '^ *+' conftest.er1
>conftest.err
35122 cat conftest.err
>&5
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); } &&
35125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35127 (eval $ac_try) 2>&5
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); }; } &&
35131 { ac_try
='test -s conftest$ac_exeext'
35132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35133 (eval $ac_try) 2>&5
35135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35136 (exit $ac_status); }; }; then
35137 ac_cv_lib_msvcrt_wcslen
=yes
35139 echo "$as_me: failed program was:" >&5
35140 sed 's/^/| /' conftest.
$ac_ext >&5
35142 ac_cv_lib_msvcrt_wcslen
=no
35144 rm -f conftest.err conftest.
$ac_objext \
35145 conftest
$ac_exeext conftest.
$ac_ext
35146 LIBS
=$ac_check_lib_save_LIBS
35148 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35149 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35150 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35155 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35156 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35157 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35158 echo $ECHO_N "(cached) $ECHO_C" >&6
35160 ac_check_lib_save_LIBS
=$LIBS
35162 cat >conftest.
$ac_ext <<_ACEOF
35165 cat confdefs.h
>>conftest.
$ac_ext
35166 cat >>conftest.
$ac_ext <<_ACEOF
35167 /* end confdefs.h. */
35169 /* Override any gcc2 internal prototype to avoid an error. */
35173 /* We use char because int might match the return type of a gcc2
35174 builtin and then its argument prototype would still apply. */
35184 rm -f conftest.
$ac_objext conftest
$ac_exeext
35185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35186 (eval $ac_link) 2>conftest.er1
35188 grep -v '^ *+' conftest.er1
>conftest.err
35190 cat conftest.err
>&5
35191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35192 (exit $ac_status); } &&
35193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35195 (eval $ac_try) 2>&5
35197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35198 (exit $ac_status); }; } &&
35199 { ac_try
='test -s conftest$ac_exeext'
35200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35201 (eval $ac_try) 2>&5
35203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35204 (exit $ac_status); }; }; then
35205 ac_cv_lib_w_wcslen
=yes
35207 echo "$as_me: failed program was:" >&5
35208 sed 's/^/| /' conftest.
$ac_ext >&5
35210 ac_cv_lib_w_wcslen
=no
35212 rm -f conftest.err conftest.
$ac_objext \
35213 conftest
$ac_exeext conftest.
$ac_ext
35214 LIBS
=$ac_check_lib_save_LIBS
35216 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35217 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35218 if test $ac_cv_lib_w_wcslen = yes; then
35228 if test "$WCSLEN_FOUND" = 1; then
35229 cat >>confdefs.h
<<\_ACEOF
35230 #define HAVE_WCSLEN 1
35235 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35236 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35239 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35240 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35241 if test "${ac_cv_type_mbstate_t+set}" = set; then
35242 echo $ECHO_N "(cached) $ECHO_C" >&6
35244 cat >conftest.
$ac_ext <<_ACEOF
35247 cat confdefs.h
>>conftest.
$ac_ext
35248 cat >>conftest.
$ac_ext <<_ACEOF
35249 /* end confdefs.h. */
35255 if ((mbstate_t *) 0)
35257 if (sizeof (mbstate_t))
35263 rm -f conftest.
$ac_objext
35264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35265 (eval $ac_compile) 2>conftest.er1
35267 grep -v '^ *+' conftest.er1
>conftest.err
35269 cat conftest.err
>&5
35270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271 (exit $ac_status); } &&
35272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35274 (eval $ac_try) 2>&5
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); }; } &&
35278 { ac_try
='test -s conftest.$ac_objext'
35279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35280 (eval $ac_try) 2>&5
35282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35283 (exit $ac_status); }; }; then
35284 ac_cv_type_mbstate_t
=yes
35286 echo "$as_me: failed program was:" >&5
35287 sed 's/^/| /' conftest.
$ac_ext >&5
35289 ac_cv_type_mbstate_t
=no
35291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35293 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35294 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35295 if test $ac_cv_type_mbstate_t = yes; then
35297 cat >>confdefs.h
<<_ACEOF
35298 #define HAVE_MBSTATE_T 1
35302 for ac_func
in wcsrtombs
35304 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35305 echo "$as_me:$LINENO: checking for $ac_func" >&5
35306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35307 if eval "test \"\${$as_ac_var+set}\" = set"; then
35308 echo $ECHO_N "(cached) $ECHO_C" >&6
35310 cat >conftest.
$ac_ext <<_ACEOF
35313 cat confdefs.h
>>conftest.
$ac_ext
35314 cat >>conftest.
$ac_ext <<_ACEOF
35315 /* end confdefs.h. */
35316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35318 #define $ac_func innocuous_$ac_func
35320 /* System header to define __stub macros and hopefully few prototypes,
35321 which can conflict with char $ac_func (); below.
35322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35323 <limits.h> exists even on freestanding compilers. */
35326 # include <limits.h>
35328 # include <assert.h>
35333 /* Override any gcc2 internal prototype to avoid an error. */
35338 /* We use char because int might match the return type of a gcc2
35339 builtin and then its argument prototype would still apply. */
35341 /* The GNU C library defines this for functions which it implements
35342 to always fail with ENOSYS. Some functions are actually named
35343 something starting with __ and the normal name is an alias. */
35344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35347 char (*f) () = $ac_func;
35356 return f != $ac_func;
35361 rm -f conftest.
$ac_objext conftest
$ac_exeext
35362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35363 (eval $ac_link) 2>conftest.er1
35365 grep -v '^ *+' conftest.er1
>conftest.err
35367 cat conftest.err
>&5
35368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369 (exit $ac_status); } &&
35370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
35376 { ac_try
='test -s conftest$ac_exeext'
35377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35378 (eval $ac_try) 2>&5
35380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35381 (exit $ac_status); }; }; then
35382 eval "$as_ac_var=yes"
35384 echo "$as_me: failed program was:" >&5
35385 sed 's/^/| /' conftest.
$ac_ext >&5
35387 eval "$as_ac_var=no"
35389 rm -f conftest.err conftest.
$ac_objext \
35390 conftest
$ac_exeext conftest.
$ac_ext
35392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35394 if test `eval echo '${'$as_ac_var'}'` = yes; then
35395 cat >>confdefs.h
<<_ACEOF
35396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35405 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35406 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35411 for ac_func
in snprintf vsnprintf
35413 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35414 echo "$as_me:$LINENO: checking for $ac_func" >&5
35415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35416 if eval "test \"\${$as_ac_var+set}\" = set"; then
35417 echo $ECHO_N "(cached) $ECHO_C" >&6
35419 cat >conftest.
$ac_ext <<_ACEOF
35422 cat confdefs.h
>>conftest.
$ac_ext
35423 cat >>conftest.
$ac_ext <<_ACEOF
35424 /* end confdefs.h. */
35425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35427 #define $ac_func innocuous_$ac_func
35429 /* System header to define __stub macros and hopefully few prototypes,
35430 which can conflict with char $ac_func (); below.
35431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35432 <limits.h> exists even on freestanding compilers. */
35435 # include <limits.h>
35437 # include <assert.h>
35442 /* Override any gcc2 internal prototype to avoid an error. */
35447 /* We use char because int might match the return type of a gcc2
35448 builtin and then its argument prototype would still apply. */
35450 /* The GNU C library defines this for functions which it implements
35451 to always fail with ENOSYS. Some functions are actually named
35452 something starting with __ and the normal name is an alias. */
35453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35456 char (*f) () = $ac_func;
35465 return f != $ac_func;
35470 rm -f conftest.
$ac_objext conftest
$ac_exeext
35471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35472 (eval $ac_link) 2>conftest.er1
35474 grep -v '^ *+' conftest.er1
>conftest.err
35476 cat conftest.err
>&5
35477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35478 (exit $ac_status); } &&
35479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35481 (eval $ac_try) 2>&5
35483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35484 (exit $ac_status); }; } &&
35485 { ac_try
='test -s conftest$ac_exeext'
35486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35487 (eval $ac_try) 2>&5
35489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35490 (exit $ac_status); }; }; then
35491 eval "$as_ac_var=yes"
35493 echo "$as_me: failed program was:" >&5
35494 sed 's/^/| /' conftest.
$ac_ext >&5
35496 eval "$as_ac_var=no"
35498 rm -f conftest.err conftest.
$ac_objext \
35499 conftest
$ac_exeext conftest.
$ac_ext
35501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35503 if test `eval echo '${'$as_ac_var'}'` = yes; then
35504 cat >>confdefs.h
<<_ACEOF
35505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35512 if test "$ac_cv_func_vsnprintf" = "yes"; then
35513 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35514 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35515 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35516 echo $ECHO_N "(cached) $ECHO_C" >&6
35519 cat >conftest.
$ac_ext <<_ACEOF
35522 cat confdefs.h
>>conftest.
$ac_ext
35523 cat >>conftest.
$ac_ext <<_ACEOF
35524 /* end confdefs.h. */
35527 #include <stdarg.h>
35529 #if __MSL__ >= 0x6000
35531 using namespace std;
35541 vsnprintf(buf, 10u, "%s", ap);
35547 rm -f conftest.
$ac_objext
35548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35549 (eval $ac_compile) 2>conftest.er1
35551 grep -v '^ *+' conftest.er1
>conftest.err
35553 cat conftest.err
>&5
35554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35555 (exit $ac_status); } &&
35556 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35558 (eval $ac_try) 2>&5
35560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35561 (exit $ac_status); }; } &&
35562 { ac_try
='test -s conftest.$ac_objext'
35563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35564 (eval $ac_try) 2>&5
35566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35567 (exit $ac_status); }; }; then
35568 wx_cv_func_vsnprintf_decl
=yes
35570 echo "$as_me: failed program was:" >&5
35571 sed 's/^/| /' conftest.
$ac_ext >&5
35573 wx_cv_func_vsnprintf_decl
=no
35576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35580 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35581 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35583 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35584 cat >>confdefs.h
<<\_ACEOF
35585 #define HAVE_VSNPRINTF_DECL 1
35589 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35590 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35591 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35592 echo $ECHO_N "(cached) $ECHO_C" >&6
35595 cat >conftest.
$ac_ext <<_ACEOF
35598 cat confdefs.h
>>conftest.
$ac_ext
35599 cat >>conftest.
$ac_ext <<_ACEOF
35600 /* end confdefs.h. */
35603 #include <stdarg.h>
35605 #if __MSL__ >= 0x6000
35607 using namespace std;
35617 const char *fmt = "%s";
35618 vsnprintf(buf, 10u, fmt, ap);
35624 rm -f conftest.
$ac_objext
35625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35626 (eval $ac_compile) 2>conftest.er1
35628 grep -v '^ *+' conftest.er1
>conftest.err
35630 cat conftest.err
>&5
35631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35632 (exit $ac_status); } &&
35633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35635 (eval $ac_try) 2>&5
35637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35638 (exit $ac_status); }; } &&
35639 { ac_try
='test -s conftest.$ac_objext'
35640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35641 (eval $ac_try) 2>&5
35643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644 (exit $ac_status); }; }; then
35645 wx_cv_func_broken_vsnprintf_decl
=no
35647 echo "$as_me: failed program was:" >&5
35648 sed 's/^/| /' conftest.
$ac_ext >&5
35650 wx_cv_func_broken_vsnprintf_decl
=yes
35653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35657 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35658 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35660 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35661 cat >>confdefs.h
<<\_ACEOF
35662 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35669 if test "$ac_cv_func_snprintf" = "yes"; then
35670 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35671 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35672 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35673 echo $ECHO_N "(cached) $ECHO_C" >&6
35676 cat >conftest.
$ac_ext <<_ACEOF
35679 cat confdefs.h
>>conftest.
$ac_ext
35680 cat >>conftest.
$ac_ext <<_ACEOF
35681 /* end confdefs.h. */
35684 #include <stdarg.h>
35686 #if __MSL__ >= 0x6000
35688 using namespace std;
35697 snprintf(buf, 10u, "%s", "wx");
35703 rm -f conftest.
$ac_objext
35704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35705 (eval $ac_compile) 2>conftest.er1
35707 grep -v '^ *+' conftest.er1
>conftest.err
35709 cat conftest.err
>&5
35710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35711 (exit $ac_status); } &&
35712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35714 (eval $ac_try) 2>&5
35716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35717 (exit $ac_status); }; } &&
35718 { ac_try
='test -s conftest.$ac_objext'
35719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35720 (eval $ac_try) 2>&5
35722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35723 (exit $ac_status); }; }; then
35724 wx_cv_func_snprintf_decl
=yes
35726 echo "$as_me: failed program was:" >&5
35727 sed 's/^/| /' conftest.
$ac_ext >&5
35729 wx_cv_func_snprintf_decl
=no
35732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35736 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35737 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35739 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35740 cat >>confdefs.h
<<\_ACEOF
35741 #define HAVE_SNPRINTF_DECL 1
35745 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35746 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35747 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35748 echo $ECHO_N "(cached) $ECHO_C" >&6
35751 cat >conftest.
$ac_ext <<_ACEOF
35754 cat confdefs.h
>>conftest.
$ac_ext
35755 cat >>conftest.
$ac_ext <<_ACEOF
35756 /* end confdefs.h. */
35759 #include <stdarg.h>
35761 #if __MSL__ >= 0x6000
35763 using namespace std;
35772 const char *fmt = "%s";
35773 snprintf(buf, 10u, fmt, "wx");
35779 rm -f conftest.
$ac_objext
35780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35781 (eval $ac_compile) 2>conftest.er1
35783 grep -v '^ *+' conftest.er1
>conftest.err
35785 cat conftest.err
>&5
35786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35787 (exit $ac_status); } &&
35788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35790 (eval $ac_try) 2>&5
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); }; } &&
35794 { ac_try
='test -s conftest.$ac_objext'
35795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35796 (eval $ac_try) 2>&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); }; }; then
35800 wx_cv_func_broken_snprintf_decl
=no
35802 echo "$as_me: failed program was:" >&5
35803 sed 's/^/| /' conftest.
$ac_ext >&5
35805 wx_cv_func_broken_snprintf_decl
=yes
35808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35812 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35813 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35815 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35816 cat >>confdefs.h
<<\_ACEOF
35817 #define HAVE_BROKEN_SNPRINTF_DECL 1
35823 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35825 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35826 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35827 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35828 echo $ECHO_N "(cached) $ECHO_C" >&6
35831 if test "$cross_compiling" = yes; then
35833 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35834 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35835 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35836 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35837 wx_cv_func_snprintf_pos_params
=no
35841 cat >conftest.
$ac_ext <<_ACEOF
35844 cat confdefs.h
>>conftest.
$ac_ext
35845 cat >>conftest.
$ac_ext <<_ACEOF
35846 /* end confdefs.h. */
35853 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35854 if (strcmp ("2 3 1", buffer) == 0)
35860 rm -f conftest
$ac_exeext
35861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35862 (eval $ac_link) 2>&5
35864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35867 (eval $ac_try) 2>&5
35869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35870 (exit $ac_status); }; }; then
35871 wx_cv_func_snprintf_pos_params
=no
35873 echo "$as_me: program exited with status $ac_status" >&5
35874 echo "$as_me: failed program was:" >&5
35875 sed 's/^/| /' conftest.
$ac_ext >&5
35877 ( exit $ac_status )
35878 wx_cv_func_snprintf_pos_params
=yes
35880 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35885 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35886 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35888 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35889 cat >>confdefs.h
<<\_ACEOF
35890 #define HAVE_UNIX98_PRINTF 1
35897 if test "$wxUSE_UNICODE" = yes; then
35900 for ac_func
in swprintf
35902 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35903 echo "$as_me:$LINENO: checking for $ac_func" >&5
35904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35905 if eval "test \"\${$as_ac_var+set}\" = set"; then
35906 echo $ECHO_N "(cached) $ECHO_C" >&6
35908 cat >conftest.
$ac_ext <<_ACEOF
35911 cat confdefs.h
>>conftest.
$ac_ext
35912 cat >>conftest.
$ac_ext <<_ACEOF
35913 /* end confdefs.h. */
35914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35916 #define $ac_func innocuous_$ac_func
35918 /* System header to define __stub macros and hopefully few prototypes,
35919 which can conflict with char $ac_func (); below.
35920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35921 <limits.h> exists even on freestanding compilers. */
35924 # include <limits.h>
35926 # include <assert.h>
35931 /* Override any gcc2 internal prototype to avoid an error. */
35936 /* We use char because int might match the return type of a gcc2
35937 builtin and then its argument prototype would still apply. */
35939 /* The GNU C library defines this for functions which it implements
35940 to always fail with ENOSYS. Some functions are actually named
35941 something starting with __ and the normal name is an alias. */
35942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35945 char (*f) () = $ac_func;
35954 return f != $ac_func;
35959 rm -f conftest.
$ac_objext conftest
$ac_exeext
35960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35961 (eval $ac_link) 2>conftest.er1
35963 grep -v '^ *+' conftest.er1
>conftest.err
35965 cat conftest.err
>&5
35966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35967 (exit $ac_status); } &&
35968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35970 (eval $ac_try) 2>&5
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); }; } &&
35974 { ac_try
='test -s conftest$ac_exeext'
35975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35976 (eval $ac_try) 2>&5
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); }; }; then
35980 eval "$as_ac_var=yes"
35982 echo "$as_me: failed program was:" >&5
35983 sed 's/^/| /' conftest.
$ac_ext >&5
35985 eval "$as_ac_var=no"
35987 rm -f conftest.err conftest.
$ac_objext \
35988 conftest
$ac_exeext conftest.
$ac_ext
35990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35992 if test `eval echo '${'$as_ac_var'}'` = yes; then
35993 cat >>confdefs.h
<<_ACEOF
35994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36001 if test "$ac_cv_func_swprintf" = "yes"; then
36002 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36003 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
36004 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36005 echo $ECHO_N "(cached) $ECHO_C" >&6
36008 cat >conftest.
$ac_ext <<_ACEOF
36011 cat confdefs.h
>>conftest.
$ac_ext
36012 cat >>conftest.
$ac_ext <<_ACEOF
36013 /* end confdefs.h. */
36016 #include <stdarg.h>
36024 const wchar_t *fmt = L"test";
36025 swprintf(buf, 10u, fmt);
36031 rm -f conftest.
$ac_objext
36032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36033 (eval $ac_compile) 2>conftest.er1
36035 grep -v '^ *+' conftest.er1
>conftest.err
36037 cat conftest.err
>&5
36038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36039 (exit $ac_status); } &&
36040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36042 (eval $ac_try) 2>&5
36044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36045 (exit $ac_status); }; } &&
36046 { ac_try
='test -s conftest.$ac_objext'
36047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36048 (eval $ac_try) 2>&5
36050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36051 (exit $ac_status); }; }; then
36052 wx_cv_func_broken_swprintf_decl
=no
36054 echo "$as_me: failed program was:" >&5
36055 sed 's/^/| /' conftest.
$ac_ext >&5
36057 wx_cv_func_broken_swprintf_decl
=yes
36060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36064 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36065 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36067 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36068 cat >>confdefs.h
<<\_ACEOF
36069 #define HAVE_BROKEN_SWPRINTF_DECL 1
36075 wchar_headers
="#include <stdio.h>
36076 #include <wchar.h>"
36080 for ac_header
in widec.h
36082 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36084 echo "$as_me:$LINENO: checking for $ac_header" >&5
36085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36087 echo $ECHO_N "(cached) $ECHO_C" >&6
36089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36092 # Is the header compilable?
36093 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36094 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36095 cat >conftest.
$ac_ext <<_ACEOF
36098 cat confdefs.h
>>conftest.
$ac_ext
36099 cat >>conftest.
$ac_ext <<_ACEOF
36100 /* end confdefs.h. */
36101 $ac_includes_default
36102 #include <$ac_header>
36104 rm -f conftest.
$ac_objext
36105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36106 (eval $ac_compile) 2>conftest.er1
36108 grep -v '^ *+' conftest.er1
>conftest.err
36110 cat conftest.err
>&5
36111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36112 (exit $ac_status); } &&
36113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36115 (eval $ac_try) 2>&5
36117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36118 (exit $ac_status); }; } &&
36119 { ac_try
='test -s conftest.$ac_objext'
36120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36121 (eval $ac_try) 2>&5
36123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36124 (exit $ac_status); }; }; then
36125 ac_header_compiler
=yes
36127 echo "$as_me: failed program was:" >&5
36128 sed 's/^/| /' conftest.
$ac_ext >&5
36130 ac_header_compiler
=no
36132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36134 echo "${ECHO_T}$ac_header_compiler" >&6
36136 # Is the header present?
36137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36139 cat >conftest.
$ac_ext <<_ACEOF
36142 cat confdefs.h
>>conftest.
$ac_ext
36143 cat >>conftest.
$ac_ext <<_ACEOF
36144 /* end confdefs.h. */
36145 #include <$ac_header>
36147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36148 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36150 grep -v '^ *+' conftest.er1
>conftest.err
36152 cat conftest.err
>&5
36153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36154 (exit $ac_status); } >/dev
/null
; then
36155 if test -s conftest.err
; then
36156 ac_cpp_err
=$ac_c_preproc_warn_flag
36157 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36164 if test -z "$ac_cpp_err"; then
36165 ac_header_preproc
=yes
36167 echo "$as_me: failed program was:" >&5
36168 sed 's/^/| /' conftest.
$ac_ext >&5
36170 ac_header_preproc
=no
36172 rm -f conftest.err conftest.
$ac_ext
36173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36174 echo "${ECHO_T}$ac_header_preproc" >&6
36176 # So? What about this header?
36177 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36183 ac_header_preproc
=yes
36186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36200 ## ----------------------------------------- ##
36201 ## Report this to wx-dev@lists.wxwidgets.org ##
36202 ## ----------------------------------------- ##
36205 sed "s/^/$as_me: WARNING: /" >&2
36208 echo "$as_me:$LINENO: checking for $ac_header" >&5
36209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36211 echo $ECHO_N "(cached) $ECHO_C" >&6
36213 eval "$as_ac_Header=\$ac_header_preproc"
36215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36220 cat >>confdefs.h
<<_ACEOF
36221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36228 if test "$ac_cv_header_widec_h" = "yes"; then
36229 wchar_headers
="$wchar_headers
36230 #include <widec.h>"
36235 for wx_func
in wputc wputchar putws fputws wprintf vswprintf
36237 echo "$as_me:$LINENO: checking for $wx_func" >&5
36238 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36239 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36240 echo $ECHO_N "(cached) $ECHO_C" >&6
36243 cat >conftest.
$ac_ext <<_ACEOF
36247 cat confdefs.h
>>conftest.
$ac_ext
36248 cat >>conftest.
$ac_ext <<_ACEOF
36249 /* end confdefs.h. */
36252 $ac_includes_default
36268 rm -f conftest.
$ac_objext conftest
$ac_exeext
36269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36270 (eval $ac_link) 2>conftest.er1
36272 grep -v '^ *+' conftest.er1
>conftest.err
36274 cat conftest.err
>&5
36275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36276 (exit $ac_status); } &&
36277 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36279 (eval $ac_try) 2>&5
36281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36282 (exit $ac_status); }; } &&
36283 { ac_try
='test -s conftest$ac_exeext'
36284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36285 (eval $ac_try) 2>&5
36287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288 (exit $ac_status); }; }; then
36289 eval wx_cv_func_
$wx_func=yes
36291 echo "$as_me: failed program was:" >&5
36292 sed 's/^/| /' conftest.
$ac_ext >&5
36294 eval wx_cv_func_
$wx_func=no
36296 rm -f conftest.err conftest.
$ac_objext \
36297 conftest
$ac_exeext conftest.
$ac_ext
36300 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36301 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36303 if eval test \
$wx_cv_func_$wx_func = yes
36305 cat >>confdefs.h
<<_ACEOF
36306 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36317 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36318 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36319 cat >conftest.
$ac_ext <<_ACEOF
36322 cat confdefs.h
>>conftest.
$ac_ext
36323 cat >>conftest.
$ac_ext <<_ACEOF
36324 /* end confdefs.h. */
36334 rm -f conftest.
$ac_objext
36335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36336 (eval $ac_compile) 2>conftest.er1
36338 grep -v '^ *+' conftest.er1
>conftest.err
36340 cat conftest.err
>&5
36341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36342 (exit $ac_status); } &&
36343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36345 (eval $ac_try) 2>&5
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); }; } &&
36349 { ac_try
='test -s conftest.$ac_objext'
36350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36351 (eval $ac_try) 2>&5
36353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36354 (exit $ac_status); }; }; then
36355 echo "$as_me:$LINENO: result: yes" >&5
36356 echo "${ECHO_T}yes" >&6
36357 cat >>confdefs.h
<<\_ACEOF
36358 #define HAVE__VSNWPRINTF 1
36362 echo "$as_me: failed program was:" >&5
36363 sed 's/^/| /' conftest.
$ac_ext >&5
36365 echo "$as_me:$LINENO: result: no" >&5
36366 echo "${ECHO_T}no" >&6
36368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
36371 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36373 for wx_func
in fnmatch
36375 echo "$as_me:$LINENO: checking for $wx_func" >&5
36376 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36377 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36378 echo $ECHO_N "(cached) $ECHO_C" >&6
36381 cat >conftest.
$ac_ext <<_ACEOF
36385 cat confdefs.h
>>conftest.
$ac_ext
36386 cat >>conftest.
$ac_ext <<_ACEOF
36387 /* end confdefs.h. */
36389 #include <fnmatch.h>
36390 $ac_includes_default
36406 rm -f conftest.
$ac_objext conftest
$ac_exeext
36407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36408 (eval $ac_link) 2>conftest.er1
36410 grep -v '^ *+' conftest.er1
>conftest.err
36412 cat conftest.err
>&5
36413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36414 (exit $ac_status); } &&
36415 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36417 (eval $ac_try) 2>&5
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); }; } &&
36421 { ac_try
='test -s conftest$ac_exeext'
36422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36423 (eval $ac_try) 2>&5
36425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36426 (exit $ac_status); }; }; then
36427 eval wx_cv_func_
$wx_func=yes
36429 echo "$as_me: failed program was:" >&5
36430 sed 's/^/| /' conftest.
$ac_ext >&5
36432 eval wx_cv_func_
$wx_func=no
36434 rm -f conftest.err conftest.
$ac_objext \
36435 conftest
$ac_exeext conftest.
$ac_ext
36438 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36439 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36441 if eval test \
$wx_cv_func_$wx_func = yes
36443 cat >>confdefs.h
<<_ACEOF
36444 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36456 if test "$wxUSE_FILE" = "yes"; then
36458 for wx_func
in fsync
36460 echo "$as_me:$LINENO: checking for $wx_func" >&5
36461 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36462 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36463 echo $ECHO_N "(cached) $ECHO_C" >&6
36466 cat >conftest.
$ac_ext <<_ACEOF
36470 cat confdefs.h
>>conftest.
$ac_ext
36471 cat >>conftest.
$ac_ext <<_ACEOF
36472 /* end confdefs.h. */
36475 $ac_includes_default
36491 rm -f conftest.
$ac_objext conftest
$ac_exeext
36492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36493 (eval $ac_link) 2>conftest.er1
36495 grep -v '^ *+' conftest.er1
>conftest.err
36497 cat conftest.err
>&5
36498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36499 (exit $ac_status); } &&
36500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36502 (eval $ac_try) 2>&5
36504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36505 (exit $ac_status); }; } &&
36506 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
36512 eval wx_cv_func_
$wx_func=yes
36514 echo "$as_me: failed program was:" >&5
36515 sed 's/^/| /' conftest.
$ac_ext >&5
36517 eval wx_cv_func_
$wx_func=no
36519 rm -f conftest.err conftest.
$ac_objext \
36520 conftest
$ac_exeext conftest.
$ac_ext
36523 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36524 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36526 if eval test \
$wx_cv_func_$wx_func = yes
36528 cat >>confdefs.h
<<_ACEOF
36529 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36542 for wx_func
in round
36544 echo "$as_me:$LINENO: checking for $wx_func" >&5
36545 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36546 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36547 echo $ECHO_N "(cached) $ECHO_C" >&6
36550 cat >conftest.
$ac_ext <<_ACEOF
36554 cat confdefs.h
>>conftest.
$ac_ext
36555 cat >>conftest.
$ac_ext <<_ACEOF
36556 /* end confdefs.h. */
36559 $ac_includes_default
36575 rm -f conftest.
$ac_objext conftest
$ac_exeext
36576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36577 (eval $ac_link) 2>conftest.er1
36579 grep -v '^ *+' conftest.er1
>conftest.err
36581 cat conftest.err
>&5
36582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36583 (exit $ac_status); } &&
36584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36586 (eval $ac_try) 2>&5
36588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36589 (exit $ac_status); }; } &&
36590 { ac_try
='test -s conftest$ac_exeext'
36591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36592 (eval $ac_try) 2>&5
36594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36595 (exit $ac_status); }; }; then
36596 eval wx_cv_func_
$wx_func=yes
36598 echo "$as_me: failed program was:" >&5
36599 sed 's/^/| /' conftest.
$ac_ext >&5
36601 eval wx_cv_func_
$wx_func=no
36603 rm -f conftest.err conftest.
$ac_objext \
36604 conftest
$ac_exeext conftest.
$ac_ext
36607 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36608 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36610 if eval test \
$wx_cv_func_$wx_func = yes
36612 cat >>confdefs.h
<<_ACEOF
36613 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36624 if test "$TOOLKIT" != "MSW"; then
36630 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36631 if test "${with_libiconv_prefix+set}" = set; then
36632 withval
="$with_libiconv_prefix"
36634 for dir
in `echo "$withval" | tr : ' '`; do
36635 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36636 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36641 echo "$as_me:$LINENO: checking for iconv" >&5
36642 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36643 if test "${am_cv_func_iconv+set}" = set; then
36644 echo $ECHO_N "(cached) $ECHO_C" >&6
36647 am_cv_func_iconv
="no, consider installing GNU libiconv"
36649 cat >conftest.
$ac_ext <<_ACEOF
36652 cat confdefs.h
>>conftest.
$ac_ext
36653 cat >>conftest.
$ac_ext <<_ACEOF
36654 /* end confdefs.h. */
36655 #include <stdlib.h>
36660 iconv_t cd = iconv_open("","");
36661 iconv(cd,NULL,NULL,NULL,NULL);
36667 rm -f conftest.
$ac_objext conftest
$ac_exeext
36668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36669 (eval $ac_link) 2>conftest.er1
36671 grep -v '^ *+' conftest.er1
>conftest.err
36673 cat conftest.err
>&5
36674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36675 (exit $ac_status); } &&
36676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36678 (eval $ac_try) 2>&5
36680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36681 (exit $ac_status); }; } &&
36682 { ac_try
='test -s conftest$ac_exeext'
36683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36684 (eval $ac_try) 2>&5
36686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687 (exit $ac_status); }; }; then
36688 am_cv_func_iconv
=yes
36690 echo "$as_me: failed program was:" >&5
36691 sed 's/^/| /' conftest.
$ac_ext >&5
36694 rm -f conftest.err conftest.
$ac_objext \
36695 conftest
$ac_exeext conftest.
$ac_ext
36696 if test "$am_cv_func_iconv" != yes; then
36697 am_save_LIBS
="$LIBS"
36698 LIBS
="$LIBS -liconv"
36699 cat >conftest.
$ac_ext <<_ACEOF
36702 cat confdefs.h
>>conftest.
$ac_ext
36703 cat >>conftest.
$ac_ext <<_ACEOF
36704 /* end confdefs.h. */
36705 #include <stdlib.h>
36710 iconv_t cd = iconv_open("","");
36711 iconv(cd,NULL,NULL,NULL,NULL);
36717 rm -f conftest.
$ac_objext conftest
$ac_exeext
36718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36719 (eval $ac_link) 2>conftest.er1
36721 grep -v '^ *+' conftest.er1
>conftest.err
36723 cat conftest.err
>&5
36724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36725 (exit $ac_status); } &&
36726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36728 (eval $ac_try) 2>&5
36730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36731 (exit $ac_status); }; } &&
36732 { ac_try
='test -s conftest$ac_exeext'
36733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36734 (eval $ac_try) 2>&5
36736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36737 (exit $ac_status); }; }; then
36738 am_cv_lib_iconv
=yes
36739 am_cv_func_iconv
=yes
36741 echo "$as_me: failed program was:" >&5
36742 sed 's/^/| /' conftest.
$ac_ext >&5
36745 rm -f conftest.err conftest.
$ac_objext \
36746 conftest
$ac_exeext conftest.
$ac_ext
36747 LIBS
="$am_save_LIBS"
36751 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36752 echo "${ECHO_T}$am_cv_func_iconv" >&6
36753 if test "$am_cv_func_iconv" = yes; then
36755 cat >>confdefs.h
<<\_ACEOF
36756 #define HAVE_ICONV 1
36759 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36760 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36761 if test "${wx_cv_func_iconv_const+set}" = set; then
36762 echo $ECHO_N "(cached) $ECHO_C" >&6
36764 cat >conftest.
$ac_ext <<_ACEOF
36767 cat confdefs.h
>>conftest.
$ac_ext
36768 cat >>conftest.
$ac_ext <<_ACEOF
36769 /* end confdefs.h. */
36771 #include <stdlib.h>
36777 #if defined(__STDC__) || defined(__cplusplus)
36778 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36791 rm -f conftest.
$ac_objext
36792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36793 (eval $ac_compile) 2>conftest.er1
36795 grep -v '^ *+' conftest.er1
>conftest.err
36797 cat conftest.err
>&5
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); } &&
36800 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36802 (eval $ac_try) 2>&5
36804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805 (exit $ac_status); }; } &&
36806 { ac_try
='test -s conftest.$ac_objext'
36807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36808 (eval $ac_try) 2>&5
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); }; }; then
36812 wx_cv_func_iconv_const
="no"
36814 echo "$as_me: failed program was:" >&5
36815 sed 's/^/| /' conftest.
$ac_ext >&5
36817 wx_cv_func_iconv_const
="yes"
36820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36823 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36824 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36827 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36828 iconv_const
="const"
36832 cat >>confdefs.h
<<_ACEOF
36833 #define ICONV_CONST $iconv_const
36838 if test "$am_cv_lib_iconv" = yes; then
36843 LIBS
="$LIBICONV $LIBS"
36845 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36847 for ac_func
in sigaction
36849 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36850 echo "$as_me:$LINENO: checking for $ac_func" >&5
36851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36852 if eval "test \"\${$as_ac_var+set}\" = set"; then
36853 echo $ECHO_N "(cached) $ECHO_C" >&6
36855 cat >conftest.
$ac_ext <<_ACEOF
36858 cat confdefs.h
>>conftest.
$ac_ext
36859 cat >>conftest.
$ac_ext <<_ACEOF
36860 /* end confdefs.h. */
36861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36863 #define $ac_func innocuous_$ac_func
36865 /* System header to define __stub macros and hopefully few prototypes,
36866 which can conflict with char $ac_func (); below.
36867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36868 <limits.h> exists even on freestanding compilers. */
36871 # include <limits.h>
36873 # include <assert.h>
36878 /* 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. */
36886 /* The GNU C library defines this for functions which it implements
36887 to always fail with ENOSYS. Some functions are actually named
36888 something starting with __ and the normal name is an alias. */
36889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36892 char (*f) () = $ac_func;
36901 return f != $ac_func;
36906 rm -f conftest.
$ac_objext conftest
$ac_exeext
36907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36908 (eval $ac_link) 2>conftest.er1
36910 grep -v '^ *+' conftest.er1
>conftest.err
36912 cat conftest.err
>&5
36913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36914 (exit $ac_status); } &&
36915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36917 (eval $ac_try) 2>&5
36919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36920 (exit $ac_status); }; } &&
36921 { ac_try
='test -s conftest$ac_exeext'
36922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36923 (eval $ac_try) 2>&5
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); }; }; then
36927 eval "$as_ac_var=yes"
36929 echo "$as_me: failed program was:" >&5
36930 sed 's/^/| /' conftest.
$ac_ext >&5
36932 eval "$as_ac_var=no"
36934 rm -f conftest.err conftest.
$ac_objext \
36935 conftest
$ac_exeext conftest.
$ac_ext
36937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36939 if test `eval echo '${'$as_ac_var'}'` = yes; then
36940 cat >>confdefs.h
<<_ACEOF
36941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36948 if test "$ac_cv_func_sigaction" = "no"; then
36949 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36950 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36951 wxUSE_ON_FATAL_EXCEPTION
=no
36954 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36955 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36956 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36957 if test "${wx_cv_type_sa_handler+set}" = set; then
36958 echo $ECHO_N "(cached) $ECHO_C" >&6
36962 ac_cpp
='$CXXCPP $CPPFLAGS'
36963 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36964 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36965 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36967 cat >conftest.
$ac_ext <<_ACEOF
36970 cat confdefs.h
>>conftest.
$ac_ext
36971 cat >>conftest.
$ac_ext <<_ACEOF
36972 /* end confdefs.h. */
36973 #include <signal.h>
36978 extern void testSigHandler(int);
36980 struct sigaction sa;
36981 sa.sa_handler = testSigHandler;
36987 rm -f conftest.
$ac_objext
36988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36989 (eval $ac_compile) 2>conftest.er1
36991 grep -v '^ *+' conftest.er1
>conftest.err
36993 cat conftest.err
>&5
36994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36995 (exit $ac_status); } &&
36996 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36998 (eval $ac_try) 2>&5
37000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37001 (exit $ac_status); }; } &&
37002 { ac_try
='test -s conftest.$ac_objext'
37003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37004 (eval $ac_try) 2>&5
37006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37007 (exit $ac_status); }; }; then
37009 wx_cv_type_sa_handler
=int
37012 echo "$as_me: failed program was:" >&5
37013 sed 's/^/| /' conftest.
$ac_ext >&5
37016 wx_cv_type_sa_handler
=void
37019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37021 ac_cpp
='$CPP $CPPFLAGS'
37022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37028 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37029 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
37031 cat >>confdefs.h
<<_ACEOF
37032 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37038 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37039 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37040 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
37041 if test "${wx_cv_func_backtrace+set}" = set; then
37042 echo $ECHO_N "(cached) $ECHO_C" >&6
37046 ac_cpp
='$CXXCPP $CPPFLAGS'
37047 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37048 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37049 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37051 cat >conftest.
$ac_ext <<_ACEOF
37054 cat confdefs.h
>>conftest.
$ac_ext
37055 cat >>conftest.
$ac_ext <<_ACEOF
37056 /* end confdefs.h. */
37057 #include <execinfo.h>
37065 backtrace(trace, 1);
37066 messages = backtrace_symbols(trace, 1);
37072 rm -f conftest.
$ac_objext
37073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37074 (eval $ac_compile) 2>conftest.er1
37076 grep -v '^ *+' conftest.er1
>conftest.err
37078 cat conftest.err
>&5
37079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37080 (exit $ac_status); } &&
37081 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37083 (eval $ac_try) 2>&5
37085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37086 (exit $ac_status); }; } &&
37087 { ac_try
='test -s conftest.$ac_objext'
37088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37089 (eval $ac_try) 2>&5
37091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37092 (exit $ac_status); }; }; then
37093 wx_cv_func_backtrace
=yes
37095 echo "$as_me: failed program was:" >&5
37096 sed 's/^/| /' conftest.
$ac_ext >&5
37098 wx_cv_func_backtrace
=no
37101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37103 ac_cpp
='$CPP $CPPFLAGS'
37104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37111 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37112 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37115 if test "$wx_cv_func_backtrace" = "no"; then
37116 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37117 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37118 wxUSE_STACKWALKER
=no
37120 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37121 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37122 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37123 echo $ECHO_N "(cached) $ECHO_C" >&6
37127 ac_cpp
='$CXXCPP $CPPFLAGS'
37128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37132 cat >conftest.
$ac_ext <<_ACEOF
37135 cat confdefs.h
>>conftest.
$ac_ext
37136 cat >>conftest.
$ac_ext <<_ACEOF
37137 /* end confdefs.h. */
37138 #include <cxxabi.h>
37144 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37150 rm -f conftest.
$ac_objext conftest
$ac_exeext
37151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37152 (eval $ac_link) 2>conftest.er1
37154 grep -v '^ *+' conftest.er1
>conftest.err
37156 cat conftest.err
>&5
37157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37158 (exit $ac_status); } &&
37159 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37161 (eval $ac_try) 2>&5
37163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37164 (exit $ac_status); }; } &&
37165 { ac_try
='test -s conftest$ac_exeext'
37166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37167 (eval $ac_try) 2>&5
37169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37170 (exit $ac_status); }; }; then
37171 wx_cv_func_cxa_demangle
=yes
37173 echo "$as_me: failed program was:" >&5
37174 sed 's/^/| /' conftest.
$ac_ext >&5
37176 wx_cv_func_cxa_demangle
=no
37179 rm -f conftest.err conftest.
$ac_objext \
37180 conftest
$ac_exeext conftest.
$ac_ext
37182 ac_cpp
='$CPP $CPPFLAGS'
37183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37190 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37191 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37193 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37194 cat >>confdefs.h
<<\_ACEOF
37195 #define HAVE_CXA_DEMANGLE 1
37202 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37203 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37204 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37205 wxUSE_STACKWALKER
=no
37211 for ac_func
in mkstemp mktemp
37213 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37214 echo "$as_me:$LINENO: checking for $ac_func" >&5
37215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37216 if eval "test \"\${$as_ac_var+set}\" = set"; then
37217 echo $ECHO_N "(cached) $ECHO_C" >&6
37219 cat >conftest.
$ac_ext <<_ACEOF
37222 cat confdefs.h
>>conftest.
$ac_ext
37223 cat >>conftest.
$ac_ext <<_ACEOF
37224 /* end confdefs.h. */
37225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37227 #define $ac_func innocuous_$ac_func
37229 /* System header to define __stub macros and hopefully few prototypes,
37230 which can conflict with char $ac_func (); below.
37231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37232 <limits.h> exists even on freestanding compilers. */
37235 # include <limits.h>
37237 # include <assert.h>
37242 /* Override any gcc2 internal prototype to avoid an error. */
37247 /* We use char because int might match the return type of a gcc2
37248 builtin and then its argument prototype would still apply. */
37250 /* The GNU C library defines this for functions which it implements
37251 to always fail with ENOSYS. Some functions are actually named
37252 something starting with __ and the normal name is an alias. */
37253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37256 char (*f) () = $ac_func;
37265 return f != $ac_func;
37270 rm -f conftest.
$ac_objext conftest
$ac_exeext
37271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37272 (eval $ac_link) 2>conftest.er1
37274 grep -v '^ *+' conftest.er1
>conftest.err
37276 cat conftest.err
>&5
37277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37278 (exit $ac_status); } &&
37279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37281 (eval $ac_try) 2>&5
37283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37284 (exit $ac_status); }; } &&
37285 { ac_try
='test -s conftest$ac_exeext'
37286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37287 (eval $ac_try) 2>&5
37289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37290 (exit $ac_status); }; }; then
37291 eval "$as_ac_var=yes"
37293 echo "$as_me: failed program was:" >&5
37294 sed 's/^/| /' conftest.
$ac_ext >&5
37296 eval "$as_ac_var=no"
37298 rm -f conftest.err conftest.
$ac_objext \
37299 conftest
$ac_exeext conftest.
$ac_ext
37301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37303 if test `eval echo '${'$as_ac_var'}'` = yes; then
37304 cat >>confdefs.h
<<_ACEOF
37305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37312 echo "$as_me:$LINENO: checking for statfs" >&5
37313 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37314 if test "${wx_cv_func_statfs+set}" = set; then
37315 echo $ECHO_N "(cached) $ECHO_C" >&6
37317 cat >conftest.
$ac_ext <<_ACEOF
37320 cat confdefs.h
>>conftest.
$ac_ext
37321 cat >>conftest.
$ac_ext <<_ACEOF
37322 /* end confdefs.h. */
37324 #if defined(__BSD__)
37325 #include <sys/param.h>
37326 #include <sys/mount.h>
37328 #include <sys/vfs.h>
37346 rm -f conftest.
$ac_objext
37347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37348 (eval $ac_compile) 2>conftest.er1
37350 grep -v '^ *+' conftest.er1
>conftest.err
37352 cat conftest.err
>&5
37353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37354 (exit $ac_status); } &&
37355 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37357 (eval $ac_try) 2>&5
37359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 (exit $ac_status); }; } &&
37361 { ac_try
='test -s conftest.$ac_objext'
37362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37363 (eval $ac_try) 2>&5
37365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37366 (exit $ac_status); }; }; then
37367 wx_cv_func_statfs
=yes
37369 echo "$as_me: failed program was:" >&5
37370 sed 's/^/| /' conftest.
$ac_ext >&5
37372 wx_cv_func_statfs
=no
37375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37378 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37379 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37381 if test "$wx_cv_func_statfs" = "yes"; then
37382 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37383 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37384 if test "${wx_cv_func_statfs_decl+set}" = set; then
37385 echo $ECHO_N "(cached) $ECHO_C" >&6
37388 ac_cpp
='$CXXCPP $CPPFLAGS'
37389 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37390 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37391 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37393 cat >conftest.
$ac_ext <<_ACEOF
37396 cat confdefs.h
>>conftest.
$ac_ext
37397 cat >>conftest.
$ac_ext <<_ACEOF
37398 /* end confdefs.h. */
37400 #if defined(__BSD__)
37401 #include <sys/param.h>
37402 #include <sys/mount.h>
37404 #include <sys/vfs.h>
37418 rm -f conftest.
$ac_objext
37419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37420 (eval $ac_compile) 2>conftest.er1
37422 grep -v '^ *+' conftest.er1
>conftest.err
37424 cat conftest.err
>&5
37425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37426 (exit $ac_status); } &&
37427 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37429 (eval $ac_try) 2>&5
37431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37432 (exit $ac_status); }; } &&
37433 { ac_try
='test -s conftest.$ac_objext'
37434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37435 (eval $ac_try) 2>&5
37437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37438 (exit $ac_status); }; }; then
37439 wx_cv_func_statfs_decl
=yes
37441 echo "$as_me: failed program was:" >&5
37442 sed 's/^/| /' conftest.
$ac_ext >&5
37444 wx_cv_func_statfs_decl
=no
37447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37449 ac_cpp
='$CPP $CPPFLAGS'
37450 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37451 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37452 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37456 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37457 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37459 if test "$wx_cv_func_statfs_decl" = "yes"; then
37460 cat >>confdefs.h
<<\_ACEOF
37461 #define HAVE_STATFS_DECL 1
37466 wx_cv_type_statvfs_t
="struct statfs"
37467 cat >>confdefs.h
<<\_ACEOF
37468 #define HAVE_STATFS 1
37472 echo "$as_me:$LINENO: checking for statvfs" >&5
37473 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37474 if test "${wx_cv_func_statvfs+set}" = set; then
37475 echo $ECHO_N "(cached) $ECHO_C" >&6
37477 cat >conftest.
$ac_ext <<_ACEOF
37480 cat confdefs.h
>>conftest.
$ac_ext
37481 cat >>conftest.
$ac_ext <<_ACEOF
37482 /* end confdefs.h. */
37484 #include <stddef.h>
37485 #include <sys/statvfs.h>
37491 statvfs("/", NULL);
37497 rm -f conftest.
$ac_objext
37498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37499 (eval $ac_compile) 2>conftest.er1
37501 grep -v '^ *+' conftest.er1
>conftest.err
37503 cat conftest.err
>&5
37504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37505 (exit $ac_status); } &&
37506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37508 (eval $ac_try) 2>&5
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); }; } &&
37512 { ac_try
='test -s conftest.$ac_objext'
37513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37514 (eval $ac_try) 2>&5
37516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37517 (exit $ac_status); }; }; then
37518 wx_cv_func_statvfs
=yes
37520 echo "$as_me: failed program was:" >&5
37521 sed 's/^/| /' conftest.
$ac_ext >&5
37523 wx_cv_func_statvfs
=no
37526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37529 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37530 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37532 if test "$wx_cv_func_statvfs" = "yes"; then
37533 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37534 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37535 if test "${wx_cv_type_statvfs_t+set}" = set; then
37536 echo $ECHO_N "(cached) $ECHO_C" >&6
37539 ac_cpp
='$CXXCPP $CPPFLAGS'
37540 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37541 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37542 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37544 cat >conftest.
$ac_ext <<_ACEOF
37547 cat confdefs.h
>>conftest.
$ac_ext
37548 cat >>conftest.
$ac_ext <<_ACEOF
37549 /* end confdefs.h. */
37551 #include <sys/statvfs.h>
37568 rm -f conftest.
$ac_objext
37569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37570 (eval $ac_compile) 2>conftest.er1
37572 grep -v '^ *+' conftest.er1
>conftest.err
37574 cat conftest.err
>&5
37575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37576 (exit $ac_status); } &&
37577 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37579 (eval $ac_try) 2>&5
37581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37582 (exit $ac_status); }; } &&
37583 { ac_try
='test -s conftest.$ac_objext'
37584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37585 (eval $ac_try) 2>&5
37587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37588 (exit $ac_status); }; }; then
37589 wx_cv_type_statvfs_t
=statvfs_t
37591 echo "$as_me: failed program was:" >&5
37592 sed 's/^/| /' conftest.
$ac_ext >&5
37595 cat >conftest.
$ac_ext <<_ACEOF
37598 cat confdefs.h
>>conftest.
$ac_ext
37599 cat >>conftest.
$ac_ext <<_ACEOF
37600 /* end confdefs.h. */
37602 #include <sys/statvfs.h>
37619 rm -f conftest.
$ac_objext
37620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37621 (eval $ac_compile) 2>conftest.er1
37623 grep -v '^ *+' conftest.er1
>conftest.err
37625 cat conftest.err
>&5
37626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); } &&
37628 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37630 (eval $ac_try) 2>&5
37632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37633 (exit $ac_status); }; } &&
37634 { ac_try
='test -s conftest.$ac_objext'
37635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37636 (eval $ac_try) 2>&5
37638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37639 (exit $ac_status); }; }; then
37640 wx_cv_type_statvfs_t
="struct statvfs"
37642 echo "$as_me: failed program was:" >&5
37643 sed 's/^/| /' conftest.
$ac_ext >&5
37645 wx_cv_type_statvfs_t
="unknown"
37648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37654 ac_cpp
='$CPP $CPPFLAGS'
37655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37661 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37662 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37664 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37665 cat >>confdefs.h
<<\_ACEOF
37666 #define HAVE_STATVFS 1
37671 wx_cv_type_statvfs_t
="unknown"
37675 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37676 cat >>confdefs.h
<<_ACEOF
37677 #define WX_STATFS_T $wx_cv_type_statvfs_t
37681 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37682 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37685 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37688 for ac_func
in fcntl flock
37690 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37691 echo "$as_me:$LINENO: checking for $ac_func" >&5
37692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37693 if eval "test \"\${$as_ac_var+set}\" = set"; then
37694 echo $ECHO_N "(cached) $ECHO_C" >&6
37696 cat >conftest.
$ac_ext <<_ACEOF
37699 cat confdefs.h
>>conftest.
$ac_ext
37700 cat >>conftest.
$ac_ext <<_ACEOF
37701 /* end confdefs.h. */
37702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37704 #define $ac_func innocuous_$ac_func
37706 /* System header to define __stub macros and hopefully few prototypes,
37707 which can conflict with char $ac_func (); below.
37708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37709 <limits.h> exists even on freestanding compilers. */
37712 # include <limits.h>
37714 # include <assert.h>
37719 /* Override any gcc2 internal prototype to avoid an error. */
37724 /* We use char because int might match the return type of a gcc2
37725 builtin and then its argument prototype would still apply. */
37727 /* The GNU C library defines this for functions which it implements
37728 to always fail with ENOSYS. Some functions are actually named
37729 something starting with __ and the normal name is an alias. */
37730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37733 char (*f) () = $ac_func;
37742 return f != $ac_func;
37747 rm -f conftest.
$ac_objext conftest
$ac_exeext
37748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37749 (eval $ac_link) 2>conftest.er1
37751 grep -v '^ *+' conftest.er1
>conftest.err
37753 cat conftest.err
>&5
37754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37755 (exit $ac_status); } &&
37756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37758 (eval $ac_try) 2>&5
37760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37761 (exit $ac_status); }; } &&
37762 { ac_try
='test -s conftest$ac_exeext'
37763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37764 (eval $ac_try) 2>&5
37766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37767 (exit $ac_status); }; }; then
37768 eval "$as_ac_var=yes"
37770 echo "$as_me: failed program was:" >&5
37771 sed 's/^/| /' conftest.
$ac_ext >&5
37773 eval "$as_ac_var=no"
37775 rm -f conftest.err conftest.
$ac_objext \
37776 conftest
$ac_exeext conftest.
$ac_ext
37778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37780 if test `eval echo '${'$as_ac_var'}'` = yes; then
37781 cat >>confdefs.h
<<_ACEOF
37782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37789 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37790 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37791 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37792 wxUSE_SNGLINST_CHECKER
=no
37797 for ac_func
in timegm
37799 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37800 echo "$as_me:$LINENO: checking for $ac_func" >&5
37801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37802 if eval "test \"\${$as_ac_var+set}\" = set"; then
37803 echo $ECHO_N "(cached) $ECHO_C" >&6
37805 cat >conftest.
$ac_ext <<_ACEOF
37808 cat confdefs.h
>>conftest.
$ac_ext
37809 cat >>conftest.
$ac_ext <<_ACEOF
37810 /* end confdefs.h. */
37811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37813 #define $ac_func innocuous_$ac_func
37815 /* System header to define __stub macros and hopefully few prototypes,
37816 which can conflict with char $ac_func (); below.
37817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37818 <limits.h> exists even on freestanding compilers. */
37821 # include <limits.h>
37823 # include <assert.h>
37828 /* Override any gcc2 internal prototype to avoid an error. */
37833 /* We use char because int might match the return type of a gcc2
37834 builtin and then its argument prototype would still apply. */
37836 /* The GNU C library defines this for functions which it implements
37837 to always fail with ENOSYS. Some functions are actually named
37838 something starting with __ and the normal name is an alias. */
37839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37842 char (*f) () = $ac_func;
37851 return f != $ac_func;
37856 rm -f conftest.
$ac_objext conftest
$ac_exeext
37857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37858 (eval $ac_link) 2>conftest.er1
37860 grep -v '^ *+' conftest.er1
>conftest.err
37862 cat conftest.err
>&5
37863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37864 (exit $ac_status); } &&
37865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37867 (eval $ac_try) 2>&5
37869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37870 (exit $ac_status); }; } &&
37871 { ac_try
='test -s conftest$ac_exeext'
37872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37873 (eval $ac_try) 2>&5
37875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37876 (exit $ac_status); }; }; then
37877 eval "$as_ac_var=yes"
37879 echo "$as_me: failed program was:" >&5
37880 sed 's/^/| /' conftest.
$ac_ext >&5
37882 eval "$as_ac_var=no"
37884 rm -f conftest.err conftest.
$ac_objext \
37885 conftest
$ac_exeext conftest.
$ac_ext
37887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37889 if test `eval echo '${'$as_ac_var'}'` = yes; then
37890 cat >>confdefs.h
<<_ACEOF
37891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37900 for ac_func
in putenv setenv
37902 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37903 echo "$as_me:$LINENO: checking for $ac_func" >&5
37904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37905 if eval "test \"\${$as_ac_var+set}\" = set"; then
37906 echo $ECHO_N "(cached) $ECHO_C" >&6
37908 cat >conftest.
$ac_ext <<_ACEOF
37911 cat confdefs.h
>>conftest.
$ac_ext
37912 cat >>conftest.
$ac_ext <<_ACEOF
37913 /* end confdefs.h. */
37914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37916 #define $ac_func innocuous_$ac_func
37918 /* System header to define __stub macros and hopefully few prototypes,
37919 which can conflict with char $ac_func (); below.
37920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37921 <limits.h> exists even on freestanding compilers. */
37924 # include <limits.h>
37926 # include <assert.h>
37931 /* Override any gcc2 internal prototype to avoid an error. */
37936 /* We use char because int might match the return type of a gcc2
37937 builtin and then its argument prototype would still apply. */
37939 /* The GNU C library defines this for functions which it implements
37940 to always fail with ENOSYS. Some functions are actually named
37941 something starting with __ and the normal name is an alias. */
37942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37945 char (*f) () = $ac_func;
37954 return f != $ac_func;
37959 rm -f conftest.
$ac_objext conftest
$ac_exeext
37960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37961 (eval $ac_link) 2>conftest.er1
37963 grep -v '^ *+' conftest.er1
>conftest.err
37965 cat conftest.err
>&5
37966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37967 (exit $ac_status); } &&
37968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37970 (eval $ac_try) 2>&5
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); }; } &&
37974 { ac_try
='test -s conftest$ac_exeext'
37975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37976 (eval $ac_try) 2>&5
37978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37979 (exit $ac_status); }; }; then
37980 eval "$as_ac_var=yes"
37982 echo "$as_me: failed program was:" >&5
37983 sed 's/^/| /' conftest.
$ac_ext >&5
37985 eval "$as_ac_var=no"
37987 rm -f conftest.err conftest.
$ac_objext \
37988 conftest
$ac_exeext conftest.
$ac_ext
37990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37992 if test `eval echo '${'$as_ac_var'}'` = yes; then
37993 cat >>confdefs.h
<<_ACEOF
37994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38001 HAVE_SOME_SLEEP_FUNC
=0
38002 if test "$USE_BEOS" = 1; then
38003 cat >>confdefs.h
<<\_ACEOF
38004 #define HAVE_SLEEP 1
38007 HAVE_SOME_SLEEP_FUNC
=1
38010 if test "$USE_DARWIN" = 1; then
38011 cat >>confdefs.h
<<\_ACEOF
38012 #define HAVE_USLEEP 1
38015 HAVE_SOME_SLEEP_FUNC
=1
38018 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38021 for ac_func
in nanosleep
38023 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38024 echo "$as_me:$LINENO: checking for $ac_func" >&5
38025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38026 if eval "test \"\${$as_ac_var+set}\" = set"; then
38027 echo $ECHO_N "(cached) $ECHO_C" >&6
38029 cat >conftest.
$ac_ext <<_ACEOF
38032 cat confdefs.h
>>conftest.
$ac_ext
38033 cat >>conftest.
$ac_ext <<_ACEOF
38034 /* end confdefs.h. */
38035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38037 #define $ac_func innocuous_$ac_func
38039 /* System header to define __stub macros and hopefully few prototypes,
38040 which can conflict with char $ac_func (); below.
38041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38042 <limits.h> exists even on freestanding compilers. */
38045 # include <limits.h>
38047 # include <assert.h>
38052 /* Override any gcc2 internal prototype to avoid an error. */
38057 /* We use char because int might match the return type of a gcc2
38058 builtin and then its argument prototype would still apply. */
38060 /* The GNU C library defines this for functions which it implements
38061 to always fail with ENOSYS. Some functions are actually named
38062 something starting with __ and the normal name is an alias. */
38063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38066 char (*f) () = $ac_func;
38075 return f != $ac_func;
38080 rm -f conftest.
$ac_objext conftest
$ac_exeext
38081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38082 (eval $ac_link) 2>conftest.er1
38084 grep -v '^ *+' conftest.er1
>conftest.err
38086 cat conftest.err
>&5
38087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38088 (exit $ac_status); } &&
38089 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38091 (eval $ac_try) 2>&5
38093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38094 (exit $ac_status); }; } &&
38095 { ac_try
='test -s conftest$ac_exeext'
38096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38097 (eval $ac_try) 2>&5
38099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38100 (exit $ac_status); }; }; then
38101 eval "$as_ac_var=yes"
38103 echo "$as_me: failed program was:" >&5
38104 sed 's/^/| /' conftest.
$ac_ext >&5
38106 eval "$as_ac_var=no"
38108 rm -f conftest.err conftest.
$ac_objext \
38109 conftest
$ac_exeext conftest.
$ac_ext
38111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38113 if test `eval echo '${'$as_ac_var'}'` = yes; then
38114 cat >>confdefs.h
<<_ACEOF
38115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38117 cat >>confdefs.h
<<\_ACEOF
38118 #define HAVE_NANOSLEEP 1
38123 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38124 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38125 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38126 echo $ECHO_N "(cached) $ECHO_C" >&6
38128 ac_check_lib_save_LIBS
=$LIBS
38129 LIBS
="-lposix4 $LIBS"
38130 cat >conftest.
$ac_ext <<_ACEOF
38133 cat confdefs.h
>>conftest.
$ac_ext
38134 cat >>conftest.
$ac_ext <<_ACEOF
38135 /* end confdefs.h. */
38137 /* Override any gcc2 internal prototype to avoid an error. */
38141 /* We use char because int might match the return type of a gcc2
38142 builtin and then its argument prototype would still apply. */
38152 rm -f conftest.
$ac_objext conftest
$ac_exeext
38153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38154 (eval $ac_link) 2>conftest.er1
38156 grep -v '^ *+' conftest.er1
>conftest.err
38158 cat conftest.err
>&5
38159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38160 (exit $ac_status); } &&
38161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38163 (eval $ac_try) 2>&5
38165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38166 (exit $ac_status); }; } &&
38167 { ac_try
='test -s conftest$ac_exeext'
38168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38169 (eval $ac_try) 2>&5
38171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38172 (exit $ac_status); }; }; then
38173 ac_cv_lib_posix4_nanosleep
=yes
38175 echo "$as_me: failed program was:" >&5
38176 sed 's/^/| /' conftest.
$ac_ext >&5
38178 ac_cv_lib_posix4_nanosleep
=no
38180 rm -f conftest.err conftest.
$ac_objext \
38181 conftest
$ac_exeext conftest.
$ac_ext
38182 LIBS
=$ac_check_lib_save_LIBS
38184 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38185 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38186 if test $ac_cv_lib_posix4_nanosleep = yes; then
38188 cat >>confdefs.h
<<\_ACEOF
38189 #define HAVE_NANOSLEEP 1
38192 POSIX4_LINK
=" -lposix4"
38197 for wx_func
in usleep
38199 echo "$as_me:$LINENO: checking for $wx_func" >&5
38200 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38201 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38202 echo $ECHO_N "(cached) $ECHO_C" >&6
38205 cat >conftest.
$ac_ext <<_ACEOF
38209 cat confdefs.h
>>conftest.
$ac_ext
38210 cat >>conftest.
$ac_ext <<_ACEOF
38211 /* end confdefs.h. */
38214 $ac_includes_default
38230 rm -f conftest.
$ac_objext conftest
$ac_exeext
38231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38232 (eval $ac_link) 2>conftest.er1
38234 grep -v '^ *+' conftest.er1
>conftest.err
38236 cat conftest.err
>&5
38237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38238 (exit $ac_status); } &&
38239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38241 (eval $ac_try) 2>&5
38243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38244 (exit $ac_status); }; } &&
38245 { ac_try
='test -s conftest$ac_exeext'
38246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38247 (eval $ac_try) 2>&5
38249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38250 (exit $ac_status); }; }; then
38251 eval wx_cv_func_
$wx_func=yes
38253 echo "$as_me: failed program was:" >&5
38254 sed 's/^/| /' conftest.
$ac_ext >&5
38256 eval wx_cv_func_
$wx_func=no
38258 rm -f conftest.err conftest.
$ac_objext \
38259 conftest
$ac_exeext conftest.
$ac_ext
38262 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38263 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38265 if eval test \
$wx_cv_func_$wx_func = yes
38267 cat >>confdefs.h
<<_ACEOF
38268 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38274 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38275 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38292 for wx_func
in uname
38294 echo "$as_me:$LINENO: checking for $wx_func" >&5
38295 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38296 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38297 echo $ECHO_N "(cached) $ECHO_C" >&6
38300 cat >conftest.
$ac_ext <<_ACEOF
38304 cat confdefs.h
>>conftest.
$ac_ext
38305 cat >>conftest.
$ac_ext <<_ACEOF
38306 /* end confdefs.h. */
38308 #include <sys/utsname.h>
38309 $ac_includes_default
38325 rm -f conftest.
$ac_objext conftest
$ac_exeext
38326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38327 (eval $ac_link) 2>conftest.er1
38329 grep -v '^ *+' conftest.er1
>conftest.err
38331 cat conftest.err
>&5
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); } &&
38334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38336 (eval $ac_try) 2>&5
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); }; } &&
38340 { ac_try
='test -s conftest$ac_exeext'
38341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38342 (eval $ac_try) 2>&5
38344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38345 (exit $ac_status); }; }; then
38346 eval wx_cv_func_
$wx_func=yes
38348 echo "$as_me: failed program was:" >&5
38349 sed 's/^/| /' conftest.
$ac_ext >&5
38351 eval wx_cv_func_
$wx_func=no
38353 rm -f conftest.err conftest.
$ac_objext \
38354 conftest
$ac_exeext conftest.
$ac_ext
38357 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38358 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38360 if eval test \
$wx_cv_func_$wx_func = yes
38362 cat >>confdefs.h
<<_ACEOF
38363 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38373 if test "$wx_cv_func_uname" != yes; then
38375 for wx_func
in gethostname
38377 echo "$as_me:$LINENO: checking for $wx_func" >&5
38378 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38379 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38380 echo $ECHO_N "(cached) $ECHO_C" >&6
38383 cat >conftest.
$ac_ext <<_ACEOF
38387 cat confdefs.h
>>conftest.
$ac_ext
38388 cat >>conftest.
$ac_ext <<_ACEOF
38389 /* end confdefs.h. */
38392 $ac_includes_default
38408 rm -f conftest.
$ac_objext conftest
$ac_exeext
38409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38410 (eval $ac_link) 2>conftest.er1
38412 grep -v '^ *+' conftest.er1
>conftest.err
38414 cat conftest.err
>&5
38415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38416 (exit $ac_status); } &&
38417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38419 (eval $ac_try) 2>&5
38421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38422 (exit $ac_status); }; } &&
38423 { ac_try
='test -s conftest$ac_exeext'
38424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38425 (eval $ac_try) 2>&5
38427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38428 (exit $ac_status); }; }; then
38429 eval wx_cv_func_
$wx_func=yes
38431 echo "$as_me: failed program was:" >&5
38432 sed 's/^/| /' conftest.
$ac_ext >&5
38434 eval wx_cv_func_
$wx_func=no
38436 rm -f conftest.err conftest.
$ac_objext \
38437 conftest
$ac_exeext conftest.
$ac_ext
38440 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38441 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38443 if eval test \
$wx_cv_func_$wx_func = yes
38445 cat >>confdefs.h
<<_ACEOF
38446 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38459 for wx_func
in strtok_r
38461 echo "$as_me:$LINENO: checking for $wx_func" >&5
38462 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38463 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38464 echo $ECHO_N "(cached) $ECHO_C" >&6
38467 cat >conftest.
$ac_ext <<_ACEOF
38471 cat confdefs.h
>>conftest.
$ac_ext
38472 cat >>conftest.
$ac_ext <<_ACEOF
38473 /* end confdefs.h. */
38476 $ac_includes_default
38492 rm -f conftest.
$ac_objext conftest
$ac_exeext
38493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38494 (eval $ac_link) 2>conftest.er1
38496 grep -v '^ *+' conftest.er1
>conftest.err
38498 cat conftest.err
>&5
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); } &&
38501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38503 (eval $ac_try) 2>&5
38505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38506 (exit $ac_status); }; } &&
38507 { ac_try
='test -s conftest$ac_exeext'
38508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38509 (eval $ac_try) 2>&5
38511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38512 (exit $ac_status); }; }; then
38513 eval wx_cv_func_
$wx_func=yes
38515 echo "$as_me: failed program was:" >&5
38516 sed 's/^/| /' conftest.
$ac_ext >&5
38518 eval wx_cv_func_
$wx_func=no
38520 rm -f conftest.err conftest.
$ac_objext \
38521 conftest
$ac_exeext conftest.
$ac_ext
38524 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38525 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38527 if eval test \
$wx_cv_func_$wx_func = yes
38529 cat >>confdefs.h
<<_ACEOF
38530 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38543 for ac_func
in inet_addr
38545 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38546 echo "$as_me:$LINENO: checking for $ac_func" >&5
38547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38548 if eval "test \"\${$as_ac_var+set}\" = set"; then
38549 echo $ECHO_N "(cached) $ECHO_C" >&6
38551 cat >conftest.
$ac_ext <<_ACEOF
38554 cat confdefs.h
>>conftest.
$ac_ext
38555 cat >>conftest.
$ac_ext <<_ACEOF
38556 /* end confdefs.h. */
38557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38559 #define $ac_func innocuous_$ac_func
38561 /* System header to define __stub macros and hopefully few prototypes,
38562 which can conflict with char $ac_func (); below.
38563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38564 <limits.h> exists even on freestanding compilers. */
38567 # include <limits.h>
38569 # include <assert.h>
38574 /* Override any gcc2 internal prototype to avoid an error. */
38579 /* We use char because int might match the return type of a gcc2
38580 builtin and then its argument prototype would still apply. */
38582 /* The GNU C library defines this for functions which it implements
38583 to always fail with ENOSYS. Some functions are actually named
38584 something starting with __ and the normal name is an alias. */
38585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38588 char (*f) () = $ac_func;
38597 return f != $ac_func;
38602 rm -f conftest.
$ac_objext conftest
$ac_exeext
38603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38604 (eval $ac_link) 2>conftest.er1
38606 grep -v '^ *+' conftest.er1
>conftest.err
38608 cat conftest.err
>&5
38609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38610 (exit $ac_status); } &&
38611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38613 (eval $ac_try) 2>&5
38615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38616 (exit $ac_status); }; } &&
38617 { ac_try
='test -s conftest$ac_exeext'
38618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38619 (eval $ac_try) 2>&5
38621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38622 (exit $ac_status); }; }; then
38623 eval "$as_ac_var=yes"
38625 echo "$as_me: failed program was:" >&5
38626 sed 's/^/| /' conftest.
$ac_ext >&5
38628 eval "$as_ac_var=no"
38630 rm -f conftest.err conftest.
$ac_objext \
38631 conftest
$ac_exeext conftest.
$ac_ext
38633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38635 if test `eval echo '${'$as_ac_var'}'` = yes; then
38636 cat >>confdefs.h
<<_ACEOF
38637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38639 cat >>confdefs.h
<<\_ACEOF
38640 #define HAVE_INET_ADDR 1
38645 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38646 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38647 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38648 echo $ECHO_N "(cached) $ECHO_C" >&6
38650 ac_check_lib_save_LIBS
=$LIBS
38652 cat >conftest.
$ac_ext <<_ACEOF
38655 cat confdefs.h
>>conftest.
$ac_ext
38656 cat >>conftest.
$ac_ext <<_ACEOF
38657 /* end confdefs.h. */
38659 /* Override any gcc2 internal prototype to avoid an error. */
38663 /* We use char because int might match the return type of a gcc2
38664 builtin and then its argument prototype would still apply. */
38674 rm -f conftest.
$ac_objext conftest
$ac_exeext
38675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38676 (eval $ac_link) 2>conftest.er1
38678 grep -v '^ *+' conftest.er1
>conftest.err
38680 cat conftest.err
>&5
38681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38682 (exit $ac_status); } &&
38683 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38685 (eval $ac_try) 2>&5
38687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38688 (exit $ac_status); }; } &&
38689 { ac_try
='test -s conftest$ac_exeext'
38690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38691 (eval $ac_try) 2>&5
38693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38694 (exit $ac_status); }; }; then
38695 ac_cv_lib_nsl_inet_addr
=yes
38697 echo "$as_me: failed program was:" >&5
38698 sed 's/^/| /' conftest.
$ac_ext >&5
38700 ac_cv_lib_nsl_inet_addr
=no
38702 rm -f conftest.err conftest.
$ac_objext \
38703 conftest
$ac_exeext conftest.
$ac_ext
38704 LIBS
=$ac_check_lib_save_LIBS
38706 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38707 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38708 if test $ac_cv_lib_nsl_inet_addr = yes; then
38712 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38713 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38714 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38715 echo $ECHO_N "(cached) $ECHO_C" >&6
38717 ac_check_lib_save_LIBS
=$LIBS
38718 LIBS
="-lresolv $LIBS"
38719 cat >conftest.
$ac_ext <<_ACEOF
38722 cat confdefs.h
>>conftest.
$ac_ext
38723 cat >>conftest.
$ac_ext <<_ACEOF
38724 /* end confdefs.h. */
38726 /* Override any gcc2 internal prototype to avoid an error. */
38730 /* We use char because int might match the return type of a gcc2
38731 builtin and then its argument prototype would still apply. */
38741 rm -f conftest.
$ac_objext conftest
$ac_exeext
38742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38743 (eval $ac_link) 2>conftest.er1
38745 grep -v '^ *+' conftest.er1
>conftest.err
38747 cat conftest.err
>&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); } &&
38750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38752 (eval $ac_try) 2>&5
38754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38755 (exit $ac_status); }; } &&
38756 { ac_try
='test -s conftest$ac_exeext'
38757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38758 (eval $ac_try) 2>&5
38760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38761 (exit $ac_status); }; }; then
38762 ac_cv_lib_resolv_inet_addr
=yes
38764 echo "$as_me: failed program was:" >&5
38765 sed 's/^/| /' conftest.
$ac_ext >&5
38767 ac_cv_lib_resolv_inet_addr
=no
38769 rm -f conftest.err conftest.
$ac_objext \
38770 conftest
$ac_exeext conftest.
$ac_ext
38771 LIBS
=$ac_check_lib_save_LIBS
38773 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38774 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38775 if test $ac_cv_lib_resolv_inet_addr = yes; then
38779 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38780 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38781 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38782 echo $ECHO_N "(cached) $ECHO_C" >&6
38784 ac_check_lib_save_LIBS
=$LIBS
38785 LIBS
="-lsocket $LIBS"
38786 cat >conftest.
$ac_ext <<_ACEOF
38789 cat confdefs.h
>>conftest.
$ac_ext
38790 cat >>conftest.
$ac_ext <<_ACEOF
38791 /* end confdefs.h. */
38793 /* Override any gcc2 internal prototype to avoid an error. */
38797 /* We use char because int might match the return type of a gcc2
38798 builtin and then its argument prototype would still apply. */
38808 rm -f conftest.
$ac_objext conftest
$ac_exeext
38809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38810 (eval $ac_link) 2>conftest.er1
38812 grep -v '^ *+' conftest.er1
>conftest.err
38814 cat conftest.err
>&5
38815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38816 (exit $ac_status); } &&
38817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38819 (eval $ac_try) 2>&5
38821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38822 (exit $ac_status); }; } &&
38823 { ac_try
='test -s conftest$ac_exeext'
38824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38825 (eval $ac_try) 2>&5
38827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38828 (exit $ac_status); }; }; then
38829 ac_cv_lib_socket_inet_addr
=yes
38831 echo "$as_me: failed program was:" >&5
38832 sed 's/^/| /' conftest.
$ac_ext >&5
38834 ac_cv_lib_socket_inet_addr
=no
38836 rm -f conftest.err conftest.
$ac_objext \
38837 conftest
$ac_exeext conftest.
$ac_ext
38838 LIBS
=$ac_check_lib_save_LIBS
38840 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38841 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38842 if test $ac_cv_lib_socket_inet_addr = yes; then
38862 for ac_func
in inet_aton
38864 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38865 echo "$as_me:$LINENO: checking for $ac_func" >&5
38866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38867 if eval "test \"\${$as_ac_var+set}\" = set"; then
38868 echo $ECHO_N "(cached) $ECHO_C" >&6
38870 cat >conftest.
$ac_ext <<_ACEOF
38873 cat confdefs.h
>>conftest.
$ac_ext
38874 cat >>conftest.
$ac_ext <<_ACEOF
38875 /* end confdefs.h. */
38876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38878 #define $ac_func innocuous_$ac_func
38880 /* System header to define __stub macros and hopefully few prototypes,
38881 which can conflict with char $ac_func (); below.
38882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38883 <limits.h> exists even on freestanding compilers. */
38886 # include <limits.h>
38888 # include <assert.h>
38893 /* Override any gcc2 internal prototype to avoid an error. */
38898 /* We use char because int might match the return type of a gcc2
38899 builtin and then its argument prototype would still apply. */
38901 /* The GNU C library defines this for functions which it implements
38902 to always fail with ENOSYS. Some functions are actually named
38903 something starting with __ and the normal name is an alias. */
38904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38907 char (*f) () = $ac_func;
38916 return f != $ac_func;
38921 rm -f conftest.
$ac_objext conftest
$ac_exeext
38922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38923 (eval $ac_link) 2>conftest.er1
38925 grep -v '^ *+' conftest.er1
>conftest.err
38927 cat conftest.err
>&5
38928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38929 (exit $ac_status); } &&
38930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38932 (eval $ac_try) 2>&5
38934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38935 (exit $ac_status); }; } &&
38936 { ac_try
='test -s conftest$ac_exeext'
38937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38938 (eval $ac_try) 2>&5
38940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38941 (exit $ac_status); }; }; then
38942 eval "$as_ac_var=yes"
38944 echo "$as_me: failed program was:" >&5
38945 sed 's/^/| /' conftest.
$ac_ext >&5
38947 eval "$as_ac_var=no"
38949 rm -f conftest.err conftest.
$ac_objext \
38950 conftest
$ac_exeext conftest.
$ac_ext
38952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38954 if test `eval echo '${'$as_ac_var'}'` = yes; then
38955 cat >>confdefs.h
<<_ACEOF
38956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38958 cat >>confdefs.h
<<\_ACEOF
38959 #define HAVE_INET_ATON 1
38964 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38965 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38966 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38967 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38968 echo $ECHO_N "(cached) $ECHO_C" >&6
38970 ac_check_lib_save_LIBS
=$LIBS
38971 LIBS
="-l$INET_LINK $LIBS"
38972 cat >conftest.
$ac_ext <<_ACEOF
38975 cat confdefs.h
>>conftest.
$ac_ext
38976 cat >>conftest.
$ac_ext <<_ACEOF
38977 /* end confdefs.h. */
38979 /* Override any gcc2 internal prototype to avoid an error. */
38983 /* We use char because int might match the return type of a gcc2
38984 builtin and then its argument prototype would still apply. */
38994 rm -f conftest.
$ac_objext conftest
$ac_exeext
38995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38996 (eval $ac_link) 2>conftest.er1
38998 grep -v '^ *+' conftest.er1
>conftest.err
39000 cat conftest.err
>&5
39001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39002 (exit $ac_status); } &&
39003 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39005 (eval $ac_try) 2>&5
39007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39008 (exit $ac_status); }; } &&
39009 { ac_try
='test -s conftest$ac_exeext'
39010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39011 (eval $ac_try) 2>&5
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); }; }; then
39015 eval "$as_ac_Lib=yes"
39017 echo "$as_me: failed program was:" >&5
39018 sed 's/^/| /' conftest.
$ac_ext >&5
39020 eval "$as_ac_Lib=no"
39022 rm -f conftest.err conftest.
$ac_objext \
39023 conftest
$ac_exeext conftest.
$ac_ext
39024 LIBS
=$ac_check_lib_save_LIBS
39026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
39027 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
39028 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39029 cat >>confdefs.h
<<\_ACEOF
39030 #define HAVE_INET_ATON 1
39040 if test "x$INET_LINK" != "x"; then
39041 cat >>confdefs.h
<<\_ACEOF
39042 #define HAVE_INET_ADDR 1
39045 INET_LINK
=" -l$INET_LINK"
39049 for wx_func
in fdopen
39051 echo "$as_me:$LINENO: checking for $wx_func" >&5
39052 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39053 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39054 echo $ECHO_N "(cached) $ECHO_C" >&6
39057 cat >conftest.
$ac_ext <<_ACEOF
39061 cat confdefs.h
>>conftest.
$ac_ext
39062 cat >>conftest.
$ac_ext <<_ACEOF
39063 /* end confdefs.h. */
39066 $ac_includes_default
39082 rm -f conftest.
$ac_objext conftest
$ac_exeext
39083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39084 (eval $ac_link) 2>conftest.er1
39086 grep -v '^ *+' conftest.er1
>conftest.err
39088 cat conftest.err
>&5
39089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39090 (exit $ac_status); } &&
39091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39093 (eval $ac_try) 2>&5
39095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39096 (exit $ac_status); }; } &&
39097 { ac_try
='test -s conftest$ac_exeext'
39098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39099 (eval $ac_try) 2>&5
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); }; }; then
39103 eval wx_cv_func_
$wx_func=yes
39105 echo "$as_me: failed program was:" >&5
39106 sed 's/^/| /' conftest.
$ac_ext >&5
39108 eval wx_cv_func_
$wx_func=no
39110 rm -f conftest.err conftest.
$ac_objext \
39111 conftest
$ac_exeext conftest.
$ac_ext
39114 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39115 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39117 if eval test \
$wx_cv_func_$wx_func = yes
39119 cat >>confdefs.h
<<_ACEOF
39120 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39137 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39138 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
39139 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39140 echo $ECHO_N "(cached) $ECHO_C" >&6
39142 ac_check_lib_save_LIBS
=$LIBS
39144 cat >conftest.
$ac_ext <<_ACEOF
39147 cat confdefs.h
>>conftest.
$ac_ext
39148 cat >>conftest.
$ac_ext <<_ACEOF
39149 /* end confdefs.h. */
39151 /* Override any gcc2 internal prototype to avoid an error. */
39155 /* We use char because int might match the return type of a gcc2
39156 builtin and then its argument prototype would still apply. */
39166 rm -f conftest.
$ac_objext conftest
$ac_exeext
39167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39168 (eval $ac_link) 2>conftest.er1
39170 grep -v '^ *+' conftest.er1
>conftest.err
39172 cat conftest.err
>&5
39173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39174 (exit $ac_status); } &&
39175 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39177 (eval $ac_try) 2>&5
39179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180 (exit $ac_status); }; } &&
39181 { ac_try
='test -s conftest$ac_exeext'
39182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39183 (eval $ac_try) 2>&5
39185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39186 (exit $ac_status); }; }; then
39187 ac_cv_lib_esd_esd_close
=yes
39189 echo "$as_me: failed program was:" >&5
39190 sed 's/^/| /' conftest.
$ac_ext >&5
39192 ac_cv_lib_esd_esd_close
=no
39194 rm -f conftest.err conftest.
$ac_objext \
39195 conftest
$ac_exeext conftest.
$ac_ext
39196 LIBS
=$ac_check_lib_save_LIBS
39198 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39199 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39200 if test $ac_cv_lib_esd_esd_close = yes; then
39203 for ac_header
in esd.h
39205 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39207 echo "$as_me:$LINENO: checking for $ac_header" >&5
39208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39210 echo $ECHO_N "(cached) $ECHO_C" >&6
39212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39215 # Is the header compilable?
39216 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39217 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39218 cat >conftest.
$ac_ext <<_ACEOF
39221 cat confdefs.h
>>conftest.
$ac_ext
39222 cat >>conftest.
$ac_ext <<_ACEOF
39223 /* end confdefs.h. */
39224 $ac_includes_default
39225 #include <$ac_header>
39227 rm -f conftest.
$ac_objext
39228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39229 (eval $ac_compile) 2>conftest.er1
39231 grep -v '^ *+' conftest.er1
>conftest.err
39233 cat conftest.err
>&5
39234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39235 (exit $ac_status); } &&
39236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39238 (eval $ac_try) 2>&5
39240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39241 (exit $ac_status); }; } &&
39242 { ac_try
='test -s conftest.$ac_objext'
39243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39244 (eval $ac_try) 2>&5
39246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39247 (exit $ac_status); }; }; then
39248 ac_header_compiler
=yes
39250 echo "$as_me: failed program was:" >&5
39251 sed 's/^/| /' conftest.
$ac_ext >&5
39253 ac_header_compiler
=no
39255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39257 echo "${ECHO_T}$ac_header_compiler" >&6
39259 # Is the header present?
39260 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39262 cat >conftest.
$ac_ext <<_ACEOF
39265 cat confdefs.h
>>conftest.
$ac_ext
39266 cat >>conftest.
$ac_ext <<_ACEOF
39267 /* end confdefs.h. */
39268 #include <$ac_header>
39270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39271 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39273 grep -v '^ *+' conftest.er1
>conftest.err
39275 cat conftest.err
>&5
39276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39277 (exit $ac_status); } >/dev
/null
; then
39278 if test -s conftest.err
; then
39279 ac_cpp_err
=$ac_c_preproc_warn_flag
39280 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39287 if test -z "$ac_cpp_err"; then
39288 ac_header_preproc
=yes
39290 echo "$as_me: failed program was:" >&5
39291 sed 's/^/| /' conftest.
$ac_ext >&5
39293 ac_header_preproc
=no
39295 rm -f conftest.err conftest.
$ac_ext
39296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39297 echo "${ECHO_T}$ac_header_preproc" >&6
39299 # So? What about this header?
39300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39306 ac_header_preproc
=yes
39309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39313 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39315 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39316 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39319 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39323 ## ----------------------------------------- ##
39324 ## Report this to wx-dev@lists.wxwidgets.org ##
39325 ## ----------------------------------------- ##
39328 sed "s/^/$as_me: WARNING: /" >&2
39331 echo "$as_me:$LINENO: checking for $ac_header" >&5
39332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39334 echo $ECHO_N "(cached) $ECHO_C" >&6
39336 eval "$as_ac_Header=\$ac_header_preproc"
39338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39343 cat >>confdefs.h
<<_ACEOF
39344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39347 EXTRALIBS_ESD
="-lesd"
39358 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39359 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39360 cat >conftest.
$ac_ext <<_ACEOF
39363 cat confdefs.h
>>conftest.
$ac_ext
39364 cat >>conftest.
$ac_ext <<_ACEOF
39365 /* end confdefs.h. */
39367 #include <linux/cdrom.h>
39370 #include <sys/cdio.h>
39376 struct cdrom_tocentry entry, old_entry;
39381 rm -f conftest.
$ac_objext
39382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39383 (eval $ac_compile) 2>conftest.er1
39385 grep -v '^ *+' conftest.er1
>conftest.err
39387 cat conftest.err
>&5
39388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39389 (exit $ac_status); } &&
39390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39392 (eval $ac_try) 2>&5
39394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39395 (exit $ac_status); }; } &&
39396 { ac_try
='test -s conftest.$ac_objext'
39397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39398 (eval $ac_try) 2>&5
39400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39401 (exit $ac_status); }; }; then
39402 echo "$as_me:$LINENO: result: yes" >&5
39403 echo "${ECHO_T}yes" >&6
39404 cat >>confdefs.h
<<\_ACEOF
39405 #define HAVE_KNOWN_CDROM_INTERFACE 1
39409 echo "$as_me: failed program was:" >&5
39410 sed 's/^/| /' conftest.
$ac_ext >&5
39412 echo "$as_me:$LINENO: result: no" >&5
39413 echo "${ECHO_T}no" >&6
39415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39418 cat >confcache
<<\_ACEOF
39419 # This file is a shell script that caches the results of configure
39420 # tests run on this system so they can be shared between configure
39421 # scripts and configure runs, see configure's option --config-cache.
39422 # It is not useful on other systems. If it contains results you don't
39423 # want to keep, you may remove or edit it.
39425 # config.status only pays attention to the cache file if you give it
39426 # the --recheck option to rerun configure.
39428 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39429 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39430 # following values.
39434 # The following way of writing the cache mishandles newlines in values,
39435 # but we know of no workaround that is simple, portable, and efficient.
39436 # So, don't put newlines in cache variables' values.
39437 # Ultrix sh set writes to stderr and can't be redirected directly,
39438 # and sets the high bit in the cache file unless we assign to the vars.
39441 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39443 # `set' does not quote correctly, so add quotes (double-quote
39444 # substitution turns \\\\ into \\, and sed turns \\ into \).
39447 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39450 # `set' quotes correctly as required by POSIX, so do not add quotes.
39452 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39459 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39461 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39463 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
39464 if test -w $cache_file; then
39465 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39466 cat confcache
>$cache_file
39468 echo "not updating unwritable cache $cache_file"
39474 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39480 if test "$wxUSE_THREADS" = "yes" ; then
39481 if test "$USE_BEOS" = 1; then
39482 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39483 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39488 if test "$wxUSE_THREADS" = "yes" ; then
39491 THREAD_OPTS
="-pthread"
39493 *-*-solaris2* | *-*-sunos4* )
39494 if test "x$GCC" = "xyes"; then
39495 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39497 THREAD_OPTS
="-mt $THREAD_OPTS"
39501 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39503 *-*-darwin* | *-*-cygwin* )
39507 THREAD_OPTS
="pthreads"
39510 if test "x$GCC" = "xyes"; then
39511 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39519 if test "x$GCC" = "xyes"; then
39525 if test "x$GCC" != "xyes"; then
39526 THREAD_OPTS
="-Ethread"
39531 THREAD_OPTS
="$THREAD_OPTS pthread none"
39534 for flag
in $THREAD_OPTS; do
39537 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39538 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39542 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39543 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39544 THREADS_CFLAGS
="$flag"
39548 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39549 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39550 THREADS_LINK
="-l$flag"
39555 save_CFLAGS
="$CFLAGS"
39556 LIBS
="$THREADS_LINK $LIBS"
39557 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
39559 cat >conftest.
$ac_ext <<_ACEOF
39562 cat confdefs.h
>>conftest.
$ac_ext
39563 cat >>conftest.
$ac_ext <<_ACEOF
39564 /* end confdefs.h. */
39565 #include <pthread.h>
39569 pthread_create(0,0,0,0);
39574 rm -f conftest.
$ac_objext conftest
$ac_exeext
39575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39576 (eval $ac_link) 2>conftest.er1
39578 grep -v '^ *+' conftest.er1
>conftest.err
39580 cat conftest.err
>&5
39581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39582 (exit $ac_status); } &&
39583 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39585 (eval $ac_try) 2>&5
39587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39588 (exit $ac_status); }; } &&
39589 { ac_try
='test -s conftest$ac_exeext'
39590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39591 (eval $ac_try) 2>&5
39593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39594 (exit $ac_status); }; }; then
39597 echo "$as_me: failed program was:" >&5
39598 sed 's/^/| /' conftest.
$ac_ext >&5
39601 rm -f conftest.err conftest.
$ac_objext \
39602 conftest
$ac_exeext conftest.
$ac_ext
39605 CFLAGS
="$save_CFLAGS"
39607 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39608 echo "${ECHO_T}$THREADS_OK" >&6
39609 if test "x$THREADS_OK" = "xyes"; then
39617 if test "x$THREADS_OK" != "xyes"; then
39619 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39620 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39622 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
39623 LIBS
="$THREADS_LINK $LIBS"
39625 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39626 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39630 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
39631 flag
="-D_THREAD_SAFE"
39634 flag
="-D_THREAD_SAFE"
39637 flag
="-D_REENTRANT"
39638 if test "x$GCC" != "xyes"; then
39639 flag
="$flag -D_RWSTD_MULTI_THREAD"
39642 *solaris
* | alpha
*-osf*)
39643 flag
="-D_REENTRANT"
39646 echo "$as_me:$LINENO: result: ${flag}" >&5
39647 echo "${ECHO_T}${flag}" >&6
39648 if test "x$flag" != xno
; then
39649 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
39652 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39656 if test "$wxUSE_THREADS" = "yes" ; then
39658 for ac_func
in thr_setconcurrency
39660 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39661 echo "$as_me:$LINENO: checking for $ac_func" >&5
39662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39663 if eval "test \"\${$as_ac_var+set}\" = set"; then
39664 echo $ECHO_N "(cached) $ECHO_C" >&6
39666 cat >conftest.
$ac_ext <<_ACEOF
39669 cat confdefs.h
>>conftest.
$ac_ext
39670 cat >>conftest.
$ac_ext <<_ACEOF
39671 /* end confdefs.h. */
39672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39674 #define $ac_func innocuous_$ac_func
39676 /* System header to define __stub macros and hopefully few prototypes,
39677 which can conflict with char $ac_func (); below.
39678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39679 <limits.h> exists even on freestanding compilers. */
39682 # include <limits.h>
39684 # include <assert.h>
39689 /* Override any gcc2 internal prototype to avoid an error. */
39694 /* We use char because int might match the return type of a gcc2
39695 builtin and then its argument prototype would still apply. */
39697 /* The GNU C library defines this for functions which it implements
39698 to always fail with ENOSYS. Some functions are actually named
39699 something starting with __ and the normal name is an alias. */
39700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39703 char (*f) () = $ac_func;
39712 return f != $ac_func;
39717 rm -f conftest.
$ac_objext conftest
$ac_exeext
39718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39719 (eval $ac_link) 2>conftest.er1
39721 grep -v '^ *+' conftest.er1
>conftest.err
39723 cat conftest.err
>&5
39724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39725 (exit $ac_status); } &&
39726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39728 (eval $ac_try) 2>&5
39730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39731 (exit $ac_status); }; } &&
39732 { ac_try
='test -s conftest$ac_exeext'
39733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39734 (eval $ac_try) 2>&5
39736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39737 (exit $ac_status); }; }; then
39738 eval "$as_ac_var=yes"
39740 echo "$as_me: failed program was:" >&5
39741 sed 's/^/| /' conftest.
$ac_ext >&5
39743 eval "$as_ac_var=no"
39745 rm -f conftest.err conftest.
$ac_objext \
39746 conftest
$ac_exeext conftest.
$ac_ext
39748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39750 if test `eval echo '${'$as_ac_var'}'` = yes; then
39751 cat >>confdefs.h
<<_ACEOF
39752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39759 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39760 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39761 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39762 echo $ECHO_N "(cached) $ECHO_C" >&6
39765 cat >conftest.
$ac_ext <<_ACEOF
39768 cat confdefs.h
>>conftest.
$ac_ext
39769 cat >>conftest.
$ac_ext <<_ACEOF
39770 /* end confdefs.h. */
39771 #include <pthread.h>
39772 void ThreadCleanupFunc(void *p);
39779 pthread_cleanup_push(ThreadCleanupFunc, p);
39780 pthread_cleanup_pop(0);
39786 rm -f conftest.
$ac_objext
39787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39788 (eval $ac_compile) 2>conftest.er1
39790 grep -v '^ *+' conftest.er1
>conftest.err
39792 cat conftest.err
>&5
39793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39794 (exit $ac_status); } &&
39795 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39797 (eval $ac_try) 2>&5
39799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39800 (exit $ac_status); }; } &&
39801 { ac_try
='test -s conftest.$ac_objext'
39802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39803 (eval $ac_try) 2>&5
39805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39806 (exit $ac_status); }; }; then
39808 wx_cv_func_pthread_cleanup
=yes
39811 echo "$as_me: failed program was:" >&5
39812 sed 's/^/| /' conftest.
$ac_ext >&5
39815 wx_cv_func_pthread_cleanup
=no
39819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39822 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39823 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39824 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39825 cat >>confdefs.h
<<\_ACEOF
39826 #define wxHAVE_PTHREAD_CLEANUP 1
39832 for ac_header
in sched.h
39834 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39836 echo "$as_me:$LINENO: checking for $ac_header" >&5
39837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39839 echo $ECHO_N "(cached) $ECHO_C" >&6
39841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39844 # Is the header compilable?
39845 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39846 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39847 cat >conftest.
$ac_ext <<_ACEOF
39850 cat confdefs.h
>>conftest.
$ac_ext
39851 cat >>conftest.
$ac_ext <<_ACEOF
39852 /* end confdefs.h. */
39853 $ac_includes_default
39854 #include <$ac_header>
39856 rm -f conftest.
$ac_objext
39857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39858 (eval $ac_compile) 2>conftest.er1
39860 grep -v '^ *+' conftest.er1
>conftest.err
39862 cat conftest.err
>&5
39863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39864 (exit $ac_status); } &&
39865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39867 (eval $ac_try) 2>&5
39869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39870 (exit $ac_status); }; } &&
39871 { ac_try
='test -s conftest.$ac_objext'
39872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39873 (eval $ac_try) 2>&5
39875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39876 (exit $ac_status); }; }; then
39877 ac_header_compiler
=yes
39879 echo "$as_me: failed program was:" >&5
39880 sed 's/^/| /' conftest.
$ac_ext >&5
39882 ac_header_compiler
=no
39884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39885 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39886 echo "${ECHO_T}$ac_header_compiler" >&6
39888 # Is the header present?
39889 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39890 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39891 cat >conftest.
$ac_ext <<_ACEOF
39894 cat confdefs.h
>>conftest.
$ac_ext
39895 cat >>conftest.
$ac_ext <<_ACEOF
39896 /* end confdefs.h. */
39897 #include <$ac_header>
39899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39900 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39902 grep -v '^ *+' conftest.er1
>conftest.err
39904 cat conftest.err
>&5
39905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39906 (exit $ac_status); } >/dev
/null
; then
39907 if test -s conftest.err
; then
39908 ac_cpp_err
=$ac_c_preproc_warn_flag
39909 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39916 if test -z "$ac_cpp_err"; then
39917 ac_header_preproc
=yes
39919 echo "$as_me: failed program was:" >&5
39920 sed 's/^/| /' conftest.
$ac_ext >&5
39922 ac_header_preproc
=no
39924 rm -f conftest.err conftest.
$ac_ext
39925 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39926 echo "${ECHO_T}$ac_header_preproc" >&6
39928 # So? What about this header?
39929 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39931 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39932 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39934 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39935 ac_header_preproc
=yes
39938 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39939 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39940 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39941 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39942 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39943 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39944 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39945 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39947 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39948 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39949 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39952 ## ----------------------------------------- ##
39953 ## Report this to wx-dev@lists.wxwidgets.org ##
39954 ## ----------------------------------------- ##
39957 sed "s/^/$as_me: WARNING: /" >&2
39960 echo "$as_me:$LINENO: checking for $ac_header" >&5
39961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39963 echo $ECHO_N "(cached) $ECHO_C" >&6
39965 eval "$as_ac_Header=\$ac_header_preproc"
39967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39971 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39972 cat >>confdefs.h
<<_ACEOF
39973 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39980 if test "$ac_cv_header_sched_h" = "yes"; then
39981 echo "$as_me:$LINENO: checking for sched_yield" >&5
39982 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39983 if test "${ac_cv_func_sched_yield+set}" = set; then
39984 echo $ECHO_N "(cached) $ECHO_C" >&6
39986 cat >conftest.
$ac_ext <<_ACEOF
39989 cat confdefs.h
>>conftest.
$ac_ext
39990 cat >>conftest.
$ac_ext <<_ACEOF
39991 /* end confdefs.h. */
39992 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39994 #define sched_yield innocuous_sched_yield
39996 /* System header to define __stub macros and hopefully few prototypes,
39997 which can conflict with char sched_yield (); below.
39998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39999 <limits.h> exists even on freestanding compilers. */
40002 # include <limits.h>
40004 # include <assert.h>
40009 /* Override any gcc2 internal prototype to avoid an error. */
40014 /* We use char because int might match the return type of a gcc2
40015 builtin and then its argument prototype would still apply. */
40016 char sched_yield ();
40017 /* The GNU C library defines this for functions which it implements
40018 to always fail with ENOSYS. Some functions are actually named
40019 something starting with __ and the normal name is an alias. */
40020 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
40023 char (*f) () = sched_yield;
40032 return f != sched_yield;
40037 rm -f conftest.
$ac_objext conftest
$ac_exeext
40038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40039 (eval $ac_link) 2>conftest.er1
40041 grep -v '^ *+' conftest.er1
>conftest.err
40043 cat conftest.err
>&5
40044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40045 (exit $ac_status); } &&
40046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40048 (eval $ac_try) 2>&5
40050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40051 (exit $ac_status); }; } &&
40052 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
40058 ac_cv_func_sched_yield
=yes
40060 echo "$as_me: failed program was:" >&5
40061 sed 's/^/| /' conftest.
$ac_ext >&5
40063 ac_cv_func_sched_yield
=no
40065 rm -f conftest.err conftest.
$ac_objext \
40066 conftest
$ac_exeext conftest.
$ac_ext
40068 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40069 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40070 if test $ac_cv_func_sched_yield = yes; then
40071 cat >>confdefs.h
<<\_ACEOF
40072 #define HAVE_SCHED_YIELD 1
40077 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40078 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40079 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40080 echo $ECHO_N "(cached) $ECHO_C" >&6
40082 ac_check_lib_save_LIBS
=$LIBS
40083 LIBS
="-lposix4 $LIBS"
40084 cat >conftest.
$ac_ext <<_ACEOF
40087 cat confdefs.h
>>conftest.
$ac_ext
40088 cat >>conftest.
$ac_ext <<_ACEOF
40089 /* end confdefs.h. */
40091 /* Override any gcc2 internal prototype to avoid an error. */
40095 /* We use char because int might match the return type of a gcc2
40096 builtin and then its argument prototype would still apply. */
40097 char sched_yield ();
40106 rm -f conftest.
$ac_objext conftest
$ac_exeext
40107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40108 (eval $ac_link) 2>conftest.er1
40110 grep -v '^ *+' conftest.er1
>conftest.err
40112 cat conftest.err
>&5
40113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40114 (exit $ac_status); } &&
40115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40117 (eval $ac_try) 2>&5
40119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40120 (exit $ac_status); }; } &&
40121 { ac_try
='test -s conftest$ac_exeext'
40122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40123 (eval $ac_try) 2>&5
40125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40126 (exit $ac_status); }; }; then
40127 ac_cv_lib_posix4_sched_yield
=yes
40129 echo "$as_me: failed program was:" >&5
40130 sed 's/^/| /' conftest.
$ac_ext >&5
40132 ac_cv_lib_posix4_sched_yield
=no
40134 rm -f conftest.err conftest.
$ac_objext \
40135 conftest
$ac_exeext conftest.
$ac_ext
40136 LIBS
=$ac_check_lib_save_LIBS
40138 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40139 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40140 if test $ac_cv_lib_posix4_sched_yield = yes; then
40141 cat >>confdefs.h
<<\_ACEOF
40142 #define HAVE_SCHED_YIELD 1
40144 POSIX4_LINK
=" -lposix4"
40146 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40147 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40158 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40159 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40160 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40161 echo $ECHO_N "(cached) $ECHO_C" >&6
40163 cat >conftest.
$ac_ext <<_ACEOF
40166 cat confdefs.h
>>conftest.
$ac_ext
40167 cat >>conftest.
$ac_ext <<_ACEOF
40168 /* end confdefs.h. */
40169 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40171 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40173 /* System header to define __stub macros and hopefully few prototypes,
40174 which can conflict with char pthread_attr_getschedpolicy (); below.
40175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40176 <limits.h> exists even on freestanding compilers. */
40179 # include <limits.h>
40181 # include <assert.h>
40184 #undef pthread_attr_getschedpolicy
40186 /* Override any gcc2 internal prototype to avoid an error. */
40191 /* We use char because int might match the return type of a gcc2
40192 builtin and then its argument prototype would still apply. */
40193 char pthread_attr_getschedpolicy ();
40194 /* The GNU C library defines this for functions which it implements
40195 to always fail with ENOSYS. Some functions are actually named
40196 something starting with __ and the normal name is an alias. */
40197 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40200 char (*f) () = pthread_attr_getschedpolicy;
40209 return f != pthread_attr_getschedpolicy;
40214 rm -f conftest.
$ac_objext conftest
$ac_exeext
40215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40216 (eval $ac_link) 2>conftest.er1
40218 grep -v '^ *+' conftest.er1
>conftest.err
40220 cat conftest.err
>&5
40221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222 (exit $ac_status); } &&
40223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40225 (eval $ac_try) 2>&5
40227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40228 (exit $ac_status); }; } &&
40229 { ac_try
='test -s conftest$ac_exeext'
40230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40231 (eval $ac_try) 2>&5
40233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40234 (exit $ac_status); }; }; then
40235 ac_cv_func_pthread_attr_getschedpolicy
=yes
40237 echo "$as_me: failed program was:" >&5
40238 sed 's/^/| /' conftest.
$ac_ext >&5
40240 ac_cv_func_pthread_attr_getschedpolicy
=no
40242 rm -f conftest.err conftest.
$ac_objext \
40243 conftest
$ac_exeext conftest.
$ac_ext
40245 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40246 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40247 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40248 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40249 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40250 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40251 echo $ECHO_N "(cached) $ECHO_C" >&6
40253 cat >conftest.
$ac_ext <<_ACEOF
40256 cat confdefs.h
>>conftest.
$ac_ext
40257 cat >>conftest.
$ac_ext <<_ACEOF
40258 /* end confdefs.h. */
40259 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40261 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40263 /* System header to define __stub macros and hopefully few prototypes,
40264 which can conflict with char pthread_attr_setschedparam (); below.
40265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40266 <limits.h> exists even on freestanding compilers. */
40269 # include <limits.h>
40271 # include <assert.h>
40274 #undef pthread_attr_setschedparam
40276 /* Override any gcc2 internal prototype to avoid an error. */
40281 /* We use char because int might match the return type of a gcc2
40282 builtin and then its argument prototype would still apply. */
40283 char pthread_attr_setschedparam ();
40284 /* The GNU C library defines this for functions which it implements
40285 to always fail with ENOSYS. Some functions are actually named
40286 something starting with __ and the normal name is an alias. */
40287 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40290 char (*f) () = pthread_attr_setschedparam;
40299 return f != pthread_attr_setschedparam;
40304 rm -f conftest.
$ac_objext conftest
$ac_exeext
40305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40306 (eval $ac_link) 2>conftest.er1
40308 grep -v '^ *+' conftest.er1
>conftest.err
40310 cat conftest.err
>&5
40311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40312 (exit $ac_status); } &&
40313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40315 (eval $ac_try) 2>&5
40317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40318 (exit $ac_status); }; } &&
40319 { ac_try
='test -s conftest$ac_exeext'
40320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40321 (eval $ac_try) 2>&5
40323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324 (exit $ac_status); }; }; then
40325 ac_cv_func_pthread_attr_setschedparam
=yes
40327 echo "$as_me: failed program was:" >&5
40328 sed 's/^/| /' conftest.
$ac_ext >&5
40330 ac_cv_func_pthread_attr_setschedparam
=no
40332 rm -f conftest.err conftest.
$ac_objext \
40333 conftest
$ac_exeext conftest.
$ac_ext
40335 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40336 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40337 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40338 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40339 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40340 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40341 echo $ECHO_N "(cached) $ECHO_C" >&6
40343 cat >conftest.
$ac_ext <<_ACEOF
40346 cat confdefs.h
>>conftest.
$ac_ext
40347 cat >>conftest.
$ac_ext <<_ACEOF
40348 /* end confdefs.h. */
40349 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40351 #define sched_get_priority_max innocuous_sched_get_priority_max
40353 /* System header to define __stub macros and hopefully few prototypes,
40354 which can conflict with char sched_get_priority_max (); below.
40355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40356 <limits.h> exists even on freestanding compilers. */
40359 # include <limits.h>
40361 # include <assert.h>
40364 #undef sched_get_priority_max
40366 /* Override any gcc2 internal prototype to avoid an error. */
40371 /* We use char because int might match the return type of a gcc2
40372 builtin and then its argument prototype would still apply. */
40373 char sched_get_priority_max ();
40374 /* The GNU C library defines this for functions which it implements
40375 to always fail with ENOSYS. Some functions are actually named
40376 something starting with __ and the normal name is an alias. */
40377 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40380 char (*f) () = sched_get_priority_max;
40389 return f != sched_get_priority_max;
40394 rm -f conftest.
$ac_objext conftest
$ac_exeext
40395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40396 (eval $ac_link) 2>conftest.er1
40398 grep -v '^ *+' conftest.er1
>conftest.err
40400 cat conftest.err
>&5
40401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40402 (exit $ac_status); } &&
40403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40405 (eval $ac_try) 2>&5
40407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408 (exit $ac_status); }; } &&
40409 { ac_try
='test -s conftest$ac_exeext'
40410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40411 (eval $ac_try) 2>&5
40413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40414 (exit $ac_status); }; }; then
40415 ac_cv_func_sched_get_priority_max
=yes
40417 echo "$as_me: failed program was:" >&5
40418 sed 's/^/| /' conftest.
$ac_ext >&5
40420 ac_cv_func_sched_get_priority_max
=no
40422 rm -f conftest.err conftest.
$ac_objext \
40423 conftest
$ac_exeext conftest.
$ac_ext
40425 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40426 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40427 if test $ac_cv_func_sched_get_priority_max = yes; then
40430 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40431 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40432 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40433 echo $ECHO_N "(cached) $ECHO_C" >&6
40435 ac_check_lib_save_LIBS
=$LIBS
40436 LIBS
="-lposix4 $LIBS"
40437 cat >conftest.
$ac_ext <<_ACEOF
40440 cat confdefs.h
>>conftest.
$ac_ext
40441 cat >>conftest.
$ac_ext <<_ACEOF
40442 /* end confdefs.h. */
40444 /* Override any gcc2 internal prototype to avoid an error. */
40448 /* We use char because int might match the return type of a gcc2
40449 builtin and then its argument prototype would still apply. */
40450 char sched_get_priority_max ();
40454 sched_get_priority_max ();
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_c_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 ac_cv_lib_posix4_sched_get_priority_max
=yes
40482 echo "$as_me: failed program was:" >&5
40483 sed 's/^/| /' conftest.
$ac_ext >&5
40485 ac_cv_lib_posix4_sched_get_priority_max
=no
40487 rm -f conftest.err conftest.
$ac_objext \
40488 conftest
$ac_exeext conftest.
$ac_ext
40489 LIBS
=$ac_check_lib_save_LIBS
40491 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40492 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40493 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40496 POSIX4_LINK
=" -lposix4"
40510 if test "$HAVE_PRIOR_FUNCS" = 1; then
40511 cat >>confdefs.h
<<\_ACEOF
40512 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40516 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40517 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40520 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40521 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40522 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40523 echo $ECHO_N "(cached) $ECHO_C" >&6
40525 cat >conftest.
$ac_ext <<_ACEOF
40528 cat confdefs.h
>>conftest.
$ac_ext
40529 cat >>conftest.
$ac_ext <<_ACEOF
40530 /* end confdefs.h. */
40531 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40533 #define pthread_cancel innocuous_pthread_cancel
40535 /* System header to define __stub macros and hopefully few prototypes,
40536 which can conflict with char pthread_cancel (); below.
40537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40538 <limits.h> exists even on freestanding compilers. */
40541 # include <limits.h>
40543 # include <assert.h>
40546 #undef pthread_cancel
40548 /* Override any gcc2 internal prototype to avoid an error. */
40553 /* We use char because int might match the return type of a gcc2
40554 builtin and then its argument prototype would still apply. */
40555 char pthread_cancel ();
40556 /* The GNU C library defines this for functions which it implements
40557 to always fail with ENOSYS. Some functions are actually named
40558 something starting with __ and the normal name is an alias. */
40559 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40562 char (*f) () = pthread_cancel;
40571 return f != pthread_cancel;
40576 rm -f conftest.
$ac_objext conftest
$ac_exeext
40577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40578 (eval $ac_link) 2>conftest.er1
40580 grep -v '^ *+' conftest.er1
>conftest.err
40582 cat conftest.err
>&5
40583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40584 (exit $ac_status); } &&
40585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40587 (eval $ac_try) 2>&5
40589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40590 (exit $ac_status); }; } &&
40591 { ac_try
='test -s conftest$ac_exeext'
40592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40593 (eval $ac_try) 2>&5
40595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40596 (exit $ac_status); }; }; then
40597 ac_cv_func_pthread_cancel
=yes
40599 echo "$as_me: failed program was:" >&5
40600 sed 's/^/| /' conftest.
$ac_ext >&5
40602 ac_cv_func_pthread_cancel
=no
40604 rm -f conftest.err conftest.
$ac_objext \
40605 conftest
$ac_exeext conftest.
$ac_ext
40607 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40608 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40609 if test $ac_cv_func_pthread_cancel = yes; then
40610 cat >>confdefs.h
<<\_ACEOF
40611 #define HAVE_PTHREAD_CANCEL 1
40615 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40616 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40620 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40621 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40622 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40623 echo $ECHO_N "(cached) $ECHO_C" >&6
40625 cat >conftest.
$ac_ext <<_ACEOF
40628 cat confdefs.h
>>conftest.
$ac_ext
40629 cat >>conftest.
$ac_ext <<_ACEOF
40630 /* end confdefs.h. */
40631 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40633 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40635 /* System header to define __stub macros and hopefully few prototypes,
40636 which can conflict with char pthread_attr_setstacksize (); below.
40637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40638 <limits.h> exists even on freestanding compilers. */
40641 # include <limits.h>
40643 # include <assert.h>
40646 #undef pthread_attr_setstacksize
40648 /* Override any gcc2 internal prototype to avoid an error. */
40653 /* We use char because int might match the return type of a gcc2
40654 builtin and then its argument prototype would still apply. */
40655 char pthread_attr_setstacksize ();
40656 /* The GNU C library defines this for functions which it implements
40657 to always fail with ENOSYS. Some functions are actually named
40658 something starting with __ and the normal name is an alias. */
40659 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40662 char (*f) () = pthread_attr_setstacksize;
40671 return f != pthread_attr_setstacksize;
40676 rm -f conftest.
$ac_objext conftest
$ac_exeext
40677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40678 (eval $ac_link) 2>conftest.er1
40680 grep -v '^ *+' conftest.er1
>conftest.err
40682 cat conftest.err
>&5
40683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40684 (exit $ac_status); } &&
40685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40687 (eval $ac_try) 2>&5
40689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40690 (exit $ac_status); }; } &&
40691 { ac_try
='test -s conftest$ac_exeext'
40692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40693 (eval $ac_try) 2>&5
40695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40696 (exit $ac_status); }; }; then
40697 ac_cv_func_pthread_attr_setstacksize
=yes
40699 echo "$as_me: failed program was:" >&5
40700 sed 's/^/| /' conftest.
$ac_ext >&5
40702 ac_cv_func_pthread_attr_setstacksize
=no
40704 rm -f conftest.err conftest.
$ac_objext \
40705 conftest
$ac_exeext conftest.
$ac_ext
40707 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40708 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40709 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40710 cat >>confdefs.h
<<\_ACEOF
40711 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40718 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40719 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40720 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40721 echo $ECHO_N "(cached) $ECHO_C" >&6
40724 cat >conftest.
$ac_ext <<_ACEOF
40727 cat confdefs.h
>>conftest.
$ac_ext
40728 cat >>conftest.
$ac_ext <<_ACEOF
40729 /* end confdefs.h. */
40730 #include <pthread.h>
40735 pthread_mutexattr_t attr;
40736 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40742 rm -f conftest.
$ac_objext
40743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40744 (eval $ac_compile) 2>conftest.er1
40746 grep -v '^ *+' conftest.er1
>conftest.err
40748 cat conftest.err
>&5
40749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40750 (exit $ac_status); } &&
40751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40753 (eval $ac_try) 2>&5
40755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40756 (exit $ac_status); }; } &&
40757 { ac_try
='test -s conftest.$ac_objext'
40758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40759 (eval $ac_try) 2>&5
40761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40762 (exit $ac_status); }; }; then
40763 wx_cv_type_pthread_mutexattr_t
=yes
40765 echo "$as_me: failed program was:" >&5
40766 sed 's/^/| /' conftest.
$ac_ext >&5
40768 wx_cv_type_pthread_mutexattr_t
=no
40771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40774 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40775 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40777 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40778 cat >>confdefs.h
<<\_ACEOF
40779 #define HAVE_PTHREAD_MUTEXATTR_T 1
40783 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40784 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40785 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40786 echo $ECHO_N "(cached) $ECHO_C" >&6
40789 cat >conftest.
$ac_ext <<_ACEOF
40792 cat confdefs.h
>>conftest.
$ac_ext
40793 cat >>conftest.
$ac_ext <<_ACEOF
40794 /* end confdefs.h. */
40795 #include <pthread.h>
40800 pthread_mutexattr_t attr;
40801 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40807 rm -f conftest.
$ac_objext
40808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40809 (eval $ac_compile) 2>conftest.er1
40811 grep -v '^ *+' conftest.er1
>conftest.err
40813 cat conftest.err
>&5
40814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40815 (exit $ac_status); } &&
40816 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40818 (eval $ac_try) 2>&5
40820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40821 (exit $ac_status); }; } &&
40822 { ac_try
='test -s conftest.$ac_objext'
40823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40824 (eval $ac_try) 2>&5
40826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40827 (exit $ac_status); }; }; then
40828 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40830 echo "$as_me: failed program was:" >&5
40831 sed 's/^/| /' conftest.
$ac_ext >&5
40833 wx_cv_func_pthread_mutexattr_settype_decl
=no
40836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40839 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40840 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40841 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40842 cat >>confdefs.h
<<\_ACEOF
40843 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40848 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40849 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40850 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40851 echo $ECHO_N "(cached) $ECHO_C" >&6
40854 cat >conftest.
$ac_ext <<_ACEOF
40857 cat confdefs.h
>>conftest.
$ac_ext
40858 cat >>conftest.
$ac_ext <<_ACEOF
40859 /* end confdefs.h. */
40860 #include <pthread.h>
40865 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40871 rm -f conftest.
$ac_objext
40872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40873 (eval $ac_compile) 2>conftest.er1
40875 grep -v '^ *+' conftest.er1
>conftest.err
40877 cat conftest.err
>&5
40878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40879 (exit $ac_status); } &&
40880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40882 (eval $ac_try) 2>&5
40884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40885 (exit $ac_status); }; } &&
40886 { ac_try
='test -s conftest.$ac_objext'
40887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40888 (eval $ac_try) 2>&5
40890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40891 (exit $ac_status); }; }; then
40893 wx_cv_type_pthread_rec_mutex_init
=yes
40896 echo "$as_me: failed program was:" >&5
40897 sed 's/^/| /' conftest.
$ac_ext >&5
40900 wx_cv_type_pthread_rec_mutex_init
=no
40904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40907 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40908 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40909 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40910 cat >>confdefs.h
<<\_ACEOF
40911 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40915 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40916 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40922 if test "$wxUSE_THREADS" = "yes" ; then
40925 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40926 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40927 if test "${wx_cv_cflags_mthread+set}" = set; then
40928 echo $ECHO_N "(cached) $ECHO_C" >&6
40931 CFLAGS_OLD
="$CFLAGS"
40932 CFLAGS
="-mthreads $CFLAGS"
40933 cat >conftest.
$ac_ext <<_ACEOF
40936 cat confdefs.h
>>conftest.
$ac_ext
40937 cat >>conftest.
$ac_ext <<_ACEOF
40938 /* end confdefs.h. */
40948 rm -f conftest.
$ac_objext
40949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40950 (eval $ac_compile) 2>conftest.er1
40952 grep -v '^ *+' conftest.er1
>conftest.err
40954 cat conftest.err
>&5
40955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40956 (exit $ac_status); } &&
40957 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40959 (eval $ac_try) 2>&5
40961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962 (exit $ac_status); }; } &&
40963 { ac_try
='test -s conftest.$ac_objext'
40964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40965 (eval $ac_try) 2>&5
40967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40968 (exit $ac_status); }; }; then
40969 wx_cv_cflags_mthread
=yes
40971 echo "$as_me: failed program was:" >&5
40972 sed 's/^/| /' conftest.
$ac_ext >&5
40974 wx_cv_cflags_mthread
=no
40977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40981 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40982 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40984 if test "$wx_cv_cflags_mthread" = "yes"; then
40985 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40986 LDFLAGS
="$LDFLAGS -mthreads"
40988 CFLAGS
="$CFLAGS_OLD"
40992 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40993 LDFLAGS
="$LDFLAGS -Zmt"
40999 echo "$as_me:$LINENO: checking for localtime_r" >&5
41000 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
41001 if test "${ac_cv_func_localtime_r+set}" = set; then
41002 echo $ECHO_N "(cached) $ECHO_C" >&6
41004 cat >conftest.
$ac_ext <<_ACEOF
41007 cat confdefs.h
>>conftest.
$ac_ext
41008 cat >>conftest.
$ac_ext <<_ACEOF
41009 /* end confdefs.h. */
41010 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41012 #define localtime_r innocuous_localtime_r
41014 /* System header to define __stub macros and hopefully few prototypes,
41015 which can conflict with char localtime_r (); below.
41016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41017 <limits.h> exists even on freestanding compilers. */
41020 # include <limits.h>
41022 # include <assert.h>
41027 /* Override any gcc2 internal prototype to avoid an error. */
41032 /* We use char because int might match the return type of a gcc2
41033 builtin and then its argument prototype would still apply. */
41034 char localtime_r ();
41035 /* The GNU C library defines this for functions which it implements
41036 to always fail with ENOSYS. Some functions are actually named
41037 something starting with __ and the normal name is an alias. */
41038 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
41041 char (*f) () = localtime_r;
41050 return f != localtime_r;
41055 rm -f conftest.
$ac_objext conftest
$ac_exeext
41056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41057 (eval $ac_link) 2>conftest.er1
41059 grep -v '^ *+' conftest.er1
>conftest.err
41061 cat conftest.err
>&5
41062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41063 (exit $ac_status); } &&
41064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41066 (eval $ac_try) 2>&5
41068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41069 (exit $ac_status); }; } &&
41070 { ac_try
='test -s conftest$ac_exeext'
41071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41072 (eval $ac_try) 2>&5
41074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41075 (exit $ac_status); }; }; then
41076 ac_cv_func_localtime_r
=yes
41078 echo "$as_me: failed program was:" >&5
41079 sed 's/^/| /' conftest.
$ac_ext >&5
41081 ac_cv_func_localtime_r
=no
41083 rm -f conftest.err conftest.
$ac_objext \
41084 conftest
$ac_exeext conftest.
$ac_ext
41086 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41087 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41088 if test $ac_cv_func_localtime_r = yes; then
41089 cat >>confdefs.h
<<\_ACEOF
41090 #define HAVE_LOCALTIME_R 1
41095 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41096 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41097 if test "${ac_cv_func_gmtime_r+set}" = set; then
41098 echo $ECHO_N "(cached) $ECHO_C" >&6
41100 cat >conftest.
$ac_ext <<_ACEOF
41103 cat confdefs.h
>>conftest.
$ac_ext
41104 cat >>conftest.
$ac_ext <<_ACEOF
41105 /* end confdefs.h. */
41106 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41108 #define gmtime_r innocuous_gmtime_r
41110 /* System header to define __stub macros and hopefully few prototypes,
41111 which can conflict with char gmtime_r (); below.
41112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41113 <limits.h> exists even on freestanding compilers. */
41116 # include <limits.h>
41118 # include <assert.h>
41123 /* Override any gcc2 internal prototype to avoid an error. */
41128 /* We use char because int might match the return type of a gcc2
41129 builtin and then its argument prototype would still apply. */
41131 /* The GNU C library defines this for functions which it implements
41132 to always fail with ENOSYS. Some functions are actually named
41133 something starting with __ and the normal name is an alias. */
41134 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41137 char (*f) () = gmtime_r;
41146 return f != gmtime_r;
41151 rm -f conftest.
$ac_objext conftest
$ac_exeext
41152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41153 (eval $ac_link) 2>conftest.er1
41155 grep -v '^ *+' conftest.er1
>conftest.err
41157 cat conftest.err
>&5
41158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41159 (exit $ac_status); } &&
41160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41162 (eval $ac_try) 2>&5
41164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41165 (exit $ac_status); }; } &&
41166 { ac_try
='test -s conftest$ac_exeext'
41167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41168 (eval $ac_try) 2>&5
41170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41171 (exit $ac_status); }; }; then
41172 ac_cv_func_gmtime_r
=yes
41174 echo "$as_me: failed program was:" >&5
41175 sed 's/^/| /' conftest.
$ac_ext >&5
41177 ac_cv_func_gmtime_r
=no
41179 rm -f conftest.err conftest.
$ac_objext \
41180 conftest
$ac_exeext conftest.
$ac_ext
41182 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41183 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41184 if test $ac_cv_func_gmtime_r = yes; then
41185 cat >>confdefs.h
<<\_ACEOF
41186 #define HAVE_GMTIME_R 1
41191 echo "$as_me:$LINENO: checking for readdir_r" >&5
41192 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41193 if test "${ac_cv_func_readdir_r+set}" = set; then
41194 echo $ECHO_N "(cached) $ECHO_C" >&6
41196 cat >conftest.
$ac_ext <<_ACEOF
41199 cat confdefs.h
>>conftest.
$ac_ext
41200 cat >>conftest.
$ac_ext <<_ACEOF
41201 /* end confdefs.h. */
41202 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41204 #define readdir_r innocuous_readdir_r
41206 /* System header to define __stub macros and hopefully few prototypes,
41207 which can conflict with char readdir_r (); below.
41208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41209 <limits.h> exists even on freestanding compilers. */
41212 # include <limits.h>
41214 # include <assert.h>
41219 /* Override any gcc2 internal prototype to avoid an error. */
41224 /* We use char because int might match the return type of a gcc2
41225 builtin and then its argument prototype would still apply. */
41227 /* The GNU C library defines this for functions which it implements
41228 to always fail with ENOSYS. Some functions are actually named
41229 something starting with __ and the normal name is an alias. */
41230 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41233 char (*f) () = readdir_r;
41242 return f != readdir_r;
41247 rm -f conftest.
$ac_objext conftest
$ac_exeext
41248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41249 (eval $ac_link) 2>conftest.er1
41251 grep -v '^ *+' conftest.er1
>conftest.err
41253 cat conftest.err
>&5
41254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41255 (exit $ac_status); } &&
41256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41258 (eval $ac_try) 2>&5
41260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41261 (exit $ac_status); }; } &&
41262 { ac_try
='test -s conftest$ac_exeext'
41263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41264 (eval $ac_try) 2>&5
41266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41267 (exit $ac_status); }; }; then
41268 ac_cv_func_readdir_r
=yes
41270 echo "$as_me: failed program was:" >&5
41271 sed 's/^/| /' conftest.
$ac_ext >&5
41273 ac_cv_func_readdir_r
=no
41275 rm -f conftest.err conftest.
$ac_objext \
41276 conftest
$ac_exeext conftest.
$ac_ext
41278 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41279 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41280 if test $ac_cv_func_readdir_r = yes; then
41281 cat >>confdefs.h
<<\_ACEOF
41282 #define HAVE_READDIR_R 1
41291 ac_cpp
='$CPP $CPPFLAGS'
41292 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41293 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41294 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41296 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41297 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41299 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41300 echo $ECHO_N "(cached) $ECHO_C" >&6
41304 ################################################################
41306 ac_cv_func_which_gethostbyname_r
=unknown
41309 # ONE ARGUMENT (sanity check)
41312 # This should fail, as there is no variant of gethostbyname_r() that takes
41313 # a single argument. If it actually compiles, then we can assume that
41314 # netdb.h is not declaring the function, and the compiler is thereby
41315 # assuming an implicit prototype. In which case, we're out of luck.
41317 cat >conftest.
$ac_ext <<_ACEOF
41320 cat confdefs.h
>>conftest.
$ac_ext
41321 cat >>conftest.
$ac_ext <<_ACEOF
41322 /* end confdefs.h. */
41328 char *name = "www.gnu.org";
41329 (void)gethostbyname_r(name) /* ; */
41335 rm -f conftest.
$ac_objext
41336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41337 (eval $ac_compile) 2>conftest.er1
41339 grep -v '^ *+' conftest.er1
>conftest.err
41341 cat conftest.err
>&5
41342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41343 (exit $ac_status); } &&
41344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41346 (eval $ac_try) 2>&5
41348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41349 (exit $ac_status); }; } &&
41350 { ac_try
='test -s conftest.$ac_objext'
41351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41352 (eval $ac_try) 2>&5
41354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41355 (exit $ac_status); }; }; then
41356 ac_cv_func_which_gethostbyname_r
=no
41358 echo "$as_me: failed program was:" >&5
41359 sed 's/^/| /' conftest.
$ac_ext >&5
41362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41369 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41371 cat >conftest.
$ac_ext <<_ACEOF
41374 cat confdefs.h
>>conftest.
$ac_ext
41375 cat >>conftest.
$ac_ext <<_ACEOF
41376 /* end confdefs.h. */
41382 char *name = "www.gnu.org";
41383 struct hostent ret, *retp;
41387 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41393 rm -f conftest.
$ac_objext
41394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41395 (eval $ac_compile) 2>conftest.er1
41397 grep -v '^ *+' conftest.er1
>conftest.err
41399 cat conftest.err
>&5
41400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41401 (exit $ac_status); } &&
41402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41404 (eval $ac_try) 2>&5
41406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41407 (exit $ac_status); }; } &&
41408 { ac_try
='test -s conftest.$ac_objext'
41409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41410 (eval $ac_try) 2>&5
41412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41413 (exit $ac_status); }; }; then
41414 ac_cv_func_which_gethostbyname_r
=six
41416 echo "$as_me: failed program was:" >&5
41417 sed 's/^/| /' conftest.
$ac_ext >&5
41420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41429 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41431 cat >conftest.
$ac_ext <<_ACEOF
41434 cat confdefs.h
>>conftest.
$ac_ext
41435 cat >>conftest.
$ac_ext <<_ACEOF
41436 /* end confdefs.h. */
41442 char *name = "www.gnu.org";
41443 struct hostent ret;
41447 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41453 rm -f conftest.
$ac_objext
41454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41455 (eval $ac_compile) 2>conftest.er1
41457 grep -v '^ *+' conftest.er1
>conftest.err
41459 cat conftest.err
>&5
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); } &&
41462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41464 (eval $ac_try) 2>&5
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); }; } &&
41468 { ac_try
='test -s conftest.$ac_objext'
41469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41470 (eval $ac_try) 2>&5
41472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473 (exit $ac_status); }; }; then
41474 ac_cv_func_which_gethostbyname_r
=five
41476 echo "$as_me: failed program was:" >&5
41477 sed 's/^/| /' conftest.
$ac_ext >&5
41480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41486 # (e.g. AIX, HP-UX, Tru64)
41489 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41491 cat >conftest.
$ac_ext <<_ACEOF
41494 cat confdefs.h
>>conftest.
$ac_ext
41495 cat >>conftest.
$ac_ext <<_ACEOF
41496 /* end confdefs.h. */
41502 char *name = "www.gnu.org";
41503 struct hostent ret;
41504 struct hostent_data data;
41505 (void)gethostbyname_r(name, &ret, &data) /* ; */
41511 rm -f conftest.
$ac_objext
41512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41513 (eval $ac_compile) 2>conftest.er1
41515 grep -v '^ *+' conftest.er1
>conftest.err
41517 cat conftest.err
>&5
41518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41519 (exit $ac_status); } &&
41520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41522 (eval $ac_try) 2>&5
41524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41525 (exit $ac_status); }; } &&
41526 { ac_try
='test -s conftest.$ac_objext'
41527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41528 (eval $ac_try) 2>&5
41530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41531 (exit $ac_status); }; }; then
41532 ac_cv_func_which_gethostbyname_r
=three
41534 echo "$as_me: failed program was:" >&5
41535 sed 's/^/| /' conftest.
$ac_ext >&5
41538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41542 ################################################################
41547 case "$ac_cv_func_which_gethostbyname_r" in
41549 echo "$as_me:$LINENO: result: three" >&5
41550 echo "${ECHO_T}three" >&6
41551 cat >>confdefs.h
<<\_ACEOF
41552 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41558 echo "$as_me:$LINENO: result: five" >&5
41559 echo "${ECHO_T}five" >&6
41560 cat >>confdefs.h
<<\_ACEOF
41561 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41567 echo "$as_me:$LINENO: result: six" >&5
41568 echo "${ECHO_T}six" >&6
41569 cat >>confdefs.h
<<\_ACEOF
41570 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41576 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41577 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41581 echo "$as_me:$LINENO: result: can't tell" >&5
41582 echo "${ECHO_T}can't tell" >&6
41586 { { echo "$as_me:$LINENO: error: internal error" >&5
41587 echo "$as_me: error: internal error" >&2;}
41588 { (exit 1); exit 1; }; }
41593 ac_cpp
='$CPP $CPPFLAGS'
41594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41600 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41601 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41602 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41603 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41604 if test "${ac_cv_func_gethostbyname+set}" = set; then
41605 echo $ECHO_N "(cached) $ECHO_C" >&6
41607 cat >conftest.
$ac_ext <<_ACEOF
41610 cat confdefs.h
>>conftest.
$ac_ext
41611 cat >>conftest.
$ac_ext <<_ACEOF
41612 /* end confdefs.h. */
41613 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41615 #define gethostbyname innocuous_gethostbyname
41617 /* System header to define __stub macros and hopefully few prototypes,
41618 which can conflict with char gethostbyname (); below.
41619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41620 <limits.h> exists even on freestanding compilers. */
41623 # include <limits.h>
41625 # include <assert.h>
41628 #undef gethostbyname
41630 /* Override any gcc2 internal prototype to avoid an error. */
41635 /* We use char because int might match the return type of a gcc2
41636 builtin and then its argument prototype would still apply. */
41637 char gethostbyname ();
41638 /* The GNU C library defines this for functions which it implements
41639 to always fail with ENOSYS. Some functions are actually named
41640 something starting with __ and the normal name is an alias. */
41641 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41644 char (*f) () = gethostbyname;
41653 return f != gethostbyname;
41658 rm -f conftest.
$ac_objext conftest
$ac_exeext
41659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41660 (eval $ac_link) 2>conftest.er1
41662 grep -v '^ *+' conftest.er1
>conftest.err
41664 cat conftest.err
>&5
41665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41666 (exit $ac_status); } &&
41667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41669 (eval $ac_try) 2>&5
41671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41672 (exit $ac_status); }; } &&
41673 { ac_try
='test -s conftest$ac_exeext'
41674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41675 (eval $ac_try) 2>&5
41677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41678 (exit $ac_status); }; }; then
41679 ac_cv_func_gethostbyname
=yes
41681 echo "$as_me: failed program was:" >&5
41682 sed 's/^/| /' conftest.
$ac_ext >&5
41684 ac_cv_func_gethostbyname
=no
41686 rm -f conftest.err conftest.
$ac_objext \
41687 conftest
$ac_exeext conftest.
$ac_ext
41689 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41690 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41691 if test $ac_cv_func_gethostbyname = yes; then
41692 cat >>confdefs.h
<<\_ACEOF
41693 #define HAVE_GETHOSTBYNAME 1
41700 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41701 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41702 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41703 echo $ECHO_N "(cached) $ECHO_C" >&6
41707 ac_cpp
='$CXXCPP $CPPFLAGS'
41708 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41709 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41710 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41713 cat >conftest.
$ac_ext <<_ACEOF
41716 cat confdefs.h
>>conftest.
$ac_ext
41717 cat >>conftest.
$ac_ext <<_ACEOF
41718 /* end confdefs.h. */
41726 struct servent *se, *res;
41729 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41735 rm -f conftest.
$ac_objext
41736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41737 (eval $ac_compile) 2>conftest.er1
41739 grep -v '^ *+' conftest.er1
>conftest.err
41741 cat conftest.err
>&5
41742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41743 (exit $ac_status); } &&
41744 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41746 (eval $ac_try) 2>&5
41748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41749 (exit $ac_status); }; } &&
41750 { ac_try
='test -s conftest.$ac_objext'
41751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41752 (eval $ac_try) 2>&5
41754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41755 (exit $ac_status); }; }; then
41756 ac_cv_func_which_getservbyname_r
=six
41758 echo "$as_me: failed program was:" >&5
41759 sed 's/^/| /' conftest.
$ac_ext >&5
41762 cat >conftest.
$ac_ext <<_ACEOF
41765 cat confdefs.h
>>conftest.
$ac_ext
41766 cat >>conftest.
$ac_ext <<_ACEOF
41767 /* end confdefs.h. */
41775 struct servent *se;
41778 (void) getservbyname_r(name, proto, se, buffer, buflen)
41784 rm -f conftest.
$ac_objext
41785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41786 (eval $ac_compile) 2>conftest.er1
41788 grep -v '^ *+' conftest.er1
>conftest.err
41790 cat conftest.err
>&5
41791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41792 (exit $ac_status); } &&
41793 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41795 (eval $ac_try) 2>&5
41797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41798 (exit $ac_status); }; } &&
41799 { ac_try
='test -s conftest.$ac_objext'
41800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41801 (eval $ac_try) 2>&5
41803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41804 (exit $ac_status); }; }; then
41805 ac_cv_func_which_getservbyname_r
=five
41807 echo "$as_me: failed program was:" >&5
41808 sed 's/^/| /' conftest.
$ac_ext >&5
41811 cat >conftest.
$ac_ext <<_ACEOF
41814 cat confdefs.h
>>conftest.
$ac_ext
41815 cat >>conftest.
$ac_ext <<_ACEOF
41816 /* end confdefs.h. */
41824 struct servent *se;
41825 struct servent_data data;
41826 (void) getservbyname_r(name, proto, se, &data);
41832 rm -f conftest.
$ac_objext
41833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41834 (eval $ac_compile) 2>conftest.er1
41836 grep -v '^ *+' conftest.er1
>conftest.err
41838 cat conftest.err
>&5
41839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41840 (exit $ac_status); } &&
41841 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41843 (eval $ac_try) 2>&5
41845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41846 (exit $ac_status); }; } &&
41847 { ac_try
='test -s conftest.$ac_objext'
41848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41849 (eval $ac_try) 2>&5
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); }; }; then
41853 ac_cv_func_which_getservbyname_r
=four
41855 echo "$as_me: failed program was:" >&5
41856 sed 's/^/| /' conftest.
$ac_ext >&5
41858 ac_cv_func_which_getservbyname_r
=no
41861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41871 ac_cpp
='$CPP $CPPFLAGS'
41872 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41873 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41874 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41879 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41880 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41882 if test $ac_cv_func_which_getservbyname_r = six
; then
41883 cat >>confdefs.h
<<\_ACEOF
41884 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41887 elif test $ac_cv_func_which_getservbyname_r = five
; then
41888 cat >>confdefs.h
<<\_ACEOF
41889 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41892 elif test $ac_cv_func_which_getservbyname_r = four
; then
41893 cat >>confdefs.h
<<\_ACEOF
41894 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41900 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41901 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41903 for ac_func
in getservbyname
41905 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41906 echo "$as_me:$LINENO: checking for $ac_func" >&5
41907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41908 if eval "test \"\${$as_ac_var+set}\" = set"; then
41909 echo $ECHO_N "(cached) $ECHO_C" >&6
41911 cat >conftest.
$ac_ext <<_ACEOF
41914 cat confdefs.h
>>conftest.
$ac_ext
41915 cat >>conftest.
$ac_ext <<_ACEOF
41916 /* end confdefs.h. */
41917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41919 #define $ac_func innocuous_$ac_func
41921 /* System header to define __stub macros and hopefully few prototypes,
41922 which can conflict with char $ac_func (); below.
41923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41924 <limits.h> exists even on freestanding compilers. */
41927 # include <limits.h>
41929 # include <assert.h>
41934 /* Override any gcc2 internal prototype to avoid an error. */
41939 /* We use char because int might match the return type of a gcc2
41940 builtin and then its argument prototype would still apply. */
41942 /* The GNU C library defines this for functions which it implements
41943 to always fail with ENOSYS. Some functions are actually named
41944 something starting with __ and the normal name is an alias. */
41945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41948 char (*f) () = $ac_func;
41957 return f != $ac_func;
41962 rm -f conftest.
$ac_objext conftest
$ac_exeext
41963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41964 (eval $ac_link) 2>conftest.er1
41966 grep -v '^ *+' conftest.er1
>conftest.err
41968 cat conftest.err
>&5
41969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41970 (exit $ac_status); } &&
41971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41973 (eval $ac_try) 2>&5
41975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41976 (exit $ac_status); }; } &&
41977 { ac_try
='test -s conftest$ac_exeext'
41978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41979 (eval $ac_try) 2>&5
41981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41982 (exit $ac_status); }; }; then
41983 eval "$as_ac_var=yes"
41985 echo "$as_me: failed program was:" >&5
41986 sed 's/^/| /' conftest.
$ac_ext >&5
41988 eval "$as_ac_var=no"
41990 rm -f conftest.err conftest.
$ac_objext \
41991 conftest
$ac_exeext conftest.
$ac_ext
41993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41995 if test `eval echo '${'$as_ac_var'}'` = yes; then
41996 cat >>confdefs.h
<<_ACEOF
41997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41999 cat >>confdefs.h
<<\_ACEOF
42000 #define HAVE_GETSERVBYNAME 1
42008 if test "$wxUSE_THREADS" = "yes"; then
42009 cat >>confdefs.h
<<\_ACEOF
42010 #define wxUSE_THREADS 1
42014 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
42016 if test "$wx_cv_func_strtok_r" = "yes"; then
42017 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42018 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
42019 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42020 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42021 echo "$as_me:$LINENO: result: yes" >&5
42022 echo "${ECHO_T}yes" >&6
42024 echo "$as_me:$LINENO: result: no" >&5
42025 echo "${ECHO_T}no" >&6
42030 if test "$WXGTK20" = 1 ; then
42031 cat >>confdefs.h
<<_ACEOF
42032 #define __WXGTK20__ $WXGTK20
42038 if test "$WXGTK12" = 1 ; then
42039 cat >>confdefs.h
<<_ACEOF
42040 #define __WXGTK12__ $WXGTK12
42045 if test "$WXGTK127" = 1 ; then
42046 cat >>confdefs.h
<<_ACEOF
42047 #define __WXGTK127__ $WXGTK127
42052 if test "$WXGPE" = 1 ; then
42053 cat >>confdefs.h
<<_ACEOF
42054 #define __WXGPE__ $WXGPE
42060 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42065 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42066 wxUSE_DEBUG_INFO
=yes
42067 if test "$GCC" = yes; then
42068 DEBUG_CFLAGS
="-ggdb"
42072 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42073 cat >>confdefs.h
<<\_ACEOF
42077 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42079 if test "$wxUSE_GTK" = 1 ; then
42080 if test "x$wxGTK_VERSION" = "x1" ; then
42081 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42086 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42087 cat >>confdefs.h
<<\_ACEOF
42088 #define wxUSE_MEMORY_TRACING 1
42091 cat >>confdefs.h
<<\_ACEOF
42092 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42095 cat >>confdefs.h
<<\_ACEOF
42096 #define wxUSE_DEBUG_NEW_ALWAYS 1
42099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
42102 if test "$wxUSE_DMALLOC" = "yes" ; then
42103 DMALLOC_LIBS
="-ldmallocthcxx"
42107 if test "$wxUSE_PROFILE" = "yes" ; then
42108 PROFILE_FLAGS
=" -pg"
42111 if test "$GCC" = "yes" ; then
42112 if test "$wxUSE_NO_RTTI" = "yes" ; then
42113 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
42115 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42116 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
42118 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42119 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
42124 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
42127 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
42133 if test "$wxUSE_OPTIMISE" = "no" ; then
42134 if test "$GCC" = yes ; then
42135 OPTIMISE_CFLAGS
="-O0"
42138 if test "$GCC" = yes ; then
42140 *-pc-os2_emx | *-pc-os2-emx )
42141 OPTIMISE_CFLAGS
="-O2"
42144 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
42148 OPTIMISE_CFLAGS
="-O"
42153 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
42154 cat >>confdefs.h
<<\_ACEOF
42155 #define WXWIN_COMPATIBILITY_2_4 1
42159 WXWIN_COMPATIBILITY_2_6
="yes"
42162 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
42163 cat >>confdefs.h
<<\_ACEOF
42164 #define WXWIN_COMPATIBILITY_2_6 1
42170 if test "$wxUSE_GUI" = "yes"; then
42171 cat >>confdefs.h
<<\_ACEOF
42172 #define wxUSE_GUI 1
42179 if test "$wxUSE_UNIX" = "yes"; then
42180 cat >>confdefs.h
<<\_ACEOF
42181 #define wxUSE_UNIX 1
42187 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42191 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42192 if test "$USE_DARWIN" = 1; then
42194 elif test "$USE_DOS" = 1; then
42198 for ac_func
in dlopen
42200 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42201 echo "$as_me:$LINENO: checking for $ac_func" >&5
42202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42203 if eval "test \"\${$as_ac_var+set}\" = set"; then
42204 echo $ECHO_N "(cached) $ECHO_C" >&6
42206 cat >conftest.
$ac_ext <<_ACEOF
42209 cat confdefs.h
>>conftest.
$ac_ext
42210 cat >>conftest.
$ac_ext <<_ACEOF
42211 /* end confdefs.h. */
42212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42214 #define $ac_func innocuous_$ac_func
42216 /* System header to define __stub macros and hopefully few prototypes,
42217 which can conflict with char $ac_func (); below.
42218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42219 <limits.h> exists even on freestanding compilers. */
42222 # include <limits.h>
42224 # include <assert.h>
42229 /* Override any gcc2 internal prototype to avoid an error. */
42234 /* We use char because int might match the return type of a gcc2
42235 builtin and then its argument prototype would still apply. */
42237 /* The GNU C library defines this for functions which it implements
42238 to always fail with ENOSYS. Some functions are actually named
42239 something starting with __ and the normal name is an alias. */
42240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42243 char (*f) () = $ac_func;
42252 return f != $ac_func;
42257 rm -f conftest.
$ac_objext conftest
$ac_exeext
42258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42259 (eval $ac_link) 2>conftest.er1
42261 grep -v '^ *+' conftest.er1
>conftest.err
42263 cat conftest.err
>&5
42264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42265 (exit $ac_status); } &&
42266 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42268 (eval $ac_try) 2>&5
42270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42271 (exit $ac_status); }; } &&
42272 { ac_try
='test -s conftest$ac_exeext'
42273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42274 (eval $ac_try) 2>&5
42276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42277 (exit $ac_status); }; }; then
42278 eval "$as_ac_var=yes"
42280 echo "$as_me: failed program was:" >&5
42281 sed 's/^/| /' conftest.
$ac_ext >&5
42283 eval "$as_ac_var=no"
42285 rm -f conftest.err conftest.
$ac_objext \
42286 conftest
$ac_exeext conftest.
$ac_ext
42288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42290 if test `eval echo '${'$as_ac_var'}'` = yes; then
42291 cat >>confdefs.h
<<_ACEOF
42292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42295 cat >>confdefs.h
<<\_ACEOF
42296 #define HAVE_DLOPEN 1
42303 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42304 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42305 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42306 echo $ECHO_N "(cached) $ECHO_C" >&6
42308 ac_check_lib_save_LIBS
=$LIBS
42310 cat >conftest.
$ac_ext <<_ACEOF
42313 cat confdefs.h
>>conftest.
$ac_ext
42314 cat >>conftest.
$ac_ext <<_ACEOF
42315 /* end confdefs.h. */
42317 /* Override any gcc2 internal prototype to avoid an error. */
42321 /* We use char because int might match the return type of a gcc2
42322 builtin and then its argument prototype would still apply. */
42332 rm -f conftest.
$ac_objext conftest
$ac_exeext
42333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42334 (eval $ac_link) 2>conftest.er1
42336 grep -v '^ *+' conftest.er1
>conftest.err
42338 cat conftest.err
>&5
42339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42340 (exit $ac_status); } &&
42341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42343 (eval $ac_try) 2>&5
42345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42346 (exit $ac_status); }; } &&
42347 { ac_try
='test -s conftest$ac_exeext'
42348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42349 (eval $ac_try) 2>&5
42351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42352 (exit $ac_status); }; }; then
42353 ac_cv_lib_dl_dlopen
=yes
42355 echo "$as_me: failed program was:" >&5
42356 sed 's/^/| /' conftest.
$ac_ext >&5
42358 ac_cv_lib_dl_dlopen
=no
42360 rm -f conftest.err conftest.
$ac_objext \
42361 conftest
$ac_exeext conftest.
$ac_ext
42362 LIBS
=$ac_check_lib_save_LIBS
42364 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42365 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42366 if test $ac_cv_lib_dl_dlopen = yes; then
42368 cat >>confdefs.h
<<\_ACEOF
42369 #define HAVE_DLOPEN 1
42373 DL_LINK
=" -ldl$DL_LINK"
42378 for ac_func
in shl_load
42380 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42381 echo "$as_me:$LINENO: checking for $ac_func" >&5
42382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42383 if eval "test \"\${$as_ac_var+set}\" = set"; then
42384 echo $ECHO_N "(cached) $ECHO_C" >&6
42386 cat >conftest.
$ac_ext <<_ACEOF
42389 cat confdefs.h
>>conftest.
$ac_ext
42390 cat >>conftest.
$ac_ext <<_ACEOF
42391 /* end confdefs.h. */
42392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42394 #define $ac_func innocuous_$ac_func
42396 /* System header to define __stub macros and hopefully few prototypes,
42397 which can conflict with char $ac_func (); below.
42398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42399 <limits.h> exists even on freestanding compilers. */
42402 # include <limits.h>
42404 # include <assert.h>
42409 /* Override any gcc2 internal prototype to avoid an error. */
42414 /* We use char because int might match the return type of a gcc2
42415 builtin and then its argument prototype would still apply. */
42417 /* The GNU C library defines this for functions which it implements
42418 to always fail with ENOSYS. Some functions are actually named
42419 something starting with __ and the normal name is an alias. */
42420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42423 char (*f) () = $ac_func;
42432 return f != $ac_func;
42437 rm -f conftest.
$ac_objext conftest
$ac_exeext
42438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42439 (eval $ac_link) 2>conftest.er1
42441 grep -v '^ *+' conftest.er1
>conftest.err
42443 cat conftest.err
>&5
42444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42445 (exit $ac_status); } &&
42446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42448 (eval $ac_try) 2>&5
42450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42451 (exit $ac_status); }; } &&
42452 { ac_try
='test -s conftest$ac_exeext'
42453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42454 (eval $ac_try) 2>&5
42456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42457 (exit $ac_status); }; }; then
42458 eval "$as_ac_var=yes"
42460 echo "$as_me: failed program was:" >&5
42461 sed 's/^/| /' conftest.
$ac_ext >&5
42463 eval "$as_ac_var=no"
42465 rm -f conftest.err conftest.
$ac_objext \
42466 conftest
$ac_exeext conftest.
$ac_ext
42468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42470 if test `eval echo '${'$as_ac_var'}'` = yes; then
42471 cat >>confdefs.h
<<_ACEOF
42472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42475 cat >>confdefs.h
<<\_ACEOF
42476 #define HAVE_SHL_LOAD 1
42483 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42484 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42485 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42486 echo $ECHO_N "(cached) $ECHO_C" >&6
42488 ac_check_lib_save_LIBS
=$LIBS
42489 LIBS
="-lshl_load $LIBS"
42490 cat >conftest.
$ac_ext <<_ACEOF
42493 cat confdefs.h
>>conftest.
$ac_ext
42494 cat >>conftest.
$ac_ext <<_ACEOF
42495 /* end confdefs.h. */
42497 /* Override any gcc2 internal prototype to avoid an error. */
42501 /* We use char because int might match the return type of a gcc2
42502 builtin and then its argument prototype would still apply. */
42512 rm -f conftest.
$ac_objext conftest
$ac_exeext
42513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42514 (eval $ac_link) 2>conftest.er1
42516 grep -v '^ *+' conftest.er1
>conftest.err
42518 cat conftest.err
>&5
42519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42520 (exit $ac_status); } &&
42521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42523 (eval $ac_try) 2>&5
42525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42526 (exit $ac_status); }; } &&
42527 { ac_try
='test -s conftest$ac_exeext'
42528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42529 (eval $ac_try) 2>&5
42531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42532 (exit $ac_status); }; }; then
42533 ac_cv_lib_shl_load_dld
=yes
42535 echo "$as_me: failed program was:" >&5
42536 sed 's/^/| /' conftest.
$ac_ext >&5
42538 ac_cv_lib_shl_load_dld
=no
42540 rm -f conftest.err conftest.
$ac_objext \
42541 conftest
$ac_exeext conftest.
$ac_ext
42542 LIBS
=$ac_check_lib_save_LIBS
42544 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42545 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42546 if test $ac_cv_lib_shl_load_dld = yes; then
42549 DL_LINK
=" -ldld$DL_LINK"
42565 if test "$HAVE_DL_FUNCS" = 1; then
42567 for ac_func
in dlerror
42569 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42570 echo "$as_me:$LINENO: checking for $ac_func" >&5
42571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42572 if eval "test \"\${$as_ac_var+set}\" = set"; then
42573 echo $ECHO_N "(cached) $ECHO_C" >&6
42575 cat >conftest.
$ac_ext <<_ACEOF
42578 cat confdefs.h
>>conftest.
$ac_ext
42579 cat >>conftest.
$ac_ext <<_ACEOF
42580 /* end confdefs.h. */
42581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42583 #define $ac_func innocuous_$ac_func
42585 /* System header to define __stub macros and hopefully few prototypes,
42586 which can conflict with char $ac_func (); below.
42587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42588 <limits.h> exists even on freestanding compilers. */
42591 # include <limits.h>
42593 # include <assert.h>
42598 /* Override any gcc2 internal prototype to avoid an error. */
42603 /* We use char because int might match the return type of a gcc2
42604 builtin and then its argument prototype would still apply. */
42606 /* The GNU C library defines this for functions which it implements
42607 to always fail with ENOSYS. Some functions are actually named
42608 something starting with __ and the normal name is an alias. */
42609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42612 char (*f) () = $ac_func;
42621 return f != $ac_func;
42626 rm -f conftest.
$ac_objext conftest
$ac_exeext
42627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42628 (eval $ac_link) 2>conftest.er1
42630 grep -v '^ *+' conftest.er1
>conftest.err
42632 cat conftest.err
>&5
42633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42634 (exit $ac_status); } &&
42635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42637 (eval $ac_try) 2>&5
42639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42640 (exit $ac_status); }; } &&
42641 { ac_try
='test -s conftest$ac_exeext'
42642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42643 (eval $ac_try) 2>&5
42645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42646 (exit $ac_status); }; }; then
42647 eval "$as_ac_var=yes"
42649 echo "$as_me: failed program was:" >&5
42650 sed 's/^/| /' conftest.
$ac_ext >&5
42652 eval "$as_ac_var=no"
42654 rm -f conftest.err conftest.
$ac_objext \
42655 conftest
$ac_exeext conftest.
$ac_ext
42657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42659 if test `eval echo '${'$as_ac_var'}'` = yes; then
42660 cat >>confdefs.h
<<_ACEOF
42661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42663 cat >>confdefs.h
<<\_ACEOF
42664 #define HAVE_DLERROR 1
42669 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42670 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42671 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42672 echo $ECHO_N "(cached) $ECHO_C" >&6
42674 ac_check_lib_save_LIBS
=$LIBS
42676 cat >conftest.
$ac_ext <<_ACEOF
42679 cat confdefs.h
>>conftest.
$ac_ext
42680 cat >>conftest.
$ac_ext <<_ACEOF
42681 /* end confdefs.h. */
42683 /* Override any gcc2 internal prototype to avoid an error. */
42687 /* We use char because int might match the return type of a gcc2
42688 builtin and then its argument prototype would still apply. */
42698 rm -f conftest.
$ac_objext conftest
$ac_exeext
42699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42700 (eval $ac_link) 2>conftest.er1
42702 grep -v '^ *+' conftest.er1
>conftest.err
42704 cat conftest.err
>&5
42705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42706 (exit $ac_status); } &&
42707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42709 (eval $ac_try) 2>&5
42711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42712 (exit $ac_status); }; } &&
42713 { ac_try
='test -s conftest$ac_exeext'
42714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42715 (eval $ac_try) 2>&5
42717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42718 (exit $ac_status); }; }; then
42719 ac_cv_lib_dl_dlerror
=yes
42721 echo "$as_me: failed program was:" >&5
42722 sed 's/^/| /' conftest.
$ac_ext >&5
42724 ac_cv_lib_dl_dlerror
=no
42726 rm -f conftest.err conftest.
$ac_objext \
42727 conftest
$ac_exeext conftest.
$ac_ext
42728 LIBS
=$ac_check_lib_save_LIBS
42730 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42731 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42732 if test $ac_cv_lib_dl_dlerror = yes; then
42733 cat >>confdefs.h
<<\_ACEOF
42734 #define HAVE_DLERROR 1
42747 if test "$HAVE_DL_FUNCS" = 0; then
42748 if test "$HAVE_SHL_FUNCS" = 0; then
42749 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42750 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42751 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42752 wxUSE_DYNAMIC_LOADER
=no
42753 wxUSE_DYNLIB_CLASS
=no
42755 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42756 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42763 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42764 cat >>confdefs.h
<<\_ACEOF
42765 #define wxUSE_DYNAMIC_LOADER 1
42769 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42770 cat >>confdefs.h
<<\_ACEOF
42771 #define wxUSE_DYNLIB_CLASS 1
42778 if test "$wxUSE_PLUGINS" = "yes" ; then
42779 if test "$wxUSE_SHARED" = "no" ; then
42780 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42781 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42784 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42785 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42786 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42789 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42790 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42791 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42794 if test "$wxUSE_PLUGINS" = "yes" ; then
42795 cat >>confdefs.h
<<\_ACEOF
42796 #define wxUSE_PLUGINS 1
42803 if test "$wxUSE_STL" = "yes"; then
42804 cat >>confdefs.h
<<\_ACEOF
42805 #define wxUSE_STL 1
42810 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42811 cat >>confdefs.h
<<\_ACEOF
42812 #define wxUSE_APPLE_IEEE 1
42817 if test "$wxUSE_TIMER" = "yes"; then
42818 cat >>confdefs.h
<<\_ACEOF
42819 #define wxUSE_TIMER 1
42824 if test "$USE_UNIX" = "1" ; then
42825 if test "$wxUSE_MGL" != 1; then
42826 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42827 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42828 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42829 echo $ECHO_N "(cached) $ECHO_C" >&6
42832 cat >conftest.
$ac_ext <<_ACEOF
42835 cat confdefs.h
>>conftest.
$ac_ext
42836 cat >>conftest.
$ac_ext <<_ACEOF
42837 /* end confdefs.h. */
42839 #include <sys/ioctl.h>
42840 #include <sys/soundcard.h>
42846 ioctl(0, SNDCTL_DSP_SPEED, 0);
42852 rm -f conftest.
$ac_objext conftest
$ac_exeext
42853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42854 (eval $ac_link) 2>conftest.er1
42856 grep -v '^ *+' conftest.er1
>conftest.err
42858 cat conftest.err
>&5
42859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42860 (exit $ac_status); } &&
42861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42863 (eval $ac_try) 2>&5
42865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42866 (exit $ac_status); }; } &&
42867 { ac_try
='test -s conftest$ac_exeext'
42868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42869 (eval $ac_try) 2>&5
42871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42872 (exit $ac_status); }; }; then
42873 ac_cv_header_sys_soundcard
=yes
42875 echo "$as_me: failed program was:" >&5
42876 sed 's/^/| /' conftest.
$ac_ext >&5
42880 LIBS
="$saveLibs -lossaudio"
42881 cat >conftest.
$ac_ext <<_ACEOF
42884 cat confdefs.h
>>conftest.
$ac_ext
42885 cat >>conftest.
$ac_ext <<_ACEOF
42886 /* end confdefs.h. */
42888 #include <sys/ioctl.h>
42889 #include <sys/soundcard.h>
42895 ioctl(0, SNDCTL_DSP_SPEED, 0);
42901 rm -f conftest.
$ac_objext conftest
$ac_exeext
42902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42903 (eval $ac_link) 2>conftest.er1
42905 grep -v '^ *+' conftest.er1
>conftest.err
42907 cat conftest.err
>&5
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); } &&
42910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
42916 { ac_try
='test -s conftest$ac_exeext'
42917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42918 (eval $ac_try) 2>&5
42920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42921 (exit $ac_status); }; }; then
42922 ac_cv_header_sys_soundcard
=yes
42924 echo "$as_me: failed program was:" >&5
42925 sed 's/^/| /' conftest.
$ac_ext >&5
42929 ac_cv_header_sys_soundcard
=no
42933 rm -f conftest.err conftest.
$ac_objext \
42934 conftest
$ac_exeext conftest.
$ac_ext
42938 rm -f conftest.err conftest.
$ac_objext \
42939 conftest
$ac_exeext conftest.
$ac_ext
42942 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42943 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42946 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42947 cat >>confdefs.h
<<\_ACEOF
42948 #define HAVE_SYS_SOUNDCARD_H 1
42952 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42957 if test "$wxUSE_SOUND" = "yes"; then
42958 if test "$USE_UNIX" = "1" ; then
42959 if test "$wxUSE_LIBSDL" != "no"; then
42961 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42962 if test "${with_sdl_prefix+set}" = set; then
42963 withval
="$with_sdl_prefix"
42964 sdl_prefix
="$withval"
42969 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42970 if test "${with_sdl_exec_prefix+set}" = set; then
42971 withval
="$with_sdl_exec_prefix"
42972 sdl_exec_prefix
="$withval"
42976 # Check whether --enable-sdltest or --disable-sdltest was given.
42977 if test "${enable_sdltest+set}" = set; then
42978 enableval
="$enable_sdltest"
42984 if test x
$sdl_exec_prefix != x
; then
42985 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42986 if test x
${SDL_CONFIG+set} != xset
; then
42987 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42990 if test x
$sdl_prefix != x
; then
42991 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42992 if test x
${SDL_CONFIG+set} != xset
; then
42993 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42997 if test "x$prefix" != xNONE
; then
42998 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
43000 # Extract the first word of "sdl-config", so it can be a program name with args.
43001 set dummy sdl
-config; ac_word
=$2
43002 echo "$as_me:$LINENO: checking for $ac_word" >&5
43003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43004 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43005 echo $ECHO_N "(cached) $ECHO_C" >&6
43007 case $SDL_CONFIG in
43009 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
43012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43013 for as_dir
in $PATH
43016 test -z "$as_dir" && as_dir
=.
43017 for ac_exec_ext
in '' $ac_executable_extensions; do
43018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43019 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43026 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
43030 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
43032 if test -n "$SDL_CONFIG"; then
43033 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43034 echo "${ECHO_T}$SDL_CONFIG" >&6
43036 echo "$as_me:$LINENO: result: no" >&5
43037 echo "${ECHO_T}no" >&6
43040 min_sdl_version
=1.2.0
43041 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43042 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
43044 if test "$SDL_CONFIG" = "no" ; then
43047 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
43048 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
43050 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
43051 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43052 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
43053 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43054 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
43055 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43056 if test "x$enable_sdltest" = "xyes" ; then
43057 ac_save_CFLAGS
="$CFLAGS"
43058 ac_save_CXXFLAGS
="$CXXFLAGS"
43059 ac_save_LIBS
="$LIBS"
43060 CFLAGS
="$CFLAGS $SDL_CFLAGS"
43061 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
43062 LIBS
="$LIBS $SDL_LIBS"
43064 if test "$cross_compiling" = yes; then
43065 echo $ac_n "cross compiling; assumed OK... $ac_c"
43067 cat >conftest.
$ac_ext <<_ACEOF
43070 cat confdefs.h
>>conftest.
$ac_ext
43071 cat >>conftest.
$ac_ext <<_ACEOF
43072 /* end confdefs.h. */
43075 #include <stdlib.h>
43076 #include <string.h>
43080 my_strdup (char *str)
43086 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43087 strcpy (new_str, str);
43095 int main (int argc, char *argv[])
43097 int major, minor, micro;
43100 /* This hangs on some systems (?)
43101 system ("touch conf.sdltest");
43103 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43105 /* HP/UX 9 (%@#!) writes to sscanf strings */
43106 tmp_version = my_strdup("$min_sdl_version");
43107 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43108 printf("%s, bad version string\n", "$min_sdl_version");
43112 if (($sdl_major_version > major) ||
43113 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43114 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43120 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43121 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43122 printf("*** best to upgrade to the required version.\n");
43123 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43124 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43125 printf("*** config.cache before re-running configure\n");
43132 rm -f conftest
$ac_exeext
43133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43134 (eval $ac_link) 2>&5
43136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43137 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43139 (eval $ac_try) 2>&5
43141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43142 (exit $ac_status); }; }; then
43145 echo "$as_me: program exited with status $ac_status" >&5
43146 echo "$as_me: failed program was:" >&5
43147 sed 's/^/| /' conftest.
$ac_ext >&5
43149 ( exit $ac_status )
43152 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
43154 CFLAGS
="$ac_save_CFLAGS"
43155 CXXFLAGS
="$ac_save_CXXFLAGS"
43156 LIBS
="$ac_save_LIBS"
43159 if test "x$no_sdl" = x
; then
43160 echo "$as_me:$LINENO: result: yes" >&5
43161 echo "${ECHO_T}yes" >&6
43163 EXTRALIBS_SDL
="$SDL_LIBS"
43164 CFLAGS
="$SDL_CFLAGS $CFLAGS"
43165 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
43166 cat >>confdefs.h
<<\_ACEOF
43167 #define wxUSE_LIBSDL 1
43172 echo "$as_me:$LINENO: result: no" >&5
43173 echo "${ECHO_T}no" >&6
43174 if test "$SDL_CONFIG" = "no" ; then
43175 echo "*** The sdl-config script installed by SDL could not be found"
43176 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43177 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43178 echo "*** full path to sdl-config."
43180 if test -f conf.sdltest
; then
43183 echo "*** Could not run SDL test program, checking why..."
43184 CFLAGS
="$CFLAGS $SDL_CFLAGS"
43185 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
43186 LIBS
="$LIBS $SDL_LIBS"
43187 cat >conftest.
$ac_ext <<_ACEOF
43190 cat confdefs.h
>>conftest.
$ac_ext
43191 cat >>conftest.
$ac_ext <<_ACEOF
43192 /* end confdefs.h. */
43197 int main(int argc, char *argv[])
43200 #define main K_and_R_C_main
43210 rm -f conftest.
$ac_objext conftest
$ac_exeext
43211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43212 (eval $ac_link) 2>conftest.er1
43214 grep -v '^ *+' conftest.er1
>conftest.err
43216 cat conftest.err
>&5
43217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43218 (exit $ac_status); } &&
43219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43221 (eval $ac_try) 2>&5
43223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43224 (exit $ac_status); }; } &&
43225 { ac_try
='test -s conftest$ac_exeext'
43226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43227 (eval $ac_try) 2>&5
43229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43230 (exit $ac_status); }; }; then
43231 echo "*** The test program compiled, but did not run. This usually means"
43232 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43233 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43234 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43235 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43236 echo "*** is required on your system"
43238 echo "*** If you have an old version installed, it is best to remove it, although"
43239 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43241 echo "$as_me: failed program was:" >&5
43242 sed 's/^/| /' conftest.
$ac_ext >&5
43244 echo "*** The test program failed to compile or link. See the file config.log for the"
43245 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43246 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43247 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43249 rm -f conftest.err conftest.
$ac_objext \
43250 conftest
$ac_exeext conftest.
$ac_ext
43251 CFLAGS
="$ac_save_CFLAGS"
43252 CXXFLAGS
="$ac_save_CXXFLAGS"
43253 LIBS
="$ac_save_LIBS"
43264 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43269 if test "$wxUSE_MGL" = 1; then
43270 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43271 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43277 if test "$wxUSE_SOUND" = "yes"; then
43278 cat >>confdefs.h
<<\_ACEOF
43279 #define wxUSE_SOUND 1
43282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43285 if test "$WXGTK20" = 1; then
43288 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43289 if test -n "$ac_tool_prefix"; then
43290 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43291 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43292 echo "$as_me:$LINENO: checking for $ac_word" >&5
43293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43294 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43295 echo $ECHO_N "(cached) $ECHO_C" >&6
43297 case $PKG_CONFIG in
43299 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43303 for as_dir
in $PATH
43306 test -z "$as_dir" && as_dir
=.
43307 for ac_exec_ext
in '' $ac_executable_extensions; do
43308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43309 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43319 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43321 if test -n "$PKG_CONFIG"; then
43322 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43323 echo "${ECHO_T}$PKG_CONFIG" >&6
43325 echo "$as_me:$LINENO: result: no" >&5
43326 echo "${ECHO_T}no" >&6
43330 if test -z "$ac_cv_path_PKG_CONFIG"; then
43331 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43332 # Extract the first word of "pkg-config", so it can be a program name with args.
43333 set dummy pkg
-config; ac_word
=$2
43334 echo "$as_me:$LINENO: checking for $ac_word" >&5
43335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43336 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43337 echo $ECHO_N "(cached) $ECHO_C" >&6
43339 case $ac_pt_PKG_CONFIG in
43341 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43345 for as_dir
in $PATH
43348 test -z "$as_dir" && as_dir
=.
43349 for ac_exec_ext
in '' $ac_executable_extensions; do
43350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43351 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43361 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43363 if test -n "$ac_pt_PKG_CONFIG"; then
43364 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43365 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
43367 echo "$as_me:$LINENO: result: no" >&5
43368 echo "${ECHO_T}no" >&6
43371 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43373 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43377 if test -n "$PKG_CONFIG"; then
43378 _pkg_min_version
=0.9.0
43379 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43380 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
43381 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43382 echo "$as_me:$LINENO: result: yes" >&5
43383 echo "${ECHO_T}yes" >&6
43385 echo "$as_me:$LINENO: result: no" >&5
43386 echo "${ECHO_T}no" >&6
43392 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43393 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43397 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43398 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43400 if test -n "$PKG_CONFIG"; then
43401 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43402 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43404 if test -n "$PKG_CONFIG" && \
43405 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43406 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43409 (exit $ac_status); }; then
43410 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43418 if test -n "$PKG_CONFIG"; then
43419 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43420 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43422 if test -n "$PKG_CONFIG" && \
43423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43424 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43427 (exit $ac_status); }; then
43428 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43439 if test $pkg_failed = yes; then
43441 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43442 _pkg_short_errors_supported
=yes
43444 _pkg_short_errors_supported
=no
43446 if test $_pkg_short_errors_supported = yes; then
43447 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43449 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43451 # Put the nasty error message in config.log where it belongs
43452 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43455 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43456 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43457 wxUSE_LIBGNOMEPRINT
="no"
43460 elif test $pkg_failed = untried
; then
43462 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43463 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43464 wxUSE_LIBGNOMEPRINT
="no"
43468 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43469 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43470 echo "$as_me:$LINENO: result: yes" >&5
43471 echo "${ECHO_T}yes" >&6
43473 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43474 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43475 cat >>confdefs.h
<<\_ACEOF
43476 #define wxUSE_LIBGNOMEPRINT 1
43484 if test "$wxUSE_MIMETYPE" = "yes" ; then
43485 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43489 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43490 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43492 if test -n "$PKG_CONFIG"; then
43493 if test -n "$GNOMEVFS_CFLAGS"; then
43494 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43496 if test -n "$PKG_CONFIG" && \
43497 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43498 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43501 (exit $ac_status); }; then
43502 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43510 if test -n "$PKG_CONFIG"; then
43511 if test -n "$GNOMEVFS_LIBS"; then
43512 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43514 if test -n "$PKG_CONFIG" && \
43515 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43516 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43519 (exit $ac_status); }; then
43520 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43531 if test $pkg_failed = yes; then
43533 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43534 _pkg_short_errors_supported
=yes
43536 _pkg_short_errors_supported
=no
43538 if test $_pkg_short_errors_supported = yes; then
43539 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43541 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43543 # Put the nasty error message in config.log where it belongs
43544 echo "$GNOMEVFS_PKG_ERRORS" >&5
43547 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43548 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43549 wxUSE_LIBGNOMEVFS
="no"
43552 elif test $pkg_failed = untried
; then
43554 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43555 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43556 wxUSE_LIBGNOMEVFS
="no"
43560 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43561 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43562 echo "$as_me:$LINENO: result: yes" >&5
43563 echo "${ECHO_T}yes" >&6
43565 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43566 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43567 cat >>confdefs.h
<<\_ACEOF
43568 #define wxUSE_LIBGNOMEVFS 1
43576 if test "$wxUSE_LIBHILDON" = "yes" ; then
43579 echo "$as_me:$LINENO: checking for HILDON" >&5
43580 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43582 if test -n "$PKG_CONFIG"; then
43583 if test -n "$HILDON_CFLAGS"; then
43584 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43586 if test -n "$PKG_CONFIG" && \
43587 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43588 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43591 (exit $ac_status); }; then
43592 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43600 if test -n "$PKG_CONFIG"; then
43601 if test -n "$HILDON_LIBS"; then
43602 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43604 if test -n "$PKG_CONFIG" && \
43605 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43606 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43609 (exit $ac_status); }; then
43610 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43621 if test $pkg_failed = yes; then
43623 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43624 _pkg_short_errors_supported
=yes
43626 _pkg_short_errors_supported
=no
43628 if test $_pkg_short_errors_supported = yes; then
43629 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43631 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43633 # Put the nasty error message in config.log where it belongs
43634 echo "$HILDON_PKG_ERRORS" >&5
43637 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43638 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43639 wxUSE_LIBHILDON
="no"
43642 elif test $pkg_failed = untried
; then
43644 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43645 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43646 wxUSE_LIBHILDON
="no"
43650 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43651 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43652 echo "$as_me:$LINENO: result: yes" >&5
43653 echo "${ECHO_T}yes" >&6
43655 EXTRALIBS_HILDON
="$HILDON_LIBS"
43656 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43657 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43658 cat >>confdefs.h
<<\_ACEOF
43659 #define wxUSE_LIBHILDON 1
43667 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43668 cat >>confdefs.h
<<\_ACEOF
43669 #define wxUSE_CMDLINE_PARSER 1
43674 if test "$wxUSE_STOPWATCH" = "yes"; then
43675 cat >>confdefs.h
<<\_ACEOF
43676 #define wxUSE_STOPWATCH 1
43681 if test "$wxUSE_DATETIME" = "yes"; then
43682 cat >>confdefs.h
<<\_ACEOF
43683 #define wxUSE_DATETIME 1
43688 if test "$wxUSE_FILE" = "yes"; then
43689 cat >>confdefs.h
<<\_ACEOF
43690 #define wxUSE_FILE 1
43695 if test "$wxUSE_FFILE" = "yes"; then
43696 cat >>confdefs.h
<<\_ACEOF
43697 #define wxUSE_FFILE 1
43702 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43703 if test "$wxUSE_STREAMS" != yes; then
43704 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43705 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43706 wxUSE_ARCHIVE_STREAMS
=no
43708 cat >>confdefs.h
<<\_ACEOF
43709 #define wxUSE_ARCHIVE_STREAMS 1
43715 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43716 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43717 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43718 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43719 elif test "$wxUSE_ZLIB" = "no"; then
43720 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43721 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43723 cat >>confdefs.h
<<\_ACEOF
43724 #define wxUSE_ZIPSTREAM 1
43730 if test "$wxUSE_TARSTREAM" = "yes"; then
43731 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43732 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43733 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43735 cat >>confdefs.h
<<\_ACEOF
43736 #define wxUSE_TARSTREAM 1
43742 if test "$wxUSE_FILESYSTEM" = "yes"; then
43743 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43744 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43745 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43746 wxUSE_FILESYSTEM
=no
43748 cat >>confdefs.h
<<\_ACEOF
43749 #define wxUSE_FILESYSTEM 1
43755 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43756 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43757 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43758 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43760 cat >>confdefs.h
<<\_ACEOF
43761 #define wxUSE_FS_ARCHIVE 1
43767 if test "$wxUSE_FS_ZIP" = "yes"; then
43768 if test "$wxUSE_FS_ARCHIVE" != yes; then
43769 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43770 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43772 cat >>confdefs.h
<<\_ACEOF
43773 #define wxUSE_FS_ZIP 1
43779 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43780 if test "$USE_UNIX" != 1; then
43781 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43782 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43783 wxUSE_ON_FATAL_EXCEPTION
=no
43785 cat >>confdefs.h
<<\_ACEOF
43786 #define wxUSE_ON_FATAL_EXCEPTION 1
43792 if test "$wxUSE_STACKWALKER" = "yes"; then
43793 cat >>confdefs.h
<<\_ACEOF
43794 #define wxUSE_STACKWALKER 1
43799 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43800 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43801 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43802 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43803 wxUSE_DEBUGREPORT
=no
43805 cat >>confdefs.h
<<\_ACEOF
43806 #define wxUSE_DEBUGREPORT 1
43809 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43810 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43815 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43816 cat >>confdefs.h
<<\_ACEOF
43817 #define wxUSE_SNGLINST_CHECKER 1
43822 if test "$wxUSE_BUSYINFO" = "yes"; then
43823 cat >>confdefs.h
<<\_ACEOF
43824 #define wxUSE_BUSYINFO 1
43829 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43830 cat >>confdefs.h
<<\_ACEOF
43831 #define wxUSE_STD_IOSTREAM 1
43836 if test "$wxUSE_STD_STRING" = "yes"; then
43837 cat >>confdefs.h
<<\_ACEOF
43838 #define wxUSE_STD_STRING 1
43843 if test "$wxUSE_STDPATHS" = "yes"; then
43844 cat >>confdefs.h
<<\_ACEOF
43845 #define wxUSE_STDPATHS 1
43850 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43851 cat >>confdefs.h
<<\_ACEOF
43852 #define wxUSE_TEXTBUFFER 1
43857 if test "$wxUSE_TEXTFILE" = "yes"; then
43858 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43859 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43860 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43862 cat >>confdefs.h
<<\_ACEOF
43863 #define wxUSE_TEXTFILE 1
43869 if test "$wxUSE_CONFIG" = "yes" ; then
43870 if test "$wxUSE_TEXTFILE" != "yes"; then
43871 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43872 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43874 cat >>confdefs.h
<<\_ACEOF
43875 #define wxUSE_CONFIG 1
43878 cat >>confdefs.h
<<\_ACEOF
43879 #define wxUSE_CONFIG_NATIVE 1
43882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43886 if test "$wxUSE_INTL" = "yes" ; then
43887 if test "$wxUSE_FILE" != "yes"; then
43888 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43889 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43891 cat >>confdefs.h
<<\_ACEOF
43892 #define wxUSE_INTL 1
43895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43896 GUIDIST
="$GUIDIST INTL_DIST"
43900 if test "$wxUSE_LOG" = "yes"; then
43901 cat >>confdefs.h
<<\_ACEOF
43902 #define wxUSE_LOG 1
43906 if test "$wxUSE_LOGGUI" = "yes"; then
43907 cat >>confdefs.h
<<\_ACEOF
43908 #define wxUSE_LOGGUI 1
43913 if test "$wxUSE_LOGWINDOW" = "yes"; then
43914 cat >>confdefs.h
<<\_ACEOF
43915 #define wxUSE_LOGWINDOW 1
43920 if test "$wxUSE_LOGDIALOG" = "yes"; then
43921 cat >>confdefs.h
<<\_ACEOF
43922 #define wxUSE_LOG_DIALOG 1
43927 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
43930 if test "$wxUSE_LONGLONG" = "yes"; then
43931 cat >>confdefs.h
<<\_ACEOF
43932 #define wxUSE_LONGLONG 1
43937 if test "$wxUSE_GEOMETRY" = "yes"; then
43938 cat >>confdefs.h
<<\_ACEOF
43939 #define wxUSE_GEOMETRY 1
43944 if test "$wxUSE_STREAMS" = "yes" ; then
43945 cat >>confdefs.h
<<\_ACEOF
43946 #define wxUSE_STREAMS 1
43951 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43952 cat >>confdefs.h
<<\_ACEOF
43953 #define wxUSE_PRINTF_POS_PARAMS 1
43960 if test "$wxUSE_DATETIME" = "yes"; then
43962 for ac_func
in strptime
43964 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43965 echo "$as_me:$LINENO: checking for $ac_func" >&5
43966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43967 if eval "test \"\${$as_ac_var+set}\" = set"; then
43968 echo $ECHO_N "(cached) $ECHO_C" >&6
43970 cat >conftest.
$ac_ext <<_ACEOF
43973 cat confdefs.h
>>conftest.
$ac_ext
43974 cat >>conftest.
$ac_ext <<_ACEOF
43975 /* end confdefs.h. */
43976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43978 #define $ac_func innocuous_$ac_func
43980 /* System header to define __stub macros and hopefully few prototypes,
43981 which can conflict with char $ac_func (); below.
43982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43983 <limits.h> exists even on freestanding compilers. */
43986 # include <limits.h>
43988 # include <assert.h>
43993 /* Override any gcc2 internal prototype to avoid an error. */
43998 /* We use char because int might match the return type of a gcc2
43999 builtin and then its argument prototype would still apply. */
44001 /* The GNU C library defines this for functions which it implements
44002 to always fail with ENOSYS. Some functions are actually named
44003 something starting with __ and the normal name is an alias. */
44004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44007 char (*f) () = $ac_func;
44016 return f != $ac_func;
44021 rm -f conftest.
$ac_objext conftest
$ac_exeext
44022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44023 (eval $ac_link) 2>conftest.er1
44025 grep -v '^ *+' conftest.er1
>conftest.err
44027 cat conftest.err
>&5
44028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44029 (exit $ac_status); } &&
44030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44032 (eval $ac_try) 2>&5
44034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44035 (exit $ac_status); }; } &&
44036 { ac_try
='test -s conftest$ac_exeext'
44037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44038 (eval $ac_try) 2>&5
44040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44041 (exit $ac_status); }; }; then
44042 eval "$as_ac_var=yes"
44044 echo "$as_me: failed program was:" >&5
44045 sed 's/^/| /' conftest.
$ac_ext >&5
44047 eval "$as_ac_var=no"
44049 rm -f conftest.err conftest.
$ac_objext \
44050 conftest
$ac_exeext conftest.
$ac_ext
44052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44054 if test `eval echo '${'$as_ac_var'}'` = yes; then
44055 cat >>confdefs.h
<<_ACEOF
44056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44062 if test "$ac_cv_func_strptime" = "yes"; then
44063 echo "$as_me:$LINENO: checking for strptime declaration" >&5
44064 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
44065 if test "${wx_cv_func_strptime_decl+set}" = set; then
44066 echo $ECHO_N "(cached) $ECHO_C" >&6
44070 ac_cpp
='$CXXCPP $CPPFLAGS'
44071 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44072 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44073 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44075 cat >conftest.
$ac_ext <<_ACEOF
44078 cat confdefs.h
>>conftest.
$ac_ext
44079 cat >>conftest.
$ac_ext <<_ACEOF
44080 /* end confdefs.h. */
44089 strptime("foo", "bar", &t);
44095 rm -f conftest.
$ac_objext
44096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44097 (eval $ac_compile) 2>conftest.er1
44099 grep -v '^ *+' conftest.er1
>conftest.err
44101 cat conftest.err
>&5
44102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44103 (exit $ac_status); } &&
44104 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44106 (eval $ac_try) 2>&5
44108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44109 (exit $ac_status); }; } &&
44110 { ac_try
='test -s conftest.$ac_objext'
44111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44112 (eval $ac_try) 2>&5
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); }; }; then
44116 wx_cv_func_strptime_decl
=yes
44118 echo "$as_me: failed program was:" >&5
44119 sed 's/^/| /' conftest.
$ac_ext >&5
44121 wx_cv_func_strptime_decl
=no
44124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44126 ac_cpp
='$CPP $CPPFLAGS'
44127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44134 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44135 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
44137 if test "$wx_cv_func_strptime_decl" = "yes"; then
44138 cat >>confdefs.h
<<\_ACEOF
44139 #define HAVE_STRPTIME_DECL 1
44144 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44145 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
44146 if test "${wx_cv_var_timezone+set}" = set; then
44147 echo $ECHO_N "(cached) $ECHO_C" >&6
44151 ac_cpp
='$CXXCPP $CPPFLAGS'
44152 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44153 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44154 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44156 cat >conftest.
$ac_ext <<_ACEOF
44159 cat confdefs.h
>>conftest.
$ac_ext
44160 cat >>conftest.
$ac_ext <<_ACEOF
44161 /* end confdefs.h. */
44176 rm -f conftest.
$ac_objext
44177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44178 (eval $ac_compile) 2>conftest.er1
44180 grep -v '^ *+' conftest.er1
>conftest.err
44182 cat conftest.err
>&5
44183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44184 (exit $ac_status); } &&
44185 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44187 (eval $ac_try) 2>&5
44189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44190 (exit $ac_status); }; } &&
44191 { ac_try
='test -s conftest.$ac_objext'
44192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44193 (eval $ac_try) 2>&5
44195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44196 (exit $ac_status); }; }; then
44198 wx_cv_var_timezone
=timezone
44201 echo "$as_me: failed program was:" >&5
44202 sed 's/^/| /' conftest.
$ac_ext >&5
44205 cat >conftest.
$ac_ext <<_ACEOF
44208 cat confdefs.h
>>conftest.
$ac_ext
44209 cat >>conftest.
$ac_ext <<_ACEOF
44210 /* end confdefs.h. */
44225 rm -f conftest.
$ac_objext
44226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44227 (eval $ac_compile) 2>conftest.er1
44229 grep -v '^ *+' conftest.er1
>conftest.err
44231 cat conftest.err
>&5
44232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44233 (exit $ac_status); } &&
44234 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44236 (eval $ac_try) 2>&5
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); }; } &&
44240 { ac_try
='test -s conftest.$ac_objext'
44241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44242 (eval $ac_try) 2>&5
44244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44245 (exit $ac_status); }; }; then
44247 wx_cv_var_timezone
=_timezone
44250 echo "$as_me: failed program was:" >&5
44251 sed 's/^/| /' conftest.
$ac_ext >&5
44254 cat >conftest.
$ac_ext <<_ACEOF
44257 cat confdefs.h
>>conftest.
$ac_ext
44258 cat >>conftest.
$ac_ext <<_ACEOF
44259 /* end confdefs.h. */
44274 rm -f conftest.
$ac_objext
44275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44276 (eval $ac_compile) 2>conftest.er1
44278 grep -v '^ *+' conftest.er1
>conftest.err
44280 cat conftest.err
>&5
44281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44282 (exit $ac_status); } &&
44283 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44285 (eval $ac_try) 2>&5
44287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44288 (exit $ac_status); }; } &&
44289 { ac_try
='test -s conftest.$ac_objext'
44290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44291 (eval $ac_try) 2>&5
44293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44294 (exit $ac_status); }; }; then
44296 wx_cv_var_timezone
=__timezone
44299 echo "$as_me: failed program was:" >&5
44300 sed 's/^/| /' conftest.
$ac_ext >&5
44303 if test "$USE_DOS" = 0 ; then
44304 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44305 echo "$as_me: WARNING: no timezone variable" >&2;}
44310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44320 ac_cpp
='$CPP $CPPFLAGS'
44321 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44322 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44323 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44328 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44329 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44331 if test "x$wx_cv_var_timezone" != x
; then
44332 cat >>confdefs.h
<<_ACEOF
44333 #define WX_TIMEZONE $wx_cv_var_timezone
44339 for ac_func
in localtime
44341 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44342 echo "$as_me:$LINENO: checking for $ac_func" >&5
44343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44344 if eval "test \"\${$as_ac_var+set}\" = set"; then
44345 echo $ECHO_N "(cached) $ECHO_C" >&6
44347 cat >conftest.
$ac_ext <<_ACEOF
44350 cat confdefs.h
>>conftest.
$ac_ext
44351 cat >>conftest.
$ac_ext <<_ACEOF
44352 /* end confdefs.h. */
44353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44355 #define $ac_func innocuous_$ac_func
44357 /* System header to define __stub macros and hopefully few prototypes,
44358 which can conflict with char $ac_func (); below.
44359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44360 <limits.h> exists even on freestanding compilers. */
44363 # include <limits.h>
44365 # include <assert.h>
44370 /* Override any gcc2 internal prototype to avoid an error. */
44375 /* We use char because int might match the return type of a gcc2
44376 builtin and then its argument prototype would still apply. */
44378 /* The GNU C library defines this for functions which it implements
44379 to always fail with ENOSYS. Some functions are actually named
44380 something starting with __ and the normal name is an alias. */
44381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44384 char (*f) () = $ac_func;
44393 return f != $ac_func;
44398 rm -f conftest.
$ac_objext conftest
$ac_exeext
44399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44400 (eval $ac_link) 2>conftest.er1
44402 grep -v '^ *+' conftest.er1
>conftest.err
44404 cat conftest.err
>&5
44405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44406 (exit $ac_status); } &&
44407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44409 (eval $ac_try) 2>&5
44411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44412 (exit $ac_status); }; } &&
44413 { ac_try
='test -s conftest$ac_exeext'
44414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44415 (eval $ac_try) 2>&5
44417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44418 (exit $ac_status); }; }; then
44419 eval "$as_ac_var=yes"
44421 echo "$as_me: failed program was:" >&5
44422 sed 's/^/| /' conftest.
$ac_ext >&5
44424 eval "$as_ac_var=no"
44426 rm -f conftest.err conftest.
$ac_objext \
44427 conftest
$ac_exeext conftest.
$ac_ext
44429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44431 if test `eval echo '${'$as_ac_var'}'` = yes; then
44432 cat >>confdefs.h
<<_ACEOF
44433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44440 if test "$ac_cv_func_localtime" = "yes"; then
44441 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44442 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44443 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44444 echo $ECHO_N "(cached) $ECHO_C" >&6
44447 cat >conftest.
$ac_ext <<_ACEOF
44450 cat confdefs.h
>>conftest.
$ac_ext
44451 cat >>conftest.
$ac_ext <<_ACEOF
44452 /* end confdefs.h. */
44467 rm -f conftest.
$ac_objext
44468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44469 (eval $ac_compile) 2>conftest.er1
44471 grep -v '^ *+' conftest.er1
>conftest.err
44473 cat conftest.err
>&5
44474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44475 (exit $ac_status); } &&
44476 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44478 (eval $ac_try) 2>&5
44480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44481 (exit $ac_status); }; } &&
44482 { ac_try
='test -s conftest.$ac_objext'
44483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44484 (eval $ac_try) 2>&5
44486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44487 (exit $ac_status); }; }; then
44489 wx_cv_struct_tm_has_gmtoff
=yes
44492 echo "$as_me: failed program was:" >&5
44493 sed 's/^/| /' conftest.
$ac_ext >&5
44495 wx_cv_struct_tm_has_gmtoff
=no
44498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44501 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44502 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44505 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44506 cat >>confdefs.h
<<\_ACEOF
44507 #define WX_GMTOFF_IN_TM 1
44514 for ac_func
in gettimeofday ftime
44516 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44517 echo "$as_me:$LINENO: checking for $ac_func" >&5
44518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44519 if eval "test \"\${$as_ac_var+set}\" = set"; then
44520 echo $ECHO_N "(cached) $ECHO_C" >&6
44522 cat >conftest.
$ac_ext <<_ACEOF
44525 cat confdefs.h
>>conftest.
$ac_ext
44526 cat >>conftest.
$ac_ext <<_ACEOF
44527 /* end confdefs.h. */
44528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44530 #define $ac_func innocuous_$ac_func
44532 /* System header to define __stub macros and hopefully few prototypes,
44533 which can conflict with char $ac_func (); below.
44534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44535 <limits.h> exists even on freestanding compilers. */
44538 # include <limits.h>
44540 # include <assert.h>
44545 /* Override any gcc2 internal prototype to avoid an error. */
44550 /* We use char because int might match the return type of a gcc2
44551 builtin and then its argument prototype would still apply. */
44553 /* The GNU C library defines this for functions which it implements
44554 to always fail with ENOSYS. Some functions are actually named
44555 something starting with __ and the normal name is an alias. */
44556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44559 char (*f) () = $ac_func;
44568 return f != $ac_func;
44573 rm -f conftest.
$ac_objext conftest
$ac_exeext
44574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44575 (eval $ac_link) 2>conftest.er1
44577 grep -v '^ *+' conftest.er1
>conftest.err
44579 cat conftest.err
>&5
44580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44581 (exit $ac_status); } &&
44582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44584 (eval $ac_try) 2>&5
44586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44587 (exit $ac_status); }; } &&
44588 { ac_try
='test -s conftest$ac_exeext'
44589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44590 (eval $ac_try) 2>&5
44592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44593 (exit $ac_status); }; }; then
44594 eval "$as_ac_var=yes"
44596 echo "$as_me: failed program was:" >&5
44597 sed 's/^/| /' conftest.
$ac_ext >&5
44599 eval "$as_ac_var=no"
44601 rm -f conftest.err conftest.
$ac_objext \
44602 conftest
$ac_exeext conftest.
$ac_ext
44604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44606 if test `eval echo '${'$as_ac_var'}'` = yes; then
44607 cat >>confdefs.h
<<_ACEOF
44608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44615 if test "$ac_cv_func_gettimeofday" = "yes"; then
44616 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44617 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44618 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44619 echo $ECHO_N "(cached) $ECHO_C" >&6
44622 cat >conftest.
$ac_ext <<_ACEOF
44625 cat confdefs.h
>>conftest.
$ac_ext
44626 cat >>conftest.
$ac_ext <<_ACEOF
44627 /* end confdefs.h. */
44629 #include <sys/time.h>
44630 #include <unistd.h>
44637 gettimeofday(&tv, NULL);
44643 rm -f conftest.
$ac_objext
44644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44645 (eval $ac_compile) 2>conftest.er1
44647 grep -v '^ *+' conftest.er1
>conftest.err
44649 cat conftest.err
>&5
44650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44651 (exit $ac_status); } &&
44652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44654 (eval $ac_try) 2>&5
44656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44657 (exit $ac_status); }; } &&
44658 { ac_try
='test -s conftest.$ac_objext'
44659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44660 (eval $ac_try) 2>&5
44662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44663 (exit $ac_status); }; }; then
44664 wx_cv_func_gettimeofday_has_2_args
=yes
44666 echo "$as_me: failed program was:" >&5
44667 sed 's/^/| /' conftest.
$ac_ext >&5
44669 cat >conftest.
$ac_ext <<_ACEOF
44672 cat confdefs.h
>>conftest.
$ac_ext
44673 cat >>conftest.
$ac_ext <<_ACEOF
44674 /* end confdefs.h. */
44676 #include <sys/time.h>
44677 #include <unistd.h>
44690 rm -f conftest.
$ac_objext
44691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44692 (eval $ac_compile) 2>conftest.er1
44694 grep -v '^ *+' conftest.er1
>conftest.err
44696 cat conftest.err
>&5
44697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44698 (exit $ac_status); } &&
44699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44701 (eval $ac_try) 2>&5
44703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44704 (exit $ac_status); }; } &&
44705 { ac_try
='test -s conftest.$ac_objext'
44706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44707 (eval $ac_try) 2>&5
44709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44710 (exit $ac_status); }; }; then
44711 wx_cv_func_gettimeofday_has_2_args
=no
44713 echo "$as_me: failed program was:" >&5
44714 sed 's/^/| /' conftest.
$ac_ext >&5
44717 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44718 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44719 wx_cv_func_gettimeofday_has_2_args
=unknown
44723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44729 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44730 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44732 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44733 cat >>confdefs.h
<<\_ACEOF
44734 #define WX_GETTIMEOFDAY_NO_TZ 1
44740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44744 if test "$wxUSE_SOCKETS" = "yes"; then
44745 if test "$wxUSE_MGL" = "1"; then
44746 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44747 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44752 if test "$wxUSE_SOCKETS" = "yes"; then
44753 if test "$TOOLKIT" != "MSW"; then
44754 echo "$as_me:$LINENO: checking for socket" >&5
44755 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44756 if test "${ac_cv_func_socket+set}" = set; then
44757 echo $ECHO_N "(cached) $ECHO_C" >&6
44759 cat >conftest.
$ac_ext <<_ACEOF
44762 cat confdefs.h
>>conftest.
$ac_ext
44763 cat >>conftest.
$ac_ext <<_ACEOF
44764 /* end confdefs.h. */
44765 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44767 #define socket innocuous_socket
44769 /* System header to define __stub macros and hopefully few prototypes,
44770 which can conflict with char socket (); below.
44771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44772 <limits.h> exists even on freestanding compilers. */
44775 # include <limits.h>
44777 # include <assert.h>
44782 /* Override any gcc2 internal prototype to avoid an error. */
44787 /* We use char because int might match the return type of a gcc2
44788 builtin and then its argument prototype would still apply. */
44790 /* The GNU C library defines this for functions which it implements
44791 to always fail with ENOSYS. Some functions are actually named
44792 something starting with __ and the normal name is an alias. */
44793 #if defined (__stub_socket) || defined (__stub___socket)
44796 char (*f) () = socket;
44805 return f != socket;
44810 rm -f conftest.
$ac_objext conftest
$ac_exeext
44811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44812 (eval $ac_link) 2>conftest.er1
44814 grep -v '^ *+' conftest.er1
>conftest.err
44816 cat conftest.err
>&5
44817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44818 (exit $ac_status); } &&
44819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44821 (eval $ac_try) 2>&5
44823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44824 (exit $ac_status); }; } &&
44825 { ac_try
='test -s conftest$ac_exeext'
44826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44827 (eval $ac_try) 2>&5
44829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44830 (exit $ac_status); }; }; then
44831 ac_cv_func_socket
=yes
44833 echo "$as_me: failed program was:" >&5
44834 sed 's/^/| /' conftest.
$ac_ext >&5
44836 ac_cv_func_socket
=no
44838 rm -f conftest.err conftest.
$ac_objext \
44839 conftest
$ac_exeext conftest.
$ac_ext
44841 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44842 echo "${ECHO_T}$ac_cv_func_socket" >&6
44843 if test $ac_cv_func_socket = yes; then
44847 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44848 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44849 if test "${ac_cv_lib_socket_socket+set}" = set; then
44850 echo $ECHO_N "(cached) $ECHO_C" >&6
44852 ac_check_lib_save_LIBS
=$LIBS
44853 LIBS
="-lsocket $LIBS"
44854 cat >conftest.
$ac_ext <<_ACEOF
44857 cat confdefs.h
>>conftest.
$ac_ext
44858 cat >>conftest.
$ac_ext <<_ACEOF
44859 /* end confdefs.h. */
44861 /* Override any gcc2 internal prototype to avoid an error. */
44865 /* We use char because int might match the return type of a gcc2
44866 builtin and then its argument prototype would still apply. */
44876 rm -f conftest.
$ac_objext conftest
$ac_exeext
44877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44878 (eval $ac_link) 2>conftest.er1
44880 grep -v '^ *+' conftest.er1
>conftest.err
44882 cat conftest.err
>&5
44883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44884 (exit $ac_status); } &&
44885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44887 (eval $ac_try) 2>&5
44889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44890 (exit $ac_status); }; } &&
44891 { ac_try
='test -s conftest$ac_exeext'
44892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44893 (eval $ac_try) 2>&5
44895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44896 (exit $ac_status); }; }; then
44897 ac_cv_lib_socket_socket
=yes
44899 echo "$as_me: failed program was:" >&5
44900 sed 's/^/| /' conftest.
$ac_ext >&5
44902 ac_cv_lib_socket_socket
=no
44904 rm -f conftest.err conftest.
$ac_objext \
44905 conftest
$ac_exeext conftest.
$ac_ext
44906 LIBS
=$ac_check_lib_save_LIBS
44908 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44909 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44910 if test $ac_cv_lib_socket_socket = yes; then
44911 if test "$INET_LINK" != " -lsocket"; then
44912 INET_LINK
="$INET_LINK -lsocket"
44916 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44917 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44930 if test "$wxUSE_SOCKETS" = "yes" ; then
44931 if test "$TOOLKIT" != "MSW"; then
44932 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44933 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44934 if test "${wx_cv_type_getsockname3+set}" = set; then
44935 echo $ECHO_N "(cached) $ECHO_C" >&6
44939 ac_cpp
='$CXXCPP $CPPFLAGS'
44940 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44941 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44942 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44944 cat >conftest.
$ac_ext <<_ACEOF
44947 cat confdefs.h
>>conftest.
$ac_ext
44948 cat >>conftest.
$ac_ext <<_ACEOF
44949 /* end confdefs.h. */
44951 #include <sys/types.h>
44952 #include <sys/socket.h>
44959 getsockname(0, 0, &len);
44965 rm -f conftest.
$ac_objext
44966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44967 (eval $ac_compile) 2>conftest.er1
44969 grep -v '^ *+' conftest.er1
>conftest.err
44971 cat conftest.err
>&5
44972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44973 (exit $ac_status); } &&
44974 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44976 (eval $ac_try) 2>&5
44978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44979 (exit $ac_status); }; } &&
44980 { ac_try
='test -s conftest.$ac_objext'
44981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44982 (eval $ac_try) 2>&5
44984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44985 (exit $ac_status); }; }; then
44986 wx_cv_type_getsockname3
=socklen_t
44988 echo "$as_me: failed program was:" >&5
44989 sed 's/^/| /' conftest.
$ac_ext >&5
44992 CFLAGS_OLD
="$CFLAGS"
44993 if test "$GCC" = yes ; then
44994 CFLAGS
="-Werror $CFLAGS"
44997 cat >conftest.
$ac_ext <<_ACEOF
45000 cat confdefs.h
>>conftest.
$ac_ext
45001 cat >>conftest.
$ac_ext <<_ACEOF
45002 /* end confdefs.h. */
45004 #include <sys/types.h>
45005 #include <sys/socket.h>
45012 getsockname(0, 0, &len);
45018 rm -f conftest.
$ac_objext
45019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45020 (eval $ac_compile) 2>conftest.er1
45022 grep -v '^ *+' conftest.er1
>conftest.err
45024 cat conftest.err
>&5
45025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45026 (exit $ac_status); } &&
45027 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45029 (eval $ac_try) 2>&5
45031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45032 (exit $ac_status); }; } &&
45033 { ac_try
='test -s conftest.$ac_objext'
45034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45035 (eval $ac_try) 2>&5
45037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45038 (exit $ac_status); }; }; then
45039 wx_cv_type_getsockname3
=size_t
45041 echo "$as_me: failed program was:" >&5
45042 sed 's/^/| /' conftest.
$ac_ext >&5
45044 cat >conftest.
$ac_ext <<_ACEOF
45047 cat confdefs.h
>>conftest.
$ac_ext
45048 cat >>conftest.
$ac_ext <<_ACEOF
45049 /* end confdefs.h. */
45051 #include <sys/types.h>
45052 #include <sys/socket.h>
45059 getsockname(0, 0, &len);
45065 rm -f conftest.
$ac_objext
45066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45067 (eval $ac_compile) 2>conftest.er1
45069 grep -v '^ *+' conftest.er1
>conftest.err
45071 cat conftest.err
>&5
45072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45073 (exit $ac_status); } &&
45074 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45076 (eval $ac_try) 2>&5
45078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45079 (exit $ac_status); }; } &&
45080 { ac_try
='test -s conftest.$ac_objext'
45081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45082 (eval $ac_try) 2>&5
45084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45085 (exit $ac_status); }; }; then
45086 wx_cv_type_getsockname3
=int
45088 echo "$as_me: failed program was:" >&5
45089 sed 's/^/| /' conftest.
$ac_ext >&5
45091 wx_cv_type_getsockname3
=unknown
45094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45099 CFLAGS
="$CFLAGS_OLD"
45103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45105 ac_cpp
='$CPP $CPPFLAGS'
45106 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45107 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45108 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45112 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45113 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
45115 if test "$wx_cv_type_getsockname3" = "unknown"; then
45117 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45118 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45120 cat >>confdefs.h
<<_ACEOF
45121 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45125 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45126 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
45127 if test "${wx_cv_type_getsockopt5+set}" = set; then
45128 echo $ECHO_N "(cached) $ECHO_C" >&6
45131 cat >conftest.
$ac_ext <<_ACEOF
45134 cat confdefs.h
>>conftest.
$ac_ext
45135 cat >>conftest.
$ac_ext <<_ACEOF
45136 /* end confdefs.h. */
45138 #include <sys/types.h>
45139 #include <sys/socket.h>
45146 getsockopt(0, 0, 0, 0, &len);
45152 rm -f conftest.
$ac_objext
45153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45154 (eval $ac_compile) 2>conftest.er1
45156 grep -v '^ *+' conftest.er1
>conftest.err
45158 cat conftest.err
>&5
45159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45160 (exit $ac_status); } &&
45161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45163 (eval $ac_try) 2>&5
45165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45166 (exit $ac_status); }; } &&
45167 { ac_try
='test -s conftest.$ac_objext'
45168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45169 (eval $ac_try) 2>&5
45171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45172 (exit $ac_status); }; }; then
45173 wx_cv_type_getsockopt5
=socklen_t
45175 echo "$as_me: failed program was:" >&5
45176 sed 's/^/| /' conftest.
$ac_ext >&5
45180 ac_cpp
='$CXXCPP $CPPFLAGS'
45181 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45182 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45183 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45185 cat >conftest.
$ac_ext <<_ACEOF
45188 cat confdefs.h
>>conftest.
$ac_ext
45189 cat >>conftest.
$ac_ext <<_ACEOF
45190 /* end confdefs.h. */
45192 #include <sys/types.h>
45193 #include <sys/socket.h>
45200 getsockopt(0, 0, 0, 0, &len);
45206 rm -f conftest.
$ac_objext
45207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45208 (eval $ac_compile) 2>conftest.er1
45210 grep -v '^ *+' conftest.er1
>conftest.err
45212 cat conftest.err
>&5
45213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45214 (exit $ac_status); } &&
45215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45217 (eval $ac_try) 2>&5
45219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45220 (exit $ac_status); }; } &&
45221 { ac_try
='test -s conftest.$ac_objext'
45222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45223 (eval $ac_try) 2>&5
45225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45226 (exit $ac_status); }; }; then
45227 wx_cv_type_getsockopt5
=size_t
45229 echo "$as_me: failed program was:" >&5
45230 sed 's/^/| /' conftest.
$ac_ext >&5
45232 cat >conftest.
$ac_ext <<_ACEOF
45235 cat confdefs.h
>>conftest.
$ac_ext
45236 cat >>conftest.
$ac_ext <<_ACEOF
45237 /* end confdefs.h. */
45239 #include <sys/types.h>
45240 #include <sys/socket.h>
45247 getsockopt(0, 0, 0, 0, &len);
45253 rm -f conftest.
$ac_objext
45254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45255 (eval $ac_compile) 2>conftest.er1
45257 grep -v '^ *+' conftest.er1
>conftest.err
45259 cat conftest.err
>&5
45260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45261 (exit $ac_status); } &&
45262 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45264 (eval $ac_try) 2>&5
45266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45267 (exit $ac_status); }; } &&
45268 { ac_try
='test -s conftest.$ac_objext'
45269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45270 (eval $ac_try) 2>&5
45272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45273 (exit $ac_status); }; }; then
45274 wx_cv_type_getsockopt5
=int
45276 echo "$as_me: failed program was:" >&5
45277 sed 's/^/| /' conftest.
$ac_ext >&5
45279 wx_cv_type_getsockopt5
=unknown
45282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45287 ac_cpp
='$CPP $CPPFLAGS'
45288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45298 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45299 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45301 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45303 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45304 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45306 cat >>confdefs.h
<<_ACEOF
45307 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45314 if test "$wxUSE_SOCKETS" = "yes" ; then
45315 cat >>confdefs.h
<<\_ACEOF
45316 #define wxUSE_SOCKETS 1
45319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
45322 if test "$wxUSE_PROTOCOL" = "yes"; then
45323 if test "$wxUSE_SOCKETS" != "yes"; then
45324 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45325 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45330 if test "$wxUSE_PROTOCOL" = "yes"; then
45331 cat >>confdefs.h
<<\_ACEOF
45332 #define wxUSE_PROTOCOL 1
45336 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45337 cat >>confdefs.h
<<\_ACEOF
45338 #define wxUSE_PROTOCOL_HTTP 1
45342 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45343 cat >>confdefs.h
<<\_ACEOF
45344 #define wxUSE_PROTOCOL_FTP 1
45348 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45349 cat >>confdefs.h
<<\_ACEOF
45350 #define wxUSE_PROTOCOL_FILE 1
45355 if test "$wxUSE_FS_INET" = "yes"; then
45356 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45357 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45362 if test "$wxUSE_URL" = "yes"; then
45363 if test "$wxUSE_PROTOCOL" != "yes"; then
45364 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45365 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45368 if test "$wxUSE_URL" = "yes"; then
45369 cat >>confdefs.h
<<\_ACEOF
45370 #define wxUSE_URL 1
45376 if test "$wxUSE_VARIANT" = "yes"; then
45377 cat >>confdefs.h
<<\_ACEOF
45378 #define wxUSE_VARIANT 1
45383 if test "$wxUSE_FS_INET" = "yes"; then
45384 cat >>confdefs.h
<<\_ACEOF
45385 #define wxUSE_FS_INET 1
45391 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45394 if test "$TOOLKIT" = "MSW"; then
45397 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45398 if test "$USE_DARWIN" = 1; then
45399 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45400 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45402 ac_cpp
='$CXXCPP $CPPFLAGS'
45403 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45404 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45405 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45407 cat >conftest.
$ac_ext <<_ACEOF
45410 cat confdefs.h
>>conftest.
$ac_ext
45411 cat >>conftest.
$ac_ext <<_ACEOF
45412 /* end confdefs.h. */
45413 #include <IOKit/hid/IOHIDLib.h>
45417 IOHIDQueueInterface *qi = NULL;
45418 IOHIDCallbackFunction cb = NULL;
45419 qi->setEventCallout(NULL, cb, NULL, NULL);
45424 rm -f conftest.
$ac_objext
45425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45426 (eval $ac_compile) 2>conftest.er1
45428 grep -v '^ *+' conftest.er1
>conftest.err
45430 cat conftest.err
>&5
45431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45432 (exit $ac_status); } &&
45433 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45435 (eval $ac_try) 2>&5
45437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45438 (exit $ac_status); }; } &&
45439 { ac_try
='test -s conftest.$ac_objext'
45440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45441 (eval $ac_try) 2>&5
45443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45444 (exit $ac_status); }; }; then
45448 echo "$as_me: failed program was:" >&5
45449 sed 's/^/| /' conftest.
$ac_ext >&5
45452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45454 ac_cpp
='$CPP $CPPFLAGS'
45455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45459 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45460 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45464 if test "$wxUSE_MGL" != "1"; then
45465 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
45466 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
45467 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
45468 echo $ECHO_N "(cached) $ECHO_C" >&6
45470 cat >conftest.
$ac_ext <<_ACEOF
45473 cat confdefs.h
>>conftest.
$ac_ext
45474 cat >>conftest.
$ac_ext <<_ACEOF
45475 /* end confdefs.h. */
45478 #include <linux/joystick.h>
45480 rm -f conftest.
$ac_objext
45481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45482 (eval $ac_compile) 2>conftest.er1
45484 grep -v '^ *+' conftest.er1
>conftest.err
45486 cat conftest.err
>&5
45487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45488 (exit $ac_status); } &&
45489 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45491 (eval $ac_try) 2>&5
45493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45494 (exit $ac_status); }; } &&
45495 { ac_try
='test -s conftest.$ac_objext'
45496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45497 (eval $ac_try) 2>&5
45499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45500 (exit $ac_status); }; }; then
45501 ac_cv_header_linux_joystick_h
=yes
45503 echo "$as_me: failed program was:" >&5
45504 sed 's/^/| /' conftest.
$ac_ext >&5
45506 ac_cv_header_linux_joystick_h
=no
45508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45510 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
45511 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
45512 if test $ac_cv_header_linux_joystick_h = yes; then
45520 if test "$wxUSE_JOYSTICK" = "yes"; then
45521 cat >>confdefs.h
<<\_ACEOF
45522 #define wxUSE_JOYSTICK 1
45525 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
45527 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45528 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45534 if test "$wxUSE_FONTMAP" = "yes" ; then
45535 cat >>confdefs.h
<<\_ACEOF
45536 #define wxUSE_FONTMAP 1
45541 if test "$wxUSE_UNICODE" = "yes" ; then
45542 cat >>confdefs.h
<<\_ACEOF
45543 #define wxUSE_UNICODE 1
45547 if test "$USE_WIN32" != 1; then
45548 wxUSE_UNICODE_MSLU
=no
45551 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45552 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45553 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45554 if test "${ac_cv_lib_unicows_main+set}" = set; then
45555 echo $ECHO_N "(cached) $ECHO_C" >&6
45557 ac_check_lib_save_LIBS
=$LIBS
45558 LIBS
="-lunicows $LIBS"
45559 cat >conftest.
$ac_ext <<_ACEOF
45562 cat confdefs.h
>>conftest.
$ac_ext
45563 cat >>conftest.
$ac_ext <<_ACEOF
45564 /* end confdefs.h. */
45575 rm -f conftest.
$ac_objext conftest
$ac_exeext
45576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45577 (eval $ac_link) 2>conftest.er1
45579 grep -v '^ *+' conftest.er1
>conftest.err
45581 cat conftest.err
>&5
45582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45583 (exit $ac_status); } &&
45584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45586 (eval $ac_try) 2>&5
45588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45589 (exit $ac_status); }; } &&
45590 { ac_try
='test -s conftest$ac_exeext'
45591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45592 (eval $ac_try) 2>&5
45594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45595 (exit $ac_status); }; }; then
45596 ac_cv_lib_unicows_main
=yes
45598 echo "$as_me: failed program was:" >&5
45599 sed 's/^/| /' conftest.
$ac_ext >&5
45601 ac_cv_lib_unicows_main
=no
45603 rm -f conftest.err conftest.
$ac_objext \
45604 conftest
$ac_exeext conftest.
$ac_ext
45605 LIBS
=$ac_check_lib_save_LIBS
45607 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45608 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45609 if test $ac_cv_lib_unicows_main = yes; then
45611 cat >>confdefs.h
<<\_ACEOF
45612 #define wxUSE_UNICODE_MSLU 1
45618 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45619 Applications will only run on Windows NT/2000/XP!" >&5
45620 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45621 Applications will only run on Windows NT/2000/XP!" >&2;}
45622 wxUSE_UNICODE_MSLU
=no
45629 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45630 cat >>confdefs.h
<<\_ACEOF
45631 #define wxUSE_EXPERIMENTAL_PRINTF 1
45637 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45638 cat >>confdefs.h
<<\_ACEOF
45639 #define wxUSE_POSTSCRIPT 1
45644 cat >>confdefs.h
<<\_ACEOF
45645 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45649 cat >>confdefs.h
<<\_ACEOF
45650 #define wxUSE_NORMALIZED_PS_FONTS 1
45655 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45656 cat >>confdefs.h
<<\_ACEOF
45657 #define wxUSE_CONSTRAINTS 1
45660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45663 if test "$wxUSE_MDI" = "yes"; then
45664 cat >>confdefs.h
<<\_ACEOF
45665 #define wxUSE_MDI 1
45669 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45670 cat >>confdefs.h
<<\_ACEOF
45671 #define wxUSE_MDI_ARCHITECTURE 1
45674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45678 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45679 cat >>confdefs.h
<<\_ACEOF
45680 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45684 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45685 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
45689 if test "$wxUSE_HELP" = "yes"; then
45690 cat >>confdefs.h
<<\_ACEOF
45691 #define wxUSE_HELP 1
45694 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45696 if test "$wxUSE_MSW" = 1; then
45697 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45698 cat >>confdefs.h
<<\_ACEOF
45699 #define wxUSE_MS_HTML_HELP 1
45705 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45706 if test "$wxUSE_HTML" = "yes"; then
45707 cat >>confdefs.h
<<\_ACEOF
45708 #define wxUSE_WXHTML_HELP 1
45712 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45713 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45714 wxUSE_WXHTML_HELP
=no
45719 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45720 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45721 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45722 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45724 cat >>confdefs.h
<<\_ACEOF
45725 #define wxUSE_PRINTING_ARCHITECTURE 1
45729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45732 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45733 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45734 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45735 { (exit 1); exit 1; }; }
45739 if test "$wxUSE_METAFILE" = "yes"; then
45740 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45741 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45742 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45748 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45749 -o "$wxUSE_CLIPBOARD" = "yes" \
45750 -o "$wxUSE_OLE" = "yes" \
45751 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45753 for ac_header
in ole2.h
45755 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45757 echo "$as_me:$LINENO: checking for $ac_header" >&5
45758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45760 echo $ECHO_N "(cached) $ECHO_C" >&6
45762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45765 # Is the header compilable?
45766 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45767 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45768 cat >conftest.
$ac_ext <<_ACEOF
45771 cat confdefs.h
>>conftest.
$ac_ext
45772 cat >>conftest.
$ac_ext <<_ACEOF
45773 /* end confdefs.h. */
45774 $ac_includes_default
45775 #include <$ac_header>
45777 rm -f conftest.
$ac_objext
45778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45779 (eval $ac_compile) 2>conftest.er1
45781 grep -v '^ *+' conftest.er1
>conftest.err
45783 cat conftest.err
>&5
45784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45785 (exit $ac_status); } &&
45786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45788 (eval $ac_try) 2>&5
45790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45791 (exit $ac_status); }; } &&
45792 { ac_try
='test -s conftest.$ac_objext'
45793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45794 (eval $ac_try) 2>&5
45796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45797 (exit $ac_status); }; }; then
45798 ac_header_compiler
=yes
45800 echo "$as_me: failed program was:" >&5
45801 sed 's/^/| /' conftest.
$ac_ext >&5
45803 ac_header_compiler
=no
45805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45806 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45807 echo "${ECHO_T}$ac_header_compiler" >&6
45809 # Is the header present?
45810 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45811 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45812 cat >conftest.
$ac_ext <<_ACEOF
45815 cat confdefs.h
>>conftest.
$ac_ext
45816 cat >>conftest.
$ac_ext <<_ACEOF
45817 /* end confdefs.h. */
45818 #include <$ac_header>
45820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45821 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45823 grep -v '^ *+' conftest.er1
>conftest.err
45825 cat conftest.err
>&5
45826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45827 (exit $ac_status); } >/dev
/null
; then
45828 if test -s conftest.err
; then
45829 ac_cpp_err
=$ac_c_preproc_warn_flag
45830 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
45837 if test -z "$ac_cpp_err"; then
45838 ac_header_preproc
=yes
45840 echo "$as_me: failed program was:" >&5
45841 sed 's/^/| /' conftest.
$ac_ext >&5
45843 ac_header_preproc
=no
45845 rm -f conftest.err conftest.
$ac_ext
45846 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45847 echo "${ECHO_T}$ac_header_preproc" >&6
45849 # So? What about this header?
45850 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45852 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45853 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45855 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45856 ac_header_preproc
=yes
45859 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45860 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45861 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45862 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45863 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45864 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45865 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45866 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45868 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45869 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45870 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45873 ## ----------------------------------------- ##
45874 ## Report this to wx-dev@lists.wxwidgets.org ##
45875 ## ----------------------------------------- ##
45878 sed "s/^/$as_me: WARNING: /" >&2
45881 echo "$as_me:$LINENO: checking for $ac_header" >&5
45882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45884 echo $ECHO_N "(cached) $ECHO_C" >&6
45886 eval "$as_ac_Header=\$ac_header_preproc"
45888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45893 cat >>confdefs.h
<<_ACEOF
45894 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45902 if test "$ac_cv_header_ole2_h" = "yes" ; then
45903 if test "$GCC" = yes ; then
45904 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45905 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45906 cat >conftest.
$ac_ext <<_ACEOF
45909 cat confdefs.h
>>conftest.
$ac_ext
45910 cat >>conftest.
$ac_ext <<_ACEOF
45911 /* end confdefs.h. */
45912 #include <windows.h>
45922 rm -f conftest.
$ac_objext
45923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45924 (eval $ac_compile) 2>conftest.er1
45926 grep -v '^ *+' conftest.er1
>conftest.err
45928 cat conftest.err
>&5
45929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45930 (exit $ac_status); } &&
45931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45933 (eval $ac_try) 2>&5
45935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45936 (exit $ac_status); }; } &&
45937 { ac_try
='test -s conftest.$ac_objext'
45938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45939 (eval $ac_try) 2>&5
45941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45942 (exit $ac_status); }; }; then
45943 echo "$as_me:$LINENO: result: no" >&5
45944 echo "${ECHO_T}no" >&6
45946 echo "$as_me: failed program was:" >&5
45947 sed 's/^/| /' conftest.
$ac_ext >&5
45949 echo "$as_me:$LINENO: result: yes" >&5
45950 echo "${ECHO_T}yes" >&6
45951 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45954 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45955 if test "$wxUSE_OLE" = "yes" ; then
45956 cat >>confdefs.h
<<\_ACEOF
45957 #define wxUSE_OLE 1
45960 cat >>confdefs.h
<<\_ACEOF
45961 #define wxUSE_OLE_AUTOMATION 1
45964 cat >>confdefs.h
<<\_ACEOF
45965 #define wxUSE_OLE_ACTIVEX 1
45968 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45972 if test "$wxUSE_DATAOBJ" = "yes" ; then
45973 cat >>confdefs.h
<<\_ACEOF
45974 #define wxUSE_DATAOBJ 1
45979 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45980 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45983 wxUSE_DRAG_AND_DROP
=no
45988 if test "$wxUSE_METAFILE" = "yes"; then
45989 cat >>confdefs.h
<<\_ACEOF
45990 #define wxUSE_METAFILE 1
45994 cat >>confdefs.h
<<\_ACEOF
45995 #define wxUSE_ENH_METAFILE 1
46001 if test "$wxUSE_IPC" = "yes"; then
46002 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46003 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46004 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46008 if test "$wxUSE_IPC" = "yes"; then
46009 cat >>confdefs.h
<<\_ACEOF
46010 #define wxUSE_IPC 1
46013 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46017 if test "$wxUSE_DATAOBJ" = "yes"; then
46018 if test "$wxUSE_MGL" = 1; then
46019 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
46020 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
46023 cat >>confdefs.h
<<\_ACEOF
46024 #define wxUSE_DATAOBJ 1
46029 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46030 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46032 wxUSE_DRAG_AND_DROP
=no
46035 if test "$wxUSE_CLIPBOARD" = "yes"; then
46036 if test "$wxUSE_MGL" = 1; then
46037 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
46038 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
46042 if test "$wxUSE_CLIPBOARD" = "yes"; then
46043 cat >>confdefs.h
<<\_ACEOF
46044 #define wxUSE_CLIPBOARD 1
46050 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46051 if test "$wxUSE_GTK" = 1; then
46052 if test "$WXGTK12" != 1; then
46053 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46054 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46055 wxUSE_DRAG_AND_DROP
=no
46059 if test "$wxUSE_MOTIF" = 1; then
46060 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
46061 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
46062 wxUSE_DRAG_AND_DROP
=no
46065 if test "$wxUSE_X11" = 1; then
46066 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
46067 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
46068 wxUSE_DRAG_AND_DROP
=no
46071 if test "$wxUSE_MGL" = 1; then
46072 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
46073 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
46074 wxUSE_DRAG_AND_DROP
=no
46077 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46078 cat >>confdefs.h
<<\_ACEOF
46079 #define wxUSE_DRAG_AND_DROP 1
46086 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46090 if test "$wxUSE_SPLINES" = "yes" ; then
46091 cat >>confdefs.h
<<\_ACEOF
46092 #define wxUSE_SPLINES 1
46097 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46098 cat >>confdefs.h
<<\_ACEOF
46099 #define wxUSE_MOUSEWHEEL 1
46106 if test "$wxUSE_CONTROLS" = "yes"; then
46110 if test "$wxUSE_ACCEL" = "yes"; then
46111 cat >>confdefs.h
<<\_ACEOF
46112 #define wxUSE_ACCEL 1
46118 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46119 cat >>confdefs.h
<<\_ACEOF
46120 #define wxUSE_ANIMATIONCTRL 1
46124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46127 if test "$wxUSE_BUTTON" = "yes"; then
46128 cat >>confdefs.h
<<\_ACEOF
46129 #define wxUSE_BUTTON 1
46135 if test "$wxUSE_BMPBUTTON" = "yes"; then
46136 cat >>confdefs.h
<<\_ACEOF
46137 #define wxUSE_BMPBUTTON 1
46143 if test "$wxUSE_CALCTRL" = "yes"; then
46144 cat >>confdefs.h
<<\_ACEOF
46145 #define wxUSE_CALENDARCTRL 1
46149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46152 if test "$wxUSE_CARET" = "yes"; then
46153 cat >>confdefs.h
<<\_ACEOF
46154 #define wxUSE_CARET 1
46158 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46161 if test "$wxUSE_COLLPANE" = "yes"; then
46162 cat >>confdefs.h
<<\_ACEOF
46163 #define wxUSE_COLLPANE 1
46167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46170 if test "$wxUSE_COMBOBOX" = "yes"; then
46171 cat >>confdefs.h
<<\_ACEOF
46172 #define wxUSE_COMBOBOX 1
46178 if test "$wxUSE_COMBOCTRL" = "yes"; then
46179 cat >>confdefs.h
<<\_ACEOF
46180 #define wxUSE_COMBOCTRL 1
46186 if test "$wxUSE_CHOICE" = "yes"; then
46187 cat >>confdefs.h
<<\_ACEOF
46188 #define wxUSE_CHOICE 1
46194 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46195 cat >>confdefs.h
<<\_ACEOF
46196 #define wxUSE_CHOICEBOOK 1
46202 if test "$wxUSE_CHECKBOX" = "yes"; then
46203 cat >>confdefs.h
<<\_ACEOF
46204 #define wxUSE_CHECKBOX 1
46210 if test "$wxUSE_CHECKLST" = "yes"; then
46211 cat >>confdefs.h
<<\_ACEOF
46212 #define wxUSE_CHECKLISTBOX 1
46216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
46219 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46220 cat >>confdefs.h
<<\_ACEOF
46221 #define wxUSE_COLOURPICKERCTRL 1
46227 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46228 cat >>confdefs.h
<<\_ACEOF
46229 #define wxUSE_DATEPICKCTRL 1
46235 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46236 cat >>confdefs.h
<<\_ACEOF
46237 #define wxUSE_DIRPICKERCTRL 1
46243 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46244 cat >>confdefs.h
<<\_ACEOF
46245 #define wxUSE_FILEPICKERCTRL 1
46251 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46252 cat >>confdefs.h
<<\_ACEOF
46253 #define wxUSE_FONTPICKERCTRL 1
46259 if test "$wxUSE_DISPLAY" = "yes"; then
46260 cat >>confdefs.h
<<\_ACEOF
46261 #define wxUSE_DISPLAY 1
46264 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
46267 if test "$wxUSE_DETECT_SM" = "yes"; then
46268 cat >>confdefs.h
<<\_ACEOF
46269 #define wxUSE_DETECT_SM 1
46274 if test "$wxUSE_GAUGE" = "yes"; then
46275 cat >>confdefs.h
<<\_ACEOF
46276 #define wxUSE_GAUGE 1
46282 if test "$wxUSE_GRID" = "yes"; then
46283 cat >>confdefs.h
<<\_ACEOF
46284 #define wxUSE_GRID 1
46288 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46291 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46292 cat >>confdefs.h
<<\_ACEOF
46293 #define wxUSE_HYPERLINKCTRL 1
46299 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46300 cat >>confdefs.h
<<\_ACEOF
46301 #define wxUSE_BITMAPCOMBOBOX 1
46307 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46308 cat >>confdefs.h
<<\_ACEOF
46309 #define wxUSE_DATAVIEWCTRL 1
46313 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46316 if test "$wxUSE_IMAGLIST" = "yes"; then
46317 cat >>confdefs.h
<<\_ACEOF
46318 #define wxUSE_IMAGLIST 1
46323 if test "$wxUSE_LISTBOOK" = "yes"; then
46324 cat >>confdefs.h
<<\_ACEOF
46325 #define wxUSE_LISTBOOK 1
46331 if test "$wxUSE_LISTBOX" = "yes"; then
46332 cat >>confdefs.h
<<\_ACEOF
46333 #define wxUSE_LISTBOX 1
46337 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
46340 if test "$wxUSE_LISTCTRL" = "yes"; then
46341 if test "$wxUSE_IMAGLIST" = "yes"; then
46342 cat >>confdefs.h
<<\_ACEOF
46343 #define wxUSE_LISTCTRL 1
46347 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46349 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46350 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46354 if test "$wxUSE_NOTEBOOK" = "yes"; then
46355 cat >>confdefs.h
<<\_ACEOF
46356 #define wxUSE_NOTEBOOK 1
46360 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46363 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46364 cat >>confdefs.h
<<\_ACEOF
46365 #define wxUSE_ODCOMBOBOX 1
46369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46373 if test "$wxUSE_RADIOBOX" = "yes"; then
46374 cat >>confdefs.h
<<\_ACEOF
46375 #define wxUSE_RADIOBOX 1
46381 if test "$wxUSE_RADIOBTN" = "yes"; then
46382 cat >>confdefs.h
<<\_ACEOF
46383 #define wxUSE_RADIOBTN 1
46389 if test "$wxUSE_SASH" = "yes"; then
46390 cat >>confdefs.h
<<\_ACEOF
46391 #define wxUSE_SASH 1
46394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46397 if test "$wxUSE_SCROLLBAR" = "yes"; then
46398 cat >>confdefs.h
<<\_ACEOF
46399 #define wxUSE_SCROLLBAR 1
46403 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
46406 if test "$wxUSE_SLIDER" = "yes"; then
46407 cat >>confdefs.h
<<\_ACEOF
46408 #define wxUSE_SLIDER 1
46414 if test "$wxUSE_SPINBTN" = "yes"; then
46415 cat >>confdefs.h
<<\_ACEOF
46416 #define wxUSE_SPINBTN 1
46422 if test "$wxUSE_SPINCTRL" = "yes"; then
46423 cat >>confdefs.h
<<\_ACEOF
46424 #define wxUSE_SPINCTRL 1
46430 if test "$wxUSE_SPLITTER" = "yes"; then
46431 cat >>confdefs.h
<<\_ACEOF
46432 #define wxUSE_SPLITTER 1
46435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46438 if test "$wxUSE_STATBMP" = "yes"; then
46439 cat >>confdefs.h
<<\_ACEOF
46440 #define wxUSE_STATBMP 1
46446 if test "$wxUSE_STATBOX" = "yes"; then
46447 cat >>confdefs.h
<<\_ACEOF
46448 #define wxUSE_STATBOX 1
46454 if test "$wxUSE_STATTEXT" = "yes"; then
46455 cat >>confdefs.h
<<\_ACEOF
46456 #define wxUSE_STATTEXT 1
46462 if test "$wxUSE_STATLINE" = "yes"; then
46463 cat >>confdefs.h
<<\_ACEOF
46464 #define wxUSE_STATLINE 1
46470 if test "$wxUSE_STATUSBAR" = "yes"; then
46471 cat >>confdefs.h
<<\_ACEOF
46472 #define wxUSE_NATIVE_STATUSBAR 1
46475 cat >>confdefs.h
<<\_ACEOF
46476 #define wxUSE_STATUSBAR 1
46481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46484 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46485 cat >>confdefs.h
<<\_ACEOF
46486 #define wxUSE_TAB_DIALOG 1
46491 if test "$wxUSE_TEXTCTRL" = "yes"; then
46492 cat >>confdefs.h
<<\_ACEOF
46493 #define wxUSE_TEXTCTRL 1
46497 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46500 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46501 if test "$wxUSE_COCOA" = 1 ; then
46502 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46503 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46507 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46508 cat >>confdefs.h
<<\_ACEOF
46509 #define wxUSE_TOGGLEBTN 1
46516 if test "$wxUSE_TOOLBAR" = "yes"; then
46517 cat >>confdefs.h
<<\_ACEOF
46518 #define wxUSE_TOOLBAR 1
46523 if test "$wxUSE_UNIVERSAL" = "yes"; then
46524 wxUSE_TOOLBAR_NATIVE
="no"
46526 wxUSE_TOOLBAR_NATIVE
="yes"
46527 cat >>confdefs.h
<<\_ACEOF
46528 #define wxUSE_TOOLBAR_NATIVE 1
46533 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46536 if test "$wxUSE_TOOLTIPS" = "yes"; then
46537 if test "$wxUSE_MOTIF" = 1; then
46538 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46539 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46541 if test "$wxUSE_UNIVERSAL" = "yes"; then
46542 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46543 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46545 cat >>confdefs.h
<<\_ACEOF
46546 #define wxUSE_TOOLTIPS 1
46553 if test "$wxUSE_TREEBOOK" = "yes"; then
46554 cat >>confdefs.h
<<\_ACEOF
46555 #define wxUSE_TREEBOOK 1
46561 if test "$wxUSE_TOOLBOOK" = "yes"; then
46562 cat >>confdefs.h
<<\_ACEOF
46563 #define wxUSE_TOOLBOOK 1
46569 if test "$wxUSE_TREECTRL" = "yes"; then
46570 if test "$wxUSE_IMAGLIST" = "yes"; then
46571 cat >>confdefs.h
<<\_ACEOF
46572 #define wxUSE_TREECTRL 1
46576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46578 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46579 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46583 if test "$wxUSE_POPUPWIN" = "yes"; then
46584 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46585 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46586 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46588 if test "$wxUSE_PM" = 1; then
46589 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46590 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46592 cat >>confdefs.h
<<\_ACEOF
46593 #define wxUSE_POPUPWIN 1
46596 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46603 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46604 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46605 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46606 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46608 cat >>confdefs.h
<<\_ACEOF
46609 #define wxUSE_DIALUP_MANAGER 1
46612 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46616 if test "$wxUSE_TIPWINDOW" = "yes"; then
46617 if test "$wxUSE_PM" = 1; then
46618 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46619 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46621 cat >>confdefs.h
<<\_ACEOF
46622 #define wxUSE_TIPWINDOW 1
46628 if test "$USES_CONTROLS" = 1; then
46629 cat >>confdefs.h
<<\_ACEOF
46630 #define wxUSE_CONTROLS 1
46636 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46637 cat >>confdefs.h
<<\_ACEOF
46638 #define wxUSE_ACCESSIBILITY 1
46641 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46644 if test "$wxUSE_DC_CACHEING" = "yes"; then
46645 cat >>confdefs.h
<<\_ACEOF
46646 #define wxUSE_DC_CACHEING 1
46651 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46652 cat >>confdefs.h
<<\_ACEOF
46653 #define wxUSE_DRAGIMAGE 1
46656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46659 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46660 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46661 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46662 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46664 cat >>confdefs.h
<<\_ACEOF
46665 #define wxUSE_EXCEPTIONS 1
46668 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46673 if test "$wxUSE_HTML" = "yes"; then
46674 cat >>confdefs.h
<<\_ACEOF
46675 #define wxUSE_HTML 1
46679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46680 if test "$wxUSE_MAC" = 1; then
46681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
46684 if test "$wxUSE_WEBKIT" = "yes"; then
46685 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46686 old_CPPFLAGS
="$CPPFLAGS"
46687 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46688 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46689 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46690 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46691 echo $ECHO_N "(cached) $ECHO_C" >&6
46693 cat >conftest.
$ac_ext <<_ACEOF
46696 cat confdefs.h
>>conftest.
$ac_ext
46697 cat >>conftest.
$ac_ext <<_ACEOF
46698 /* end confdefs.h. */
46699 #include <Carbon/Carbon.h>
46701 #include <WebKit/HIWebView.h>
46703 rm -f conftest.
$ac_objext
46704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46705 (eval $ac_compile) 2>conftest.er1
46707 grep -v '^ *+' conftest.er1
>conftest.err
46709 cat conftest.err
>&5
46710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46711 (exit $ac_status); } &&
46712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46714 (eval $ac_try) 2>&5
46716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46717 (exit $ac_status); }; } &&
46718 { ac_try
='test -s conftest.$ac_objext'
46719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46720 (eval $ac_try) 2>&5
46722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46723 (exit $ac_status); }; }; then
46724 ac_cv_header_WebKit_HIWebView_h
=yes
46726 echo "$as_me: failed program was:" >&5
46727 sed 's/^/| /' conftest.
$ac_ext >&5
46729 ac_cv_header_WebKit_HIWebView_h
=no
46731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46733 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46734 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46735 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46737 cat >>confdefs.h
<<\_ACEOF
46738 #define wxUSE_WEBKIT 1
46741 WEBKIT_LINK
="-framework WebKit"
46745 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46746 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46752 CPPFLAGS
="$old_CPPFLAGS"
46753 elif test "$wxUSE_COCOA" = 1; then
46754 cat >>confdefs.h
<<\_ACEOF
46755 #define wxUSE_WEBKIT 1
46764 if test "$wxUSE_XRC" = "yes"; then
46765 if test "$wxUSE_XML" != "yes"; then
46766 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46767 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46770 cat >>confdefs.h
<<\_ACEOF
46771 #define wxUSE_XRC 1
46775 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
46780 if test "$wxUSE_AUI" = "yes"; then
46781 cat >>confdefs.h
<<\_ACEOF
46782 #define wxUSE_AUI 1
46786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
46789 if test "$wxUSE_MENUS" = "yes"; then
46790 cat >>confdefs.h
<<\_ACEOF
46791 #define wxUSE_MENUS 1
46794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
46797 if test "$wxUSE_METAFILE" = "yes"; then
46798 cat >>confdefs.h
<<\_ACEOF
46799 #define wxUSE_METAFILE 1
46804 if test "$wxUSE_MIMETYPE" = "yes"; then
46805 cat >>confdefs.h
<<\_ACEOF
46806 #define wxUSE_MIMETYPE 1
46811 if test "$wxUSE_MINIFRAME" = "yes"; then
46812 cat >>confdefs.h
<<\_ACEOF
46813 #define wxUSE_MINIFRAME 1
46816 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
46819 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46820 cat >>confdefs.h
<<\_ACEOF
46821 #define wxUSE_SYSTEM_OPTIONS 1
46824 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46825 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46826 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
46831 if test "$wxUSE_VALIDATORS" = "yes"; then
46832 cat >>confdefs.h
<<\_ACEOF
46833 #define wxUSE_VALIDATORS 1
46836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
46839 if test "$wxUSE_PALETTE" = "yes" ; then
46840 cat >>confdefs.h
<<\_ACEOF
46841 #define wxUSE_PALETTE 1
46846 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46847 LIBS
=" -lunicows $LIBS"
46851 if test "$wxUSE_RICHTEXT" = "yes"; then
46852 cat >>confdefs.h
<<\_ACEOF
46853 #define wxUSE_RICHTEXT 1
46857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
46861 if test "$wxUSE_IMAGE" = "yes" ; then
46862 cat >>confdefs.h
<<\_ACEOF
46863 #define wxUSE_IMAGE 1
46867 if test "$wxUSE_GIF" = "yes" ; then
46868 cat >>confdefs.h
<<\_ACEOF
46869 #define wxUSE_GIF 1
46874 if test "$wxUSE_PCX" = "yes" ; then
46875 cat >>confdefs.h
<<\_ACEOF
46876 #define wxUSE_PCX 1
46881 if test "$wxUSE_TGA" = "yes" ; then
46882 cat >>confdefs.h
<<\_ACEOF
46883 #define wxUSE_TGA 1
46888 if test "$wxUSE_IFF" = "yes" ; then
46889 cat >>confdefs.h
<<\_ACEOF
46890 #define wxUSE_IFF 1
46895 if test "$wxUSE_PNM" = "yes" ; then
46896 cat >>confdefs.h
<<\_ACEOF
46897 #define wxUSE_PNM 1
46902 if test "$wxUSE_XPM" = "yes" ; then
46903 cat >>confdefs.h
<<\_ACEOF
46904 #define wxUSE_XPM 1
46909 if test "$wxUSE_ICO_CUR" = "yes" ; then
46910 cat >>confdefs.h
<<\_ACEOF
46911 #define wxUSE_ICO_CUR 1
46918 if test "$wxUSE_ABOUTDLG" = "yes"; then
46919 cat >>confdefs.h
<<\_ACEOF
46920 #define wxUSE_ABOUTDLG 1
46925 if test "$wxUSE_CHOICEDLG" = "yes"; then
46926 cat >>confdefs.h
<<\_ACEOF
46927 #define wxUSE_CHOICEDLG 1
46932 if test "$wxUSE_COLOURDLG" = "yes"; then
46933 cat >>confdefs.h
<<\_ACEOF
46934 #define wxUSE_COLOURDLG 1
46939 if test "$wxUSE_FILEDLG" = "yes"; then
46940 cat >>confdefs.h
<<\_ACEOF
46941 #define wxUSE_FILEDLG 1
46946 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46947 cat >>confdefs.h
<<\_ACEOF
46948 #define wxUSE_FINDREPLDLG 1
46953 if test "$wxUSE_FONTDLG" = "yes"; then
46954 cat >>confdefs.h
<<\_ACEOF
46955 #define wxUSE_FONTDLG 1
46960 if test "$wxUSE_DIRDLG" = "yes"; then
46961 if test "$wxUSE_TREECTRL" != "yes"; then
46962 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46963 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46965 cat >>confdefs.h
<<\_ACEOF
46966 #define wxUSE_DIRDLG 1
46972 if test "$wxUSE_MSGDLG" = "yes"; then
46973 cat >>confdefs.h
<<\_ACEOF
46974 #define wxUSE_MSGDLG 1
46979 if test "$wxUSE_NUMBERDLG" = "yes"; then
46980 cat >>confdefs.h
<<\_ACEOF
46981 #define wxUSE_NUMBERDLG 1
46986 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46987 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46988 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46989 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46991 cat >>confdefs.h
<<\_ACEOF
46992 #define wxUSE_PROGRESSDLG 1
46998 if test "$wxUSE_SPLASH" = "yes"; then
46999 cat >>confdefs.h
<<\_ACEOF
47000 #define wxUSE_SPLASH 1
47003 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
47006 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47007 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47008 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47009 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47011 cat >>confdefs.h
<<\_ACEOF
47012 #define wxUSE_STARTUP_TIPS 1
47018 if test "$wxUSE_TEXTDLG" = "yes"; then
47019 cat >>confdefs.h
<<\_ACEOF
47020 #define wxUSE_TEXTDLG 1
47025 if test "$wxUSE_WIZARDDLG" = "yes"; then
47026 cat >>confdefs.h
<<\_ACEOF
47027 #define wxUSE_WIZARDDLG 1
47030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
47034 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47035 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47036 cat >>confdefs.h
<<\_ACEOF
47037 #define wxUSE_GRAPHICS_CONTEXT 1
47040 elif test "$wxUSE_GTK" != 1; then
47041 cat >>confdefs.h
<<\_ACEOF
47042 #define wxUSE_GRAPHICS_CONTEXT 1
47048 echo "$as_me:$LINENO: checking for CAIRO" >&5
47049 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47051 if test -n "$PKG_CONFIG"; then
47052 if test -n "$CAIRO_CFLAGS"; then
47053 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
47055 if test -n "$PKG_CONFIG" && \
47056 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47057 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47060 (exit $ac_status); }; then
47061 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47069 if test -n "$PKG_CONFIG"; then
47070 if test -n "$CAIRO_LIBS"; then
47071 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
47073 if test -n "$PKG_CONFIG" && \
47074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47075 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47078 (exit $ac_status); }; then
47079 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47090 if test $pkg_failed = yes; then
47092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47093 _pkg_short_errors_supported
=yes
47095 _pkg_short_errors_supported
=no
47097 if test $_pkg_short_errors_supported = yes; then
47098 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47100 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47102 # Put the nasty error message in config.log where it belongs
47103 echo "$CAIRO_PKG_ERRORS" >&5
47105 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47106 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47108 elif test $pkg_failed = untried
; then
47109 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47110 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47113 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
47114 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
47115 echo "$as_me:$LINENO: result: yes" >&5
47116 echo "${ECHO_T}yes" >&6
47117 cat >>confdefs.h
<<\_ACEOF
47118 #define wxUSE_GRAPHICS_CONTEXT 1
47128 if test "$wxUSE_MEDIACTRL" = "yes"; then
47131 if test "$wxUSE_GTK" = 1; then
47132 wxUSE_GSTREAMER
="no"
47134 GST_VERSION_MAJOR
=0
47135 GST_VERSION_MINOR
=10
47136 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47138 if test "$wxUSE_GSTREAMER8" = "no"; then
47141 echo "$as_me:$LINENO: checking for GST" >&5
47142 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47144 if test -n "$PKG_CONFIG"; then
47145 if test -n "$GST_CFLAGS"; then
47146 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47148 if test -n "$PKG_CONFIG" && \
47149 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47150 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47153 (exit $ac_status); }; then
47154 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47162 if test -n "$PKG_CONFIG"; then
47163 if test -n "$GST_LIBS"; then
47164 pkg_cv_GST_LIBS
="$GST_LIBS"
47166 if test -n "$PKG_CONFIG" && \
47167 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47168 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47171 (exit $ac_status); }; then
47172 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47183 if test $pkg_failed = yes; then
47185 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47186 _pkg_short_errors_supported
=yes
47188 _pkg_short_errors_supported
=no
47190 if test $_pkg_short_errors_supported = yes; then
47191 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47193 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47195 # Put the nasty error message in config.log where it belongs
47196 echo "$GST_PKG_ERRORS" >&5
47199 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47200 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47201 GST_VERSION_MINOR
=8
47204 elif test $pkg_failed = untried
; then
47206 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47207 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47208 GST_VERSION_MINOR
=8
47212 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47213 GST_LIBS
=$pkg_cv_GST_LIBS
47214 echo "$as_me:$LINENO: result: yes" >&5
47215 echo "${ECHO_T}yes" >&6
47217 wxUSE_GSTREAMER
="yes"
47218 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47222 GST_VERSION_MINOR
=8
47225 if test $GST_VERSION_MINOR = "8"; then
47226 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47229 echo "$as_me:$LINENO: checking for GST" >&5
47230 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47232 if test -n "$PKG_CONFIG"; then
47233 if test -n "$GST_CFLAGS"; then
47234 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47236 if test -n "$PKG_CONFIG" && \
47237 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47238 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47241 (exit $ac_status); }; then
47242 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47250 if test -n "$PKG_CONFIG"; then
47251 if test -n "$GST_LIBS"; then
47252 pkg_cv_GST_LIBS
="$GST_LIBS"
47254 if test -n "$PKG_CONFIG" && \
47255 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47256 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47259 (exit $ac_status); }; then
47260 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47271 if test $pkg_failed = yes; then
47273 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47274 _pkg_short_errors_supported
=yes
47276 _pkg_short_errors_supported
=no
47278 if test $_pkg_short_errors_supported = yes; then
47279 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47281 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47283 # Put the nasty error message in config.log where it belongs
47284 echo "$GST_PKG_ERRORS" >&5
47287 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47288 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47290 elif test $pkg_failed = untried
; then
47292 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47293 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47296 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47297 GST_LIBS
=$pkg_cv_GST_LIBS
47298 echo "$as_me:$LINENO: result: yes" >&5
47299 echo "${ECHO_T}yes" >&6
47300 wxUSE_GSTREAMER
="yes"
47305 if test "$wxUSE_GSTREAMER" = "yes"; then
47308 if "$GCC" = yes; then
47309 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
47310 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
47314 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
47315 LIBS
="$GST_LIBS $LIBS"
47317 cat >>confdefs.h
<<\_ACEOF
47318 #define wxUSE_GSTREAMER 1
47326 if test $USE_MEDIA = 1; then
47327 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
47328 cat >>confdefs.h
<<\_ACEOF
47329 #define wxUSE_MEDIACTRL 1
47336 if test "$cross_compiling" = "yes"; then
47339 OSINFO
=`uname -s -r -m`
47340 OSINFO
="\"$OSINFO\""
47343 cat >>confdefs.h
<<_ACEOF
47344 #define WXWIN_OS_DESCRIPTION $OSINFO
47349 if test "x$prefix" != "xNONE"; then
47352 wxPREFIX
=$ac_default_prefix
47355 cat >>confdefs.h
<<_ACEOF
47356 #define wxINSTALL_PREFIX "$wxPREFIX"
47362 CORE_BASE_LIBS
="net base"
47363 CORE_GUI_LIBS
="adv core"
47365 if test "$wxUSE_XML" = "yes" ; then
47366 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
47368 if test "$wxUSE_ODBC" != "no" ; then
47369 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
47370 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
47372 if test "$wxUSE_HTML" = "yes" ; then
47373 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
47375 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47376 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
47378 if test "$wxUSE_XRC" = "yes" ; then
47379 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
47381 if test "$wxUSE_AUI" = "yes" ; then
47382 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
47385 if test "$wxUSE_GUI" != "yes"; then
47394 if test "$wxUSE_MAC" = 1 ; then
47395 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47396 if test "$USE_DARWIN" = 1; then
47397 LDFLAGS
="$LDFLAGS -framework QuickTime"
47399 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
47402 if test "$USE_DARWIN" = 1; then
47403 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47405 LDFLAGS
="$LDFLAGS -lCarbonLib"
47408 if test "$wxUSE_COCOA" = 1 ; then
47409 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
47410 if test "$wxUSE_MEDIACTRL" = "yes"; then
47411 LDFLAGS
="$LDFLAGS -framework QuickTime"
47414 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47415 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47418 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47420 if test "$wxUSE_GUI" = "yes"; then
47423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47424 dynamic erase event exec font image minimal mobile \
47425 mobile/wxedit mobile/styles propsize render \
47426 rotate shaped vscroll widgets"
47428 if test "$wxUSE_MONOLITHIC" != "yes"; then
47429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
47431 if test "$TOOLKIT" = "MSW"; then
47432 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
47433 if test "$wxUSE_UNIVERSAL" != "yes"; then
47434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47437 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47438 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
47441 SAMPLES_SUBDIRS
="console"
47445 if test "x$INTELCC" = "xyes" ; then
47446 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
47447 elif test "$GCC" = yes ; then
47448 CWARNINGS
="-Wall -Wundef"
47451 if test "x$INTELCXX" = "xyes" ; then
47452 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
47453 elif test "$GXX" = yes ; then
47454 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
47458 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47459 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47462 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47463 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47464 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47467 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47468 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47469 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47471 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47474 if test "x$MWCC" = "xyes"; then
47476 CC
="$CC -cwd source -I-"
47477 CXX
="$CXX -cwd source -I-"
47482 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47483 EXTRALIBS_XML
="$EXPAT_LINK"
47484 EXTRALIBS_HTML
="$MSPACK_LINK"
47485 EXTRALIBS_ODBC
="$ODBC_LINK"
47486 if test "$wxUSE_GUI" = "yes"; then
47487 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47489 if test "$wxUSE_OPENGL" = "yes"; then
47490 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47493 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47495 WXCONFIG_LIBS
="$LIBS"
47497 if test "$wxUSE_REGEX" = "builtin" ; then
47498 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47500 if test "$wxUSE_EXPAT" = "builtin" ; then
47501 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47503 if test "$wxUSE_ODBC" = "builtin" ; then
47504 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
47506 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47507 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47509 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47510 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47512 if test "$wxUSE_LIBPNG" = "builtin" ; then
47513 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47515 if test "$wxUSE_ZLIB" = "builtin" ; then
47516 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47519 for i
in $wxconfig_3rdparty ; do
47520 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47524 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47527 case "$wxUNIV_THEMES" in
47529 cat >>confdefs.h
<<\_ACEOF
47530 #define wxUSE_ALL_THEMES 1
47536 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47537 cat >>confdefs.h
<<_ACEOF
47538 #define wxUSE_THEME_$t 1
47555 if test $wxUSE_MONOLITHIC = "yes" ; then
47561 if test $wxUSE_PLUGINS = "yes" ; then
47567 if test $wxUSE_ODBC != "no" ; then
47573 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47579 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47609 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47620 TOOLKIT_DESC
="GTK+"
47621 if test "$WXGTK20" = 1; then
47622 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47623 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47624 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47626 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47627 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47629 if test "$wxUSE_LIBHILDON" = "yes"; then
47630 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47633 if test "$TOOLKIT_EXTRA" != ""; then
47634 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47640 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47644 TOOLKIT_DESC
="base only"
47648 if test "$wxUSE_WINE" = "yes"; then
47649 BAKEFILE_FORCE_PLATFORM
=win32
47652 if test "$wxUSE_MAC" = 1 ; then
47653 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
47654 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
47655 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47657 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47659 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
47660 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
47661 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
47662 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
47665 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47666 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47669 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47671 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47672 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47673 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47674 echo $ECHO_N "(cached) $ECHO_C" >&6
47677 echo '#include <stdio.h>
47678 const wchar_t test_var[] = L"awidetest";' > conftest.h
47680 echo '#include "conftest.h"
47683 printf("%ls", test_var);
47687 wx_cv_gcc_pch_bug
="pch not supported"
47689 if $CXX conftest.h
>/dev
/null
2>&1
47693 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47695 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47696 grep awidetest
>/dev
/null
47698 wx_cv_gcc_pch_bug
=no
47700 wx_cv_gcc_pch_bug
=yes
47705 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47708 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47709 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47711 if test "$wx_cv_gcc_pch_bug" = yes; then
47719 if test "x$BAKEFILE_HOST" = "x"; then
47720 if test "x${host}" = "x" ; then
47721 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47722 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47723 { (exit 1); exit 1; }; }
47726 BAKEFILE_HOST
="${host}"
47729 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47731 if test -n "$ac_tool_prefix"; then
47732 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47733 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47734 echo "$as_me:$LINENO: checking for $ac_word" >&5
47735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47736 if test "${ac_cv_prog_RANLIB+set}" = set; then
47737 echo $ECHO_N "(cached) $ECHO_C" >&6
47739 if test -n "$RANLIB"; then
47740 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47743 for as_dir
in $PATH
47746 test -z "$as_dir" && as_dir
=.
47747 for ac_exec_ext
in '' $ac_executable_extensions; do
47748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47749 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47758 RANLIB
=$ac_cv_prog_RANLIB
47759 if test -n "$RANLIB"; then
47760 echo "$as_me:$LINENO: result: $RANLIB" >&5
47761 echo "${ECHO_T}$RANLIB" >&6
47763 echo "$as_me:$LINENO: result: no" >&5
47764 echo "${ECHO_T}no" >&6
47768 if test -z "$ac_cv_prog_RANLIB"; then
47769 ac_ct_RANLIB
=$RANLIB
47770 # Extract the first word of "ranlib", so it can be a program name with args.
47771 set dummy ranlib
; ac_word
=$2
47772 echo "$as_me:$LINENO: checking for $ac_word" >&5
47773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47774 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47775 echo $ECHO_N "(cached) $ECHO_C" >&6
47777 if test -n "$ac_ct_RANLIB"; then
47778 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47781 for as_dir
in $PATH
47784 test -z "$as_dir" && as_dir
=.
47785 for ac_exec_ext
in '' $ac_executable_extensions; do
47786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47787 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47794 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
47797 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47798 if test -n "$ac_ct_RANLIB"; then
47799 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47800 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47802 echo "$as_me:$LINENO: result: no" >&5
47803 echo "${ECHO_T}no" >&6
47806 RANLIB
=$ac_ct_RANLIB
47808 RANLIB
="$ac_cv_prog_RANLIB"
47811 # Find a good install program. We prefer a C program (faster),
47812 # so one script is as good as another. But avoid the broken or
47813 # incompatible versions:
47814 # SysV /etc/install, /usr/sbin/install
47815 # SunOS /usr/etc/install
47816 # IRIX /sbin/install
47818 # AmigaOS /C/install, which installs bootblocks on floppy discs
47819 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47820 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47821 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47822 # OS/2's system install, which has a completely different semantic
47823 # ./install, which can be erroneously created by make from ./install.sh.
47824 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47825 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47826 if test -z "$INSTALL"; then
47827 if test "${ac_cv_path_install+set}" = set; then
47828 echo $ECHO_N "(cached) $ECHO_C" >&6
47830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47831 for as_dir
in $PATH
47834 test -z "$as_dir" && as_dir
=.
47835 # Account for people who put trailing slashes in PATH elements.
47837 .
/ | .
// | /cC
/* | \
47838 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47839 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47842 # OSF1 and SCO ODT 3.0 have their own names for install.
47843 # Don't use installbsd from OSF since it installs stuff as root
47845 for ac_prog
in ginstall scoinst
install; do
47846 for ac_exec_ext
in '' $ac_executable_extensions; do
47847 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47848 if test $ac_prog = install &&
47849 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47850 # AIX install. It has an incompatible calling convention.
47852 elif test $ac_prog = install &&
47853 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47854 # program-specific install script used by HP pwplus--don't use.
47857 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47869 if test "${ac_cv_path_install+set}" = set; then
47870 INSTALL
=$ac_cv_path_install
47872 # As a last resort, use the slow shell script. We don't cache a
47873 # path for INSTALL within a source directory, because that will
47874 # break other packages using the cache if that directory is
47875 # removed, or if the path is relative.
47876 INSTALL
=$ac_install_sh
47879 echo "$as_me:$LINENO: result: $INSTALL" >&5
47880 echo "${ECHO_T}$INSTALL" >&6
47882 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47883 # It thinks the first close brace ends the variable substitution.
47884 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47886 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47888 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47890 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47891 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47893 if test "$LN_S" = "ln -s"; then
47894 echo "$as_me:$LINENO: result: yes" >&5
47895 echo "${ECHO_T}yes" >&6
47897 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47898 echo "${ECHO_T}no, using $LN_S" >&6
47902 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47903 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47904 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
47905 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47906 echo $ECHO_N "(cached) $ECHO_C" >&6
47908 cat >conftest.
make <<\_ACEOF
47910 @
echo 'ac_maketemp="$(MAKE)"'
47912 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47913 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47914 if test -n "$ac_maketemp"; then
47915 eval ac_cv_prog_make_
${ac_make}_set
=yes
47917 eval ac_cv_prog_make_
${ac_make}_set
=no
47919 rm -f conftest.
make
47921 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47922 echo "$as_me:$LINENO: result: yes" >&5
47923 echo "${ECHO_T}yes" >&6
47926 echo "$as_me:$LINENO: result: no" >&5
47927 echo "${ECHO_T}no" >&6
47928 SET_MAKE
="MAKE=${MAKE-make}"
47933 if test "x$SUNCXX" = "xyes"; then
47936 AROPTIONS
="-xar -o"
47938 if test -n "$ac_tool_prefix"; then
47939 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47940 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47941 echo "$as_me:$LINENO: checking for $ac_word" >&5
47942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47943 if test "${ac_cv_prog_AR+set}" = set; then
47944 echo $ECHO_N "(cached) $ECHO_C" >&6
47946 if test -n "$AR"; then
47947 ac_cv_prog_AR
="$AR" # Let the user override the test.
47949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47950 for as_dir
in $PATH
47953 test -z "$as_dir" && as_dir
=.
47954 for ac_exec_ext
in '' $ac_executable_extensions; do
47955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47956 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47966 if test -n "$AR"; then
47967 echo "$as_me:$LINENO: result: $AR" >&5
47968 echo "${ECHO_T}$AR" >&6
47970 echo "$as_me:$LINENO: result: no" >&5
47971 echo "${ECHO_T}no" >&6
47975 if test -z "$ac_cv_prog_AR"; then
47977 # Extract the first word of "ar", so it can be a program name with args.
47978 set dummy
ar; ac_word
=$2
47979 echo "$as_me:$LINENO: checking for $ac_word" >&5
47980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47981 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47982 echo $ECHO_N "(cached) $ECHO_C" >&6
47984 if test -n "$ac_ct_AR"; then
47985 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47988 for as_dir
in $PATH
47991 test -z "$as_dir" && as_dir
=.
47992 for ac_exec_ext
in '' $ac_executable_extensions; do
47993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47994 ac_cv_prog_ac_ct_AR
="ar"
47995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48001 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
48004 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
48005 if test -n "$ac_ct_AR"; then
48006 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48007 echo "${ECHO_T}$ac_ct_AR" >&6
48009 echo "$as_me:$LINENO: result: no" >&5
48010 echo "${ECHO_T}no" >&6
48015 AR
="$ac_cv_prog_AR"
48022 if test -n "$ac_tool_prefix"; then
48023 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48024 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
48025 echo "$as_me:$LINENO: checking for $ac_word" >&5
48026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48027 if test "${ac_cv_prog_STRIP+set}" = set; then
48028 echo $ECHO_N "(cached) $ECHO_C" >&6
48030 if test -n "$STRIP"; then
48031 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
48033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48034 for as_dir
in $PATH
48037 test -z "$as_dir" && as_dir
=.
48038 for ac_exec_ext
in '' $ac_executable_extensions; do
48039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48040 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
48041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48049 STRIP
=$ac_cv_prog_STRIP
48050 if test -n "$STRIP"; then
48051 echo "$as_me:$LINENO: result: $STRIP" >&5
48052 echo "${ECHO_T}$STRIP" >&6
48054 echo "$as_me:$LINENO: result: no" >&5
48055 echo "${ECHO_T}no" >&6
48059 if test -z "$ac_cv_prog_STRIP"; then
48061 # Extract the first word of "strip", so it can be a program name with args.
48062 set dummy strip
; ac_word
=$2
48063 echo "$as_me:$LINENO: checking for $ac_word" >&5
48064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48065 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48066 echo $ECHO_N "(cached) $ECHO_C" >&6
48068 if test -n "$ac_ct_STRIP"; then
48069 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
48071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48072 for as_dir
in $PATH
48075 test -z "$as_dir" && as_dir
=.
48076 for ac_exec_ext
in '' $ac_executable_extensions; do
48077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48078 ac_cv_prog_ac_ct_STRIP
="strip"
48079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48085 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
48088 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
48089 if test -n "$ac_ct_STRIP"; then
48090 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48091 echo "${ECHO_T}$ac_ct_STRIP" >&6
48093 echo "$as_me:$LINENO: result: no" >&5
48094 echo "${ECHO_T}no" >&6
48099 STRIP
="$ac_cv_prog_STRIP"
48102 if test -n "$ac_tool_prefix"; then
48103 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48104 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
48105 echo "$as_me:$LINENO: checking for $ac_word" >&5
48106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48107 if test "${ac_cv_prog_NM+set}" = set; then
48108 echo $ECHO_N "(cached) $ECHO_C" >&6
48110 if test -n "$NM"; then
48111 ac_cv_prog_NM
="$NM" # Let the user override the test.
48113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48114 for as_dir
in $PATH
48117 test -z "$as_dir" && as_dir
=.
48118 for ac_exec_ext
in '' $ac_executable_extensions; do
48119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48120 ac_cv_prog_NM
="${ac_tool_prefix}nm"
48121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48130 if test -n "$NM"; then
48131 echo "$as_me:$LINENO: result: $NM" >&5
48132 echo "${ECHO_T}$NM" >&6
48134 echo "$as_me:$LINENO: result: no" >&5
48135 echo "${ECHO_T}no" >&6
48139 if test -z "$ac_cv_prog_NM"; then
48141 # Extract the first word of "nm", so it can be a program name with args.
48142 set dummy nm
; ac_word
=$2
48143 echo "$as_me:$LINENO: checking for $ac_word" >&5
48144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48145 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48146 echo $ECHO_N "(cached) $ECHO_C" >&6
48148 if test -n "$ac_ct_NM"; then
48149 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
48151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48152 for as_dir
in $PATH
48155 test -z "$as_dir" && as_dir
=.
48156 for ac_exec_ext
in '' $ac_executable_extensions; do
48157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48158 ac_cv_prog_ac_ct_NM
="nm"
48159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48165 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
48168 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
48169 if test -n "$ac_ct_NM"; then
48170 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48171 echo "${ECHO_T}$ac_ct_NM" >&6
48173 echo "$as_me:$LINENO: result: no" >&5
48174 echo "${ECHO_T}no" >&6
48179 NM
="$ac_cv_prog_NM"
48183 case ${BAKEFILE_HOST} in
48185 INSTALL_DIR
="mkdir -p"
48188 INSTALL_DIR
='$(INSTALL) -d'
48194 case ${BAKEFILE_HOST} in
48195 *-*-cygwin* | *-*-mingw32* )
48196 LDFLAGS_GUI
="-mwindows"
48202 echo "$as_me:$LINENO: checking if make is GNU make" >&5
48203 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
48204 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48205 echo $ECHO_N "(cached) $ECHO_C" >&6
48208 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48209 egrep -s GNU
> /dev
/null
); then
48210 bakefile_cv_prog_makeisgnu
="yes"
48212 bakefile_cv_prog_makeisgnu
="no"
48216 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48217 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48219 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48236 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48237 case "${BAKEFILE_HOST}" in
48244 *-pc-os2_emx | *-pc-os2-emx )
48254 powerpc
-apple-macos* )
48263 case "$BAKEFILE_FORCE_PLATFORM" in
48284 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48285 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48286 { (exit 1); exit 1; }; }
48301 # Check whether --enable-omf or --disable-omf was given.
48302 if test "${enable_omf+set}" = set; then
48303 enableval
="$enable_omf"
48304 bk_os2_use_omf
="$enableval"
48307 case "${BAKEFILE_HOST}" in
48309 if test "x$GCC" = "xyes"; then
48310 CFLAGS
="$CFLAGS -fno-common"
48311 CXXFLAGS
="$CXXFLAGS -fno-common"
48313 if test "x$XLCC" = "xyes"; then
48314 CFLAGS
="$CFLAGS -qnocommon"
48315 CXXFLAGS
="$CXXFLAGS -qnocommon"
48319 *-pc-os2_emx | *-pc-os2-emx )
48320 if test "x$bk_os2_use_omf" = "xyes" ; then
48323 LDFLAGS
="-Zomf $LDFLAGS"
48324 CFLAGS
="-Zomf $CFLAGS"
48325 CXXFLAGS
="-Zomf $CXXFLAGS"
48333 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48339 SO_SUFFIX_MODULE
="so"
48344 DLLPREFIX_MODULE
=""
48348 case "${BAKEFILE_HOST}" in
48351 SO_SUFFIX_MODULE
="sl"
48355 SO_SUFFIX_MODULE
="a"
48359 SO_SUFFIX_MODULE
="dll"
48360 DLLIMP_SUFFIX
="dll.a"
48367 SO_SUFFIX_MODULE
="dll"
48368 DLLIMP_SUFFIX
="dll.a"
48378 *-pc-os2_emx | *-pc-os2-emx )
48380 SO_SUFFIX_MODULE
="dll"
48381 DLLIMP_SUFFIX
=$OS2_LIBEXT
48385 LIBEXT
=".$OS2_LIBEXT"
48390 SO_SUFFIX_MODULE
="bundle"
48394 if test "x$DLLIMP_SUFFIX" = "x" ; then
48395 DLLIMP_SUFFIX
="$SO_SUFFIX"
48410 if test "x$GCC" = "xyes"; then
48414 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48415 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48418 case "${BAKEFILE_HOST}" in
48420 if test "x$GCC" != "xyes"; then
48421 LDFLAGS
="$LDFLAGS -L/usr/lib"
48423 SHARED_LD_CC
="${CC} -b -o"
48424 SHARED_LD_CXX
="${CXX} -b -o"
48430 if test "x$GCC" != "xyes"; then
48431 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48432 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48433 if test "${bakefile_cv_prog_icc+set}" = set; then
48434 echo $ECHO_N "(cached) $ECHO_C" >&6
48437 cat >conftest.
$ac_ext <<_ACEOF
48440 cat confdefs.h
>>conftest.
$ac_ext
48441 cat >>conftest.
$ac_ext <<_ACEOF
48442 /* end confdefs.h. */
48448 #ifndef __INTEL_COMPILER
48456 rm -f conftest.
$ac_objext
48457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48458 (eval $ac_compile) 2>conftest.er1
48460 grep -v '^ *+' conftest.er1
>conftest.err
48462 cat conftest.err
>&5
48463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48464 (exit $ac_status); } &&
48465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48467 (eval $ac_try) 2>&5
48469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48470 (exit $ac_status); }; } &&
48471 { ac_try
='test -s conftest.$ac_objext'
48472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48473 (eval $ac_try) 2>&5
48475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48476 (exit $ac_status); }; }; then
48477 bakefile_cv_prog_icc
=yes
48479 echo "$as_me: failed program was:" >&5
48480 sed 's/^/| /' conftest.
$ac_ext >&5
48482 bakefile_cv_prog_icc
=no
48485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48488 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48489 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48490 if test "$bakefile_cv_prog_icc" = "yes"; then
48497 if test "x$GCC" != xyes
; then
48498 SHARED_LD_CC
="${CC} -G -o"
48499 SHARED_LD_CXX
="${CXX} -G -o"
48507 cat <<EOF >shared-ld-sh
48509 #-----------------------------------------------------------------------------
48510 #-- Name: distrib/mac/shared-ld-sh
48511 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48512 #-- Author: Gilles Depeyrot
48513 #-- Copyright: (c) 2002 Gilles Depeyrot
48514 #-- Licence: any use permitted
48515 #-----------------------------------------------------------------------------
48520 linking_flag="-dynamiclib"
48521 ldargs="-r -keep_private_externs -nostdlib"
48523 while test ${D}# -gt 0; do
48530 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48531 # collect these options and values
48532 args="${D}{args} ${D}1 ${D}2"
48537 # collect these load args
48538 ldargs="${D}{ldargs} ${D}1"
48541 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48542 # collect these options
48543 args="${D}{args} ${D}1"
48546 -dynamiclib|-bundle)
48547 linking_flag="${D}1"
48551 echo "shared-ld: unhandled option '${D}1'"
48555 *.o | *.a | *.dylib)
48556 # collect object files
48557 objects="${D}{objects} ${D}1"
48561 echo "shared-ld: unhandled argument '${D}1'"
48572 # Link one module containing all the others
48574 if test ${D}{verbose} = 1; then
48575 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48577 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48581 # Link the shared library from the single module created, but only if the
48582 # previous command didn't fail:
48584 if test ${D}{status} = 0; then
48585 if test ${D}{verbose} = 1; then
48586 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48588 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48593 # Remove intermediate module
48595 rm -f master.${D}${D}.o
48600 chmod +x shared
-ld-sh
48602 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48603 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
48606 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48607 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48608 if test "${bakefile_cv_gcc31+set}" = set; then
48609 echo $ECHO_N "(cached) $ECHO_C" >&6
48612 cat >conftest.
$ac_ext <<_ACEOF
48615 cat confdefs.h
>>conftest.
$ac_ext
48616 cat >>conftest.
$ac_ext <<_ACEOF
48617 /* end confdefs.h. */
48623 #if (__GNUC__ < 3) || \
48624 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48632 rm -f conftest.
$ac_objext
48633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48634 (eval $ac_compile) 2>conftest.er1
48636 grep -v '^ *+' conftest.er1
>conftest.err
48638 cat conftest.err
>&5
48639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48640 (exit $ac_status); } &&
48641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48643 (eval $ac_try) 2>&5
48645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48646 (exit $ac_status); }; } &&
48647 { ac_try
='test -s conftest.$ac_objext'
48648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48649 (eval $ac_try) 2>&5
48651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48652 (exit $ac_status); }; }; then
48654 bakefile_cv_gcc31
=yes
48657 echo "$as_me: failed program was:" >&5
48658 sed 's/^/| /' conftest.
$ac_ext >&5
48661 bakefile_cv_gcc31
=no
48665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48668 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48669 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48670 if test "$bakefile_cv_gcc31" = "no"; then
48671 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48672 SHARED_LD_CXX
="$SHARED_LD_CC"
48674 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48675 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48678 if test "x$GCC" == "xyes"; then
48679 PIC_FLAG
="-dynamic -fPIC"
48681 if test "x$XLCC" = "xyes"; then
48682 PIC_FLAG
="-dynamic -DPIC"
48687 if test "x$GCC" = "xyes"; then
48690 case "${BAKEFILE_HOST}" in
48692 LD_EXPFULL
="-Wl,-bexpfull"
48696 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
48697 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
48699 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48700 set dummy makeC
++SharedLib
; ac_word
=$2
48701 echo "$as_me:$LINENO: checking for $ac_word" >&5
48702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48703 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48704 echo $ECHO_N "(cached) $ECHO_C" >&6
48706 if test -n "$AIX_CXX_LD"; then
48707 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
48709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48710 for as_dir
in $PATH
48713 test -z "$as_dir" && as_dir
=.
48714 for ac_exec_ext
in '' $ac_executable_extensions; do
48715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48716 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
48717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48723 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
48726 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
48727 if test -n "$AIX_CXX_LD"; then
48728 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48729 echo "${ECHO_T}$AIX_CXX_LD" >&6
48731 echo "$as_me:$LINENO: result: no" >&5
48732 echo "${ECHO_T}no" >&6
48735 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
48736 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
48741 SHARED_LD_CC
="${LD} -nostart -o"
48742 SHARED_LD_CXX
="${LD} -nostart -o"
48746 if test "x$GCC" != "xyes"; then
48751 *-*-cygwin* | *-*-mingw32* )
48753 SHARED_LD_CC
="\$(CC) -shared -o"
48754 SHARED_LD_CXX
="\$(CXX) -shared -o"
48758 *-pc-os2_emx | *-pc-os2-emx )
48759 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48760 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48764 cat <<EOF >dllar.sh
48767 # dllar - a tool to build both a .dll and an .a file
48768 # from a set of object (.o) files for EMX/OS2.
48770 # Written by Andrew Zabolotny, bit@freya.etu.ru
48771 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48773 # This script will accept a set of files on the command line.
48774 # All the public symbols from the .o files will be exported into
48775 # a .DEF file, then linker will be run (through gcc) against them to
48776 # build a shared library consisting of all given .o files. All libraries
48777 # (.a) will be first decompressed into component .o files then act as
48778 # described above. You can optionally give a description (-d "description")
48779 # which will be put into .DLL. To see the list of accepted options (as well
48780 # as command-line format) simply run this program without options. The .DLL
48781 # is built to be imported by name (there is no guarantee that new versions
48782 # of the library you build will have same ordinals for same symbols).
48784 # dllar is free software; you can redistribute it and/or modify
48785 # it under the terms of the GNU General Public License as published by
48786 # the Free Software Foundation; either version 2, or (at your option)
48787 # any later version.
48789 # dllar is distributed in the hope that it will be useful,
48790 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48791 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48792 # GNU General Public License for more details.
48794 # You should have received a copy of the GNU General Public License
48795 # along with dllar; see the file COPYING. If not, write to the Free
48796 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48799 # To successfuly run this program you will need:
48800 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48801 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48803 # (used to build the .dll)
48805 # (used to create .def file from .o files)
48807 # (used to create .a file from .def file)
48808 # - GNU text utilites (cat, sort, uniq)
48809 # used to process emxexp output
48810 # - GNU file utilities (mv, rm)
48812 # - lxlite (optional, see flag below)
48813 # (used for general .dll cleanup)
48820 # basnam, variant of basename, which does _not_ remove the path, _iff_
48821 # second argument (suffix to remove) is given
48825 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48828 echo ${D}1 | sed 's/'${D}2'${D}//'
48831 echo "error in basnam ${D}*"
48837 # Cleanup temporary files and output
48840 for i in ${D}inputFiles ; do
48843 rm -rf \`basnam ${D}i !\`
48850 # Kill result in case of failure as there is just to many stupid make/nmake
48851 # things out there which doesn't do this.
48852 if [ ${D}# -eq 0 ]; then
48853 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48857 # Print usage and exit script with rc=1.
48859 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48860 echo ' [-name-mangler-script script.sh]'
48861 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48862 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48863 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48864 echo ' [*.o] [*.a]'
48865 echo '*> "output_file" should have no extension.'
48866 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48867 echo ' The import library name is derived from this and is set to "name".a,'
48868 echo ' unless overridden by -import'
48869 echo '*> "importlib_name" should have no extension.'
48870 echo ' If it has the .o, or .a extension, it is automatically removed.'
48871 echo ' This name is used as the import library name and may be longer and'
48872 echo ' more descriptive than the DLL name which has to follow the old '
48873 echo ' 8.3 convention of FAT.'
48874 echo '*> "script.sh may be given to override the output_file name by a'
48875 echo ' different name. It is mainly useful if the regular make process'
48876 echo ' of some package does not take into account OS/2 restriction of'
48877 echo ' DLL name lengths. It takes the importlib name as input and is'
48878 echo ' supposed to procude a shorter name as output. The script should'
48879 echo ' expect to get importlib_name without extension and should produce'
48880 echo ' a (max.) 8 letter name without extension.'
48881 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48882 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48883 echo ' These flags will be put at the start of GCC command line.'
48884 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48885 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48886 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48887 echo ' If the last character of a symbol is "*", all symbols beginning'
48888 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48889 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48890 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48891 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48892 echo ' C runtime DLLs.'
48893 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48894 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48895 echo ' unchanged to GCC at the end of command line.'
48896 echo '*> If you create a DLL from a library and you do not specify -o,'
48897 echo ' the basename for DLL and import library will be set to library name,'
48898 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48899 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48900 echo ' library will be renamed into gcc_s.a.'
48903 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48904 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48909 # Execute a command.
48910 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48911 # @Uses Whatever CleanUp() uses.
48917 if [ ${D}rcCmd -ne 0 ]; then
48918 echo "command failed, exit code="${D}rcCmd
48933 CFLAGS="-s -Zcrtdll"
48935 EXPORT_BY_ORDINALS=0
48940 case ${D}curDirS in
48944 curDirS=${D}{curDirS}"/"
48947 # Parse commandline
48950 while [ ${D}1 ]; do
48953 EXPORT_BY_ORDINALS=1;
48963 -name-mangler-script)
48984 exclude_symbols=${D}{exclude_symbols}${D}1" "
48988 library_flags=${D}{library_flags}${D}1" "
49007 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49010 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49011 if [ ${D}omfLinking -eq 1 ]; then
49012 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49014 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49019 if [ ${D}libsToLink -ne 0 ]; then
49020 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49022 for file in ${D}1 ; do
49023 if [ -f ${D}file ]; then
49024 inputFiles="${D}{inputFiles} ${D}file"
49028 if [ ${D}found -eq 0 ]; then
49029 echo "ERROR: No file(s) found: "${D}1
49036 done # iterate cmdline words
49039 if [ -z "${D}inputFiles" ]; then
49040 echo "dllar: no input files"
49044 # Now extract all .o files from .a files
49046 for file in ${D}inputFiles ; do
49057 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49062 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49064 if [ ${D}? -ne 0 ]; then
49065 echo "Failed to create subdirectory ./${D}dirname"
49069 # Append '!' to indicate archive
49070 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49071 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49074 for subfile in ${D}dirname/*.o* ; do
49075 if [ -f ${D}subfile ]; then
49077 if [ -s ${D}subfile ]; then
49078 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49079 newInputFiles="${D}newInputFiles ${D}subfile"
49083 if [ ${D}found -eq 0 ]; then
49084 echo "WARNING: there are no files in archive \\'${D}file\\'"
49088 newInputFiles="${D}{newInputFiles} ${D}file"
49092 inputFiles="${D}newInputFiles"
49094 # Output filename(s).
49096 if [ -z ${D}outFile ]; then
49098 set outFile ${D}inputFiles; outFile=${D}2
49101 # If it is an archive, remove the '!' and the '_%' suffixes
49102 case ${D}outFile in
49104 outFile=\`basnam ${D}outFile _%!\`
49109 case ${D}outFile in
49111 outFile=\`basnam ${D}outFile .dll\`
49114 outFile=\`basnam ${D}outFile .DLL\`
49117 outFile=\`basnam ${D}outFile .o\`
49120 outFile=\`basnam ${D}outFile .obj\`
49123 outFile=\`basnam ${D}outFile .a\`
49126 outFile=\`basnam ${D}outFile .lib\`
49131 case ${D}outimpFile in
49133 outimpFile=\`basnam ${D}outimpFile .a\`
49136 outimpFile=\`basnam ${D}outimpFile .lib\`
49141 if [ -z ${D}outimpFile ]; then
49142 outimpFile=${D}outFile
49144 defFile="${D}{outFile}.def"
49145 arcFile="${D}{outimpFile}.a"
49146 arcFile2="${D}{outimpFile}.lib"
49148 #create ${D}dllFile as something matching 8.3 restrictions,
49149 if [ -z ${D}renameScript ] ; then
49150 dllFile="${D}outFile"
49152 dllFile=\`${D}renameScript ${D}outimpFile\`
49155 if [ ${D}do_backup -ne 0 ] ; then
49156 if [ -f ${D}arcFile ] ; then
49157 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49159 if [ -f ${D}arcFile2 ] ; then
49160 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49164 # Extract public symbols from all the object files.
49165 tmpdefFile=${D}{defFile}_%
49166 rm -f ${D}tmpdefFile
49167 for file in ${D}inputFiles ; do
49172 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49177 # Create the def file.
49179 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49180 dllFile="${D}{dllFile}.dll"
49181 if [ ! -z ${D}description ]; then
49182 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49184 echo "EXPORTS" >> ${D}defFile
49186 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49187 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49189 # Checks if the export is ok or not.
49190 for word in ${D}exclude_symbols; do
49191 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49192 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49196 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49197 sed "=" < ${D}tmpdefFile | \\
49201 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49203 ' > ${D}{tmpdefFile}%
49204 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49206 rm -f ${D}{tmpdefFile}%
49208 cat ${D}tmpdefFile >> ${D}defFile
49209 rm -f ${D}tmpdefFile
49211 # Do linking, create implib, and apply lxlite.
49213 for file in ${D}inputFiles ; do
49218 gccCmdl="${D}gccCmdl ${D}file"
49222 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49223 touch "${D}{outFile}.dll"
49225 doCommand "emximp -o ${D}arcFile ${D}defFile"
49226 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49228 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49231 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49233 doCommand "emxomf -s -l ${D}arcFile"
49243 powerpc
-apple-macos* | \
49244 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
49256 if test "x$PIC_FLAG" != "x" ; then
49257 PIC_FLAG
="$PIC_FLAG -DPIC"
49260 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49261 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
49263 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49264 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
49283 case "${BAKEFILE_HOST}" in
49284 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
49285 SONAME_FLAG
="-Wl,-soname,"
49319 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49320 if test "${enable_dependency_tracking+set}" = set; then
49321 enableval
="$enable_dependency_tracking"
49322 bk_use_trackdeps
="$enableval"
49325 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49326 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49329 if test "x$bk_use_trackdeps" = "xno" ; then
49331 echo "$as_me:$LINENO: result: disabled" >&5
49332 echo "${ECHO_T}disabled" >&6
49336 if test "x$GCC" = "xyes"; then
49338 case "${BAKEFILE_HOST}" in
49340 DEPSFLAG
="-no-cpp-precomp -MMD"
49346 echo "$as_me:$LINENO: result: gcc" >&5
49347 echo "${ECHO_T}gcc" >&6
49348 elif test "x$MWCC" = "xyes"; then
49351 echo "$as_me:$LINENO: result: mwcc" >&5
49352 echo "${ECHO_T}mwcc" >&6
49353 elif test "x$SUNCC" = "xyes"; then
49356 echo "$as_me:$LINENO: result: Sun cc" >&5
49357 echo "${ECHO_T}Sun cc" >&6
49358 elif test "x$SGICC" = "xyes"; then
49361 echo "$as_me:$LINENO: result: SGI cc" >&5
49362 echo "${ECHO_T}SGI cc" >&6
49363 elif test "x$HPCC" = "xyes"; then
49366 echo "$as_me:$LINENO: result: HP cc" >&5
49367 echo "${ECHO_T}HP cc" >&6
49368 elif test "x$COMPAQCC" = "xyes"; then
49371 echo "$as_me:$LINENO: result: Compaq cc" >&5
49372 echo "${ECHO_T}Compaq cc" >&6
49375 echo "$as_me:$LINENO: result: none" >&5
49376 echo "${ECHO_T}none" >&6
49379 if test $DEPS_TRACKING = 1 ; then
49385 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49386 # script. It is used to track C/C++ files dependencies in portable way.
49388 # Permission is given to use this file in any way.
49390 DEPSMODE=${DEPSMODE}
49392 DEPSFLAG="${DEPSFLAG}"
49394 mkdir -p ${D}DEPSDIR
49396 if test ${D}DEPSMODE = gcc ; then
49397 ${D}* ${D}{DEPSFLAG}
49399 if test ${D}{status} != 0 ; then
49402 # move created file to the location we want it in:
49403 while test ${D}# -gt 0; do
49417 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49418 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49419 if test -f ${D}depfile ; then
49420 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49423 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49424 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49425 if test ! -f ${D}depfile ; then
49426 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49427 depfile="${D}objfile.d"
49429 if test -f ${D}depfile ; then
49430 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49435 elif test ${D}DEPSMODE = mwcc ; then
49436 ${D}* || exit ${D}?
49437 # Run mwcc again with -MM and redirect into the dep file we want
49438 # NOTE: We can't use shift here because we need ${D}* to be valid
49440 for arg in ${D}* ; do
49441 if test "${D}prevarg" = "-o"; then
49454 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49456 elif test ${D}DEPSMODE = unixcc; then
49457 ${D}* || exit ${D}?
49458 # Run compiler again with deps flag and redirect into the dep file.
49459 # It doesn't work if the '-o FILE' option is used, but without it the
49460 # dependency file will contain the wrong name for the object. So it is
49461 # removed from the command line, and the dep file is fixed with sed.
49463 while test ${D}# -gt 0; do
49470 eval arg${D}#=\\${D}1
49471 cmd="${D}cmd \\${D}arg${D}#"
49476 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49485 BK_DEPS
="`pwd`/bk-deps"
49493 case ${BAKEFILE_HOST} in
49494 *-*-cygwin* | *-*-mingw32* )
49495 if test -n "$ac_tool_prefix"; then
49496 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49497 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
49498 echo "$as_me:$LINENO: checking for $ac_word" >&5
49499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49500 if test "${ac_cv_prog_WINDRES+set}" = set; then
49501 echo $ECHO_N "(cached) $ECHO_C" >&6
49503 if test -n "$WINDRES"; then
49504 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
49506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49507 for as_dir
in $PATH
49510 test -z "$as_dir" && as_dir
=.
49511 for ac_exec_ext
in '' $ac_executable_extensions; do
49512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49513 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
49514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49522 WINDRES
=$ac_cv_prog_WINDRES
49523 if test -n "$WINDRES"; then
49524 echo "$as_me:$LINENO: result: $WINDRES" >&5
49525 echo "${ECHO_T}$WINDRES" >&6
49527 echo "$as_me:$LINENO: result: no" >&5
49528 echo "${ECHO_T}no" >&6
49532 if test -z "$ac_cv_prog_WINDRES"; then
49533 ac_ct_WINDRES
=$WINDRES
49534 # Extract the first word of "windres", so it can be a program name with args.
49535 set dummy windres
; ac_word
=$2
49536 echo "$as_me:$LINENO: checking for $ac_word" >&5
49537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49538 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49539 echo $ECHO_N "(cached) $ECHO_C" >&6
49541 if test -n "$ac_ct_WINDRES"; then
49542 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
49544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49545 for as_dir
in $PATH
49548 test -z "$as_dir" && as_dir
=.
49549 for ac_exec_ext
in '' $ac_executable_extensions; do
49550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49551 ac_cv_prog_ac_ct_WINDRES
="windres"
49552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49560 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
49561 if test -n "$ac_ct_WINDRES"; then
49562 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49563 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49565 echo "$as_me:$LINENO: result: no" >&5
49566 echo "${ECHO_T}no" >&6
49569 WINDRES
=$ac_ct_WINDRES
49571 WINDRES
="$ac_cv_prog_WINDRES"
49576 *-*-darwin* | powerpc
-apple-macos* )
49577 # Extract the first word of "Rez", so it can be a program name with args.
49578 set dummy Rez
; ac_word
=$2
49579 echo "$as_me:$LINENO: checking for $ac_word" >&5
49580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49581 if test "${ac_cv_prog_REZ+set}" = set; then
49582 echo $ECHO_N "(cached) $ECHO_C" >&6
49584 if test -n "$REZ"; then
49585 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
49587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49588 for as_dir
in $PATH
49591 test -z "$as_dir" && as_dir
=.
49592 for ac_exec_ext
in '' $ac_executable_extensions; do
49593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49594 ac_cv_prog_REZ
="Rez"
49595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49601 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
49604 REZ
=$ac_cv_prog_REZ
49605 if test -n "$REZ"; then
49606 echo "$as_me:$LINENO: result: $REZ" >&5
49607 echo "${ECHO_T}$REZ" >&6
49609 echo "$as_me:$LINENO: result: no" >&5
49610 echo "${ECHO_T}no" >&6
49613 # Extract the first word of "SetFile", so it can be a program name with args.
49614 set dummy SetFile
; ac_word
=$2
49615 echo "$as_me:$LINENO: checking for $ac_word" >&5
49616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49617 if test "${ac_cv_prog_SETFILE+set}" = set; then
49618 echo $ECHO_N "(cached) $ECHO_C" >&6
49620 if test -n "$SETFILE"; then
49621 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
49623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49624 for as_dir
in $PATH
49627 test -z "$as_dir" && as_dir
=.
49628 for ac_exec_ext
in '' $ac_executable_extensions; do
49629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49630 ac_cv_prog_SETFILE
="SetFile"
49631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49637 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
49640 SETFILE
=$ac_cv_prog_SETFILE
49641 if test -n "$SETFILE"; then
49642 echo "$as_me:$LINENO: result: $SETFILE" >&5
49643 echo "${ECHO_T}$SETFILE" >&6
49645 echo "$as_me:$LINENO: result: no" >&5
49646 echo "${ECHO_T}no" >&6
49657 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.1"
49660 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.1"
49664 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49665 if test "${enable_precomp_headers+set}" = set; then
49666 enableval
="$enable_precomp_headers"
49667 bk_use_pch
="$enableval"
49675 case ${BAKEFILE_HOST} in
49681 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49682 if test "x$GCC" = "xyes"; then
49683 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49684 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49685 cat >conftest.
$ac_ext <<_ACEOF
49688 cat confdefs.h
>>conftest.
$ac_ext
49689 cat >>conftest.
$ac_ext <<_ACEOF
49690 /* end confdefs.h. */
49696 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49697 There is no PCH support
49700 There is no PCH support
49702 #if (__GNUC__ == 3) && \
49703 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49704 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49705 ( defined(__INTEL_COMPILER) )
49706 There is no PCH support
49713 rm -f conftest.
$ac_objext
49714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49715 (eval $ac_compile) 2>conftest.er1
49717 grep -v '^ *+' conftest.er1
>conftest.err
49719 cat conftest.err
>&5
49720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49721 (exit $ac_status); } &&
49722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49724 (eval $ac_try) 2>&5
49726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49727 (exit $ac_status); }; } &&
49728 { ac_try
='test -s conftest.$ac_objext'
49729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49730 (eval $ac_try) 2>&5
49732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49733 (exit $ac_status); }; }; then
49735 echo "$as_me:$LINENO: result: yes" >&5
49736 echo "${ECHO_T}yes" >&6
49740 echo "$as_me: failed program was:" >&5
49741 sed 's/^/| /' conftest.
$ac_ext >&5
49744 cat >conftest.
$ac_ext <<_ACEOF
49747 cat confdefs.h
>>conftest.
$ac_ext
49748 cat >>conftest.
$ac_ext <<_ACEOF
49749 /* end confdefs.h. */
49755 #if !defined(__INTEL_COMPILER) || \
49756 (__INTEL_COMPILER < 800)
49757 There is no PCH support
49764 rm -f conftest.
$ac_objext
49765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49766 (eval $ac_compile) 2>conftest.er1
49768 grep -v '^ *+' conftest.er1
>conftest.err
49770 cat conftest.err
>&5
49771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49772 (exit $ac_status); } &&
49773 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49775 (eval $ac_try) 2>&5
49777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49778 (exit $ac_status); }; } &&
49779 { ac_try
='test -s conftest.$ac_objext'
49780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49781 (eval $ac_try) 2>&5
49783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49784 (exit $ac_status); }; }; then
49786 echo "$as_me:$LINENO: result: yes" >&5
49787 echo "${ECHO_T}yes" >&6
49791 echo "$as_me: failed program was:" >&5
49792 sed 's/^/| /' conftest.
$ac_ext >&5
49795 echo "$as_me:$LINENO: result: no" >&5
49796 echo "${ECHO_T}no" >&6
49799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49803 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49807 cat <<EOF >bk-make-pch
49810 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49811 # script. It is used to generated precompiled headers.
49813 # Permission is given to use this file in any way.
49823 while test ${D}{#} -gt 0; do
49827 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49828 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49829 headerfile="${D}{incdir}/${D}{header}"
49832 -use-pch|-use_pch )
49837 if test ${D}add_to_cmdline = 1 ; then
49838 compiler="${D}{compiler} ${D}{1}"
49843 if test "x${D}{headerfile}" = "x" ; then
49844 echo "error: can't find header ${D}{header} in include paths" >&2
49846 if test -f ${D}{outfile} ; then
49847 rm -f ${D}{outfile}
49849 mkdir -p \`dirname ${D}{outfile}\`
49851 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49853 if test "x${GCC_PCH}" = "x1" ; then
49854 # can do this because gcc is >= 3.4:
49855 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49856 elif test "x${ICC_PCH}" = "x1" ; then
49857 filename=pch_gen-${D}${D}
49858 file=${D}{filename}.c
49859 dfile=${D}{filename}.d
49860 cat > ${D}file <<EOT
49861 #include "${D}header"
49863 # using -MF icc complains about differing command lines in creation/use
49864 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49865 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49866 rm -f ${D}file ${D}dfile ${D}{filename}.o
49872 chmod +x bk
-make-pch
49873 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49882 COND_BUILD_DEBUG
="#"
49883 if test "x$BUILD" = "xdebug" ; then
49884 COND_BUILD_DEBUG
=""
49887 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49888 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49889 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49892 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49893 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49894 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49897 COND_BUILD_DEBUG_UNICODE_0
="#"
49898 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49899 COND_BUILD_DEBUG_UNICODE_0
=""
49902 COND_BUILD_DEBUG_UNICODE_1
="#"
49903 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49904 COND_BUILD_DEBUG_UNICODE_1
=""
49907 COND_BUILD_RELEASE
="#"
49908 if test "x$BUILD" = "xrelease" ; then
49909 COND_BUILD_RELEASE
=""
49912 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49913 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49914 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49917 COND_BUILD_RELEASE_UNICODE_0
="#"
49918 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49919 COND_BUILD_RELEASE_UNICODE_0
=""
49922 COND_BUILD_RELEASE_UNICODE_1
="#"
49923 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49924 COND_BUILD_RELEASE_UNICODE_1
=""
49927 COND_DEBUG_FLAG_1
="#"
49928 if test "x$DEBUG_FLAG" = "x1" ; then
49929 COND_DEBUG_FLAG_1
=""
49932 COND_DEBUG_INFO_0
="#"
49933 if test "x$DEBUG_INFO" = "x0" ; then
49934 COND_DEBUG_INFO_0
=""
49937 COND_DEBUG_INFO_1
="#"
49938 if test "x$DEBUG_INFO" = "x1" ; then
49939 COND_DEBUG_INFO_1
=""
49942 COND_DEPS_TRACKING_0
="#"
49943 if test "x$DEPS_TRACKING" = "x0" ; then
49944 COND_DEPS_TRACKING_0
=""
49947 COND_DEPS_TRACKING_1
="#"
49948 if test "x$DEPS_TRACKING" = "x1" ; then
49949 COND_DEPS_TRACKING_1
=""
49953 if test "x$GCC_PCH" = "x1" ; then
49958 if test "x$ICC_PCH" = "x1" ; then
49962 COND_MONOLITHIC_0
="#"
49963 if test "x$MONOLITHIC" = "x0" ; then
49964 COND_MONOLITHIC_0
=""
49967 COND_MONOLITHIC_0_SHARED_0
="#"
49968 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49969 COND_MONOLITHIC_0_SHARED_0
=""
49972 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49973 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49974 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49977 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49978 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49979 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49982 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49983 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49984 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49987 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49988 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49989 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49992 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
49993 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49994 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
49997 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49998 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49999 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
50002 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
50003 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50004 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
50007 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
50008 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50009 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
50012 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
50013 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50014 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
50017 COND_MONOLITHIC_0_SHARED_1
="#"
50018 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50019 COND_MONOLITHIC_0_SHARED_1
=""
50022 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
50023 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50024 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
50027 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
50028 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50029 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
50032 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
50033 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50034 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
50037 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
50038 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50039 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
50042 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
50043 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50044 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
50047 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
50048 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50049 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
50052 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
50053 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50054 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
50057 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
50058 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50059 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
50062 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
50063 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50064 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
50067 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
50068 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50069 COND_MONOLITHIC_0_USE_MEDIA_1
=""
50072 COND_MONOLITHIC_0_USE_ODBC_1
="#"
50073 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50074 COND_MONOLITHIC_0_USE_ODBC_1
=""
50077 COND_MONOLITHIC_1
="#"
50078 if test "x$MONOLITHIC" = "x1" ; then
50079 COND_MONOLITHIC_1
=""
50082 COND_MONOLITHIC_1_SHARED_0
="#"
50083 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50084 COND_MONOLITHIC_1_SHARED_0
=""
50087 COND_MONOLITHIC_1_SHARED_1
="#"
50088 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50089 COND_MONOLITHIC_1_SHARED_1
=""
50092 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
50093 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50094 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
50097 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
50098 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50099 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
50102 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
50103 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50104 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
50107 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
50108 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50109 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
50112 COND_PLATFORM_MACOSX_1
="#"
50113 if test "x$PLATFORM_MACOSX" = "x1" ; then
50114 COND_PLATFORM_MACOSX_1
=""
50117 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
50118 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50119 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
50122 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
50123 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50124 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
50127 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
50128 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50129 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
50132 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
50133 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50134 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
50137 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
50138 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50139 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
50142 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
50143 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50144 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
50147 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
50148 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50149 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
50152 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50153 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50154 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50157 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50158 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50159 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50162 COND_PLATFORM_MACOS_1
="#"
50163 if test "x$PLATFORM_MACOS" = "x1" ; then
50164 COND_PLATFORM_MACOS_1
=""
50167 COND_PLATFORM_MAC_1
="#"
50168 if test "x$PLATFORM_MAC" = "x1" ; then
50169 COND_PLATFORM_MAC_1
=""
50172 COND_PLATFORM_MSDOS_0
="#"
50173 if test "x$PLATFORM_MSDOS" = "x0" ; then
50174 COND_PLATFORM_MSDOS_0
=""
50177 COND_PLATFORM_MSDOS_1
="#"
50178 if test "x$PLATFORM_MSDOS" = "x1" ; then
50179 COND_PLATFORM_MSDOS_1
=""
50182 COND_PLATFORM_OS2_1
="#"
50183 if test "x$PLATFORM_OS2" = "x1" ; then
50184 COND_PLATFORM_OS2_1
=""
50187 COND_PLATFORM_UNIX_0
="#"
50188 if test "x$PLATFORM_UNIX" = "x0" ; then
50189 COND_PLATFORM_UNIX_0
=""
50192 COND_PLATFORM_UNIX_1
="#"
50193 if test "x$PLATFORM_UNIX" = "x1" ; then
50194 COND_PLATFORM_UNIX_1
=""
50197 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
50198 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50199 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
50202 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
50203 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50204 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
50207 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50208 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50209 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50212 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50213 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50214 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50217 COND_PLATFORM_WIN32_0
="#"
50218 if test "x$PLATFORM_WIN32" = "x0" ; then
50219 COND_PLATFORM_WIN32_0
=""
50222 COND_PLATFORM_WIN32_1
="#"
50223 if test "x$PLATFORM_WIN32" = "x1" ; then
50224 COND_PLATFORM_WIN32_1
=""
50228 if test "x$SHARED" = "x0" ; then
50232 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50233 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50234 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50237 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50238 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50239 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50242 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50243 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50244 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50247 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50248 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50249 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50252 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50253 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50254 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50257 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50258 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50259 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50262 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50263 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50264 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50267 COND_SHARED_0_USE_XRC_1
="#"
50268 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50269 COND_SHARED_0_USE_XRC_1
=""
50272 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
50273 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50274 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
50277 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
50278 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50279 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
50282 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
50283 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50284 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
50287 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
50288 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50289 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
50293 if test "x$SHARED" = "x1" ; then
50297 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50298 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50299 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50302 COND_SHARED_1_USE_XRC_1
="#"
50303 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50304 COND_SHARED_1_USE_XRC_1
=""
50308 if test "x$TOOLKIT" = "x" ; then
50312 COND_TOOLKIT_COCOA
="#"
50313 if test "x$TOOLKIT" = "xCOCOA" ; then
50314 COND_TOOLKIT_COCOA
=""
50317 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50318 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50319 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50322 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50323 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50324 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50327 COND_TOOLKIT_DFB
="#"
50328 if test "x$TOOLKIT" = "xDFB" ; then
50329 COND_TOOLKIT_DFB
=""
50332 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50333 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50334 COND_TOOLKIT_DFB_USE_GUI_1
=""
50337 COND_TOOLKIT_GTK
="#"
50338 if test "x$TOOLKIT" = "xGTK" ; then
50339 COND_TOOLKIT_GTK
=""
50342 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50343 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50344 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50347 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50348 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50349 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50352 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50353 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50354 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50357 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50358 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50359 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50362 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50363 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50364 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50367 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50368 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50369 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50372 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50373 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50374 COND_TOOLKIT_GTK_USE_GUI_1
=""
50377 COND_TOOLKIT_MAC
="#"
50378 if test "x$TOOLKIT" = "xMAC" ; then
50379 COND_TOOLKIT_MAC
=""
50382 COND_TOOLKIT_MAC_USE_GUI_1
="#"
50383 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50384 COND_TOOLKIT_MAC_USE_GUI_1
=""
50387 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
50388 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50389 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
50392 COND_TOOLKIT_MGL
="#"
50393 if test "x$TOOLKIT" = "xMGL" ; then
50394 COND_TOOLKIT_MGL
=""
50397 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50398 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50399 COND_TOOLKIT_MGL_USE_GUI_1
=""
50402 COND_TOOLKIT_MOTIF
="#"
50403 if test "x$TOOLKIT" = "xMOTIF" ; then
50404 COND_TOOLKIT_MOTIF
=""
50407 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50408 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50409 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50412 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50413 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50414 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50417 COND_TOOLKIT_MSW
="#"
50418 if test "x$TOOLKIT" = "xMSW" ; then
50419 COND_TOOLKIT_MSW
=""
50422 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50423 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50424 COND_TOOLKIT_MSW_USE_GUI_1
=""
50427 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50428 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50429 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50432 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50433 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50434 COND_TOOLKIT_MSW_WXUNIV_0
=""
50437 COND_TOOLKIT_PM
="#"
50438 if test "x$TOOLKIT" = "xPM" ; then
50442 COND_TOOLKIT_PM_USE_GUI_1
="#"
50443 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50444 COND_TOOLKIT_PM_USE_GUI_1
=""
50447 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50448 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50449 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50452 COND_TOOLKIT_WINCE
="#"
50453 if test "x$TOOLKIT" = "xWINCE" ; then
50454 COND_TOOLKIT_WINCE
=""
50457 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50458 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50459 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50462 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50463 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50464 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50467 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50468 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50469 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50472 COND_TOOLKIT_X11
="#"
50473 if test "x$TOOLKIT" = "xX11" ; then
50474 COND_TOOLKIT_X11
=""
50477 COND_TOOLKIT_X11_USE_GUI_1
="#"
50478 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50479 COND_TOOLKIT_X11_USE_GUI_1
=""
50483 if test "x$UNICODE" = "x1" ; then
50487 COND_USE_EXCEPTIONS_0
="#"
50488 if test "x$USE_EXCEPTIONS" = "x0" ; then
50489 COND_USE_EXCEPTIONS_0
=""
50492 COND_USE_EXCEPTIONS_1
="#"
50493 if test "x$USE_EXCEPTIONS" = "x1" ; then
50494 COND_USE_EXCEPTIONS_1
=""
50498 if test "x$USE_GUI" = "x0" ; then
50503 if test "x$USE_GUI" = "x1" ; then
50507 COND_USE_GUI_1_WXUNIV_0
="#"
50508 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50509 COND_USE_GUI_1_WXUNIV_0
=""
50512 COND_USE_GUI_1_WXUNIV_1
="#"
50513 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50514 COND_USE_GUI_1_WXUNIV_1
=""
50517 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50518 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50519 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50522 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50523 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50524 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50527 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50528 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50529 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50532 COND_USE_ODBC_1
="#"
50533 if test "x$USE_ODBC" = "x1" ; then
50537 COND_USE_OPENGL_1
="#"
50538 if test "x$USE_OPENGL" = "x1" ; then
50539 COND_USE_OPENGL_1
=""
50543 if test "x$USE_PCH" = "x1" ; then
50547 COND_USE_PLUGINS_0
="#"
50548 if test "x$USE_PLUGINS" = "x0" ; then
50549 COND_USE_PLUGINS_0
=""
50552 COND_USE_RTTI_0
="#"
50553 if test "x$USE_RTTI" = "x0" ; then
50557 COND_USE_RTTI_1
="#"
50558 if test "x$USE_RTTI" = "x1" ; then
50562 COND_USE_SOSYMLINKS_1
="#"
50563 if test "x$USE_SOSYMLINKS" = "x1" ; then
50564 COND_USE_SOSYMLINKS_1
=""
50567 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50568 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50569 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50572 COND_USE_SOVERLINUX_1
="#"
50573 if test "x$USE_SOVERLINUX" = "x1" ; then
50574 COND_USE_SOVERLINUX_1
=""
50577 COND_USE_SOVERSION_0
="#"
50578 if test "x$USE_SOVERSION" = "x0" ; then
50579 COND_USE_SOVERSION_0
=""
50582 COND_USE_SOVERSOLARIS_1
="#"
50583 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50584 COND_USE_SOVERSOLARIS_1
=""
50587 COND_USE_THREADS_0
="#"
50588 if test "x$USE_THREADS" = "x0" ; then
50589 COND_USE_THREADS_0
=""
50592 COND_USE_THREADS_1
="#"
50593 if test "x$USE_THREADS" = "x1" ; then
50594 COND_USE_THREADS_1
=""
50598 if test "x$USE_XRC" = "x1" ; then
50602 COND_WINDOWS_IMPLIB_1
="#"
50603 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50604 COND_WINDOWS_IMPLIB_1
=""
50607 COND_WITH_PLUGIN_SDL_1
="#"
50608 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50609 COND_WITH_PLUGIN_SDL_1
=""
50613 if test "x$WXUNIV" = "x0" ; then
50618 if test "x$WXUNIV" = "x1" ; then
50622 COND_WXUSE_EXPAT_BUILTIN
="#"
50623 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50624 COND_WXUSE_EXPAT_BUILTIN
=""
50627 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50628 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50629 COND_WXUSE_LIBJPEG_BUILTIN
=""
50632 COND_WXUSE_LIBPNG_BUILTIN
="#"
50633 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50634 COND_WXUSE_LIBPNG_BUILTIN
=""
50637 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50638 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50639 COND_WXUSE_LIBTIFF_BUILTIN
=""
50642 COND_WXUSE_ODBC_BUILTIN
="#"
50643 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50644 COND_WXUSE_ODBC_BUILTIN
=""
50647 COND_WXUSE_REGEX_BUILTIN
="#"
50648 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50649 COND_WXUSE_REGEX_BUILTIN
=""
50652 COND_WXUSE_ZLIB_BUILTIN
="#"
50653 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50654 COND_WXUSE_ZLIB_BUILTIN
=""
50659 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50660 { { 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
50661 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;}
50662 { (exit 1); exit 1; }; }
50665 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50666 { { 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
50667 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;}
50668 { (exit 1); exit 1; }; }
50672 if test $GCC_PCH = 1
50674 if test "$wx_cv_gcc_pch_bug" = yes; then
50675 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50676 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50677 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50678 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50679 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50680 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50683 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
50687 if test "$wxUSE_MAC" = 1 ; then
50688 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50689 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50695 if test "$wxUSE_SHARED" = "yes"; then
50697 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
50698 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
50701 *-pc-os2_emx | *-pc-os2-emx )
50702 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50703 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50704 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50705 cp -p ${srcdir}/src
/os
2/dllar.sh .
50710 EXE_LINKER
="$CXX -o"
50713 if test "$wxUSE_OMF" = "yes"; then
50715 *-pc-os2_emx | *-pc-os2-emx )
50716 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50717 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50718 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50723 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50725 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50787 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50788 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50789 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
50790 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50791 echo $ECHO_N "(cached) $ECHO_C" >&6
50793 cat >conftest.
make <<\_ACEOF
50795 @
echo 'ac_maketemp="$(MAKE)"'
50797 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50798 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50799 if test -n "$ac_maketemp"; then
50800 eval ac_cv_prog_make_
${ac_make}_set
=yes
50802 eval ac_cv_prog_make_
${ac_make}_set
=no
50804 rm -f conftest.
make
50806 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50807 echo "$as_me:$LINENO: result: yes" >&5
50808 echo "${ECHO_T}yes" >&6
50811 echo "$as_me:$LINENO: result: no" >&5
50812 echo "${ECHO_T}no" >&6
50813 SET_MAKE
="MAKE=${MAKE-make}"
50818 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50821 if test "$USE_WIN32" = 1; then
50822 ac_config_commands
="$ac_config_commands
50828 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50831 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50834 if test "$wx_cv_version_script" = "yes"; then
50835 ac_config_files
="$ac_config_files version-script"
50838 ac_config_files
="$ac_config_files Makefile"
50841 ac_config_commands
="$ac_config_commands wx-config"
50845 if test "$wxWITH_SUBDIRS" != "no"; then
50846 if test "$wxUSE_GUI" = "yes"; then
50847 SUBDIRS
="samples demos utils contrib"
50848 else SUBDIRS
="samples utils"
50853 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50854 if test "${with_cppunit_prefix+set}" = set; then
50855 withval
="$with_cppunit_prefix"
50856 cppunit_config_prefix
="$withval"
50858 cppunit_config_prefix
=""
50861 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50862 if test "${with_cppunit_exec_prefix+set}" = set; then
50863 withval
="$with_cppunit_exec_prefix"
50864 cppunit_config_exec_prefix
="$withval"
50866 cppunit_config_exec_prefix
=""
50869 if test x
$cppunit_config_exec_prefix != x
; then
50870 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50871 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50872 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50875 if test x
$cppunit_config_prefix != x
; then
50876 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50877 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50878 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50882 # Extract the first word of "cppunit-config", so it can be a program name with args.
50883 set dummy cppunit
-config; ac_word
=$2
50884 echo "$as_me:$LINENO: checking for $ac_word" >&5
50885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50886 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50887 echo $ECHO_N "(cached) $ECHO_C" >&6
50889 case $CPPUNIT_CONFIG in
50891 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50895 for as_dir
in $PATH
50898 test -z "$as_dir" && as_dir
=.
50899 for ac_exec_ext
in '' $ac_executable_extensions; do
50900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50901 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50908 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50912 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50914 if test -n "$CPPUNIT_CONFIG"; then
50915 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50916 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50918 echo "$as_me:$LINENO: result: no" >&5
50919 echo "${ECHO_T}no" >&6
50922 cppunit_version_min
=1.8.0
50924 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50925 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50927 if test "$CPPUNIT_CONFIG" = "no" ; then
50928 echo "$as_me:$LINENO: result: no" >&5
50929 echo "${ECHO_T}no" >&6
50932 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50933 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50934 cppunit_version
=`$CPPUNIT_CONFIG --version`
50936 cppunit_major_version
=`echo $cppunit_version | \
50937 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50938 cppunit_minor_version
=`echo $cppunit_version | \
50939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50940 cppunit_micro_version
=`echo $cppunit_version | \
50941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50943 cppunit_major_min
=`echo $cppunit_version_min | \
50944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50945 cppunit_minor_min
=`echo $cppunit_version_min | \
50946 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50947 cppunit_micro_min
=`echo $cppunit_version_min | \
50948 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50950 cppunit_version_proper
=`expr \
50951 $cppunit_major_version \> $cppunit_major_min \| \
50952 $cppunit_major_version \= $cppunit_major_min \& \
50953 $cppunit_minor_version \> $cppunit_minor_min \| \
50954 $cppunit_major_version \= $cppunit_major_min \& \
50955 $cppunit_minor_version \= $cppunit_minor_min \& \
50956 $cppunit_micro_version \>= $cppunit_micro_min `
50958 if test "$cppunit_version_proper" = "1" ; then
50959 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50960 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50962 echo "$as_me:$LINENO: result: no" >&5
50963 echo "${ECHO_T}no" >&6
50968 if test "x$no_cppunit" = x
; then
50969 SUBDIRS
="$SUBDIRS tests"
50980 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
50981 DISABLED_CONTRIB
="$DISABLED_CONTRIB net"
50984 for subdir
in `echo $SUBDIRS`; do
50985 if test -d ${srcdir}/${subdir} ; then
50986 if test "$wxUSE_GUI" = "yes"; then
50987 if test ${subdir} = "samples"; then
50988 makefiles
="samples/Makefile.in $makefiles"
50989 for sample
in `echo $SAMPLES_SUBDIRS`; do
50990 if test -d $srcdir/samples
/$sample; then
50991 makefiles
="samples/$sample/Makefile.in $makefiles"
50995 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
50996 eval "disabled=\$$disabled_var"
50997 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50998 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51000 else if test ${subdir} = "samples"; then
51001 makefiles
="samples/Makefile.in samples/console/Makefile.in"
51002 elif test ${subdir} = "utils"; then
51004 for util
in HelpGen tex2rtf
; do
51005 if test -d $srcdir/utils
/$util ; then
51006 makefiles
="utils/$util/Makefile.in \
51007 utils/$util/src/Makefile.in \
51011 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51015 for mkin
in $makefiles ; do
51016 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51017 ac_config_files
="$ac_config_files $mk"
51023 cat >confcache
<<\_ACEOF
51024 # This file is a shell script that caches the results of configure
51025 # tests run on this system so they can be shared between configure
51026 # scripts and configure runs, see configure's option --config-cache.
51027 # It is not useful on other systems. If it contains results you don't
51028 # want to keep, you may remove or edit it.
51030 # config.status only pays attention to the cache file if you give it
51031 # the --recheck option to rerun configure.
51033 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51034 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51035 # following values.
51039 # The following way of writing the cache mishandles newlines in values,
51040 # but we know of no workaround that is simple, portable, and efficient.
51041 # So, don't put newlines in cache variables' values.
51042 # Ultrix sh set writes to stderr and can't be redirected directly,
51043 # and sets the high bit in the cache file unless we assign to the vars.
51046 case `(ac_space=' '; set | grep ac_space) 2>&1` in
51048 # `set' does not quote correctly, so add quotes (double-quote
51049 # substitution turns \\\\ into \\, and sed turns \\ into \).
51052 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51055 # `set' quotes correctly as required by POSIX, so do not add quotes.
51057 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
51064 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51066 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51068 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
51069 if test -w $cache_file; then
51070 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
51071 cat confcache
>$cache_file
51073 echo "not updating unwritable cache $cache_file"
51078 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51079 # Let make expand exec_prefix.
51080 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51082 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51083 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51084 # trailing colons and then remove the whole line if VPATH becomes empty
51085 # (actually we leave an empty line to preserve line numbers).
51086 if test "x$srcdir" = x.
; then
51087 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51088 s/:*\$(srcdir):*/:/;
51089 s/:*\${srcdir}:*/:/;
51091 s/^\([^=]*=[ ]*\):*/\1/;
51097 DEFS
=-DHAVE_CONFIG_H
51101 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51102 # 1. Remove the extension, and $U if already installed.
51103 ac_i
=`echo "$ac_i" |
51104 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
51106 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
51107 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
51109 LIBOBJS
=$ac_libobjs
51111 LTLIBOBJS
=$ac_ltlibobjs
51115 : ${CONFIG_STATUS=./config.status}
51116 ac_clean_files_save
=$ac_clean_files
51117 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51118 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51119 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51120 cat >$CONFIG_STATUS <<_ACEOF
51122 # Generated by $as_me.
51123 # Run this file to recreate the current configuration.
51124 # Compiler output produced by configure, useful for debugging
51125 # configure, is in config.log if it exists.
51128 ac_cs_recheck=false
51130 SHELL=\${CONFIG_SHELL-$SHELL}
51133 cat >>$CONFIG_STATUS <<\_ACEOF
51134 ## --------------------- ##
51135 ## M4sh Initialization. ##
51136 ## --------------------- ##
51138 # Be Bourne compatible
51139 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51142 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51143 # is contrary to our usage. Disable this feature.
51144 alias -g '${1+"$@"}'='"$@"'
51145 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
51148 DUALCASE
=1; export DUALCASE
# for MKS sh
51150 # Support unset when possible.
51151 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51158 # Work around bugs in pre-3.0 UWIN ksh.
51159 $as_unset ENV MAIL MAILPATH
51166 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51167 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51168 LC_TELEPHONE LC_TIME
51170 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51171 eval $as_var=C
; export $as_var
51177 # Required to use basename.
51178 if expr a
: '\(a\)' >/dev
/null
2>&1; then
51184 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
51185 as_basename
=basename
51191 # Name of the executable.
51192 as_me
=`$as_basename "$0" ||
51193 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51194 X"$0" : 'X\(//\)$' \| \
51195 X"$0" : 'X\(/\)$' \| \
51196 . : '\(.\)' 2>/dev/null ||
51198 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
51199 /^X\/\(\/\/\)$/{ s//\1/; q; }
51200 /^X\/\(\/\).*/{ s//\1/; q; }
51204 # PATH needs CR, and LINENO needs CR and PATH.
51205 # Avoid depending upon Character Ranges.
51206 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51207 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51208 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51209 as_cr_digits
='0123456789'
51210 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51212 # The user is always right.
51213 if test "${PATH_SEPARATOR+set}" != set; then
51214 echo "#! /bin/sh" >conf$$.sh
51215 echo "exit 0" >>conf$$.sh
51217 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51226 as_lineno_1
=$LINENO
51227 as_lineno_2
=$LINENO
51228 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
51229 test "x$as_lineno_1" != "x$as_lineno_2" &&
51230 test "x$as_lineno_3" = "x$as_lineno_2" || {
51231 # Find who we are. Look in the path if we contain no path at all
51234 *[\\/]* ) as_myself
=$0 ;;
51235 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51236 for as_dir
in $PATH
51239 test -z "$as_dir" && as_dir
=.
51240 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51245 # We did not find ourselves, most probably we were run as `sh COMMAND'
51246 # in which case we are not to be found in the path.
51247 if test "x$as_myself" = x
; then
51250 if test ! -f "$as_myself"; then
51251 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51252 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51253 { (exit 1); exit 1; }; }
51255 case $CONFIG_SHELL in
51257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51258 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
51261 test -z "$as_dir" && as_dir
=.
51262 for as_base
in sh bash ksh sh5
; do
51265 if ("$as_dir/$as_base" -c '
51266 as_lineno_1=$LINENO
51267 as_lineno_2=$LINENO
51268 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51269 test "x$as_lineno_1" != "x$as_lineno_2" &&
51270 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
51271 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
51272 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
51273 CONFIG_SHELL
=$as_dir/$as_base
51274 export CONFIG_SHELL
51275 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51283 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51284 # uniformly replaced by the line number. The first 'sed' inserts a
51285 # line-number line before each line; the second 'sed' does the real
51286 # work. The second script uses 'N' to pair each line-number line
51287 # with the numbered line, and appends trailing '-' during
51288 # substitution so that $LINENO is not a special case at line end.
51289 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51290 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51291 sed '=' <$as_myself |
51296 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51299 s,^['$as_cr_digits']*\n,,
51300 ' >$as_me.lineno
&&
51301 chmod +x
$as_me.lineno
||
51302 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51303 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51304 { (exit 1); exit 1; }; }
51306 # Don't try to exec as it changes $[0], causing all sort of problems
51307 # (the dirname of $[0] is not the place where we might find the
51308 # original and so on. Autoconf is especially sensible to this).
51310 # Exit status is that of the last command.
51315 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51316 *c
*,-n*) ECHO_N
= ECHO_C
='
51318 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
51319 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
51322 if expr a
: '\(a\)' >/dev
/null
2>&1; then
51328 rm -f conf$$ conf$$.exe conf$$.
file
51330 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51331 # We could just check for DJGPP; but this test a) works b) is more generic
51332 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51333 if test -f conf$$.exe
; then
51334 # Don't use ln at all; we don't have any links
51339 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51344 rm -f conf$$ conf$$.exe conf$$.
file
51346 if mkdir -p .
2>/dev
/null
; then
51349 test -d .
/-p && rmdir .
/-p
51353 as_executable_p
="test -f"
51355 # Sed expression to map a string onto a valid CPP name.
51356 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51358 # Sed expression to map a string onto a valid variable name.
51359 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51363 # We need space, tab and new line, in precisely that order.
51373 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51374 # report actual input values of CONFIG_FILES etc. instead of their
51375 # values after options handling. Logging --version etc. is OK.
51379 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51380 ## Running $as_me. ##
51385 This file was extended by wxWidgets $as_me 2.8.0, which was
51386 generated by GNU Autoconf 2.59. Invocation command line was
51388 CONFIG_FILES = $CONFIG_FILES
51389 CONFIG_HEADERS = $CONFIG_HEADERS
51390 CONFIG_LINKS = $CONFIG_LINKS
51391 CONFIG_COMMANDS = $CONFIG_COMMANDS
51395 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51399 # Files that config.status was made for.
51400 if test -n "$ac_config_files"; then
51401 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51404 if test -n "$ac_config_headers"; then
51405 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51408 if test -n "$ac_config_links"; then
51409 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51412 if test -n "$ac_config_commands"; then
51413 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51416 cat >>$CONFIG_STATUS <<\_ACEOF
51419 \`$as_me' instantiates files from templates according to the
51420 current configuration.
51422 Usage: $0 [OPTIONS] [FILE]...
51424 -h, --help print this help, then exit
51425 -V, --version print version number, then exit
51426 -q, --quiet do not print progress messages
51427 -d, --debug don't remove temporary files
51428 --recheck update $as_me by reconfiguring in the same conditions
51429 --file=FILE[:TEMPLATE]
51430 instantiate the configuration file FILE
51431 --header=FILE[:TEMPLATE]
51432 instantiate the configuration header FILE
51434 Configuration files:
51437 Configuration headers:
51440 Configuration commands:
51443 Report bugs to <bug-autoconf@gnu.org>."
51446 cat >>$CONFIG_STATUS <<_ACEOF
51448 wxWidgets config.status 2.8.0
51449 configured by $0, generated by GNU Autoconf 2.59,
51450 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51452 Copyright (C) 2003 Free Software Foundation, Inc.
51453 This config.status script is free software; the Free Software Foundation
51454 gives unlimited permission to copy, distribute and modify it."
51459 cat >>$CONFIG_STATUS <<\_ACEOF
51460 # If no file are specified by the user, then we need to provide default
51461 # value. By we need to know if files were specified by the user.
51467 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
51468 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
51476 *) # This is not an option, so the user has probably given explicit
51479 ac_need_defaults
=false
;;
51483 # Handling of the options.
51485 cat >>$CONFIG_STATUS <<\_ACEOF
51486 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51488 --version | --vers* | -V )
51489 echo "$ac_cs_version"; exit 0 ;;
51491 # Conflict between --help and --header
51492 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51493 Try \`$0 --help' for more information." >&5
51494 echo "$as_me: error: ambiguous option: $1
51495 Try \`$0 --help' for more information." >&2;}
51496 { (exit 1); exit 1; }; };;
51497 --help | --hel | -h )
51498 echo "$ac_cs_usage"; exit 0 ;;
51499 --debug | --d* | -d )
51501 --file | --fil | --fi | --f )
51503 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51504 ac_need_defaults
=false
;;
51505 --header | --heade | --head | --hea )
51507 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51508 ac_need_defaults
=false
;;
51509 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51510 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51513 # This is an error.
51514 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51515 Try \`$0 --help' for more information." >&5
51516 echo "$as_me: error: unrecognized option: $1
51517 Try \`$0 --help' for more information." >&2;}
51518 { (exit 1); exit 1; }; } ;;
51520 *) ac_config_targets
="$ac_config_targets $1" ;;
51526 ac_configure_extra_args
=
51528 if $ac_cs_silent; then
51530 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51534 cat >>$CONFIG_STATUS <<_ACEOF
51535 if \$ac_cs_recheck; then
51536 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51537 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51542 cat >>$CONFIG_STATUS <<_ACEOF
51544 # INIT-COMMANDS section.
51549 infile="$srcdir/include/wx/msw/genrcdefs.h"
51550 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51553 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51554 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51555 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51563 cat >>$CONFIG_STATUS <<\_ACEOF
51564 for ac_config_target
in $ac_config_targets
51566 case "$ac_config_target" in
51567 # Handling of arguments.
51568 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51569 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51570 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51571 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51572 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51573 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51574 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51575 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51576 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51577 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51578 { (exit 1); exit 1; }; };;
51582 # If the user did not use the arguments to specify the items to instantiate,
51583 # then the envvar interface is used. Set only those that are not.
51584 # We use the long form for the default assignment because of an extremely
51585 # bizarre bug on SunOS 4.1.3.
51586 if $ac_need_defaults; then
51587 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51588 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51589 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51592 # Have a temporary directory for convenience. Make it in the build tree
51593 # simply because there is no reason to put it here, and in addition,
51594 # creating and moving files from /tmp can sometimes cause problems.
51595 # Create a temporary directory, and hook for its removal unless debugging.
51598 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51599 trap '{ (exit 1); exit 1; }' 1 2 13 15
51602 # Create a (secure) tmp directory for tmp files.
51605 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51606 test -n "$tmp" && test -d "$tmp"
51609 tmp
=.
/confstat$$
-$RANDOM
51610 (umask 077 && mkdir $tmp)
51613 echo "$me: cannot create a temporary directory in ." >&2
51614 { (exit 1); exit 1; }
51619 cat >>$CONFIG_STATUS <<_ACEOF
51622 # CONFIG_FILES section.
51625 # No need to generate the scripts if there are no CONFIG_FILES.
51626 # This happens for instance when ./config.status config.h
51627 if test -n "\$CONFIG_FILES"; then
51628 # Protect against being on the right side of a sed subst in config.status.
51629 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51630 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51631 s,@SHELL@,$SHELL,;t t
51632 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51633 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51634 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51635 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51636 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51637 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51638 s,@exec_prefix@,$exec_prefix,;t t
51639 s,@prefix@,$prefix,;t t
51640 s,@program_transform_name@,$program_transform_name,;t t
51641 s,@bindir@,$bindir,;t t
51642 s,@sbindir@,$sbindir,;t t
51643 s,@libexecdir@,$libexecdir,;t t
51644 s,@datadir@,$datadir,;t t
51645 s,@sysconfdir@,$sysconfdir,;t t
51646 s,@sharedstatedir@,$sharedstatedir,;t t
51647 s,@localstatedir@,$localstatedir,;t t
51648 s,@libdir@,$libdir,;t t
51649 s,@includedir@,$includedir,;t t
51650 s,@oldincludedir@,$oldincludedir,;t t
51651 s,@infodir@,$infodir,;t t
51652 s,@mandir@,$mandir,;t t
51653 s,@build_alias@,$build_alias,;t t
51654 s,@host_alias@,$host_alias,;t t
51655 s,@target_alias@,$target_alias,;t t
51656 s,@DEFS@,$DEFS,;t t
51657 s,@ECHO_C@,$ECHO_C,;t t
51658 s,@ECHO_N@,$ECHO_N,;t t
51659 s,@ECHO_T@,$ECHO_T,;t t
51660 s,@LIBS@,$LIBS,;t t
51661 s,@build@,$build,;t t
51662 s,@build_cpu@,$build_cpu,;t t
51663 s,@build_vendor@,$build_vendor,;t t
51664 s,@build_os@,$build_os,;t t
51665 s,@host@,$host,;t t
51666 s,@host_cpu@,$host_cpu,;t t
51667 s,@host_vendor@,$host_vendor,;t t
51668 s,@host_os@,$host_os,;t t
51669 s,@target@,$target,;t t
51670 s,@target_cpu@,$target_cpu,;t t
51671 s,@target_vendor@,$target_vendor,;t t
51672 s,@target_os@,$target_os,;t t
51673 s,@wx_top_builddir@,$wx_top_builddir,;t t
51675 s,@CFLAGS@,$CFLAGS,;t t
51676 s,@LDFLAGS@,$LDFLAGS,;t t
51677 s,@CPPFLAGS@,$CPPFLAGS,;t t
51678 s,@ac_ct_CC@,$ac_ct_CC,;t t
51679 s,@EXEEXT@,$EXEEXT,;t t
51680 s,@OBJEXT@,$OBJEXT,;t t
51682 s,@EGREP@,$EGREP,;t t
51684 s,@CXXFLAGS@,$CXXFLAGS,;t t
51685 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51686 s,@RANLIB@,$RANLIB,;t t
51687 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51689 s,@ac_ct_AR@,$ac_ct_AR,;t t
51690 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51691 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51692 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51693 s,@STRIP@,$STRIP,;t t
51694 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51695 s,@WINDRES@,$WINDRES,;t t
51696 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51697 s,@DLLTOOL@,$DLLTOOL,;t t
51698 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51699 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51700 s,@LN_S@,$LN_S,;t t
51701 s,@CXXCPP@,$CXXCPP,;t t
51702 s,@subdirs@,$subdirs,;t t
51703 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51704 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51705 s,@GTK_LIBS@,$GTK_LIBS,;t t
51706 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51707 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51708 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51709 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51710 s,@X_CFLAGS@,$X_CFLAGS,;t t
51711 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51712 s,@X_LIBS@,$X_LIBS,;t t
51713 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51714 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51715 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51716 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51717 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51718 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51719 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51721 s,@DEREZ@,$DEREZ,;t t
51722 s,@SETFILE@,$SETFILE,;t t
51723 s,@LIBICONV@,$LIBICONV,;t t
51724 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51725 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51726 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51727 s,@SDL_LIBS@,$SDL_LIBS,;t t
51728 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51729 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51730 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51731 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51732 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51733 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51734 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51735 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51736 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51737 s,@GST_LIBS@,$GST_LIBS,;t t
51738 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51739 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51740 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51741 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51742 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51743 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51744 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51745 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51746 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51747 s,@VENDOR@,$VENDOR,;t t
51748 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51749 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51750 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51751 s,@WXUNIV@,$WXUNIV,;t t
51752 s,@MONOLITHIC@,$MONOLITHIC,;t t
51753 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51754 s,@EXTRALIBS@,$EXTRALIBS,;t t
51755 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51756 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51757 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51758 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51759 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51760 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51761 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51762 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51763 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51764 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51765 s,@UNICODE@,$UNICODE,;t t
51766 s,@BUILD@,$BUILD,;t t
51767 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51768 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51769 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51770 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51771 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51772 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51773 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51774 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51775 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51776 s,@SET_MAKE@,$SET_MAKE,;t t
51777 s,@MAKE_SET@,$MAKE_SET,;t t
51778 s,@AROPTIONS@,$AROPTIONS,;t t
51780 s,@ac_ct_NM@,$ac_ct_NM,;t t
51781 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51782 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51783 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51784 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51785 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51786 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51787 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51788 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51789 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51790 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51791 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51792 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51793 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51794 s,@LIBPREFIX@,$LIBPREFIX,;t t
51795 s,@LIBEXT@,$LIBEXT,;t t
51796 s,@DLLPREFIX@,$DLLPREFIX,;t t
51797 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51798 s,@dlldir@,$dlldir,;t t
51799 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51800 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51801 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51802 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51803 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51804 s,@PIC_FLAG@,$PIC_FLAG,;t t
51805 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51806 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51807 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51808 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51809 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51810 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51811 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51812 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51813 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51814 s,@BK_DEPS@,$BK_DEPS,;t t
51815 s,@GCC_PCH@,$GCC_PCH,;t t
51816 s,@ICC_PCH@,$ICC_PCH,;t t
51817 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
51818 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51819 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51820 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51821 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51822 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51823 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51824 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51825 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51826 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51827 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51828 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51829 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51830 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51831 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51832 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51833 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51834 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51835 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51836 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51837 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51838 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
51839 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
51840 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
51841 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
51842 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51843 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51844 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51845 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51846 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51847 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51848 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
51849 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
51850 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
51851 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
51852 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51853 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51854 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51855 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51856 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51857 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51858 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51859 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51860 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51861 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51862 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51863 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51864 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51865 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51866 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51867 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51868 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51869 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51870 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51871 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51872 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51873 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51874 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51875 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51876 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51877 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51878 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51879 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51880 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51881 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
51882 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
51883 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51884 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51885 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51886 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51887 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51888 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51889 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51890 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51891 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51892 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51893 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51894 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51895 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51896 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51897 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51898 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51899 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51900 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51901 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51902 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51903 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51904 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51905 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51906 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51907 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51908 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51909 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51910 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51911 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51912 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51913 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
51914 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51915 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51916 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51917 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51918 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51919 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51920 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51921 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51922 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51923 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51924 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51925 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51926 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51927 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51928 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51929 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51930 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51931 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51932 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51933 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51934 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51935 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51936 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51937 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51938 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51939 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51940 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51941 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51942 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51943 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51944 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51945 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51946 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51947 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51948 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51949 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51950 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51951 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51952 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51953 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51954 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51955 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51956 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51957 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51958 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51959 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51960 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51961 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51962 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51963 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51964 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51965 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51966 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51967 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51968 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51969 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51970 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51971 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51972 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51973 s,@SHARED@,$SHARED,;t t
51974 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51975 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51976 s,@USE_GUI@,$USE_GUI,;t t
51977 s,@AFMINSTALL@,$AFMINSTALL,;t t
51978 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51979 s,@TOOLKIT@,$TOOLKIT,;t t
51980 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51981 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51982 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51983 s,@cross_compiling@,$cross_compiling,;t t
51984 s,@WIDGET_SET@,$WIDGET_SET,;t t
51985 s,@WX_RELEASE@,$WX_RELEASE,;t t
51986 s,@WX_VERSION@,$WX_VERSION,;t t
51987 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51988 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51989 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51990 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51991 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51992 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51993 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51994 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51995 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51996 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51997 s,@EXE_LINKER@,$EXE_LINKER,;t t
51998 s,@GUIDIST@,$GUIDIST,;t t
51999 s,@DISTDIR@,$DISTDIR,;t t
52000 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
52001 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
52002 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
52003 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
52004 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
52005 s,@RESCOMP@,$RESCOMP,;t t
52006 s,@RESFLAGS@,$RESFLAGS,;t t
52007 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
52008 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
52009 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
52010 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
52011 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
52012 s,@MACSETFILE@,$MACSETFILE,;t t
52014 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
52015 s,@LIBOBJS@,$LIBOBJS,;t t
52016 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
52021 cat >>$CONFIG_STATUS <<\_ACEOF
52022 # Split the substitutions into bite-sized pieces for seds with
52023 # small command number limits, like on Digital OSF/1 and HP-UX.
52024 ac_max_sed_lines
=48
52025 ac_sed_frag
=1 # Number of current file.
52026 ac_beg
=1 # First line for current file.
52027 ac_end
=$ac_max_sed_lines # Line after last line for current file.
52030 while $ac_more_lines; do
52031 if test $ac_beg -gt 1; then
52032 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
52034 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
52036 if test ! -s $tmp/subs.frag
; then
52037 ac_more_lines
=false
52039 # The purpose of the label and of the branching condition is to
52040 # speed up the sed processing (if there are no `@' at all, there
52041 # is no need to browse any of the substitutions).
52042 # These are the two extra sed commands mentioned above.
52044 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
52045 if test -z "$ac_sed_cmds"; then
52046 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
52048 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
52050 ac_sed_frag
=`expr $ac_sed_frag + 1`
52052 ac_end
=`expr $ac_end + $ac_max_sed_lines`
52055 if test -z "$ac_sed_cmds"; then
52058 fi # test -n "$CONFIG_FILES"
52061 cat >>$CONFIG_STATUS <<\_ACEOF
52062 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
52063 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52065 - | *:- | *:-:* ) # input from stdin
52067 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52068 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52069 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52070 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52071 * ) ac_file_in
=$ac_file.
in ;;
52074 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
52075 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
52076 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52077 X"$ac_file" : 'X\(//\)[^/]' \| \
52078 X"$ac_file" : 'X\(//\)$' \| \
52079 X"$ac_file" : 'X\(/\)' \| \
52080 . : '\(.\)' 2>/dev/null ||
52082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52083 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52084 /^X\(\/\/\)$/{ s//\1/; q; }
52085 /^X\(\/\).*/{ s//\1/; q; }
52087 { if $as_mkdir_p; then
52092 while test ! -d "$as_dir"; do
52093 as_dirs
="$as_dir $as_dirs"
52094 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52095 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52096 X"$as_dir" : 'X\(//\)[^/]' \| \
52097 X"$as_dir" : 'X\(//\)$' \| \
52098 X"$as_dir" : 'X\(/\)' \| \
52099 . : '\(.\)' 2>/dev/null ||
52101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52102 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52103 /^X\(\/\/\)$/{ s//\1/; q; }
52104 /^X\(\/\).*/{ s//\1/; q; }
52107 test ! -n "$as_dirs" || mkdir $as_dirs
52108 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52109 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52110 { (exit 1); exit 1; }; }; }
52114 if test "$ac_dir" != .
; then
52115 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52116 # A "../" for each directory in $ac_dir_suffix.
52117 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52119 ac_dir_suffix
= ac_top_builddir
=
52123 .
) # No --srcdir option. We are building in place.
52125 if test -z "$ac_top_builddir"; then
52128 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52130 [\\/]* | ?
:[\\/]* ) # Absolute path.
52131 ac_srcdir
=$srcdir$ac_dir_suffix;
52132 ac_top_srcdir
=$srcdir ;;
52133 *) # Relative path.
52134 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52135 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52138 # Do not use `cd foo && pwd` to compute absolute paths, because
52139 # the directories may not exist.
52141 .
) ac_abs_builddir
="$ac_dir";;
52144 .
) ac_abs_builddir
=`pwd`;;
52145 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52146 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52149 case $ac_abs_builddir in
52150 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52152 case ${ac_top_builddir}.
in
52153 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52154 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52155 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52158 case $ac_abs_builddir in
52159 .
) ac_abs_srcdir
=$ac_srcdir;;
52162 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52163 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52164 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52167 case $ac_abs_builddir in
52168 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52170 case $ac_top_srcdir in
52171 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52172 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52173 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52179 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52180 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
52183 # Let's still pretend it is `configure' which instantiates (i.e., don't
52184 # use $as_me), people would be surprised to read:
52185 # /* config.h. Generated by config.status. */
52186 if test x
"$ac_file" = x
-; then
52189 configure_input
="$ac_file. "
52191 configure_input
=$configure_input"Generated from `echo $ac_file_in |
52192 sed 's,.*/,,'` by configure."
52194 # First look for the input files in the build tree, otherwise in the
52196 ac_file_inputs
=`IFS=:
52197 for f in $ac_file_in; do
52199 -) echo $tmp/stdin ;;
52201 # Absolute (can't be DOS-style, as IFS=:)
52202 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52203 echo "$as_me: error: cannot find input file: $f" >&2;}
52204 { (exit 1); exit 1; }; }
52207 if test -f "$f"; then
52210 elif test -f "$srcdir/$f"; then
52215 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52216 echo "$as_me: error: cannot find input file: $f" >&2;}
52217 { (exit 1); exit 1; }; }
52220 done` || { (exit 1); exit 1; }
52222 if test x
"$ac_file" != x
-; then
52223 { echo "$as_me:$LINENO: creating $ac_file" >&5
52224 echo "$as_me: creating $ac_file" >&6;}
52228 cat >>$CONFIG_STATUS <<_ACEOF
52232 cat >>$CONFIG_STATUS <<\_ACEOF
52234 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52235 s
,@configure_input@
,$configure_input,;t t
52236 s
,@srcdir@
,$ac_srcdir,;t t
52237 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
52238 s
,@top_srcdir@
,$ac_top_srcdir,;t t
52239 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
52240 s
,@builddir@
,$ac_builddir,;t t
52241 s
,@abs_builddir@
,$ac_abs_builddir,;t t
52242 s
,@top_builddir@
,$ac_top_builddir,;t t
52243 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
52244 s
,@INSTALL@
,$ac_INSTALL,;t t
52245 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52247 if test x"$ac_file" != x-; then
52248 mv $tmp/out $ac_file
52254 # Run the commands associated with the file.
52256 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52257 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52261 cat >>$CONFIG_STATUS <<\_ACEOF
52264 # CONFIG_HEADER section.
52267 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
52268 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52270 # ac_d sets the value in "#define NAME VALUE" lines.
52271 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52272 ac_dB
='[ ].*$,\1#\2'
52275 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52276 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52277 ac_uB
='$,\1#\2define\3'
52281 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
52282 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52284 - | *:- | *:-:* ) # input from stdin
52286 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52287 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52288 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52289 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52290 * ) ac_file_in
=$ac_file.
in ;;
52293 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52294 echo "$as_me: creating $ac_file" >&6;}
52296 # First look for the input files in the build tree, otherwise in the
52298 ac_file_inputs
=`IFS=:
52299 for f in $ac_file_in; do
52301 -) echo $tmp/stdin ;;
52303 # Absolute (can't be DOS-style, as IFS=:)
52304 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52305 echo "$as_me: error: cannot find input file: $f" >&2;}
52306 { (exit 1); exit 1; }; }
52307 # Do quote $f, to prevent DOS paths from being IFS'd.
52310 if test -f "$f"; then
52313 elif test -f "$srcdir/$f"; then
52318 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52319 echo "$as_me: error: cannot find input file: $f" >&2;}
52320 { (exit 1); exit 1; }; }
52323 done` || { (exit 1); exit 1; }
52324 # Remove the trailing spaces.
52325 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52329 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52330 # `conftest.undefs', that substitutes the proper values into
52331 # config.h.in to produce config.h. The first handles `#define'
52332 # templates, and the second `#undef' templates.
52333 # And first: Protect against being on the right side of a sed subst in
52334 # config.status. Protect against being in an unquoted here document
52335 # in config.status.
52336 rm -f conftest.defines conftest.undefs
52337 # Using a here document instead of a string reduces the quoting nightmare.
52338 # Putting comments in sed scripts is not portable.
52340 # `end' is used to avoid that the second main sed command (meant for
52341 # 0-ary CPP macros) applies to n-ary macro definitions.
52342 # See the Autoconf documentation for `clear'.
52343 cat >confdef2sed.
sed <<\_ACEOF
52348 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52350 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52353 # If some macros were called several times there might be several times
52354 # the same #defines, which is useless. Nevertheless, we may not want to
52355 # sort them, since we want the *last* AC-DEFINE to be honored.
52356 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52357 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52358 rm -f confdef2sed.sed
52360 # This sed command replaces #undef with comments. This is necessary, for
52361 # example, in the case of _POSIX_SOURCE, which is predefined and required
52362 # on some systems where configure will not decide to define it.
52363 cat >>conftest.undefs <<\_ACEOF
52364 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52367 # Break up conftest.defines because some shells have a limit on the size
52368 # of here documents, and old seds have small limits too (100 cmds).
52369 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52370 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52371 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52372 echo ' :' >>$CONFIG_STATUS
52373 rm -f conftest.tail
52374 while grep . conftest.defines >/dev/null
52376 # Write a limited-size here document to $tmp/defines.sed.
52377 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52378 # Speed up: don't consider the non `#define' lines.
52379 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52380 # Work around the forget-to-reset-the-flag bug.
52381 echo 't clr' >>$CONFIG_STATUS
52382 echo ': clr' >>$CONFIG_STATUS
52383 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
52385 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52387 mv $tmp/out $tmp/in
52389 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
52390 rm -f conftest.defines
52391 mv conftest.
tail conftest.defines
52393 rm -f conftest.defines
52394 echo ' fi # grep' >>$CONFIG_STATUS
52395 echo >>$CONFIG_STATUS
52397 # Break up conftest.undefs because some shells have a limit on the size
52398 # of here documents, and old seds have small limits too (100 cmds).
52399 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52400 rm -f conftest.
tail
52401 while grep . conftest.undefs
>/dev
/null
52403 # Write a limited-size here document to $tmp/undefs.sed.
52404 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52405 # Speed up: don't consider the non
`#undef'
52406 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52407 # Work around the forget-to-reset-the-flag bug.
52408 echo 't clr' >>$CONFIG_STATUS
52409 echo ': clr' >>$CONFIG_STATUS
52410 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52412 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52414 mv $tmp/out $tmp/in
52416 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52417 rm -f conftest.undefs
52418 mv conftest.tail conftest.undefs
52420 rm -f conftest.undefs
52422 cat >>$CONFIG_STATUS <<\_ACEOF
52423 # Let's still pretend it is `configure
' which instantiates (i.e., don't
52424 # use $as_me), people would be surprised to read:
52425 # /* config.h. Generated by config.status. */
52426 if test x
"$ac_file" = x
-; then
52427 echo "/* Generated by configure. */" >$tmp/config.h
52429 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52431 cat $tmp/in >>$tmp/config.h
52433 if test x
"$ac_file" != x
-; then
52434 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
52435 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52436 echo "$as_me: $ac_file is unchanged" >&6;}
52438 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
52439 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52440 X"$ac_file" : 'X\(//\)[^/]' \| \
52441 X"$ac_file" : 'X\(//\)$' \| \
52442 X"$ac_file" : 'X\(/\)' \| \
52443 . : '\(.\)' 2>/dev/null ||
52445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52446 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52447 /^X\(\/\/\)$/{ s//\1/; q; }
52448 /^X\(\/\).*/{ s//\1/; q; }
52450 { if $as_mkdir_p; then
52455 while test ! -d "$as_dir"; do
52456 as_dirs
="$as_dir $as_dirs"
52457 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52458 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52459 X"$as_dir" : 'X\(//\)[^/]' \| \
52460 X"$as_dir" : 'X\(//\)$' \| \
52461 X"$as_dir" : 'X\(/\)' \| \
52462 . : '\(.\)' 2>/dev/null ||
52464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52465 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52466 /^X\(\/\/\)$/{ s//\1/; q; }
52467 /^X\(\/\).*/{ s//\1/; q; }
52470 test ! -n "$as_dirs" || mkdir $as_dirs
52471 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52472 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52473 { (exit 1); exit 1; }; }; }
52476 mv $tmp/config.h
$ac_file
52480 rm -f $tmp/config.h
52484 cat >>$CONFIG_STATUS <<\_ACEOF
52487 # CONFIG_COMMANDS section.
52489 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
52490 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
52491 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52492 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
52493 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52494 X"$ac_dest" : 'X\(//\)[^/]' \| \
52495 X"$ac_dest" : 'X\(//\)$' \| \
52496 X"$ac_dest" : 'X\(/\)' \| \
52497 . : '\(.\)' 2>/dev/null ||
52499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52500 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52501 /^X\(\/\/\)$/{ s//\1/; q; }
52502 /^X\(\/\).*/{ s//\1/; q; }
52504 { if $as_mkdir_p; then
52509 while test ! -d "$as_dir"; do
52510 as_dirs
="$as_dir $as_dirs"
52511 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52512 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52513 X"$as_dir" : 'X\(//\)[^/]' \| \
52514 X"$as_dir" : 'X\(//\)$' \| \
52515 X"$as_dir" : 'X\(/\)' \| \
52516 . : '\(.\)' 2>/dev/null ||
52518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52519 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52520 /^X\(\/\/\)$/{ s//\1/; q; }
52521 /^X\(\/\).*/{ s//\1/; q; }
52524 test ! -n "$as_dirs" || mkdir $as_dirs
52525 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52526 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52527 { (exit 1); exit 1; }; }; }
52531 if test "$ac_dir" != .
; then
52532 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52533 # A "../" for each directory in $ac_dir_suffix.
52534 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52536 ac_dir_suffix
= ac_top_builddir
=
52540 .
) # No --srcdir option. We are building in place.
52542 if test -z "$ac_top_builddir"; then
52545 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52547 [\\/]* | ?
:[\\/]* ) # Absolute path.
52548 ac_srcdir
=$srcdir$ac_dir_suffix;
52549 ac_top_srcdir
=$srcdir ;;
52550 *) # Relative path.
52551 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52552 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52555 # Do not use `cd foo && pwd` to compute absolute paths, because
52556 # the directories may not exist.
52558 .
) ac_abs_builddir
="$ac_dir";;
52561 .
) ac_abs_builddir
=`pwd`;;
52562 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52563 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52566 case $ac_abs_builddir in
52567 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52569 case ${ac_top_builddir}.
in
52570 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52571 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52572 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52575 case $ac_abs_builddir in
52576 .
) ac_abs_srcdir
=$ac_srcdir;;
52579 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52580 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52581 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52584 case $ac_abs_builddir in
52585 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52587 case $ac_top_srcdir in
52588 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52589 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52590 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52595 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52596 echo "$as_me: executing $ac_dest commands" >&6;}
52599 mkdir -p $outdir &&
52600 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52602 wx
-config ) rm -f wx
-config
52603 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52609 cat >>$CONFIG_STATUS <<\_ACEOF
52611 { (exit 0); exit 0; }
52613 chmod +x
$CONFIG_STATUS
52614 ac_clean_files
=$ac_clean_files_save
52617 # configure is writing to config.log, and then calls config.status.
52618 # config.status does its own redirection, appending to config.log.
52619 # Unfortunately, on DOS this fails, as config.log is still kept open
52620 # by configure, so config.status won't be able to write to it; its
52621 # output is simply discarded. So we exec the FD to /dev/null,
52622 # effectively closing config.log, so it can be properly (re)opened and
52623 # appended to by config.status. When coming back to configure, we
52624 # need to make the FD available again.
52625 if test "$no_create" != yes; then
52627 ac_config_status_args
=
52628 test "$silent" = yes &&
52629 ac_config_status_args
="$ac_config_status_args --quiet"
52631 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52633 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52634 # would make configure fail if this is the last instruction.
52635 $ac_cs_success || { (exit 1); exit 1; }
52639 # CONFIG_SUBDIRS section.
52641 if test "$no_recursion" != yes; then
52643 # Remove --cache-file and --srcdir arguments so they do not pile up.
52644 ac_sub_configure_args
=
52646 for ac_arg
in $ac_configure_args; do
52647 if test -n "$ac_prev"; then
52652 -cache-file | --cache-file | --cache-fil | --cache-fi \
52653 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52654 ac_prev
=cache_file
;;
52655 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52656 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52659 --config-cache | -C)
52661 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52663 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52665 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52667 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52669 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
52673 # Always prepend --prefix to ensure using the same prefix
52674 # in subdir configurations.
52675 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
52678 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52680 # Do not complain, so a configure script can configure whichever
52681 # parts of a large source tree are present.
52682 test -d $srcdir/$ac_dir || continue
52684 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52685 echo "$as_me: configuring in $ac_dir" >&6;}
52686 { if $as_mkdir_p; then
52691 while test ! -d "$as_dir"; do
52692 as_dirs
="$as_dir $as_dirs"
52693 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52694 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52695 X"$as_dir" : 'X\(//\)[^/]' \| \
52696 X"$as_dir" : 'X\(//\)$' \| \
52697 X"$as_dir" : 'X\(/\)' \| \
52698 . : '\(.\)' 2>/dev/null ||
52700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52701 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52702 /^X\(\/\/\)$/{ s//\1/; q; }
52703 /^X\(\/\).*/{ s//\1/; q; }
52706 test ! -n "$as_dirs" || mkdir $as_dirs
52707 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52708 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52709 { (exit 1); exit 1; }; }; }
52713 if test "$ac_dir" != .
; then
52714 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52715 # A "../" for each directory in $ac_dir_suffix.
52716 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52718 ac_dir_suffix
= ac_top_builddir
=
52722 .
) # No --srcdir option. We are building in place.
52724 if test -z "$ac_top_builddir"; then
52727 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52729 [\\/]* | ?
:[\\/]* ) # Absolute path.
52730 ac_srcdir
=$srcdir$ac_dir_suffix;
52731 ac_top_srcdir
=$srcdir ;;
52732 *) # Relative path.
52733 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52734 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52737 # Do not use `cd foo && pwd` to compute absolute paths, because
52738 # the directories may not exist.
52740 .
) ac_abs_builddir
="$ac_dir";;
52743 .
) ac_abs_builddir
=`pwd`;;
52744 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52745 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52748 case $ac_abs_builddir in
52749 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52751 case ${ac_top_builddir}.
in
52752 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52753 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52754 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52757 case $ac_abs_builddir in
52758 .
) ac_abs_srcdir
=$ac_srcdir;;
52761 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52762 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52763 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52766 case $ac_abs_builddir in
52767 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52769 case $ac_top_srcdir in
52770 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52771 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52772 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52779 # Check for guested configure; otherwise get Cygnus style configure.
52780 if test -f $ac_srcdir/configure.gnu
; then
52781 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
52782 elif test -f $ac_srcdir/configure
; then
52783 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
52784 elif test -f $ac_srcdir/configure.
in; then
52785 ac_sub_configure
=$ac_configure
52787 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52788 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52792 # The recursion is here.
52793 if test -n "$ac_sub_configure"; then
52794 # Make the cache file name correct relative to the subdirectory.
52795 case $cache_file in
52796 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52797 *) # Relative path.
52798 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
52801 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52802 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52803 # The eval makes quoting arguments work.
52804 eval $ac_sub_configure $ac_sub_configure_args \
52805 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52806 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52807 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52808 { (exit 1); exit 1; }; }
52817 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52819 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52820 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52822 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52823 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52824 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52826 echo " What level of wxWidgets compatibility should be enabled?"
52827 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52828 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52830 echo " Which libraries should wxWidgets use?"
52831 echo " jpeg ${wxUSE_LIBJPEG-none}"
52832 echo " png ${wxUSE_LIBPNG-none}"
52833 echo " regex ${wxUSE_REGEX}"
52834 echo " tiff ${wxUSE_LIBTIFF-none}"
52835 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52836 echo " xpm ${wxUSE_LIBXPM-none}"
52838 echo " zlib ${wxUSE_ZLIB}"
52839 echo " odbc ${wxUSE_ODBC}"
52840 echo " expat ${wxUSE_EXPAT}"
52841 echo " libmspack ${wxUSE_LIBMSPACK}"
52842 echo " sdl ${wxUSE_LIBSDL}"