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-searchctrl use wxSearchCtrl class
1090 --enable-slider use wxSlider class
1091 --enable-spinbtn use wxSpinButton class
1092 --enable-spinctrl use wxSpinCtrl class
1093 --enable-splitter use wxSplitterWindow class
1094 --enable-statbmp use wxStaticBitmap class
1095 --enable-statbox use wxStaticBox class
1096 --enable-statline use wxStaticLine class
1097 --enable-stattext use wxStaticText class
1098 --enable-statusbar use wxStatusBar class
1099 --enable-tabdialog use wxTabControl class
1100 --enable-textctrl use wxTextCtrl class
1101 --enable-togglebtn use wxToggleButton class
1102 --enable-toolbar use wxToolBar class
1103 --enable-tbarnative use native wxToolBar class
1104 --enable-treebook use wxTreebook class
1105 --enable-toolbook use wxToolbook class
1106 --enable-treectrl use wxTreeCtrl class
1107 --enable-tipwindow use wxTipWindow class
1108 --enable-popupwin use wxPopUpWindow class
1109 --enable-commondlg use all common dialogs
1110 --enable-aboutdlg use wxAboutBox
1111 --enable-choicedlg use wxChoiceDialog
1112 --enable-coldlg use wxColourDialog
1113 --enable-filedlg use wxFileDialog
1114 --enable-finddlg use wxFindReplaceDialog
1115 --enable-fontdlg use wxFontDialog
1116 --enable-dirdlg use wxDirDialog
1117 --enable-msgdlg use wxMessageDialog
1118 --enable-numberdlg use wxNumberEntryDialog
1119 --enable-splash use wxSplashScreen
1120 --enable-textdlg use wxTextDialog
1121 --enable-tipdlg use startup tips
1122 --enable-progressdlg use wxProgressDialog
1123 --enable-wizarddlg use wxWizard
1124 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1125 --enable-miniframe use wxMiniFrame class
1126 --enable-tooltips use wxToolTip class
1127 --enable-splines use spline drawing code
1128 --enable-mousewheel use mousewheel
1129 --enable-validators use wxValidator and derived classes
1130 --enable-busyinfo use wxBusyInfo
1131 --enable-joystick use wxJoystick
1132 --enable-metafiles use wxMetaFile (Win32 only)
1133 --enable-dragimage use wxDragImage
1134 --enable-accessibility enable accessibility support
1135 --enable-dccache cache temporary wxDC objects (Win32 only)
1136 --enable-palette use wxPalette class
1137 --enable-image use wxImage class
1138 --enable-gif use gif images (GIF file format)
1139 --enable-pcx use pcx images (PCX file format)
1140 --enable-tga use tga images (TGA file format)
1141 --enable-iff use iff images (IFF file format)
1142 --enable-pnm use pnm images (PNM file format)
1143 --enable-xpm use xpm images (XPM file format)
1144 --enable-icocur use Windows ICO and CUR formats
1145 --enable-official_build official build of wxWidgets (win32 DLL only)
1146 --enable-vendor=VENDOR vendor name (win32 DLL only)
1147 --disable-largefile omit support for large files
1148 --disable-gtktest do not try to compile and run a test GTK+ program
1149 --disable-gtktest Do not try to compile and run a test GTK program
1150 --disable-sdltest Do not try to compile and run a test SDL program
1151 --enable-omf use OMF object format (OS/2)
1152 --disable-dependency-tracking
1153 don't use dependency tracking even
if the compiler
1155 --disable-precomp-headers
1156 don
't use precompiled headers even if compiler can
1159 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1160 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1161 --without-subdirs don't generate makefiles
for samples
/demos
/...
1162 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1163 --with-motif use Motif
/Lesstif
1164 --with-mac use Mac OS X
1165 --with-cocoa use Cocoa
1166 --with-wine use Wine
1167 --with-msw use MS
-Windows
1168 --with-pm use OS
/2 Presentation Manager
1169 --with-mgl use SciTech MGL
1170 --with-directfb use DirectFB
1171 --with-microwin use MicroWindows
1173 --with-libpng use libpng
(PNG image format
)
1174 --with-libjpeg use libjpeg
(JPEG
file format
)
1175 --with-libtiff use libtiff
(TIFF
file format
)
1176 --with-libxpm use libxpm
(XPM
file format
)
1177 --with-libmspack use libmspack
(CHM
help files loading
)
1178 --with-sdl use SDL
for audio on Unix
1179 --with-gnomeprint use GNOME print
for printing under GNOME
1180 --with-gnomevfs use GNOME VFS
for associating MIME types
1181 --with-hildon use Hildon framework
for Nokia
770
1182 --with-opengl use OpenGL
(or Mesa
)
1183 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1184 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1185 --with-regex enable support
for wxRegEx class
1186 --with-zlib use zlib
for LZW compression
1187 --with-odbc use the IODBC and wxODBC classes
1188 --with-expat enable XML support using expat parser
1189 --with-flavour=NAME specify a name to identify this build
1190 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1191 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1192 --with-x use the X Window System
1193 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1194 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1195 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1196 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1197 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1199 Some influential environment variables
:
1200 CC C compiler
command
1201 CFLAGS C compiler flags
1202 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1203 nonstandard directory
<lib dir
>
1204 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1205 headers
in a nonstandard directory
<include dir
>
1207 CXX C
++ compiler
command
1208 CXXFLAGS C
++ compiler flags
1209 CXXCPP C
++ preprocessor
1210 PKG_CONFIG path to pkg
-config utility
1212 C compiler flags
for DIRECTFB
, overriding pkg
-config
1214 linker flags
for DIRECTFB
, overriding pkg
-config
1216 C compiler flags
for PANGOX
, overriding pkg
-config
1217 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1219 C compiler flags
for PANGOFT2
, overriding pkg
-config
1221 linker flags
for PANGOFT2
, overriding pkg
-config
1223 C compiler flags
for PANGOXFT
, overriding pkg
-config
1225 linker flags
for PANGOXFT
, overriding pkg
-config
1226 LIBGNOMEPRINTUI_CFLAGS
1227 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1228 LIBGNOMEPRINTUI_LIBS
1229 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1231 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1233 linker flags
for GNOMEVFS
, overriding pkg
-config
1235 C compiler flags
for HILDON
, overriding pkg
-config
1236 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1238 C compiler flags
for CAIRO
, overriding pkg
-config
1239 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1240 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1241 GST_LIBS linker flags
for GST
, overriding pkg
-config
1243 Use these variables to override the choices made by
`configure' or to help
1244 it to find libraries and programs with nonstandard names/locations.
1246 Report bugs to <wx-dev@lists.wxwidgets.org>.
1250 if test "$ac_init_help" = "recursive"; then
1251 # If there are subdirs, report their specific --help.
1253 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1254 test -d $ac_dir || continue
1257 if test "$ac_dir" != .; then
1258 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1259 # A "../" for each directory in $ac_dir_suffix.
1260 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1262 ac_dir_suffix= ac_top_builddir=
1266 .) # No --srcdir option. We are building in place.
1268 if test -z "$ac_top_builddir"; then
1271 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1273 [\\/]* | ?:[\\/]* ) # Absolute path.
1274 ac_srcdir=$srcdir$ac_dir_suffix;
1275 ac_top_srcdir=$srcdir ;;
1277 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1278 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1281 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1282 # the directories may not exist.
1284 .) ac_abs_builddir="$ac_dir";;
1287 .) ac_abs_builddir=`pwd`;;
1288 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1289 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1292 case $ac_abs_builddir in
1293 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1295 case ${ac_top_builddir}. in
1296 .) ac_abs_top_builddir=$ac_abs_builddir;;
1297 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1298 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1301 case $ac_abs_builddir in
1302 .) ac_abs_srcdir=$ac_srcdir;;
1305 .) ac_abs_srcdir=$ac_abs_builddir;;
1306 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1307 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1310 case $ac_abs_builddir in
1311 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1313 case $ac_top_srcdir in
1314 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1315 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1316 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1321 # Check for guested configure; otherwise get Cygnus style configure.
1322 if test -f $ac_srcdir/configure.gnu; then
1324 $SHELL $ac_srcdir/configure.gnu --help=recursive
1325 elif test -f $ac_srcdir/configure; then
1327 $SHELL $ac_srcdir/configure --help=recursive
1328 elif test -f $ac_srcdir/configure.ac ||
1329 test -f $ac_srcdir/configure.in; then
1331 $ac_configure --help
1333 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1339 test -n "$ac_init_help" && exit 0
1340 if $ac_init_version; then
1342 wxWidgets configure 2.8.0
1343 generated by GNU Autoconf 2.59
1345 Copyright (C) 2003 Free Software Foundation, Inc.
1346 This configure script is free software; the Free Software Foundation
1347 gives unlimited permission to copy, distribute and modify it.
1353 This file contains any messages produced by compilers while
1354 running configure, to aid debugging if configure makes a mistake.
1356 It was created by wxWidgets $as_me 2.8.0, which was
1357 generated by GNU Autoconf 2.59. Invocation command line was
1368 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1369 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1370 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1371 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1372 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1374 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1375 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1377 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1378 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1379 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1380 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1381 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1382 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1383 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1391 test -z "$as_dir" && as_dir=.
1392 echo "PATH: $as_dir"
1407 # Keep a trace of the command line.
1408 # Strip out --no-create and --no-recursion so they do not pile up.
1409 # Strip out --silent because we don't want to record it for future runs.
1410 # Also quote any args containing shell meta-characters.
1411 # Make two passes to allow for proper duplicate-argument suppression.
1416 ac_must_keep_next=false
1422 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1423 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1424 | -silent | --silent | --silen | --sile | --sil)
1426 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1427 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1430 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1432 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1433 if test $ac_must_keep_next = true; then
1434 ac_must_keep_next=false # Got value, back to normal.
1437 *=* | --config-cache | -C | -disable-* | --disable-* \
1438 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1439 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1440 | -with-* | --with-* | -without-* | --without-* | --x)
1441 case "$ac_configure_args0 " in
1442 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1445 -* ) ac_must_keep_next=true ;;
1448 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1449 # Get rid of the leading space.
1455 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1456 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1458 # When interrupted or exit'd, cleanup temporary files, and complete
1459 # config.log. We remove comments because anyway the quotes in there
1460 # would cause problems or look ugly.
1461 # WARNING: Be sure not to use single quotes in there, as some shells,
1462 # such as our DU 5.0 friend, will then `close
' the trap.
1463 trap 'exit_status
=$?
1464 # Save into config.log some information that might help in debugging.
1469 ## ---------------- ##
1470 ## Cache variables. ##
1471 ## ---------------- ##
1474 # The following way of writing the cache mishandles newlines in values,
1477 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1480 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1481 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1485 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1492 ## ----------------- ##
1493 ## Output variables. ##
1494 ## ----------------- ##
1497 for ac_var
in $ac_subst_vars
1499 eval ac_val
=$
`echo $ac_var`
1500 echo "$ac_var='"'"'$ac_val'"'"'"
1504 if test -n "$ac_subst_files"; then
1511 for ac_var
in $ac_subst_files
1513 eval ac_val
=$
`echo $ac_var`
1514 echo "$ac_var='"'"'$ac_val'"'"'"
1519 if test -s confdefs.h
; then
1526 sed "/^$/d" confdefs.h
| sort
1529 test "$ac_signal" != 0 &&
1530 echo "$as_me: caught signal $ac_signal"
1531 echo "$as_me: exit $exit_status"
1533 rm -f core
*.core
&&
1534 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1537 for ac_signal in 1 2 13 15; do
1538 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1542 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1543 rm -rf conftest* confdefs.h
1544 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1547 # Predefined preprocessor variables.
1549 cat >>confdefs.h <<_ACEOF
1550 #define PACKAGE_NAME "$PACKAGE_NAME"
1554 cat >>confdefs.h <<_ACEOF
1555 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1559 cat >>confdefs.h <<_ACEOF
1560 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1564 cat >>confdefs.h <<_ACEOF
1565 #define PACKAGE_STRING "$PACKAGE_STRING"
1569 cat >>confdefs.h <<_ACEOF
1570 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1574 # Let the site file select an alternate cache file if it wants to.
1575 # Prefer explicitly selected file to automatically selected ones.
1576 if test -z "$CONFIG_SITE"; then
1577 if test "x$prefix" != xNONE; then
1578 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1580 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1583 for ac_site_file in $CONFIG_SITE; do
1584 if test -r "$ac_site_file"; then
1585 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1586 echo "$as_me: loading site script $ac_site_file" >&6;}
1587 sed 's
/^
/| /' "$ac_site_file" >&5
1592 if test -r "$cache_file"; then
1593 # Some versions of bash will fail to source /dev/null (special
1594 # files actually), so we avoid doing that.
1595 if test -f "$cache_file"; then
1596 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1597 echo "$as_me: loading cache $cache_file" >&6;}
1599 [\\/]* | ?:[\\/]* ) . $cache_file;;
1600 *) . ./$cache_file;;
1604 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1605 echo "$as_me: creating cache $cache_file" >&6;}
1609 # Check that the precious variables saved in the cache have kept the same
1611 ac_cache_corrupted=false
1612 for ac_var in `(set) 2>&1 |
1613 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1614 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1615 eval ac_new_set=\$ac_env_${ac_var}_set
1616 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1617 eval ac_new_val="\$ac_env_${ac_var}_value"
1618 case $ac_old_set,$ac_new_set in
1620 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1621 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1622 ac_cache_corrupted=: ;;
1624 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1625 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1626 ac_cache_corrupted=: ;;
1629 if test "x$ac_old_val" != "x$ac_new_val"; then
1630 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1631 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1632 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1633 echo "$as_me: former value: $ac_old_val" >&2;}
1634 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1635 echo "$as_me: current value: $ac_new_val" >&2;}
1636 ac_cache_corrupted=:
1639 # Pass precious variables to config.status.
1640 if test "$ac_new_set" = set; then
1642 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1643 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1644 *) ac_arg=$ac_var=$ac_new_val ;;
1646 case " $ac_configure_args " in
1647 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1648 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1652 if $ac_cache_corrupted; then
1653 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1654 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1655 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1656 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1657 { (exit 1); exit 1; }; }
1661 ac_cpp='$CPP $CPPFLAGS'
1662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1663 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1696 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1697 if test -f $ac_dir/install-sh; then
1699 ac_install_sh="$ac_aux_dir/install-sh -c"
1701 elif test -f $ac_dir/install.sh; then
1703 ac_install_sh="$ac_aux_dir/install.sh -c"
1705 elif test -f $ac_dir/shtool; then
1707 ac_install_sh="$ac_aux_dir/shtool install -c"
1711 if test -z "$ac_aux_dir"; then
1712 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1713 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1714 { (exit 1); exit 1; }; }
1716 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1717 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1718 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1720 # Make sure we can run config.sub.
1721 $ac_config_sub sun4 >/dev/null 2>&1 ||
1722 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1723 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1724 { (exit 1); exit 1; }; }
1726 echo "$as_me:$LINENO: checking build system type" >&5
1727 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1728 if test "${ac_cv_build+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1731 ac_cv_build_alias=$build_alias
1732 test -z "$ac_cv_build_alias" &&
1733 ac_cv_build_alias=`$ac_config_guess`
1734 test -z "$ac_cv_build_alias" &&
1735 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1736 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1737 { (exit 1); exit 1; }; }
1738 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1739 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1740 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1741 { (exit 1); exit 1; }; }
1744 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1745 echo "${ECHO_T}$ac_cv_build" >&6
1747 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1748 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1749 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1752 echo "$as_me:$LINENO: checking host system type" >&5
1753 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1754 if test "${ac_cv_host+set}" = set; then
1755 echo $ECHO_N "(cached) $ECHO_C" >&6
1757 ac_cv_host_alias=$host_alias
1758 test -z "$ac_cv_host_alias" &&
1759 ac_cv_host_alias=$ac_cv_build_alias
1760 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1761 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1762 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1763 { (exit 1); exit 1; }; }
1766 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1767 echo "${ECHO_T}$ac_cv_host" >&6
1769 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1770 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1771 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1774 echo "$as_me:$LINENO: checking target system type" >&5
1775 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1776 if test "${ac_cv_target+set}" = set; then
1777 echo $ECHO_N "(cached) $ECHO_C" >&6
1779 ac_cv_target_alias=$target_alias
1780 test "x$ac_cv_target_alias" = "x" &&
1781 ac_cv_target_alias=$ac_cv_host_alias
1782 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1783 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1784 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1785 { (exit 1); exit 1; }; }
1788 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1789 echo "${ECHO_T}$ac_cv_target" >&6
1790 target=$ac_cv_target
1791 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1792 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1793 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1796 # The aliases save the names the user supplied, while $host etc.
1797 # will get canonicalized.
1798 test -n "$target_alias" &&
1799 test "$program_prefix$program_suffix$program_transform_name" = \
1801 program_prefix=${target_alias}-
1805 wx_major_version_number=2
1806 wx_minor_version_number=8
1808 wx_subrelease_number=2
1810 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1811 WX_VERSION=$WX_RELEASE.$wx_release_number
1812 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1814 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1817 wx_top_builddir="`pwd`"
1830 USE_BSD= USE_DARWIN= USE_FREEBSD=
1836 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1842 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1844 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1846 DEFAULT_wxUSE_COCOA=0
1850 DEFAULT_wxUSE_MICROWIN=0
1851 DEFAULT_wxUSE_MOTIF=0
1857 DEFAULT_DEFAULT_wxUSE_COCOA=0
1858 DEFAULT_DEFAULT_wxUSE_GTK=0
1859 DEFAULT_DEFAULT_wxUSE_MAC=0
1860 DEFAULT_DEFAULT_wxUSE_MGL=0
1861 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1862 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1863 DEFAULT_DEFAULT_wxUSE_MSW=0
1864 DEFAULT_DEFAULT_wxUSE_PM=0
1865 DEFAULT_DEFAULT_wxUSE_X11=0
1866 DEFAULT_DEFAULT_wxUSE_DFB=0
1871 SAMPLES_RPATH_POSTLINK=
1873 DEFAULT_STD_FLAG=yes
1878 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1879 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1881 cat >>confdefs.h <<\_ACEOF
1886 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1890 cat >>confdefs.h <<\_ACEOF
1895 if test "x$TMP" = "xalpha"; then
1897 cat >>confdefs.h <<\_ACEOF
1902 DEFAULT_DEFAULT_wxUSE_GTK=1
1904 *-*-gnu* | *-*-k*bsd*-gnu )
1907 if test "x$TMP" = "xalpha"; then
1909 cat >>confdefs.h <<\_ACEOF
1914 DEFAULT_DEFAULT_wxUSE_GTK=1
1916 *-*-irix5* | *-*-irix6* )
1919 cat >>confdefs.h <<\_ACEOF
1923 cat >>confdefs.h <<\_ACEOF
1927 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1933 cat >>confdefs.h <<\_ACEOF
1937 cat >>confdefs.h <<\_ACEOF
1938 #define __SOLARIS__ 1
1941 cat >>confdefs.h <<\_ACEOF
1945 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1946 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1952 cat >>confdefs.h <<\_ACEOF
1956 cat >>confdefs.h <<\_ACEOF
1960 cat >>confdefs.h <<\_ACEOF
1964 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1969 cat >>confdefs.h <<\_ACEOF
1970 #define __FREEBSD__ 1
1973 cat >>confdefs.h <<\_ACEOF
1977 DEFAULT_DEFAULT_wxUSE_GTK=1
1979 *-*-openbsd*|*-*-mirbsd*)
1982 cat >>confdefs.h <<\_ACEOF
1983 #define __OPENBSD__ 1
1986 cat >>confdefs.h <<\_ACEOF
1990 DEFAULT_DEFAULT_wxUSE_GTK=1
1995 cat >>confdefs.h <<\_ACEOF
1996 #define __NETBSD__ 1
1999 cat >>confdefs.h <<\_ACEOF
2003 DEFAULT_DEFAULT_wxUSE_GTK=1
2004 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2006 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2011 cat >>confdefs.h <<\_ACEOF
2015 cat >>confdefs.h <<\_ACEOF
2019 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2020 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2025 cat >>confdefs.h <<\_ACEOF
2029 cat >>confdefs.h <<\_ACEOF
2033 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2038 cat >>confdefs.h <<\_ACEOF
2042 cat >>confdefs.h <<\_ACEOF
2046 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2053 cat >>confdefs.h <<\_ACEOF
2057 cat >>confdefs.h <<\_ACEOF
2061 cat >>confdefs.h <<\_ACEOF
2065 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2072 cat >>confdefs.h <<\_ACEOF
2073 #define __UNIXWARE__ 1
2078 *-*-cygwin* | *-*-mingw32* )
2081 DEFAULT_DEFAULT_wxUSE_MSW=1
2087 cat >>confdefs.h <<\_ACEOF
2092 DEFAULT_DEFAULT_wxUSE_MGL=1
2095 *-pc-os2_emx | *-pc-os2-emx )
2096 cat >>confdefs.h <<\_ACEOF
2101 cat >>confdefs.h <<\_ACEOF
2106 DEFAULT_DEFAULT_wxUSE_PM=1
2108 LDFLAGS="$LDFLAGS -Zcrtdll"
2109 ac_executable_extensions=".exe"
2110 export ac_executable_extensions
2114 for ac_dir in $PATH; do
2116 if test -z "$ac_TEMP_PATH"; then
2117 ac_TEMP_PATH="$ac_dir"
2119 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2122 export PATH="$ac_TEMP_PATH"
2131 cat >>confdefs.h <<\_ACEOF
2135 cat >>confdefs.h <<\_ACEOF
2136 #define __DARWIN__ 1
2139 cat >>confdefs.h <<\_ACEOF
2140 #define TARGET_CARBON 1
2143 DEFAULT_DEFAULT_wxUSE_MAC=1
2146 powerpc-apple-macos* )
2148 ac_cv_c_bigendian=yes
2150 DEFAULT_DEFAULT_wxUSE_MAC=1
2156 cat >>confdefs.h <<\_ACEOF
2163 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2164 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2165 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2166 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2168 DEFAULT_DEFAULT_wxUSE_X11=1
2169 DEFAULT_wxUSE_SHARED=no
2175 wx_arg_cache_file="configarg.cache"
2176 echo "loading argument cache $wx_arg_cache_file"
2177 rm -f ${wx_arg_cache_file}.tmp
2178 touch ${wx_arg_cache_file}.tmp
2179 touch ${wx_arg_cache_file}
2183 if test $DEBUG_CONFIGURE = 1; then
2184 DEFAULT_wxUSE_UNIVERSAL=no
2185 DEFAULT_wxUSE_STL=no
2187 DEFAULT_wxUSE_NANOX=no
2189 DEFAULT_wxUSE_THREADS=yes
2191 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2192 DEFAULT_wxUSE_OPTIMISE=no
2193 DEFAULT_wxUSE_PROFILE=no
2194 DEFAULT_wxUSE_NO_DEPS=no
2195 DEFAULT_wxUSE_VARARG_MACROS=no
2196 DEFAULT_wxUSE_NO_RTTI=no
2197 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2198 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2199 DEFAULT_wxUSE_RPATH=yes
2200 DEFAULT_wxUSE_PERMISSIVE=no
2201 DEFAULT_wxUSE_DEBUG_FLAG=yes
2202 DEFAULT_wxUSE_DEBUG_INFO=yes
2203 DEFAULT_wxUSE_DEBUG_GDB=yes
2204 DEFAULT_wxUSE_MEM_TRACING=no
2205 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2206 DEFAULT_wxUSE_DMALLOC=no
2207 DEFAULT_wxUSE_APPLE_IEEE=no
2209 DEFAULT_wxUSE_EXCEPTIONS=no
2210 DEFAULT_wxUSE_LOG=yes
2211 DEFAULT_wxUSE_LOGWINDOW=no
2212 DEFAULT_wxUSE_LOGGUI=no
2213 DEFAULT_wxUSE_LOGDIALOG=no
2215 DEFAULT_wxUSE_GUI=yes
2216 DEFAULT_wxUSE_CONTROLS=no
2218 DEFAULT_wxUSE_REGEX=no
2219 DEFAULT_wxUSE_XML=no
2220 DEFAULT_wxUSE_EXPAT=no
2221 DEFAULT_wxUSE_ZLIB=no
2222 DEFAULT_wxUSE_LIBPNG=no
2223 DEFAULT_wxUSE_LIBJPEG=no
2224 DEFAULT_wxUSE_LIBTIFF=no
2225 DEFAULT_wxUSE_LIBXPM=no
2226 DEFAULT_wxUSE_LIBMSPACK=no
2227 DEFAULT_wxUSE_LIBSDL=no
2228 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2229 DEFAULT_wxUSE_LIBGNOMEVFS=no
2230 DEFAULT_wxUSE_LIBHILDON=no
2231 DEFAULT_wxUSE_ODBC=no
2232 DEFAULT_wxUSE_OPENGL=no
2234 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2235 DEFAULT_wxUSE_STACKWALKER=no
2236 DEFAULT_wxUSE_DEBUGREPORT=no
2237 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2238 DEFAULT_wxUSE_STD_IOSTREAM=no
2239 DEFAULT_wxUSE_STD_STRING=no
2240 DEFAULT_wxUSE_CMDLINE_PARSER=no
2241 DEFAULT_wxUSE_DATETIME=no
2242 DEFAULT_wxUSE_TIMER=no
2243 DEFAULT_wxUSE_STOPWATCH=no
2244 DEFAULT_wxUSE_FILE=no
2245 DEFAULT_wxUSE_FFILE=no
2246 DEFAULT_wxUSE_STDPATHS=no
2247 DEFAULT_wxUSE_TEXTBUFFER=no
2248 DEFAULT_wxUSE_TEXTFILE=no
2249 DEFAULT_wxUSE_SOUND=no
2250 DEFAULT_wxUSE_MEDIACTRL=no
2251 DEFAULT_wxUSE_GSTREAMER8=no
2252 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2253 DEFAULT_wxUSE_INTL=no
2254 DEFAULT_wxUSE_CONFIG=no
2255 DEFAULT_wxUSE_FONTMAP=no
2256 DEFAULT_wxUSE_STREAMS=no
2257 DEFAULT_wxUSE_SOCKETS=no
2258 DEFAULT_wxUSE_OLE=no
2259 DEFAULT_wxUSE_DATAOBJ=no
2260 DEFAULT_wxUSE_DIALUP_MANAGER=no
2261 DEFAULT_wxUSE_JOYSTICK=no
2262 DEFAULT_wxUSE_DYNLIB_CLASS=no
2263 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2264 DEFAULT_wxUSE_LONGLONG=no
2265 DEFAULT_wxUSE_GEOMETRY=no
2267 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2268 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2269 DEFAULT_wxUSE_POSTSCRIPT=no
2271 DEFAULT_wxUSE_CLIPBOARD=no
2272 DEFAULT_wxUSE_TOOLTIPS=no
2273 DEFAULT_wxUSE_DRAG_AND_DROP=no
2274 DEFAULT_wxUSE_DRAGIMAGE=no
2275 DEFAULT_wxUSE_SPLINES=no
2276 DEFAULT_wxUSE_MOUSEWHEEL=no
2278 DEFAULT_wxUSE_MDI=no
2279 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2280 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2281 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2283 DEFAULT_wxUSE_RESOURCES=no
2284 DEFAULT_wxUSE_CONSTRAINTS=no
2285 DEFAULT_wxUSE_IPC=no
2286 DEFAULT_wxUSE_HELP=no
2287 DEFAULT_wxUSE_MS_HTML_HELP=no
2288 DEFAULT_wxUSE_WXHTML_HELP=no
2289 DEFAULT_wxUSE_TREELAYOUT=no
2290 DEFAULT_wxUSE_METAFILE=no
2291 DEFAULT_wxUSE_MIMETYPE=no
2292 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2293 DEFAULT_wxUSE_PROTOCOL=no
2294 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2295 DEFAULT_wxUSE_PROTOCOL_FTP=no
2296 DEFAULT_wxUSE_PROTOCOL_FILE=no
2297 DEFAULT_wxUSE_URL=no
2298 DEFAULT_wxUSE_VARIANT=no
2300 DEFAULT_wxUSE_ABOUTDLG=no
2301 DEFAULT_wxUSE_COMMONDLGS=no
2302 DEFAULT_wxUSE_CHOICEDLG=no
2303 DEFAULT_wxUSE_COLOURDLG=no
2304 DEFAULT_wxUSE_DIRDLG=no
2305 DEFAULT_wxUSE_FILEDLG=no
2306 DEFAULT_wxUSE_FINDREPLDLG=no
2307 DEFAULT_wxUSE_FONTDLG=no
2308 DEFAULT_wxUSE_MSGDLG=no
2309 DEFAULT_wxUSE_NUMBERDLG=no
2310 DEFAULT_wxUSE_TEXTDLG=no
2311 DEFAULT_wxUSE_SPLASH=no
2312 DEFAULT_wxUSE_STARTUP_TIPS=no
2313 DEFAULT_wxUSE_PROGRESSDLG=no
2314 DEFAULT_wxUSE_WIZARDDLG=no
2316 DEFAULT_wxUSE_MENUS=no
2317 DEFAULT_wxUSE_MINIFRAME=no
2318 DEFAULT_wxUSE_HTML=no
2319 DEFAULT_wxUSE_RICHTEXT=no
2320 DEFAULT_wxUSE_XRC=no
2321 DEFAULT_wxUSE_AUI=no
2322 DEFAULT_wxUSE_WEBKIT=no
2323 DEFAULT_wxUSE_FILESYSTEM=no
2324 DEFAULT_wxUSE_FS_INET=no
2325 DEFAULT_wxUSE_FS_ZIP=no
2326 DEFAULT_wxUSE_FS_ARCHIVE=no
2327 DEFAULT_wxUSE_BUSYINFO=no
2328 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2329 DEFAULT_wxUSE_ZIPSTREAM=no
2330 DEFAULT_wxUSE_TARSTREAM=no
2331 DEFAULT_wxUSE_VALIDATORS=no
2333 DEFAULT_wxUSE_ACCEL=no
2334 DEFAULT_wxUSE_ANIMATIONCTRL=no
2335 DEFAULT_wxUSE_BUTTON=no
2336 DEFAULT_wxUSE_BMPBUTTON=no
2337 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2338 DEFAULT_wxUSE_CALCTRL=no
2339 DEFAULT_wxUSE_CARET=no
2340 DEFAULT_wxUSE_CHECKBOX=no
2341 DEFAULT_wxUSE_CHECKLST=no
2342 DEFAULT_wxUSE_CHOICE=no
2343 DEFAULT_wxUSE_CHOICEBOOK=no
2344 DEFAULT_wxUSE_COLLPANE=no
2345 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2346 DEFAULT_wxUSE_COMBOBOX=no
2347 DEFAULT_wxUSE_COMBOCTRL=no
2348 DEFAULT_wxUSE_DATEPICKCTRL=no
2349 DEFAULT_wxUSE_DISPLAY=no
2350 DEFAULT_wxUSE_DETECT_SM=no
2351 DEFAULT_wxUSE_DIRPICKERCTRL=no
2352 DEFAULT_wxUSE_FILEPICKERCTRL=no
2353 DEFAULT_wxUSE_FONTPICKERCTRL=no
2354 DEFAULT_wxUSE_GAUGE=no
2355 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2356 DEFAULT_wxUSE_GRID=no
2357 DEFAULT_wxUSE_HYPERLINKCTRL=no
2358 DEFAULT_wxUSE_DATAVIEWCTRL=no
2359 DEFAULT_wxUSE_IMAGLIST=no
2360 DEFAULT_wxUSE_LISTBOOK=no
2361 DEFAULT_wxUSE_LISTBOX=no
2362 DEFAULT_wxUSE_LISTCTRL=no
2363 DEFAULT_wxUSE_NOTEBOOK=no
2364 DEFAULT_wxUSE_ODCOMBOBOX=no
2365 DEFAULT_wxUSE_RADIOBOX=no
2366 DEFAULT_wxUSE_RADIOBTN=no
2367 DEFAULT_wxUSE_SASH=no
2368 DEFAULT_wxUSE_SCROLLBAR=no
2369 DEFAULT_wxUSE_SEARCHCTRL=no
2370 DEFAULT_wxUSE_SLIDER=no
2371 DEFAULT_wxUSE_SPINBTN=no
2372 DEFAULT_wxUSE_SPINCTRL=no
2373 DEFAULT_wxUSE_SPLITTER=no
2374 DEFAULT_wxUSE_STATBMP=no
2375 DEFAULT_wxUSE_STATBOX=no
2376 DEFAULT_wxUSE_STATLINE=no
2377 DEFAULT_wxUSE_STATTEXT=no
2378 DEFAULT_wxUSE_STATUSBAR=yes
2379 DEFAULT_wxUSE_TAB_DIALOG=no
2380 DEFAULT_wxUSE_TEXTCTRL=no
2381 DEFAULT_wxUSE_TOGGLEBTN=no
2382 DEFAULT_wxUSE_TOOLBAR=no
2383 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2384 DEFAULT_wxUSE_TREEBOOK=no
2385 DEFAULT_wxUSE_TOOLBOOK=no
2386 DEFAULT_wxUSE_TREECTRL=no
2387 DEFAULT_wxUSE_POPUPWIN=no
2388 DEFAULT_wxUSE_TIPWINDOW=no
2390 DEFAULT_wxUSE_UNICODE=no
2391 DEFAULT_wxUSE_UNICODE_MSLU=no
2392 DEFAULT_wxUSE_WCSRTOMBS=no
2394 DEFAULT_wxUSE_PALETTE=no
2395 DEFAULT_wxUSE_IMAGE=no
2396 DEFAULT_wxUSE_GIF=no
2397 DEFAULT_wxUSE_PCX=no
2398 DEFAULT_wxUSE_TGA=no
2399 DEFAULT_wxUSE_PNM=no
2400 DEFAULT_wxUSE_IFF=no
2401 DEFAULT_wxUSE_XPM=no
2402 DEFAULT_wxUSE_ICO_CUR=no
2403 DEFAULT_wxUSE_ACCESSIBILITY=no
2405 DEFAULT_wxUSE_MONOLITHIC=no
2406 DEFAULT_wxUSE_PLUGINS=no
2407 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2409 DEFAULT_wxUSE_UNIVERSAL=no
2410 DEFAULT_wxUSE_STL=no
2412 DEFAULT_wxUSE_NANOX=no
2414 DEFAULT_wxUSE_THREADS=yes
2416 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2417 DEFAULT_wxUSE_OPTIMISE=yes
2418 DEFAULT_wxUSE_PROFILE=no
2419 DEFAULT_wxUSE_NO_DEPS=no
2420 DEFAULT_wxUSE_VARARG_MACROS=yes
2421 DEFAULT_wxUSE_NO_RTTI=no
2422 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2423 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2424 DEFAULT_wxUSE_RPATH=yes
2425 DEFAULT_wxUSE_PERMISSIVE=no
2426 DEFAULT_wxUSE_DEBUG_FLAG=no
2427 DEFAULT_wxUSE_DEBUG_INFO=no
2428 DEFAULT_wxUSE_DEBUG_GDB=no
2429 DEFAULT_wxUSE_MEM_TRACING=no
2430 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2431 DEFAULT_wxUSE_DMALLOC=no
2432 DEFAULT_wxUSE_APPLE_IEEE=yes
2434 DEFAULT_wxUSE_EXCEPTIONS=yes
2435 DEFAULT_wxUSE_LOG=yes
2436 DEFAULT_wxUSE_LOGWINDOW=yes
2437 DEFAULT_wxUSE_LOGGUI=yes
2438 DEFAULT_wxUSE_LOGDIALOG=yes
2440 DEFAULT_wxUSE_GUI=yes
2442 DEFAULT_wxUSE_REGEX=yes
2443 DEFAULT_wxUSE_XML=yes
2444 DEFAULT_wxUSE_EXPAT=yes
2445 DEFAULT_wxUSE_ZLIB=yes
2446 DEFAULT_wxUSE_LIBPNG=yes
2447 DEFAULT_wxUSE_LIBJPEG=yes
2448 DEFAULT_wxUSE_LIBTIFF=yes
2449 DEFAULT_wxUSE_LIBXPM=yes
2450 DEFAULT_wxUSE_LIBMSPACK=yes
2451 DEFAULT_wxUSE_LIBSDL=no
2452 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
2453 DEFAULT_wxUSE_LIBGNOMEVFS=no
2454 DEFAULT_wxUSE_LIBHILDON=no
2455 DEFAULT_wxUSE_ODBC=no
2456 DEFAULT_wxUSE_OPENGL=no
2458 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2459 DEFAULT_wxUSE_STACKWALKER=yes
2460 DEFAULT_wxUSE_DEBUGREPORT=yes
2461 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2462 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2463 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2464 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2465 DEFAULT_wxUSE_DATETIME=yes
2466 DEFAULT_wxUSE_TIMER=yes
2467 DEFAULT_wxUSE_STOPWATCH=yes
2468 DEFAULT_wxUSE_FILE=yes
2469 DEFAULT_wxUSE_FFILE=yes
2470 DEFAULT_wxUSE_STDPATHS=yes
2471 DEFAULT_wxUSE_TEXTBUFFER=yes
2472 DEFAULT_wxUSE_TEXTFILE=yes
2473 DEFAULT_wxUSE_SOUND=yes
2474 DEFAULT_wxUSE_MEDIACTRL=no
2475 DEFAULT_wxUSE_GSTREAMER8=no
2476 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2477 DEFAULT_wxUSE_INTL=yes
2478 DEFAULT_wxUSE_CONFIG=yes
2479 DEFAULT_wxUSE_FONTMAP=yes
2480 DEFAULT_wxUSE_STREAMS=yes
2481 DEFAULT_wxUSE_SOCKETS=yes
2482 DEFAULT_wxUSE_OLE=yes
2483 DEFAULT_wxUSE_DATAOBJ=yes
2484 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2485 DEFAULT_wxUSE_JOYSTICK=yes
2486 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2487 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2488 DEFAULT_wxUSE_LONGLONG=yes
2489 DEFAULT_wxUSE_GEOMETRY=yes
2491 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2492 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2493 DEFAULT_wxUSE_POSTSCRIPT=yes
2495 DEFAULT_wxUSE_CLIPBOARD=yes
2496 DEFAULT_wxUSE_TOOLTIPS=yes
2497 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2498 DEFAULT_wxUSE_DRAGIMAGE=yes
2499 DEFAULT_wxUSE_SPLINES=yes
2500 DEFAULT_wxUSE_MOUSEWHEEL=yes
2502 DEFAULT_wxUSE_MDI=yes
2503 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2504 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2505 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2507 DEFAULT_wxUSE_RESOURCES=no
2508 DEFAULT_wxUSE_CONSTRAINTS=yes
2509 DEFAULT_wxUSE_IPC=yes
2510 DEFAULT_wxUSE_HELP=yes
2511 DEFAULT_wxUSE_MS_HTML_HELP=yes
2512 DEFAULT_wxUSE_WXHTML_HELP=yes
2513 DEFAULT_wxUSE_TREELAYOUT=yes
2514 DEFAULT_wxUSE_METAFILE=yes
2515 DEFAULT_wxUSE_MIMETYPE=yes
2516 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2517 DEFAULT_wxUSE_PROTOCOL=yes
2518 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2519 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2520 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2521 DEFAULT_wxUSE_URL=yes
2522 DEFAULT_wxUSE_VARIANT=yes
2524 DEFAULT_wxUSE_ABOUTDLG=yes
2525 DEFAULT_wxUSE_COMMONDLGS=yes
2526 DEFAULT_wxUSE_CHOICEDLG=yes
2527 DEFAULT_wxUSE_COLOURDLG=yes
2528 DEFAULT_wxUSE_DIRDLG=yes
2529 DEFAULT_wxUSE_FILEDLG=yes
2530 DEFAULT_wxUSE_FINDREPLDLG=yes
2531 DEFAULT_wxUSE_FONTDLG=yes
2532 DEFAULT_wxUSE_MSGDLG=yes
2533 DEFAULT_wxUSE_NUMBERDLG=yes
2534 DEFAULT_wxUSE_TEXTDLG=yes
2535 DEFAULT_wxUSE_SPLASH=yes
2536 DEFAULT_wxUSE_STARTUP_TIPS=yes
2537 DEFAULT_wxUSE_PROGRESSDLG=yes
2538 DEFAULT_wxUSE_WIZARDDLG=yes
2540 DEFAULT_wxUSE_MENUS=yes
2541 DEFAULT_wxUSE_MINIFRAME=yes
2542 DEFAULT_wxUSE_HTML=yes
2543 DEFAULT_wxUSE_RICHTEXT=yes
2544 DEFAULT_wxUSE_XRC=yes
2545 DEFAULT_wxUSE_AUI=yes
2546 DEFAULT_wxUSE_WEBKIT=yes
2547 DEFAULT_wxUSE_FILESYSTEM=yes
2548 DEFAULT_wxUSE_FS_INET=yes
2549 DEFAULT_wxUSE_FS_ZIP=yes
2550 DEFAULT_wxUSE_FS_ARCHIVE=yes
2551 DEFAULT_wxUSE_BUSYINFO=yes
2552 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2553 DEFAULT_wxUSE_ZIPSTREAM=yes
2554 DEFAULT_wxUSE_TARSTREAM=yes
2555 DEFAULT_wxUSE_VALIDATORS=yes
2557 DEFAULT_wxUSE_ACCEL=yes
2558 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2559 DEFAULT_wxUSE_BUTTON=yes
2560 DEFAULT_wxUSE_BMPBUTTON=yes
2561 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2562 DEFAULT_wxUSE_CALCTRL=yes
2563 DEFAULT_wxUSE_CARET=yes
2564 DEFAULT_wxUSE_CHECKBOX=yes
2565 DEFAULT_wxUSE_CHECKLST=yes
2566 DEFAULT_wxUSE_CHOICE=yes
2567 DEFAULT_wxUSE_CHOICEBOOK=yes
2568 DEFAULT_wxUSE_COLLPANE=yes
2569 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2570 DEFAULT_wxUSE_COMBOBOX=yes
2571 DEFAULT_wxUSE_COMBOCTRL=yes
2572 DEFAULT_wxUSE_DATEPICKCTRL=yes
2573 DEFAULT_wxUSE_DISPLAY=yes
2574 DEFAULT_wxUSE_DETECT_SM=yes
2575 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2576 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2577 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2578 DEFAULT_wxUSE_GAUGE=yes
2579 DEFAULT_wxUSE_GRID=yes
2580 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2581 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2582 DEFAULT_wxUSE_DATAVIEWCTRL=no
2583 DEFAULT_wxUSE_IMAGLIST=yes
2584 DEFAULT_wxUSE_LISTBOOK=yes
2585 DEFAULT_wxUSE_LISTBOX=yes
2586 DEFAULT_wxUSE_LISTCTRL=yes
2587 DEFAULT_wxUSE_NOTEBOOK=yes
2588 DEFAULT_wxUSE_ODCOMBOBOX=yes
2589 DEFAULT_wxUSE_RADIOBOX=yes
2590 DEFAULT_wxUSE_RADIOBTN=yes
2591 DEFAULT_wxUSE_SASH=yes
2592 DEFAULT_wxUSE_SCROLLBAR=yes
2593 DEFAULT_wxUSE_SEARCHCTRL=yes
2594 DEFAULT_wxUSE_SLIDER=yes
2595 DEFAULT_wxUSE_SPINBTN=yes
2596 DEFAULT_wxUSE_SPINCTRL=yes
2597 DEFAULT_wxUSE_SPLITTER=yes
2598 DEFAULT_wxUSE_STATBMP=yes
2599 DEFAULT_wxUSE_STATBOX=yes
2600 DEFAULT_wxUSE_STATLINE=yes
2601 DEFAULT_wxUSE_STATTEXT=yes
2602 DEFAULT_wxUSE_STATUSBAR=yes
2603 DEFAULT_wxUSE_TAB_DIALOG=no
2604 DEFAULT_wxUSE_TEXTCTRL=yes
2605 DEFAULT_wxUSE_TOGGLEBTN=yes
2606 DEFAULT_wxUSE_TOOLBAR=yes
2607 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2608 DEFAULT_wxUSE_TREEBOOK=yes
2609 DEFAULT_wxUSE_TOOLBOOK=yes
2610 DEFAULT_wxUSE_TREECTRL=yes
2611 DEFAULT_wxUSE_POPUPWIN=yes
2612 DEFAULT_wxUSE_TIPWINDOW=yes
2614 DEFAULT_wxUSE_UNICODE=no
2615 DEFAULT_wxUSE_UNICODE_MSLU=yes
2616 DEFAULT_wxUSE_WCSRTOMBS=no
2618 DEFAULT_wxUSE_PALETTE=yes
2619 DEFAULT_wxUSE_IMAGE=yes
2620 DEFAULT_wxUSE_GIF=yes
2621 DEFAULT_wxUSE_PCX=yes
2622 DEFAULT_wxUSE_TGA=yes
2623 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2624 DEFAULT_wxUSE_XPM=yes
2625 DEFAULT_wxUSE_ICO_CUR=yes
2626 DEFAULT_wxUSE_ACCESSIBILITY=no
2628 DEFAULT_wxUSE_MONOLITHIC=no
2629 DEFAULT_wxUSE_PLUGINS=no
2630 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2632 DEFAULT_wxUSE_GTK2=yes
2638 for toolkit in `echo $ALL_TOOLKITS`; do
2639 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2640 if test "x$LINE" != "x" ; then
2641 has_toolkit_in_cache=1
2642 eval "DEFAULT_$LINE"
2643 eval "CACHE_$toolkit=1"
2645 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2646 if test "x$LINE" != "x" ; then
2647 eval "DEFAULT_$LINE"
2655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2656 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2658 # Check whether --enable-gui or --disable-gui was given.
2659 if test "${enable_gui+set}" = set; then
2660 enableval="$enable_gui"
2662 if test "$enableval" = yes; then
2663 ac_cv_use_gui='wxUSE_GUI
=yes'
2665 ac_cv_use_gui='wxUSE_GUI
=no
'
2670 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2671 if test "x$LINE" != x ; then
2672 eval "DEFAULT_$LINE"
2677 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2681 eval "$ac_cv_use_gui"
2682 if test "$no_cache" != 1; then
2683 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2686 if test "$wxUSE_GUI" = yes; then
2687 echo "$as_me:$LINENO: result: yes" >&5
2688 echo "${ECHO_T}yes" >&6
2690 echo "$as_me:$LINENO: result: no" >&5
2691 echo "${ECHO_T}no" >&6
2696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2697 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2699 # Check whether --enable-monolithic or --disable-monolithic was given.
2700 if test "${enable_monolithic+set}" = set; then
2701 enableval="$enable_monolithic"
2703 if test "$enableval" = yes; then
2704 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2706 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2711 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2712 if test "x$LINE" != x ; then
2713 eval "DEFAULT_$LINE"
2718 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2722 eval "$ac_cv_use_monolithic"
2723 if test "$no_cache" != 1; then
2724 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2727 if test "$wxUSE_MONOLITHIC" = yes; then
2728 echo "$as_me:$LINENO: result: yes" >&5
2729 echo "${ECHO_T}yes" >&6
2731 echo "$as_me:$LINENO: result: no" >&5
2732 echo "${ECHO_T}no" >&6
2737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2738 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2740 # Check whether --enable-plugins or --disable-plugins was given.
2741 if test "${enable_plugins+set}" = set; then
2742 enableval="$enable_plugins"
2744 if test "$enableval" = yes; then
2745 ac_cv_use_plugins='wxUSE_PLUGINS
=yes'
2747 ac_cv_use_plugins='wxUSE_PLUGINS
=no
'
2752 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2753 if test "x$LINE" != x ; then
2754 eval "DEFAULT_$LINE"
2759 ac_cv_use_plugins='wxUSE_PLUGINS
='$DEFAULT_wxUSE_PLUGINS
2763 eval "$ac_cv_use_plugins"
2764 if test "$no_cache" != 1; then
2765 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2768 if test "$wxUSE_PLUGINS" = yes; then
2769 echo "$as_me:$LINENO: result: yes" >&5
2770 echo "${ECHO_T}yes" >&6
2772 echo "$as_me:$LINENO: result: no" >&5
2773 echo "${ECHO_T}no" >&6
2778 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2779 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2782 # Check whether --with-subdirs or --without-subdirs was given.
2783 if test "${with_subdirs+set}" = set; then
2784 withval="$with_subdirs"
2786 if test "$withval" = yes; then
2787 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2789 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2794 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2795 if test "x$LINE" != x ; then
2796 eval "DEFAULT_$LINE"
2801 ac_cv_use_subdirs='wxWITH_SUBDIRS
='$DEFAULT_wxWITH_SUBDIRS
2805 eval "$ac_cv_use_subdirs"
2806 if test "$no_cache" != 1; then
2807 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2810 if test "$wxWITH_SUBDIRS" = yes; then
2811 echo "$as_me:$LINENO: result: yes" >&5
2812 echo "${ECHO_T}yes" >&6
2814 echo "$as_me:$LINENO: result: no" >&5
2815 echo "${ECHO_T}no" >&6
2819 if test "$wxUSE_GUI" = "yes"; then
2823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2824 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2826 # Check whether --enable-universal or --disable-universal was given.
2827 if test "${enable_universal+set}" = set; then
2828 enableval="$enable_universal"
2830 if test "$enableval" = yes; then
2831 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2833 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2838 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2839 if test "x$LINE" != x ; then
2840 eval "DEFAULT_$LINE"
2845 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2849 eval "$ac_cv_use_universal"
2850 if test "$no_cache" != 1; then
2851 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2854 if test "$wxUSE_UNIVERSAL" = yes; then
2855 echo "$as_me:$LINENO: result: yes" >&5
2856 echo "${ECHO_T}yes" >&6
2858 echo "$as_me:$LINENO: result: no" >&5
2859 echo "${ECHO_T}no" >&6
2863 # Check whether --with-gtk or --without-gtk was given.
2864 if test "${with_gtk+set}" = set; then
2866 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2869 # Check whether --with-motif or --without-motif was given.
2870 if test "${with_motif+set}" = set; then
2871 withval="$with_motif"
2872 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2875 # Check whether --with-mac or --without-mac was given.
2876 if test "${with_mac+set}" = set; then
2878 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2881 # Check whether --with-cocoa or --without-cocoa was given.
2882 if test "${with_cocoa+set}" = set; then
2883 withval="$with_cocoa"
2884 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2887 # Check whether --with-wine or --without-wine was given.
2888 if test "${with_wine+set}" = set; then
2889 withval="$with_wine"
2890 wxUSE_WINE="$withval" CACHE_WINE=1
2893 # Check whether --with-msw or --without-msw was given.
2894 if test "${with_msw+set}" = set; then
2896 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2899 # Check whether --with-pm or --without-pm was given.
2900 if test "${with_pm+set}" = set; then
2902 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2905 # Check whether --with-mgl or --without-mgl was given.
2906 if test "${with_mgl+set}" = set; then
2908 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2911 # Check whether --with-directfb or --without-directfb was given.
2912 if test "${with_directfb+set}" = set; then
2913 withval="$with_directfb"
2914 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2917 # Check whether --with-microwin or --without-microwin was given.
2918 if test "${with_microwin+set}" = set; then
2919 withval="$with_microwin"
2920 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2923 # Check whether --with-x11 or --without-x11 was given.
2924 if test "${with_x11+set}" = set; then
2926 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2931 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2933 # Check whether --enable-nanox or --disable-nanox was given.
2934 if test "${enable_nanox+set}" = set; then
2935 enableval="$enable_nanox"
2937 if test "$enableval" = yes; then
2938 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2940 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2945 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2946 if test "x$LINE" != x ; then
2947 eval "DEFAULT_$LINE"
2952 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2956 eval "$ac_cv_use_nanox"
2957 if test "$no_cache" != 1; then
2958 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2961 if test "$wxUSE_NANOX" = yes; then
2962 echo "$as_me:$LINENO: result: yes" >&5
2963 echo "${ECHO_T}yes" >&6
2965 echo "$as_me:$LINENO: result: no" >&5
2966 echo "${ECHO_T}no" >&6
2970 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2971 if test "${enable_gtk2+set}" = set; then
2972 enableval="$enable_gtk2"
2973 wxUSE_GTK2="$enableval"
2977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2978 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2980 # Check whether --enable-gpe or --disable-gpe was given.
2981 if test "${enable_gpe+set}" = set; then
2982 enableval="$enable_gpe"
2984 if test "$enableval" = yes; then
2985 ac_cv_use_gpe='wxUSE_GPE
=yes'
2987 ac_cv_use_gpe='wxUSE_GPE
=no
'
2992 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2993 if test "x$LINE" != x ; then
2994 eval "DEFAULT_$LINE"
2999 ac_cv_use_gpe='wxUSE_GPE
='$DEFAULT_wxUSE_GPE
3003 eval "$ac_cv_use_gpe"
3004 if test "$no_cache" != 1; then
3005 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3008 if test "$wxUSE_GPE" = yes; then
3009 echo "$as_me:$LINENO: result: yes" >&5
3010 echo "${ECHO_T}yes" >&6
3012 echo "$as_me:$LINENO: result: no" >&5
3013 echo "${ECHO_T}no" >&6
3018 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3019 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3022 # Check whether --with-libpng or --without-libpng was given.
3023 if test "${with_libpng+set}" = set; then
3024 withval="$with_libpng"
3026 if test "$withval" = yes; then
3027 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
3028 elif test "$withval" = no; then
3029 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
3030 elif test "$withval" = sys; then
3031 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
3032 elif test "$withval" = builtin; then
3033 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
3035 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3036 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3037 { (exit 1); exit 1; }; }
3042 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3043 if test "x$LINE" != x ; then
3044 eval "DEFAULT_$LINE"
3049 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
3053 eval "$ac_cv_use_libpng"
3054 if test "$no_cache" != 1; then
3055 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3058 if test "$wxUSE_LIBPNG" = yes; then
3059 echo "$as_me:$LINENO: result: yes" >&5
3060 echo "${ECHO_T}yes" >&6
3061 elif test "$wxUSE_LIBPNG" = no; then
3062 echo "$as_me:$LINENO: result: no" >&5
3063 echo "${ECHO_T}no" >&6
3064 elif test "$wxUSE_LIBPNG" = sys; then
3065 echo "$as_me:$LINENO: result: system version" >&5
3066 echo "${ECHO_T}system version" >&6
3067 elif test "$wxUSE_LIBPNG" = builtin; then
3068 echo "$as_me:$LINENO: result: builtin version" >&5
3069 echo "${ECHO_T}builtin version" >&6
3071 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3072 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3073 { (exit 1); exit 1; }; }
3077 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3078 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3081 # Check whether --with-libjpeg or --without-libjpeg was given.
3082 if test "${with_libjpeg+set}" = set; then
3083 withval="$with_libjpeg"
3085 if test "$withval" = yes; then
3086 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3087 elif test "$withval" = no; then
3088 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3089 elif test "$withval" = sys; then
3090 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3091 elif test "$withval" = builtin; then
3092 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3094 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3095 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3096 { (exit 1); exit 1; }; }
3101 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3102 if test "x$LINE" != x ; then
3103 eval "DEFAULT_$LINE"
3108 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
3112 eval "$ac_cv_use_libjpeg"
3113 if test "$no_cache" != 1; then
3114 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3117 if test "$wxUSE_LIBJPEG" = yes; then
3118 echo "$as_me:$LINENO: result: yes" >&5
3119 echo "${ECHO_T}yes" >&6
3120 elif test "$wxUSE_LIBJPEG" = no; then
3121 echo "$as_me:$LINENO: result: no" >&5
3122 echo "${ECHO_T}no" >&6
3123 elif test "$wxUSE_LIBJPEG" = sys; then
3124 echo "$as_me:$LINENO: result: system version" >&5
3125 echo "${ECHO_T}system version" >&6
3126 elif test "$wxUSE_LIBJPEG" = builtin; then
3127 echo "$as_me:$LINENO: result: builtin version" >&5
3128 echo "${ECHO_T}builtin version" >&6
3130 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3131 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3132 { (exit 1); exit 1; }; }
3136 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3137 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3140 # Check whether --with-libtiff or --without-libtiff was given.
3141 if test "${with_libtiff+set}" = set; then
3142 withval="$with_libtiff"
3144 if test "$withval" = yes; then
3145 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
3146 elif test "$withval" = no; then
3147 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
3148 elif test "$withval" = sys; then
3149 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
3150 elif test "$withval" = builtin; then
3151 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
3153 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3154 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3155 { (exit 1); exit 1; }; }
3160 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3161 if test "x$LINE" != x ; then
3162 eval "DEFAULT_$LINE"
3167 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
3171 eval "$ac_cv_use_libtiff"
3172 if test "$no_cache" != 1; then
3173 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3176 if test "$wxUSE_LIBTIFF" = yes; then
3177 echo "$as_me:$LINENO: result: yes" >&5
3178 echo "${ECHO_T}yes" >&6
3179 elif test "$wxUSE_LIBTIFF" = no; then
3180 echo "$as_me:$LINENO: result: no" >&5
3181 echo "${ECHO_T}no" >&6
3182 elif test "$wxUSE_LIBTIFF" = sys; then
3183 echo "$as_me:$LINENO: result: system version" >&5
3184 echo "${ECHO_T}system version" >&6
3185 elif test "$wxUSE_LIBTIFF" = builtin; then
3186 echo "$as_me:$LINENO: result: builtin version" >&5
3187 echo "${ECHO_T}builtin version" >&6
3189 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3190 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3191 { (exit 1); exit 1; }; }
3195 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3196 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3199 # Check whether --with-libxpm or --without-libxpm was given.
3200 if test "${with_libxpm+set}" = set; then
3201 withval="$with_libxpm"
3203 if test "$withval" = yes; then
3204 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
3205 elif test "$withval" = no; then
3206 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
3207 elif test "$withval" = sys; then
3208 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
3209 elif test "$withval" = builtin; then
3210 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
3212 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3213 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3214 { (exit 1); exit 1; }; }
3219 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3220 if test "x$LINE" != x ; then
3221 eval "DEFAULT_$LINE"
3226 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
3230 eval "$ac_cv_use_libxpm"
3231 if test "$no_cache" != 1; then
3232 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3235 if test "$wxUSE_LIBXPM" = yes; then
3236 echo "$as_me:$LINENO: result: yes" >&5
3237 echo "${ECHO_T}yes" >&6
3238 elif test "$wxUSE_LIBXPM" = no; then
3239 echo "$as_me:$LINENO: result: no" >&5
3240 echo "${ECHO_T}no" >&6
3241 elif test "$wxUSE_LIBXPM" = sys; then
3242 echo "$as_me:$LINENO: result: system version" >&5
3243 echo "${ECHO_T}system version" >&6
3244 elif test "$wxUSE_LIBXPM" = builtin; then
3245 echo "$as_me:$LINENO: result: builtin version" >&5
3246 echo "${ECHO_T}builtin version" >&6
3248 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3249 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3250 { (exit 1); exit 1; }; }
3255 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3256 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3259 # Check whether --with-libmspack or --without-libmspack was given.
3260 if test "${with_libmspack+set}" = set; then
3261 withval="$with_libmspack"
3263 if test "$withval" = yes; then
3264 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3266 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3271 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3272 if test "x$LINE" != x ; then
3273 eval "DEFAULT_$LINE"
3278 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
3282 eval "$ac_cv_use_libmspack"
3283 if test "$no_cache" != 1; then
3284 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3287 if test "$wxUSE_LIBMSPACK" = yes; then
3288 echo "$as_me:$LINENO: result: yes" >&5
3289 echo "${ECHO_T}yes" >&6
3291 echo "$as_me:$LINENO: result: no" >&5
3292 echo "${ECHO_T}no" >&6
3297 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3298 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3301 # Check whether --with-sdl or --without-sdl was given.
3302 if test "${with_sdl+set}" = set; then
3305 if test "$withval" = yes; then
3306 ac_cv_use_sdl='wxUSE_LIBSDL
=yes'
3308 ac_cv_use_sdl='wxUSE_LIBSDL
=no
'
3313 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3314 if test "x$LINE" != x ; then
3315 eval "DEFAULT_$LINE"
3320 ac_cv_use_sdl='wxUSE_LIBSDL
='$DEFAULT_wxUSE_LIBSDL
3324 eval "$ac_cv_use_sdl"
3325 if test "$no_cache" != 1; then
3326 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3329 if test "$wxUSE_LIBSDL" = yes; then
3330 echo "$as_me:$LINENO: result: yes" >&5
3331 echo "${ECHO_T}yes" >&6
3333 echo "$as_me:$LINENO: result: no" >&5
3334 echo "${ECHO_T}no" >&6
3339 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3340 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3343 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3344 if test "${with_gnomeprint+set}" = set; then
3345 withval="$with_gnomeprint"
3347 if test "$withval" = yes; then
3348 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3350 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3355 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3356 if test "x$LINE" != x ; then
3357 eval "DEFAULT_$LINE"
3362 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
='$DEFAULT_wxUSE_LIBGNOMEPRINT
3366 eval "$ac_cv_use_gnomeprint"
3367 if test "$no_cache" != 1; then
3368 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3371 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3372 echo "$as_me:$LINENO: result: yes" >&5
3373 echo "${ECHO_T}yes" >&6
3375 echo "$as_me:$LINENO: result: no" >&5
3376 echo "${ECHO_T}no" >&6
3381 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3382 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3385 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3386 if test "${with_gnomevfs+set}" = set; then
3387 withval="$with_gnomevfs"
3389 if test "$withval" = yes; then
3390 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
3392 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
3397 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3398 if test "x$LINE" != x ; then
3399 eval "DEFAULT_$LINE"
3404 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
='$DEFAULT_wxUSE_LIBGNOMEVFS
3408 eval "$ac_cv_use_gnomevfs"
3409 if test "$no_cache" != 1; then
3410 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3413 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3414 echo "$as_me:$LINENO: result: yes" >&5
3415 echo "${ECHO_T}yes" >&6
3417 echo "$as_me:$LINENO: result: no" >&5
3418 echo "${ECHO_T}no" >&6
3423 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3424 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3427 # Check whether --with-hildon or --without-hildon was given.
3428 if test "${with_hildon+set}" = set; then
3429 withval="$with_hildon"
3431 if test "$withval" = yes; then
3432 ac_cv_use_hildon='wxUSE_LIBHILDON
=yes'
3434 ac_cv_use_hildon='wxUSE_LIBHILDON
=no
'
3439 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3440 if test "x$LINE" != x ; then
3441 eval "DEFAULT_$LINE"
3446 ac_cv_use_hildon='wxUSE_LIBHILDON
='$DEFAULT_wxUSE_LIBHILDON
3450 eval "$ac_cv_use_hildon"
3451 if test "$no_cache" != 1; then
3452 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3455 if test "$wxUSE_LIBHILDON" = yes; then
3456 echo "$as_me:$LINENO: result: yes" >&5
3457 echo "${ECHO_T}yes" >&6
3459 echo "$as_me:$LINENO: result: no" >&5
3460 echo "${ECHO_T}no" >&6
3465 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3466 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3469 # Check whether --with-opengl or --without-opengl was given.
3470 if test "${with_opengl+set}" = set; then
3471 withval="$with_opengl"
3473 if test "$withval" = yes; then
3474 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3476 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3481 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x ; then
3483 eval "DEFAULT_$LINE"
3488 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
3492 eval "$ac_cv_use_opengl"
3493 if test "$no_cache" != 1; then
3494 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3497 if test "$wxUSE_OPENGL" = yes; then
3498 echo "$as_me:$LINENO: result: yes" >&5
3499 echo "${ECHO_T}yes" >&6
3501 echo "$as_me:$LINENO: result: no" >&5
3502 echo "${ECHO_T}no" >&6
3506 if test "$wxUSE_UNIVERSAL" = "yes"; then
3508 # Check whether --with-themes or --without-themes was given.
3509 if test "${with_themes+set}" = set; then
3510 withval="$with_themes"
3511 wxUNIV_THEMES="$withval"
3519 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3520 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3523 # Check whether --with-dmalloc or --without-dmalloc was given.
3524 if test "${with_dmalloc+set}" = set; then
3525 withval="$with_dmalloc"
3527 if test "$withval" = yes; then
3528 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3530 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3535 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3536 if test "x$LINE" != x ; then
3537 eval "DEFAULT_$LINE"
3542 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
3546 eval "$ac_cv_use_dmalloc"
3547 if test "$no_cache" != 1; then
3548 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3551 if test "$wxUSE_DMALLOC" = yes; then
3552 echo "$as_me:$LINENO: result: yes" >&5
3553 echo "${ECHO_T}yes" >&6
3555 echo "$as_me:$LINENO: result: no" >&5
3556 echo "${ECHO_T}no" >&6
3560 echo "$as_me:$LINENO: checking for --with-regex" >&5
3561 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3564 # Check whether --with-regex or --without-regex was given.
3565 if test "${with_regex+set}" = set; then
3566 withval="$with_regex"
3568 if test "$withval" = yes; then
3569 ac_cv_use_regex='wxUSE_REGEX
=yes'
3570 elif test "$withval" = no; then
3571 ac_cv_use_regex='wxUSE_REGEX
=no
'
3572 elif test "$withval" = sys; then
3573 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3574 elif test "$withval" = builtin; then
3575 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3577 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3578 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3579 { (exit 1); exit 1; }; }
3584 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3585 if test "x$LINE" != x ; then
3586 eval "DEFAULT_$LINE"
3591 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3595 eval "$ac_cv_use_regex"
3596 if test "$no_cache" != 1; then
3597 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3600 if test "$wxUSE_REGEX" = yes; then
3601 echo "$as_me:$LINENO: result: yes" >&5
3602 echo "${ECHO_T}yes" >&6
3603 elif test "$wxUSE_REGEX" = no; then
3604 echo "$as_me:$LINENO: result: no" >&5
3605 echo "${ECHO_T}no" >&6
3606 elif test "$wxUSE_REGEX" = sys; then
3607 echo "$as_me:$LINENO: result: system version" >&5
3608 echo "${ECHO_T}system version" >&6
3609 elif test "$wxUSE_REGEX" = builtin; then
3610 echo "$as_me:$LINENO: result: builtin version" >&5
3611 echo "${ECHO_T}builtin version" >&6
3613 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3614 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3615 { (exit 1); exit 1; }; }
3619 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3620 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3623 # Check whether --with-zlib or --without-zlib was given.
3624 if test "${with_zlib+set}" = set; then
3625 withval="$with_zlib"
3627 if test "$withval" = yes; then
3628 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3629 elif test "$withval" = no; then
3630 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3631 elif test "$withval" = sys; then
3632 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3633 elif test "$withval" = builtin; then
3634 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3643 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x ; then
3645 eval "DEFAULT_$LINE"
3650 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3654 eval "$ac_cv_use_zlib"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3659 if test "$wxUSE_ZLIB" = yes; then
3660 echo "$as_me:$LINENO: result: yes" >&5
3661 echo "${ECHO_T}yes" >&6
3662 elif test "$wxUSE_ZLIB" = no; then
3663 echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6
3665 elif test "$wxUSE_ZLIB" = sys; then
3666 echo "$as_me:$LINENO: result: system version" >&5
3667 echo "${ECHO_T}system version" >&6
3668 elif test "$wxUSE_ZLIB" = builtin; then
3669 echo "$as_me:$LINENO: result: builtin version" >&5
3670 echo "${ECHO_T}builtin version" >&6
3672 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3673 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3674 { (exit 1); exit 1; }; }
3678 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3679 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3682 # Check whether --with-odbc or --without-odbc was given.
3683 if test "${with_odbc+set}" = set; then
3684 withval="$with_odbc"
3686 if test "$withval" = yes; then
3687 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3688 elif test "$withval" = no; then
3689 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3690 elif test "$withval" = sys; then
3691 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3692 elif test "$withval" = builtin; then
3693 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3702 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3703 if test "x$LINE" != x ; then
3704 eval "DEFAULT_$LINE"
3709 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3713 eval "$ac_cv_use_odbc"
3714 if test "$no_cache" != 1; then
3715 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3718 if test "$wxUSE_ODBC" = yes; then
3719 echo "$as_me:$LINENO: result: yes" >&5
3720 echo "${ECHO_T}yes" >&6
3721 elif test "$wxUSE_ODBC" = no; then
3722 echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6
3724 elif test "$wxUSE_ODBC" = sys; then
3725 echo "$as_me:$LINENO: result: system version" >&5
3726 echo "${ECHO_T}system version" >&6
3727 elif test "$wxUSE_ODBC" = builtin; then
3728 echo "$as_me:$LINENO: result: builtin version" >&5
3729 echo "${ECHO_T}builtin version" >&6
3731 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3737 echo "$as_me:$LINENO: checking for --with-expat" >&5
3738 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3741 # Check whether --with-expat or --without-expat was given.
3742 if test "${with_expat+set}" = set; then
3743 withval="$with_expat"
3745 if test "$withval" = yes; then
3746 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3747 elif test "$withval" = no; then
3748 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3749 elif test "$withval" = sys; then
3750 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3751 elif test "$withval" = builtin; then
3752 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3754 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3755 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3756 { (exit 1); exit 1; }; }
3761 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x ; then
3763 eval "DEFAULT_$LINE"
3768 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3772 eval "$ac_cv_use_expat"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3777 if test "$wxUSE_EXPAT" = yes; then
3778 echo "$as_me:$LINENO: result: yes" >&5
3779 echo "${ECHO_T}yes" >&6
3780 elif test "$wxUSE_EXPAT" = no; then
3781 echo "$as_me:$LINENO: result: no" >&5
3782 echo "${ECHO_T}no" >&6
3783 elif test "$wxUSE_EXPAT" = sys; then
3784 echo "$as_me:$LINENO: result: system version" >&5
3785 echo "${ECHO_T}system version" >&6
3786 elif test "$wxUSE_EXPAT" = builtin; then
3787 echo "$as_me:$LINENO: result: builtin version" >&5
3788 echo "${ECHO_T}builtin version" >&6
3790 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3791 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3792 { (exit 1); exit 1; }; }
3799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3800 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3802 # Check whether --enable-shared or --disable-shared was given.
3803 if test "${enable_shared+set}" = set; then
3804 enableval="$enable_shared"
3806 if test "$enableval" = yes; then
3807 ac_cv_use_shared='wxUSE_SHARED
=yes'
3809 ac_cv_use_shared='wxUSE_SHARED
=no
'
3814 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3815 if test "x$LINE" != x ; then
3816 eval "DEFAULT_$LINE"
3821 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3825 eval "$ac_cv_use_shared"
3826 if test "$no_cache" != 1; then
3827 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3830 if test "$wxUSE_SHARED" = yes; then
3831 echo "$as_me:$LINENO: result: yes" >&5
3832 echo "${ECHO_T}yes" >&6
3834 echo "$as_me:$LINENO: result: no" >&5
3835 echo "${ECHO_T}no" >&6
3840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3841 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3843 # Check whether --enable-optimise or --disable-optimise was given.
3844 if test "${enable_optimise+set}" = set; then
3845 enableval="$enable_optimise"
3847 if test "$enableval" = yes; then
3848 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3850 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3855 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3856 if test "x$LINE" != x ; then
3857 eval "DEFAULT_$LINE"
3862 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3866 eval "$ac_cv_use_optimise"
3867 if test "$no_cache" != 1; then
3868 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3871 if test "$wxUSE_OPTIMISE" = yes; then
3872 echo "$as_me:$LINENO: result: yes" >&5
3873 echo "${ECHO_T}yes" >&6
3875 echo "$as_me:$LINENO: result: no" >&5
3876 echo "${ECHO_T}no" >&6
3881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3882 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3884 # Check whether --enable-debug or --disable-debug was given.
3885 if test "${enable_debug+set}" = set; then
3886 enableval="$enable_debug"
3888 if test "$enableval" = yes; then
3889 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3891 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3896 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3897 if test "x$LINE" != x ; then
3898 eval "DEFAULT_$LINE"
3903 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3907 eval "$ac_cv_use_debug"
3908 if test "$no_cache" != 1; then
3909 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3912 if test "$wxUSE_DEBUG" = yes; then
3913 echo "$as_me:$LINENO: result: yes" >&5
3914 echo "${ECHO_T}yes" >&6
3916 echo "$as_me:$LINENO: result: no" >&5
3917 echo "${ECHO_T}no" >&6
3922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3923 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3925 # Check whether --enable-stl or --disable-stl was given.
3926 if test "${enable_stl+set}" = set; then
3927 enableval="$enable_stl"
3929 if test "$enableval" = yes; then
3930 ac_cv_use_stl='wxUSE_STL
=yes'
3932 ac_cv_use_stl='wxUSE_STL
=no
'
3937 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3938 if test "x$LINE" != x ; then
3939 eval "DEFAULT_$LINE"
3944 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3948 eval "$ac_cv_use_stl"
3949 if test "$no_cache" != 1; then
3950 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3953 if test "$wxUSE_STL" = yes; then
3954 echo "$as_me:$LINENO: result: yes" >&5
3955 echo "${ECHO_T}yes" >&6
3957 echo "$as_me:$LINENO: result: no" >&5
3958 echo "${ECHO_T}no" >&6
3961 if test "$USE_OS2" = "1"; then
3962 DEFAULT_wxUSE_OMF=no
3965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3966 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3968 # Check whether --enable-omf or --disable-omf was given.
3969 if test "${enable_omf+set}" = set; then
3970 enableval="$enable_omf"
3972 if test "$enableval" = yes; then
3973 ac_cv_use_omf='wxUSE_OMF
=yes'
3975 ac_cv_use_omf='wxUSE_OMF
=no
'
3980 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3981 if test "x$LINE" != x ; then
3982 eval "DEFAULT_$LINE"
3987 ac_cv_use_omf='wxUSE_OMF
='$DEFAULT_wxUSE_OMF
3991 eval "$ac_cv_use_omf"
3992 if test "$no_cache" != 1; then
3993 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3996 if test "$wxUSE_OMF" = yes; then
3997 echo "$as_me:$LINENO: result: yes" >&5
3998 echo "${ECHO_T}yes" >&6
4000 echo "$as_me:$LINENO: result: no" >&5
4001 echo "${ECHO_T}no" >&6
4006 if test "$wxUSE_DEBUG" = "yes"; then
4007 DEFAULT_wxUSE_DEBUG_FLAG=yes
4008 DEFAULT_wxUSE_DEBUG_INFO=yes
4010 elif test "$wxUSE_DEBUG" = "no"; then
4011 DEFAULT_wxUSE_DEBUG_FLAG=no
4012 DEFAULT_wxUSE_DEBUG_INFO=no
4018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4019 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4021 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4022 if test "${enable_debug_flag+set}" = set; then
4023 enableval="$enable_debug_flag"
4025 if test "$enableval" = yes; then
4026 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4028 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4033 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4034 if test "x$LINE" != x ; then
4035 eval "DEFAULT_$LINE"
4040 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
4044 eval "$ac_cv_use_debug_flag"
4045 if test "$no_cache" != 1; then
4046 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4049 if test "$wxUSE_DEBUG_FLAG" = yes; then
4050 echo "$as_me:$LINENO: result: yes" >&5
4051 echo "${ECHO_T}yes" >&6
4053 echo "$as_me:$LINENO: result: no" >&5
4054 echo "${ECHO_T}no" >&6
4059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4060 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4062 # Check whether --enable-debug_info or --disable-debug_info was given.
4063 if test "${enable_debug_info+set}" = set; then
4064 enableval="$enable_debug_info"
4066 if test "$enableval" = yes; then
4067 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
4069 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
4074 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4075 if test "x$LINE" != x ; then
4076 eval "DEFAULT_$LINE"
4081 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
4085 eval "$ac_cv_use_debug_info"
4086 if test "$no_cache" != 1; then
4087 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4090 if test "$wxUSE_DEBUG_INFO" = yes; then
4091 echo "$as_me:$LINENO: result: yes" >&5
4092 echo "${ECHO_T}yes" >&6
4094 echo "$as_me:$LINENO: result: no" >&5
4095 echo "${ECHO_T}no" >&6
4100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4101 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4103 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4104 if test "${enable_debug_gdb+set}" = set; then
4105 enableval="$enable_debug_gdb"
4107 if test "$enableval" = yes; then
4108 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
4110 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
4115 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4116 if test "x$LINE" != x ; then
4117 eval "DEFAULT_$LINE"
4122 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
4126 eval "$ac_cv_use_debug_gdb"
4127 if test "$no_cache" != 1; then
4128 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4131 if test "$wxUSE_DEBUG_GDB" = yes; then
4132 echo "$as_me:$LINENO: result: yes" >&5
4133 echo "${ECHO_T}yes" >&6
4135 echo "$as_me:$LINENO: result: no" >&5
4136 echo "${ECHO_T}no" >&6
4141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4142 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4144 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4145 if test "${enable_debug_cntxt+set}" = set; then
4146 enableval="$enable_debug_cntxt"
4148 if test "$enableval" = yes; then
4149 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4151 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4156 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4157 if test "x$LINE" != x ; then
4158 eval "DEFAULT_$LINE"
4163 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
4167 eval "$ac_cv_use_debug_cntxt"
4168 if test "$no_cache" != 1; then
4169 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4172 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4173 echo "$as_me:$LINENO: result: yes" >&5
4174 echo "${ECHO_T}yes" >&6
4176 echo "$as_me:$LINENO: result: no" >&5
4177 echo "${ECHO_T}no" >&6
4182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4183 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4185 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4186 if test "${enable_mem_tracing+set}" = set; then
4187 enableval="$enable_mem_tracing"
4189 if test "$enableval" = yes; then
4190 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
4192 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
4197 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x ; then
4199 eval "DEFAULT_$LINE"
4204 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
4208 eval "$ac_cv_use_mem_tracing"
4209 if test "$no_cache" != 1; then
4210 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4213 if test "$wxUSE_MEM_TRACING" = yes; then
4214 echo "$as_me:$LINENO: result: yes" >&5
4215 echo "${ECHO_T}yes" >&6
4217 echo "$as_me:$LINENO: result: no" >&5
4218 echo "${ECHO_T}no" >&6
4223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4224 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4226 # Check whether --enable-profile or --disable-profile was given.
4227 if test "${enable_profile+set}" = set; then
4228 enableval="$enable_profile"
4230 if test "$enableval" = yes; then
4231 ac_cv_use_profile='wxUSE_PROFILE
=yes'
4233 ac_cv_use_profile='wxUSE_PROFILE
=no
'
4238 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4239 if test "x$LINE" != x ; then
4240 eval "DEFAULT_$LINE"
4245 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
4249 eval "$ac_cv_use_profile"
4250 if test "$no_cache" != 1; then
4251 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4254 if test "$wxUSE_PROFILE" = yes; then
4255 echo "$as_me:$LINENO: result: yes" >&5
4256 echo "${ECHO_T}yes" >&6
4258 echo "$as_me:$LINENO: result: no" >&5
4259 echo "${ECHO_T}no" >&6
4264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4265 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4267 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4268 if test "${enable_no_rtti+set}" = set; then
4269 enableval="$enable_no_rtti"
4271 if test "$enableval" = yes; then
4272 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
4274 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
4279 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4280 if test "x$LINE" != x ; then
4281 eval "DEFAULT_$LINE"
4286 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
4290 eval "$ac_cv_use_no_rtti"
4291 if test "$no_cache" != 1; then
4292 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4295 if test "$wxUSE_NO_RTTI" = yes; then
4296 echo "$as_me:$LINENO: result: yes" >&5
4297 echo "${ECHO_T}yes" >&6
4299 echo "$as_me:$LINENO: result: no" >&5
4300 echo "${ECHO_T}no" >&6
4305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4306 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4308 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4309 if test "${enable_no_exceptions+set}" = set; then
4310 enableval="$enable_no_exceptions"
4312 if test "$enableval" = yes; then
4313 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4315 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4320 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4321 if test "x$LINE" != x ; then
4322 eval "DEFAULT_$LINE"
4327 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
4331 eval "$ac_cv_use_no_exceptions"
4332 if test "$no_cache" != 1; then
4333 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4336 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4337 echo "$as_me:$LINENO: result: yes" >&5
4338 echo "${ECHO_T}yes" >&6
4340 echo "$as_me:$LINENO: result: no" >&5
4341 echo "${ECHO_T}no" >&6
4346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4347 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4349 # Check whether --enable-permissive or --disable-permissive was given.
4350 if test "${enable_permissive+set}" = set; then
4351 enableval="$enable_permissive"
4353 if test "$enableval" = yes; then
4354 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4356 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4361 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4362 if test "x$LINE" != x ; then
4363 eval "DEFAULT_$LINE"
4368 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
4372 eval "$ac_cv_use_permissive"
4373 if test "$no_cache" != 1; then
4374 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4377 if test "$wxUSE_PERMISSIVE" = yes; then
4378 echo "$as_me:$LINENO: result: yes" >&5
4379 echo "${ECHO_T}yes" >&6
4381 echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6
4387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4388 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4390 # Check whether --enable-no_deps or --disable-no_deps was given.
4391 if test "${enable_no_deps+set}" = set; then
4392 enableval="$enable_no_deps"
4394 if test "$enableval" = yes; then
4395 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
4397 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
4402 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4403 if test "x$LINE" != x ; then
4404 eval "DEFAULT_$LINE"
4409 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
4413 eval "$ac_cv_use_no_deps"
4414 if test "$no_cache" != 1; then
4415 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4418 if test "$wxUSE_NO_DEPS" = yes; then
4419 echo "$as_me:$LINENO: result: yes" >&5
4420 echo "${ECHO_T}yes" >&6
4422 echo "$as_me:$LINENO: result: no" >&5
4423 echo "${ECHO_T}no" >&6
4428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
4429 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
4431 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
4432 if test "${enable_vararg_macros+set}" = set; then
4433 enableval="$enable_vararg_macros"
4435 if test "$enableval" = yes; then
4436 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
4438 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
4443 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
4444 if test "x$LINE" != x ; then
4445 eval "DEFAULT_$LINE"
4450 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
='$DEFAULT_wxUSE_VARARG_MACROS
4454 eval "$ac_cv_use_vararg_macros"
4455 if test "$no_cache" != 1; then
4456 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
4459 if test "$wxUSE_VARARG_MACROS" = yes; then
4460 echo "$as_me:$LINENO: result: yes" >&5
4461 echo "${ECHO_T}yes" >&6
4463 echo "$as_me:$LINENO: result: no" >&5
4464 echo "${ECHO_T}no" >&6
4469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4470 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4472 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4473 if test "${enable_universal_binary+set}" = set; then
4474 enableval="$enable_universal_binary"
4476 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4480 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4481 if test "x$LINE" != x ; then
4482 eval "DEFAULT_$LINE"
4483 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4486 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4491 eval "$wx_cv_use_universal_binary"
4492 if test "$no_cache" != 1; then
4493 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4496 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4497 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4503 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4505 # Check whether --enable-compat24 or --disable-compat24 was given.
4506 if test "${enable_compat24+set}" = set; then
4507 enableval="$enable_compat24"
4509 if test "$enableval" = yes; then
4510 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
4512 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
4517 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4518 if test "x$LINE" != x ; then
4519 eval "DEFAULT_$LINE"
4524 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4528 eval "$ac_cv_use_compat24"
4529 if test "$no_cache" != 1; then
4530 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4533 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4534 echo "$as_me:$LINENO: result: yes" >&5
4535 echo "${ECHO_T}yes" >&6
4537 echo "$as_me:$LINENO: result: no" >&5
4538 echo "${ECHO_T}no" >&6
4542 enablestring=disable
4543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4544 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4546 # Check whether --enable-compat26 or --disable-compat26 was given.
4547 if test "${enable_compat26+set}" = set; then
4548 enableval="$enable_compat26"
4550 if test "$enableval" = yes; then
4551 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
4553 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
4558 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4559 if test "x$LINE" != x ; then
4560 eval "DEFAULT_$LINE"
4565 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4569 eval "$ac_cv_use_compat26"
4570 if test "$no_cache" != 1; then
4571 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4574 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4575 echo "$as_me:$LINENO: result: yes" >&5
4576 echo "${ECHO_T}yes" >&6
4578 echo "$as_me:$LINENO: result: no" >&5
4579 echo "${ECHO_T}no" >&6
4585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4586 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4588 # Check whether --enable-rpath or --disable-rpath was given.
4589 if test "${enable_rpath+set}" = set; then
4590 enableval="$enable_rpath"
4592 if test "$enableval" = yes; then
4593 ac_cv_use_rpath='wxUSE_RPATH
=yes'
4595 ac_cv_use_rpath='wxUSE_RPATH
=no
'
4600 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4601 if test "x$LINE" != x ; then
4602 eval "DEFAULT_$LINE"
4607 ac_cv_use_rpath='wxUSE_RPATH
='$DEFAULT_wxUSE_RPATH
4611 eval "$ac_cv_use_rpath"
4612 if test "$no_cache" != 1; then
4613 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4616 if test "$wxUSE_RPATH" = yes; then
4617 echo "$as_me:$LINENO: result: yes" >&5
4618 echo "${ECHO_T}yes" >&6
4620 echo "$as_me:$LINENO: result: no" >&5
4621 echo "${ECHO_T}no" >&6
4629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4630 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4632 # Check whether --enable-intl or --disable-intl was given.
4633 if test "${enable_intl+set}" = set; then
4634 enableval="$enable_intl"
4636 if test "$enableval" = yes; then
4637 ac_cv_use_intl='wxUSE_INTL
=yes'
4639 ac_cv_use_intl='wxUSE_INTL
=no
'
4644 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x ; then
4646 eval "DEFAULT_$LINE"
4651 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
4655 eval "$ac_cv_use_intl"
4656 if test "$no_cache" != 1; then
4657 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4660 if test "$wxUSE_INTL" = yes; then
4661 echo "$as_me:$LINENO: result: yes" >&5
4662 echo "${ECHO_T}yes" >&6
4664 echo "$as_me:$LINENO: result: no" >&5
4665 echo "${ECHO_T}no" >&6
4670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4673 # Check whether --enable-config or --disable-config was given.
4674 if test "${enable_config+set}" = set; then
4675 enableval="$enable_config"
4677 if test "$enableval" = yes; then
4678 ac_cv_use_config='wxUSE_CONFIG
=yes'
4680 ac_cv_use_config='wxUSE_CONFIG
=no
'
4685 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x ; then
4687 eval "DEFAULT_$LINE"
4692 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
4696 eval "$ac_cv_use_config"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4701 if test "$wxUSE_CONFIG" = yes; then
4702 echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6
4705 echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6
4712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4713 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4715 # Check whether --enable-protocols or --disable-protocols was given.
4716 if test "${enable_protocols+set}" = set; then
4717 enableval="$enable_protocols"
4719 if test "$enableval" = yes; then
4720 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4722 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4727 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4728 if test "x$LINE" != x ; then
4729 eval "DEFAULT_$LINE"
4734 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4738 eval "$ac_cv_use_protocols"
4739 if test "$no_cache" != 1; then
4740 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4743 if test "$wxUSE_PROTOCOL" = yes; then
4744 echo "$as_me:$LINENO: result: yes" >&5
4745 echo "${ECHO_T}yes" >&6
4747 echo "$as_me:$LINENO: result: no" >&5
4748 echo "${ECHO_T}no" >&6
4753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4754 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4756 # Check whether --enable-ftp or --disable-ftp was given.
4757 if test "${enable_ftp+set}" = set; then
4758 enableval="$enable_ftp"
4760 if test "$enableval" = yes; then
4761 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4763 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4768 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4769 if test "x$LINE" != x ; then
4770 eval "DEFAULT_$LINE"
4775 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4779 eval "$ac_cv_use_ftp"
4780 if test "$no_cache" != 1; then
4781 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4784 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4785 echo "$as_me:$LINENO: result: yes" >&5
4786 echo "${ECHO_T}yes" >&6
4788 echo "$as_me:$LINENO: result: no" >&5
4789 echo "${ECHO_T}no" >&6
4794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4795 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4797 # Check whether --enable-http or --disable-http was given.
4798 if test "${enable_http+set}" = set; then
4799 enableval="$enable_http"
4801 if test "$enableval" = yes; then
4802 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4804 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4809 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4810 if test "x$LINE" != x ; then
4811 eval "DEFAULT_$LINE"
4816 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4820 eval "$ac_cv_use_http"
4821 if test "$no_cache" != 1; then
4822 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4825 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4826 echo "$as_me:$LINENO: result: yes" >&5
4827 echo "${ECHO_T}yes" >&6
4829 echo "$as_me:$LINENO: result: no" >&5
4830 echo "${ECHO_T}no" >&6
4835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4836 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4838 # Check whether --enable-fileproto or --disable-fileproto was given.
4839 if test "${enable_fileproto+set}" = set; then
4840 enableval="$enable_fileproto"
4842 if test "$enableval" = yes; then
4843 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4845 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4850 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4851 if test "x$LINE" != x ; then
4852 eval "DEFAULT_$LINE"
4857 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4861 eval "$ac_cv_use_fileproto"
4862 if test "$no_cache" != 1; then
4863 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4866 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4867 echo "$as_me:$LINENO: result: yes" >&5
4868 echo "${ECHO_T}yes" >&6
4870 echo "$as_me:$LINENO: result: no" >&5
4871 echo "${ECHO_T}no" >&6
4876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4877 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4879 # Check whether --enable-sockets or --disable-sockets was given.
4880 if test "${enable_sockets+set}" = set; then
4881 enableval="$enable_sockets"
4883 if test "$enableval" = yes; then
4884 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4886 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4891 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4892 if test "x$LINE" != x ; then
4893 eval "DEFAULT_$LINE"
4898 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4902 eval "$ac_cv_use_sockets"
4903 if test "$no_cache" != 1; then
4904 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4907 if test "$wxUSE_SOCKETS" = yes; then
4908 echo "$as_me:$LINENO: result: yes" >&5
4909 echo "${ECHO_T}yes" >&6
4911 echo "$as_me:$LINENO: result: no" >&5
4912 echo "${ECHO_T}no" >&6
4917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4918 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4920 # Check whether --enable-ole or --disable-ole was given.
4921 if test "${enable_ole+set}" = set; then
4922 enableval="$enable_ole"
4924 if test "$enableval" = yes; then
4925 ac_cv_use_ole='wxUSE_OLE
=yes'
4927 ac_cv_use_ole='wxUSE_OLE
=no
'
4932 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4933 if test "x$LINE" != x ; then
4934 eval "DEFAULT_$LINE"
4939 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4943 eval "$ac_cv_use_ole"
4944 if test "$no_cache" != 1; then
4945 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4948 if test "$wxUSE_OLE" = yes; then
4949 echo "$as_me:$LINENO: result: yes" >&5
4950 echo "${ECHO_T}yes" >&6
4952 echo "$as_me:$LINENO: result: no" >&5
4953 echo "${ECHO_T}no" >&6
4958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4959 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4961 # Check whether --enable-dataobj or --disable-dataobj was given.
4962 if test "${enable_dataobj+set}" = set; then
4963 enableval="$enable_dataobj"
4965 if test "$enableval" = yes; then
4966 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4968 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4973 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4974 if test "x$LINE" != x ; then
4975 eval "DEFAULT_$LINE"
4980 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4984 eval "$ac_cv_use_dataobj"
4985 if test "$no_cache" != 1; then
4986 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4989 if test "$wxUSE_DATAOBJ" = yes; then
4990 echo "$as_me:$LINENO: result: yes" >&5
4991 echo "${ECHO_T}yes" >&6
4993 echo "$as_me:$LINENO: result: no" >&5
4994 echo "${ECHO_T}no" >&6
5000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5001 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
5003 # Check whether --enable-ipc or --disable-ipc was given.
5004 if test "${enable_ipc+set}" = set; then
5005 enableval="$enable_ipc"
5007 if test "$enableval" = yes; then
5008 ac_cv_use_ipc='wxUSE_IPC
=yes'
5010 ac_cv_use_ipc='wxUSE_IPC
=no
'
5015 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5016 if test "x$LINE" != x ; then
5017 eval "DEFAULT_$LINE"
5022 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
5026 eval "$ac_cv_use_ipc"
5027 if test "$no_cache" != 1; then
5028 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5031 if test "$wxUSE_IPC" = yes; then
5032 echo "$as_me:$LINENO: result: yes" >&5
5033 echo "${ECHO_T}yes" >&6
5035 echo "$as_me:$LINENO: result: no" >&5
5036 echo "${ECHO_T}no" >&6
5042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5043 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
5045 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
5046 if test "${enable_apple_ieee+set}" = set; then
5047 enableval="$enable_apple_ieee"
5049 if test "$enableval" = yes; then
5050 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
5052 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
5057 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5058 if test "x$LINE" != x ; then
5059 eval "DEFAULT_$LINE"
5064 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
5068 eval "$ac_cv_use_apple_ieee"
5069 if test "$no_cache" != 1; then
5070 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5073 if test "$wxUSE_APPLE_IEEE" = yes; then
5074 echo "$as_me:$LINENO: result: yes" >&5
5075 echo "${ECHO_T}yes" >&6
5077 echo "$as_me:$LINENO: result: no" >&5
5078 echo "${ECHO_T}no" >&6
5083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5084 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5086 # Check whether --enable-arcstream or --disable-arcstream was given.
5087 if test "${enable_arcstream+set}" = set; then
5088 enableval="$enable_arcstream"
5090 if test "$enableval" = yes; then
5091 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
5093 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
5098 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5099 if test "x$LINE" != x ; then
5100 eval "DEFAULT_$LINE"
5105 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5109 eval "$ac_cv_use_arcstream"
5110 if test "$no_cache" != 1; then
5111 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5114 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5115 echo "$as_me:$LINENO: result: yes" >&5
5116 echo "${ECHO_T}yes" >&6
5118 echo "$as_me:$LINENO: result: no" >&5
5119 echo "${ECHO_T}no" >&6
5124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5125 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5127 # Check whether --enable-backtrace or --disable-backtrace was given.
5128 if test "${enable_backtrace+set}" = set; then
5129 enableval="$enable_backtrace"
5131 if test "$enableval" = yes; then
5132 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
5134 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
5139 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5140 if test "x$LINE" != x ; then
5141 eval "DEFAULT_$LINE"
5146 ac_cv_use_backtrace='wxUSE_STACKWALKER
='$DEFAULT_wxUSE_STACKWALKER
5150 eval "$ac_cv_use_backtrace"
5151 if test "$no_cache" != 1; then
5152 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5155 if test "$wxUSE_STACKWALKER" = yes; then
5156 echo "$as_me:$LINENO: result: yes" >&5
5157 echo "${ECHO_T}yes" >&6
5159 echo "$as_me:$LINENO: result: no" >&5
5160 echo "${ECHO_T}no" >&6
5165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5166 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5168 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5169 if test "${enable_catch_segvs+set}" = set; then
5170 enableval="$enable_catch_segvs"
5172 if test "$enableval" = yes; then
5173 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
5175 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
5180 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5181 if test "x$LINE" != x ; then
5182 eval "DEFAULT_$LINE"
5187 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5191 eval "$ac_cv_use_catch_segvs"
5192 if test "$no_cache" != 1; then
5193 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5196 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5197 echo "$as_me:$LINENO: result: yes" >&5
5198 echo "${ECHO_T}yes" >&6
5200 echo "$as_me:$LINENO: result: no" >&5
5201 echo "${ECHO_T}no" >&6
5206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5207 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5209 # Check whether --enable-cmdline or --disable-cmdline was given.
5210 if test "${enable_cmdline+set}" = set; then
5211 enableval="$enable_cmdline"
5213 if test "$enableval" = yes; then
5214 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
5216 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
5221 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5222 if test "x$LINE" != x ; then
5223 eval "DEFAULT_$LINE"
5228 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
5232 eval "$ac_cv_use_cmdline"
5233 if test "$no_cache" != 1; then
5234 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5237 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5238 echo "$as_me:$LINENO: result: yes" >&5
5239 echo "${ECHO_T}yes" >&6
5241 echo "$as_me:$LINENO: result: no" >&5
5242 echo "${ECHO_T}no" >&6
5247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5248 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5250 # Check whether --enable-datetime or --disable-datetime was given.
5251 if test "${enable_datetime+set}" = set; then
5252 enableval="$enable_datetime"
5254 if test "$enableval" = yes; then
5255 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
5257 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
5262 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5263 if test "x$LINE" != x ; then
5264 eval "DEFAULT_$LINE"
5269 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
5273 eval "$ac_cv_use_datetime"
5274 if test "$no_cache" != 1; then
5275 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5278 if test "$wxUSE_DATETIME" = yes; then
5279 echo "$as_me:$LINENO: result: yes" >&5
5280 echo "${ECHO_T}yes" >&6
5282 echo "$as_me:$LINENO: result: no" >&5
5283 echo "${ECHO_T}no" >&6
5288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5289 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5291 # Check whether --enable-debugreport or --disable-debugreport was given.
5292 if test "${enable_debugreport+set}" = set; then
5293 enableval="$enable_debugreport"
5295 if test "$enableval" = yes; then
5296 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
5298 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
5303 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5304 if test "x$LINE" != x ; then
5305 eval "DEFAULT_$LINE"
5310 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
='$DEFAULT_wxUSE_DEBUGREPORT
5314 eval "$ac_cv_use_debugreport"
5315 if test "$no_cache" != 1; then
5316 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5319 if test "$wxUSE_DEBUGREPORT" = yes; then
5320 echo "$as_me:$LINENO: result: yes" >&5
5321 echo "${ECHO_T}yes" >&6
5323 echo "$as_me:$LINENO: result: no" >&5
5324 echo "${ECHO_T}no" >&6
5329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5330 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5332 # Check whether --enable-dialupman or --disable-dialupman was given.
5333 if test "${enable_dialupman+set}" = set; then
5334 enableval="$enable_dialupman"
5336 if test "$enableval" = yes; then
5337 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
5339 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
5344 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5345 if test "x$LINE" != x ; then
5346 eval "DEFAULT_$LINE"
5351 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
5355 eval "$ac_cv_use_dialupman"
5356 if test "$no_cache" != 1; then
5357 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5360 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5361 echo "$as_me:$LINENO: result: yes" >&5
5362 echo "${ECHO_T}yes" >&6
5364 echo "$as_me:$LINENO: result: no" >&5
5365 echo "${ECHO_T}no" >&6
5370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5371 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5373 # Check whether --enable-dynlib or --disable-dynlib was given.
5374 if test "${enable_dynlib+set}" = set; then
5375 enableval="$enable_dynlib"
5377 if test "$enableval" = yes; then
5378 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
5380 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
5385 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5386 if test "x$LINE" != x ; then
5387 eval "DEFAULT_$LINE"
5392 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
5396 eval "$ac_cv_use_dynlib"
5397 if test "$no_cache" != 1; then
5398 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5401 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5402 echo "$as_me:$LINENO: result: yes" >&5
5403 echo "${ECHO_T}yes" >&6
5405 echo "$as_me:$LINENO: result: no" >&5
5406 echo "${ECHO_T}no" >&6
5411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5412 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5414 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5415 if test "${enable_dynamicloader+set}" = set; then
5416 enableval="$enable_dynamicloader"
5418 if test "$enableval" = yes; then
5419 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
5421 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
5426 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5427 if test "x$LINE" != x ; then
5428 eval "DEFAULT_$LINE"
5433 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
5437 eval "$ac_cv_use_dynamicloader"
5438 if test "$no_cache" != 1; then
5439 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5442 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5443 echo "$as_me:$LINENO: result: yes" >&5
5444 echo "${ECHO_T}yes" >&6
5446 echo "$as_me:$LINENO: result: no" >&5
5447 echo "${ECHO_T}no" >&6
5452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5453 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5455 # Check whether --enable-exceptions or --disable-exceptions was given.
5456 if test "${enable_exceptions+set}" = set; then
5457 enableval="$enable_exceptions"
5459 if test "$enableval" = yes; then
5460 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
5462 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
5467 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5468 if test "x$LINE" != x ; then
5469 eval "DEFAULT_$LINE"
5474 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
5478 eval "$ac_cv_use_exceptions"
5479 if test "$no_cache" != 1; then
5480 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5483 if test "$wxUSE_EXCEPTIONS" = yes; then
5484 echo "$as_me:$LINENO: result: yes" >&5
5485 echo "${ECHO_T}yes" >&6
5487 echo "$as_me:$LINENO: result: no" >&5
5488 echo "${ECHO_T}no" >&6
5493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5494 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5496 # Check whether --enable-ffile or --disable-ffile was given.
5497 if test "${enable_ffile+set}" = set; then
5498 enableval="$enable_ffile"
5500 if test "$enableval" = yes; then
5501 ac_cv_use_ffile='wxUSE_FFILE
=yes'
5503 ac_cv_use_ffile='wxUSE_FFILE
=no
'
5508 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5509 if test "x$LINE" != x ; then
5510 eval "DEFAULT_$LINE"
5515 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
5519 eval "$ac_cv_use_ffile"
5520 if test "$no_cache" != 1; then
5521 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5524 if test "$wxUSE_FFILE" = yes; then
5525 echo "$as_me:$LINENO: result: yes" >&5
5526 echo "${ECHO_T}yes" >&6
5528 echo "$as_me:$LINENO: result: no" >&5
5529 echo "${ECHO_T}no" >&6
5534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5537 # Check whether --enable-file or --disable-file was given.
5538 if test "${enable_file+set}" = set; then
5539 enableval="$enable_file"
5541 if test "$enableval" = yes; then
5542 ac_cv_use_file='wxUSE_FILE
=yes'
5544 ac_cv_use_file='wxUSE_FILE
=no
'
5549 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5550 if test "x$LINE" != x ; then
5551 eval "DEFAULT_$LINE"
5556 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
5560 eval "$ac_cv_use_file"
5561 if test "$no_cache" != 1; then
5562 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5565 if test "$wxUSE_FILE" = yes; then
5566 echo "$as_me:$LINENO: result: yes" >&5
5567 echo "${ECHO_T}yes" >&6
5569 echo "$as_me:$LINENO: result: no" >&5
5570 echo "${ECHO_T}no" >&6
5575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5576 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5578 # Check whether --enable-filesystem or --disable-filesystem was given.
5579 if test "${enable_filesystem+set}" = set; then
5580 enableval="$enable_filesystem"
5582 if test "$enableval" = yes; then
5583 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5585 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5590 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x ; then
5592 eval "DEFAULT_$LINE"
5597 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5601 eval "$ac_cv_use_filesystem"
5602 if test "$no_cache" != 1; then
5603 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5606 if test "$wxUSE_FILESYSTEM" = yes; then
5607 echo "$as_me:$LINENO: result: yes" >&5
5608 echo "${ECHO_T}yes" >&6
5610 echo "$as_me:$LINENO: result: no" >&5
5611 echo "${ECHO_T}no" >&6
5616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5617 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5619 # Check whether --enable-fontmap or --disable-fontmap was given.
5620 if test "${enable_fontmap+set}" = set; then
5621 enableval="$enable_fontmap"
5623 if test "$enableval" = yes; then
5624 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
5626 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
5631 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5632 if test "x$LINE" != x ; then
5633 eval "DEFAULT_$LINE"
5638 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
5642 eval "$ac_cv_use_fontmap"
5643 if test "$no_cache" != 1; then
5644 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5647 if test "$wxUSE_FONTMAP" = yes; then
5648 echo "$as_me:$LINENO: result: yes" >&5
5649 echo "${ECHO_T}yes" >&6
5651 echo "$as_me:$LINENO: result: no" >&5
5652 echo "${ECHO_T}no" >&6
5657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5658 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5660 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5661 if test "${enable_fs_archive+set}" = set; then
5662 enableval="$enable_fs_archive"
5664 if test "$enableval" = yes; then
5665 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
5667 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
5672 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5673 if test "x$LINE" != x ; then
5674 eval "DEFAULT_$LINE"
5679 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE
='$DEFAULT_wxUSE_FS_ARCHIVE
5683 eval "$ac_cv_use_fs_archive"
5684 if test "$no_cache" != 1; then
5685 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5688 if test "$wxUSE_FS_ARCHIVE" = yes; then
5689 echo "$as_me:$LINENO: result: yes" >&5
5690 echo "${ECHO_T}yes" >&6
5692 echo "$as_me:$LINENO: result: no" >&5
5693 echo "${ECHO_T}no" >&6
5698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5699 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5701 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5702 if test "${enable_fs_inet+set}" = set; then
5703 enableval="$enable_fs_inet"
5705 if test "$enableval" = yes; then
5706 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5708 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5713 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5714 if test "x$LINE" != x ; then
5715 eval "DEFAULT_$LINE"
5720 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5724 eval "$ac_cv_use_fs_inet"
5725 if test "$no_cache" != 1; then
5726 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5729 if test "$wxUSE_FS_INET" = yes; then
5730 echo "$as_me:$LINENO: result: yes" >&5
5731 echo "${ECHO_T}yes" >&6
5733 echo "$as_me:$LINENO: result: no" >&5
5734 echo "${ECHO_T}no" >&6
5739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5740 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5742 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5743 if test "${enable_fs_zip+set}" = set; then
5744 enableval="$enable_fs_zip"
5746 if test "$enableval" = yes; then
5747 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5749 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5754 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5755 if test "x$LINE" != x ; then
5756 eval "DEFAULT_$LINE"
5761 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5765 eval "$ac_cv_use_fs_zip"
5766 if test "$no_cache" != 1; then
5767 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5770 if test "$wxUSE_FS_ZIP" = yes; then
5771 echo "$as_me:$LINENO: result: yes" >&5
5772 echo "${ECHO_T}yes" >&6
5774 echo "$as_me:$LINENO: result: no" >&5
5775 echo "${ECHO_T}no" >&6
5780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5781 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5783 # Check whether --enable-geometry or --disable-geometry was given.
5784 if test "${enable_geometry+set}" = set; then
5785 enableval="$enable_geometry"
5787 if test "$enableval" = yes; then
5788 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
5790 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
5795 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5796 if test "x$LINE" != x ; then
5797 eval "DEFAULT_$LINE"
5802 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
5806 eval "$ac_cv_use_geometry"
5807 if test "$no_cache" != 1; then
5808 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5811 if test "$wxUSE_GEOMETRY" = yes; then
5812 echo "$as_me:$LINENO: result: yes" >&5
5813 echo "${ECHO_T}yes" >&6
5815 echo "$as_me:$LINENO: result: no" >&5
5816 echo "${ECHO_T}no" >&6
5821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5822 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5824 # Check whether --enable-log or --disable-log was given.
5825 if test "${enable_log+set}" = set; then
5826 enableval="$enable_log"
5828 if test "$enableval" = yes; then
5829 ac_cv_use_log='wxUSE_LOG
=yes'
5831 ac_cv_use_log='wxUSE_LOG
=no
'
5836 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5837 if test "x$LINE" != x ; then
5838 eval "DEFAULT_$LINE"
5843 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
5847 eval "$ac_cv_use_log"
5848 if test "$no_cache" != 1; then
5849 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5852 if test "$wxUSE_LOG" = yes; then
5853 echo "$as_me:$LINENO: result: yes" >&5
5854 echo "${ECHO_T}yes" >&6
5856 echo "$as_me:$LINENO: result: no" >&5
5857 echo "${ECHO_T}no" >&6
5862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5863 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5865 # Check whether --enable-longlong or --disable-longlong was given.
5866 if test "${enable_longlong+set}" = set; then
5867 enableval="$enable_longlong"
5869 if test "$enableval" = yes; then
5870 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5872 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5877 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5878 if test "x$LINE" != x ; then
5879 eval "DEFAULT_$LINE"
5884 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5888 eval "$ac_cv_use_longlong"
5889 if test "$no_cache" != 1; then
5890 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5893 if test "$wxUSE_LONGLONG" = yes; then
5894 echo "$as_me:$LINENO: result: yes" >&5
5895 echo "${ECHO_T}yes" >&6
5897 echo "$as_me:$LINENO: result: no" >&5
5898 echo "${ECHO_T}no" >&6
5903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5904 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5906 # Check whether --enable-mimetype or --disable-mimetype was given.
5907 if test "${enable_mimetype+set}" = set; then
5908 enableval="$enable_mimetype"
5910 if test "$enableval" = yes; then
5911 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5913 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5918 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5919 if test "x$LINE" != x ; then
5920 eval "DEFAULT_$LINE"
5925 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5929 eval "$ac_cv_use_mimetype"
5930 if test "$no_cache" != 1; then
5931 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5934 if test "$wxUSE_MIMETYPE" = yes; then
5935 echo "$as_me:$LINENO: result: yes" >&5
5936 echo "${ECHO_T}yes" >&6
5938 echo "$as_me:$LINENO: result: no" >&5
5939 echo "${ECHO_T}no" >&6
5944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5945 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5947 # Check whether --enable-mslu or --disable-mslu was given.
5948 if test "${enable_mslu+set}" = set; then
5949 enableval="$enable_mslu"
5951 if test "$enableval" = yes; then
5952 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5954 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5959 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5960 if test "x$LINE" != x ; then
5961 eval "DEFAULT_$LINE"
5966 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5970 eval "$ac_cv_use_mslu"
5971 if test "$no_cache" != 1; then
5972 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5975 if test "$wxUSE_UNICODE_MSLU" = yes; then
5976 echo "$as_me:$LINENO: result: yes" >&5
5977 echo "${ECHO_T}yes" >&6
5979 echo "$as_me:$LINENO: result: no" >&5
5980 echo "${ECHO_T}no" >&6
5985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5986 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5988 # Check whether --enable-snglinst or --disable-snglinst was given.
5989 if test "${enable_snglinst+set}" = set; then
5990 enableval="$enable_snglinst"
5992 if test "$enableval" = yes; then
5993 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5995 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
6000 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6001 if test "x$LINE" != x ; then
6002 eval "DEFAULT_$LINE"
6007 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
6011 eval "$ac_cv_use_snglinst"
6012 if test "$no_cache" != 1; then
6013 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6016 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6017 echo "$as_me:$LINENO: result: yes" >&5
6018 echo "${ECHO_T}yes" >&6
6020 echo "$as_me:$LINENO: result: no" >&5
6021 echo "${ECHO_T}no" >&6
6026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6027 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6029 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6030 if test "${enable_std_iostreams+set}" = set; then
6031 enableval="$enable_std_iostreams"
6033 if test "$enableval" = yes; then
6034 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
6036 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
6041 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6042 if test "x$LINE" != x ; then
6043 eval "DEFAULT_$LINE"
6048 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
6052 eval "$ac_cv_use_std_iostreams"
6053 if test "$no_cache" != 1; then
6054 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6057 if test "$wxUSE_STD_IOSTREAM" = yes; then
6058 echo "$as_me:$LINENO: result: yes" >&5
6059 echo "${ECHO_T}yes" >&6
6061 echo "$as_me:$LINENO: result: no" >&5
6062 echo "${ECHO_T}no" >&6
6067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6070 # Check whether --enable-std_string or --disable-std_string was given.
6071 if test "${enable_std_string+set}" = set; then
6072 enableval="$enable_std_string"
6074 if test "$enableval" = yes; then
6075 ac_cv_use_std_string='wxUSE_STD_STRING
=yes'
6077 ac_cv_use_std_string='wxUSE_STD_STRING
=no
'
6082 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6083 if test "x$LINE" != x ; then
6084 eval "DEFAULT_$LINE"
6089 ac_cv_use_std_string='wxUSE_STD_STRING
='$DEFAULT_wxUSE_STD_STRING
6093 eval "$ac_cv_use_std_string"
6094 if test "$no_cache" != 1; then
6095 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6098 if test "$wxUSE_STD_STRING" = yes; then
6099 echo "$as_me:$LINENO: result: yes" >&5
6100 echo "${ECHO_T}yes" >&6
6102 echo "$as_me:$LINENO: result: no" >&5
6103 echo "${ECHO_T}no" >&6
6108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6109 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6111 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6112 if test "${enable_stdpaths+set}" = set; then
6113 enableval="$enable_stdpaths"
6115 if test "$enableval" = yes; then
6116 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
6118 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
6123 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6124 if test "x$LINE" != x ; then
6125 eval "DEFAULT_$LINE"
6130 ac_cv_use_stdpaths='wxUSE_STDPATHS
='$DEFAULT_wxUSE_STDPATHS
6134 eval "$ac_cv_use_stdpaths"
6135 if test "$no_cache" != 1; then
6136 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6139 if test "$wxUSE_STDPATHS" = yes; then
6140 echo "$as_me:$LINENO: result: yes" >&5
6141 echo "${ECHO_T}yes" >&6
6143 echo "$as_me:$LINENO: result: no" >&5
6144 echo "${ECHO_T}no" >&6
6149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6150 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6152 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6153 if test "${enable_stopwatch+set}" = set; then
6154 enableval="$enable_stopwatch"
6156 if test "$enableval" = yes; then
6157 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
6159 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
6164 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6165 if test "x$LINE" != x ; then
6166 eval "DEFAULT_$LINE"
6171 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
6175 eval "$ac_cv_use_stopwatch"
6176 if test "$no_cache" != 1; then
6177 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6180 if test "$wxUSE_STOPWATCH" = yes; then
6181 echo "$as_me:$LINENO: result: yes" >&5
6182 echo "${ECHO_T}yes" >&6
6184 echo "$as_me:$LINENO: result: no" >&5
6185 echo "${ECHO_T}no" >&6
6190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6191 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6193 # Check whether --enable-streams or --disable-streams was given.
6194 if test "${enable_streams+set}" = set; then
6195 enableval="$enable_streams"
6197 if test "$enableval" = yes; then
6198 ac_cv_use_streams='wxUSE_STREAMS
=yes'
6200 ac_cv_use_streams='wxUSE_STREAMS
=no
'
6205 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6206 if test "x$LINE" != x ; then
6207 eval "DEFAULT_$LINE"
6212 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
6216 eval "$ac_cv_use_streams"
6217 if test "$no_cache" != 1; then
6218 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6221 if test "$wxUSE_STREAMS" = yes; then
6222 echo "$as_me:$LINENO: result: yes" >&5
6223 echo "${ECHO_T}yes" >&6
6225 echo "$as_me:$LINENO: result: no" >&5
6226 echo "${ECHO_T}no" >&6
6231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6232 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6234 # Check whether --enable-system_options or --disable-system_options was given.
6235 if test "${enable_system_options+set}" = set; then
6236 enableval="$enable_system_options"
6238 if test "$enableval" = yes; then
6239 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
6241 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
6246 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6247 if test "x$LINE" != x ; then
6248 eval "DEFAULT_$LINE"
6253 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6257 eval "$ac_cv_use_system_options"
6258 if test "$no_cache" != 1; then
6259 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6262 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6263 echo "$as_me:$LINENO: result: yes" >&5
6264 echo "${ECHO_T}yes" >&6
6266 echo "$as_me:$LINENO: result: no" >&5
6267 echo "${ECHO_T}no" >&6
6272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6273 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6275 # Check whether --enable-tarstream or --disable-tarstream was given.
6276 if test "${enable_tarstream+set}" = set; then
6277 enableval="$enable_tarstream"
6279 if test "$enableval" = yes; then
6280 ac_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
6282 ac_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
6287 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6288 if test "x$LINE" != x ; then
6289 eval "DEFAULT_$LINE"
6294 ac_cv_use_tarstream='wxUSE_TARSTREAM
='$DEFAULT_wxUSE_TARSTREAM
6298 eval "$ac_cv_use_tarstream"
6299 if test "$no_cache" != 1; then
6300 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6303 if test "$wxUSE_TARSTREAM" = yes; then
6304 echo "$as_me:$LINENO: result: yes" >&5
6305 echo "${ECHO_T}yes" >&6
6307 echo "$as_me:$LINENO: result: no" >&5
6308 echo "${ECHO_T}no" >&6
6313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6314 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6316 # Check whether --enable-textbuf or --disable-textbuf was given.
6317 if test "${enable_textbuf+set}" = set; then
6318 enableval="$enable_textbuf"
6320 if test "$enableval" = yes; then
6321 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
6323 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
6328 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6329 if test "x$LINE" != x ; then
6330 eval "DEFAULT_$LINE"
6335 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
6339 eval "$ac_cv_use_textbuf"
6340 if test "$no_cache" != 1; then
6341 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6344 if test "$wxUSE_TEXTBUFFER" = yes; then
6345 echo "$as_me:$LINENO: result: yes" >&5
6346 echo "${ECHO_T}yes" >&6
6348 echo "$as_me:$LINENO: result: no" >&5
6349 echo "${ECHO_T}no" >&6
6354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6355 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6357 # Check whether --enable-textfile or --disable-textfile was given.
6358 if test "${enable_textfile+set}" = set; then
6359 enableval="$enable_textfile"
6361 if test "$enableval" = yes; then
6362 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
6364 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
6369 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6370 if test "x$LINE" != x ; then
6371 eval "DEFAULT_$LINE"
6376 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
6380 eval "$ac_cv_use_textfile"
6381 if test "$no_cache" != 1; then
6382 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6385 if test "$wxUSE_TEXTFILE" = yes; then
6386 echo "$as_me:$LINENO: result: yes" >&5
6387 echo "${ECHO_T}yes" >&6
6389 echo "$as_me:$LINENO: result: no" >&5
6390 echo "${ECHO_T}no" >&6
6395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6396 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6398 # Check whether --enable-timer or --disable-timer was given.
6399 if test "${enable_timer+set}" = set; then
6400 enableval="$enable_timer"
6402 if test "$enableval" = yes; then
6403 ac_cv_use_timer='wxUSE_TIMER
=yes'
6405 ac_cv_use_timer='wxUSE_TIMER
=no
'
6410 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6411 if test "x$LINE" != x ; then
6412 eval "DEFAULT_$LINE"
6417 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
6421 eval "$ac_cv_use_timer"
6422 if test "$no_cache" != 1; then
6423 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6426 if test "$wxUSE_TIMER" = yes; then
6427 echo "$as_me:$LINENO: result: yes" >&5
6428 echo "${ECHO_T}yes" >&6
6430 echo "$as_me:$LINENO: result: no" >&5
6431 echo "${ECHO_T}no" >&6
6436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6437 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6439 # Check whether --enable-unicode or --disable-unicode was given.
6440 if test "${enable_unicode+set}" = set; then
6441 enableval="$enable_unicode"
6443 if test "$enableval" = yes; then
6444 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
6446 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
6451 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6452 if test "x$LINE" != x ; then
6453 eval "DEFAULT_$LINE"
6458 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
6462 eval "$ac_cv_use_unicode"
6463 if test "$no_cache" != 1; then
6464 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6467 if test "$wxUSE_UNICODE" = yes; then
6468 echo "$as_me:$LINENO: result: yes" >&5
6469 echo "${ECHO_T}yes" >&6
6471 echo "$as_me:$LINENO: result: no" >&5
6472 echo "${ECHO_T}no" >&6
6477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6478 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6480 # Check whether --enable-sound or --disable-sound was given.
6481 if test "${enable_sound+set}" = set; then
6482 enableval="$enable_sound"
6484 if test "$enableval" = yes; then
6485 ac_cv_use_sound='wxUSE_SOUND
=yes'
6487 ac_cv_use_sound='wxUSE_SOUND
=no
'
6492 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6493 if test "x$LINE" != x ; then
6494 eval "DEFAULT_$LINE"
6499 ac_cv_use_sound='wxUSE_SOUND
='$DEFAULT_wxUSE_SOUND
6503 eval "$ac_cv_use_sound"
6504 if test "$no_cache" != 1; then
6505 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6508 if test "$wxUSE_SOUND" = yes; then
6509 echo "$as_me:$LINENO: result: yes" >&5
6510 echo "${ECHO_T}yes" >&6
6512 echo "$as_me:$LINENO: result: no" >&5
6513 echo "${ECHO_T}no" >&6
6518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6519 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6521 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6522 if test "${enable_mediactrl+set}" = set; then
6523 enableval="$enable_mediactrl"
6525 if test "$enableval" = yes; then
6526 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
6528 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
6533 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6534 if test "x$LINE" != x ; then
6535 eval "DEFAULT_$LINE"
6540 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
='$DEFAULT_wxUSE_MEDIACTRL
6544 eval "$ac_cv_use_mediactrl"
6545 if test "$no_cache" != 1; then
6546 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6549 if test "$wxUSE_MEDIACTRL" = yes; then
6550 echo "$as_me:$LINENO: result: yes" >&5
6551 echo "${ECHO_T}yes" >&6
6553 echo "$as_me:$LINENO: result: no" >&5
6554 echo "${ECHO_T}no" >&6
6559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6560 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6562 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6563 if test "${enable_gstreamer8+set}" = set; then
6564 enableval="$enable_gstreamer8"
6566 if test "$enableval" = yes; then
6567 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
6569 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
6574 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6575 if test "x$LINE" != x ; then
6576 eval "DEFAULT_$LINE"
6581 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8
='$DEFAULT_wxUSE_GSTREAMER8
6585 eval "$ac_cv_use_gstreamer8"
6586 if test "$no_cache" != 1; then
6587 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6590 if test "$wxUSE_GSTREAMER8" = yes; then
6591 echo "$as_me:$LINENO: result: yes" >&5
6592 echo "${ECHO_T}yes" >&6
6594 echo "$as_me:$LINENO: result: no" >&5
6595 echo "${ECHO_T}no" >&6
6600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6601 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6603 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6604 if test "${enable_printfposparam+set}" = set; then
6605 enableval="$enable_printfposparam"
6607 if test "$enableval" = yes; then
6608 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
6610 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
6615 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6616 if test "x$LINE" != x ; then
6617 eval "DEFAULT_$LINE"
6622 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6626 eval "$ac_cv_use_printfposparam"
6627 if test "$no_cache" != 1; then
6628 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6631 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6632 echo "$as_me:$LINENO: result: yes" >&5
6633 echo "${ECHO_T}yes" >&6
6635 echo "$as_me:$LINENO: result: no" >&5
6636 echo "${ECHO_T}no" >&6
6641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6642 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6644 # Check whether --enable-zipstream or --disable-zipstream was given.
6645 if test "${enable_zipstream+set}" = set; then
6646 enableval="$enable_zipstream"
6648 if test "$enableval" = yes; then
6649 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
6651 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
6656 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6657 if test "x$LINE" != x ; then
6658 eval "DEFAULT_$LINE"
6663 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
6667 eval "$ac_cv_use_zipstream"
6668 if test "$no_cache" != 1; then
6669 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6672 if test "$wxUSE_ZIPSTREAM" = yes; then
6673 echo "$as_me:$LINENO: result: yes" >&5
6674 echo "${ECHO_T}yes" >&6
6676 echo "$as_me:$LINENO: result: no" >&5
6677 echo "${ECHO_T}no" >&6
6683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6684 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6686 # Check whether --enable-url or --disable-url was given.
6687 if test "${enable_url+set}" = set; then
6688 enableval="$enable_url"
6690 if test "$enableval" = yes; then
6691 ac_cv_use_url='wxUSE_URL
=yes'
6693 ac_cv_use_url='wxUSE_URL
=no
'
6698 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6699 if test "x$LINE" != x ; then
6700 eval "DEFAULT_$LINE"
6705 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
6709 eval "$ac_cv_use_url"
6710 if test "$no_cache" != 1; then
6711 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6714 if test "$wxUSE_URL" = yes; then
6715 echo "$as_me:$LINENO: result: yes" >&5
6716 echo "${ECHO_T}yes" >&6
6718 echo "$as_me:$LINENO: result: no" >&5
6719 echo "${ECHO_T}no" >&6
6724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6725 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6727 # Check whether --enable-variant or --disable-variant was given.
6728 if test "${enable_variant+set}" = set; then
6729 enableval="$enable_variant"
6731 if test "$enableval" = yes; then
6732 ac_cv_use_variant='wxUSE_VARIANT
=yes'
6734 ac_cv_use_variant='wxUSE_VARIANT
=no
'
6739 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6740 if test "x$LINE" != x ; then
6741 eval "DEFAULT_$LINE"
6746 ac_cv_use_variant='wxUSE_VARIANT
='$DEFAULT_wxUSE_VARIANT
6750 eval "$ac_cv_use_variant"
6751 if test "$no_cache" != 1; then
6752 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6755 if test "$wxUSE_VARIANT" = yes; then
6756 echo "$as_me:$LINENO: result: yes" >&5
6757 echo "${ECHO_T}yes" >&6
6759 echo "$as_me:$LINENO: result: no" >&5
6760 echo "${ECHO_T}no" >&6
6765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6766 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6768 # Check whether --enable-protocol or --disable-protocol was given.
6769 if test "${enable_protocol+set}" = set; then
6770 enableval="$enable_protocol"
6772 if test "$enableval" = yes; then
6773 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
6775 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
6780 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6781 if test "x$LINE" != x ; then
6782 eval "DEFAULT_$LINE"
6787 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
6791 eval "$ac_cv_use_protocol"
6792 if test "$no_cache" != 1; then
6793 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6796 if test "$wxUSE_PROTOCOL" = yes; then
6797 echo "$as_me:$LINENO: result: yes" >&5
6798 echo "${ECHO_T}yes" >&6
6800 echo "$as_me:$LINENO: result: no" >&5
6801 echo "${ECHO_T}no" >&6
6806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6807 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6809 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6810 if test "${enable_protocol_http+set}" = set; then
6811 enableval="$enable_protocol_http"
6813 if test "$enableval" = yes; then
6814 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
6816 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
6821 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6822 if test "x$LINE" != x ; then
6823 eval "DEFAULT_$LINE"
6828 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
6832 eval "$ac_cv_use_protocol_http"
6833 if test "$no_cache" != 1; then
6834 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6837 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6838 echo "$as_me:$LINENO: result: yes" >&5
6839 echo "${ECHO_T}yes" >&6
6841 echo "$as_me:$LINENO: result: no" >&5
6842 echo "${ECHO_T}no" >&6
6847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6848 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6850 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6851 if test "${enable_protocol_ftp+set}" = set; then
6852 enableval="$enable_protocol_ftp"
6854 if test "$enableval" = yes; then
6855 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
6857 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
6862 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6863 if test "x$LINE" != x ; then
6864 eval "DEFAULT_$LINE"
6869 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
6873 eval "$ac_cv_use_protocol_ftp"
6874 if test "$no_cache" != 1; then
6875 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6878 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6879 echo "$as_me:$LINENO: result: yes" >&5
6880 echo "${ECHO_T}yes" >&6
6882 echo "$as_me:$LINENO: result: no" >&5
6883 echo "${ECHO_T}no" >&6
6888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6889 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6891 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6892 if test "${enable_protocol_file+set}" = set; then
6893 enableval="$enable_protocol_file"
6895 if test "$enableval" = yes; then
6896 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
6898 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
6903 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6904 if test "x$LINE" != x ; then
6905 eval "DEFAULT_$LINE"
6910 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
6914 eval "$ac_cv_use_protocol_file"
6915 if test "$no_cache" != 1; then
6916 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6919 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6920 echo "$as_me:$LINENO: result: yes" >&5
6921 echo "${ECHO_T}yes" >&6
6923 echo "$as_me:$LINENO: result: no" >&5
6924 echo "${ECHO_T}no" >&6
6932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6933 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6935 # Check whether --enable-threads or --disable-threads was given.
6936 if test "${enable_threads+set}" = set; then
6937 enableval="$enable_threads"
6939 if test "$enableval" = yes; then
6940 ac_cv_use_threads='wxUSE_THREADS
=yes'
6942 ac_cv_use_threads='wxUSE_THREADS
=no
'
6947 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6948 if test "x$LINE" != x ; then
6949 eval "DEFAULT_$LINE"
6954 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
6958 eval "$ac_cv_use_threads"
6959 if test "$no_cache" != 1; then
6960 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6963 if test "$wxUSE_THREADS" = yes; then
6964 echo "$as_me:$LINENO: result: yes" >&5
6965 echo "${ECHO_T}yes" >&6
6967 echo "$as_me:$LINENO: result: no" >&5
6968 echo "${ECHO_T}no" >&6
6972 if test "$wxUSE_GUI" = "yes"; then
6977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6978 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6980 # Check whether --enable-docview or --disable-docview was given.
6981 if test "${enable_docview+set}" = set; then
6982 enableval="$enable_docview"
6984 if test "$enableval" = yes; then
6985 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
6987 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
6992 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6993 if test "x$LINE" != x ; then
6994 eval "DEFAULT_$LINE"
6999 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7003 eval "$ac_cv_use_docview"
7004 if test "$no_cache" != 1; then
7005 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7008 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7009 echo "$as_me:$LINENO: result: yes" >&5
7010 echo "${ECHO_T}yes" >&6
7012 echo "$as_me:$LINENO: result: no" >&5
7013 echo "${ECHO_T}no" >&6
7018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7019 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7021 # Check whether --enable-help or --disable-help was given.
7022 if test "${enable_help+set}" = set; then
7023 enableval="$enable_help"
7025 if test "$enableval" = yes; then
7026 ac_cv_use_help='wxUSE_HELP
=yes'
7028 ac_cv_use_help='wxUSE_HELP
=no
'
7033 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7034 if test "x$LINE" != x ; then
7035 eval "DEFAULT_$LINE"
7040 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
7044 eval "$ac_cv_use_help"
7045 if test "$no_cache" != 1; then
7046 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7049 if test "$wxUSE_HELP" = yes; then
7050 echo "$as_me:$LINENO: result: yes" >&5
7051 echo "${ECHO_T}yes" >&6
7053 echo "$as_me:$LINENO: result: no" >&5
7054 echo "${ECHO_T}no" >&6
7059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7060 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7062 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7063 if test "${enable_mshtmlhelp+set}" = set; then
7064 enableval="$enable_mshtmlhelp"
7066 if test "$enableval" = yes; then
7067 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
7069 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
7074 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7075 if test "x$LINE" != x ; then
7076 eval "DEFAULT_$LINE"
7081 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
7085 eval "$ac_cv_use_mshtmlhelp"
7086 if test "$no_cache" != 1; then
7087 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7090 if test "$wxUSE_MS_HTML_HELP" = yes; then
7091 echo "$as_me:$LINENO: result: yes" >&5
7092 echo "${ECHO_T}yes" >&6
7094 echo "$as_me:$LINENO: result: no" >&5
7095 echo "${ECHO_T}no" >&6
7100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7101 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7103 # Check whether --enable-html or --disable-html was given.
7104 if test "${enable_html+set}" = set; then
7105 enableval="$enable_html"
7107 if test "$enableval" = yes; then
7108 ac_cv_use_html='wxUSE_HTML
=yes'
7110 ac_cv_use_html='wxUSE_HTML
=no
'
7115 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7116 if test "x$LINE" != x ; then
7117 eval "DEFAULT_$LINE"
7122 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
7126 eval "$ac_cv_use_html"
7127 if test "$no_cache" != 1; then
7128 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7131 if test "$wxUSE_HTML" = yes; then
7132 echo "$as_me:$LINENO: result: yes" >&5
7133 echo "${ECHO_T}yes" >&6
7135 echo "$as_me:$LINENO: result: no" >&5
7136 echo "${ECHO_T}no" >&6
7141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7142 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7144 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7145 if test "${enable_htmlhelp+set}" = set; then
7146 enableval="$enable_htmlhelp"
7148 if test "$enableval" = yes; then
7149 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
7151 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
7156 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7157 if test "x$LINE" != x ; then
7158 eval "DEFAULT_$LINE"
7163 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
7167 eval "$ac_cv_use_htmlhelp"
7168 if test "$no_cache" != 1; then
7169 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7172 if test "$wxUSE_WXHTML_HELP" = yes; then
7173 echo "$as_me:$LINENO: result: yes" >&5
7174 echo "${ECHO_T}yes" >&6
7176 echo "$as_me:$LINENO: result: no" >&5
7177 echo "${ECHO_T}no" >&6
7182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7183 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7185 # Check whether --enable-xrc or --disable-xrc was given.
7186 if test "${enable_xrc+set}" = set; then
7187 enableval="$enable_xrc"
7189 if test "$enableval" = yes; then
7190 ac_cv_use_xrc='wxUSE_XRC
=yes'
7192 ac_cv_use_xrc='wxUSE_XRC
=no
'
7197 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7198 if test "x$LINE" != x ; then
7199 eval "DEFAULT_$LINE"
7204 ac_cv_use_xrc='wxUSE_XRC
='$DEFAULT_wxUSE_XRC
7208 eval "$ac_cv_use_xrc"
7209 if test "$no_cache" != 1; then
7210 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7213 if test "$wxUSE_XRC" = yes; then
7214 echo "$as_me:$LINENO: result: yes" >&5
7215 echo "${ECHO_T}yes" >&6
7217 echo "$as_me:$LINENO: result: no" >&5
7218 echo "${ECHO_T}no" >&6
7223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7224 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7226 # Check whether --enable-aui or --disable-aui was given.
7227 if test "${enable_aui+set}" = set; then
7228 enableval="$enable_aui"
7230 if test "$enableval" = yes; then
7231 ac_cv_use_aui='wxUSE_AUI
=yes'
7233 ac_cv_use_aui='wxUSE_AUI
=no
'
7238 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7239 if test "x$LINE" != x ; then
7240 eval "DEFAULT_$LINE"
7245 ac_cv_use_aui='wxUSE_AUI
='$DEFAULT_wxUSE_AUI
7249 eval "$ac_cv_use_aui"
7250 if test "$no_cache" != 1; then
7251 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7254 if test "$wxUSE_AUI" = yes; then
7255 echo "$as_me:$LINENO: result: yes" >&5
7256 echo "${ECHO_T}yes" >&6
7258 echo "$as_me:$LINENO: result: no" >&5
7259 echo "${ECHO_T}no" >&6
7264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7265 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7267 # Check whether --enable-constraints or --disable-constraints was given.
7268 if test "${enable_constraints+set}" = set; then
7269 enableval="$enable_constraints"
7271 if test "$enableval" = yes; then
7272 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
7274 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
7279 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7280 if test "x$LINE" != x ; then
7281 eval "DEFAULT_$LINE"
7286 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
7290 eval "$ac_cv_use_constraints"
7291 if test "$no_cache" != 1; then
7292 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7295 if test "$wxUSE_CONSTRAINTS" = yes; then
7296 echo "$as_me:$LINENO: result: yes" >&5
7297 echo "${ECHO_T}yes" >&6
7299 echo "$as_me:$LINENO: result: no" >&5
7300 echo "${ECHO_T}no" >&6
7305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7306 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7308 # Check whether --enable-printarch or --disable-printarch was given.
7309 if test "${enable_printarch+set}" = set; then
7310 enableval="$enable_printarch"
7312 if test "$enableval" = yes; then
7313 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
7315 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
7320 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7321 if test "x$LINE" != x ; then
7322 eval "DEFAULT_$LINE"
7327 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7331 eval "$ac_cv_use_printarch"
7332 if test "$no_cache" != 1; then
7333 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7336 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7337 echo "$as_me:$LINENO: result: yes" >&5
7338 echo "${ECHO_T}yes" >&6
7340 echo "$as_me:$LINENO: result: no" >&5
7341 echo "${ECHO_T}no" >&6
7346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7347 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7349 # Check whether --enable-mdi or --disable-mdi was given.
7350 if test "${enable_mdi+set}" = set; then
7351 enableval="$enable_mdi"
7353 if test "$enableval" = yes; then
7354 ac_cv_use_mdi='wxUSE_MDI
=yes'
7356 ac_cv_use_mdi='wxUSE_MDI
=no
'
7361 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7362 if test "x$LINE" != x ; then
7363 eval "DEFAULT_$LINE"
7368 ac_cv_use_mdi='wxUSE_MDI
='$DEFAULT_wxUSE_MDI
7372 eval "$ac_cv_use_mdi"
7373 if test "$no_cache" != 1; then
7374 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7377 if test "$wxUSE_MDI" = yes; then
7378 echo "$as_me:$LINENO: result: yes" >&5
7379 echo "${ECHO_T}yes" >&6
7381 echo "$as_me:$LINENO: result: no" >&5
7382 echo "${ECHO_T}no" >&6
7387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7388 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7390 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7391 if test "${enable_mdidoc+set}" = set; then
7392 enableval="$enable_mdidoc"
7394 if test "$enableval" = yes; then
7395 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
7397 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
7402 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7403 if test "x$LINE" != x ; then
7404 eval "DEFAULT_$LINE"
7409 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7413 eval "$ac_cv_use_mdidoc"
7414 if test "$no_cache" != 1; then
7415 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7418 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7419 echo "$as_me:$LINENO: result: yes" >&5
7420 echo "${ECHO_T}yes" >&6
7422 echo "$as_me:$LINENO: result: no" >&5
7423 echo "${ECHO_T}no" >&6
7428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7429 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7431 # Check whether --enable-loggui or --disable-loggui was given.
7432 if test "${enable_loggui+set}" = set; then
7433 enableval="$enable_loggui"
7435 if test "$enableval" = yes; then
7436 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
7438 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
7443 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7444 if test "x$LINE" != x ; then
7445 eval "DEFAULT_$LINE"
7450 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
7454 eval "$ac_cv_use_loggui"
7455 if test "$no_cache" != 1; then
7456 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7459 if test "$wxUSE_LOGGUI" = yes; then
7460 echo "$as_me:$LINENO: result: yes" >&5
7461 echo "${ECHO_T}yes" >&6
7463 echo "$as_me:$LINENO: result: no" >&5
7464 echo "${ECHO_T}no" >&6
7469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7470 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7472 # Check whether --enable-logwin or --disable-logwin was given.
7473 if test "${enable_logwin+set}" = set; then
7474 enableval="$enable_logwin"
7476 if test "$enableval" = yes; then
7477 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
7479 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
7484 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7485 if test "x$LINE" != x ; then
7486 eval "DEFAULT_$LINE"
7491 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
7495 eval "$ac_cv_use_logwin"
7496 if test "$no_cache" != 1; then
7497 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7500 if test "$wxUSE_LOGWINDOW" = yes; then
7501 echo "$as_me:$LINENO: result: yes" >&5
7502 echo "${ECHO_T}yes" >&6
7504 echo "$as_me:$LINENO: result: no" >&5
7505 echo "${ECHO_T}no" >&6
7510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7511 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7513 # Check whether --enable-logdialog or --disable-logdialog was given.
7514 if test "${enable_logdialog+set}" = set; then
7515 enableval="$enable_logdialog"
7517 if test "$enableval" = yes; then
7518 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
7520 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
7525 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7526 if test "x$LINE" != x ; then
7527 eval "DEFAULT_$LINE"
7532 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
7536 eval "$ac_cv_use_logdialog"
7537 if test "$no_cache" != 1; then
7538 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7541 if test "$wxUSE_LOGDIALOG" = yes; then
7542 echo "$as_me:$LINENO: result: yes" >&5
7543 echo "${ECHO_T}yes" >&6
7545 echo "$as_me:$LINENO: result: no" >&5
7546 echo "${ECHO_T}no" >&6
7551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7552 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7554 # Check whether --enable-webkit or --disable-webkit was given.
7555 if test "${enable_webkit+set}" = set; then
7556 enableval="$enable_webkit"
7558 if test "$enableval" = yes; then
7559 ac_cv_use_webkit='wxUSE_WEBKIT
=yes'
7561 ac_cv_use_webkit='wxUSE_WEBKIT
=no
'
7566 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7567 if test "x$LINE" != x ; then
7568 eval "DEFAULT_$LINE"
7573 ac_cv_use_webkit='wxUSE_WEBKIT
='$DEFAULT_wxUSE_WEBKIT
7577 eval "$ac_cv_use_webkit"
7578 if test "$no_cache" != 1; then
7579 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7582 if test "$wxUSE_WEBKIT" = yes; then
7583 echo "$as_me:$LINENO: result: yes" >&5
7584 echo "${ECHO_T}yes" >&6
7586 echo "$as_me:$LINENO: result: no" >&5
7587 echo "${ECHO_T}no" >&6
7592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7593 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7595 # Check whether --enable-richtext or --disable-richtext was given.
7596 if test "${enable_richtext+set}" = set; then
7597 enableval="$enable_richtext"
7599 if test "$enableval" = yes; then
7600 ac_cv_use_richtext='wxUSE_RICHTEXT
=yes'
7602 ac_cv_use_richtext='wxUSE_RICHTEXT
=no
'
7607 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7608 if test "x$LINE" != x ; then
7609 eval "DEFAULT_$LINE"
7614 ac_cv_use_richtext='wxUSE_RICHTEXT
='$DEFAULT_wxUSE_RICHTEXT
7618 eval "$ac_cv_use_richtext"
7619 if test "$no_cache" != 1; then
7620 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7623 if test "$wxUSE_RICHTEXT" = yes; then
7624 echo "$as_me:$LINENO: result: yes" >&5
7625 echo "${ECHO_T}yes" >&6
7627 echo "$as_me:$LINENO: result: no" >&5
7628 echo "${ECHO_T}no" >&6
7633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7634 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7636 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7637 if test "${enable_graphics_ctx+set}" = set; then
7638 enableval="$enable_graphics_ctx"
7640 if test "$enableval" = yes; then
7641 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
7643 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
7648 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7649 if test "x$LINE" != x ; then
7650 eval "DEFAULT_$LINE"
7655 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7659 eval "$ac_cv_use_graphics_ctx"
7660 if test "$no_cache" != 1; then
7661 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7664 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7665 echo "$as_me:$LINENO: result: yes" >&5
7666 echo "${ECHO_T}yes" >&6
7668 echo "$as_me:$LINENO: result: no" >&5
7669 echo "${ECHO_T}no" >&6
7675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7676 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7678 # Check whether --enable-postscript or --disable-postscript was given.
7679 if test "${enable_postscript+set}" = set; then
7680 enableval="$enable_postscript"
7682 if test "$enableval" = yes; then
7683 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
7685 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
7690 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7691 if test "x$LINE" != x ; then
7692 eval "DEFAULT_$LINE"
7697 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
7701 eval "$ac_cv_use_postscript"
7702 if test "$no_cache" != 1; then
7703 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7706 if test "$wxUSE_POSTSCRIPT" = yes; then
7707 echo "$as_me:$LINENO: result: yes" >&5
7708 echo "${ECHO_T}yes" >&6
7710 echo "$as_me:$LINENO: result: no" >&5
7711 echo "${ECHO_T}no" >&6
7719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7720 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7722 # Check whether --enable-prologio or --disable-prologio was given.
7723 if test "${enable_prologio+set}" = set; then
7724 enableval="$enable_prologio"
7726 if test "$enableval" = yes; then
7727 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
7729 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
7734 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7735 if test "x$LINE" != x ; then
7736 eval "DEFAULT_$LINE"
7741 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
7745 eval "$ac_cv_use_prologio"
7746 if test "$no_cache" != 1; then
7747 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7750 if test "$wxUSE_PROLOGIO" = yes; then
7751 echo "$as_me:$LINENO: result: yes" >&5
7752 echo "${ECHO_T}yes" >&6
7754 echo "$as_me:$LINENO: result: no" >&5
7755 echo "${ECHO_T}no" >&6
7760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7761 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7763 # Check whether --enable-resources or --disable-resources was given.
7764 if test "${enable_resources+set}" = set; then
7765 enableval="$enable_resources"
7767 if test "$enableval" = yes; then
7768 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
7770 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
7775 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7776 if test "x$LINE" != x ; then
7777 eval "DEFAULT_$LINE"
7782 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
7786 eval "$ac_cv_use_resources"
7787 if test "$no_cache" != 1; then
7788 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7791 if test "$wxUSE_RESOURCES" = yes; then
7792 echo "$as_me:$LINENO: result: yes" >&5
7793 echo "${ECHO_T}yes" >&6
7795 echo "$as_me:$LINENO: result: no" >&5
7796 echo "${ECHO_T}no" >&6
7803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7804 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7806 # Check whether --enable-clipboard or --disable-clipboard was given.
7807 if test "${enable_clipboard+set}" = set; then
7808 enableval="$enable_clipboard"
7810 if test "$enableval" = yes; then
7811 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
7813 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
7818 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7819 if test "x$LINE" != x ; then
7820 eval "DEFAULT_$LINE"
7825 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
7829 eval "$ac_cv_use_clipboard"
7830 if test "$no_cache" != 1; then
7831 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7834 if test "$wxUSE_CLIPBOARD" = yes; then
7835 echo "$as_me:$LINENO: result: yes" >&5
7836 echo "${ECHO_T}yes" >&6
7838 echo "$as_me:$LINENO: result: no" >&5
7839 echo "${ECHO_T}no" >&6
7844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7845 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7847 # Check whether --enable-dnd or --disable-dnd was given.
7848 if test "${enable_dnd+set}" = set; then
7849 enableval="$enable_dnd"
7851 if test "$enableval" = yes; then
7852 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
7854 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
7859 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7860 if test "x$LINE" != x ; then
7861 eval "DEFAULT_$LINE"
7866 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
7870 eval "$ac_cv_use_dnd"
7871 if test "$no_cache" != 1; then
7872 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7875 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7876 echo "$as_me:$LINENO: result: yes" >&5
7877 echo "${ECHO_T}yes" >&6
7879 echo "$as_me:$LINENO: result: no" >&5
7880 echo "${ECHO_T}no" >&6
7885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7886 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7888 # Check whether --enable-metafile or --disable-metafile was given.
7889 if test "${enable_metafile+set}" = set; then
7890 enableval="$enable_metafile"
7892 if test "$enableval" = yes; then
7893 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
7895 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
7900 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7901 if test "x$LINE" != x ; then
7902 eval "DEFAULT_$LINE"
7907 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
7911 eval "$ac_cv_use_metafile"
7912 if test "$no_cache" != 1; then
7913 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7916 if test "$wxUSE_METAFILE" = yes; then
7917 echo "$as_me:$LINENO: result: yes" >&5
7918 echo "${ECHO_T}yes" >&6
7920 echo "$as_me:$LINENO: result: no" >&5
7921 echo "${ECHO_T}no" >&6
7929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7930 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7932 # Check whether --enable-controls or --disable-controls was given.
7933 if test "${enable_controls+set}" = set; then
7934 enableval="$enable_controls"
7936 if test "$enableval" = yes; then
7937 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
7939 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
7944 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7945 if test "x$LINE" != x ; then
7946 eval "DEFAULT_$LINE"
7951 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
7955 eval "$ac_cv_use_controls"
7956 if test "$no_cache" != 1; then
7957 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7960 if test "$wxUSE_CONTROLS" = yes; then
7961 echo "$as_me:$LINENO: result: yes" >&5
7962 echo "${ECHO_T}yes" >&6
7964 echo "$as_me:$LINENO: result: no" >&5
7965 echo "${ECHO_T}no" >&6
7969 if test "$wxUSE_CONTROLS" = "yes"; then
7970 DEFAULT_wxUSE_ACCEL=yes
7971 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7972 DEFAULT_wxUSE_BMPBUTTON=yes
7973 DEFAULT_wxUSE_BUTTON=yes
7974 DEFAULT_wxUSE_CALCTRL=yes
7975 DEFAULT_wxUSE_CARET=yes
7976 DEFAULT_wxUSE_COMBOBOX=yes
7977 DEFAULT_wxUSE_CHECKBOX=yes
7978 DEFAULT_wxUSE_CHECKLISTBOX=yes
7979 DEFAULT_wxUSE_CHOICE=yes
7980 DEFAULT_wxUSE_CHOICEBOOK=yes
7981 DEFAULT_wxUSE_COLLPANE=yes
7982 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7983 DEFAULT_wxUSE_COMBOBOX=yes
7984 DEFAULT_wxUSE_DATEPICKCTRL=yes
7985 DEFAULT_wxUSE_DISPLAY=yes
7986 DEFAULT_wxUSE_DETECT_SM=yes
7987 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7988 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7989 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7990 DEFAULT_wxUSE_GAUGE=yes
7991 DEFAULT_wxUSE_GRID=yes
7992 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7993 DEFAULT_wxUSE_DATAVIEWCTRL=no
7994 DEFAULT_wxUSE_IMAGLIST=yes
7995 DEFAULT_wxUSE_LISTBOOK=yes
7996 DEFAULT_wxUSE_LISTBOX=yes
7997 DEFAULT_wxUSE_LISTCTRL=yes
7998 DEFAULT_wxUSE_NOTEBOOK=yes
7999 DEFAULT_wxUSE_RADIOBOX=yes
8000 DEFAULT_wxUSE_RADIOBTN=yes
8001 DEFAULT_wxUSE_SASH=yes
8002 DEFAULT_wxUSE_SCROLLBAR=yes
8003 DEFAULT_wxUSE_SEARCHCTRL=yes
8004 DEFAULT_wxUSE_SLIDER=yes
8005 DEFAULT_wxUSE_SPINBTN=yes
8006 DEFAULT_wxUSE_SPINCTRL=yes
8007 DEFAULT_wxUSE_SPLITTER=yes
8008 DEFAULT_wxUSE_STATBMP=yes
8009 DEFAULT_wxUSE_STATBOX=yes
8010 DEFAULT_wxUSE_STATLINE=yes
8011 DEFAULT_wxUSE_STATUSBAR=yes
8012 DEFAULT_wxUSE_TAB_DIALOG=yes
8013 DEFAULT_wxUSE_TOGGLEBTN=yes
8014 DEFAULT_wxUSE_TOOLBAR=yes
8015 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8016 DEFAULT_wxUSE_TOOLTIPS=yes
8017 DEFAULT_wxUSE_TREEBOOK=yes
8018 DEFAULT_wxUSE_TOOLBOOK=yes
8019 DEFAULT_wxUSE_TREECTRL=yes
8020 DEFAULT_wxUSE_POPUPWIN=yes
8021 DEFAULT_wxUSE_TIPWINDOW=yes
8022 elif test "$wxUSE_CONTROLS" = "no"; then
8023 DEFAULT_wxUSE_ACCEL=no
8024 DEFAULT_wxUSE_ANIMATIONCTRL=no
8025 DEFAULT_wxUSE_BMPBUTTON=no
8026 DEFAULT_wxUSE_BUTTON=no
8027 DEFAULT_wxUSE_CALCTRL=no
8028 DEFAULT_wxUSE_CARET=no
8029 DEFAULT_wxUSE_COLLPANE=no
8030 DEFAULT_wxUSE_COMBOBOX=no
8031 DEFAULT_wxUSE_CHECKBOX=no
8032 DEFAULT_wxUSE_CHECKLISTBOX=no
8033 DEFAULT_wxUSE_CHOICE=no
8034 DEFAULT_wxUSE_CHOICEBOOK=no
8035 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8036 DEFAULT_wxUSE_COMBOBOX=no
8037 DEFAULT_wxUSE_DATEPICKCTRL=no
8038 DEFAULT_wxUSE_DISPLAY=no
8039 DEFAULT_wxUSE_DETECT_SM=no
8040 DEFAULT_wxUSE_DIRPICKERCTRL=no
8041 DEFAULT_wxUSE_FILEPICKERCTRL=no
8042 DEFAULT_wxUSE_FONTPICKERCTRL=no
8043 DEFAULT_wxUSE_GAUGE=no
8044 DEFAULT_wxUSE_GRID=no
8045 DEFAULT_wxUSE_HYPERLINKCTRL=no
8046 DEFAULT_wxUSE_DATAVIEWCTRL=no
8047 DEFAULT_wxUSE_IMAGLIST=no
8048 DEFAULT_wxUSE_LISTBOOK=no
8049 DEFAULT_wxUSE_LISTBOX=no
8050 DEFAULT_wxUSE_LISTCTRL=no
8051 DEFAULT_wxUSE_NOTEBOOK=no
8052 DEFAULT_wxUSE_RADIOBOX=no
8053 DEFAULT_wxUSE_RADIOBTN=no
8054 DEFAULT_wxUSE_SASH=no
8055 DEFAULT_wxUSE_SCROLLBAR=no
8056 DEFAULT_wxUSE_SEARCHCTRL=no
8057 DEFAULT_wxUSE_SLIDER=no
8058 DEFAULT_wxUSE_SPINBTN=no
8059 DEFAULT_wxUSE_SPINCTRL=no
8060 DEFAULT_wxUSE_SPLITTER=no
8061 DEFAULT_wxUSE_STATBMP=no
8062 DEFAULT_wxUSE_STATBOX=no
8063 DEFAULT_wxUSE_STATLINE=no
8064 DEFAULT_wxUSE_STATUSBAR=no
8065 DEFAULT_wxUSE_TAB_DIALOG=no
8066 DEFAULT_wxUSE_TOGGLEBTN=no
8067 DEFAULT_wxUSE_TOOLBAR=no
8068 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8069 DEFAULT_wxUSE_TOOLTIPS=no
8070 DEFAULT_wxUSE_TREEBOOK=no
8071 DEFAULT_wxUSE_TOOLBOOK=no
8072 DEFAULT_wxUSE_TREECTRL=no
8073 DEFAULT_wxUSE_POPUPWIN=no
8074 DEFAULT_wxUSE_TIPWINDOW=no
8079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8082 # Check whether --enable-accel or --disable-accel was given.
8083 if test "${enable_accel+set}" = set; then
8084 enableval="$enable_accel"
8086 if test "$enableval" = yes; then
8087 ac_cv_use_accel='wxUSE_ACCEL
=yes'
8089 ac_cv_use_accel='wxUSE_ACCEL
=no
'
8094 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8095 if test "x$LINE" != x ; then
8096 eval "DEFAULT_$LINE"
8101 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
8105 eval "$ac_cv_use_accel"
8106 if test "$no_cache" != 1; then
8107 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8110 if test "$wxUSE_ACCEL" = yes; then
8111 echo "$as_me:$LINENO: result: yes" >&5
8112 echo "${ECHO_T}yes" >&6
8114 echo "$as_me:$LINENO: result: no" >&5
8115 echo "${ECHO_T}no" >&6
8120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8121 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8123 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8124 if test "${enable_animatectrl+set}" = set; then
8125 enableval="$enable_animatectrl"
8127 if test "$enableval" = yes; then
8128 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
8130 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
8135 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8136 if test "x$LINE" != x ; then
8137 eval "DEFAULT_$LINE"
8142 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
='$DEFAULT_wxUSE_ANIMATIONCTRL
8146 eval "$ac_cv_use_animatectrl"
8147 if test "$no_cache" != 1; then
8148 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8151 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8152 echo "$as_me:$LINENO: result: yes" >&5
8153 echo "${ECHO_T}yes" >&6
8155 echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6
8161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8162 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8164 # Check whether --enable-button or --disable-button was given.
8165 if test "${enable_button+set}" = set; then
8166 enableval="$enable_button"
8168 if test "$enableval" = yes; then
8169 ac_cv_use_button='wxUSE_BUTTON
=yes'
8171 ac_cv_use_button='wxUSE_BUTTON
=no
'
8176 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8177 if test "x$LINE" != x ; then
8178 eval "DEFAULT_$LINE"
8183 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
8187 eval "$ac_cv_use_button"
8188 if test "$no_cache" != 1; then
8189 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8192 if test "$wxUSE_BUTTON" = yes; then
8193 echo "$as_me:$LINENO: result: yes" >&5
8194 echo "${ECHO_T}yes" >&6
8196 echo "$as_me:$LINENO: result: no" >&5
8197 echo "${ECHO_T}no" >&6
8202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8203 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8205 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8206 if test "${enable_bmpbutton+set}" = set; then
8207 enableval="$enable_bmpbutton"
8209 if test "$enableval" = yes; then
8210 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
8212 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
8217 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8218 if test "x$LINE" != x ; then
8219 eval "DEFAULT_$LINE"
8224 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
8228 eval "$ac_cv_use_bmpbutton"
8229 if test "$no_cache" != 1; then
8230 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8233 if test "$wxUSE_BMPBUTTON" = yes; then
8234 echo "$as_me:$LINENO: result: yes" >&5
8235 echo "${ECHO_T}yes" >&6
8237 echo "$as_me:$LINENO: result: no" >&5
8238 echo "${ECHO_T}no" >&6
8243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8244 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8246 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8247 if test "${enable_bmpcombobox+set}" = set; then
8248 enableval="$enable_bmpcombobox"
8250 if test "$enableval" = yes; then
8251 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
8253 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
8258 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8259 if test "x$LINE" != x ; then
8260 eval "DEFAULT_$LINE"
8265 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8269 eval "$ac_cv_use_bmpcombobox"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8274 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8275 echo "$as_me:$LINENO: result: yes" >&5
8276 echo "${ECHO_T}yes" >&6
8278 echo "$as_me:$LINENO: result: no" >&5
8279 echo "${ECHO_T}no" >&6
8284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8287 # Check whether --enable-calendar or --disable-calendar was given.
8288 if test "${enable_calendar+set}" = set; then
8289 enableval="$enable_calendar"
8291 if test "$enableval" = yes; then
8292 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
8294 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
8299 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8300 if test "x$LINE" != x ; then
8301 eval "DEFAULT_$LINE"
8306 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
8310 eval "$ac_cv_use_calendar"
8311 if test "$no_cache" != 1; then
8312 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8315 if test "$wxUSE_CALCTRL" = yes; then
8316 echo "$as_me:$LINENO: result: yes" >&5
8317 echo "${ECHO_T}yes" >&6
8319 echo "$as_me:$LINENO: result: no" >&5
8320 echo "${ECHO_T}no" >&6
8325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8326 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8328 # Check whether --enable-caret or --disable-caret was given.
8329 if test "${enable_caret+set}" = set; then
8330 enableval="$enable_caret"
8332 if test "$enableval" = yes; then
8333 ac_cv_use_caret='wxUSE_CARET
=yes'
8335 ac_cv_use_caret='wxUSE_CARET
=no
'
8340 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8341 if test "x$LINE" != x ; then
8342 eval "DEFAULT_$LINE"
8347 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
8351 eval "$ac_cv_use_caret"
8352 if test "$no_cache" != 1; then
8353 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8356 if test "$wxUSE_CARET" = yes; then
8357 echo "$as_me:$LINENO: result: yes" >&5
8358 echo "${ECHO_T}yes" >&6
8360 echo "$as_me:$LINENO: result: no" >&5
8361 echo "${ECHO_T}no" >&6
8366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8369 # Check whether --enable-checkbox or --disable-checkbox was given.
8370 if test "${enable_checkbox+set}" = set; then
8371 enableval="$enable_checkbox"
8373 if test "$enableval" = yes; then
8374 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
8376 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
8381 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8382 if test "x$LINE" != x ; then
8383 eval "DEFAULT_$LINE"
8388 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
8392 eval "$ac_cv_use_checkbox"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8397 if test "$wxUSE_CHECKBOX" = yes; then
8398 echo "$as_me:$LINENO: result: yes" >&5
8399 echo "${ECHO_T}yes" >&6
8401 echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6
8407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8410 # Check whether --enable-checklst or --disable-checklst was given.
8411 if test "${enable_checklst+set}" = set; then
8412 enableval="$enable_checklst"
8414 if test "$enableval" = yes; then
8415 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
8417 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
8422 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8423 if test "x$LINE" != x ; then
8424 eval "DEFAULT_$LINE"
8429 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
8433 eval "$ac_cv_use_checklst"
8434 if test "$no_cache" != 1; then
8435 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8438 if test "$wxUSE_CHECKLST" = yes; then
8439 echo "$as_me:$LINENO: result: yes" >&5
8440 echo "${ECHO_T}yes" >&6
8442 echo "$as_me:$LINENO: result: no" >&5
8443 echo "${ECHO_T}no" >&6
8448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8451 # Check whether --enable-choice or --disable-choice was given.
8452 if test "${enable_choice+set}" = set; then
8453 enableval="$enable_choice"
8455 if test "$enableval" = yes; then
8456 ac_cv_use_choice='wxUSE_CHOICE
=yes'
8458 ac_cv_use_choice='wxUSE_CHOICE
=no
'
8463 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8464 if test "x$LINE" != x ; then
8465 eval "DEFAULT_$LINE"
8470 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
8474 eval "$ac_cv_use_choice"
8475 if test "$no_cache" != 1; then
8476 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8479 if test "$wxUSE_CHOICE" = yes; then
8480 echo "$as_me:$LINENO: result: yes" >&5
8481 echo "${ECHO_T}yes" >&6
8483 echo "$as_me:$LINENO: result: no" >&5
8484 echo "${ECHO_T}no" >&6
8489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8492 # Check whether --enable-choicebook or --disable-choicebook was given.
8493 if test "${enable_choicebook+set}" = set; then
8494 enableval="$enable_choicebook"
8496 if test "$enableval" = yes; then
8497 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
8499 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
8504 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8505 if test "x$LINE" != x ; then
8506 eval "DEFAULT_$LINE"
8511 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
='$DEFAULT_wxUSE_CHOICEBOOK
8515 eval "$ac_cv_use_choicebook"
8516 if test "$no_cache" != 1; then
8517 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8520 if test "$wxUSE_CHOICEBOOK" = yes; then
8521 echo "$as_me:$LINENO: result: yes" >&5
8522 echo "${ECHO_T}yes" >&6
8524 echo "$as_me:$LINENO: result: no" >&5
8525 echo "${ECHO_T}no" >&6
8530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8531 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8533 # Check whether --enable-collpane or --disable-collpane was given.
8534 if test "${enable_collpane+set}" = set; then
8535 enableval="$enable_collpane"
8537 if test "$enableval" = yes; then
8538 ac_cv_use_collpane='wxUSE_COLLPANE
=yes'
8540 ac_cv_use_collpane='wxUSE_COLLPANE
=no
'
8545 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x ; then
8547 eval "DEFAULT_$LINE"
8552 ac_cv_use_collpane='wxUSE_COLLPANE
='$DEFAULT_wxUSE_COLLPANE
8556 eval "$ac_cv_use_collpane"
8557 if test "$no_cache" != 1; then
8558 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8561 if test "$wxUSE_COLLPANE" = yes; then
8562 echo "$as_me:$LINENO: result: yes" >&5
8563 echo "${ECHO_T}yes" >&6
8565 echo "$as_me:$LINENO: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8572 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8574 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8575 if test "${enable_colourpicker+set}" = set; then
8576 enableval="$enable_colourpicker"
8578 if test "$enableval" = yes; then
8579 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
8581 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
8586 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8587 if test "x$LINE" != x ; then
8588 eval "DEFAULT_$LINE"
8593 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
='$DEFAULT_wxUSE_COLOURPICKERCTRL
8597 eval "$ac_cv_use_colourpicker"
8598 if test "$no_cache" != 1; then
8599 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8602 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8603 echo "$as_me:$LINENO: result: yes" >&5
8604 echo "${ECHO_T}yes" >&6
8606 echo "$as_me:$LINENO: result: no" >&5
8607 echo "${ECHO_T}no" >&6
8612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8613 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8615 # Check whether --enable-combobox or --disable-combobox was given.
8616 if test "${enable_combobox+set}" = set; then
8617 enableval="$enable_combobox"
8619 if test "$enableval" = yes; then
8620 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
8622 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
8627 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8628 if test "x$LINE" != x ; then
8629 eval "DEFAULT_$LINE"
8634 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
8638 eval "$ac_cv_use_combobox"
8639 if test "$no_cache" != 1; then
8640 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8643 if test "$wxUSE_COMBOBOX" = yes; then
8644 echo "$as_me:$LINENO: result: yes" >&5
8645 echo "${ECHO_T}yes" >&6
8647 echo "$as_me:$LINENO: result: no" >&5
8648 echo "${ECHO_T}no" >&6
8653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8656 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8657 if test "${enable_comboctrl+set}" = set; then
8658 enableval="$enable_comboctrl"
8660 if test "$enableval" = yes; then
8661 ac_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
8663 ac_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
8668 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x ; then
8670 eval "DEFAULT_$LINE"
8675 ac_cv_use_comboctrl='wxUSE_COMBOCTRL
='$DEFAULT_wxUSE_COMBOCTRL
8679 eval "$ac_cv_use_comboctrl"
8680 if test "$no_cache" != 1; then
8681 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8684 if test "$wxUSE_COMBOCTRL" = yes; then
8685 echo "$as_me:$LINENO: result: yes" >&5
8686 echo "${ECHO_T}yes" >&6
8688 echo "$as_me:$LINENO: result: no" >&5
8689 echo "${ECHO_T}no" >&6
8694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8695 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8697 # Check whether --enable-datepick or --disable-datepick was given.
8698 if test "${enable_datepick+set}" = set; then
8699 enableval="$enable_datepick"
8701 if test "$enableval" = yes; then
8702 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
8704 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
8709 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8710 if test "x$LINE" != x ; then
8711 eval "DEFAULT_$LINE"
8716 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
='$DEFAULT_wxUSE_DATEPICKCTRL
8720 eval "$ac_cv_use_datepick"
8721 if test "$no_cache" != 1; then
8722 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8725 if test "$wxUSE_DATEPICKCTRL" = yes; then
8726 echo "$as_me:$LINENO: result: yes" >&5
8727 echo "${ECHO_T}yes" >&6
8729 echo "$as_me:$LINENO: result: no" >&5
8730 echo "${ECHO_T}no" >&6
8735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8736 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8738 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8739 if test "${enable_dirpicker+set}" = set; then
8740 enableval="$enable_dirpicker"
8742 if test "$enableval" = yes; then
8743 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
8745 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
8750 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8751 if test "x$LINE" != x ; then
8752 eval "DEFAULT_$LINE"
8757 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
='$DEFAULT_wxUSE_DIRPICKERCTRL
8761 eval "$ac_cv_use_dirpicker"
8762 if test "$no_cache" != 1; then
8763 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8766 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8767 echo "$as_me:$LINENO: result: yes" >&5
8768 echo "${ECHO_T}yes" >&6
8770 echo "$as_me:$LINENO: result: no" >&5
8771 echo "${ECHO_T}no" >&6
8776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8777 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8779 # Check whether --enable-display or --disable-display was given.
8780 if test "${enable_display+set}" = set; then
8781 enableval="$enable_display"
8783 if test "$enableval" = yes; then
8784 ac_cv_use_display='wxUSE_DISPLAY
=yes'
8786 ac_cv_use_display='wxUSE_DISPLAY
=no
'
8791 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8792 if test "x$LINE" != x ; then
8793 eval "DEFAULT_$LINE"
8798 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
8802 eval "$ac_cv_use_display"
8803 if test "$no_cache" != 1; then
8804 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8807 if test "$wxUSE_DISPLAY" = yes; then
8808 echo "$as_me:$LINENO: result: yes" >&5
8809 echo "${ECHO_T}yes" >&6
8811 echo "$as_me:$LINENO: result: no" >&5
8812 echo "${ECHO_T}no" >&6
8817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8818 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8820 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8821 if test "${enable_detect_sm+set}" = set; then
8822 enableval="$enable_detect_sm"
8824 if test "$enableval" = yes; then
8825 ac_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
8827 ac_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
8832 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8833 if test "x$LINE" != x ; then
8834 eval "DEFAULT_$LINE"
8839 ac_cv_use_detect_sm='wxUSE_DETECT_SM
='$DEFAULT_wxUSE_DETECT_SM
8843 eval "$ac_cv_use_detect_sm"
8844 if test "$no_cache" != 1; then
8845 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8848 if test "$wxUSE_DETECT_SM" = yes; then
8849 echo "$as_me:$LINENO: result: yes" >&5
8850 echo "${ECHO_T}yes" >&6
8852 echo "$as_me:$LINENO: result: no" >&5
8853 echo "${ECHO_T}no" >&6
8858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8859 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8861 # Check whether --enable-filepicker or --disable-filepicker was given.
8862 if test "${enable_filepicker+set}" = set; then
8863 enableval="$enable_filepicker"
8865 if test "$enableval" = yes; then
8866 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
8868 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
8873 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8874 if test "x$LINE" != x ; then
8875 eval "DEFAULT_$LINE"
8880 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL
='$DEFAULT_wxUSE_FILEPICKERCTRL
8884 eval "$ac_cv_use_filepicker"
8885 if test "$no_cache" != 1; then
8886 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8889 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8890 echo "$as_me:$LINENO: result: yes" >&5
8891 echo "${ECHO_T}yes" >&6
8893 echo "$as_me:$LINENO: result: no" >&5
8894 echo "${ECHO_T}no" >&6
8899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8902 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8903 if test "${enable_fontpicker+set}" = set; then
8904 enableval="$enable_fontpicker"
8906 if test "$enableval" = yes; then
8907 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
8909 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
8914 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8915 if test "x$LINE" != x ; then
8916 eval "DEFAULT_$LINE"
8921 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
='$DEFAULT_wxUSE_FONTPICKERCTRL
8925 eval "$ac_cv_use_fontpicker"
8926 if test "$no_cache" != 1; then
8927 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8930 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8931 echo "$as_me:$LINENO: result: yes" >&5
8932 echo "${ECHO_T}yes" >&6
8934 echo "$as_me:$LINENO: result: no" >&5
8935 echo "${ECHO_T}no" >&6
8940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8943 # Check whether --enable-gauge or --disable-gauge was given.
8944 if test "${enable_gauge+set}" = set; then
8945 enableval="$enable_gauge"
8947 if test "$enableval" = yes; then
8948 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
8950 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
8955 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8956 if test "x$LINE" != x ; then
8957 eval "DEFAULT_$LINE"
8962 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
8966 eval "$ac_cv_use_gauge"
8967 if test "$no_cache" != 1; then
8968 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8971 if test "$wxUSE_GAUGE" = yes; then
8972 echo "$as_me:$LINENO: result: yes" >&5
8973 echo "${ECHO_T}yes" >&6
8975 echo "$as_me:$LINENO: result: no" >&5
8976 echo "${ECHO_T}no" >&6
8981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8984 # Check whether --enable-grid or --disable-grid was given.
8985 if test "${enable_grid+set}" = set; then
8986 enableval="$enable_grid"
8988 if test "$enableval" = yes; then
8989 ac_cv_use_grid='wxUSE_GRID
=yes'
8991 ac_cv_use_grid='wxUSE_GRID
=no
'
8996 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8997 if test "x$LINE" != x ; then
8998 eval "DEFAULT_$LINE"
9003 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
9007 eval "$ac_cv_use_grid"
9008 if test "$no_cache" != 1; then
9009 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9012 if test "$wxUSE_GRID" = yes; then
9013 echo "$as_me:$LINENO: result: yes" >&5
9014 echo "${ECHO_T}yes" >&6
9016 echo "$as_me:$LINENO: result: no" >&5
9017 echo "${ECHO_T}no" >&6
9022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
9025 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
9026 if test "${enable_dataviewctrl+set}" = set; then
9027 enableval="$enable_dataviewctrl"
9029 if test "$enableval" = yes; then
9030 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
9032 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
9037 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x ; then
9039 eval "DEFAULT_$LINE"
9044 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
='$DEFAULT_wxUSE_DATAVIEWCTRL
9048 eval "$ac_cv_use_dataviewctrl"
9049 if test "$no_cache" != 1; then
9050 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9053 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9054 echo "$as_me:$LINENO: result: yes" >&5
9055 echo "${ECHO_T}yes" >&6
9057 echo "$as_me:$LINENO: result: no" >&5
9058 echo "${ECHO_T}no" >&6
9063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9066 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9067 if test "${enable_hyperlink+set}" = set; then
9068 enableval="$enable_hyperlink"
9070 if test "$enableval" = yes; then
9071 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
9073 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
9078 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9079 if test "x$LINE" != x ; then
9080 eval "DEFAULT_$LINE"
9085 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
='$DEFAULT_wxUSE_HYPERLINKCTRL
9089 eval "$ac_cv_use_hyperlink"
9090 if test "$no_cache" != 1; then
9091 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9094 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9095 echo "$as_me:$LINENO: result: yes" >&5
9096 echo "${ECHO_T}yes" >&6
9098 echo "$as_me:$LINENO: result: no" >&5
9099 echo "${ECHO_T}no" >&6
9104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9105 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9107 # Check whether --enable-imaglist or --disable-imaglist was given.
9108 if test "${enable_imaglist+set}" = set; then
9109 enableval="$enable_imaglist"
9111 if test "$enableval" = yes; then
9112 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
9114 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
9119 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9120 if test "x$LINE" != x ; then
9121 eval "DEFAULT_$LINE"
9126 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
9130 eval "$ac_cv_use_imaglist"
9131 if test "$no_cache" != 1; then
9132 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9135 if test "$wxUSE_IMAGLIST" = yes; then
9136 echo "$as_me:$LINENO: result: yes" >&5
9137 echo "${ECHO_T}yes" >&6
9139 echo "$as_me:$LINENO: result: no" >&5
9140 echo "${ECHO_T}no" >&6
9145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9148 # Check whether --enable-listbook or --disable-listbook was given.
9149 if test "${enable_listbook+set}" = set; then
9150 enableval="$enable_listbook"
9152 if test "$enableval" = yes; then
9153 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
9155 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
9160 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9161 if test "x$LINE" != x ; then
9162 eval "DEFAULT_$LINE"
9167 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
9171 eval "$ac_cv_use_listbook"
9172 if test "$no_cache" != 1; then
9173 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9176 if test "$wxUSE_LISTBOOK" = yes; then
9177 echo "$as_me:$LINENO: result: yes" >&5
9178 echo "${ECHO_T}yes" >&6
9180 echo "$as_me:$LINENO: result: no" >&5
9181 echo "${ECHO_T}no" >&6
9186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9189 # Check whether --enable-listbox or --disable-listbox was given.
9190 if test "${enable_listbox+set}" = set; then
9191 enableval="$enable_listbox"
9193 if test "$enableval" = yes; then
9194 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
9196 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
9201 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9202 if test "x$LINE" != x ; then
9203 eval "DEFAULT_$LINE"
9208 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
9212 eval "$ac_cv_use_listbox"
9213 if test "$no_cache" != 1; then
9214 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9217 if test "$wxUSE_LISTBOX" = yes; then
9218 echo "$as_me:$LINENO: result: yes" >&5
9219 echo "${ECHO_T}yes" >&6
9221 echo "$as_me:$LINENO: result: no" >&5
9222 echo "${ECHO_T}no" >&6
9227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9228 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9230 # Check whether --enable-listctrl or --disable-listctrl was given.
9231 if test "${enable_listctrl+set}" = set; then
9232 enableval="$enable_listctrl"
9234 if test "$enableval" = yes; then
9235 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
9237 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
9242 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9243 if test "x$LINE" != x ; then
9244 eval "DEFAULT_$LINE"
9249 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
9253 eval "$ac_cv_use_listctrl"
9254 if test "$no_cache" != 1; then
9255 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9258 if test "$wxUSE_LISTCTRL" = yes; then
9259 echo "$as_me:$LINENO: result: yes" >&5
9260 echo "${ECHO_T}yes" >&6
9262 echo "$as_me:$LINENO: result: no" >&5
9263 echo "${ECHO_T}no" >&6
9268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9271 # Check whether --enable-notebook or --disable-notebook was given.
9272 if test "${enable_notebook+set}" = set; then
9273 enableval="$enable_notebook"
9275 if test "$enableval" = yes; then
9276 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
9278 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
9283 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9284 if test "x$LINE" != x ; then
9285 eval "DEFAULT_$LINE"
9290 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
9294 eval "$ac_cv_use_notebook"
9295 if test "$no_cache" != 1; then
9296 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9299 if test "$wxUSE_NOTEBOOK" = yes; then
9300 echo "$as_me:$LINENO: result: yes" >&5
9301 echo "${ECHO_T}yes" >&6
9303 echo "$as_me:$LINENO: result: no" >&5
9304 echo "${ECHO_T}no" >&6
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9312 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9313 if test "${enable_odcombobox+set}" = set; then
9314 enableval="$enable_odcombobox"
9316 if test "$enableval" = yes; then
9317 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
9319 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
9324 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x ; then
9326 eval "DEFAULT_$LINE"
9331 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
='$DEFAULT_wxUSE_ODCOMBOBOX
9335 eval "$ac_cv_use_odcombobox"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9340 if test "$wxUSE_ODCOMBOBOX" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9344 echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9351 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9353 # Check whether --enable-radiobox or --disable-radiobox was given.
9354 if test "${enable_radiobox+set}" = set; then
9355 enableval="$enable_radiobox"
9357 if test "$enableval" = yes; then
9358 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
9360 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
9365 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x ; then
9367 eval "DEFAULT_$LINE"
9372 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
9376 eval "$ac_cv_use_radiobox"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9381 if test "$wxUSE_RADIOBOX" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9385 echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9394 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9395 if test "${enable_radiobtn+set}" = set; then
9396 enableval="$enable_radiobtn"
9398 if test "$enableval" = yes; then
9399 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
9401 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
9406 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x ; then
9408 eval "DEFAULT_$LINE"
9413 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
9417 eval "$ac_cv_use_radiobtn"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9422 if test "$wxUSE_RADIOBTN" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424 echo "${ECHO_T}yes" >&6
9426 echo "$as_me:$LINENO: result: no" >&5
9427 echo "${ECHO_T}no" >&6
9432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9435 # Check whether --enable-sash or --disable-sash was given.
9436 if test "${enable_sash+set}" = set; then
9437 enableval="$enable_sash"
9439 if test "$enableval" = yes; then
9440 ac_cv_use_sash='wxUSE_SASH
=yes'
9442 ac_cv_use_sash='wxUSE_SASH
=no
'
9447 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x ; then
9449 eval "DEFAULT_$LINE"
9454 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
9458 eval "$ac_cv_use_sash"
9459 if test "$no_cache" != 1; then
9460 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9463 if test "$wxUSE_SASH" = yes; then
9464 echo "$as_me:$LINENO: result: yes" >&5
9465 echo "${ECHO_T}yes" >&6
9467 echo "$as_me:$LINENO: result: no" >&5
9468 echo "${ECHO_T}no" >&6
9473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9474 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9476 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9477 if test "${enable_scrollbar+set}" = set; then
9478 enableval="$enable_scrollbar"
9480 if test "$enableval" = yes; then
9481 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
9483 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
9488 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9489 if test "x$LINE" != x ; then
9490 eval "DEFAULT_$LINE"
9495 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
9499 eval "$ac_cv_use_scrollbar"
9500 if test "$no_cache" != 1; then
9501 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9504 if test "$wxUSE_SCROLLBAR" = yes; then
9505 echo "$as_me:$LINENO: result: yes" >&5
9506 echo "${ECHO_T}yes" >&6
9508 echo "$as_me:$LINENO: result: no" >&5
9509 echo "${ECHO_T}no" >&6
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6
9517 # Check whether --enable-searchctrl or --disable-searchctrl was given.
9518 if test "${enable_searchctrl+set}" = set; then
9519 enableval="$enable_searchctrl"
9521 if test "$enableval" = yes; then
9522 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
9524 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
9529 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x ; then
9531 eval "DEFAULT_$LINE"
9536 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL
='$DEFAULT_wxUSE_SEARCHCTRL
9540 eval "$ac_cv_use_searchctrl"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
9545 if test "$wxUSE_SEARCHCTRL" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9556 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9558 # Check whether --enable-slider or --disable-slider was given.
9559 if test "${enable_slider+set}" = set; then
9560 enableval="$enable_slider"
9562 if test "$enableval" = yes; then
9563 ac_cv_use_slider='wxUSE_SLIDER
=yes'
9565 ac_cv_use_slider='wxUSE_SLIDER
=no
'
9570 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x ; then
9572 eval "DEFAULT_$LINE"
9577 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
9581 eval "$ac_cv_use_slider"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9586 if test "$wxUSE_SLIDER" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588 echo "${ECHO_T}yes" >&6
9590 echo "$as_me:$LINENO: result: no" >&5
9591 echo "${ECHO_T}no" >&6
9596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9597 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9599 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9600 if test "${enable_spinbtn+set}" = set; then
9601 enableval="$enable_spinbtn"
9603 if test "$enableval" = yes; then
9604 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
9606 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
9611 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9612 if test "x$LINE" != x ; then
9613 eval "DEFAULT_$LINE"
9618 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
9622 eval "$ac_cv_use_spinbtn"
9623 if test "$no_cache" != 1; then
9624 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9627 if test "$wxUSE_SPINBTN" = yes; then
9628 echo "$as_me:$LINENO: result: yes" >&5
9629 echo "${ECHO_T}yes" >&6
9631 echo "$as_me:$LINENO: result: no" >&5
9632 echo "${ECHO_T}no" >&6
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9640 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9641 if test "${enable_spinctrl+set}" = set; then
9642 enableval="$enable_spinctrl"
9644 if test "$enableval" = yes; then
9645 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
9647 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
9652 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x ; then
9654 eval "DEFAULT_$LINE"
9659 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
9663 eval "$ac_cv_use_spinctrl"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9668 if test "$wxUSE_SPINCTRL" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670 echo "${ECHO_T}yes" >&6
9672 echo "$as_me:$LINENO: result: no" >&5
9673 echo "${ECHO_T}no" >&6
9678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9679 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9681 # Check whether --enable-splitter or --disable-splitter was given.
9682 if test "${enable_splitter+set}" = set; then
9683 enableval="$enable_splitter"
9685 if test "$enableval" = yes; then
9686 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
9688 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
9693 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9694 if test "x$LINE" != x ; then
9695 eval "DEFAULT_$LINE"
9700 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
9704 eval "$ac_cv_use_splitter"
9705 if test "$no_cache" != 1; then
9706 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9709 if test "$wxUSE_SPLITTER" = yes; then
9710 echo "$as_me:$LINENO: result: yes" >&5
9711 echo "${ECHO_T}yes" >&6
9713 echo "$as_me:$LINENO: result: no" >&5
9714 echo "${ECHO_T}no" >&6
9719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9720 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9722 # Check whether --enable-statbmp or --disable-statbmp was given.
9723 if test "${enable_statbmp+set}" = set; then
9724 enableval="$enable_statbmp"
9726 if test "$enableval" = yes; then
9727 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
9729 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
9734 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9735 if test "x$LINE" != x ; then
9736 eval "DEFAULT_$LINE"
9741 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
9745 eval "$ac_cv_use_statbmp"
9746 if test "$no_cache" != 1; then
9747 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9750 if test "$wxUSE_STATBMP" = yes; then
9751 echo "$as_me:$LINENO: result: yes" >&5
9752 echo "${ECHO_T}yes" >&6
9754 echo "$as_me:$LINENO: result: no" >&5
9755 echo "${ECHO_T}no" >&6
9760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9761 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9763 # Check whether --enable-statbox or --disable-statbox was given.
9764 if test "${enable_statbox+set}" = set; then
9765 enableval="$enable_statbox"
9767 if test "$enableval" = yes; then
9768 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
9770 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
9775 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9776 if test "x$LINE" != x ; then
9777 eval "DEFAULT_$LINE"
9782 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
9786 eval "$ac_cv_use_statbox"
9787 if test "$no_cache" != 1; then
9788 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9791 if test "$wxUSE_STATBOX" = yes; then
9792 echo "$as_me:$LINENO: result: yes" >&5
9793 echo "${ECHO_T}yes" >&6
9795 echo "$as_me:$LINENO: result: no" >&5
9796 echo "${ECHO_T}no" >&6
9801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9802 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9804 # Check whether --enable-statline or --disable-statline was given.
9805 if test "${enable_statline+set}" = set; then
9806 enableval="$enable_statline"
9808 if test "$enableval" = yes; then
9809 ac_cv_use_statline='wxUSE_STATLINE
=yes'
9811 ac_cv_use_statline='wxUSE_STATLINE
=no
'
9816 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9817 if test "x$LINE" != x ; then
9818 eval "DEFAULT_$LINE"
9823 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
9827 eval "$ac_cv_use_statline"
9828 if test "$no_cache" != 1; then
9829 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9832 if test "$wxUSE_STATLINE" = yes; then
9833 echo "$as_me:$LINENO: result: yes" >&5
9834 echo "${ECHO_T}yes" >&6
9836 echo "$as_me:$LINENO: result: no" >&5
9837 echo "${ECHO_T}no" >&6
9842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9843 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9845 # Check whether --enable-stattext or --disable-stattext was given.
9846 if test "${enable_stattext+set}" = set; then
9847 enableval="$enable_stattext"
9849 if test "$enableval" = yes; then
9850 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
9852 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
9857 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9858 if test "x$LINE" != x ; then
9859 eval "DEFAULT_$LINE"
9864 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
9868 eval "$ac_cv_use_stattext"
9869 if test "$no_cache" != 1; then
9870 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9873 if test "$wxUSE_STATTEXT" = yes; then
9874 echo "$as_me:$LINENO: result: yes" >&5
9875 echo "${ECHO_T}yes" >&6
9877 echo "$as_me:$LINENO: result: no" >&5
9878 echo "${ECHO_T}no" >&6
9883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9884 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9886 # Check whether --enable-statusbar or --disable-statusbar was given.
9887 if test "${enable_statusbar+set}" = set; then
9888 enableval="$enable_statusbar"
9890 if test "$enableval" = yes; then
9891 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
9893 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
9898 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9899 if test "x$LINE" != x ; then
9900 eval "DEFAULT_$LINE"
9905 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
9909 eval "$ac_cv_use_statusbar"
9910 if test "$no_cache" != 1; then
9911 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9914 if test "$wxUSE_STATUSBAR" = yes; then
9915 echo "$as_me:$LINENO: result: yes" >&5
9916 echo "${ECHO_T}yes" >&6
9918 echo "$as_me:$LINENO: result: no" >&5
9919 echo "${ECHO_T}no" >&6
9924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9925 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9927 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9928 if test "${enable_tabdialog+set}" = set; then
9929 enableval="$enable_tabdialog"
9931 if test "$enableval" = yes; then
9932 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
9934 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
9939 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9940 if test "x$LINE" != x ; then
9941 eval "DEFAULT_$LINE"
9946 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
='$DEFAULT_wxUSE_TAB_DIALOG
9950 eval "$ac_cv_use_tabdialog"
9951 if test "$no_cache" != 1; then
9952 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9955 if test "$wxUSE_TAB_DIALOG" = yes; then
9956 echo "$as_me:$LINENO: result: yes" >&5
9957 echo "${ECHO_T}yes" >&6
9959 echo "$as_me:$LINENO: result: no" >&5
9960 echo "${ECHO_T}no" >&6
9965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9966 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9968 # Check whether --enable-textctrl or --disable-textctrl was given.
9969 if test "${enable_textctrl+set}" = set; then
9970 enableval="$enable_textctrl"
9972 if test "$enableval" = yes; then
9973 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
9975 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
9980 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9981 if test "x$LINE" != x ; then
9982 eval "DEFAULT_$LINE"
9987 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
9991 eval "$ac_cv_use_textctrl"
9992 if test "$no_cache" != 1; then
9993 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9996 if test "$wxUSE_TEXTCTRL" = yes; then
9997 echo "$as_me:$LINENO: result: yes" >&5
9998 echo "${ECHO_T}yes" >&6
10000 echo "$as_me:$LINENO: result: no" >&5
10001 echo "${ECHO_T}no" >&6
10006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10007 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
10009 # Check whether --enable-togglebtn or --disable-togglebtn was given.
10010 if test "${enable_togglebtn+set}" = set; then
10011 enableval="$enable_togglebtn"
10013 if test "$enableval" = yes; then
10014 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
10016 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
10021 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10022 if test "x$LINE" != x ; then
10023 eval "DEFAULT_$LINE"
10028 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
10032 eval "$ac_cv_use_togglebtn"
10033 if test "$no_cache" != 1; then
10034 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10037 if test "$wxUSE_TOGGLEBTN" = yes; then
10038 echo "$as_me:$LINENO: result: yes" >&5
10039 echo "${ECHO_T}yes" >&6
10041 echo "$as_me:$LINENO: result: no" >&5
10042 echo "${ECHO_T}no" >&6
10047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10048 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
10050 # Check whether --enable-toolbar or --disable-toolbar was given.
10051 if test "${enable_toolbar+set}" = set; then
10052 enableval="$enable_toolbar"
10054 if test "$enableval" = yes; then
10055 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
10057 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
10062 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10063 if test "x$LINE" != x ; then
10064 eval "DEFAULT_$LINE"
10069 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
10073 eval "$ac_cv_use_toolbar"
10074 if test "$no_cache" != 1; then
10075 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10078 if test "$wxUSE_TOOLBAR" = yes; then
10079 echo "$as_me:$LINENO: result: yes" >&5
10080 echo "${ECHO_T}yes" >&6
10082 echo "$as_me:$LINENO: result: no" >&5
10083 echo "${ECHO_T}no" >&6
10088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10089 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10091 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10092 if test "${enable_tbarnative+set}" = set; then
10093 enableval="$enable_tbarnative"
10095 if test "$enableval" = yes; then
10096 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
10098 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
10103 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10104 if test "x$LINE" != x ; then
10105 eval "DEFAULT_$LINE"
10110 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10114 eval "$ac_cv_use_tbarnative"
10115 if test "$no_cache" != 1; then
10116 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10119 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10120 echo "$as_me:$LINENO: result: yes" >&5
10121 echo "${ECHO_T}yes" >&6
10123 echo "$as_me:$LINENO: result: no" >&5
10124 echo "${ECHO_T}no" >&6
10129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10130 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10132 # Check whether --enable-treebook or --disable-treebook was given.
10133 if test "${enable_treebook+set}" = set; then
10134 enableval="$enable_treebook"
10136 if test "$enableval" = yes; then
10137 ac_cv_use_treebook='wxUSE_TREEBOOK
=yes'
10139 ac_cv_use_treebook='wxUSE_TREEBOOK
=no
'
10144 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10145 if test "x$LINE" != x ; then
10146 eval "DEFAULT_$LINE"
10151 ac_cv_use_treebook='wxUSE_TREEBOOK
='$DEFAULT_wxUSE_TREEBOOK
10155 eval "$ac_cv_use_treebook"
10156 if test "$no_cache" != 1; then
10157 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10160 if test "$wxUSE_TREEBOOK" = yes; then
10161 echo "$as_me:$LINENO: result: yes" >&5
10162 echo "${ECHO_T}yes" >&6
10164 echo "$as_me:$LINENO: result: no" >&5
10165 echo "${ECHO_T}no" >&6
10170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10171 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10173 # Check whether --enable-toolbook or --disable-toolbook was given.
10174 if test "${enable_toolbook+set}" = set; then
10175 enableval="$enable_toolbook"
10177 if test "$enableval" = yes; then
10178 ac_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
10180 ac_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
10185 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10186 if test "x$LINE" != x ; then
10187 eval "DEFAULT_$LINE"
10192 ac_cv_use_toolbook='wxUSE_TOOLBOOK
='$DEFAULT_wxUSE_TOOLBOOK
10196 eval "$ac_cv_use_toolbook"
10197 if test "$no_cache" != 1; then
10198 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10201 if test "$wxUSE_TOOLBOOK" = yes; then
10202 echo "$as_me:$LINENO: result: yes" >&5
10203 echo "${ECHO_T}yes" >&6
10205 echo "$as_me:$LINENO: result: no" >&5
10206 echo "${ECHO_T}no" >&6
10211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10212 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10214 # Check whether --enable-treectrl or --disable-treectrl was given.
10215 if test "${enable_treectrl+set}" = set; then
10216 enableval="$enable_treectrl"
10218 if test "$enableval" = yes; then
10219 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
10221 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
10226 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10227 if test "x$LINE" != x ; then
10228 eval "DEFAULT_$LINE"
10233 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
10237 eval "$ac_cv_use_treectrl"
10238 if test "$no_cache" != 1; then
10239 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10242 if test "$wxUSE_TREECTRL" = yes; then
10243 echo "$as_me:$LINENO: result: yes" >&5
10244 echo "${ECHO_T}yes" >&6
10246 echo "$as_me:$LINENO: result: no" >&5
10247 echo "${ECHO_T}no" >&6
10252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10253 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10255 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10256 if test "${enable_tipwindow+set}" = set; then
10257 enableval="$enable_tipwindow"
10259 if test "$enableval" = yes; then
10260 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
10262 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
10267 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10268 if test "x$LINE" != x ; then
10269 eval "DEFAULT_$LINE"
10274 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
10278 eval "$ac_cv_use_tipwindow"
10279 if test "$no_cache" != 1; then
10280 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10283 if test "$wxUSE_TIPWINDOW" = yes; then
10284 echo "$as_me:$LINENO: result: yes" >&5
10285 echo "${ECHO_T}yes" >&6
10287 echo "$as_me:$LINENO: result: no" >&5
10288 echo "${ECHO_T}no" >&6
10293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10294 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10296 # Check whether --enable-popupwin or --disable-popupwin was given.
10297 if test "${enable_popupwin+set}" = set; then
10298 enableval="$enable_popupwin"
10300 if test "$enableval" = yes; then
10301 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
10303 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
10308 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10309 if test "x$LINE" != x ; then
10310 eval "DEFAULT_$LINE"
10315 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
10319 eval "$ac_cv_use_popupwin"
10320 if test "$no_cache" != 1; then
10321 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10324 if test "$wxUSE_POPUPWIN" = yes; then
10325 echo "$as_me:$LINENO: result: yes" >&5
10326 echo "${ECHO_T}yes" >&6
10328 echo "$as_me:$LINENO: result: no" >&5
10329 echo "${ECHO_T}no" >&6
10336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10337 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10339 # Check whether --enable-commondlg or --disable-commondlg was given.
10340 if test "${enable_commondlg+set}" = set; then
10341 enableval="$enable_commondlg"
10343 if test "$enableval" = yes; then
10344 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
10346 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
10351 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10352 if test "x$LINE" != x ; then
10353 eval "DEFAULT_$LINE"
10358 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
10362 eval "$ac_cv_use_commondlg"
10363 if test "$no_cache" != 1; then
10364 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10367 if test "$wxUSE_COMMONDLGS" = yes; then
10368 echo "$as_me:$LINENO: result: yes" >&5
10369 echo "${ECHO_T}yes" >&6
10371 echo "$as_me:$LINENO: result: no" >&5
10372 echo "${ECHO_T}no" >&6
10377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10378 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10380 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10381 if test "${enable_aboutdlg+set}" = set; then
10382 enableval="$enable_aboutdlg"
10384 if test "$enableval" = yes; then
10385 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
10387 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
10392 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10393 if test "x$LINE" != x ; then
10394 eval "DEFAULT_$LINE"
10399 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG
='$DEFAULT_wxUSE_ABOUTDLG
10403 eval "$ac_cv_use_aboutdlg"
10404 if test "$no_cache" != 1; then
10405 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10408 if test "$wxUSE_ABOUTDLG" = yes; then
10409 echo "$as_me:$LINENO: result: yes" >&5
10410 echo "${ECHO_T}yes" >&6
10412 echo "$as_me:$LINENO: result: no" >&5
10413 echo "${ECHO_T}no" >&6
10418 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10419 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10421 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10422 if test "${enable_choicedlg+set}" = set; then
10423 enableval="$enable_choicedlg"
10425 if test "$enableval" = yes; then
10426 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
10428 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
10433 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10434 if test "x$LINE" != x ; then
10435 eval "DEFAULT_$LINE"
10440 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
10444 eval "$ac_cv_use_choicedlg"
10445 if test "$no_cache" != 1; then
10446 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10449 if test "$wxUSE_CHOICEDLG" = yes; then
10450 echo "$as_me:$LINENO: result: yes" >&5
10451 echo "${ECHO_T}yes" >&6
10453 echo "$as_me:$LINENO: result: no" >&5
10454 echo "${ECHO_T}no" >&6
10459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10460 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10462 # Check whether --enable-coldlg or --disable-coldlg was given.
10463 if test "${enable_coldlg+set}" = set; then
10464 enableval="$enable_coldlg"
10466 if test "$enableval" = yes; then
10467 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
10469 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
10474 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10475 if test "x$LINE" != x ; then
10476 eval "DEFAULT_$LINE"
10481 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
10485 eval "$ac_cv_use_coldlg"
10486 if test "$no_cache" != 1; then
10487 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10490 if test "$wxUSE_COLOURDLG" = yes; then
10491 echo "$as_me:$LINENO: result: yes" >&5
10492 echo "${ECHO_T}yes" >&6
10494 echo "$as_me:$LINENO: result: no" >&5
10495 echo "${ECHO_T}no" >&6
10500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10501 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10503 # Check whether --enable-filedlg or --disable-filedlg was given.
10504 if test "${enable_filedlg+set}" = set; then
10505 enableval="$enable_filedlg"
10507 if test "$enableval" = yes; then
10508 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
10510 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
10515 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10516 if test "x$LINE" != x ; then
10517 eval "DEFAULT_$LINE"
10522 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
10526 eval "$ac_cv_use_filedlg"
10527 if test "$no_cache" != 1; then
10528 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10531 if test "$wxUSE_FILEDLG" = yes; then
10532 echo "$as_me:$LINENO: result: yes" >&5
10533 echo "${ECHO_T}yes" >&6
10535 echo "$as_me:$LINENO: result: no" >&5
10536 echo "${ECHO_T}no" >&6
10541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10542 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10544 # Check whether --enable-finddlg or --disable-finddlg was given.
10545 if test "${enable_finddlg+set}" = set; then
10546 enableval="$enable_finddlg"
10548 if test "$enableval" = yes; then
10549 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
10551 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
10556 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10557 if test "x$LINE" != x ; then
10558 eval "DEFAULT_$LINE"
10563 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
10567 eval "$ac_cv_use_finddlg"
10568 if test "$no_cache" != 1; then
10569 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10572 if test "$wxUSE_FINDREPLDLG" = yes; then
10573 echo "$as_me:$LINENO: result: yes" >&5
10574 echo "${ECHO_T}yes" >&6
10576 echo "$as_me:$LINENO: result: no" >&5
10577 echo "${ECHO_T}no" >&6
10582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10583 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10585 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10586 if test "${enable_fontdlg+set}" = set; then
10587 enableval="$enable_fontdlg"
10589 if test "$enableval" = yes; then
10590 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
10592 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
10597 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10598 if test "x$LINE" != x ; then
10599 eval "DEFAULT_$LINE"
10604 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
10608 eval "$ac_cv_use_fontdlg"
10609 if test "$no_cache" != 1; then
10610 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10613 if test "$wxUSE_FONTDLG" = yes; then
10614 echo "$as_me:$LINENO: result: yes" >&5
10615 echo "${ECHO_T}yes" >&6
10617 echo "$as_me:$LINENO: result: no" >&5
10618 echo "${ECHO_T}no" >&6
10623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10624 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10626 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10627 if test "${enable_dirdlg+set}" = set; then
10628 enableval="$enable_dirdlg"
10630 if test "$enableval" = yes; then
10631 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
10633 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
10638 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10639 if test "x$LINE" != x ; then
10640 eval "DEFAULT_$LINE"
10645 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
10649 eval "$ac_cv_use_dirdlg"
10650 if test "$no_cache" != 1; then
10651 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10654 if test "$wxUSE_DIRDLG" = yes; then
10655 echo "$as_me:$LINENO: result: yes" >&5
10656 echo "${ECHO_T}yes" >&6
10658 echo "$as_me:$LINENO: result: no" >&5
10659 echo "${ECHO_T}no" >&6
10664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10665 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10667 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10668 if test "${enable_msgdlg+set}" = set; then
10669 enableval="$enable_msgdlg"
10671 if test "$enableval" = yes; then
10672 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
10674 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
10679 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10680 if test "x$LINE" != x ; then
10681 eval "DEFAULT_$LINE"
10686 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
10690 eval "$ac_cv_use_msgdlg"
10691 if test "$no_cache" != 1; then
10692 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10695 if test "$wxUSE_MSGDLG" = yes; then
10696 echo "$as_me:$LINENO: result: yes" >&5
10697 echo "${ECHO_T}yes" >&6
10699 echo "$as_me:$LINENO: result: no" >&5
10700 echo "${ECHO_T}no" >&6
10705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10706 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10708 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10709 if test "${enable_numberdlg+set}" = set; then
10710 enableval="$enable_numberdlg"
10712 if test "$enableval" = yes; then
10713 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
10715 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
10720 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10721 if test "x$LINE" != x ; then
10722 eval "DEFAULT_$LINE"
10727 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
10731 eval "$ac_cv_use_numberdlg"
10732 if test "$no_cache" != 1; then
10733 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10736 if test "$wxUSE_NUMBERDLG" = yes; then
10737 echo "$as_me:$LINENO: result: yes" >&5
10738 echo "${ECHO_T}yes" >&6
10740 echo "$as_me:$LINENO: result: no" >&5
10741 echo "${ECHO_T}no" >&6
10746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10747 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10749 # Check whether --enable-splash or --disable-splash was given.
10750 if test "${enable_splash+set}" = set; then
10751 enableval="$enable_splash"
10753 if test "$enableval" = yes; then
10754 ac_cv_use_splash='wxUSE_SPLASH
=yes'
10756 ac_cv_use_splash='wxUSE_SPLASH
=no
'
10761 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10762 if test "x$LINE" != x ; then
10763 eval "DEFAULT_$LINE"
10768 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
10772 eval "$ac_cv_use_splash"
10773 if test "$no_cache" != 1; then
10774 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10777 if test "$wxUSE_SPLASH" = yes; then
10778 echo "$as_me:$LINENO: result: yes" >&5
10779 echo "${ECHO_T}yes" >&6
10781 echo "$as_me:$LINENO: result: no" >&5
10782 echo "${ECHO_T}no" >&6
10787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10788 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10790 # Check whether --enable-textdlg or --disable-textdlg was given.
10791 if test "${enable_textdlg+set}" = set; then
10792 enableval="$enable_textdlg"
10794 if test "$enableval" = yes; then
10795 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
10797 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
10802 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10803 if test "x$LINE" != x ; then
10804 eval "DEFAULT_$LINE"
10809 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
10813 eval "$ac_cv_use_textdlg"
10814 if test "$no_cache" != 1; then
10815 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10818 if test "$wxUSE_TEXTDLG" = yes; then
10819 echo "$as_me:$LINENO: result: yes" >&5
10820 echo "${ECHO_T}yes" >&6
10822 echo "$as_me:$LINENO: result: no" >&5
10823 echo "${ECHO_T}no" >&6
10828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10829 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10831 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10832 if test "${enable_tipdlg+set}" = set; then
10833 enableval="$enable_tipdlg"
10835 if test "$enableval" = yes; then
10836 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
10838 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
10843 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10844 if test "x$LINE" != x ; then
10845 eval "DEFAULT_$LINE"
10850 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
10854 eval "$ac_cv_use_tipdlg"
10855 if test "$no_cache" != 1; then
10856 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10859 if test "$wxUSE_STARTUP_TIPS" = yes; then
10860 echo "$as_me:$LINENO: result: yes" >&5
10861 echo "${ECHO_T}yes" >&6
10863 echo "$as_me:$LINENO: result: no" >&5
10864 echo "${ECHO_T}no" >&6
10869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10870 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10872 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10873 if test "${enable_progressdlg+set}" = set; then
10874 enableval="$enable_progressdlg"
10876 if test "$enableval" = yes; then
10877 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
10879 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
10884 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10885 if test "x$LINE" != x ; then
10886 eval "DEFAULT_$LINE"
10891 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
10895 eval "$ac_cv_use_progressdlg"
10896 if test "$no_cache" != 1; then
10897 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10900 if test "$wxUSE_PROGRESSDLG" = yes; then
10901 echo "$as_me:$LINENO: result: yes" >&5
10902 echo "${ECHO_T}yes" >&6
10904 echo "$as_me:$LINENO: result: no" >&5
10905 echo "${ECHO_T}no" >&6
10910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10911 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10913 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10914 if test "${enable_wizarddlg+set}" = set; then
10915 enableval="$enable_wizarddlg"
10917 if test "$enableval" = yes; then
10918 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
10920 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
10925 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10926 if test "x$LINE" != x ; then
10927 eval "DEFAULT_$LINE"
10932 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
10936 eval "$ac_cv_use_wizarddlg"
10937 if test "$no_cache" != 1; then
10938 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10941 if test "$wxUSE_WIZARDDLG" = yes; then
10942 echo "$as_me:$LINENO: result: yes" >&5
10943 echo "${ECHO_T}yes" >&6
10945 echo "$as_me:$LINENO: result: no" >&5
10946 echo "${ECHO_T}no" >&6
10953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10954 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10956 # Check whether --enable-menus or --disable-menus was given.
10957 if test "${enable_menus+set}" = set; then
10958 enableval="$enable_menus"
10960 if test "$enableval" = yes; then
10961 ac_cv_use_menus='wxUSE_MENUS
=yes'
10963 ac_cv_use_menus='wxUSE_MENUS
=no
'
10968 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10969 if test "x$LINE" != x ; then
10970 eval "DEFAULT_$LINE"
10975 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
10979 eval "$ac_cv_use_menus"
10980 if test "$no_cache" != 1; then
10981 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10984 if test "$wxUSE_MENUS" = yes; then
10985 echo "$as_me:$LINENO: result: yes" >&5
10986 echo "${ECHO_T}yes" >&6
10988 echo "$as_me:$LINENO: result: no" >&5
10989 echo "${ECHO_T}no" >&6
10994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10995 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10997 # Check whether --enable-miniframe or --disable-miniframe was given.
10998 if test "${enable_miniframe+set}" = set; then
10999 enableval="$enable_miniframe"
11001 if test "$enableval" = yes; then
11002 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
11004 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
11009 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11010 if test "x$LINE" != x ; then
11011 eval "DEFAULT_$LINE"
11016 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
11020 eval "$ac_cv_use_miniframe"
11021 if test "$no_cache" != 1; then
11022 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11025 if test "$wxUSE_MINIFRAME" = yes; then
11026 echo "$as_me:$LINENO: result: yes" >&5
11027 echo "${ECHO_T}yes" >&6
11029 echo "$as_me:$LINENO: result: no" >&5
11030 echo "${ECHO_T}no" >&6
11035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11036 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
11038 # Check whether --enable-tooltips or --disable-tooltips was given.
11039 if test "${enable_tooltips+set}" = set; then
11040 enableval="$enable_tooltips"
11042 if test "$enableval" = yes; then
11043 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
11045 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
11050 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11051 if test "x$LINE" != x ; then
11052 eval "DEFAULT_$LINE"
11057 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
11061 eval "$ac_cv_use_tooltips"
11062 if test "$no_cache" != 1; then
11063 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11066 if test "$wxUSE_TOOLTIPS" = yes; then
11067 echo "$as_me:$LINENO: result: yes" >&5
11068 echo "${ECHO_T}yes" >&6
11070 echo "$as_me:$LINENO: result: no" >&5
11071 echo "${ECHO_T}no" >&6
11076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11077 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
11079 # Check whether --enable-splines or --disable-splines was given.
11080 if test "${enable_splines+set}" = set; then
11081 enableval="$enable_splines"
11083 if test "$enableval" = yes; then
11084 ac_cv_use_splines='wxUSE_SPLINES
=yes'
11086 ac_cv_use_splines='wxUSE_SPLINES
=no
'
11091 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11092 if test "x$LINE" != x ; then
11093 eval "DEFAULT_$LINE"
11098 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
11102 eval "$ac_cv_use_splines"
11103 if test "$no_cache" != 1; then
11104 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11107 if test "$wxUSE_SPLINES" = yes; then
11108 echo "$as_me:$LINENO: result: yes" >&5
11109 echo "${ECHO_T}yes" >&6
11111 echo "$as_me:$LINENO: result: no" >&5
11112 echo "${ECHO_T}no" >&6
11117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11118 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11120 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11121 if test "${enable_mousewheel+set}" = set; then
11122 enableval="$enable_mousewheel"
11124 if test "$enableval" = yes; then
11125 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
11127 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
11132 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11133 if test "x$LINE" != x ; then
11134 eval "DEFAULT_$LINE"
11139 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
='$DEFAULT_wxUSE_MOUSEWHEEL
11143 eval "$ac_cv_use_mousewheel"
11144 if test "$no_cache" != 1; then
11145 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11148 if test "$wxUSE_MOUSEWHEEL" = yes; then
11149 echo "$as_me:$LINENO: result: yes" >&5
11150 echo "${ECHO_T}yes" >&6
11152 echo "$as_me:$LINENO: result: no" >&5
11153 echo "${ECHO_T}no" >&6
11158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11159 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11161 # Check whether --enable-validators or --disable-validators was given.
11162 if test "${enable_validators+set}" = set; then
11163 enableval="$enable_validators"
11165 if test "$enableval" = yes; then
11166 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
11168 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
11173 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11174 if test "x$LINE" != x ; then
11175 eval "DEFAULT_$LINE"
11180 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
11184 eval "$ac_cv_use_validators"
11185 if test "$no_cache" != 1; then
11186 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11189 if test "$wxUSE_VALIDATORS" = yes; then
11190 echo "$as_me:$LINENO: result: yes" >&5
11191 echo "${ECHO_T}yes" >&6
11193 echo "$as_me:$LINENO: result: no" >&5
11194 echo "${ECHO_T}no" >&6
11199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11200 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11202 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11203 if test "${enable_busyinfo+set}" = set; then
11204 enableval="$enable_busyinfo"
11206 if test "$enableval" = yes; then
11207 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
11209 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
11214 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11215 if test "x$LINE" != x ; then
11216 eval "DEFAULT_$LINE"
11221 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
11225 eval "$ac_cv_use_busyinfo"
11226 if test "$no_cache" != 1; then
11227 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11230 if test "$wxUSE_BUSYINFO" = yes; then
11231 echo "$as_me:$LINENO: result: yes" >&5
11232 echo "${ECHO_T}yes" >&6
11234 echo "$as_me:$LINENO: result: no" >&5
11235 echo "${ECHO_T}no" >&6
11240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11241 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11243 # Check whether --enable-joystick or --disable-joystick was given.
11244 if test "${enable_joystick+set}" = set; then
11245 enableval="$enable_joystick"
11247 if test "$enableval" = yes; then
11248 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
11250 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
11255 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11256 if test "x$LINE" != x ; then
11257 eval "DEFAULT_$LINE"
11262 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
11266 eval "$ac_cv_use_joystick"
11267 if test "$no_cache" != 1; then
11268 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11271 if test "$wxUSE_JOYSTICK" = yes; then
11272 echo "$as_me:$LINENO: result: yes" >&5
11273 echo "${ECHO_T}yes" >&6
11275 echo "$as_me:$LINENO: result: no" >&5
11276 echo "${ECHO_T}no" >&6
11281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11282 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11284 # Check whether --enable-metafile or --disable-metafile was given.
11285 if test "${enable_metafile+set}" = set; then
11286 enableval="$enable_metafile"
11288 if test "$enableval" = yes; then
11289 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
11291 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
11296 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11297 if test "x$LINE" != x ; then
11298 eval "DEFAULT_$LINE"
11303 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
11307 eval "$ac_cv_use_metafile"
11308 if test "$no_cache" != 1; then
11309 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11312 if test "$wxUSE_METAFILE" = yes; then
11313 echo "$as_me:$LINENO: result: yes" >&5
11314 echo "${ECHO_T}yes" >&6
11316 echo "$as_me:$LINENO: result: no" >&5
11317 echo "${ECHO_T}no" >&6
11322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11323 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11325 # Check whether --enable-dragimage or --disable-dragimage was given.
11326 if test "${enable_dragimage+set}" = set; then
11327 enableval="$enable_dragimage"
11329 if test "$enableval" = yes; then
11330 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
11332 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
11337 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11338 if test "x$LINE" != x ; then
11339 eval "DEFAULT_$LINE"
11344 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
11348 eval "$ac_cv_use_dragimage"
11349 if test "$no_cache" != 1; then
11350 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11353 if test "$wxUSE_DRAGIMAGE" = yes; then
11354 echo "$as_me:$LINENO: result: yes" >&5
11355 echo "${ECHO_T}yes" >&6
11357 echo "$as_me:$LINENO: result: no" >&5
11358 echo "${ECHO_T}no" >&6
11363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11364 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11366 # Check whether --enable-accessibility or --disable-accessibility was given.
11367 if test "${enable_accessibility+set}" = set; then
11368 enableval="$enable_accessibility"
11370 if test "$enableval" = yes; then
11371 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
11373 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
11378 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11379 if test "x$LINE" != x ; then
11380 eval "DEFAULT_$LINE"
11385 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
11389 eval "$ac_cv_use_accessibility"
11390 if test "$no_cache" != 1; then
11391 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11394 if test "$wxUSE_ACCESSIBILITY" = yes; then
11395 echo "$as_me:$LINENO: result: yes" >&5
11396 echo "${ECHO_T}yes" >&6
11398 echo "$as_me:$LINENO: result: no" >&5
11399 echo "${ECHO_T}no" >&6
11403 if test "$wxUSE_MSW" = "1"; then
11406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11407 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11409 # Check whether --enable-dccache or --disable-dccache was given.
11410 if test "${enable_dccache+set}" = set; then
11411 enableval="$enable_dccache"
11413 if test "$enableval" = yes; then
11414 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
11416 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
11421 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11422 if test "x$LINE" != x ; then
11423 eval "DEFAULT_$LINE"
11428 ac_cv_use_dccache='wxUSE_DC_CACHEING
='$DEFAULT_wxUSE_DC_CACHEING
11432 eval "$ac_cv_use_dccache"
11433 if test "$no_cache" != 1; then
11434 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11437 if test "$wxUSE_DC_CACHEING" = yes; then
11438 echo "$as_me:$LINENO: result: yes" >&5
11439 echo "${ECHO_T}yes" >&6
11441 echo "$as_me:$LINENO: result: no" >&5
11442 echo "${ECHO_T}no" >&6
11450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11451 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11453 # Check whether --enable-palette or --disable-palette was given.
11454 if test "${enable_palette+set}" = set; then
11455 enableval="$enable_palette"
11457 if test "$enableval" = yes; then
11458 ac_cv_use_palette='wxUSE_PALETTE
=yes'
11460 ac_cv_use_palette='wxUSE_PALETTE
=no
'
11465 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11466 if test "x$LINE" != x ; then
11467 eval "DEFAULT_$LINE"
11472 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
11476 eval "$ac_cv_use_palette"
11477 if test "$no_cache" != 1; then
11478 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11481 if test "$wxUSE_PALETTE" = yes; then
11482 echo "$as_me:$LINENO: result: yes" >&5
11483 echo "${ECHO_T}yes" >&6
11485 echo "$as_me:$LINENO: result: no" >&5
11486 echo "${ECHO_T}no" >&6
11491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11492 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11494 # Check whether --enable-image or --disable-image was given.
11495 if test "${enable_image+set}" = set; then
11496 enableval="$enable_image"
11498 if test "$enableval" = yes; then
11499 ac_cv_use_image='wxUSE_IMAGE
=yes'
11501 ac_cv_use_image='wxUSE_IMAGE
=no
'
11506 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11507 if test "x$LINE" != x ; then
11508 eval "DEFAULT_$LINE"
11513 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
11517 eval "$ac_cv_use_image"
11518 if test "$no_cache" != 1; then
11519 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11522 if test "$wxUSE_IMAGE" = yes; then
11523 echo "$as_me:$LINENO: result: yes" >&5
11524 echo "${ECHO_T}yes" >&6
11526 echo "$as_me:$LINENO: result: no" >&5
11527 echo "${ECHO_T}no" >&6
11532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11533 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11535 # Check whether --enable-gif or --disable-gif was given.
11536 if test "${enable_gif+set}" = set; then
11537 enableval="$enable_gif"
11539 if test "$enableval" = yes; then
11540 ac_cv_use_gif='wxUSE_GIF
=yes'
11542 ac_cv_use_gif='wxUSE_GIF
=no
'
11547 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11548 if test "x$LINE" != x ; then
11549 eval "DEFAULT_$LINE"
11554 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
11558 eval "$ac_cv_use_gif"
11559 if test "$no_cache" != 1; then
11560 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11563 if test "$wxUSE_GIF" = yes; then
11564 echo "$as_me:$LINENO: result: yes" >&5
11565 echo "${ECHO_T}yes" >&6
11567 echo "$as_me:$LINENO: result: no" >&5
11568 echo "${ECHO_T}no" >&6
11573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11574 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11576 # Check whether --enable-pcx or --disable-pcx was given.
11577 if test "${enable_pcx+set}" = set; then
11578 enableval="$enable_pcx"
11580 if test "$enableval" = yes; then
11581 ac_cv_use_pcx='wxUSE_PCX
=yes'
11583 ac_cv_use_pcx='wxUSE_PCX
=no
'
11588 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11589 if test "x$LINE" != x ; then
11590 eval "DEFAULT_$LINE"
11595 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
11599 eval "$ac_cv_use_pcx"
11600 if test "$no_cache" != 1; then
11601 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11604 if test "$wxUSE_PCX" = yes; then
11605 echo "$as_me:$LINENO: result: yes" >&5
11606 echo "${ECHO_T}yes" >&6
11608 echo "$as_me:$LINENO: result: no" >&5
11609 echo "${ECHO_T}no" >&6
11614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11615 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11617 # Check whether --enable-tga or --disable-tga was given.
11618 if test "${enable_tga+set}" = set; then
11619 enableval="$enable_tga"
11621 if test "$enableval" = yes; then
11622 ac_cv_use_tga='wxUSE_TGA
=yes'
11624 ac_cv_use_tga='wxUSE_TGA
=no
'
11629 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11630 if test "x$LINE" != x ; then
11631 eval "DEFAULT_$LINE"
11636 ac_cv_use_tga='wxUSE_TGA
='$DEFAULT_wxUSE_TGA
11640 eval "$ac_cv_use_tga"
11641 if test "$no_cache" != 1; then
11642 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11645 if test "$wxUSE_TGA" = yes; then
11646 echo "$as_me:$LINENO: result: yes" >&5
11647 echo "${ECHO_T}yes" >&6
11649 echo "$as_me:$LINENO: result: no" >&5
11650 echo "${ECHO_T}no" >&6
11655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11656 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11658 # Check whether --enable-iff or --disable-iff was given.
11659 if test "${enable_iff+set}" = set; then
11660 enableval="$enable_iff"
11662 if test "$enableval" = yes; then
11663 ac_cv_use_iff='wxUSE_IFF
=yes'
11665 ac_cv_use_iff='wxUSE_IFF
=no
'
11670 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11671 if test "x$LINE" != x ; then
11672 eval "DEFAULT_$LINE"
11677 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
11681 eval "$ac_cv_use_iff"
11682 if test "$no_cache" != 1; then
11683 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11686 if test "$wxUSE_IFF" = yes; then
11687 echo "$as_me:$LINENO: result: yes" >&5
11688 echo "${ECHO_T}yes" >&6
11690 echo "$as_me:$LINENO: result: no" >&5
11691 echo "${ECHO_T}no" >&6
11696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11697 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11699 # Check whether --enable-pnm or --disable-pnm was given.
11700 if test "${enable_pnm+set}" = set; then
11701 enableval="$enable_pnm"
11703 if test "$enableval" = yes; then
11704 ac_cv_use_pnm='wxUSE_PNM
=yes'
11706 ac_cv_use_pnm='wxUSE_PNM
=no
'
11711 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11712 if test "x$LINE" != x ; then
11713 eval "DEFAULT_$LINE"
11718 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
11722 eval "$ac_cv_use_pnm"
11723 if test "$no_cache" != 1; then
11724 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11727 if test "$wxUSE_PNM" = yes; then
11728 echo "$as_me:$LINENO: result: yes" >&5
11729 echo "${ECHO_T}yes" >&6
11731 echo "$as_me:$LINENO: result: no" >&5
11732 echo "${ECHO_T}no" >&6
11737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11738 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11740 # Check whether --enable-xpm or --disable-xpm was given.
11741 if test "${enable_xpm+set}" = set; then
11742 enableval="$enable_xpm"
11744 if test "$enableval" = yes; then
11745 ac_cv_use_xpm='wxUSE_XPM
=yes'
11747 ac_cv_use_xpm='wxUSE_XPM
=no
'
11752 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11753 if test "x$LINE" != x ; then
11754 eval "DEFAULT_$LINE"
11759 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
11763 eval "$ac_cv_use_xpm"
11764 if test "$no_cache" != 1; then
11765 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11768 if test "$wxUSE_XPM" = yes; then
11769 echo "$as_me:$LINENO: result: yes" >&5
11770 echo "${ECHO_T}yes" >&6
11772 echo "$as_me:$LINENO: result: no" >&5
11773 echo "${ECHO_T}no" >&6
11778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11779 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11781 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11782 if test "${enable_ico_cur+set}" = set; then
11783 enableval="$enable_ico_cur"
11785 if test "$enableval" = yes; then
11786 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
11788 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
11793 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11794 if test "x$LINE" != x ; then
11795 eval "DEFAULT_$LINE"
11800 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
11804 eval "$ac_cv_use_ico_cur"
11805 if test "$no_cache" != 1; then
11806 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11809 if test "$wxUSE_ICO_CUR" = yes; then
11810 echo "$as_me:$LINENO: result: yes" >&5
11811 echo "${ECHO_T}yes" >&6
11813 echo "$as_me:$LINENO: result: no" >&5
11814 echo "${ECHO_T}no" >&6
11822 # Check whether --with-flavour or --without-flavour was given.
11823 if test "${with_flavour+set}" = set; then
11824 withval="$with_flavour"
11825 WX_FLAVOUR="$withval"
11831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11832 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11834 # Check whether --enable-official_build or --disable-official_build was given.
11835 if test "${enable_official_build+set}" = set; then
11836 enableval="$enable_official_build"
11838 if test "$enableval" = yes; then
11839 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
11841 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
11846 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11847 if test "x$LINE" != x ; then
11848 eval "DEFAULT_$LINE"
11853 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
11857 eval "$ac_cv_use_official_build"
11858 if test "$no_cache" != 1; then
11859 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11862 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11863 echo "$as_me:$LINENO: result: yes" >&5
11864 echo "${ECHO_T}yes" >&6
11866 echo "$as_me:$LINENO: result: no" >&5
11867 echo "${ECHO_T}no" >&6
11870 # Check whether --enable-vendor or --disable-vendor was given.
11871 if test "${enable_vendor+set}" = set; then
11872 enableval="$enable_vendor"
11873 VENDOR="$enableval"
11875 if test "x$VENDOR" = "x"; then
11882 echo "saving argument cache $wx_arg_cache_file"
11883 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11887 echo "$as_me:$LINENO: checking for toolkit" >&5
11888 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11890 # In Wine, we need to default to MSW, not GTK or MOTIF
11891 if test "$wxUSE_WINE" = "yes"; then
11892 DEFAULT_DEFAULT_wxUSE_GTK=0
11893 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11894 DEFAULT_DEFAULT_wxUSE_MSW=1
11897 CXX=${CXX:-wineg++}
11901 if test "$wxUSE_GUI" = "yes"; then
11903 if test "$USE_BEOS" = 1; then
11904 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11905 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11906 { (exit 1); exit 1; }; }
11909 if test "$TOOLKIT_GIVEN" = 1; then
11910 for toolkit in `echo $ALL_TOOLKITS`; do
11912 eval "value=\$${var}"
11913 if test "x$value" = "xno"; then
11915 elif test "x$value" != "x"; then
11919 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11920 eval "wx${toolkit}_VERSION=$value"
11924 for toolkit in `echo $ALL_TOOLKITS`; do
11925 if test "$has_toolkit_in_cache" != 1; then
11926 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11928 var=DEFAULT_wxUSE_$toolkit
11930 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11931 if test "x$version" != "x"; then
11932 eval "wx${toolkit}_VERSION=$version"
11935 eval "wxUSE_$toolkit=\$${var}"
11939 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11940 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11941 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11944 *-pc-os2_emx | *-pc-os2-emx )
11945 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11948 case "$NUM_TOOLKITS" in
11952 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11953 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11954 { (exit 1); exit 1; }; }
11957 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11958 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11959 { (exit 1); exit 1; }; }
11962 # to be removed when --disable-gtk2 isn't needed
11963 if test "x$wxUSE_GTK2" = "xyes"; then
11965 elif test "x$wxUSE_GTK2" = "xno"; then
11969 for toolkit
in `echo $ALL_TOOLKITS`; do
11971 eval "value=\$${var}"
11972 if test "x$value" != x
; then
11973 cache_var
=CACHE_
$toolkit
11974 eval "cache=\$${cache_var}"
11975 if test "$cache" = 1; then
11976 echo "$var=$value" >> ${wx_arg_cache_file}
11977 eval "version=\$wx${toolkit}_VERSION"
11978 if test "x$version" != "x"; then
11979 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11982 if test "$value" = 1; then
11983 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11984 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11985 echo "${ECHO_T}$toolkit_echo" >&6
11990 if test "x$host_alias" != "x"; then
11991 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11992 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11994 echo "$as_me:$LINENO: result: base only" >&5
11995 echo "${ECHO_T}base only" >&6
12000 cat >confcache
<<\_ACEOF
12001 # This file is a shell script that caches the results of configure
12002 # tests run on this system so they can be shared between configure
12003 # scripts and configure runs, see configure's option --config-cache.
12004 # It is not useful on other systems. If it contains results you don't
12005 # want to keep, you may remove or edit it.
12007 # config.status only pays attention to the cache file if you give it
12008 # the --recheck option to rerun configure.
12010 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12011 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12012 # following values.
12016 # The following way of writing the cache mishandles newlines in values,
12017 # but we know of no workaround that is simple, portable, and efficient.
12018 # So, don't put newlines in cache variables' values.
12019 # Ultrix sh set writes to stderr and can't be redirected directly,
12020 # and sets the high bit in the cache file unless we assign to the vars.
12023 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12025 # `set' does not quote correctly, so add quotes (double-quote
12026 # substitution turns \\\\ into \\, and sed turns \\ into \).
12029 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12032 # `set' quotes correctly as required by POSIX, so do not add quotes.
12034 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12041 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12043 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12045 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12046 if test -w $cache_file; then
12047 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12048 cat confcache
>$cache_file
12050 echo "not updating unwritable cache $cache_file"
12060 ac_cpp
='$CPP $CPPFLAGS'
12061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12064 if test -n "$ac_tool_prefix"; then
12065 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12066 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12067 echo "$as_me:$LINENO: checking for $ac_word" >&5
12068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12069 if test "${ac_cv_prog_CC+set}" = set; then
12070 echo $ECHO_N "(cached) $ECHO_C" >&6
12072 if test -n "$CC"; then
12073 ac_cv_prog_CC
="$CC" # Let the user override the test.
12075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12076 for as_dir
in $PATH
12079 test -z "$as_dir" && as_dir
=.
12080 for ac_exec_ext
in '' $ac_executable_extensions; do
12081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12082 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12092 if test -n "$CC"; then
12093 echo "$as_me:$LINENO: result: $CC" >&5
12094 echo "${ECHO_T}$CC" >&6
12096 echo "$as_me:$LINENO: result: no" >&5
12097 echo "${ECHO_T}no" >&6
12101 if test -z "$ac_cv_prog_CC"; then
12103 # Extract the first word of "gcc", so it can be a program name with args.
12104 set dummy gcc
; ac_word
=$2
12105 echo "$as_me:$LINENO: checking for $ac_word" >&5
12106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12107 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12108 echo $ECHO_N "(cached) $ECHO_C" >&6
12110 if test -n "$ac_ct_CC"; then
12111 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12114 for as_dir
in $PATH
12117 test -z "$as_dir" && as_dir
=.
12118 for ac_exec_ext
in '' $ac_executable_extensions; do
12119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12120 ac_cv_prog_ac_ct_CC
="gcc"
12121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12129 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12130 if test -n "$ac_ct_CC"; then
12131 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12132 echo "${ECHO_T}$ac_ct_CC" >&6
12134 echo "$as_me:$LINENO: result: no" >&5
12135 echo "${ECHO_T}no" >&6
12140 CC
="$ac_cv_prog_CC"
12143 if test -z "$CC"; then
12144 if test -n "$ac_tool_prefix"; then
12145 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12146 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12147 echo "$as_me:$LINENO: checking for $ac_word" >&5
12148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12149 if test "${ac_cv_prog_CC+set}" = set; then
12150 echo $ECHO_N "(cached) $ECHO_C" >&6
12152 if test -n "$CC"; then
12153 ac_cv_prog_CC
="$CC" # Let the user override the test.
12155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12156 for as_dir
in $PATH
12159 test -z "$as_dir" && as_dir
=.
12160 for ac_exec_ext
in '' $ac_executable_extensions; do
12161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12162 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12172 if test -n "$CC"; then
12173 echo "$as_me:$LINENO: result: $CC" >&5
12174 echo "${ECHO_T}$CC" >&6
12176 echo "$as_me:$LINENO: result: no" >&5
12177 echo "${ECHO_T}no" >&6
12181 if test -z "$ac_cv_prog_CC"; then
12183 # Extract the first word of "cc", so it can be a program name with args.
12184 set dummy cc
; ac_word
=$2
12185 echo "$as_me:$LINENO: checking for $ac_word" >&5
12186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12187 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12190 if test -n "$ac_ct_CC"; then
12191 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12194 for as_dir
in $PATH
12197 test -z "$as_dir" && as_dir
=.
12198 for ac_exec_ext
in '' $ac_executable_extensions; do
12199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12200 ac_cv_prog_ac_ct_CC
="cc"
12201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12209 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12210 if test -n "$ac_ct_CC"; then
12211 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12212 echo "${ECHO_T}$ac_ct_CC" >&6
12214 echo "$as_me:$LINENO: result: no" >&5
12215 echo "${ECHO_T}no" >&6
12220 CC
="$ac_cv_prog_CC"
12224 if test -z "$CC"; then
12225 # Extract the first word of "cc", so it can be a program name with args.
12226 set dummy cc
; ac_word
=$2
12227 echo "$as_me:$LINENO: checking for $ac_word" >&5
12228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12229 if test "${ac_cv_prog_CC+set}" = set; then
12230 echo $ECHO_N "(cached) $ECHO_C" >&6
12232 if test -n "$CC"; then
12233 ac_cv_prog_CC
="$CC" # Let the user override the test.
12235 ac_prog_rejected
=no
12236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12237 for as_dir
in $PATH
12240 test -z "$as_dir" && as_dir
=.
12241 for ac_exec_ext
in '' $ac_executable_extensions; do
12242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12243 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12244 ac_prog_rejected
=yes
12248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12254 if test $ac_prog_rejected = yes; then
12255 # We found a bogon in the path, so make sure we never use it.
12256 set dummy
$ac_cv_prog_CC
12258 if test $# != 0; then
12259 # We chose a different compiler from the bogus one.
12260 # However, it has the same basename, so the bogon will be chosen
12261 # first if we set CC to just the basename; use the full file name.
12263 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12269 if test -n "$CC"; then
12270 echo "$as_me:$LINENO: result: $CC" >&5
12271 echo "${ECHO_T}$CC" >&6
12273 echo "$as_me:$LINENO: result: no" >&5
12274 echo "${ECHO_T}no" >&6
12278 if test -z "$CC"; then
12279 if test -n "$ac_tool_prefix"; then
12282 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12283 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12284 echo "$as_me:$LINENO: checking for $ac_word" >&5
12285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12286 if test "${ac_cv_prog_CC+set}" = set; then
12287 echo $ECHO_N "(cached) $ECHO_C" >&6
12289 if test -n "$CC"; then
12290 ac_cv_prog_CC
="$CC" # Let the user override the test.
12292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12293 for as_dir
in $PATH
12296 test -z "$as_dir" && as_dir
=.
12297 for ac_exec_ext
in '' $ac_executable_extensions; do
12298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12299 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12309 if test -n "$CC"; then
12310 echo "$as_me:$LINENO: result: $CC" >&5
12311 echo "${ECHO_T}$CC" >&6
12313 echo "$as_me:$LINENO: result: no" >&5
12314 echo "${ECHO_T}no" >&6
12317 test -n "$CC" && break
12320 if test -z "$CC"; then
12324 # Extract the first word of "$ac_prog", so it can be a program name with args.
12325 set dummy
$ac_prog; ac_word
=$2
12326 echo "$as_me:$LINENO: checking for $ac_word" >&5
12327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12328 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12329 echo $ECHO_N "(cached) $ECHO_C" >&6
12331 if test -n "$ac_ct_CC"; then
12332 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12335 for as_dir
in $PATH
12338 test -z "$as_dir" && as_dir
=.
12339 for ac_exec_ext
in '' $ac_executable_extensions; do
12340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12341 ac_cv_prog_ac_ct_CC
="$ac_prog"
12342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12350 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12351 if test -n "$ac_ct_CC"; then
12352 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12353 echo "${ECHO_T}$ac_ct_CC" >&6
12355 echo "$as_me:$LINENO: result: no" >&5
12356 echo "${ECHO_T}no" >&6
12359 test -n "$ac_ct_CC" && break
12368 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12369 See \`config.log' for more details." >&5
12370 echo "$as_me: error: no acceptable C compiler found in \$PATH
12371 See \`config.log' for more details." >&2;}
12372 { (exit 1); exit 1; }; }
12374 # Provide some information about the compiler.
12375 echo "$as_me:$LINENO:" \
12376 "checking for C compiler version" >&5
12377 ac_compiler
=`set X $ac_compile; echo $2`
12378 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12379 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); }
12383 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12384 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); }
12388 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12389 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }
12394 cat >conftest.
$ac_ext <<_ACEOF
12397 cat confdefs.h
>>conftest.
$ac_ext
12398 cat >>conftest.
$ac_ext <<_ACEOF
12399 /* end confdefs.h. */
12409 ac_clean_files_save
=$ac_clean_files
12410 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12411 # Try to create an executable without -o first, disregard a.out.
12412 # It will help us diagnose broken compilers, and finding out an intuition
12414 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12415 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12416 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12417 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12418 (eval $ac_link_default) 2>&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); }; then
12422 # Find the output, starting from the most likely. This scheme is
12423 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12426 # Be careful to initialize this variable, since it used to be cached.
12427 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12429 # b.out is created by i960 compilers.
12430 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12432 test -f "$ac_file" || continue
12434 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12437 # This is the source file.
12440 # We found the default executable, but exeext='' is most
12444 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12445 # FIXME: I believe we export ac_cv_exeext for Libtool,
12446 # but it would be cool to find out if it's true. Does anybody
12447 # maintain Libtool? --akim.
12448 export ac_cv_exeext
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.
$ac_ext >&5
12458 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12459 See \`config.log' for more details." >&5
12460 echo "$as_me: error: C compiler cannot create executables
12461 See \`config.log' for more details." >&2;}
12462 { (exit 77); exit 77; }; }
12465 ac_exeext
=$ac_cv_exeext
12466 echo "$as_me:$LINENO: result: $ac_file" >&5
12467 echo "${ECHO_T}$ac_file" >&6
12469 # Check the compiler produces executables we can run. If not, either
12470 # the compiler is broken, or we cross compile.
12471 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12472 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12473 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12474 # If not cross compiling, check that we can run a simple program.
12475 if test "$cross_compiling" != yes; then
12476 if { ac_try
='./$ac_file'
12477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }; }; then
12484 if test "$cross_compiling" = maybe
; then
12485 cross_compiling
=yes
12487 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12488 If you meant to cross compile, use \`--host'.
12489 See \`config.log' for more details." >&5
12490 echo "$as_me: error: cannot run C compiled programs.
12491 If you meant to cross compile, use \`--host'.
12492 See \`config.log' for more details." >&2;}
12493 { (exit 1); exit 1; }; }
12497 echo "$as_me:$LINENO: result: yes" >&5
12498 echo "${ECHO_T}yes" >&6
12500 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12501 ac_clean_files
=$ac_clean_files_save
12502 # Check the compiler produces executables we can run. If not, either
12503 # the compiler is broken, or we cross compile.
12504 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12505 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12506 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12507 echo "${ECHO_T}$cross_compiling" >&6
12509 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12510 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12512 (eval $ac_link) 2>&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; then
12516 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12517 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12518 # work properly (i.e., refer to `conftest.exe'), while it won't with
12520 for ac_file
in conftest.exe conftest conftest.
*; do
12521 test -f "$ac_file" || continue
12523 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12524 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12525 export ac_cv_exeext
12531 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12532 See \`config.log' for more details." >&5
12533 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12534 See \`config.log' for more details." >&2;}
12535 { (exit 1); exit 1; }; }
12538 rm -f conftest
$ac_cv_exeext
12539 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12540 echo "${ECHO_T}$ac_cv_exeext" >&6
12542 rm -f conftest.
$ac_ext
12543 EXEEXT
=$ac_cv_exeext
12545 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12546 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12547 if test "${ac_cv_objext+set}" = set; then
12548 echo $ECHO_N "(cached) $ECHO_C" >&6
12550 cat >conftest.
$ac_ext <<_ACEOF
12553 cat confdefs.h
>>conftest.
$ac_ext
12554 cat >>conftest.
$ac_ext <<_ACEOF
12555 /* end confdefs.h. */
12565 rm -f conftest.o conftest.obj
12566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12567 (eval $ac_compile) 2>&5
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); }; then
12571 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12573 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12574 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12579 echo "$as_me: failed program was:" >&5
12580 sed 's/^/| /' conftest.
$ac_ext >&5
12582 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12583 See \`config.log' for more details." >&5
12584 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12585 See \`config.log' for more details." >&2;}
12586 { (exit 1); exit 1; }; }
12589 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12591 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12592 echo "${ECHO_T}$ac_cv_objext" >&6
12593 OBJEXT
=$ac_cv_objext
12595 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12596 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12597 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12598 echo $ECHO_N "(cached) $ECHO_C" >&6
12600 cat >conftest.
$ac_ext <<_ACEOF
12603 cat confdefs.h
>>conftest.
$ac_ext
12604 cat >>conftest.
$ac_ext <<_ACEOF
12605 /* end confdefs.h. */
12618 rm -f conftest.
$ac_objext
12619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12620 (eval $ac_compile) 2>conftest.er1
12622 grep -v '^ *+' conftest.er1
>conftest.err
12624 cat conftest.err
>&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } &&
12627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12629 (eval $ac_try) 2>&5
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); }; } &&
12633 { ac_try
='test -s conftest.$ac_objext'
12634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12635 (eval $ac_try) 2>&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); }; }; then
12639 ac_compiler_gnu
=yes
12641 echo "$as_me: failed program was:" >&5
12642 sed 's/^/| /' conftest.
$ac_ext >&5
12646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12647 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12650 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12651 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12652 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12653 ac_test_CFLAGS
=${CFLAGS+set}
12654 ac_save_CFLAGS
=$CFLAGS
12655 CFLAGS
="$CFLAGS -g"
12656 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12657 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12658 if test "${ac_cv_prog_cc_g+set}" = set; then
12659 echo $ECHO_N "(cached) $ECHO_C" >&6
12661 cat >conftest.
$ac_ext <<_ACEOF
12664 cat confdefs.h
>>conftest.
$ac_ext
12665 cat >>conftest.
$ac_ext <<_ACEOF
12666 /* end confdefs.h. */
12676 rm -f conftest.
$ac_objext
12677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12678 (eval $ac_compile) 2>conftest.er1
12680 grep -v '^ *+' conftest.er1
>conftest.err
12682 cat conftest.err
>&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); } &&
12685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12687 (eval $ac_try) 2>&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); }; } &&
12691 { ac_try
='test -s conftest.$ac_objext'
12692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12693 (eval $ac_try) 2>&5
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); }; }; then
12697 ac_cv_prog_cc_g
=yes
12699 echo "$as_me: failed program was:" >&5
12700 sed 's/^/| /' conftest.
$ac_ext >&5
12704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12706 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12707 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12708 if test "$ac_test_CFLAGS" = set; then
12709 CFLAGS
=$ac_save_CFLAGS
12710 elif test $ac_cv_prog_cc_g = yes; then
12711 if test "$GCC" = yes; then
12717 if test "$GCC" = yes; then
12723 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12724 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12725 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12726 echo $ECHO_N "(cached) $ECHO_C" >&6
12728 ac_cv_prog_cc_stdc
=no
12730 cat >conftest.
$ac_ext <<_ACEOF
12733 cat confdefs.h
>>conftest.
$ac_ext
12734 cat >>conftest.
$ac_ext <<_ACEOF
12735 /* end confdefs.h. */
12736 #include <stdarg.h>
12738 #include <sys/types.h>
12739 #include <sys/stat.h>
12740 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12741 struct buf { int x; };
12742 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12743 static char *e (p, i)
12749 static char *f (char * (*g) (char **, int), char **p, ...)
12754 s = g (p, va_arg (v,int));
12759 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12760 function prototypes and stuff, but not '\xHH' hex character constants.
12761 These don't provoke an error unfortunately, instead are silently treated
12762 as 'x'. The following induces an error, until -std1 is added to get
12763 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12764 array size at least. It's necessary to write '\x00'==0 to get something
12765 that's true only with -std1. */
12766 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12768 int test (int i, double x);
12769 struct s1 {int (*f) (int a);};
12770 struct s2 {int (*f) (double a);};
12771 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12777 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12782 # Don't try gcc -ansi; that turns off useful extensions and
12783 # breaks some systems' header files.
12784 # AIX -qlanglvl=ansi
12785 # Ultrix and OSF/1 -std1
12786 # HP-UX 10.20 and later -Ae
12787 # HP-UX older versions -Aa -D_HPUX_SOURCE
12788 # SVR4 -Xc -D__EXTENSIONS__
12789 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12791 CC
="$ac_save_CC $ac_arg"
12792 rm -f conftest.
$ac_objext
12793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12794 (eval $ac_compile) 2>conftest.er1
12796 grep -v '^ *+' conftest.er1
>conftest.err
12798 cat conftest.err
>&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); } &&
12801 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12803 (eval $ac_try) 2>&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); }; } &&
12807 { ac_try
='test -s conftest.$ac_objext'
12808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12809 (eval $ac_try) 2>&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); }; }; then
12813 ac_cv_prog_cc_stdc
=$ac_arg
12816 echo "$as_me: failed program was:" >&5
12817 sed 's/^/| /' conftest.
$ac_ext >&5
12820 rm -f conftest.err conftest.
$ac_objext
12822 rm -f conftest.
$ac_ext conftest.
$ac_objext
12827 case "x$ac_cv_prog_cc_stdc" in
12829 echo "$as_me:$LINENO: result: none needed" >&5
12830 echo "${ECHO_T}none needed" >&6 ;;
12832 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12833 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12834 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12837 # Some people use a C++ compiler to compile C. Since we use `exit',
12838 # in C++ we need to declare it. In case someone uses the same compiler
12839 # for both compiling C and C++ we need to have the C++ compiler decide
12840 # the declaration of exit, since it's the most demanding environment.
12841 cat >conftest.
$ac_ext <<_ACEOF
12842 #ifndef __cplusplus
12846 rm -f conftest.
$ac_objext
12847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12848 (eval $ac_compile) 2>conftest.er1
12850 grep -v '^ *+' conftest.er1
>conftest.err
12852 cat conftest.err
>&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); } &&
12855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12857 (eval $ac_try) 2>&5
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); }; } &&
12861 { ac_try
='test -s conftest.$ac_objext'
12862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12863 (eval $ac_try) 2>&5
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); }; }; then
12867 for ac_declaration
in \
12869 'extern "C" void std::exit (int) throw (); using std::exit;' \
12870 'extern "C" void std::exit (int); using std::exit;' \
12871 'extern "C" void exit (int) throw ();' \
12872 'extern "C" void exit (int);' \
12875 cat >conftest.
$ac_ext <<_ACEOF
12878 cat confdefs.h
>>conftest.
$ac_ext
12879 cat >>conftest.
$ac_ext <<_ACEOF
12880 /* end confdefs.h. */
12882 #include <stdlib.h>
12891 rm -f conftest.
$ac_objext
12892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12893 (eval $ac_compile) 2>conftest.er1
12895 grep -v '^ *+' conftest.er1
>conftest.err
12897 cat conftest.err
>&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } &&
12900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12902 (eval $ac_try) 2>&5
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); }; } &&
12906 { ac_try
='test -s conftest.$ac_objext'
12907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12908 (eval $ac_try) 2>&5
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); }; }; then
12914 echo "$as_me: failed program was:" >&5
12915 sed 's/^/| /' conftest.
$ac_ext >&5
12919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12920 cat >conftest.
$ac_ext <<_ACEOF
12923 cat confdefs.h
>>conftest.
$ac_ext
12924 cat >>conftest.
$ac_ext <<_ACEOF
12925 /* end confdefs.h. */
12935 rm -f conftest.
$ac_objext
12936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12937 (eval $ac_compile) 2>conftest.er1
12939 grep -v '^ *+' conftest.er1
>conftest.err
12941 cat conftest.err
>&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } &&
12944 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12946 (eval $ac_try) 2>&5
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); }; } &&
12950 { ac_try
='test -s conftest.$ac_objext'
12951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12952 (eval $ac_try) 2>&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); }; }; then
12958 echo "$as_me: failed program was:" >&5
12959 sed 's/^/| /' conftest.
$ac_ext >&5
12962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12965 if test -n "$ac_declaration"; then
12966 echo '#ifdef __cplusplus' >>confdefs.h
12967 echo $ac_declaration >>confdefs.h
12968 echo '#endif' >>confdefs.h
12972 echo "$as_me: failed program was:" >&5
12973 sed 's/^/| /' conftest.
$ac_ext >&5
12976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12978 ac_cpp
='$CPP $CPPFLAGS'
12979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12986 ac_cpp
='$CPP $CPPFLAGS'
12987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12991 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12992 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12993 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12994 echo $ECHO_N "(cached) $ECHO_C" >&6
12996 cat >conftest.
$ac_ext <<_ACEOF
12999 cat confdefs.h
>>conftest.
$ac_ext
13000 cat >>conftest.
$ac_ext <<_ACEOF
13001 /* end confdefs.h. */
13007 #ifndef __INTEL_COMPILER
13015 rm -f conftest.
$ac_objext
13016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13017 (eval $ac_compile) 2>conftest.er1
13019 grep -v '^ *+' conftest.er1
>conftest.err
13021 cat conftest.err
>&5
13022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13023 (exit $ac_status); } &&
13024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13026 (eval $ac_try) 2>&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); }; } &&
13030 { ac_try
='test -s conftest.$ac_objext'
13031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13032 (eval $ac_try) 2>&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); }; }; then
13036 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
13038 echo "$as_me: failed program was:" >&5
13039 sed 's/^/| /' conftest.
$ac_ext >&5
13041 bakefile_cv_c_compiler___INTEL_COMPILER
=no
13044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13048 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13049 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13050 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13056 ac_cpp
='$CPP $CPPFLAGS'
13057 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13058 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13059 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13063 if test "x$GCC" != "xyes"; then
13064 if test "xCC" = "xC"; then
13065 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13066 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13067 if test "${bakefile_cv_c_exto+set}" = set; then
13068 echo $ECHO_N "(cached) $ECHO_C" >&6
13070 cat >conftest.
$ac_ext <<_ACEOF
13073 cat confdefs.h
>>conftest.
$ac_ext
13074 cat >>conftest.
$ac_ext <<_ACEOF
13075 /* end confdefs.h. */
13085 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13087 (eval $ac_compile) 2>&5
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); }; then
13091 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13093 conftest.
$ac_ext.o
)
13094 bakefile_cv_c_exto
="-ext o"
13101 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13102 See \`config.log' for more details." >&5
13103 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13104 See \`config.log' for more details." >&2;}
13105 { (exit 1); exit 1; }; }
13109 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13112 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13113 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13114 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13115 if test "c" = "c"; then
13116 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
13118 if test "c" = "cxx"; then
13119 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
13123 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13124 unset ac_cv_prog_cc_g
13125 ac_test_CFLAGS
=${CFLAGS+set}
13126 ac_save_CFLAGS
=$CFLAGS
13127 CFLAGS
="$CFLAGS -g"
13128 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13129 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13130 if test "${ac_cv_prog_cc_g+set}" = set; then
13131 echo $ECHO_N "(cached) $ECHO_C" >&6
13133 cat >conftest.
$ac_ext <<_ACEOF
13136 cat confdefs.h
>>conftest.
$ac_ext
13137 cat >>conftest.
$ac_ext <<_ACEOF
13138 /* end confdefs.h. */
13148 rm -f conftest.
$ac_objext
13149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13150 (eval $ac_compile) 2>conftest.er1
13152 grep -v '^ *+' conftest.er1
>conftest.err
13154 cat conftest.err
>&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); } &&
13157 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13159 (eval $ac_try) 2>&5
13161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); }; } &&
13163 { ac_try
='test -s conftest.$ac_objext'
13164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13165 (eval $ac_try) 2>&5
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); }; }; then
13169 ac_cv_prog_cc_g
=yes
13171 echo "$as_me: failed program was:" >&5
13172 sed 's/^/| /' conftest.
$ac_ext >&5
13176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13178 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13179 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13180 if test "$ac_test_CFLAGS" = set; then
13181 CFLAGS
=$ac_save_CFLAGS
13182 elif test $ac_cv_prog_cc_g = yes; then
13183 if test "$GCC" = yes; then
13189 if test "$GCC" = yes; then
13201 ac_cpp
='$CPP $CPPFLAGS'
13202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13206 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13207 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13208 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13209 echo $ECHO_N "(cached) $ECHO_C" >&6
13211 cat >conftest.
$ac_ext <<_ACEOF
13214 cat confdefs.h
>>conftest.
$ac_ext
13215 cat >>conftest.
$ac_ext <<_ACEOF
13216 /* end confdefs.h. */
13229 rm -f conftest.
$ac_objext
13230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13231 (eval $ac_compile) 2>conftest.er1
13233 grep -v '^ *+' conftest.er1
>conftest.err
13235 cat conftest.err
>&5
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); } &&
13238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13240 (eval $ac_try) 2>&5
13242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13243 (exit $ac_status); }; } &&
13244 { ac_try
='test -s conftest.$ac_objext'
13245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13246 (eval $ac_try) 2>&5
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); }; }; then
13250 bakefile_compiler_xlc
=yes
13252 echo "$as_me: failed program was:" >&5
13253 sed 's/^/| /' conftest.
$ac_ext >&5
13255 bakefile_compiler_xlc
=no
13257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13258 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13261 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13262 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13264 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13266 ac_cpp
='$CPP $CPPFLAGS'
13267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13276 ac_cpp
='$CPP $CPPFLAGS'
13277 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13278 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13279 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13281 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13282 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13283 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13284 echo $ECHO_N "(cached) $ECHO_C" >&6
13286 cat >conftest.
$ac_ext <<_ACEOF
13289 cat confdefs.h
>>conftest.
$ac_ext
13290 cat >>conftest.
$ac_ext <<_ACEOF
13291 /* end confdefs.h. */
13304 rm -f conftest.
$ac_objext
13305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13306 (eval $ac_compile) 2>conftest.er1
13308 grep -v '^ *+' conftest.er1
>conftest.err
13310 cat conftest.err
>&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); } &&
13313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; } &&
13319 { ac_try
='test -s conftest.$ac_objext'
13320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13321 (eval $ac_try) 2>&5
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); }; }; then
13325 bakefile_compiler_mwerks
=yes
13327 echo "$as_me: failed program was:" >&5
13328 sed 's/^/| /' conftest.
$ac_ext >&5
13330 bakefile_compiler_mwerks
=no
13332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13333 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13336 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13337 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13339 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13341 ac_cpp
='$CPP $CPPFLAGS'
13342 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13343 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13344 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13348 ac_cpp
='$CPP $CPPFLAGS'
13349 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13350 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13351 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13353 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13354 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13355 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13356 echo $ECHO_N "(cached) $ECHO_C" >&6
13358 cat >conftest.
$ac_ext <<_ACEOF
13361 cat confdefs.h
>>conftest.
$ac_ext
13362 cat >>conftest.
$ac_ext <<_ACEOF
13363 /* end confdefs.h. */
13376 rm -f conftest.
$ac_objext
13377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13378 (eval $ac_compile) 2>conftest.er1
13380 grep -v '^ *+' conftest.er1
>conftest.err
13382 cat conftest.err
>&5
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); } &&
13385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13387 (eval $ac_try) 2>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; } &&
13391 { ac_try
='test -s conftest.$ac_objext'
13392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13393 (eval $ac_try) 2>&5
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); }; }; then
13397 bakefile_compiler_xlc
=yes
13399 echo "$as_me: failed program was:" >&5
13400 sed 's/^/| /' conftest.
$ac_ext >&5
13402 bakefile_compiler_xlc
=no
13404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13405 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13408 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13409 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13411 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13413 ac_cpp
='$CPP $CPPFLAGS'
13414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13425 ac_cpp
='$CPP $CPPFLAGS'
13426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13430 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13431 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13432 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13433 echo $ECHO_N "(cached) $ECHO_C" >&6
13435 cat >conftest.
$ac_ext <<_ACEOF
13438 cat confdefs.h
>>conftest.
$ac_ext
13439 cat >>conftest.
$ac_ext <<_ACEOF
13440 /* end confdefs.h. */
13446 #ifndef _SGI_COMPILER_VERSION
13454 rm -f conftest.
$ac_objext
13455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13456 (eval $ac_compile) 2>conftest.er1
13458 grep -v '^ *+' conftest.er1
>conftest.err
13460 cat conftest.err
>&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); } &&
13463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13465 (eval $ac_try) 2>&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); }; } &&
13469 { ac_try
='test -s conftest.$ac_objext'
13470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13471 (eval $ac_try) 2>&5
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); }; }; then
13475 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13477 echo "$as_me: failed program was:" >&5
13478 sed 's/^/| /' conftest.
$ac_ext >&5
13480 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13487 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13488 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13489 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13495 ac_cpp
='$CPP $CPPFLAGS'
13496 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13497 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13498 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13508 ac_cpp
='$CPP $CPPFLAGS'
13509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13513 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13514 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13515 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13516 echo $ECHO_N "(cached) $ECHO_C" >&6
13518 cat >conftest.
$ac_ext <<_ACEOF
13521 cat confdefs.h
>>conftest.
$ac_ext
13522 cat >>conftest.
$ac_ext <<_ACEOF
13523 /* end confdefs.h. */
13537 rm -f conftest.
$ac_objext
13538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13539 (eval $ac_compile) 2>conftest.er1
13541 grep -v '^ *+' conftest.er1
>conftest.err
13543 cat conftest.err
>&5
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); } &&
13546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13548 (eval $ac_try) 2>&5
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); }; } &&
13552 { ac_try
='test -s conftest.$ac_objext'
13553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13554 (eval $ac_try) 2>&5
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); }; }; then
13558 bakefile_cv_c_compiler___HP_cc
=yes
13560 echo "$as_me: failed program was:" >&5
13561 sed 's/^/| /' conftest.
$ac_ext >&5
13563 bakefile_cv_c_compiler___HP_cc
=no
13566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13570 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13571 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13572 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13578 ac_cpp
='$CPP $CPPFLAGS'
13579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13591 ac_cpp
='$CPP $CPPFLAGS'
13592 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13593 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13594 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13596 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13597 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13598 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13599 echo $ECHO_N "(cached) $ECHO_C" >&6
13601 cat >conftest.
$ac_ext <<_ACEOF
13604 cat confdefs.h
>>conftest.
$ac_ext
13605 cat >>conftest.
$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13620 rm -f conftest.
$ac_objext
13621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13622 (eval $ac_compile) 2>conftest.er1
13624 grep -v '^ *+' conftest.er1
>conftest.err
13626 cat conftest.err
>&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); } &&
13629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13631 (eval $ac_try) 2>&5
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); }; } &&
13635 { ac_try
='test -s conftest.$ac_objext'
13636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13637 (eval $ac_try) 2>&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); }; }; then
13641 bakefile_cv_c_compiler___DECC
=yes
13643 echo "$as_me: failed program was:" >&5
13644 sed 's/^/| /' conftest.
$ac_ext >&5
13646 bakefile_cv_c_compiler___DECC
=no
13649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13653 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13654 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13655 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13661 ac_cpp
='$CPP $CPPFLAGS'
13662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13674 ac_cpp
='$CPP $CPPFLAGS'
13675 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13676 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13677 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13679 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13680 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13681 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13682 echo $ECHO_N "(cached) $ECHO_C" >&6
13684 cat >conftest.
$ac_ext <<_ACEOF
13687 cat confdefs.h
>>conftest.
$ac_ext
13688 cat >>conftest.
$ac_ext <<_ACEOF
13689 /* end confdefs.h. */
13703 rm -f conftest.
$ac_objext
13704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13705 (eval $ac_compile) 2>conftest.er1
13707 grep -v '^ *+' conftest.er1
>conftest.err
13709 cat conftest.err
>&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); } &&
13712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13714 (eval $ac_try) 2>&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); }; } &&
13718 { ac_try
='test -s conftest.$ac_objext'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; }; then
13724 bakefile_cv_c_compiler___SUNPRO_C
=yes
13726 echo "$as_me: failed program was:" >&5
13727 sed 's/^/| /' conftest.
$ac_ext >&5
13729 bakefile_cv_c_compiler___SUNPRO_C
=no
13732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13736 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13737 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13738 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13744 ac_cpp
='$CPP $CPPFLAGS'
13745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13758 ac_cpp
='$CPP $CPPFLAGS'
13759 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13760 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13761 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13762 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13763 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13764 # On Suns, sometimes $CPP names a directory.
13765 if test -n "$CPP" && test -d "$CPP"; then
13768 if test -z "$CPP"; then
13769 if test "${ac_cv_prog_CPP+set}" = set; then
13770 echo $ECHO_N "(cached) $ECHO_C" >&6
13772 # Double quotes because CPP needs to be expanded
13773 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13775 ac_preproc_ok
=false
13776 for ac_c_preproc_warn_flag
in '' yes
13778 # Use a header file that comes with gcc, so configuring glibc
13779 # with a fresh cross-compiler works.
13780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13781 # <limits.h> exists even on freestanding compilers.
13782 # On the NeXT, cc -E runs the code through the compiler's parser,
13783 # not just through cpp. "Syntax error" is here to catch this case.
13784 cat >conftest.
$ac_ext <<_ACEOF
13787 cat confdefs.h
>>conftest.
$ac_ext
13788 cat >>conftest.
$ac_ext <<_ACEOF
13789 /* end confdefs.h. */
13791 # include <limits.h>
13793 # include <assert.h>
13797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13798 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13800 grep -v '^ *+' conftest.er1
>conftest.err
13802 cat conftest.err
>&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); } >/dev
/null
; then
13805 if test -s conftest.err
; then
13806 ac_cpp_err
=$ac_c_preproc_warn_flag
13807 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13814 if test -z "$ac_cpp_err"; then
13817 echo "$as_me: failed program was:" >&5
13818 sed 's/^/| /' conftest.
$ac_ext >&5
13820 # Broken: fails on valid input.
13823 rm -f conftest.err conftest.
$ac_ext
13825 # OK, works on sane cases. Now check whether non-existent headers
13826 # can be detected and how.
13827 cat >conftest.
$ac_ext <<_ACEOF
13830 cat confdefs.h
>>conftest.
$ac_ext
13831 cat >>conftest.
$ac_ext <<_ACEOF
13832 /* end confdefs.h. */
13833 #include <ac_nonexistent.h>
13835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13836 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13838 grep -v '^ *+' conftest.er1
>conftest.err
13840 cat conftest.err
>&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); } >/dev
/null
; then
13843 if test -s conftest.err
; then
13844 ac_cpp_err
=$ac_c_preproc_warn_flag
13845 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13852 if test -z "$ac_cpp_err"; then
13853 # Broken: success on invalid input.
13856 echo "$as_me: failed program was:" >&5
13857 sed 's/^/| /' conftest.
$ac_ext >&5
13859 # Passes both tests.
13863 rm -f conftest.err conftest.
$ac_ext
13866 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13867 rm -f conftest.err conftest.
$ac_ext
13868 if $ac_preproc_ok; then
13873 ac_cv_prog_CPP
=$CPP
13876 CPP
=$ac_cv_prog_CPP
13878 ac_cv_prog_CPP
=$CPP
13880 echo "$as_me:$LINENO: result: $CPP" >&5
13881 echo "${ECHO_T}$CPP" >&6
13882 ac_preproc_ok
=false
13883 for ac_c_preproc_warn_flag
in '' yes
13885 # Use a header file that comes with gcc, so configuring glibc
13886 # with a fresh cross-compiler works.
13887 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13888 # <limits.h> exists even on freestanding compilers.
13889 # On the NeXT, cc -E runs the code through the compiler's parser,
13890 # not just through cpp. "Syntax error" is here to catch this case.
13891 cat >conftest.
$ac_ext <<_ACEOF
13894 cat confdefs.h
>>conftest.
$ac_ext
13895 cat >>conftest.
$ac_ext <<_ACEOF
13896 /* end confdefs.h. */
13898 # include <limits.h>
13900 # include <assert.h>
13904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13905 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13907 grep -v '^ *+' conftest.er1
>conftest.err
13909 cat conftest.err
>&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); } >/dev
/null
; then
13912 if test -s conftest.err
; then
13913 ac_cpp_err
=$ac_c_preproc_warn_flag
13914 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13921 if test -z "$ac_cpp_err"; then
13924 echo "$as_me: failed program was:" >&5
13925 sed 's/^/| /' conftest.
$ac_ext >&5
13927 # Broken: fails on valid input.
13930 rm -f conftest.err conftest.
$ac_ext
13932 # OK, works on sane cases. Now check whether non-existent headers
13933 # can be detected and how.
13934 cat >conftest.
$ac_ext <<_ACEOF
13937 cat confdefs.h
>>conftest.
$ac_ext
13938 cat >>conftest.
$ac_ext <<_ACEOF
13939 /* end confdefs.h. */
13940 #include <ac_nonexistent.h>
13942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13943 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13945 grep -v '^ *+' conftest.er1
>conftest.err
13947 cat conftest.err
>&5
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); } >/dev
/null
; then
13950 if test -s conftest.err
; then
13951 ac_cpp_err
=$ac_c_preproc_warn_flag
13952 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13959 if test -z "$ac_cpp_err"; then
13960 # Broken: success on invalid input.
13963 echo "$as_me: failed program was:" >&5
13964 sed 's/^/| /' conftest.
$ac_ext >&5
13966 # Passes both tests.
13970 rm -f conftest.err conftest.
$ac_ext
13973 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13974 rm -f conftest.err conftest.
$ac_ext
13975 if $ac_preproc_ok; then
13978 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13979 See \`config.log' for more details." >&5
13980 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13981 See \`config.log' for more details." >&2;}
13982 { (exit 1); exit 1; }; }
13986 ac_cpp
='$CPP $CPPFLAGS'
13987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13992 echo "$as_me:$LINENO: checking for egrep" >&5
13993 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13994 if test "${ac_cv_prog_egrep+set}" = set; then
13995 echo $ECHO_N "(cached) $ECHO_C" >&6
13997 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13998 then ac_cv_prog_egrep
='grep -E'
13999 else ac_cv_prog_egrep
='egrep'
14002 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
14003 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
14004 EGREP
=$ac_cv_prog_egrep
14007 if test $ac_cv_c_compiler_gnu = yes; then
14008 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14009 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
14010 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14011 echo $ECHO_N "(cached) $ECHO_C" >&6
14013 ac_pattern
="Autoconf.*'x'"
14014 cat >conftest.
$ac_ext <<_ACEOF
14017 cat confdefs.h
>>conftest.
$ac_ext
14018 cat >>conftest.
$ac_ext <<_ACEOF
14019 /* end confdefs.h. */
14023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14024 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14025 ac_cv_prog_gcc_traditional
=yes
14027 ac_cv_prog_gcc_traditional
=no
14032 if test $ac_cv_prog_gcc_traditional = no
; then
14033 cat >conftest.
$ac_ext <<_ACEOF
14036 cat confdefs.h
>>conftest.
$ac_ext
14037 cat >>conftest.
$ac_ext <<_ACEOF
14038 /* end confdefs.h. */
14039 #include <termio.h>
14042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14043 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14044 ac_cv_prog_gcc_traditional
=yes
14050 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14051 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14052 if test $ac_cv_prog_gcc_traditional = yes; then
14053 CC
="$CC -traditional"
14058 CXXFLAGS
=${CXXFLAGS:=}
14063 ac_cpp
='$CXXCPP $CPPFLAGS'
14064 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14065 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14066 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14067 if test -n "$ac_tool_prefix"; then
14068 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14070 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14071 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14072 echo "$as_me:$LINENO: checking for $ac_word" >&5
14073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14074 if test "${ac_cv_prog_CXX+set}" = set; then
14075 echo $ECHO_N "(cached) $ECHO_C" >&6
14077 if test -n "$CXX"; then
14078 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
14080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14081 for as_dir
in $PATH
14084 test -z "$as_dir" && as_dir
=.
14085 for ac_exec_ext
in '' $ac_executable_extensions; do
14086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14087 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
14088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14096 CXX
=$ac_cv_prog_CXX
14097 if test -n "$CXX"; then
14098 echo "$as_me:$LINENO: result: $CXX" >&5
14099 echo "${ECHO_T}$CXX" >&6
14101 echo "$as_me:$LINENO: result: no" >&5
14102 echo "${ECHO_T}no" >&6
14105 test -n "$CXX" && break
14108 if test -z "$CXX"; then
14110 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14112 # Extract the first word of "$ac_prog", so it can be a program name with args.
14113 set dummy
$ac_prog; ac_word
=$2
14114 echo "$as_me:$LINENO: checking for $ac_word" >&5
14115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14116 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14117 echo $ECHO_N "(cached) $ECHO_C" >&6
14119 if test -n "$ac_ct_CXX"; then
14120 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
14122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14123 for as_dir
in $PATH
14126 test -z "$as_dir" && as_dir
=.
14127 for ac_exec_ext
in '' $ac_executable_extensions; do
14128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14129 ac_cv_prog_ac_ct_CXX
="$ac_prog"
14130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14138 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
14139 if test -n "$ac_ct_CXX"; then
14140 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14141 echo "${ECHO_T}$ac_ct_CXX" >&6
14143 echo "$as_me:$LINENO: result: no" >&5
14144 echo "${ECHO_T}no" >&6
14147 test -n "$ac_ct_CXX" && break
14149 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
14155 # Provide some information about the compiler.
14156 echo "$as_me:$LINENO:" \
14157 "checking for C++ compiler version" >&5
14158 ac_compiler
=`set X $ac_compile; echo $2`
14159 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14160 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); }
14164 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14165 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }
14169 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14170 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }
14175 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14176 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14177 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14178 echo $ECHO_N "(cached) $ECHO_C" >&6
14180 cat >conftest.
$ac_ext <<_ACEOF
14183 cat confdefs.h
>>conftest.
$ac_ext
14184 cat >>conftest.
$ac_ext <<_ACEOF
14185 /* end confdefs.h. */
14198 rm -f conftest.
$ac_objext
14199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14200 (eval $ac_compile) 2>conftest.er1
14202 grep -v '^ *+' conftest.er1
>conftest.err
14204 cat conftest.err
>&5
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); } &&
14207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14209 (eval $ac_try) 2>&5
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); }; } &&
14213 { ac_try
='test -s conftest.$ac_objext'
14214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14215 (eval $ac_try) 2>&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); }; }; then
14219 ac_compiler_gnu
=yes
14221 echo "$as_me: failed program was:" >&5
14222 sed 's/^/| /' conftest.
$ac_ext >&5
14226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14227 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
14230 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14231 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14232 GXX
=`test $ac_compiler_gnu = yes && echo yes`
14233 ac_test_CXXFLAGS
=${CXXFLAGS+set}
14234 ac_save_CXXFLAGS
=$CXXFLAGS
14236 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14237 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14238 if test "${ac_cv_prog_cxx_g+set}" = set; then
14239 echo $ECHO_N "(cached) $ECHO_C" >&6
14241 cat >conftest.
$ac_ext <<_ACEOF
14244 cat confdefs.h
>>conftest.
$ac_ext
14245 cat >>conftest.
$ac_ext <<_ACEOF
14246 /* end confdefs.h. */
14256 rm -f conftest.
$ac_objext
14257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14258 (eval $ac_compile) 2>conftest.er1
14260 grep -v '^ *+' conftest.er1
>conftest.err
14262 cat conftest.err
>&5
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); } &&
14265 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14267 (eval $ac_try) 2>&5
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); }; } &&
14271 { ac_try
='test -s conftest.$ac_objext'
14272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14273 (eval $ac_try) 2>&5
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); }; }; then
14277 ac_cv_prog_cxx_g
=yes
14279 echo "$as_me: failed program was:" >&5
14280 sed 's/^/| /' conftest.
$ac_ext >&5
14282 ac_cv_prog_cxx_g
=no
14284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14286 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14287 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14288 if test "$ac_test_CXXFLAGS" = set; then
14289 CXXFLAGS
=$ac_save_CXXFLAGS
14290 elif test $ac_cv_prog_cxx_g = yes; then
14291 if test "$GXX" = yes; then
14292 CXXFLAGS
="$CXXFLAGS -g -O2"
14294 CXXFLAGS
="$CXXFLAGS -g"
14297 if test "$GXX" = yes; then
14303 for ac_declaration
in \
14305 'extern "C" void std::exit (int) throw (); using std::exit;' \
14306 'extern "C" void std::exit (int); using std::exit;' \
14307 'extern "C" void exit (int) throw ();' \
14308 'extern "C" void exit (int);' \
14311 cat >conftest.
$ac_ext <<_ACEOF
14314 cat confdefs.h
>>conftest.
$ac_ext
14315 cat >>conftest.
$ac_ext <<_ACEOF
14316 /* end confdefs.h. */
14318 #include <stdlib.h>
14327 rm -f conftest.
$ac_objext
14328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14329 (eval $ac_compile) 2>conftest.er1
14331 grep -v '^ *+' conftest.er1
>conftest.err
14333 cat conftest.err
>&5
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); } &&
14336 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14338 (eval $ac_try) 2>&5
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); }; } &&
14342 { ac_try
='test -s conftest.$ac_objext'
14343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14344 (eval $ac_try) 2>&5
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); }; }; then
14350 echo "$as_me: failed program was:" >&5
14351 sed 's/^/| /' conftest.
$ac_ext >&5
14355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14356 cat >conftest.
$ac_ext <<_ACEOF
14359 cat confdefs.h
>>conftest.
$ac_ext
14360 cat >>conftest.
$ac_ext <<_ACEOF
14361 /* end confdefs.h. */
14371 rm -f conftest.
$ac_objext
14372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14373 (eval $ac_compile) 2>conftest.er1
14375 grep -v '^ *+' conftest.er1
>conftest.err
14377 cat conftest.err
>&5
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); } &&
14380 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14382 (eval $ac_try) 2>&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); }; } &&
14386 { ac_try
='test -s conftest.$ac_objext'
14387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14388 (eval $ac_try) 2>&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }; }; then
14394 echo "$as_me: failed program was:" >&5
14395 sed 's/^/| /' conftest.
$ac_ext >&5
14398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14401 if test -n "$ac_declaration"; then
14402 echo '#ifdef __cplusplus' >>confdefs.h
14403 echo $ac_declaration >>confdefs.h
14404 echo '#endif' >>confdefs.h
14408 ac_cpp
='$CPP $CPPFLAGS'
14409 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14410 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14411 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14416 ac_cpp
='$CXXCPP $CPPFLAGS'
14417 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14418 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14419 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14421 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14422 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14423 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14426 cat >conftest.
$ac_ext <<_ACEOF
14429 cat confdefs.h
>>conftest.
$ac_ext
14430 cat >>conftest.
$ac_ext <<_ACEOF
14431 /* end confdefs.h. */
14437 #ifndef __INTEL_COMPILER
14445 rm -f conftest.
$ac_objext
14446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14447 (eval $ac_compile) 2>conftest.er1
14449 grep -v '^ *+' conftest.er1
>conftest.err
14451 cat conftest.err
>&5
14452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453 (exit $ac_status); } &&
14454 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14456 (eval $ac_try) 2>&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); }; } &&
14460 { ac_try
='test -s conftest.$ac_objext'
14461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14462 (eval $ac_try) 2>&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); }; }; then
14466 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14468 echo "$as_me: failed program was:" >&5
14469 sed 's/^/| /' conftest.
$ac_ext >&5
14471 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14478 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14479 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14480 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14486 ac_cpp
='$CPP $CPPFLAGS'
14487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14493 if test "x$GCXX" != "xyes"; then
14494 if test "xCXX" = "xC"; then
14495 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14496 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14497 if test "${bakefile_cv_c_exto+set}" = set; then
14498 echo $ECHO_N "(cached) $ECHO_C" >&6
14500 cat >conftest.
$ac_ext <<_ACEOF
14503 cat confdefs.h
>>conftest.
$ac_ext
14504 cat >>conftest.
$ac_ext <<_ACEOF
14505 /* end confdefs.h. */
14515 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14517 (eval $ac_compile) 2>&5
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; then
14521 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14523 conftest.
$ac_ext.o
)
14524 bakefile_cv_c_exto
="-ext o"
14531 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14532 See \`config.log' for more details." >&5
14533 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14534 See \`config.log' for more details." >&2;}
14535 { (exit 1); exit 1; }; }
14539 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14542 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14543 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14544 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14545 if test "c" = "c"; then
14546 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
14548 if test "c" = "cxx"; then
14549 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
14553 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14554 unset ac_cv_prog_cc_g
14555 ac_test_CFLAGS
=${CFLAGS+set}
14556 ac_save_CFLAGS
=$CFLAGS
14557 CFLAGS
="$CFLAGS -g"
14558 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14559 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14560 if test "${ac_cv_prog_cc_g+set}" = set; then
14561 echo $ECHO_N "(cached) $ECHO_C" >&6
14563 cat >conftest.
$ac_ext <<_ACEOF
14566 cat confdefs.h
>>conftest.
$ac_ext
14567 cat >>conftest.
$ac_ext <<_ACEOF
14568 /* end confdefs.h. */
14578 rm -f conftest.
$ac_objext
14579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14580 (eval $ac_compile) 2>conftest.er1
14582 grep -v '^ *+' conftest.er1
>conftest.err
14584 cat conftest.err
>&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); } &&
14587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14589 (eval $ac_try) 2>&5
14591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14592 (exit $ac_status); }; } &&
14593 { ac_try
='test -s conftest.$ac_objext'
14594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14595 (eval $ac_try) 2>&5
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); }; }; then
14599 ac_cv_prog_cc_g
=yes
14601 echo "$as_me: failed program was:" >&5
14602 sed 's/^/| /' conftest.
$ac_ext >&5
14606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14608 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14609 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14610 if test "$ac_test_CFLAGS" = set; then
14611 CFLAGS
=$ac_save_CFLAGS
14612 elif test $ac_cv_prog_cc_g = yes; then
14613 if test "$GCC" = yes; then
14619 if test "$GCC" = yes; then
14631 ac_cpp
='$CXXCPP $CPPFLAGS'
14632 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14633 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14634 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14636 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14637 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14638 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14639 echo $ECHO_N "(cached) $ECHO_C" >&6
14641 cat >conftest.
$ac_ext <<_ACEOF
14644 cat confdefs.h
>>conftest.
$ac_ext
14645 cat >>conftest.
$ac_ext <<_ACEOF
14646 /* end confdefs.h. */
14659 rm -f conftest.
$ac_objext
14660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14661 (eval $ac_compile) 2>conftest.er1
14663 grep -v '^ *+' conftest.er1
>conftest.err
14665 cat conftest.err
>&5
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); } &&
14668 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14670 (eval $ac_try) 2>&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); }; } &&
14674 { ac_try
='test -s conftest.$ac_objext'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676 (eval $ac_try) 2>&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; }; then
14680 bakefile_compiler_xlc
=yes
14682 echo "$as_me: failed program was:" >&5
14683 sed 's/^/| /' conftest.
$ac_ext >&5
14685 bakefile_compiler_xlc
=no
14687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14688 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14691 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14692 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14694 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14696 ac_cpp
='$CPP $CPPFLAGS'
14697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14706 ac_cpp
='$CXXCPP $CPPFLAGS'
14707 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14708 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14709 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14711 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14712 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14713 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14714 echo $ECHO_N "(cached) $ECHO_C" >&6
14716 cat >conftest.
$ac_ext <<_ACEOF
14719 cat confdefs.h
>>conftest.
$ac_ext
14720 cat >>conftest.
$ac_ext <<_ACEOF
14721 /* end confdefs.h. */
14734 rm -f conftest.
$ac_objext
14735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14736 (eval $ac_compile) 2>conftest.er1
14738 grep -v '^ *+' conftest.er1
>conftest.err
14740 cat conftest.err
>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); } &&
14743 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; } &&
14749 { ac_try
='test -s conftest.$ac_objext'
14750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14751 (eval $ac_try) 2>&5
14753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14754 (exit $ac_status); }; }; then
14755 bakefile_compiler_mwerks
=yes
14757 echo "$as_me: failed program was:" >&5
14758 sed 's/^/| /' conftest.
$ac_ext >&5
14760 bakefile_compiler_mwerks
=no
14762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14763 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14766 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14767 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14769 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14771 ac_cpp
='$CPP $CPPFLAGS'
14772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14778 ac_cpp
='$CXXCPP $CPPFLAGS'
14779 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14780 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14781 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14783 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14784 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14785 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14786 echo $ECHO_N "(cached) $ECHO_C" >&6
14788 cat >conftest.
$ac_ext <<_ACEOF
14791 cat confdefs.h
>>conftest.
$ac_ext
14792 cat >>conftest.
$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14806 rm -f conftest.
$ac_objext
14807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14808 (eval $ac_compile) 2>conftest.er1
14810 grep -v '^ *+' conftest.er1
>conftest.err
14812 cat conftest.err
>&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); } &&
14815 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14817 (eval $ac_try) 2>&5
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); }; } &&
14821 { ac_try
='test -s conftest.$ac_objext'
14822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14823 (eval $ac_try) 2>&5
14825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); }; }; then
14827 bakefile_compiler_xlc
=yes
14829 echo "$as_me: failed program was:" >&5
14830 sed 's/^/| /' conftest.
$ac_ext >&5
14832 bakefile_compiler_xlc
=no
14834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14835 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14838 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14839 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14841 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14843 ac_cpp
='$CPP $CPPFLAGS'
14844 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14845 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14846 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14855 ac_cpp
='$CXXCPP $CPPFLAGS'
14856 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14857 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14858 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14860 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14861 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14862 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14863 echo $ECHO_N "(cached) $ECHO_C" >&6
14865 cat >conftest.
$ac_ext <<_ACEOF
14868 cat confdefs.h
>>conftest.
$ac_ext
14869 cat >>conftest.
$ac_ext <<_ACEOF
14870 /* end confdefs.h. */
14876 #ifndef _SGI_COMPILER_VERSION
14884 rm -f conftest.
$ac_objext
14885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14886 (eval $ac_compile) 2>conftest.er1
14888 grep -v '^ *+' conftest.er1
>conftest.err
14890 cat conftest.err
>&5
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); } &&
14893 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14895 (eval $ac_try) 2>&5
14897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14898 (exit $ac_status); }; } &&
14899 { ac_try
='test -s conftest.$ac_objext'
14900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14901 (eval $ac_try) 2>&5
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); }; }; then
14905 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14907 echo "$as_me: failed program was:" >&5
14908 sed 's/^/| /' conftest.
$ac_ext >&5
14910 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14917 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14918 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14919 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14925 ac_cpp
='$CPP $CPPFLAGS'
14926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14938 ac_cpp
='$CXXCPP $CPPFLAGS'
14939 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14943 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14944 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14945 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14948 cat >conftest.
$ac_ext <<_ACEOF
14951 cat confdefs.h
>>conftest.
$ac_ext
14952 cat >>conftest.
$ac_ext <<_ACEOF
14953 /* end confdefs.h. */
14967 rm -f conftest.
$ac_objext
14968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14969 (eval $ac_compile) 2>conftest.er1
14971 grep -v '^ *+' conftest.er1
>conftest.err
14973 cat conftest.err
>&5
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); } &&
14976 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14978 (eval $ac_try) 2>&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); }; } &&
14982 { ac_try
='test -s conftest.$ac_objext'
14983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 (eval $ac_try) 2>&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; }; then
14988 bakefile_cv_cxx_compiler___HP_aCC
=yes
14990 echo "$as_me: failed program was:" >&5
14991 sed 's/^/| /' conftest.
$ac_ext >&5
14993 bakefile_cv_cxx_compiler___HP_aCC
=no
14996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15000 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15001 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
15002 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
15008 ac_cpp
='$CPP $CPPFLAGS'
15009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15021 ac_cpp
='$CXXCPP $CPPFLAGS'
15022 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15023 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15024 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15026 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15027 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
15028 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15029 echo $ECHO_N "(cached) $ECHO_C" >&6
15031 cat >conftest.
$ac_ext <<_ACEOF
15034 cat confdefs.h
>>conftest.
$ac_ext
15035 cat >>conftest.
$ac_ext <<_ACEOF
15036 /* end confdefs.h. */
15050 rm -f conftest.
$ac_objext
15051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15052 (eval $ac_compile) 2>conftest.er1
15054 grep -v '^ *+' conftest.er1
>conftest.err
15056 cat conftest.err
>&5
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); } &&
15059 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15061 (eval $ac_try) 2>&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); }; } &&
15065 { ac_try
='test -s conftest.$ac_objext'
15066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15067 (eval $ac_try) 2>&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); }; }; then
15071 bakefile_cv_cxx_compiler___DECCXX
=yes
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.
$ac_ext >&5
15076 bakefile_cv_cxx_compiler___DECCXX
=no
15079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15083 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15084 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15085 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15091 ac_cpp
='$CPP $CPPFLAGS'
15092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15104 ac_cpp
='$CXXCPP $CPPFLAGS'
15105 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15106 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15107 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15109 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15110 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15111 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15112 echo $ECHO_N "(cached) $ECHO_C" >&6
15114 cat >conftest.
$ac_ext <<_ACEOF
15117 cat confdefs.h
>>conftest.
$ac_ext
15118 cat >>conftest.
$ac_ext <<_ACEOF
15119 /* end confdefs.h. */
15125 #ifndef __SUNPRO_CC
15133 rm -f conftest.
$ac_objext
15134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15135 (eval $ac_compile) 2>conftest.er1
15137 grep -v '^ *+' conftest.er1
>conftest.err
15139 cat conftest.err
>&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); } &&
15142 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15144 (eval $ac_try) 2>&5
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); }; } &&
15148 { ac_try
='test -s conftest.$ac_objext'
15149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15150 (eval $ac_try) 2>&5
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); }; }; then
15154 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
15156 echo "$as_me: failed program was:" >&5
15157 sed 's/^/| /' conftest.
$ac_ext >&5
15159 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
15162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15166 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15167 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15168 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15174 ac_cpp
='$CPP $CPPFLAGS'
15175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15187 if test -n "$ac_tool_prefix"; then
15188 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15189 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
15190 echo "$as_me:$LINENO: checking for $ac_word" >&5
15191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15192 if test "${ac_cv_prog_RANLIB+set}" = set; then
15193 echo $ECHO_N "(cached) $ECHO_C" >&6
15195 if test -n "$RANLIB"; then
15196 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
15198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15199 for as_dir
in $PATH
15202 test -z "$as_dir" && as_dir
=.
15203 for ac_exec_ext
in '' $ac_executable_extensions; do
15204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15205 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
15206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15214 RANLIB
=$ac_cv_prog_RANLIB
15215 if test -n "$RANLIB"; then
15216 echo "$as_me:$LINENO: result: $RANLIB" >&5
15217 echo "${ECHO_T}$RANLIB" >&6
15219 echo "$as_me:$LINENO: result: no" >&5
15220 echo "${ECHO_T}no" >&6
15224 if test -z "$ac_cv_prog_RANLIB"; then
15225 ac_ct_RANLIB
=$RANLIB
15226 # Extract the first word of "ranlib", so it can be a program name with args.
15227 set dummy ranlib
; ac_word
=$2
15228 echo "$as_me:$LINENO: checking for $ac_word" >&5
15229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15230 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15231 echo $ECHO_N "(cached) $ECHO_C" >&6
15233 if test -n "$ac_ct_RANLIB"; then
15234 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
15236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15237 for as_dir
in $PATH
15240 test -z "$as_dir" && as_dir
=.
15241 for ac_exec_ext
in '' $ac_executable_extensions; do
15242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15243 ac_cv_prog_ac_ct_RANLIB
="ranlib"
15244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15250 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
15253 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15254 if test -n "$ac_ct_RANLIB"; then
15255 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15256 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15258 echo "$as_me:$LINENO: result: no" >&5
15259 echo "${ECHO_T}no" >&6
15262 RANLIB
=$ac_ct_RANLIB
15264 RANLIB
="$ac_cv_prog_RANLIB"
15268 if test "x$SUNCXX" != xyes
; then
15269 if test -n "$ac_tool_prefix"; then
15270 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15271 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15272 echo "$as_me:$LINENO: checking for $ac_word" >&5
15273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15274 if test "${ac_cv_prog_AR+set}" = set; then
15275 echo $ECHO_N "(cached) $ECHO_C" >&6
15277 if test -n "$AR"; then
15278 ac_cv_prog_AR
="$AR" # Let the user override the test.
15280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15281 for as_dir
in $PATH
15284 test -z "$as_dir" && as_dir
=.
15285 for ac_exec_ext
in '' $ac_executable_extensions; do
15286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15287 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15297 if test -n "$AR"; then
15298 echo "$as_me:$LINENO: result: $AR" >&5
15299 echo "${ECHO_T}$AR" >&6
15301 echo "$as_me:$LINENO: result: no" >&5
15302 echo "${ECHO_T}no" >&6
15306 if test -z "$ac_cv_prog_AR"; then
15308 # Extract the first word of "ar", so it can be a program name with args.
15309 set dummy
ar; ac_word
=$2
15310 echo "$as_me:$LINENO: checking for $ac_word" >&5
15311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15312 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15313 echo $ECHO_N "(cached) $ECHO_C" >&6
15315 if test -n "$ac_ct_AR"; then
15316 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15319 for as_dir
in $PATH
15322 test -z "$as_dir" && as_dir
=.
15323 for ac_exec_ext
in '' $ac_executable_extensions; do
15324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15325 ac_cv_prog_ac_ct_AR
="ar"
15326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15334 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15335 if test -n "$ac_ct_AR"; then
15336 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15337 echo "${ECHO_T}$ac_ct_AR" >&6
15339 echo "$as_me:$LINENO: result: no" >&5
15340 echo "${ECHO_T}no" >&6
15345 AR
="$ac_cv_prog_AR"
15348 if test "x$AR" = "x" ; then
15349 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15350 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15351 { (exit 1); exit 1; }; }
15355 # Find a good install program. We prefer a C program (faster),
15356 # so one script is as good as another. But avoid the broken or
15357 # incompatible versions:
15358 # SysV /etc/install, /usr/sbin/install
15359 # SunOS /usr/etc/install
15360 # IRIX /sbin/install
15362 # AmigaOS /C/install, which installs bootblocks on floppy discs
15363 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15364 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15365 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15366 # OS/2's system install, which has a completely different semantic
15367 # ./install, which can be erroneously created by make from ./install.sh.
15368 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15369 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15370 if test -z "$INSTALL"; then
15371 if test "${ac_cv_path_install+set}" = set; then
15372 echo $ECHO_N "(cached) $ECHO_C" >&6
15374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15375 for as_dir
in $PATH
15378 test -z "$as_dir" && as_dir
=.
15379 # Account for people who put trailing slashes in PATH elements.
15381 .
/ | .
// | /cC
/* | \
15382 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15383 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15386 # OSF1 and SCO ODT 3.0 have their own names for install.
15387 # Don't use installbsd from OSF since it installs stuff as root
15389 for ac_prog
in ginstall scoinst
install; do
15390 for ac_exec_ext
in '' $ac_executable_extensions; do
15391 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15392 if test $ac_prog = install &&
15393 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15394 # AIX install. It has an incompatible calling convention.
15396 elif test $ac_prog = install &&
15397 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15398 # program-specific install script used by HP pwplus--don't use.
15401 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15413 if test "${ac_cv_path_install+set}" = set; then
15414 INSTALL
=$ac_cv_path_install
15416 # As a last resort, use the slow shell script. We don't cache a
15417 # path for INSTALL within a source directory, because that will
15418 # break other packages using the cache if that directory is
15419 # removed, or if the path is relative.
15420 INSTALL
=$ac_install_sh
15423 echo "$as_me:$LINENO: result: $INSTALL" >&5
15424 echo "${ECHO_T}$INSTALL" >&6
15426 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15427 # It thinks the first close brace ends the variable substitution.
15428 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15430 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15432 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15438 ?
:* ) # Drive letter, considered as absolute.
15441 INSTALL
=`pwd`/${INSTALL} ;;
15448 INSTALL_PROGRAM
="cp -fp"
15449 INSTALL_DATA
="cp -fp"
15455 if test -n "$ac_tool_prefix"; then
15456 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15457 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15458 echo "$as_me:$LINENO: checking for $ac_word" >&5
15459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15460 if test "${ac_cv_prog_STRIP+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15463 if test -n "$STRIP"; then
15464 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15467 for as_dir
in $PATH
15470 test -z "$as_dir" && as_dir
=.
15471 for ac_exec_ext
in '' $ac_executable_extensions; do
15472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15473 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15482 STRIP
=$ac_cv_prog_STRIP
15483 if test -n "$STRIP"; then
15484 echo "$as_me:$LINENO: result: $STRIP" >&5
15485 echo "${ECHO_T}$STRIP" >&6
15487 echo "$as_me:$LINENO: result: no" >&5
15488 echo "${ECHO_T}no" >&6
15492 if test -z "$ac_cv_prog_STRIP"; then
15494 # Extract the first word of "strip", so it can be a program name with args.
15495 set dummy strip
; ac_word
=$2
15496 echo "$as_me:$LINENO: checking for $ac_word" >&5
15497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15498 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15499 echo $ECHO_N "(cached) $ECHO_C" >&6
15501 if test -n "$ac_ct_STRIP"; then
15502 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15505 for as_dir
in $PATH
15508 test -z "$as_dir" && as_dir
=.
15509 for ac_exec_ext
in '' $ac_executable_extensions; do
15510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15511 ac_cv_prog_ac_ct_STRIP
="strip"
15512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15518 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15521 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15522 if test -n "$ac_ct_STRIP"; then
15523 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15524 echo "${ECHO_T}$ac_ct_STRIP" >&6
15526 echo "$as_me:$LINENO: result: no" >&5
15527 echo "${ECHO_T}no" >&6
15532 STRIP
="$ac_cv_prog_STRIP"
15536 if test "$wxUSE_WINE" = "yes"; then
15537 if test -n "$ac_tool_prefix"; then
15538 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15539 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15540 echo "$as_me:$LINENO: checking for $ac_word" >&5
15541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15542 if test "${ac_cv_prog_WINDRES+set}" = set; then
15543 echo $ECHO_N "(cached) $ECHO_C" >&6
15545 if test -n "$WINDRES"; then
15546 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15549 for as_dir
in $PATH
15552 test -z "$as_dir" && as_dir
=.
15553 for ac_exec_ext
in '' $ac_executable_extensions; do
15554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15555 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15564 WINDRES
=$ac_cv_prog_WINDRES
15565 if test -n "$WINDRES"; then
15566 echo "$as_me:$LINENO: result: $WINDRES" >&5
15567 echo "${ECHO_T}$WINDRES" >&6
15569 echo "$as_me:$LINENO: result: no" >&5
15570 echo "${ECHO_T}no" >&6
15574 if test -z "$ac_cv_prog_WINDRES"; then
15575 ac_ct_WINDRES
=$WINDRES
15576 # Extract the first word of "wrc", so it can be a program name with args.
15577 set dummy wrc
; ac_word
=$2
15578 echo "$as_me:$LINENO: checking for $ac_word" >&5
15579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15580 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15581 echo $ECHO_N "(cached) $ECHO_C" >&6
15583 if test -n "$ac_ct_WINDRES"; then
15584 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15587 for as_dir
in $PATH
15590 test -z "$as_dir" && as_dir
=.
15591 for ac_exec_ext
in '' $ac_executable_extensions; do
15592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15593 ac_cv_prog_ac_ct_WINDRES
="wrc"
15594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15602 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15603 if test -n "$ac_ct_WINDRES"; then
15604 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15605 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15607 echo "$as_me:$LINENO: result: no" >&5
15608 echo "${ECHO_T}no" >&6
15611 WINDRES
=$ac_ct_WINDRES
15613 WINDRES
="$ac_cv_prog_WINDRES"
15619 *-*-cygwin* | *-*-mingw32* )
15620 if test -n "$ac_tool_prefix"; then
15621 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15622 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15623 echo "$as_me:$LINENO: checking for $ac_word" >&5
15624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15625 if test "${ac_cv_prog_WINDRES+set}" = set; then
15626 echo $ECHO_N "(cached) $ECHO_C" >&6
15628 if test -n "$WINDRES"; then
15629 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15632 for as_dir
in $PATH
15635 test -z "$as_dir" && as_dir
=.
15636 for ac_exec_ext
in '' $ac_executable_extensions; do
15637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15638 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15647 WINDRES
=$ac_cv_prog_WINDRES
15648 if test -n "$WINDRES"; then
15649 echo "$as_me:$LINENO: result: $WINDRES" >&5
15650 echo "${ECHO_T}$WINDRES" >&6
15652 echo "$as_me:$LINENO: result: no" >&5
15653 echo "${ECHO_T}no" >&6
15657 if test -z "$ac_cv_prog_WINDRES"; then
15658 ac_ct_WINDRES
=$WINDRES
15659 # Extract the first word of "windres", so it can be a program name with args.
15660 set dummy windres
; ac_word
=$2
15661 echo "$as_me:$LINENO: checking for $ac_word" >&5
15662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15663 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15664 echo $ECHO_N "(cached) $ECHO_C" >&6
15666 if test -n "$ac_ct_WINDRES"; then
15667 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15670 for as_dir
in $PATH
15673 test -z "$as_dir" && as_dir
=.
15674 for ac_exec_ext
in '' $ac_executable_extensions; do
15675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15676 ac_cv_prog_ac_ct_WINDRES
="windres"
15677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15685 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15686 if test -n "$ac_ct_WINDRES"; then
15687 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15688 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15690 echo "$as_me:$LINENO: result: no" >&5
15691 echo "${ECHO_T}no" >&6
15694 WINDRES
=$ac_ct_WINDRES
15696 WINDRES
="$ac_cv_prog_WINDRES"
15700 if test -n "$ac_tool_prefix"; then
15701 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15702 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15703 echo "$as_me:$LINENO: checking for $ac_word" >&5
15704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15705 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15706 echo $ECHO_N "(cached) $ECHO_C" >&6
15708 if test -n "$DLLTOOL"; then
15709 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15712 for as_dir
in $PATH
15715 test -z "$as_dir" && as_dir
=.
15716 for ac_exec_ext
in '' $ac_executable_extensions; do
15717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15718 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15727 DLLTOOL
=$ac_cv_prog_DLLTOOL
15728 if test -n "$DLLTOOL"; then
15729 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15730 echo "${ECHO_T}$DLLTOOL" >&6
15732 echo "$as_me:$LINENO: result: no" >&5
15733 echo "${ECHO_T}no" >&6
15737 if test -z "$ac_cv_prog_DLLTOOL"; then
15738 ac_ct_DLLTOOL
=$DLLTOOL
15739 # Extract the first word of "dlltool", so it can be a program name with args.
15740 set dummy dlltool
; ac_word
=$2
15741 echo "$as_me:$LINENO: checking for $ac_word" >&5
15742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15743 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15744 echo $ECHO_N "(cached) $ECHO_C" >&6
15746 if test -n "$ac_ct_DLLTOOL"; then
15747 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15750 for as_dir
in $PATH
15753 test -z "$as_dir" && as_dir
=.
15754 for ac_exec_ext
in '' $ac_executable_extensions; do
15755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15756 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15765 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15766 if test -n "$ac_ct_DLLTOOL"; then
15767 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15768 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15770 echo "$as_me:$LINENO: result: no" >&5
15771 echo "${ECHO_T}no" >&6
15774 DLLTOOL
=$ac_ct_DLLTOOL
15776 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15783 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15784 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15785 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15786 echo $ECHO_N "(cached) $ECHO_C" >&6
15789 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15790 $EGREP -s GNU
> /dev
/null
); then
15791 wx_cv_prog_makeisgnu
="yes"
15793 wx_cv_prog_makeisgnu
="no"
15797 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15798 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15800 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15808 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15809 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15810 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15811 if test "${wx_cv_prog_makevpath+set}" = set; then
15812 echo $ECHO_N "(cached) $ECHO_C" >&6
15815 cat - << EOF > confMake
15821 if test ! -d sub
; then
15824 echo dummy
> sub
/file
15825 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15827 rm -f sub
/file check final_file confMake
15829 if test "$RESULT" = 0; then
15830 wx_cv_prog_makevpath
="yes"
15832 wx_cv_prog_makevpath
="no"
15836 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15837 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15839 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15840 { { echo "$as_me:$LINENO: error:
15841 You need a make-utility that is able to use the variable
15843 If your version of make does not support VPATH correctly,
15844 please install GNU-make (possibly as gmake), and start
15845 configure with the following command:
15846 export MAKE=gmake; ./configure for sh-type shells
15847 setenv MAKE gmake; ./configure for csh-type shells
15848 Also please do remember to use gmake in this case every time
15849 you are trying to compile.
15851 echo "$as_me: error:
15852 You need a make-utility that is able to use the variable
15854 If your version of make does not support VPATH correctly,
15855 please install GNU-make (possibly as gmake), and start
15856 configure with the following command:
15857 export MAKE=gmake; ./configure for sh-type shells
15858 setenv MAKE gmake; ./configure for csh-type shells
15859 Also please do remember to use gmake in this case every time
15860 you are trying to compile.
15862 { (exit 1); exit 1; }; }
15864 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15865 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15867 if test "$LN_S" = "ln -s"; then
15868 echo "$as_me:$LINENO: result: yes" >&5
15869 echo "${ECHO_T}yes" >&6
15871 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15872 echo "${ECHO_T}no, using $LN_S" >&6
15878 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15879 CXXFLAGS
="-qunique $CXXFLAGS"
15883 powerpc
-*-darwin* )
15884 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15885 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15886 cat >conftest.
$ac_ext <<_ACEOF
15889 cat confdefs.h
>>conftest.
$ac_ext
15890 cat >>conftest.
$ac_ext <<_ACEOF
15891 /* end confdefs.h. */
15896 #ifndef __POWERPC__
15897 choke me for lack of PowerPC
15904 rm -f conftest.
$ac_objext
15905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15906 (eval $ac_compile) 2>conftest.er1
15908 grep -v '^ *+' conftest.er1
>conftest.err
15910 cat conftest.err
>&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } &&
15913 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15915 (eval $ac_try) 2>&5
15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918 (exit $ac_status); }; } &&
15919 { ac_try
='test -s conftest.$ac_objext'
15920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15921 (eval $ac_try) 2>&5
15923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 (exit $ac_status); }; }; then
15925 echo "$as_me:$LINENO: result: yes" >&5
15926 echo "${ECHO_T}yes" >&6
15928 echo "$as_me: failed program was:" >&5
15929 sed 's/^/| /' conftest.
$ac_ext >&5
15931 echo "$as_me:$LINENO: result: no" >&5
15932 echo "${ECHO_T}no" >&6
15933 cat >>confdefs.h
<<\_ACEOF
15934 #define __POWERPC__ 1
15939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15945 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15946 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15947 cat >conftest.
$ac_ext <<_ACEOF
15950 cat confdefs.h
>>conftest.
$ac_ext
15951 cat >>conftest.
$ac_ext <<_ACEOF
15952 /* end confdefs.h. */
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
15987 echo "$as_me: failed program was:" >&5
15988 sed 's/^/| /' conftest.
$ac_ext >&5
15990 echo "$as_me:$LINENO: result: no" >&5
15991 echo "${ECHO_T}no" >&6
15992 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15993 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15994 cat >conftest.
$ac_ext <<_ACEOF
15997 cat confdefs.h
>>conftest.
$ac_ext
15998 cat >>conftest.
$ac_ext <<_ACEOF
15999 /* end confdefs.h. */
16000 #define __CF_USE_FRAMEWORK_INCLUDES__
16001 #include <CoreFoundation/CFBase.h>
16011 rm -f conftest.
$ac_objext
16012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16013 (eval $ac_compile) 2>conftest.er1
16015 grep -v '^ *+' conftest.er1
>conftest.err
16017 cat conftest.err
>&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); } &&
16020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16022 (eval $ac_try) 2>&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); }; } &&
16026 { ac_try
='test -s conftest.$ac_objext'
16027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16028 (eval $ac_try) 2>&5
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); }; }; then
16032 echo "$as_me:$LINENO: result: yes" >&5
16033 echo "${ECHO_T}yes" >&6
16034 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
16036 echo "$as_me: failed program was:" >&5
16037 sed 's/^/| /' conftest.
$ac_ext >&5
16039 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
16040 See \`config.log' for more details." >&5
16041 echo "$as_me: error: no. CoreFoundation not available.
16042 See \`config.log' for more details." >&2;}
16043 { (exit 1); exit 1; }; }
16046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16055 doesnt_want_win32
=0
16058 if test "$wxUSE_MSW" = 1 ; then
16061 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
16062 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
16063 if test "${wx_cv_nocygwin+set}" = set; then
16064 echo $ECHO_N "(cached) $ECHO_C" >&6
16067 cat >conftest.
$ac_ext <<_ACEOF
16070 cat confdefs.h
>>conftest.
$ac_ext
16071 cat >>conftest.
$ac_ext <<_ACEOF
16072 /* end confdefs.h. */
16086 rm -f conftest.
$ac_objext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16088 (eval $ac_compile) 2>conftest.er1
16090 grep -v '^ *+' conftest.er1
>conftest.err
16092 cat conftest.err
>&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); } &&
16095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16097 (eval $ac_try) 2>&5
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); }; } &&
16101 { ac_try
='test -s conftest.$ac_objext'
16102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16103 (eval $ac_try) 2>&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); }; }; then
16109 echo "$as_me: failed program was:" >&5
16110 sed 's/^/| /' conftest.
$ac_ext >&5
16115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16119 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16120 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16122 if test "$wx_cv_nocygwin" = "yes"; then
16125 doesnt_want_win32
=1
16128 if test "$wants_win32" = 1 ; then
16129 BAKEFILE_FORCE_PLATFORM
=win32
16137 if test "$wxUSE_WINE" = "yes"; then
16139 LDFLAGS_GUI
="-mwindows"
16142 if test "$wants_win32" = 1 ; then
16145 cat >>confdefs.h
<<\_ACEOF
16146 #define __WIN32__ 1
16149 cat >>confdefs.h
<<\_ACEOF
16150 #define __WIN95__ 1
16153 cat >>confdefs.h
<<\_ACEOF
16154 #define __WINDOWS__ 1
16157 cat >>confdefs.h
<<\_ACEOF
16158 #define __GNUWIN32__ 1
16161 cat >>confdefs.h
<<\_ACEOF
16166 if test "$doesnt_want_win32" = 1 ; then
16171 if test "$USE_UNIX" = 1 ; then
16173 cat >>confdefs.h
<<\_ACEOF
16180 *-pc-os2_emx | *-pc-os2-emx )
16181 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16182 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16183 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16184 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16185 echo $ECHO_N "(cached) $ECHO_C" >&6
16187 ac_check_lib_save_LIBS
=$LIBS
16188 LIBS
="-lcExt $LIBS"
16189 cat >conftest.
$ac_ext <<_ACEOF
16192 cat confdefs.h
>>conftest.
$ac_ext
16193 cat >>conftest.
$ac_ext <<_ACEOF
16194 /* end confdefs.h. */
16196 /* Override any gcc2 internal prototype to avoid an error. */
16200 /* We use char because int might match the return type of a gcc2
16201 builtin and then its argument prototype would still apply. */
16211 rm -f conftest.
$ac_objext conftest
$ac_exeext
16212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16213 (eval $ac_link) 2>conftest.er1
16215 grep -v '^ *+' conftest.er1
>conftest.err
16217 cat conftest.err
>&5
16218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16219 (exit $ac_status); } &&
16220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16222 (eval $ac_try) 2>&5
16224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225 (exit $ac_status); }; } &&
16226 { ac_try
='test -s conftest$ac_exeext'
16227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16228 (eval $ac_try) 2>&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); }; }; then
16232 ac_cv_lib_cExt_drand48
=yes
16234 echo "$as_me: failed program was:" >&5
16235 sed 's/^/| /' conftest.
$ac_ext >&5
16237 ac_cv_lib_cExt_drand48
=no
16239 rm -f conftest.err conftest.
$ac_objext \
16240 conftest
$ac_exeext conftest.
$ac_ext
16241 LIBS
=$ac_check_lib_save_LIBS
16243 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16244 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16245 if test $ac_cv_lib_cExt_drand48 = yes; then
16246 LIBS
="$LIBS -lcExt"
16250 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
16252 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16253 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16254 if test "${wx_cv_gccversion+set}" = set; then
16255 echo $ECHO_N "(cached) $ECHO_C" >&6
16258 if test "$cross_compiling" = yes; then
16259 wx_cv_gccversion
="EMX2"
16262 cat >conftest.
$ac_ext <<_ACEOF
16265 cat confdefs.h
>>conftest.
$ac_ext
16266 cat >>conftest.
$ac_ext <<_ACEOF
16267 /* end confdefs.h. */
16273 FILE *f=fopen("conftestval", "w");
16278 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16280 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16290 rm -f conftest
$ac_exeext
16291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16292 (eval $ac_link) 2>&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16297 (eval $ac_try) 2>&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); }; }; then
16301 wx_cv_gccversion
=`cat conftestval`
16303 echo "$as_me: program exited with status $ac_status" >&5
16304 echo "$as_me: failed program was:" >&5
16305 sed 's/^/| /' conftest.
$ac_ext >&5
16307 ( exit $ac_status )
16308 wx_cv_gccversion
="EMX2"
16310 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16314 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16315 echo "${ECHO_T}$wx_cv_gccversion" >&6
16316 if test "$wx_cv_gccversion" = "EMX2"; then
16317 LIBS
="$LIBS -lstdcpp"
16318 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16320 if test "$wx_cv_gccversion" = "EMX3"; then
16321 LIBS
="$LIBS -lstdcxx -lgcc"
16322 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16324 LIBS
="$LIBS -lstdc++"
16327 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16328 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16329 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16336 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16337 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16338 if test "${ac_cv_string_strcasecmp+set}" = set; then
16339 echo $ECHO_N "(cached) $ECHO_C" >&6
16342 cat >conftest.
$ac_ext <<_ACEOF
16345 cat confdefs.h
>>conftest.
$ac_ext
16346 cat >>conftest.
$ac_ext <<_ACEOF
16347 /* end confdefs.h. */
16349 #include <string.h>
16355 strcasecmp("foo", "bar");
16361 rm -f conftest.
$ac_objext conftest
$ac_exeext
16362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16363 (eval $ac_link) 2>conftest.er1
16365 grep -v '^ *+' conftest.er1
>conftest.err
16367 cat conftest.err
>&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } &&
16370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16372 (eval $ac_try) 2>&5
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); }; } &&
16376 { ac_try
='test -s conftest$ac_exeext'
16377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16378 (eval $ac_try) 2>&5
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); }; }; then
16382 ac_cv_string_strcasecmp
=yes
16384 echo "$as_me: failed program was:" >&5
16385 sed 's/^/| /' conftest.
$ac_ext >&5
16387 ac_cv_string_strcasecmp
=no
16390 rm -f conftest.err conftest.
$ac_objext \
16391 conftest
$ac_exeext conftest.
$ac_ext
16394 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16395 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16397 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16398 cat >>confdefs.h
<<\_ACEOF
16399 #define HAVE_STRCASECMP_IN_STRING_H 1
16403 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16404 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16405 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16406 echo $ECHO_N "(cached) $ECHO_C" >&6
16409 cat >conftest.
$ac_ext <<_ACEOF
16412 cat confdefs.h
>>conftest.
$ac_ext
16413 cat >>conftest.
$ac_ext <<_ACEOF
16414 /* end confdefs.h. */
16416 #include <strings.h>
16422 strcasecmp("foo", "bar");
16428 rm -f conftest.
$ac_objext conftest
$ac_exeext
16429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16430 (eval $ac_link) 2>conftest.er1
16432 grep -v '^ *+' conftest.er1
>conftest.err
16434 cat conftest.err
>&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); } &&
16437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16439 (eval $ac_try) 2>&5
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); }; } &&
16443 { ac_try
='test -s conftest$ac_exeext'
16444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16445 (eval $ac_try) 2>&5
16447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16448 (exit $ac_status); }; }; then
16449 ac_cv_strings_strcasecmp
=yes
16451 echo "$as_me: failed program was:" >&5
16452 sed 's/^/| /' conftest.
$ac_ext >&5
16454 ac_cv_strings_strcasecmp
=no
16457 rm -f conftest.err conftest.
$ac_objext \
16458 conftest
$ac_exeext conftest.
$ac_ext
16461 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16462 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16464 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16465 cat >>confdefs.h
<<\_ACEOF
16466 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16470 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16471 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16472 { (exit 1); exit 1; }; }
16480 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16481 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16482 if test "${ac_cv_header_stdc+set}" = set; then
16483 echo $ECHO_N "(cached) $ECHO_C" >&6
16485 cat >conftest.
$ac_ext <<_ACEOF
16488 cat confdefs.h
>>conftest.
$ac_ext
16489 cat >>conftest.
$ac_ext <<_ACEOF
16490 /* end confdefs.h. */
16491 #include <stdlib.h>
16492 #include <stdarg.h>
16493 #include <string.h>
16504 rm -f conftest.
$ac_objext
16505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16506 (eval $ac_compile) 2>conftest.er1
16508 grep -v '^ *+' conftest.er1
>conftest.err
16510 cat conftest.err
>&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } &&
16513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515 (eval $ac_try) 2>&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); }; } &&
16519 { ac_try
='test -s conftest.$ac_objext'
16520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16521 (eval $ac_try) 2>&5
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); }; }; then
16525 ac_cv_header_stdc
=yes
16527 echo "$as_me: failed program was:" >&5
16528 sed 's/^/| /' conftest.
$ac_ext >&5
16530 ac_cv_header_stdc
=no
16532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16534 if test $ac_cv_header_stdc = yes; then
16535 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16536 cat >conftest.
$ac_ext <<_ACEOF
16539 cat confdefs.h
>>conftest.
$ac_ext
16540 cat >>conftest.
$ac_ext <<_ACEOF
16541 /* end confdefs.h. */
16542 #include <string.h>
16545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16546 $EGREP "memchr" >/dev
/null
2>&1; then
16549 ac_cv_header_stdc
=no
16555 if test $ac_cv_header_stdc = yes; then
16556 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16557 cat >conftest.
$ac_ext <<_ACEOF
16560 cat confdefs.h
>>conftest.
$ac_ext
16561 cat >>conftest.
$ac_ext <<_ACEOF
16562 /* end confdefs.h. */
16563 #include <stdlib.h>
16566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16567 $EGREP "free" >/dev
/null
2>&1; then
16570 ac_cv_header_stdc
=no
16576 if test $ac_cv_header_stdc = yes; then
16577 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16578 if test "$cross_compiling" = yes; then
16581 cat >conftest.
$ac_ext <<_ACEOF
16584 cat confdefs.h
>>conftest.
$ac_ext
16585 cat >>conftest.
$ac_ext <<_ACEOF
16586 /* end confdefs.h. */
16588 #if ((' ' & 0x0FF) == 0x020)
16589 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16590 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16592 # define ISLOWER(c) \
16593 (('a' <= (c) && (c) <= 'i') \
16594 || ('j' <= (c) && (c) <= 'r') \
16595 || ('s' <= (c) && (c) <= 'z'))
16596 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16599 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16604 for (i = 0; i < 256; i++)
16605 if (XOR (islower (i), ISLOWER (i))
16606 || toupper (i) != TOUPPER (i))
16611 rm -f conftest
$ac_exeext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16613 (eval $ac_link) 2>&5
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16618 (eval $ac_try) 2>&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); }; }; then
16624 echo "$as_me: program exited with status $ac_status" >&5
16625 echo "$as_me: failed program was:" >&5
16626 sed 's/^/| /' conftest.
$ac_ext >&5
16628 ( exit $ac_status )
16629 ac_cv_header_stdc
=no
16631 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16635 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16636 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16637 if test $ac_cv_header_stdc = yes; then
16639 cat >>confdefs.h
<<\_ACEOF
16640 #define STDC_HEADERS 1
16645 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16655 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16656 inttypes.h stdint.h unistd.h
16658 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16659 echo "$as_me:$LINENO: checking for $ac_header" >&5
16660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16662 echo $ECHO_N "(cached) $ECHO_C" >&6
16664 cat >conftest.
$ac_ext <<_ACEOF
16667 cat confdefs.h
>>conftest.
$ac_ext
16668 cat >>conftest.
$ac_ext <<_ACEOF
16669 /* end confdefs.h. */
16670 $ac_includes_default
16672 #include <$ac_header>
16674 rm -f conftest.
$ac_objext
16675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16676 (eval $ac_compile) 2>conftest.er1
16678 grep -v '^ *+' conftest.er1
>conftest.err
16680 cat conftest.err
>&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); } &&
16683 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16685 (eval $ac_try) 2>&5
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); }; } &&
16689 { ac_try
='test -s conftest.$ac_objext'
16690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16691 (eval $ac_try) 2>&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); }; }; then
16695 eval "$as_ac_Header=yes"
16697 echo "$as_me: failed program was:" >&5
16698 sed 's/^/| /' conftest.
$ac_ext >&5
16700 eval "$as_ac_Header=no"
16702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16707 cat >>confdefs.h
<<_ACEOF
16708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16722 for ac_header
in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
16724 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16726 echo "$as_me:$LINENO: checking for $ac_header" >&5
16727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16729 echo $ECHO_N "(cached) $ECHO_C" >&6
16731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16734 # Is the header compilable?
16735 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16736 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16737 cat >conftest.
$ac_ext <<_ACEOF
16740 cat confdefs.h
>>conftest.
$ac_ext
16741 cat >>conftest.
$ac_ext <<_ACEOF
16742 /* end confdefs.h. */
16743 $ac_includes_default
16744 #include <$ac_header>
16746 rm -f conftest.
$ac_objext
16747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16748 (eval $ac_compile) 2>conftest.er1
16750 grep -v '^ *+' conftest.er1
>conftest.err
16752 cat conftest.err
>&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } &&
16755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16757 (eval $ac_try) 2>&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); }; } &&
16761 { ac_try
='test -s conftest.$ac_objext'
16762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16763 (eval $ac_try) 2>&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); }; }; then
16767 ac_header_compiler
=yes
16769 echo "$as_me: failed program was:" >&5
16770 sed 's/^/| /' conftest.
$ac_ext >&5
16772 ac_header_compiler
=no
16774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16776 echo "${ECHO_T}$ac_header_compiler" >&6
16778 # Is the header present?
16779 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16780 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16781 cat >conftest.
$ac_ext <<_ACEOF
16784 cat confdefs.h
>>conftest.
$ac_ext
16785 cat >>conftest.
$ac_ext <<_ACEOF
16786 /* end confdefs.h. */
16787 #include <$ac_header>
16789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16790 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16792 grep -v '^ *+' conftest.er1
>conftest.err
16794 cat conftest.err
>&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); } >/dev
/null
; then
16797 if test -s conftest.err
; then
16798 ac_cpp_err
=$ac_c_preproc_warn_flag
16799 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16806 if test -z "$ac_cpp_err"; then
16807 ac_header_preproc
=yes
16809 echo "$as_me: failed program was:" >&5
16810 sed 's/^/| /' conftest.
$ac_ext >&5
16812 ac_header_preproc
=no
16814 rm -f conftest.err conftest.
$ac_ext
16815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16816 echo "${ECHO_T}$ac_header_preproc" >&6
16818 # So? What about this header?
16819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16824 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16825 ac_header_preproc
=yes
16828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16832 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16833 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16834 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16835 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16838 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16839 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16842 ## ----------------------------------------- ##
16843 ## Report this to wx-dev@lists.wxwidgets.org ##
16844 ## ----------------------------------------- ##
16847 sed "s/^/$as_me: WARNING: /" >&2
16850 echo "$as_me:$LINENO: checking for $ac_header" >&5
16851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16853 echo $ECHO_N "(cached) $ECHO_C" >&6
16855 eval "$as_ac_Header=\$ac_header_preproc"
16857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16862 cat >>confdefs.h
<<_ACEOF
16863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16871 if test "$ac_cv_header_wchar_h" != "yes"; then
16873 for ac_header
in wcstr.h
16875 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16877 echo "$as_me:$LINENO: checking for $ac_header" >&5
16878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16880 echo $ECHO_N "(cached) $ECHO_C" >&6
16882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16885 # Is the header compilable?
16886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16888 cat >conftest.
$ac_ext <<_ACEOF
16891 cat confdefs.h
>>conftest.
$ac_ext
16892 cat >>conftest.
$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16894 $ac_includes_default
16895 #include <$ac_header>
16897 rm -f conftest.
$ac_objext
16898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16899 (eval $ac_compile) 2>conftest.er1
16901 grep -v '^ *+' conftest.er1
>conftest.err
16903 cat conftest.err
>&5
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); } &&
16906 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16908 (eval $ac_try) 2>&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); }; } &&
16912 { ac_try
='test -s conftest.$ac_objext'
16913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16914 (eval $ac_try) 2>&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }; }; then
16918 ac_header_compiler
=yes
16920 echo "$as_me: failed program was:" >&5
16921 sed 's/^/| /' conftest.
$ac_ext >&5
16923 ac_header_compiler
=no
16925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16926 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16927 echo "${ECHO_T}$ac_header_compiler" >&6
16929 # Is the header present?
16930 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16931 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16932 cat >conftest.
$ac_ext <<_ACEOF
16935 cat confdefs.h
>>conftest.
$ac_ext
16936 cat >>conftest.
$ac_ext <<_ACEOF
16937 /* end confdefs.h. */
16938 #include <$ac_header>
16940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16941 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16943 grep -v '^ *+' conftest.er1
>conftest.err
16945 cat conftest.err
>&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); } >/dev
/null
; then
16948 if test -s conftest.err
; then
16949 ac_cpp_err
=$ac_c_preproc_warn_flag
16950 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16957 if test -z "$ac_cpp_err"; then
16958 ac_header_preproc
=yes
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.
$ac_ext >&5
16963 ac_header_preproc
=no
16965 rm -f conftest.err conftest.
$ac_ext
16966 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16967 echo "${ECHO_T}$ac_header_preproc" >&6
16969 # So? What about this header?
16970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16972 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16973 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16975 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16976 ac_header_preproc
=yes
16979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16980 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16981 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16982 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16983 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16984 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16985 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16986 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16988 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16989 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16990 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16993 ## ----------------------------------------- ##
16994 ## Report this to wx-dev@lists.wxwidgets.org ##
16995 ## ----------------------------------------- ##
16998 sed "s/^/$as_me: WARNING: /" >&2
17001 echo "$as_me:$LINENO: checking for $ac_header" >&5
17002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17004 echo $ECHO_N "(cached) $ECHO_C" >&6
17006 eval "$as_ac_Header=\$ac_header_preproc"
17008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17013 cat >>confdefs.h
<<_ACEOF
17014 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17024 *-pc-os2_emx | *-pc-os2-emx )
17025 if test $ac_cv_header_langinfo_h = "yes" \
17026 -a \
( "$wx_cv_gccversion" = "EMX2" \
17027 -o "$wx_cv_gccversion" = "EMX3" \
17028 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17029 LIBS
="$LIBS -lintl"
17034 if test "$USE_UNIX" = 1 ; then
17036 for ac_header
in sys
/select.h
17038 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17040 echo "$as_me:$LINENO: checking for $ac_header" >&5
17041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17043 echo $ECHO_N "(cached) $ECHO_C" >&6
17045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17048 # Is the header compilable?
17049 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17050 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17051 cat >conftest.
$ac_ext <<_ACEOF
17054 cat confdefs.h
>>conftest.
$ac_ext
17055 cat >>conftest.
$ac_ext <<_ACEOF
17056 /* end confdefs.h. */
17057 $ac_includes_default
17058 #include <$ac_header>
17060 rm -f conftest.
$ac_objext
17061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17062 (eval $ac_compile) 2>conftest.er1
17064 grep -v '^ *+' conftest.er1
>conftest.err
17066 cat conftest.err
>&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); } &&
17069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17071 (eval $ac_try) 2>&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); }; } &&
17075 { ac_try
='test -s conftest.$ac_objext'
17076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17077 (eval $ac_try) 2>&5
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); }; }; then
17081 ac_header_compiler
=yes
17083 echo "$as_me: failed program was:" >&5
17084 sed 's/^/| /' conftest.
$ac_ext >&5
17086 ac_header_compiler
=no
17088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17089 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17090 echo "${ECHO_T}$ac_header_compiler" >&6
17092 # Is the header present?
17093 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17094 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17095 cat >conftest.
$ac_ext <<_ACEOF
17098 cat confdefs.h
>>conftest.
$ac_ext
17099 cat >>conftest.
$ac_ext <<_ACEOF
17100 /* end confdefs.h. */
17101 #include <$ac_header>
17103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17104 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17106 grep -v '^ *+' conftest.er1
>conftest.err
17108 cat conftest.err
>&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); } >/dev
/null
; then
17111 if test -s conftest.err
; then
17112 ac_cpp_err
=$ac_c_preproc_warn_flag
17113 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17120 if test -z "$ac_cpp_err"; then
17121 ac_header_preproc
=yes
17123 echo "$as_me: failed program was:" >&5
17124 sed 's/^/| /' conftest.
$ac_ext >&5
17126 ac_header_preproc
=no
17128 rm -f conftest.err conftest.
$ac_ext
17129 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17130 echo "${ECHO_T}$ac_header_preproc" >&6
17132 # So? What about this header?
17133 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17135 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17136 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17138 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17139 ac_header_preproc
=yes
17142 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17143 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17144 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17145 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17146 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17147 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17148 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17149 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17152 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17153 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17156 ## ----------------------------------------- ##
17157 ## Report this to wx-dev@lists.wxwidgets.org ##
17158 ## ----------------------------------------- ##
17161 sed "s/^/$as_me: WARNING: /" >&2
17164 echo "$as_me:$LINENO: checking for $ac_header" >&5
17165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17167 echo $ECHO_N "(cached) $ECHO_C" >&6
17169 eval "$as_ac_Header=\$ac_header_preproc"
17171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17176 cat >>confdefs.h
<<_ACEOF
17177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17187 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17188 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17189 if test "${ac_cv_c_const+set}" = set; then
17190 echo $ECHO_N "(cached) $ECHO_C" >&6
17192 cat >conftest.
$ac_ext <<_ACEOF
17195 cat confdefs.h
>>conftest.
$ac_ext
17196 cat >>conftest.
$ac_ext <<_ACEOF
17197 /* end confdefs.h. */
17202 /* FIXME: Include the comments suggested by Paul. */
17203 #ifndef __cplusplus
17204 /* Ultrix mips cc rejects this. */
17205 typedef int charset[2];
17207 /* SunOS 4.1.1 cc rejects this. */
17208 char const *const *ccp;
17210 /* NEC SVR4.0.2 mips cc rejects this. */
17211 struct point {int x, y;};
17212 static struct point const zero = {0,0};
17213 /* AIX XL C 1.02.0.0 rejects this.
17214 It does not let you subtract one const X* pointer from another in
17215 an arm of an if-expression whose if-part is not a constant
17217 const char *g = "string";
17218 ccp = &g + (g ? g-g : 0);
17219 /* HPUX 7.0 cc rejects these. */
17222 ccp = (char const *const *) p;
17223 { /* SCO 3.2v4 cc rejects this. */
17225 char const *s = 0 ? (char *) 0 : (char const *) 0;
17229 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17230 int x[] = {25, 17};
17231 const int *foo = &x[0];
17234 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17235 typedef const int *iptr;
17239 { /* AIX XL C 1.02.0.0 rejects this saying
17240 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17241 struct s { int j; const int *ap[3]; };
17242 struct s *b; b->j = 5;
17244 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17245 const int foo = 10;
17253 rm -f conftest.
$ac_objext
17254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17255 (eval $ac_compile) 2>conftest.er1
17257 grep -v '^ *+' conftest.er1
>conftest.err
17259 cat conftest.err
>&5
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); } &&
17262 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17264 (eval $ac_try) 2>&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }; } &&
17268 { ac_try
='test -s conftest.$ac_objext'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; }; then
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.
$ac_ext >&5
17281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17283 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17284 echo "${ECHO_T}$ac_cv_c_const" >&6
17285 if test $ac_cv_c_const = no
; then
17287 cat >>confdefs.h
<<\_ACEOF
17293 echo "$as_me:$LINENO: checking for inline" >&5
17294 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17295 if test "${ac_cv_c_inline+set}" = set; then
17296 echo $ECHO_N "(cached) $ECHO_C" >&6
17299 for ac_kw
in inline __inline__ __inline
; do
17300 cat >conftest.
$ac_ext <<_ACEOF
17303 cat confdefs.h
>>conftest.
$ac_ext
17304 cat >>conftest.
$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17306 #ifndef __cplusplus
17308 static $ac_kw foo_t static_foo () {return 0; }
17309 $ac_kw foo_t foo () {return 0; }
17313 rm -f conftest.
$ac_objext
17314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17315 (eval $ac_compile) 2>conftest.er1
17317 grep -v '^ *+' conftest.er1
>conftest.err
17319 cat conftest.err
>&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); } &&
17322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; } &&
17328 { ac_try
='test -s conftest.$ac_objext'
17329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17330 (eval $ac_try) 2>&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); }; }; then
17334 ac_cv_c_inline
=$ac_kw; break
17336 echo "$as_me: failed program was:" >&5
17337 sed 's/^/| /' conftest.
$ac_ext >&5
17340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17344 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17345 echo "${ECHO_T}$ac_cv_c_inline" >&6
17348 case $ac_cv_c_inline in
17351 case $ac_cv_c_inline in
17353 *) ac_val
=$ac_cv_c_inline;;
17355 cat >>confdefs.h
<<_ACEOF
17356 #ifndef __cplusplus
17357 #define inline $ac_val
17364 echo "$as_me:$LINENO: checking for char" >&5
17365 echo $ECHO_N "checking for char... $ECHO_C" >&6
17366 if test "${ac_cv_type_char+set}" = set; then
17367 echo $ECHO_N "(cached) $ECHO_C" >&6
17369 cat >conftest.
$ac_ext <<_ACEOF
17372 cat confdefs.h
>>conftest.
$ac_ext
17373 cat >>conftest.
$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17375 $ac_includes_default
17387 rm -f conftest.
$ac_objext
17388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17389 (eval $ac_compile) 2>conftest.er1
17391 grep -v '^ *+' conftest.er1
>conftest.err
17393 cat conftest.err
>&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } &&
17396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17398 (eval $ac_try) 2>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); }; } &&
17402 { ac_try
='test -s conftest.$ac_objext'
17403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17404 (eval $ac_try) 2>&5
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); }; }; then
17408 ac_cv_type_char
=yes
17410 echo "$as_me: failed program was:" >&5
17411 sed 's/^/| /' conftest.
$ac_ext >&5
17415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17417 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17418 echo "${ECHO_T}$ac_cv_type_char" >&6
17420 echo "$as_me:$LINENO: checking size of char" >&5
17421 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17422 if test "${ac_cv_sizeof_char+set}" = set; then
17423 echo $ECHO_N "(cached) $ECHO_C" >&6
17425 if test "$ac_cv_type_char" = yes; then
17426 # The cast to unsigned long works around a bug in the HP C Compiler
17427 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17428 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17429 # This bug is HP SR number 8606223364.
17430 if test "$cross_compiling" = yes; then
17431 # Depending upon the size, compute the lo and hi bounds.
17432 cat >conftest.
$ac_ext <<_ACEOF
17435 cat confdefs.h
>>conftest.
$ac_ext
17436 cat >>conftest.
$ac_ext <<_ACEOF
17437 /* end confdefs.h. */
17438 $ac_includes_default
17442 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17449 rm -f conftest.
$ac_objext
17450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17451 (eval $ac_compile) 2>conftest.er1
17453 grep -v '^ *+' conftest.er1
>conftest.err
17455 cat conftest.err
>&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); } &&
17458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 (eval $ac_try) 2>&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); }; } &&
17464 { ac_try
='test -s conftest.$ac_objext'
17465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17466 (eval $ac_try) 2>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; }; then
17472 cat >conftest.
$ac_ext <<_ACEOF
17475 cat confdefs.h
>>conftest.
$ac_ext
17476 cat >>conftest.
$ac_ext <<_ACEOF
17477 /* end confdefs.h. */
17478 $ac_includes_default
17482 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17489 rm -f conftest.
$ac_objext
17490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17491 (eval $ac_compile) 2>conftest.er1
17493 grep -v '^ *+' conftest.er1
>conftest.err
17495 cat conftest.err
>&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); } &&
17498 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17500 (eval $ac_try) 2>&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); }; } &&
17504 { ac_try
='test -s conftest.$ac_objext'
17505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17506 (eval $ac_try) 2>&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; }; then
17510 ac_hi
=$ac_mid; break
17512 echo "$as_me: failed program was:" >&5
17513 sed 's/^/| /' conftest.
$ac_ext >&5
17515 ac_lo
=`expr $ac_mid + 1`
17516 if test $ac_lo -le $ac_mid; then
17520 ac_mid
=`expr 2 '*' $ac_mid + 1`
17522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17525 echo "$as_me: failed program was:" >&5
17526 sed 's/^/| /' conftest.
$ac_ext >&5
17528 cat >conftest.
$ac_ext <<_ACEOF
17531 cat confdefs.h
>>conftest.
$ac_ext
17532 cat >>conftest.
$ac_ext <<_ACEOF
17533 /* end confdefs.h. */
17534 $ac_includes_default
17538 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17545 rm -f conftest.
$ac_objext
17546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17547 (eval $ac_compile) 2>conftest.er1
17549 grep -v '^ *+' conftest.er1
>conftest.err
17551 cat conftest.err
>&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); } &&
17554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17556 (eval $ac_try) 2>&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); }; } &&
17560 { ac_try
='test -s conftest.$ac_objext'
17561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17562 (eval $ac_try) 2>&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); }; }; then
17568 cat >conftest.
$ac_ext <<_ACEOF
17571 cat confdefs.h
>>conftest.
$ac_ext
17572 cat >>conftest.
$ac_ext <<_ACEOF
17573 /* end confdefs.h. */
17574 $ac_includes_default
17578 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17585 rm -f conftest.
$ac_objext
17586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17587 (eval $ac_compile) 2>conftest.er1
17589 grep -v '^ *+' conftest.er1
>conftest.err
17591 cat conftest.err
>&5
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); } &&
17594 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17596 (eval $ac_try) 2>&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); }; } &&
17600 { ac_try
='test -s conftest.$ac_objext'
17601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17602 (eval $ac_try) 2>&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); }; }; then
17606 ac_lo
=$ac_mid; break
17608 echo "$as_me: failed program was:" >&5
17609 sed 's/^/| /' conftest.
$ac_ext >&5
17611 ac_hi
=`expr '(' $ac_mid ')' - 1`
17612 if test $ac_mid -le $ac_hi; then
17616 ac_mid
=`expr 2 '*' $ac_mid`
17618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17621 echo "$as_me: failed program was:" >&5
17622 sed 's/^/| /' conftest.
$ac_ext >&5
17626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17629 # Binary search between lo and hi bounds.
17630 while test "x$ac_lo" != "x$ac_hi"; do
17631 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17632 cat >conftest.
$ac_ext <<_ACEOF
17635 cat confdefs.h
>>conftest.
$ac_ext
17636 cat >>conftest.
$ac_ext <<_ACEOF
17637 /* end confdefs.h. */
17638 $ac_includes_default
17642 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17649 rm -f conftest.
$ac_objext
17650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17651 (eval $ac_compile) 2>conftest.er1
17653 grep -v '^ *+' conftest.er1
>conftest.err
17655 cat conftest.err
>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } &&
17658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; } &&
17664 { ac_try
='test -s conftest.$ac_objext'
17665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17666 (eval $ac_try) 2>&5
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); }; }; then
17672 echo "$as_me: failed program was:" >&5
17673 sed 's/^/| /' conftest.
$ac_ext >&5
17675 ac_lo
=`expr '(' $ac_mid ')' + 1`
17677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17680 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17681 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17682 See \`config.log' for more details." >&5
17683 echo "$as_me: error: cannot compute sizeof (char), 77
17684 See \`config.log' for more details." >&2;}
17685 { (exit 1); exit 1; }; } ;;
17688 if test "$cross_compiling" = yes; then
17689 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17690 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17691 { (exit 1); exit 1; }; }
17693 cat >conftest.
$ac_ext <<_ACEOF
17696 cat confdefs.h
>>conftest.
$ac_ext
17697 cat >>conftest.
$ac_ext <<_ACEOF
17698 /* end confdefs.h. */
17699 $ac_includes_default
17700 long longval () { return (long) (sizeof (char)); }
17701 unsigned long ulongval () { return (long) (sizeof (char)); }
17703 #include <stdlib.h>
17708 FILE *f = fopen ("conftest.val", "w");
17711 if (((long) (sizeof (char))) < 0)
17713 long i = longval ();
17714 if (i != ((long) (sizeof (char))))
17716 fprintf (f, "%ld\n", i);
17720 unsigned long i = ulongval ();
17721 if (i != ((long) (sizeof (char))))
17723 fprintf (f, "%lu\n", i);
17725 exit (ferror (f) || fclose (f) != 0);
17731 rm -f conftest
$ac_exeext
17732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17733 (eval $ac_link) 2>&5
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17738 (eval $ac_try) 2>&5
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); }; }; then
17742 ac_cv_sizeof_char
=`cat conftest.val`
17744 echo "$as_me: program exited with status $ac_status" >&5
17745 echo "$as_me: failed program was:" >&5
17746 sed 's/^/| /' conftest.
$ac_ext >&5
17748 ( exit $ac_status )
17749 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17750 See \`config.log' for more details." >&5
17751 echo "$as_me: error: cannot compute sizeof (char), 77
17752 See \`config.log' for more details." >&2;}
17753 { (exit 1); exit 1; }; }
17755 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17760 ac_cv_sizeof_char
=0
17763 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17764 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17765 cat >>confdefs.h
<<_ACEOF
17766 #define SIZEOF_CHAR $ac_cv_sizeof_char
17770 echo "$as_me:$LINENO: checking for short" >&5
17771 echo $ECHO_N "checking for short... $ECHO_C" >&6
17772 if test "${ac_cv_type_short+set}" = set; then
17773 echo $ECHO_N "(cached) $ECHO_C" >&6
17775 cat >conftest.
$ac_ext <<_ACEOF
17778 cat confdefs.h
>>conftest.
$ac_ext
17779 cat >>conftest.
$ac_ext <<_ACEOF
17780 /* end confdefs.h. */
17781 $ac_includes_default
17787 if (sizeof (short))
17793 rm -f conftest.
$ac_objext
17794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17795 (eval $ac_compile) 2>conftest.er1
17797 grep -v '^ *+' conftest.er1
>conftest.err
17799 cat conftest.err
>&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); } &&
17802 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17804 (eval $ac_try) 2>&5
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); }; } &&
17808 { ac_try
='test -s conftest.$ac_objext'
17809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17810 (eval $ac_try) 2>&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); }; }; then
17814 ac_cv_type_short
=yes
17816 echo "$as_me: failed program was:" >&5
17817 sed 's/^/| /' conftest.
$ac_ext >&5
17819 ac_cv_type_short
=no
17821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17823 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17824 echo "${ECHO_T}$ac_cv_type_short" >&6
17826 echo "$as_me:$LINENO: checking size of short" >&5
17827 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17828 if test "${ac_cv_sizeof_short+set}" = set; then
17829 echo $ECHO_N "(cached) $ECHO_C" >&6
17831 if test "$ac_cv_type_short" = yes; then
17832 # The cast to unsigned long works around a bug in the HP C Compiler
17833 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17834 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17835 # This bug is HP SR number 8606223364.
17836 if test "$cross_compiling" = yes; then
17837 # Depending upon the size, compute the lo and hi bounds.
17838 cat >conftest.
$ac_ext <<_ACEOF
17841 cat confdefs.h
>>conftest.
$ac_ext
17842 cat >>conftest.
$ac_ext <<_ACEOF
17843 /* end confdefs.h. */
17844 $ac_includes_default
17848 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17855 rm -f conftest.
$ac_objext
17856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17857 (eval $ac_compile) 2>conftest.er1
17859 grep -v '^ *+' conftest.er1
>conftest.err
17861 cat conftest.err
>&5
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); } &&
17864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17866 (eval $ac_try) 2>&5
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); }; } &&
17870 { ac_try
='test -s conftest.$ac_objext'
17871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17872 (eval $ac_try) 2>&5
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); }; }; then
17878 cat >conftest.
$ac_ext <<_ACEOF
17881 cat confdefs.h
>>conftest.
$ac_ext
17882 cat >>conftest.
$ac_ext <<_ACEOF
17883 /* end confdefs.h. */
17884 $ac_includes_default
17888 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17895 rm -f conftest.
$ac_objext
17896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17897 (eval $ac_compile) 2>conftest.er1
17899 grep -v '^ *+' conftest.er1
>conftest.err
17901 cat conftest.err
>&5
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); } &&
17904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17906 (eval $ac_try) 2>&5
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); }; } &&
17910 { ac_try
='test -s conftest.$ac_objext'
17911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912 (eval $ac_try) 2>&5
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); }; }; then
17916 ac_hi
=$ac_mid; break
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.
$ac_ext >&5
17921 ac_lo
=`expr $ac_mid + 1`
17922 if test $ac_lo -le $ac_mid; then
17926 ac_mid
=`expr 2 '*' $ac_mid + 1`
17928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17931 echo "$as_me: failed program was:" >&5
17932 sed 's/^/| /' conftest.
$ac_ext >&5
17934 cat >conftest.
$ac_ext <<_ACEOF
17937 cat confdefs.h
>>conftest.
$ac_ext
17938 cat >>conftest.
$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17940 $ac_includes_default
17944 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17951 rm -f conftest.
$ac_objext
17952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17953 (eval $ac_compile) 2>conftest.er1
17955 grep -v '^ *+' conftest.er1
>conftest.err
17957 cat conftest.err
>&5
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); } &&
17960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17962 (eval $ac_try) 2>&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); }; } &&
17966 { ac_try
='test -s conftest.$ac_objext'
17967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17968 (eval $ac_try) 2>&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); }; }; then
17974 cat >conftest.
$ac_ext <<_ACEOF
17977 cat confdefs.h
>>conftest.
$ac_ext
17978 cat >>conftest.
$ac_ext <<_ACEOF
17979 /* end confdefs.h. */
17980 $ac_includes_default
17984 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17991 rm -f conftest.
$ac_objext
17992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17993 (eval $ac_compile) 2>conftest.er1
17995 grep -v '^ *+' conftest.er1
>conftest.err
17997 cat conftest.err
>&5
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); } &&
18000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18002 (eval $ac_try) 2>&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); }; } &&
18006 { ac_try
='test -s conftest.$ac_objext'
18007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18008 (eval $ac_try) 2>&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); }; }; then
18012 ac_lo
=$ac_mid; break
18014 echo "$as_me: failed program was:" >&5
18015 sed 's/^/| /' conftest.
$ac_ext >&5
18017 ac_hi
=`expr '(' $ac_mid ')' - 1`
18018 if test $ac_mid -le $ac_hi; then
18022 ac_mid
=`expr 2 '*' $ac_mid`
18024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18027 echo "$as_me: failed program was:" >&5
18028 sed 's/^/| /' conftest.
$ac_ext >&5
18032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18035 # Binary search between lo and hi bounds.
18036 while test "x$ac_lo" != "x$ac_hi"; do
18037 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18038 cat >conftest.
$ac_ext <<_ACEOF
18041 cat confdefs.h
>>conftest.
$ac_ext
18042 cat >>conftest.
$ac_ext <<_ACEOF
18043 /* end confdefs.h. */
18044 $ac_includes_default
18048 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18055 rm -f conftest.
$ac_objext
18056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18057 (eval $ac_compile) 2>conftest.er1
18059 grep -v '^ *+' conftest.er1
>conftest.err
18061 cat conftest.err
>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } &&
18064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18066 (eval $ac_try) 2>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); }; } &&
18070 { ac_try
='test -s conftest.$ac_objext'
18071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18072 (eval $ac_try) 2>&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); }; }; then
18078 echo "$as_me: failed program was:" >&5
18079 sed 's/^/| /' conftest.
$ac_ext >&5
18081 ac_lo
=`expr '(' $ac_mid ')' + 1`
18083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18086 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18087 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18088 See \`config.log' for more details." >&5
18089 echo "$as_me: error: cannot compute sizeof (short), 77
18090 See \`config.log' for more details." >&2;}
18091 { (exit 1); exit 1; }; } ;;
18094 if test "$cross_compiling" = yes; then
18095 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18096 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18097 { (exit 1); exit 1; }; }
18099 cat >conftest.
$ac_ext <<_ACEOF
18102 cat confdefs.h
>>conftest.
$ac_ext
18103 cat >>conftest.
$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 $ac_includes_default
18106 long longval () { return (long) (sizeof (short)); }
18107 unsigned long ulongval () { return (long) (sizeof (short)); }
18109 #include <stdlib.h>
18114 FILE *f = fopen ("conftest.val", "w");
18117 if (((long) (sizeof (short))) < 0)
18119 long i = longval ();
18120 if (i != ((long) (sizeof (short))))
18122 fprintf (f, "%ld\n", i);
18126 unsigned long i = ulongval ();
18127 if (i != ((long) (sizeof (short))))
18129 fprintf (f, "%lu\n", i);
18131 exit (ferror (f) || fclose (f) != 0);
18137 rm -f conftest
$ac_exeext
18138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18139 (eval $ac_link) 2>&5
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18144 (eval $ac_try) 2>&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); }; }; then
18148 ac_cv_sizeof_short
=`cat conftest.val`
18150 echo "$as_me: program exited with status $ac_status" >&5
18151 echo "$as_me: failed program was:" >&5
18152 sed 's/^/| /' conftest.
$ac_ext >&5
18154 ( exit $ac_status )
18155 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18156 See \`config.log' for more details." >&5
18157 echo "$as_me: error: cannot compute sizeof (short), 77
18158 See \`config.log' for more details." >&2;}
18159 { (exit 1); exit 1; }; }
18161 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18166 ac_cv_sizeof_short
=0
18169 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18170 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18171 cat >>confdefs.h
<<_ACEOF
18172 #define SIZEOF_SHORT $ac_cv_sizeof_short
18176 echo "$as_me:$LINENO: checking for void *" >&5
18177 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18178 if test "${ac_cv_type_void_p+set}" = set; then
18179 echo $ECHO_N "(cached) $ECHO_C" >&6
18181 cat >conftest.
$ac_ext <<_ACEOF
18184 cat confdefs.h
>>conftest.
$ac_ext
18185 cat >>conftest.
$ac_ext <<_ACEOF
18186 /* end confdefs.h. */
18187 $ac_includes_default
18193 if (sizeof (void *))
18199 rm -f conftest.
$ac_objext
18200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18201 (eval $ac_compile) 2>conftest.er1
18203 grep -v '^ *+' conftest.er1
>conftest.err
18205 cat conftest.err
>&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } &&
18208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18210 (eval $ac_try) 2>&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); }; } &&
18214 { ac_try
='test -s conftest.$ac_objext'
18215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18216 (eval $ac_try) 2>&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); }; }; then
18220 ac_cv_type_void_p
=yes
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.
$ac_ext >&5
18225 ac_cv_type_void_p
=no
18227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18229 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18230 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18232 echo "$as_me:$LINENO: checking size of void *" >&5
18233 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18234 if test "${ac_cv_sizeof_void_p+set}" = set; then
18235 echo $ECHO_N "(cached) $ECHO_C" >&6
18237 if test "$ac_cv_type_void_p" = yes; then
18238 # The cast to unsigned long works around a bug in the HP C Compiler
18239 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18240 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18241 # This bug is HP SR number 8606223364.
18242 if test "$cross_compiling" = yes; then
18243 # Depending upon the size, compute the lo and hi bounds.
18244 cat >conftest.
$ac_ext <<_ACEOF
18247 cat confdefs.h
>>conftest.
$ac_ext
18248 cat >>conftest.
$ac_ext <<_ACEOF
18249 /* end confdefs.h. */
18250 $ac_includes_default
18254 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18261 rm -f conftest.
$ac_objext
18262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18263 (eval $ac_compile) 2>conftest.er1
18265 grep -v '^ *+' conftest.er1
>conftest.err
18267 cat conftest.err
>&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); } &&
18270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18272 (eval $ac_try) 2>&5
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); }; } &&
18276 { ac_try
='test -s conftest.$ac_objext'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; }; then
18284 cat >conftest.
$ac_ext <<_ACEOF
18287 cat confdefs.h
>>conftest.
$ac_ext
18288 cat >>conftest.
$ac_ext <<_ACEOF
18289 /* end confdefs.h. */
18290 $ac_includes_default
18294 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18301 rm -f conftest.
$ac_objext
18302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18303 (eval $ac_compile) 2>conftest.er1
18305 grep -v '^ *+' conftest.er1
>conftest.err
18307 cat conftest.err
>&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); } &&
18310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18312 (eval $ac_try) 2>&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); }; } &&
18316 { ac_try
='test -s conftest.$ac_objext'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; }; then
18322 ac_hi
=$ac_mid; break
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.
$ac_ext >&5
18327 ac_lo
=`expr $ac_mid + 1`
18328 if test $ac_lo -le $ac_mid; then
18332 ac_mid
=`expr 2 '*' $ac_mid + 1`
18334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.
$ac_ext >&5
18340 cat >conftest.
$ac_ext <<_ACEOF
18343 cat confdefs.h
>>conftest.
$ac_ext
18344 cat >>conftest.
$ac_ext <<_ACEOF
18345 /* end confdefs.h. */
18346 $ac_includes_default
18350 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18357 rm -f conftest.
$ac_objext
18358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18359 (eval $ac_compile) 2>conftest.er1
18361 grep -v '^ *+' conftest.er1
>conftest.err
18363 cat conftest.err
>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); } &&
18366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; } &&
18372 { ac_try
='test -s conftest.$ac_objext'
18373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374 (eval $ac_try) 2>&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); }; }; then
18380 cat >conftest.
$ac_ext <<_ACEOF
18383 cat confdefs.h
>>conftest.
$ac_ext
18384 cat >>conftest.
$ac_ext <<_ACEOF
18385 /* end confdefs.h. */
18386 $ac_includes_default
18390 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18397 rm -f conftest.
$ac_objext
18398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18399 (eval $ac_compile) 2>conftest.er1
18401 grep -v '^ *+' conftest.er1
>conftest.err
18403 cat conftest.err
>&5
18404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18405 (exit $ac_status); } &&
18406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18408 (eval $ac_try) 2>&5
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); }; } &&
18412 { ac_try
='test -s conftest.$ac_objext'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; }; then
18418 ac_lo
=$ac_mid; break
18420 echo "$as_me: failed program was:" >&5
18421 sed 's/^/| /' conftest.
$ac_ext >&5
18423 ac_hi
=`expr '(' $ac_mid ')' - 1`
18424 if test $ac_mid -le $ac_hi; then
18428 ac_mid
=`expr 2 '*' $ac_mid`
18430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18433 echo "$as_me: failed program was:" >&5
18434 sed 's/^/| /' conftest.
$ac_ext >&5
18438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18441 # Binary search between lo and hi bounds.
18442 while test "x$ac_lo" != "x$ac_hi"; do
18443 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18444 cat >conftest.
$ac_ext <<_ACEOF
18447 cat confdefs.h
>>conftest.
$ac_ext
18448 cat >>conftest.
$ac_ext <<_ACEOF
18449 /* end confdefs.h. */
18450 $ac_includes_default
18454 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18461 rm -f conftest.
$ac_objext
18462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18463 (eval $ac_compile) 2>conftest.er1
18465 grep -v '^ *+' conftest.er1
>conftest.err
18467 cat conftest.err
>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); } &&
18470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472 (eval $ac_try) 2>&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; } &&
18476 { ac_try
='test -s conftest.$ac_objext'
18477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18478 (eval $ac_try) 2>&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; }; then
18484 echo "$as_me: failed program was:" >&5
18485 sed 's/^/| /' conftest.
$ac_ext >&5
18487 ac_lo
=`expr '(' $ac_mid ')' + 1`
18489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18492 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18493 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18494 See \`config.log' for more details." >&5
18495 echo "$as_me: error: cannot compute sizeof (void *), 77
18496 See \`config.log' for more details." >&2;}
18497 { (exit 1); exit 1; }; } ;;
18500 if test "$cross_compiling" = yes; then
18501 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18502 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18503 { (exit 1); exit 1; }; }
18505 cat >conftest.
$ac_ext <<_ACEOF
18508 cat confdefs.h
>>conftest.
$ac_ext
18509 cat >>conftest.
$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511 $ac_includes_default
18512 long longval () { return (long) (sizeof (void *)); }
18513 unsigned long ulongval () { return (long) (sizeof (void *)); }
18515 #include <stdlib.h>
18520 FILE *f = fopen ("conftest.val", "w");
18523 if (((long) (sizeof (void *))) < 0)
18525 long i = longval ();
18526 if (i != ((long) (sizeof (void *))))
18528 fprintf (f, "%ld\n", i);
18532 unsigned long i = ulongval ();
18533 if (i != ((long) (sizeof (void *))))
18535 fprintf (f, "%lu\n", i);
18537 exit (ferror (f) || fclose (f) != 0);
18543 rm -f conftest
$ac_exeext
18544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18545 (eval $ac_link) 2>&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18550 (eval $ac_try) 2>&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); }; }; then
18554 ac_cv_sizeof_void_p
=`cat conftest.val`
18556 echo "$as_me: program exited with status $ac_status" >&5
18557 echo "$as_me: failed program was:" >&5
18558 sed 's/^/| /' conftest.
$ac_ext >&5
18560 ( exit $ac_status )
18561 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18562 See \`config.log' for more details." >&5
18563 echo "$as_me: error: cannot compute sizeof (void *), 77
18564 See \`config.log' for more details." >&2;}
18565 { (exit 1); exit 1; }; }
18567 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18572 ac_cv_sizeof_void_p
=0
18575 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18576 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18577 cat >>confdefs.h
<<_ACEOF
18578 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18582 echo "$as_me:$LINENO: checking for int" >&5
18583 echo $ECHO_N "checking for int... $ECHO_C" >&6
18584 if test "${ac_cv_type_int+set}" = set; then
18585 echo $ECHO_N "(cached) $ECHO_C" >&6
18587 cat >conftest.
$ac_ext <<_ACEOF
18590 cat confdefs.h
>>conftest.
$ac_ext
18591 cat >>conftest.
$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 $ac_includes_default
18605 rm -f conftest.
$ac_objext
18606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18607 (eval $ac_compile) 2>conftest.er1
18609 grep -v '^ *+' conftest.er1
>conftest.err
18611 cat conftest.err
>&5
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); } &&
18614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18616 (eval $ac_try) 2>&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); }; } &&
18620 { ac_try
='test -s conftest.$ac_objext'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; }; then
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.
$ac_ext >&5
18633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18635 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18636 echo "${ECHO_T}$ac_cv_type_int" >&6
18638 echo "$as_me:$LINENO: checking size of int" >&5
18639 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18640 if test "${ac_cv_sizeof_int+set}" = set; then
18641 echo $ECHO_N "(cached) $ECHO_C" >&6
18643 if test "$ac_cv_type_int" = yes; then
18644 # The cast to unsigned long works around a bug in the HP C Compiler
18645 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18646 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18647 # This bug is HP SR number 8606223364.
18648 if test "$cross_compiling" = yes; then
18649 # Depending upon the size, compute the lo and hi bounds.
18650 cat >conftest.
$ac_ext <<_ACEOF
18653 cat confdefs.h
>>conftest.
$ac_ext
18654 cat >>conftest.
$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18656 $ac_includes_default
18660 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18667 rm -f conftest.
$ac_objext
18668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18669 (eval $ac_compile) 2>conftest.er1
18671 grep -v '^ *+' conftest.er1
>conftest.err
18673 cat conftest.err
>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } &&
18676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; } &&
18682 { ac_try
='test -s conftest.$ac_objext'
18683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18684 (eval $ac_try) 2>&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); }; }; then
18690 cat >conftest.
$ac_ext <<_ACEOF
18693 cat confdefs.h
>>conftest.
$ac_ext
18694 cat >>conftest.
$ac_ext <<_ACEOF
18695 /* end confdefs.h. */
18696 $ac_includes_default
18700 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18707 rm -f conftest.
$ac_objext
18708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18709 (eval $ac_compile) 2>conftest.er1
18711 grep -v '^ *+' conftest.er1
>conftest.err
18713 cat conftest.err
>&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); } &&
18716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18718 (eval $ac_try) 2>&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); }; } &&
18722 { ac_try
='test -s conftest.$ac_objext'
18723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18724 (eval $ac_try) 2>&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); }; }; then
18728 ac_hi
=$ac_mid; break
18730 echo "$as_me: failed program was:" >&5
18731 sed 's/^/| /' conftest.
$ac_ext >&5
18733 ac_lo
=`expr $ac_mid + 1`
18734 if test $ac_lo -le $ac_mid; then
18738 ac_mid
=`expr 2 '*' $ac_mid + 1`
18740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.
$ac_ext >&5
18746 cat >conftest.
$ac_ext <<_ACEOF
18749 cat confdefs.h
>>conftest.
$ac_ext
18750 cat >>conftest.
$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 $ac_includes_default
18756 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18763 rm -f conftest.
$ac_objext
18764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18765 (eval $ac_compile) 2>conftest.er1
18767 grep -v '^ *+' conftest.er1
>conftest.err
18769 cat conftest.err
>&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); } &&
18772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18774 (eval $ac_try) 2>&5
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); }; } &&
18778 { ac_try
='test -s conftest.$ac_objext'
18779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18780 (eval $ac_try) 2>&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); }; }; then
18786 cat >conftest.
$ac_ext <<_ACEOF
18789 cat confdefs.h
>>conftest.
$ac_ext
18790 cat >>conftest.
$ac_ext <<_ACEOF
18791 /* end confdefs.h. */
18792 $ac_includes_default
18796 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18803 rm -f conftest.
$ac_objext
18804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18805 (eval $ac_compile) 2>conftest.er1
18807 grep -v '^ *+' conftest.er1
>conftest.err
18809 cat conftest.err
>&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); } &&
18812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18814 (eval $ac_try) 2>&5
18816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817 (exit $ac_status); }; } &&
18818 { ac_try
='test -s conftest.$ac_objext'
18819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18820 (eval $ac_try) 2>&5
18822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823 (exit $ac_status); }; }; then
18824 ac_lo
=$ac_mid; break
18826 echo "$as_me: failed program was:" >&5
18827 sed 's/^/| /' conftest.
$ac_ext >&5
18829 ac_hi
=`expr '(' $ac_mid ')' - 1`
18830 if test $ac_mid -le $ac_hi; then
18834 ac_mid
=`expr 2 '*' $ac_mid`
18836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18839 echo "$as_me: failed program was:" >&5
18840 sed 's/^/| /' conftest.
$ac_ext >&5
18844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18847 # Binary search between lo and hi bounds.
18848 while test "x$ac_lo" != "x$ac_hi"; do
18849 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18850 cat >conftest.
$ac_ext <<_ACEOF
18853 cat confdefs.h
>>conftest.
$ac_ext
18854 cat >>conftest.
$ac_ext <<_ACEOF
18855 /* end confdefs.h. */
18856 $ac_includes_default
18860 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18867 rm -f conftest.
$ac_objext
18868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18869 (eval $ac_compile) 2>conftest.er1
18871 grep -v '^ *+' conftest.er1
>conftest.err
18873 cat conftest.err
>&5
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); } &&
18876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18878 (eval $ac_try) 2>&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); }; } &&
18882 { ac_try
='test -s conftest.$ac_objext'
18883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884 (eval $ac_try) 2>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); }; }; then
18890 echo "$as_me: failed program was:" >&5
18891 sed 's/^/| /' conftest.
$ac_ext >&5
18893 ac_lo
=`expr '(' $ac_mid ')' + 1`
18895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18898 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18899 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18900 See \`config.log' for more details." >&5
18901 echo "$as_me: error: cannot compute sizeof (int), 77
18902 See \`config.log' for more details." >&2;}
18903 { (exit 1); exit 1; }; } ;;
18906 if test "$cross_compiling" = yes; then
18907 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18908 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18909 { (exit 1); exit 1; }; }
18911 cat >conftest.
$ac_ext <<_ACEOF
18914 cat confdefs.h
>>conftest.
$ac_ext
18915 cat >>conftest.
$ac_ext <<_ACEOF
18916 /* end confdefs.h. */
18917 $ac_includes_default
18918 long longval () { return (long) (sizeof (int)); }
18919 unsigned long ulongval () { return (long) (sizeof (int)); }
18921 #include <stdlib.h>
18926 FILE *f = fopen ("conftest.val", "w");
18929 if (((long) (sizeof (int))) < 0)
18931 long i = longval ();
18932 if (i != ((long) (sizeof (int))))
18934 fprintf (f, "%ld\n", i);
18938 unsigned long i = ulongval ();
18939 if (i != ((long) (sizeof (int))))
18941 fprintf (f, "%lu\n", i);
18943 exit (ferror (f) || fclose (f) != 0);
18949 rm -f conftest
$ac_exeext
18950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18951 (eval $ac_link) 2>&5
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; }; then
18960 ac_cv_sizeof_int
=`cat conftest.val`
18962 echo "$as_me: program exited with status $ac_status" >&5
18963 echo "$as_me: failed program was:" >&5
18964 sed 's/^/| /' conftest.
$ac_ext >&5
18966 ( exit $ac_status )
18967 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18968 See \`config.log' for more details." >&5
18969 echo "$as_me: error: cannot compute sizeof (int), 77
18970 See \`config.log' for more details." >&2;}
18971 { (exit 1); exit 1; }; }
18973 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18981 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18982 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18983 cat >>confdefs.h
<<_ACEOF
18984 #define SIZEOF_INT $ac_cv_sizeof_int
18988 echo "$as_me:$LINENO: checking for long" >&5
18989 echo $ECHO_N "checking for long... $ECHO_C" >&6
18990 if test "${ac_cv_type_long+set}" = set; then
18991 echo $ECHO_N "(cached) $ECHO_C" >&6
18993 cat >conftest.
$ac_ext <<_ACEOF
18996 cat confdefs.h
>>conftest.
$ac_ext
18997 cat >>conftest.
$ac_ext <<_ACEOF
18998 /* end confdefs.h. */
18999 $ac_includes_default
19011 rm -f conftest.
$ac_objext
19012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19013 (eval $ac_compile) 2>conftest.er1
19015 grep -v '^ *+' conftest.er1
>conftest.err
19017 cat conftest.err
>&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); } &&
19020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19022 (eval $ac_try) 2>&5
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); }; } &&
19026 { ac_try
='test -s conftest.$ac_objext'
19027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19028 (eval $ac_try) 2>&5
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); }; }; then
19032 ac_cv_type_long
=yes
19034 echo "$as_me: failed program was:" >&5
19035 sed 's/^/| /' conftest.
$ac_ext >&5
19039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19041 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19042 echo "${ECHO_T}$ac_cv_type_long" >&6
19044 echo "$as_me:$LINENO: checking size of long" >&5
19045 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19046 if test "${ac_cv_sizeof_long+set}" = set; then
19047 echo $ECHO_N "(cached) $ECHO_C" >&6
19049 if test "$ac_cv_type_long" = yes; then
19050 # The cast to unsigned long works around a bug in the HP C Compiler
19051 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19052 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19053 # This bug is HP SR number 8606223364.
19054 if test "$cross_compiling" = yes; then
19055 # Depending upon the size, compute the lo and hi bounds.
19056 cat >conftest.
$ac_ext <<_ACEOF
19059 cat confdefs.h
>>conftest.
$ac_ext
19060 cat >>conftest.
$ac_ext <<_ACEOF
19061 /* end confdefs.h. */
19062 $ac_includes_default
19066 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19073 rm -f conftest.
$ac_objext
19074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19075 (eval $ac_compile) 2>conftest.er1
19077 grep -v '^ *+' conftest.er1
>conftest.err
19079 cat conftest.err
>&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); } &&
19082 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084 (eval $ac_try) 2>&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; } &&
19088 { ac_try
='test -s conftest.$ac_objext'
19089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090 (eval $ac_try) 2>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); }; }; then
19096 cat >conftest.
$ac_ext <<_ACEOF
19099 cat confdefs.h
>>conftest.
$ac_ext
19100 cat >>conftest.
$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19102 $ac_includes_default
19106 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19113 rm -f conftest.
$ac_objext
19114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19115 (eval $ac_compile) 2>conftest.er1
19117 grep -v '^ *+' conftest.er1
>conftest.err
19119 cat conftest.err
>&5
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); } &&
19122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19124 (eval $ac_try) 2>&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); }; } &&
19128 { ac_try
='test -s conftest.$ac_objext'
19129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130 (eval $ac_try) 2>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); }; }; then
19134 ac_hi
=$ac_mid; break
19136 echo "$as_me: failed program was:" >&5
19137 sed 's/^/| /' conftest.
$ac_ext >&5
19139 ac_lo
=`expr $ac_mid + 1`
19140 if test $ac_lo -le $ac_mid; then
19144 ac_mid
=`expr 2 '*' $ac_mid + 1`
19146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.
$ac_ext >&5
19152 cat >conftest.
$ac_ext <<_ACEOF
19155 cat confdefs.h
>>conftest.
$ac_ext
19156 cat >>conftest.
$ac_ext <<_ACEOF
19157 /* end confdefs.h. */
19158 $ac_includes_default
19162 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19169 rm -f conftest.
$ac_objext
19170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19171 (eval $ac_compile) 2>conftest.er1
19173 grep -v '^ *+' conftest.er1
>conftest.err
19175 cat conftest.err
>&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); } &&
19178 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19180 (eval $ac_try) 2>&5
19182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19183 (exit $ac_status); }; } &&
19184 { ac_try
='test -s conftest.$ac_objext'
19185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19186 (eval $ac_try) 2>&5
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); }; }; then
19192 cat >conftest.
$ac_ext <<_ACEOF
19195 cat confdefs.h
>>conftest.
$ac_ext
19196 cat >>conftest.
$ac_ext <<_ACEOF
19197 /* end confdefs.h. */
19198 $ac_includes_default
19202 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19209 rm -f conftest.
$ac_objext
19210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19211 (eval $ac_compile) 2>conftest.er1
19213 grep -v '^ *+' conftest.er1
>conftest.err
19215 cat conftest.err
>&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); } &&
19218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19220 (eval $ac_try) 2>&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); }; } &&
19224 { ac_try
='test -s conftest.$ac_objext'
19225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19226 (eval $ac_try) 2>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); }; }; then
19230 ac_lo
=$ac_mid; break
19232 echo "$as_me: failed program was:" >&5
19233 sed 's/^/| /' conftest.
$ac_ext >&5
19235 ac_hi
=`expr '(' $ac_mid ')' - 1`
19236 if test $ac_mid -le $ac_hi; then
19240 ac_mid
=`expr 2 '*' $ac_mid`
19242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19245 echo "$as_me: failed program was:" >&5
19246 sed 's/^/| /' conftest.
$ac_ext >&5
19250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19253 # Binary search between lo and hi bounds.
19254 while test "x$ac_lo" != "x$ac_hi"; do
19255 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19256 cat >conftest.
$ac_ext <<_ACEOF
19259 cat confdefs.h
>>conftest.
$ac_ext
19260 cat >>conftest.
$ac_ext <<_ACEOF
19261 /* end confdefs.h. */
19262 $ac_includes_default
19266 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19273 rm -f conftest.
$ac_objext
19274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19275 (eval $ac_compile) 2>conftest.er1
19277 grep -v '^ *+' conftest.er1
>conftest.err
19279 cat conftest.err
>&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); } &&
19282 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19284 (eval $ac_try) 2>&5
19286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19287 (exit $ac_status); }; } &&
19288 { ac_try
='test -s conftest.$ac_objext'
19289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19290 (eval $ac_try) 2>&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); }; }; then
19296 echo "$as_me: failed program was:" >&5
19297 sed 's/^/| /' conftest.
$ac_ext >&5
19299 ac_lo
=`expr '(' $ac_mid ')' + 1`
19301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19304 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19305 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19306 See \`config.log' for more details." >&5
19307 echo "$as_me: error: cannot compute sizeof (long), 77
19308 See \`config.log' for more details." >&2;}
19309 { (exit 1); exit 1; }; } ;;
19312 if test "$cross_compiling" = yes; then
19313 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19314 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19315 { (exit 1); exit 1; }; }
19317 cat >conftest.
$ac_ext <<_ACEOF
19320 cat confdefs.h
>>conftest.
$ac_ext
19321 cat >>conftest.
$ac_ext <<_ACEOF
19322 /* end confdefs.h. */
19323 $ac_includes_default
19324 long longval () { return (long) (sizeof (long)); }
19325 unsigned long ulongval () { return (long) (sizeof (long)); }
19327 #include <stdlib.h>
19332 FILE *f = fopen ("conftest.val", "w");
19335 if (((long) (sizeof (long))) < 0)
19337 long i = longval ();
19338 if (i != ((long) (sizeof (long))))
19340 fprintf (f, "%ld\n", i);
19344 unsigned long i = ulongval ();
19345 if (i != ((long) (sizeof (long))))
19347 fprintf (f, "%lu\n", i);
19349 exit (ferror (f) || fclose (f) != 0);
19355 rm -f conftest
$ac_exeext
19356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19357 (eval $ac_link) 2>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19362 (eval $ac_try) 2>&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); }; }; then
19366 ac_cv_sizeof_long
=`cat conftest.val`
19368 echo "$as_me: program exited with status $ac_status" >&5
19369 echo "$as_me: failed program was:" >&5
19370 sed 's/^/| /' conftest.
$ac_ext >&5
19372 ( exit $ac_status )
19373 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19374 See \`config.log' for more details." >&5
19375 echo "$as_me: error: cannot compute sizeof (long), 77
19376 See \`config.log' for more details." >&2;}
19377 { (exit 1); exit 1; }; }
19379 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19384 ac_cv_sizeof_long
=0
19387 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19388 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19389 cat >>confdefs.h
<<_ACEOF
19390 #define SIZEOF_LONG $ac_cv_sizeof_long
19394 echo "$as_me:$LINENO: checking for size_t" >&5
19395 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19396 if test "${ac_cv_type_size_t+set}" = set; then
19397 echo $ECHO_N "(cached) $ECHO_C" >&6
19399 cat >conftest.
$ac_ext <<_ACEOF
19402 cat confdefs.h
>>conftest.
$ac_ext
19403 cat >>conftest.
$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19405 $ac_includes_default
19411 if (sizeof (size_t))
19417 rm -f conftest.
$ac_objext
19418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19419 (eval $ac_compile) 2>conftest.er1
19421 grep -v '^ *+' conftest.er1
>conftest.err
19423 cat conftest.err
>&5
19424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425 (exit $ac_status); } &&
19426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19428 (eval $ac_try) 2>&5
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); }; } &&
19432 { ac_try
='test -s conftest.$ac_objext'
19433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19434 (eval $ac_try) 2>&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); }; }; then
19438 ac_cv_type_size_t
=yes
19440 echo "$as_me: failed program was:" >&5
19441 sed 's/^/| /' conftest.
$ac_ext >&5
19443 ac_cv_type_size_t
=no
19445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19447 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19448 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19450 echo "$as_me:$LINENO: checking size of size_t" >&5
19451 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19452 if test "${ac_cv_sizeof_size_t+set}" = set; then
19453 echo $ECHO_N "(cached) $ECHO_C" >&6
19455 if test "$ac_cv_type_size_t" = yes; then
19456 # The cast to unsigned long works around a bug in the HP C Compiler
19457 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19458 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19459 # This bug is HP SR number 8606223364.
19460 if test "$cross_compiling" = yes; then
19461 # Depending upon the size, compute the lo and hi bounds.
19462 cat >conftest.
$ac_ext <<_ACEOF
19465 cat confdefs.h
>>conftest.
$ac_ext
19466 cat >>conftest.
$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19468 $ac_includes_default
19472 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19479 rm -f conftest.
$ac_objext
19480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19481 (eval $ac_compile) 2>conftest.er1
19483 grep -v '^ *+' conftest.er1
>conftest.err
19485 cat conftest.err
>&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); } &&
19488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; } &&
19494 { ac_try
='test -s conftest.$ac_objext'
19495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19496 (eval $ac_try) 2>&5
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; }; then
19502 cat >conftest.
$ac_ext <<_ACEOF
19505 cat confdefs.h
>>conftest.
$ac_ext
19506 cat >>conftest.
$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19508 $ac_includes_default
19512 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19519 rm -f conftest.
$ac_objext
19520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19521 (eval $ac_compile) 2>conftest.er1
19523 grep -v '^ *+' conftest.er1
>conftest.err
19525 cat conftest.err
>&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); } &&
19528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530 (eval $ac_try) 2>&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); }; } &&
19534 { ac_try
='test -s conftest.$ac_objext'
19535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19536 (eval $ac_try) 2>&5
19538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539 (exit $ac_status); }; }; then
19540 ac_hi
=$ac_mid; break
19542 echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.
$ac_ext >&5
19545 ac_lo
=`expr $ac_mid + 1`
19546 if test $ac_lo -le $ac_mid; then
19550 ac_mid
=`expr 2 '*' $ac_mid + 1`
19552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19555 echo "$as_me: failed program was:" >&5
19556 sed 's/^/| /' conftest.
$ac_ext >&5
19558 cat >conftest.
$ac_ext <<_ACEOF
19561 cat confdefs.h
>>conftest.
$ac_ext
19562 cat >>conftest.
$ac_ext <<_ACEOF
19563 /* end confdefs.h. */
19564 $ac_includes_default
19568 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19575 rm -f conftest.
$ac_objext
19576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19577 (eval $ac_compile) 2>conftest.er1
19579 grep -v '^ *+' conftest.er1
>conftest.err
19581 cat conftest.err
>&5
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); } &&
19584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19586 (eval $ac_try) 2>&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); }; } &&
19590 { ac_try
='test -s conftest.$ac_objext'
19591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19592 (eval $ac_try) 2>&5
19594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19595 (exit $ac_status); }; }; then
19598 cat >conftest.
$ac_ext <<_ACEOF
19601 cat confdefs.h
>>conftest.
$ac_ext
19602 cat >>conftest.
$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19604 $ac_includes_default
19608 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19615 rm -f conftest.
$ac_objext
19616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19617 (eval $ac_compile) 2>conftest.er1
19619 grep -v '^ *+' conftest.er1
>conftest.err
19621 cat conftest.err
>&5
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); } &&
19624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19626 (eval $ac_try) 2>&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); }; } &&
19630 { ac_try
='test -s conftest.$ac_objext'
19631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19632 (eval $ac_try) 2>&5
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); }; }; then
19636 ac_lo
=$ac_mid; break
19638 echo "$as_me: failed program was:" >&5
19639 sed 's/^/| /' conftest.
$ac_ext >&5
19641 ac_hi
=`expr '(' $ac_mid ')' - 1`
19642 if test $ac_mid -le $ac_hi; then
19646 ac_mid
=`expr 2 '*' $ac_mid`
19648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19651 echo "$as_me: failed program was:" >&5
19652 sed 's/^/| /' conftest.
$ac_ext >&5
19656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19659 # Binary search between lo and hi bounds.
19660 while test "x$ac_lo" != "x$ac_hi"; do
19661 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19662 cat >conftest.
$ac_ext <<_ACEOF
19665 cat confdefs.h
>>conftest.
$ac_ext
19666 cat >>conftest.
$ac_ext <<_ACEOF
19667 /* end confdefs.h. */
19668 $ac_includes_default
19672 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19679 rm -f conftest.
$ac_objext
19680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19681 (eval $ac_compile) 2>conftest.er1
19683 grep -v '^ *+' conftest.er1
>conftest.err
19685 cat conftest.err
>&5
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); } &&
19688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19690 (eval $ac_try) 2>&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); }; } &&
19694 { ac_try
='test -s conftest.$ac_objext'
19695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19696 (eval $ac_try) 2>&5
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); }; }; then
19702 echo "$as_me: failed program was:" >&5
19703 sed 's/^/| /' conftest.
$ac_ext >&5
19705 ac_lo
=`expr '(' $ac_mid ')' + 1`
19707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19710 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19711 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19712 See \`config.log' for more details." >&5
19713 echo "$as_me: error: cannot compute sizeof (size_t), 77
19714 See \`config.log' for more details." >&2;}
19715 { (exit 1); exit 1; }; } ;;
19718 if test "$cross_compiling" = yes; then
19719 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19720 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19721 { (exit 1); exit 1; }; }
19723 cat >conftest.
$ac_ext <<_ACEOF
19726 cat confdefs.h
>>conftest.
$ac_ext
19727 cat >>conftest.
$ac_ext <<_ACEOF
19728 /* end confdefs.h. */
19729 $ac_includes_default
19730 long longval () { return (long) (sizeof (size_t)); }
19731 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19733 #include <stdlib.h>
19738 FILE *f = fopen ("conftest.val", "w");
19741 if (((long) (sizeof (size_t))) < 0)
19743 long i = longval ();
19744 if (i != ((long) (sizeof (size_t))))
19746 fprintf (f, "%ld\n", i);
19750 unsigned long i = ulongval ();
19751 if (i != ((long) (sizeof (size_t))))
19753 fprintf (f, "%lu\n", i);
19755 exit (ferror (f) || fclose (f) != 0);
19761 rm -f conftest
$ac_exeext
19762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19763 (eval $ac_link) 2>&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19768 (eval $ac_try) 2>&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); }; }; then
19772 ac_cv_sizeof_size_t
=`cat conftest.val`
19774 echo "$as_me: program exited with status $ac_status" >&5
19775 echo "$as_me: failed program was:" >&5
19776 sed 's/^/| /' conftest.
$ac_ext >&5
19778 ( exit $ac_status )
19779 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19780 See \`config.log' for more details." >&5
19781 echo "$as_me: error: cannot compute sizeof (size_t), 77
19782 See \`config.log' for more details." >&2;}
19783 { (exit 1); exit 1; }; }
19785 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19790 ac_cv_sizeof_size_t
=0
19793 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19794 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19795 cat >>confdefs.h
<<_ACEOF
19796 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19803 echo "$as_me:$LINENO: checking for long long" >&5
19804 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19805 if test "${ac_cv_type_long_long+set}" = set; then
19806 echo $ECHO_N "(cached) $ECHO_C" >&6
19808 cat >conftest.
$ac_ext <<_ACEOF
19811 cat confdefs.h
>>conftest.
$ac_ext
19812 cat >>conftest.
$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 $ac_includes_default
19818 if ((long long *) 0)
19820 if (sizeof (long long))
19826 rm -f conftest.
$ac_objext
19827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19828 (eval $ac_compile) 2>conftest.er1
19830 grep -v '^ *+' conftest.er1
>conftest.err
19832 cat conftest.err
>&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); } &&
19835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try
='test -s conftest.$ac_objext'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; }; then
19847 ac_cv_type_long_long
=yes
19849 echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.
$ac_ext >&5
19852 ac_cv_type_long_long
=no
19854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19856 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19857 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19859 echo "$as_me:$LINENO: checking size of long long" >&5
19860 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19861 if test "${ac_cv_sizeof_long_long+set}" = set; then
19862 echo $ECHO_N "(cached) $ECHO_C" >&6
19864 if test "$ac_cv_type_long_long" = yes; then
19865 # The cast to unsigned long works around a bug in the HP C Compiler
19866 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19867 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19868 # This bug is HP SR number 8606223364.
19869 if test "$cross_compiling" = yes; then
19870 # Depending upon the size, compute the lo and hi bounds.
19871 cat >conftest.
$ac_ext <<_ACEOF
19874 cat confdefs.h
>>conftest.
$ac_ext
19875 cat >>conftest.
$ac_ext <<_ACEOF
19876 /* end confdefs.h. */
19877 $ac_includes_default
19881 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19888 rm -f conftest.
$ac_objext
19889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19890 (eval $ac_compile) 2>conftest.er1
19892 grep -v '^ *+' conftest.er1
>conftest.err
19894 cat conftest.err
>&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); } &&
19897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19899 (eval $ac_try) 2>&5
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); }; } &&
19903 { ac_try
='test -s conftest.$ac_objext'
19904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19905 (eval $ac_try) 2>&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); }; }; then
19911 cat >conftest.
$ac_ext <<_ACEOF
19914 cat confdefs.h
>>conftest.
$ac_ext
19915 cat >>conftest.
$ac_ext <<_ACEOF
19916 /* end confdefs.h. */
19917 $ac_includes_default
19921 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19928 rm -f conftest.
$ac_objext
19929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19930 (eval $ac_compile) 2>conftest.er1
19932 grep -v '^ *+' conftest.er1
>conftest.err
19934 cat conftest.err
>&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); } &&
19937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19939 (eval $ac_try) 2>&5
19941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942 (exit $ac_status); }; } &&
19943 { ac_try
='test -s conftest.$ac_objext'
19944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19945 (eval $ac_try) 2>&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); }; }; then
19949 ac_hi
=$ac_mid; break
19951 echo "$as_me: failed program was:" >&5
19952 sed 's/^/| /' conftest.
$ac_ext >&5
19954 ac_lo
=`expr $ac_mid + 1`
19955 if test $ac_lo -le $ac_mid; then
19959 ac_mid
=`expr 2 '*' $ac_mid + 1`
19961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19964 echo "$as_me: failed program was:" >&5
19965 sed 's/^/| /' conftest.
$ac_ext >&5
19967 cat >conftest.
$ac_ext <<_ACEOF
19970 cat confdefs.h
>>conftest.
$ac_ext
19971 cat >>conftest.
$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 $ac_includes_default
19977 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19984 rm -f conftest.
$ac_objext
19985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19986 (eval $ac_compile) 2>conftest.er1
19988 grep -v '^ *+' conftest.er1
>conftest.err
19990 cat conftest.err
>&5
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); } &&
19993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19995 (eval $ac_try) 2>&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); }; } &&
19999 { ac_try
='test -s conftest.$ac_objext'
20000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001 (eval $ac_try) 2>&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); }; }; then
20007 cat >conftest.
$ac_ext <<_ACEOF
20010 cat confdefs.h
>>conftest.
$ac_ext
20011 cat >>conftest.
$ac_ext <<_ACEOF
20012 /* end confdefs.h. */
20013 $ac_includes_default
20017 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20024 rm -f conftest.
$ac_objext
20025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20026 (eval $ac_compile) 2>conftest.er1
20028 grep -v '^ *+' conftest.er1
>conftest.err
20030 cat conftest.err
>&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); } &&
20033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20035 (eval $ac_try) 2>&5
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); }; } &&
20039 { ac_try
='test -s conftest.$ac_objext'
20040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20041 (eval $ac_try) 2>&5
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); }; }; then
20045 ac_lo
=$ac_mid; break
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.
$ac_ext >&5
20050 ac_hi
=`expr '(' $ac_mid ')' - 1`
20051 if test $ac_mid -le $ac_hi; then
20055 ac_mid
=`expr 2 '*' $ac_mid`
20057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20060 echo "$as_me: failed program was:" >&5
20061 sed 's/^/| /' conftest.
$ac_ext >&5
20065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20068 # Binary search between lo and hi bounds.
20069 while test "x$ac_lo" != "x$ac_hi"; do
20070 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20071 cat >conftest.
$ac_ext <<_ACEOF
20074 cat confdefs.h
>>conftest.
$ac_ext
20075 cat >>conftest.
$ac_ext <<_ACEOF
20076 /* end confdefs.h. */
20077 $ac_includes_default
20081 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20088 rm -f conftest.
$ac_objext
20089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20090 (eval $ac_compile) 2>conftest.er1
20092 grep -v '^ *+' conftest.er1
>conftest.err
20094 cat conftest.err
>&5
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); } &&
20097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20099 (eval $ac_try) 2>&5
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); }; } &&
20103 { ac_try
='test -s conftest.$ac_objext'
20104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20105 (eval $ac_try) 2>&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); }; }; then
20111 echo "$as_me: failed program was:" >&5
20112 sed 's/^/| /' conftest.
$ac_ext >&5
20114 ac_lo
=`expr '(' $ac_mid ')' + 1`
20116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20119 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20120 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20121 See \`config.log' for more details." >&5
20122 echo "$as_me: error: cannot compute sizeof (long long), 77
20123 See \`config.log' for more details." >&2;}
20124 { (exit 1); exit 1; }; } ;;
20127 if test "$cross_compiling" = yes; then
20128 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20129 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20130 { (exit 1); exit 1; }; }
20132 cat >conftest.
$ac_ext <<_ACEOF
20135 cat confdefs.h
>>conftest.
$ac_ext
20136 cat >>conftest.
$ac_ext <<_ACEOF
20137 /* end confdefs.h. */
20138 $ac_includes_default
20139 long longval () { return (long) (sizeof (long long)); }
20140 unsigned long ulongval () { return (long) (sizeof (long long)); }
20142 #include <stdlib.h>
20147 FILE *f = fopen ("conftest.val", "w");
20150 if (((long) (sizeof (long long))) < 0)
20152 long i = longval ();
20153 if (i != ((long) (sizeof (long long))))
20155 fprintf (f, "%ld\n", i);
20159 unsigned long i = ulongval ();
20160 if (i != ((long) (sizeof (long long))))
20162 fprintf (f, "%lu\n", i);
20164 exit (ferror (f) || fclose (f) != 0);
20170 rm -f conftest
$ac_exeext
20171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20172 (eval $ac_link) 2>&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20177 (eval $ac_try) 2>&5
20179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180 (exit $ac_status); }; }; then
20181 ac_cv_sizeof_long_long
=`cat conftest.val`
20183 echo "$as_me: program exited with status $ac_status" >&5
20184 echo "$as_me: failed program was:" >&5
20185 sed 's/^/| /' conftest.
$ac_ext >&5
20187 ( exit $ac_status )
20188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20189 See \`config.log' for more details." >&5
20190 echo "$as_me: error: cannot compute sizeof (long long), 77
20191 See \`config.log' for more details." >&2;}
20192 { (exit 1); exit 1; }; }
20194 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20199 ac_cv_sizeof_long_long
=0
20202 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20203 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20204 cat >>confdefs.h
<<_ACEOF
20205 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20211 echo "$as_me:$LINENO: checking for long long" >&5
20212 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20213 if test "${ac_cv_type_long_long+set}" = set; then
20214 echo $ECHO_N "(cached) $ECHO_C" >&6
20216 cat >conftest.
$ac_ext <<_ACEOF
20219 cat confdefs.h
>>conftest.
$ac_ext
20220 cat >>conftest.
$ac_ext <<_ACEOF
20221 /* end confdefs.h. */
20222 $ac_includes_default
20226 if ((long long *) 0)
20228 if (sizeof (long long))
20234 rm -f conftest.
$ac_objext
20235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20236 (eval $ac_compile) 2>conftest.er1
20238 grep -v '^ *+' conftest.er1
>conftest.err
20240 cat conftest.err
>&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } &&
20243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; } &&
20249 { ac_try
='test -s conftest.$ac_objext'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; }; then
20255 ac_cv_type_long_long
=yes
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.
$ac_ext >&5
20260 ac_cv_type_long_long
=no
20262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20264 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20265 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20267 echo "$as_me:$LINENO: checking size of long long" >&5
20268 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20269 if test "${ac_cv_sizeof_long_long+set}" = set; then
20270 echo $ECHO_N "(cached) $ECHO_C" >&6
20272 if test "$ac_cv_type_long_long" = yes; then
20273 # The cast to unsigned long works around a bug in the HP C Compiler
20274 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20275 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20276 # This bug is HP SR number 8606223364.
20277 if test "$cross_compiling" = yes; then
20278 # Depending upon the size, compute the lo and hi bounds.
20279 cat >conftest.
$ac_ext <<_ACEOF
20282 cat confdefs.h
>>conftest.
$ac_ext
20283 cat >>conftest.
$ac_ext <<_ACEOF
20284 /* end confdefs.h. */
20285 $ac_includes_default
20289 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20296 rm -f conftest.
$ac_objext
20297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20298 (eval $ac_compile) 2>conftest.er1
20300 grep -v '^ *+' conftest.er1
>conftest.err
20302 cat conftest.err
>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); } &&
20305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307 (eval $ac_try) 2>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; } &&
20311 { ac_try
='test -s conftest.$ac_objext'
20312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20313 (eval $ac_try) 2>&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); }; }; then
20319 cat >conftest.
$ac_ext <<_ACEOF
20322 cat confdefs.h
>>conftest.
$ac_ext
20323 cat >>conftest.
$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325 $ac_includes_default
20329 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20336 rm -f conftest.
$ac_objext
20337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20338 (eval $ac_compile) 2>conftest.er1
20340 grep -v '^ *+' conftest.er1
>conftest.err
20342 cat conftest.err
>&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); } &&
20345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; } &&
20351 { ac_try
='test -s conftest.$ac_objext'
20352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20353 (eval $ac_try) 2>&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; }; then
20357 ac_hi
=$ac_mid; break
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.
$ac_ext >&5
20362 ac_lo
=`expr $ac_mid + 1`
20363 if test $ac_lo -le $ac_mid; then
20367 ac_mid
=`expr 2 '*' $ac_mid + 1`
20369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20372 echo "$as_me: failed program was:" >&5
20373 sed 's/^/| /' conftest.
$ac_ext >&5
20375 cat >conftest.
$ac_ext <<_ACEOF
20378 cat confdefs.h
>>conftest.
$ac_ext
20379 cat >>conftest.
$ac_ext <<_ACEOF
20380 /* end confdefs.h. */
20381 $ac_includes_default
20385 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20392 rm -f conftest.
$ac_objext
20393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20394 (eval $ac_compile) 2>conftest.er1
20396 grep -v '^ *+' conftest.er1
>conftest.err
20398 cat conftest.err
>&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); } &&
20401 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20403 (eval $ac_try) 2>&5
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); }; } &&
20407 { ac_try
='test -s conftest.$ac_objext'
20408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20409 (eval $ac_try) 2>&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); }; }; then
20415 cat >conftest.
$ac_ext <<_ACEOF
20418 cat confdefs.h
>>conftest.
$ac_ext
20419 cat >>conftest.
$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421 $ac_includes_default
20425 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20432 rm -f conftest.
$ac_objext
20433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20434 (eval $ac_compile) 2>conftest.er1
20436 grep -v '^ *+' conftest.er1
>conftest.err
20438 cat conftest.err
>&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); } &&
20441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20443 (eval $ac_try) 2>&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); }; } &&
20447 { ac_try
='test -s conftest.$ac_objext'
20448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20449 (eval $ac_try) 2>&5
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); }; }; then
20453 ac_lo
=$ac_mid; break
20455 echo "$as_me: failed program was:" >&5
20456 sed 's/^/| /' conftest.
$ac_ext >&5
20458 ac_hi
=`expr '(' $ac_mid ')' - 1`
20459 if test $ac_mid -le $ac_hi; then
20463 ac_mid
=`expr 2 '*' $ac_mid`
20465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20468 echo "$as_me: failed program was:" >&5
20469 sed 's/^/| /' conftest.
$ac_ext >&5
20473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20476 # Binary search between lo and hi bounds.
20477 while test "x$ac_lo" != "x$ac_hi"; do
20478 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20479 cat >conftest.
$ac_ext <<_ACEOF
20482 cat confdefs.h
>>conftest.
$ac_ext
20483 cat >>conftest.
$ac_ext <<_ACEOF
20484 /* end confdefs.h. */
20485 $ac_includes_default
20489 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20496 rm -f conftest.
$ac_objext
20497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20498 (eval $ac_compile) 2>conftest.er1
20500 grep -v '^ *+' conftest.er1
>conftest.err
20502 cat conftest.err
>&5
20503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504 (exit $ac_status); } &&
20505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507 (eval $ac_try) 2>&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); }; } &&
20511 { ac_try
='test -s conftest.$ac_objext'
20512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513 (eval $ac_try) 2>&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); }; }; then
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.
$ac_ext >&5
20522 ac_lo
=`expr '(' $ac_mid ')' + 1`
20524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20527 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20528 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20529 See \`config.log' for more details." >&5
20530 echo "$as_me: error: cannot compute sizeof (long long), 77
20531 See \`config.log' for more details." >&2;}
20532 { (exit 1); exit 1; }; } ;;
20535 if test "$cross_compiling" = yes; then
20536 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20537 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20538 { (exit 1); exit 1; }; }
20540 cat >conftest.
$ac_ext <<_ACEOF
20543 cat confdefs.h
>>conftest.
$ac_ext
20544 cat >>conftest.
$ac_ext <<_ACEOF
20545 /* end confdefs.h. */
20546 $ac_includes_default
20547 long longval () { return (long) (sizeof (long long)); }
20548 unsigned long ulongval () { return (long) (sizeof (long long)); }
20550 #include <stdlib.h>
20555 FILE *f = fopen ("conftest.val", "w");
20558 if (((long) (sizeof (long long))) < 0)
20560 long i = longval ();
20561 if (i != ((long) (sizeof (long long))))
20563 fprintf (f, "%ld\n", i);
20567 unsigned long i = ulongval ();
20568 if (i != ((long) (sizeof (long long))))
20570 fprintf (f, "%lu\n", i);
20572 exit (ferror (f) || fclose (f) != 0);
20578 rm -f conftest
$ac_exeext
20579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20580 (eval $ac_link) 2>&5
20582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20583 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20585 (eval $ac_try) 2>&5
20587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588 (exit $ac_status); }; }; then
20589 ac_cv_sizeof_long_long
=`cat conftest.val`
20591 echo "$as_me: program exited with status $ac_status" >&5
20592 echo "$as_me: failed program was:" >&5
20593 sed 's/^/| /' conftest.
$ac_ext >&5
20595 ( exit $ac_status )
20596 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20597 See \`config.log' for more details." >&5
20598 echo "$as_me: error: cannot compute sizeof (long long), 77
20599 See \`config.log' for more details." >&2;}
20600 { (exit 1); exit 1; }; }
20602 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20607 ac_cv_sizeof_long_long
=0
20610 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20611 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20612 cat >>confdefs.h
<<_ACEOF
20613 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20617 if test "$ac_cv_sizeof_long_long" != "0"; then
20618 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20622 echo "$as_me:$LINENO: checking for long long" >&5
20623 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20624 if test "${ac_cv_type_long_long+set}" = set; then
20625 echo $ECHO_N "(cached) $ECHO_C" >&6
20627 cat >conftest.
$ac_ext <<_ACEOF
20630 cat confdefs.h
>>conftest.
$ac_ext
20631 cat >>conftest.
$ac_ext <<_ACEOF
20632 /* end confdefs.h. */
20633 $ac_includes_default
20637 if ((long long *) 0)
20639 if (sizeof (long long))
20645 rm -f conftest.
$ac_objext
20646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20647 (eval $ac_compile) 2>conftest.er1
20649 grep -v '^ *+' conftest.er1
>conftest.err
20651 cat conftest.err
>&5
20652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653 (exit $ac_status); } &&
20654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20656 (eval $ac_try) 2>&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); }; } &&
20660 { ac_try
='test -s conftest.$ac_objext'
20661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20662 (eval $ac_try) 2>&5
20664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20665 (exit $ac_status); }; }; then
20666 ac_cv_type_long_long
=yes
20668 echo "$as_me: failed program was:" >&5
20669 sed 's/^/| /' conftest.
$ac_ext >&5
20671 ac_cv_type_long_long
=no
20673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20675 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20676 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20678 echo "$as_me:$LINENO: checking size of long long" >&5
20679 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20680 if test "${ac_cv_sizeof_long_long+set}" = set; then
20681 echo $ECHO_N "(cached) $ECHO_C" >&6
20683 if test "$ac_cv_type_long_long" = yes; then
20684 # The cast to unsigned long works around a bug in the HP C Compiler
20685 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20686 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20687 # This bug is HP SR number 8606223364.
20688 if test "$cross_compiling" = yes; then
20689 # Depending upon the size, compute the lo and hi bounds.
20690 cat >conftest.
$ac_ext <<_ACEOF
20693 cat confdefs.h
>>conftest.
$ac_ext
20694 cat >>conftest.
$ac_ext <<_ACEOF
20695 /* end confdefs.h. */
20696 $ac_includes_default
20700 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20707 rm -f conftest.
$ac_objext
20708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20709 (eval $ac_compile) 2>conftest.er1
20711 grep -v '^ *+' conftest.er1
>conftest.err
20713 cat conftest.err
>&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); } &&
20716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20718 (eval $ac_try) 2>&5
20720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721 (exit $ac_status); }; } &&
20722 { ac_try
='test -s conftest.$ac_objext'
20723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20724 (eval $ac_try) 2>&5
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); }; }; then
20730 cat >conftest.
$ac_ext <<_ACEOF
20733 cat confdefs.h
>>conftest.
$ac_ext
20734 cat >>conftest.
$ac_ext <<_ACEOF
20735 /* end confdefs.h. */
20736 $ac_includes_default
20740 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20747 rm -f conftest.
$ac_objext
20748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20749 (eval $ac_compile) 2>conftest.er1
20751 grep -v '^ *+' conftest.er1
>conftest.err
20753 cat conftest.err
>&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); } &&
20756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20758 (eval $ac_try) 2>&5
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; } &&
20762 { ac_try
='test -s conftest.$ac_objext'
20763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764 (eval $ac_try) 2>&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; }; then
20768 ac_hi
=$ac_mid; break
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.
$ac_ext >&5
20773 ac_lo
=`expr $ac_mid + 1`
20774 if test $ac_lo -le $ac_mid; then
20778 ac_mid
=`expr 2 '*' $ac_mid + 1`
20780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20783 echo "$as_me: failed program was:" >&5
20784 sed 's/^/| /' conftest.
$ac_ext >&5
20786 cat >conftest.
$ac_ext <<_ACEOF
20789 cat confdefs.h
>>conftest.
$ac_ext
20790 cat >>conftest.
$ac_ext <<_ACEOF
20791 /* end confdefs.h. */
20792 $ac_includes_default
20796 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20803 rm -f conftest.
$ac_objext
20804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20805 (eval $ac_compile) 2>conftest.er1
20807 grep -v '^ *+' conftest.er1
>conftest.err
20809 cat conftest.err
>&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } &&
20812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; } &&
20818 { ac_try
='test -s conftest.$ac_objext'
20819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20820 (eval $ac_try) 2>&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); }; }; then
20826 cat >conftest.
$ac_ext <<_ACEOF
20829 cat confdefs.h
>>conftest.
$ac_ext
20830 cat >>conftest.
$ac_ext <<_ACEOF
20831 /* end confdefs.h. */
20832 $ac_includes_default
20836 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20843 rm -f conftest.
$ac_objext
20844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20845 (eval $ac_compile) 2>conftest.er1
20847 grep -v '^ *+' conftest.er1
>conftest.err
20849 cat conftest.err
>&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } &&
20852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20854 (eval $ac_try) 2>&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); }; } &&
20858 { ac_try
='test -s conftest.$ac_objext'
20859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20860 (eval $ac_try) 2>&5
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); }; }; then
20864 ac_lo
=$ac_mid; break
20866 echo "$as_me: failed program was:" >&5
20867 sed 's/^/| /' conftest.
$ac_ext >&5
20869 ac_hi
=`expr '(' $ac_mid ')' - 1`
20870 if test $ac_mid -le $ac_hi; then
20874 ac_mid
=`expr 2 '*' $ac_mid`
20876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20879 echo "$as_me: failed program was:" >&5
20880 sed 's/^/| /' conftest.
$ac_ext >&5
20884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20887 # Binary search between lo and hi bounds.
20888 while test "x$ac_lo" != "x$ac_hi"; do
20889 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20890 cat >conftest.
$ac_ext <<_ACEOF
20893 cat confdefs.h
>>conftest.
$ac_ext
20894 cat >>conftest.
$ac_ext <<_ACEOF
20895 /* end confdefs.h. */
20896 $ac_includes_default
20900 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20907 rm -f conftest.
$ac_objext
20908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20909 (eval $ac_compile) 2>conftest.er1
20911 grep -v '^ *+' conftest.er1
>conftest.err
20913 cat conftest.err
>&5
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); } &&
20916 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20918 (eval $ac_try) 2>&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); }; } &&
20922 { ac_try
='test -s conftest.$ac_objext'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; }; then
20930 echo "$as_me: failed program was:" >&5
20931 sed 's/^/| /' conftest.
$ac_ext >&5
20933 ac_lo
=`expr '(' $ac_mid ')' + 1`
20935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20938 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20939 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20940 See \`config.log' for more details." >&5
20941 echo "$as_me: error: cannot compute sizeof (long long), 77
20942 See \`config.log' for more details." >&2;}
20943 { (exit 1); exit 1; }; } ;;
20946 if test "$cross_compiling" = yes; then
20947 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20948 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20949 { (exit 1); exit 1; }; }
20951 cat >conftest.
$ac_ext <<_ACEOF
20954 cat confdefs.h
>>conftest.
$ac_ext
20955 cat >>conftest.
$ac_ext <<_ACEOF
20956 /* end confdefs.h. */
20957 $ac_includes_default
20958 long longval () { return (long) (sizeof (long long)); }
20959 unsigned long ulongval () { return (long) (sizeof (long long)); }
20961 #include <stdlib.h>
20966 FILE *f = fopen ("conftest.val", "w");
20969 if (((long) (sizeof (long long))) < 0)
20971 long i = longval ();
20972 if (i != ((long) (sizeof (long long))))
20974 fprintf (f, "%ld\n", i);
20978 unsigned long i = ulongval ();
20979 if (i != ((long) (sizeof (long long))))
20981 fprintf (f, "%lu\n", i);
20983 exit (ferror (f) || fclose (f) != 0);
20989 rm -f conftest
$ac_exeext
20990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20991 (eval $ac_link) 2>&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20996 (eval $ac_try) 2>&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); }; }; then
21000 ac_cv_sizeof_long_long
=`cat conftest.val`
21002 echo "$as_me: program exited with status $ac_status" >&5
21003 echo "$as_me: failed program was:" >&5
21004 sed 's/^/| /' conftest.
$ac_ext >&5
21006 ( exit $ac_status )
21007 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21008 See \`config.log' for more details." >&5
21009 echo "$as_me: error: cannot compute sizeof (long long), 77
21010 See \`config.log' for more details." >&2;}
21011 { (exit 1); exit 1; }; }
21013 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21018 ac_cv_sizeof_long_long
=0
21021 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21022 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21023 cat >>confdefs.h
<<_ACEOF
21024 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21030 echo "$as_me:$LINENO: checking for wchar_t" >&5
21031 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21032 if test "${ac_cv_type_wchar_t+set}" = set; then
21033 echo $ECHO_N "(cached) $ECHO_C" >&6
21035 cat >conftest.
$ac_ext <<_ACEOF
21038 cat confdefs.h
>>conftest.
$ac_ext
21039 cat >>conftest.
$ac_ext <<_ACEOF
21040 /* end confdefs.h. */
21042 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21043 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21044 # error "fake wchar_t"
21046 #ifdef HAVE_WCHAR_H
21048 # include <stddef.h>
21050 # include <wchar.h>
21052 #ifdef HAVE_STDLIB_H
21053 # include <stdlib.h>
21064 if (sizeof (wchar_t))
21070 rm -f conftest.
$ac_objext
21071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21072 (eval $ac_compile) 2>conftest.er1
21074 grep -v '^ *+' conftest.er1
>conftest.err
21076 cat conftest.err
>&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); } &&
21079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081 (eval $ac_try) 2>&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; } &&
21085 { ac_try
='test -s conftest.$ac_objext'
21086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087 (eval $ac_try) 2>&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); }; }; then
21091 ac_cv_type_wchar_t
=yes
21093 echo "$as_me: failed program was:" >&5
21094 sed 's/^/| /' conftest.
$ac_ext >&5
21096 ac_cv_type_wchar_t
=no
21098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21100 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21101 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21103 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21104 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21105 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21106 echo $ECHO_N "(cached) $ECHO_C" >&6
21108 if test "$ac_cv_type_wchar_t" = yes; then
21109 # The cast to unsigned long works around a bug in the HP C Compiler
21110 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21111 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21112 # This bug is HP SR number 8606223364.
21113 if test "$cross_compiling" = yes; then
21114 # Depending upon the size, compute the lo and hi bounds.
21115 cat >conftest.
$ac_ext <<_ACEOF
21118 cat confdefs.h
>>conftest.
$ac_ext
21119 cat >>conftest.
$ac_ext <<_ACEOF
21120 /* end confdefs.h. */
21122 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21123 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21124 # error "fake wchar_t"
21126 #ifdef HAVE_WCHAR_H
21128 # include <stddef.h>
21130 # include <wchar.h>
21132 #ifdef HAVE_STDLIB_H
21133 # include <stdlib.h>
21142 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21149 rm -f conftest.
$ac_objext
21150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21151 (eval $ac_compile) 2>conftest.er1
21153 grep -v '^ *+' conftest.er1
>conftest.err
21155 cat conftest.err
>&5
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); } &&
21158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; } &&
21164 { ac_try
='test -s conftest.$ac_objext'
21165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21166 (eval $ac_try) 2>&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; }; then
21172 cat >conftest.
$ac_ext <<_ACEOF
21175 cat confdefs.h
>>conftest.
$ac_ext
21176 cat >>conftest.
$ac_ext <<_ACEOF
21177 /* end confdefs.h. */
21179 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21180 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21181 # error "fake wchar_t"
21183 #ifdef HAVE_WCHAR_H
21185 # include <stddef.h>
21187 # include <wchar.h>
21189 #ifdef HAVE_STDLIB_H
21190 # include <stdlib.h>
21199 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21206 rm -f conftest.
$ac_objext
21207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21208 (eval $ac_compile) 2>conftest.er1
21210 grep -v '^ *+' conftest.er1
>conftest.err
21212 cat conftest.err
>&5
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); } &&
21215 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21217 (eval $ac_try) 2>&5
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); }; } &&
21221 { ac_try
='test -s conftest.$ac_objext'
21222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21223 (eval $ac_try) 2>&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); }; }; then
21227 ac_hi
=$ac_mid; break
21229 echo "$as_me: failed program was:" >&5
21230 sed 's/^/| /' conftest.
$ac_ext >&5
21232 ac_lo
=`expr $ac_mid + 1`
21233 if test $ac_lo -le $ac_mid; then
21237 ac_mid
=`expr 2 '*' $ac_mid + 1`
21239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21242 echo "$as_me: failed program was:" >&5
21243 sed 's/^/| /' conftest.
$ac_ext >&5
21245 cat >conftest.
$ac_ext <<_ACEOF
21248 cat confdefs.h
>>conftest.
$ac_ext
21249 cat >>conftest.
$ac_ext <<_ACEOF
21250 /* end confdefs.h. */
21252 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21253 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21254 # error "fake wchar_t"
21256 #ifdef HAVE_WCHAR_H
21258 # include <stddef.h>
21260 # include <wchar.h>
21262 #ifdef HAVE_STDLIB_H
21263 # include <stdlib.h>
21272 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21279 rm -f conftest.
$ac_objext
21280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21281 (eval $ac_compile) 2>conftest.er1
21283 grep -v '^ *+' conftest.er1
>conftest.err
21285 cat conftest.err
>&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); } &&
21288 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21290 (eval $ac_try) 2>&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); }; } &&
21294 { ac_try
='test -s conftest.$ac_objext'
21295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21296 (eval $ac_try) 2>&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); }; }; then
21302 cat >conftest.
$ac_ext <<_ACEOF
21305 cat confdefs.h
>>conftest.
$ac_ext
21306 cat >>conftest.
$ac_ext <<_ACEOF
21307 /* end confdefs.h. */
21309 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21310 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21311 # error "fake wchar_t"
21313 #ifdef HAVE_WCHAR_H
21315 # include <stddef.h>
21317 # include <wchar.h>
21319 #ifdef HAVE_STDLIB_H
21320 # include <stdlib.h>
21329 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21336 rm -f conftest.
$ac_objext
21337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21338 (eval $ac_compile) 2>conftest.er1
21340 grep -v '^ *+' conftest.er1
>conftest.err
21342 cat conftest.err
>&5
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); } &&
21345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347 (eval $ac_try) 2>&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); }; } &&
21351 { ac_try
='test -s conftest.$ac_objext'
21352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21353 (eval $ac_try) 2>&5
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); }; }; then
21357 ac_lo
=$ac_mid; break
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.
$ac_ext >&5
21362 ac_hi
=`expr '(' $ac_mid ')' - 1`
21363 if test $ac_mid -le $ac_hi; then
21367 ac_mid
=`expr 2 '*' $ac_mid`
21369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.
$ac_ext >&5
21377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21380 # Binary search between lo and hi bounds.
21381 while test "x$ac_lo" != "x$ac_hi"; do
21382 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21383 cat >conftest.
$ac_ext <<_ACEOF
21386 cat confdefs.h
>>conftest.
$ac_ext
21387 cat >>conftest.
$ac_ext <<_ACEOF
21388 /* end confdefs.h. */
21390 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21391 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21392 # error "fake wchar_t"
21394 #ifdef HAVE_WCHAR_H
21396 # include <stddef.h>
21398 # include <wchar.h>
21400 #ifdef HAVE_STDLIB_H
21401 # include <stdlib.h>
21410 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21417 rm -f conftest.
$ac_objext
21418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21419 (eval $ac_compile) 2>conftest.er1
21421 grep -v '^ *+' conftest.er1
>conftest.err
21423 cat conftest.err
>&5
21424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21425 (exit $ac_status); } &&
21426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21428 (eval $ac_try) 2>&5
21430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431 (exit $ac_status); }; } &&
21432 { ac_try
='test -s conftest.$ac_objext'
21433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21434 (eval $ac_try) 2>&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); }; }; then
21440 echo "$as_me: failed program was:" >&5
21441 sed 's/^/| /' conftest.
$ac_ext >&5
21443 ac_lo
=`expr '(' $ac_mid ')' + 1`
21445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21448 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21449 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21450 See \`config.log' for more details." >&5
21451 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21452 See \`config.log' for more details." >&2;}
21453 { (exit 1); exit 1; }; } ;;
21456 if test "$cross_compiling" = yes; then
21457 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21458 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21459 { (exit 1); exit 1; }; }
21461 cat >conftest.
$ac_ext <<_ACEOF
21464 cat confdefs.h
>>conftest.
$ac_ext
21465 cat >>conftest.
$ac_ext <<_ACEOF
21466 /* end confdefs.h. */
21468 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21469 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21470 # error "fake wchar_t"
21472 #ifdef HAVE_WCHAR_H
21474 # include <stddef.h>
21476 # include <wchar.h>
21478 #ifdef HAVE_STDLIB_H
21479 # include <stdlib.h>
21485 long longval () { return (long) (sizeof (wchar_t)); }
21486 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21488 #include <stdlib.h>
21493 FILE *f = fopen ("conftest.val", "w");
21496 if (((long) (sizeof (wchar_t))) < 0)
21498 long i = longval ();
21499 if (i != ((long) (sizeof (wchar_t))))
21501 fprintf (f, "%ld\n", i);
21505 unsigned long i = ulongval ();
21506 if (i != ((long) (sizeof (wchar_t))))
21508 fprintf (f, "%lu\n", i);
21510 exit (ferror (f) || fclose (f) != 0);
21516 rm -f conftest
$ac_exeext
21517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21518 (eval $ac_link) 2>&5
21520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21521 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21523 (eval $ac_try) 2>&5
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); }; }; then
21527 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21529 echo "$as_me: program exited with status $ac_status" >&5
21530 echo "$as_me: failed program was:" >&5
21531 sed 's/^/| /' conftest.
$ac_ext >&5
21533 ( exit $ac_status )
21534 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21535 See \`config.log' for more details." >&5
21536 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21537 See \`config.log' for more details." >&2;}
21538 { (exit 1); exit 1; }; }
21540 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21545 ac_cv_sizeof_wchar_t
=0
21548 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21549 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21550 cat >>confdefs.h
<<_ACEOF
21551 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21555 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21561 echo "$as_me:$LINENO: checking for va_copy" >&5
21562 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21563 if test "${wx_cv_func_va_copy+set}" = set; then
21564 echo $ECHO_N "(cached) $ECHO_C" >&6
21567 cat >conftest.
$ac_ext <<_ACEOF
21569 #include <stdarg.h>
21570 void foo(char *f, ...)
21584 rm -f conftest.
$ac_objext conftest
$ac_exeext
21585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21586 (eval $ac_link) 2>conftest.er1
21588 grep -v '^ *+' conftest.er1
>conftest.err
21590 cat conftest.err
>&5
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); } &&
21593 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; } &&
21599 { ac_try
='test -s conftest$ac_exeext'
21600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21601 (eval $ac_try) 2>&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); }; }; then
21605 wx_cv_func_va_copy
=yes
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.
$ac_ext >&5
21610 wx_cv_func_va_copy
=no
21613 rm -f conftest.err conftest.
$ac_objext \
21614 conftest
$ac_exeext conftest.
$ac_ext
21618 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21619 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21621 if test $wx_cv_func_va_copy = "yes"; then
21622 cat >>confdefs.h
<<\_ACEOF
21623 #define HAVE_VA_COPY 1
21627 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21628 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21629 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21630 echo $ECHO_N "(cached) $ECHO_C" >&6
21633 if test "$cross_compiling" = yes; then
21634 wx_cv_type_va_list_lvalue
=yes
21637 cat >conftest.
$ac_ext <<_ACEOF
21639 #include <stdarg.h>
21640 int foo(char *f, ...)
21645 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21653 return foo("hi", 17);
21656 rm -f conftest
$ac_exeext
21657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21658 (eval $ac_link) 2>&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21663 (eval $ac_try) 2>&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); }; }; then
21667 wx_cv_type_va_list_lvalue
=yes
21669 echo "$as_me: program exited with status $ac_status" >&5
21670 echo "$as_me: failed program was:" >&5
21671 sed 's/^/| /' conftest.
$ac_ext >&5
21673 ( exit $ac_status )
21674 wx_cv_type_va_list_lvalue
=no
21676 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21681 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21682 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21684 if test $wx_cv_type_va_list_lvalue != "yes"; then
21685 cat >>confdefs.h
<<\_ACEOF
21686 #define VA_LIST_IS_ARRAY 1
21692 if test "$wxUSE_VARARG_MACROS" = "yes"; then
21694 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21695 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21696 if test "${wx_cv_have_variadic_macros+set}" = set; then
21697 echo $ECHO_N "(cached) $ECHO_C" >&6
21701 ac_cpp
='$CXXCPP $CPPFLAGS'
21702 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21703 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21704 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21706 cat >conftest.
$ac_ext <<_ACEOF
21709 cat confdefs.h
>>conftest.
$ac_ext
21710 cat >>conftest.
$ac_ext <<_ACEOF
21711 /* end confdefs.h. */
21714 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21720 test("%s %d %p", "test", 1, 0);
21727 rm -f conftest.
$ac_objext
21728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21729 (eval $ac_compile) 2>conftest.er1
21731 grep -v '^ *+' conftest.er1
>conftest.err
21733 cat conftest.err
>&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } &&
21736 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21738 (eval $ac_try) 2>&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); }; } &&
21742 { ac_try
='test -s conftest.$ac_objext'
21743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21744 (eval $ac_try) 2>&5
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); }; }; then
21748 wx_cv_have_variadic_macros
=yes
21750 echo "$as_me: failed program was:" >&5
21751 sed 's/^/| /' conftest.
$ac_ext >&5
21753 wx_cv_have_variadic_macros
=no
21756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21758 ac_cpp
='$CPP $CPPFLAGS'
21759 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21760 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21761 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21766 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21767 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21769 if test $wx_cv_have_variadic_macros = "yes"; then
21770 cat >>confdefs.h
<<\_ACEOF
21771 #define HAVE_VARIADIC_MACROS 1
21777 # Check whether --enable-largefile or --disable-largefile was given.
21778 if test "${enable_largefile+set}" = set; then
21779 enableval
="$enable_largefile"
21782 if test "$enable_largefile" != no
; then
21785 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21786 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21787 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21788 echo $ECHO_N "(cached) $ECHO_C" >&6
21791 cat >conftest.
$ac_ext <<_ACEOF
21794 cat confdefs.h
>>conftest.
$ac_ext
21795 cat >>conftest.
$ac_ext <<_ACEOF
21796 /* end confdefs.h. */
21797 #define _FILE_OFFSET_BITS 64
21798 #include <sys/types.h>
21803 unsigned int field: sizeof(off_t) == 8;
21810 rm -f conftest.
$ac_objext
21811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21812 (eval $ac_compile) 2>conftest.er1
21814 grep -v '^ *+' conftest.er1
>conftest.err
21816 cat conftest.err
>&5
21817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818 (exit $ac_status); } &&
21819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21821 (eval $ac_try) 2>&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); }; } &&
21825 { ac_try
='test -s conftest.$ac_objext'
21826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21827 (eval $ac_try) 2>&5
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); }; }; then
21831 ac_cv_sys_file_offset_bits
=64
21833 echo "$as_me: failed program was:" >&5
21834 sed 's/^/| /' conftest.
$ac_ext >&5
21836 ac_cv_sys_file_offset_bits
=no
21838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21842 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21843 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21845 if test "$ac_cv_sys_file_offset_bits" != no
; then
21847 cat >>confdefs.h
<<_ACEOF
21848 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21853 if test "x$wx_largefile" != "xyes"; then
21855 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21856 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21857 if test "${ac_cv_sys_large_files+set}" = set; then
21858 echo $ECHO_N "(cached) $ECHO_C" >&6
21861 cat >conftest.
$ac_ext <<_ACEOF
21864 cat confdefs.h
>>conftest.
$ac_ext
21865 cat >>conftest.
$ac_ext <<_ACEOF
21866 /* end confdefs.h. */
21867 #define _LARGE_FILES 1
21868 #include <sys/types.h>
21873 unsigned int field: sizeof(off_t) == 8;
21880 rm -f conftest.
$ac_objext
21881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21882 (eval $ac_compile) 2>conftest.er1
21884 grep -v '^ *+' conftest.er1
>conftest.err
21886 cat conftest.err
>&5
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); } &&
21889 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21891 (eval $ac_try) 2>&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); }; } &&
21895 { ac_try
='test -s conftest.$ac_objext'
21896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21897 (eval $ac_try) 2>&5
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); }; }; then
21901 ac_cv_sys_large_files
=1
21903 echo "$as_me: failed program was:" >&5
21904 sed 's/^/| /' conftest.
$ac_ext >&5
21906 ac_cv_sys_large_files
=no
21908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21912 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21913 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21915 if test "$ac_cv_sys_large_files" != no
; then
21917 cat >>confdefs.h
<<_ACEOF
21918 #define _LARGE_FILES $ac_cv_sys_large_files
21925 echo "$as_me:$LINENO: checking if large file support is available" >&5
21926 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21927 if test "x$wx_largefile" = "xyes"; then
21928 cat >>confdefs.h
<<\_ACEOF
21929 #define HAVE_LARGEFILE_SUPPORT 1
21933 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21934 echo "${ECHO_T}$wx_largefile" >&6
21938 if test "x$wx_largefile" = "xyes"; then
21939 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21940 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21942 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21943 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21944 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21945 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21946 echo $ECHO_N "(cached) $ECHO_C" >&6
21950 ac_cpp
='$CXXCPP $CPPFLAGS'
21951 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21952 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21953 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21955 cat >conftest.
$ac_ext <<_ACEOF
21958 cat confdefs.h
>>conftest.
$ac_ext
21959 cat >>conftest.
$ac_ext <<_ACEOF
21960 /* end confdefs.h. */
21966 #ifndef __STDC_EXT__
21974 rm -f conftest.
$ac_objext
21975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21976 (eval $ac_compile) 2>conftest.er1
21978 grep -v '^ *+' conftest.er1
>conftest.err
21980 cat conftest.err
>&5
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); } &&
21983 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21985 (eval $ac_try) 2>&5
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); }; } &&
21989 { ac_try
='test -s conftest.$ac_objext'
21990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21991 (eval $ac_try) 2>&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); }; }; then
21995 wx_cv_STDC_EXT_required
=no
21997 echo "$as_me: failed program was:" >&5
21998 sed 's/^/| /' conftest.
$ac_ext >&5
22000 wx_cv_STDC_EXT_required
=yes
22003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22005 ac_cpp
='$CPP $CPPFLAGS'
22006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22013 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22014 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22015 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22016 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22020 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22022 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22023 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22024 if test "${ac_cv_sys_largefile_source+set}" = set; then
22025 echo $ECHO_N "(cached) $ECHO_C" >&6
22028 ac_cv_sys_largefile_source
=no
22029 cat >conftest.
$ac_ext <<_ACEOF
22032 cat confdefs.h
>>conftest.
$ac_ext
22033 cat >>conftest.
$ac_ext <<_ACEOF
22034 /* end confdefs.h. */
22044 rm -f conftest.
$ac_objext
22045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22046 (eval $ac_compile) 2>conftest.er1
22048 grep -v '^ *+' conftest.er1
>conftest.err
22050 cat conftest.err
>&5
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); } &&
22053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22055 (eval $ac_try) 2>&5
22057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058 (exit $ac_status); }; } &&
22059 { ac_try
='test -s conftest.$ac_objext'
22060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22061 (eval $ac_try) 2>&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); }; }; then
22067 echo "$as_me: failed program was:" >&5
22068 sed 's/^/| /' conftest.
$ac_ext >&5
22071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22072 cat >conftest.
$ac_ext <<_ACEOF
22075 cat confdefs.h
>>conftest.
$ac_ext
22076 cat >>conftest.
$ac_ext <<_ACEOF
22077 /* end confdefs.h. */
22078 #define _LARGEFILE_SOURCE 1
22088 rm -f conftest.
$ac_objext
22089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22090 (eval $ac_compile) 2>conftest.er1
22092 grep -v '^ *+' conftest.er1
>conftest.err
22094 cat conftest.err
>&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); } &&
22097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22099 (eval $ac_try) 2>&5
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); }; } &&
22103 { ac_try
='test -s conftest.$ac_objext'
22104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22105 (eval $ac_try) 2>&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); }; }; then
22109 ac_cv_sys_largefile_source
=1; break
22111 echo "$as_me: failed program was:" >&5
22112 sed 's/^/| /' conftest.
$ac_ext >&5
22115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22119 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22120 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22121 if test "$ac_cv_sys_largefile_source" != no
; then
22123 cat >>confdefs.h
<<_ACEOF
22124 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22130 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22131 # in glibc 2.1.3, but that breaks too many other things.
22132 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22133 echo "$as_me:$LINENO: checking for fseeko" >&5
22134 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22135 if test "${ac_cv_func_fseeko+set}" = set; then
22136 echo $ECHO_N "(cached) $ECHO_C" >&6
22138 cat >conftest.
$ac_ext <<_ACEOF
22141 cat confdefs.h
>>conftest.
$ac_ext
22142 cat >>conftest.
$ac_ext <<_ACEOF
22143 /* end confdefs.h. */
22148 return fseeko && fseeko (stdin, 0, 0);
22153 rm -f conftest.
$ac_objext conftest
$ac_exeext
22154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22155 (eval $ac_link) 2>conftest.er1
22157 grep -v '^ *+' conftest.er1
>conftest.err
22159 cat conftest.err
>&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); } &&
22162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22164 (eval $ac_try) 2>&5
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); }; } &&
22168 { ac_try
='test -s conftest$ac_exeext'
22169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22170 (eval $ac_try) 2>&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); }; }; then
22174 ac_cv_func_fseeko
=yes
22176 echo "$as_me: failed program was:" >&5
22177 sed 's/^/| /' conftest.
$ac_ext >&5
22179 ac_cv_func_fseeko
=no
22181 rm -f conftest.err conftest.
$ac_objext \
22182 conftest
$ac_exeext conftest.
$ac_ext
22184 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22185 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22186 if test $ac_cv_func_fseeko = yes; then
22188 cat >>confdefs.h
<<\_ACEOF
22189 #define HAVE_FSEEKO 1
22194 if test "$ac_cv_sys_largefile_source" != no
; then
22195 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22199 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22200 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22201 if test "${ac_cv_c_bigendian+set}" = set; then
22202 echo $ECHO_N "(cached) $ECHO_C" >&6
22204 ac_cv_c_bigendian
=unknown
22205 # See if sys/param.h defines the BYTE_ORDER macro.
22206 cat >conftest.
$ac_ext <<_ACEOF
22209 cat confdefs.h
>>conftest.
$ac_ext
22210 cat >>conftest.
$ac_ext <<_ACEOF
22211 /* end confdefs.h. */
22212 #include <sys/types.h>
22213 #include <sys/param.h>
22218 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22219 bogus endian macros
22225 rm -f conftest.
$ac_objext
22226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22227 (eval $ac_compile) 2>conftest.er1
22229 grep -v '^ *+' conftest.er1
>conftest.err
22231 cat conftest.err
>&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); } &&
22234 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22236 (eval $ac_try) 2>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); }; } &&
22240 { ac_try
='test -s conftest.$ac_objext'
22241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22242 (eval $ac_try) 2>&5
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; }; then
22246 # It does; now see whether it defined to BIG_ENDIAN or not.
22247 cat >conftest.
$ac_ext <<_ACEOF
22250 cat confdefs.h
>>conftest.
$ac_ext
22251 cat >>conftest.
$ac_ext <<_ACEOF
22252 /* end confdefs.h. */
22253 #include <sys/types.h>
22254 #include <sys/param.h>
22259 #if BYTE_ORDER != BIG_ENDIAN
22266 rm -f conftest.
$ac_objext
22267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22268 (eval $ac_compile) 2>conftest.er1
22270 grep -v '^ *+' conftest.er1
>conftest.err
22272 cat conftest.err
>&5
22273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274 (exit $ac_status); } &&
22275 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22277 (eval $ac_try) 2>&5
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); }; } &&
22281 { ac_try
='test -s conftest.$ac_objext'
22282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22283 (eval $ac_try) 2>&5
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); }; }; then
22287 ac_cv_c_bigendian
=yes
22289 echo "$as_me: failed program was:" >&5
22290 sed 's/^/| /' conftest.
$ac_ext >&5
22292 ac_cv_c_bigendian
=no
22294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22296 echo "$as_me: failed program was:" >&5
22297 sed 's/^/| /' conftest.
$ac_ext >&5
22300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22301 if test $ac_cv_c_bigendian = unknown
; then
22302 if test "$cross_compiling" = yes; then
22303 ac_cv_c_bigendian
=unknown
22305 cat >conftest.
$ac_ext <<_ACEOF
22308 cat confdefs.h
>>conftest.
$ac_ext
22309 cat >>conftest.
$ac_ext <<_ACEOF
22310 /* end confdefs.h. */
22312 /* Are we little or big endian? From Harbison&Steele. */
22316 char c[sizeof (long)];
22319 exit (u.c[sizeof (long) - 1] == 1);
22322 rm -f conftest
$ac_exeext
22323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22324 (eval $ac_link) 2>&5
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22329 (eval $ac_try) 2>&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; }; then
22333 ac_cv_c_bigendian
=no
22335 echo "$as_me: program exited with status $ac_status" >&5
22336 echo "$as_me: failed program was:" >&5
22337 sed 's/^/| /' conftest.
$ac_ext >&5
22339 ( exit $ac_status )
22340 ac_cv_c_bigendian
=yes
22342 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22346 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22347 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22348 if test $ac_cv_c_bigendian = unknown
; then
22349 { 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
22350 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;}
22352 if test $ac_cv_c_bigendian = yes; then
22353 cat >>confdefs.h
<<\_ACEOF
22354 #define WORDS_BIGENDIAN 1
22361 ac_cpp
='$CXXCPP $CPPFLAGS'
22362 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22363 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22364 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22365 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
22366 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
22367 if test -z "$CXXCPP"; then
22368 if test "${ac_cv_prog_CXXCPP+set}" = set; then
22369 echo $ECHO_N "(cached) $ECHO_C" >&6
22371 # Double quotes because CXXCPP needs to be expanded
22372 for CXXCPP
in "$CXX -E" "/lib/cpp"
22374 ac_preproc_ok
=false
22375 for ac_cxx_preproc_warn_flag
in '' yes
22377 # Use a header file that comes with gcc, so configuring glibc
22378 # with a fresh cross-compiler works.
22379 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22380 # <limits.h> exists even on freestanding compilers.
22381 # On the NeXT, cc -E runs the code through the compiler's parser,
22382 # not just through cpp. "Syntax error" is here to catch this case.
22383 cat >conftest.
$ac_ext <<_ACEOF
22386 cat confdefs.h
>>conftest.
$ac_ext
22387 cat >>conftest.
$ac_ext <<_ACEOF
22388 /* end confdefs.h. */
22390 # include <limits.h>
22392 # include <assert.h>
22396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22397 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22399 grep -v '^ *+' conftest.er1
>conftest.err
22401 cat conftest.err
>&5
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); } >/dev
/null
; then
22404 if test -s conftest.err
; then
22405 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22406 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22413 if test -z "$ac_cpp_err"; then
22416 echo "$as_me: failed program was:" >&5
22417 sed 's/^/| /' conftest.
$ac_ext >&5
22419 # Broken: fails on valid input.
22422 rm -f conftest.err conftest.
$ac_ext
22424 # OK, works on sane cases. Now check whether non-existent headers
22425 # can be detected and how.
22426 cat >conftest.
$ac_ext <<_ACEOF
22429 cat confdefs.h
>>conftest.
$ac_ext
22430 cat >>conftest.
$ac_ext <<_ACEOF
22431 /* end confdefs.h. */
22432 #include <ac_nonexistent.h>
22434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22435 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22437 grep -v '^ *+' conftest.er1
>conftest.err
22439 cat conftest.err
>&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); } >/dev
/null
; then
22442 if test -s conftest.err
; then
22443 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22444 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22451 if test -z "$ac_cpp_err"; then
22452 # Broken: success on invalid input.
22455 echo "$as_me: failed program was:" >&5
22456 sed 's/^/| /' conftest.
$ac_ext >&5
22458 # Passes both tests.
22462 rm -f conftest.err conftest.
$ac_ext
22465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22466 rm -f conftest.err conftest.
$ac_ext
22467 if $ac_preproc_ok; then
22472 ac_cv_prog_CXXCPP
=$CXXCPP
22475 CXXCPP
=$ac_cv_prog_CXXCPP
22477 ac_cv_prog_CXXCPP
=$CXXCPP
22479 echo "$as_me:$LINENO: result: $CXXCPP" >&5
22480 echo "${ECHO_T}$CXXCPP" >&6
22481 ac_preproc_ok
=false
22482 for ac_cxx_preproc_warn_flag
in '' yes
22484 # Use a header file that comes with gcc, so configuring glibc
22485 # with a fresh cross-compiler works.
22486 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22487 # <limits.h> exists even on freestanding compilers.
22488 # On the NeXT, cc -E runs the code through the compiler's parser,
22489 # not just through cpp. "Syntax error" is here to catch this case.
22490 cat >conftest.
$ac_ext <<_ACEOF
22493 cat confdefs.h
>>conftest.
$ac_ext
22494 cat >>conftest.
$ac_ext <<_ACEOF
22495 /* end confdefs.h. */
22497 # include <limits.h>
22499 # include <assert.h>
22503 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22504 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22506 grep -v '^ *+' conftest.er1
>conftest.err
22508 cat conftest.err
>&5
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); } >/dev
/null
; then
22511 if test -s conftest.err
; then
22512 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22513 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22520 if test -z "$ac_cpp_err"; then
22523 echo "$as_me: failed program was:" >&5
22524 sed 's/^/| /' conftest.
$ac_ext >&5
22526 # Broken: fails on valid input.
22529 rm -f conftest.err conftest.
$ac_ext
22531 # OK, works on sane cases. Now check whether non-existent headers
22532 # can be detected and how.
22533 cat >conftest.
$ac_ext <<_ACEOF
22536 cat confdefs.h
>>conftest.
$ac_ext
22537 cat >>conftest.
$ac_ext <<_ACEOF
22538 /* end confdefs.h. */
22539 #include <ac_nonexistent.h>
22541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22542 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22544 grep -v '^ *+' conftest.er1
>conftest.err
22546 cat conftest.err
>&5
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); } >/dev
/null
; then
22549 if test -s conftest.err
; then
22550 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22551 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22558 if test -z "$ac_cpp_err"; then
22559 # Broken: success on invalid input.
22562 echo "$as_me: failed program was:" >&5
22563 sed 's/^/| /' conftest.
$ac_ext >&5
22565 # Passes both tests.
22569 rm -f conftest.err conftest.
$ac_ext
22572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22573 rm -f conftest.err conftest.
$ac_ext
22574 if $ac_preproc_ok; then
22577 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22578 See \`config.log' for more details." >&5
22579 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22580 See \`config.log' for more details." >&2;}
22581 { (exit 1); exit 1; }; }
22585 ac_cpp
='$CXXCPP $CPPFLAGS'
22586 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22587 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22588 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22595 ac_cpp
='$CXXCPP $CPPFLAGS'
22596 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22597 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22598 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22602 for ac_header
in iostream
22604 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22606 echo "$as_me:$LINENO: checking for $ac_header" >&5
22607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22609 echo $ECHO_N "(cached) $ECHO_C" >&6
22611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22614 # Is the header compilable?
22615 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22617 cat >conftest.
$ac_ext <<_ACEOF
22620 cat confdefs.h
>>conftest.
$ac_ext
22621 cat >>conftest.
$ac_ext <<_ACEOF
22622 /* end confdefs.h. */
22623 $ac_includes_default
22624 #include <$ac_header>
22626 rm -f conftest.
$ac_objext
22627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22628 (eval $ac_compile) 2>conftest.er1
22630 grep -v '^ *+' conftest.er1
>conftest.err
22632 cat conftest.err
>&5
22633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634 (exit $ac_status); } &&
22635 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22637 (eval $ac_try) 2>&5
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); }; } &&
22641 { ac_try
='test -s conftest.$ac_objext'
22642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22643 (eval $ac_try) 2>&5
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); }; }; then
22647 ac_header_compiler
=yes
22649 echo "$as_me: failed program was:" >&5
22650 sed 's/^/| /' conftest.
$ac_ext >&5
22652 ac_header_compiler
=no
22654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22655 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22656 echo "${ECHO_T}$ac_header_compiler" >&6
22658 # Is the header present?
22659 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22660 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22661 cat >conftest.
$ac_ext <<_ACEOF
22664 cat confdefs.h
>>conftest.
$ac_ext
22665 cat >>conftest.
$ac_ext <<_ACEOF
22666 /* end confdefs.h. */
22667 #include <$ac_header>
22669 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22670 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22672 grep -v '^ *+' conftest.er1
>conftest.err
22674 cat conftest.err
>&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); } >/dev
/null
; then
22677 if test -s conftest.err
; then
22678 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22679 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22686 if test -z "$ac_cpp_err"; then
22687 ac_header_preproc
=yes
22689 echo "$as_me: failed program was:" >&5
22690 sed 's/^/| /' conftest.
$ac_ext >&5
22692 ac_header_preproc
=no
22694 rm -f conftest.err conftest.
$ac_ext
22695 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22696 echo "${ECHO_T}$ac_header_preproc" >&6
22698 # So? What about this header?
22699 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22701 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22702 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22704 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22705 ac_header_preproc
=yes
22708 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22709 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22710 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22711 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22712 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22713 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22714 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22715 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22718 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22719 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22722 ## ----------------------------------------- ##
22723 ## Report this to wx-dev@lists.wxwidgets.org ##
22724 ## ----------------------------------------- ##
22727 sed "s/^/$as_me: WARNING: /" >&2
22730 echo "$as_me:$LINENO: checking for $ac_header" >&5
22731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22733 echo $ECHO_N "(cached) $ECHO_C" >&6
22735 eval "$as_ac_Header=\$ac_header_preproc"
22737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22742 cat >>confdefs.h
<<_ACEOF
22743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22751 if test "$ac_cv_header_iostream" = "yes" ; then
22754 cat >>confdefs.h
<<\_ACEOF
22755 #define wxUSE_IOSTREAMH 1
22761 ac_cpp
='$CPP $CPPFLAGS'
22762 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22763 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22764 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22769 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22770 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22771 if test "${wx_cv_cpp_bool+set}" = set; then
22772 echo $ECHO_N "(cached) $ECHO_C" >&6
22778 ac_cpp
='$CXXCPP $CPPFLAGS'
22779 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22780 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22781 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22784 cat >conftest.
$ac_ext <<_ACEOF
22787 cat confdefs.h
>>conftest.
$ac_ext
22788 cat >>conftest.
$ac_ext <<_ACEOF
22789 /* end confdefs.h. */
22804 rm -f conftest.
$ac_objext
22805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22806 (eval $ac_compile) 2>conftest.er1
22808 grep -v '^ *+' conftest.er1
>conftest.err
22810 cat conftest.err
>&5
22811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812 (exit $ac_status); } &&
22813 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22815 (eval $ac_try) 2>&5
22817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 (exit $ac_status); }; } &&
22819 { ac_try
='test -s conftest.$ac_objext'
22820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22821 (eval $ac_try) 2>&5
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); }; }; then
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.
$ac_ext >&5
22837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22840 ac_cpp
='$CPP $CPPFLAGS'
22841 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22842 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22843 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22847 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22848 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22850 if test "$wx_cv_cpp_bool" = "yes"; then
22851 cat >>confdefs.h
<<\_ACEOF
22852 #define HAVE_BOOL 1
22859 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22860 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22861 if test "${wx_cv_explicit+set}" = set; then
22862 echo $ECHO_N "(cached) $ECHO_C" >&6
22868 ac_cpp
='$CXXCPP $CPPFLAGS'
22869 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22870 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22871 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22874 cat >conftest.
$ac_ext <<_ACEOF
22877 cat confdefs.h
>>conftest.
$ac_ext
22878 cat >>conftest.
$ac_ext <<_ACEOF
22879 /* end confdefs.h. */
22881 class Foo { public: explicit Foo(int) {} };
22893 rm -f conftest.
$ac_objext
22894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22895 (eval $ac_compile) 2>conftest.er1
22897 grep -v '^ *+' conftest.er1
>conftest.err
22899 cat conftest.err
>&5
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); } &&
22902 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22904 (eval $ac_try) 2>&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); }; } &&
22908 { ac_try
='test -s conftest.$ac_objext'
22909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22910 (eval $ac_try) 2>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; }; then
22915 cat >conftest.
$ac_ext <<_ACEOF
22918 cat confdefs.h
>>conftest.
$ac_ext
22919 cat >>conftest.
$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22922 class Foo { public: explicit Foo(int) {} };
22923 static void TakeFoo(const Foo& foo) { }
22936 rm -f conftest.
$ac_objext
22937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22938 (eval $ac_compile) 2>conftest.er1
22940 grep -v '^ *+' conftest.er1
>conftest.err
22942 cat conftest.err
>&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); } &&
22945 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22947 (eval $ac_try) 2>&5
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); }; } &&
22951 { ac_try
='test -s conftest.$ac_objext'
22952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22953 (eval $ac_try) 2>&5
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956 (exit $ac_status); }; }; then
22959 echo "$as_me: failed program was:" >&5
22960 sed 's/^/| /' conftest.
$ac_ext >&5
22965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22968 echo "$as_me: failed program was:" >&5
22969 sed 's/^/| /' conftest.
$ac_ext >&5
22974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22977 ac_cpp
='$CPP $CPPFLAGS'
22978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22984 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22985 echo "${ECHO_T}$wx_cv_explicit" >&6
22987 if test "$wx_cv_explicit" = "yes"; then
22988 cat >>confdefs.h
<<\_ACEOF
22989 #define HAVE_EXPLICIT 1
22995 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22996 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22997 if test "${ac_cv_cxx_const_cast+set}" = set; then
22998 echo $ECHO_N "(cached) $ECHO_C" >&6
23003 ac_cpp
='$CXXCPP $CPPFLAGS'
23004 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23005 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23006 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23008 cat >conftest.
$ac_ext <<_ACEOF
23011 cat confdefs.h
>>conftest.
$ac_ext
23012 cat >>conftest.
$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23018 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23023 rm -f conftest.
$ac_objext
23024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23025 (eval $ac_compile) 2>conftest.er1
23027 grep -v '^ *+' conftest.er1
>conftest.err
23029 cat conftest.err
>&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); } &&
23032 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23034 (eval $ac_try) 2>&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); }; } &&
23038 { ac_try
='test -s conftest.$ac_objext'
23039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23040 (eval $ac_try) 2>&5
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); }; }; then
23044 ac_cv_cxx_const_cast
=yes
23046 echo "$as_me: failed program was:" >&5
23047 sed 's/^/| /' conftest.
$ac_ext >&5
23049 ac_cv_cxx_const_cast
=no
23051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23053 ac_cpp
='$CPP $CPPFLAGS'
23054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23060 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23061 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23062 if test "$ac_cv_cxx_const_cast" = yes; then
23064 cat >>confdefs.h
<<\_ACEOF
23065 #define HAVE_CONST_CAST
23070 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23071 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23072 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23073 echo $ECHO_N "(cached) $ECHO_C" >&6
23078 ac_cpp
='$CXXCPP $CPPFLAGS'
23079 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23080 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23081 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23083 cat >conftest.
$ac_ext <<_ACEOF
23086 cat confdefs.h
>>conftest.
$ac_ext
23087 cat >>conftest.
$ac_ext <<_ACEOF
23088 /* end confdefs.h. */
23089 #include <typeinfo>
23090 class Base { public : Base () {} virtual void f () = 0;};
23091 class Derived : public Base { public : Derived () {} virtual void f () {} };
23092 class Unrelated { public : Unrelated () {} };
23093 int g (Unrelated&) { return 0; }
23098 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23103 rm -f conftest.
$ac_objext
23104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23105 (eval $ac_compile) 2>conftest.er1
23107 grep -v '^ *+' conftest.er1
>conftest.err
23109 cat conftest.err
>&5
23110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111 (exit $ac_status); } &&
23112 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23114 (eval $ac_try) 2>&5
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); }; } &&
23118 { ac_try
='test -s conftest.$ac_objext'
23119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23120 (eval $ac_try) 2>&5
23122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123 (exit $ac_status); }; }; then
23124 ac_cv_cxx_reinterpret_cast
=yes
23126 echo "$as_me: failed program was:" >&5
23127 sed 's/^/| /' conftest.
$ac_ext >&5
23129 ac_cv_cxx_reinterpret_cast
=no
23131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23133 ac_cpp
='$CPP $CPPFLAGS'
23134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23140 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23141 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23142 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23144 cat >>confdefs.h
<<\_ACEOF
23145 #define HAVE_REINTERPRET_CAST
23150 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23151 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23152 if test "${ac_cv_cxx_static_cast+set}" = set; then
23153 echo $ECHO_N "(cached) $ECHO_C" >&6
23158 ac_cpp
='$CXXCPP $CPPFLAGS'
23159 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23160 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23161 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23163 cat >conftest.
$ac_ext <<_ACEOF
23166 cat confdefs.h
>>conftest.
$ac_ext
23167 cat >>conftest.
$ac_ext <<_ACEOF
23168 /* end confdefs.h. */
23169 #include <typeinfo>
23170 class Base { public : Base () {} virtual void f () = 0; };
23171 class Derived : public Base { public : Derived () {} virtual void f () {} };
23172 int g (Derived&) { return 0; }
23177 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23182 rm -f conftest.
$ac_objext
23183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23184 (eval $ac_compile) 2>conftest.er1
23186 grep -v '^ *+' conftest.er1
>conftest.err
23188 cat conftest.err
>&5
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); } &&
23191 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23193 (eval $ac_try) 2>&5
23195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23196 (exit $ac_status); }; } &&
23197 { ac_try
='test -s conftest.$ac_objext'
23198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23199 (eval $ac_try) 2>&5
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); }; }; then
23203 ac_cv_cxx_static_cast
=yes
23205 echo "$as_me: failed program was:" >&5
23206 sed 's/^/| /' conftest.
$ac_ext >&5
23208 ac_cv_cxx_static_cast
=no
23210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23212 ac_cpp
='$CPP $CPPFLAGS'
23213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23219 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23220 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23221 if test "$ac_cv_cxx_static_cast" = yes; then
23223 cat >>confdefs.h
<<\_ACEOF
23224 #define HAVE_STATIC_CAST
23230 if test "x$SUNCXX" = xyes
; then
23231 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23234 if test "x$SUNCC" = xyes
; then
23235 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23238 if test "x$SGICC" = "xyes"; then
23239 CFLAGS
="-woff 3970 $CFLAGS"
23241 if test "x$SGICXX" = "xyes"; then
23242 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23245 if test "x$HPCC" = "xyes"; then
23246 CFLAGS
="+W 2011,2450 $CFLAGS"
23248 if test "x$HPCXX" = "xyes"; then
23249 CXXFLAGS
="+W 2340 $CXXFLAGS"
23252 if test "x$COMPAQCXX" = "xyes"; then
23253 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23257 ac_cpp
='$CXXCPP $CPPFLAGS'
23258 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23259 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23260 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23263 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23264 if test "$wxUSE_UNICODE" = "yes"; then
23265 std_string
="std::wstring"
23266 char_type
="wchar_t"
23268 std_string
="std::string"
23272 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23273 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23274 if test "${wx_cv_class_stdstring+set}" = set; then
23275 echo $ECHO_N "(cached) $ECHO_C" >&6
23278 cat >conftest.
$ac_ext <<_ACEOF
23281 cat confdefs.h
>>conftest.
$ac_ext
23282 cat >>conftest.
$ac_ext <<_ACEOF
23283 /* end confdefs.h. */
23293 rm -f conftest.
$ac_objext
23294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23295 (eval $ac_compile) 2>conftest.er1
23297 grep -v '^ *+' conftest.er1
>conftest.err
23299 cat conftest.err
>&5
23300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); } &&
23302 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23304 (eval $ac_try) 2>&5
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; } &&
23308 { ac_try
='test -s conftest.$ac_objext'
23309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23310 (eval $ac_try) 2>&5
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); }; }; then
23314 wx_cv_class_stdstring
=yes
23316 echo "$as_me: failed program was:" >&5
23317 sed 's/^/| /' conftest.
$ac_ext >&5
23319 wx_cv_class_stdstring
=no
23322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23326 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23327 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
23329 if test "$wx_cv_class_stdstring" = yes; then
23330 if test "$wxUSE_UNICODE" = "yes"; then
23331 cat >>confdefs.h
<<\_ACEOF
23332 #define HAVE_STD_WSTRING 1
23337 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23338 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23339 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23340 echo $ECHO_N "(cached) $ECHO_C" >&6
23343 cat >conftest.
$ac_ext <<_ACEOF
23346 cat confdefs.h
>>conftest.
$ac_ext
23347 cat >>conftest.
$ac_ext <<_ACEOF
23348 /* end confdefs.h. */
23350 #ifdef HAVE_WCHAR_H
23352 # include <stddef.h>
23354 # include <wchar.h>
23356 #ifdef HAVE_STDLIB_H
23357 # include <stdlib.h>
23365 std::basic_string<$char_type> foo;
23366 const $char_type* dummy = foo.c_str();
23371 rm -f conftest.
$ac_objext
23372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23373 (eval $ac_compile) 2>conftest.er1
23375 grep -v '^ *+' conftest.er1
>conftest.err
23377 cat conftest.err
>&5
23378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23379 (exit $ac_status); } &&
23380 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23382 (eval $ac_try) 2>&5
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); }; } &&
23386 { ac_try
='test -s conftest.$ac_objext'
23387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23388 (eval $ac_try) 2>&5
23390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391 (exit $ac_status); }; }; then
23392 wx_cv_class_stdbasicstring
=yes
23394 echo "$as_me: failed program was:" >&5
23395 sed 's/^/| /' conftest.
$ac_ext >&5
23397 wx_cv_class_stdbasicstring
=no
23400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23404 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23405 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
23407 if test "$wx_cv_class_stdbasicstring" != yes; then
23408 if test "$wxUSE_STL" = "yes"; then
23409 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23410 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23411 { (exit 1); exit 1; }; }
23412 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23413 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23414 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23415 { (exit 1); exit 1; }; }
23417 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23418 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23419 wxUSE_STD_STRING
=no
23425 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23426 echo "$as_me:$LINENO: checking for std::istream" >&5
23427 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23428 if test "${ac_cv_type_std__istream+set}" = set; then
23429 echo $ECHO_N "(cached) $ECHO_C" >&6
23431 cat >conftest.
$ac_ext <<_ACEOF
23434 cat confdefs.h
>>conftest.
$ac_ext
23435 cat >>conftest.
$ac_ext <<_ACEOF
23436 /* end confdefs.h. */
23437 #include <iostream>
23442 if ((std::istream *) 0)
23444 if (sizeof (std::istream))
23450 rm -f conftest.
$ac_objext
23451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23452 (eval $ac_compile) 2>conftest.er1
23454 grep -v '^ *+' conftest.er1
>conftest.err
23456 cat conftest.err
>&5
23457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458 (exit $ac_status); } &&
23459 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23461 (eval $ac_try) 2>&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); }; } &&
23465 { ac_try
='test -s conftest.$ac_objext'
23466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467 (eval $ac_try) 2>&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; }; then
23471 ac_cv_type_std__istream
=yes
23473 echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.
$ac_ext >&5
23476 ac_cv_type_std__istream
=no
23478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23480 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23481 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23482 if test $ac_cv_type_std__istream = yes; then
23484 cat >>confdefs.h
<<_ACEOF
23485 #define HAVE_STD__ISTREAM 1
23490 wxUSE_STD_IOSTREAM
=no
23492 echo "$as_me:$LINENO: checking for std::ostream" >&5
23493 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23494 if test "${ac_cv_type_std__ostream+set}" = set; then
23495 echo $ECHO_N "(cached) $ECHO_C" >&6
23497 cat >conftest.
$ac_ext <<_ACEOF
23500 cat confdefs.h
>>conftest.
$ac_ext
23501 cat >>conftest.
$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23503 #include <iostream>
23508 if ((std::ostream *) 0)
23510 if (sizeof (std::ostream))
23516 rm -f conftest.
$ac_objext
23517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23518 (eval $ac_compile) 2>conftest.er1
23520 grep -v '^ *+' conftest.er1
>conftest.err
23522 cat conftest.err
>&5
23523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524 (exit $ac_status); } &&
23525 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23527 (eval $ac_try) 2>&5
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); }; } &&
23531 { ac_try
='test -s conftest.$ac_objext'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; }; then
23537 ac_cv_type_std__ostream
=yes
23539 echo "$as_me: failed program was:" >&5
23540 sed 's/^/| /' conftest.
$ac_ext >&5
23542 ac_cv_type_std__ostream
=no
23544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23546 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23547 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23548 if test $ac_cv_type_std__ostream = yes; then
23550 cat >>confdefs.h
<<_ACEOF
23551 #define HAVE_STD__OSTREAM 1
23556 wxUSE_STD_IOSTREAM
=no
23560 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23561 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23562 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23563 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23564 { (exit 1); exit 1; }; }
23566 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23567 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23572 if test "$wxUSE_STL" = "yes"; then
23573 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23574 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23575 if test "${wx_cv_lib_stl+set}" = set; then
23576 echo $ECHO_N "(cached) $ECHO_C" >&6
23578 cat >conftest.
$ac_ext <<_ACEOF
23581 cat confdefs.h
>>conftest.
$ac_ext
23582 cat >>conftest.
$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23585 #include <functional>
23586 #include <algorithm>
23592 std::vector<int> moo;
23593 std::list<int> foo;
23594 std::vector<int>::iterator it =
23595 std::find_if(moo.begin(), moo.end(),
23596 std::bind2nd(std::less<int>(), 3));
23601 rm -f conftest.
$ac_objext
23602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23603 (eval $ac_compile) 2>conftest.er1
23605 grep -v '^ *+' conftest.er1
>conftest.err
23607 cat conftest.err
>&5
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); } &&
23610 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23612 (eval $ac_try) 2>&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); }; } &&
23616 { ac_try
='test -s conftest.$ac_objext'
23617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23618 (eval $ac_try) 2>&5
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); }; }; then
23624 echo "$as_me: failed program was:" >&5
23625 sed 's/^/| /' conftest.
$ac_ext >&5
23630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23633 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23634 echo "${ECHO_T}$wx_cv_lib_stl" >&6
23636 if test "$wx_cv_lib_stl" != yes; then
23637 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23638 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23639 { (exit 1); exit 1; }; }
23642 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23643 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23644 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23645 echo $ECHO_N "(cached) $ECHO_C" >&6
23647 cat >conftest.
$ac_ext <<_ACEOF
23650 cat confdefs.h
>>conftest.
$ac_ext
23651 cat >>conftest.
$ac_ext <<_ACEOF
23652 /* end confdefs.h. */
23657 std::string foo, bar;
23659 foo.compare(1, 1, bar);
23660 foo.compare(1, 1, bar, 1, 1);
23662 foo.compare(1, 1, "");
23663 foo.compare(1, 1, "", 2);
23668 rm -f conftest.
$ac_objext
23669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23670 (eval $ac_compile) 2>conftest.er1
23672 grep -v '^ *+' conftest.er1
>conftest.err
23674 cat conftest.err
>&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); } &&
23677 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; } &&
23683 { ac_try
='test -s conftest.$ac_objext'
23684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23685 (eval $ac_try) 2>&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); }; }; then
23689 wx_cv_func_stdstring_compare
=yes
23691 echo "$as_me: failed program was:" >&5
23692 sed 's/^/| /' conftest.
$ac_ext >&5
23694 wx_cv_func_stdstring_compare
=no
23697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23700 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23701 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
23703 if test "$wx_cv_func_stdstring_compare" = yes; then
23704 cat >>confdefs.h
<<\_ACEOF
23705 #define HAVE_STD_STRING_COMPARE 1
23710 if test "${ac_cv_header_hash_map+set}" = set; then
23711 echo "$as_me:$LINENO: checking for hash_map" >&5
23712 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23713 if test "${ac_cv_header_hash_map+set}" = set; then
23714 echo $ECHO_N "(cached) $ECHO_C" >&6
23716 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23717 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23719 # Is the header compilable?
23720 echo "$as_me:$LINENO: checking hash_map usability" >&5
23721 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23722 cat >conftest.
$ac_ext <<_ACEOF
23725 cat confdefs.h
>>conftest.
$ac_ext
23726 cat >>conftest.
$ac_ext <<_ACEOF
23727 /* end confdefs.h. */
23728 $ac_includes_default
23729 #include <hash_map>
23731 rm -f conftest.
$ac_objext
23732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23733 (eval $ac_compile) 2>conftest.er1
23735 grep -v '^ *+' conftest.er1
>conftest.err
23737 cat conftest.err
>&5
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); } &&
23740 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23742 (eval $ac_try) 2>&5
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); }; } &&
23746 { ac_try
='test -s conftest.$ac_objext'
23747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23748 (eval $ac_try) 2>&5
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); }; }; then
23752 ac_header_compiler
=yes
23754 echo "$as_me: failed program was:" >&5
23755 sed 's/^/| /' conftest.
$ac_ext >&5
23757 ac_header_compiler
=no
23759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23761 echo "${ECHO_T}$ac_header_compiler" >&6
23763 # Is the header present?
23764 echo "$as_me:$LINENO: checking hash_map presence" >&5
23765 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23766 cat >conftest.
$ac_ext <<_ACEOF
23769 cat confdefs.h
>>conftest.
$ac_ext
23770 cat >>conftest.
$ac_ext <<_ACEOF
23771 /* end confdefs.h. */
23772 #include <hash_map>
23774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23775 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23777 grep -v '^ *+' conftest.er1
>conftest.err
23779 cat conftest.err
>&5
23780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781 (exit $ac_status); } >/dev
/null
; then
23782 if test -s conftest.err
; then
23783 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23784 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23791 if test -z "$ac_cpp_err"; then
23792 ac_header_preproc
=yes
23794 echo "$as_me: failed program was:" >&5
23795 sed 's/^/| /' conftest.
$ac_ext >&5
23797 ac_header_preproc
=no
23799 rm -f conftest.err conftest.
$ac_ext
23800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23801 echo "${ECHO_T}$ac_header_preproc" >&6
23803 # So? What about this header?
23804 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23806 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23807 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23808 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23809 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23810 ac_header_preproc
=yes
23813 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23814 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23815 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23816 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23817 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23818 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23819 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23820 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23821 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23822 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23823 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23824 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23827 ## ----------------------------------------- ##
23828 ## Report this to wx-dev@lists.wxwidgets.org ##
23829 ## ----------------------------------------- ##
23832 sed "s/^/$as_me: WARNING: /" >&2
23835 echo "$as_me:$LINENO: checking for hash_map" >&5
23836 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23837 if test "${ac_cv_header_hash_map+set}" = set; then
23838 echo $ECHO_N "(cached) $ECHO_C" >&6
23840 ac_cv_header_hash_map
=$ac_header_preproc
23842 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23843 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23846 if test $ac_cv_header_hash_map = yes; then
23847 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23848 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
23849 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23850 echo $ECHO_N "(cached) $ECHO_C" >&6
23852 cat >conftest.
$ac_ext <<_ACEOF
23855 cat confdefs.h
>>conftest.
$ac_ext
23856 cat >>conftest.
$ac_ext <<_ACEOF
23857 /* end confdefs.h. */
23858 #include <hash_map>
23859 #include <hash_set>
23863 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23864 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23869 rm -f conftest.
$ac_objext
23870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23871 (eval $ac_compile) 2>conftest.er1
23873 grep -v '^ *+' conftest.er1
>conftest.err
23875 cat conftest.err
>&5
23876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23877 (exit $ac_status); } &&
23878 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23880 (eval $ac_try) 2>&5
23882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23883 (exit $ac_status); }; } &&
23884 { ac_try
='test -s conftest.$ac_objext'
23885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23886 (eval $ac_try) 2>&5
23888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889 (exit $ac_status); }; }; then
23890 wx_cv_class_stdhashmapset
=yes
23892 echo "$as_me: failed program was:" >&5
23893 sed 's/^/| /' conftest.
$ac_ext >&5
23895 wx_cv_class_stdhashmapset
=no
23897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23901 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23902 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23908 if test "$wx_cv_class_stdhashmapset" = yes; then
23909 cat >>confdefs.h
<<\_ACEOF
23910 #define HAVE_HASH_MAP 1
23913 cat >>confdefs.h
<<\_ACEOF
23914 #define HAVE_STD_HASH_MAP 1
23919 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23920 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23921 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23922 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23923 echo $ECHO_N "(cached) $ECHO_C" >&6
23925 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23926 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23928 # Is the header compilable?
23929 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23930 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23931 cat >conftest.
$ac_ext <<_ACEOF
23934 cat confdefs.h
>>conftest.
$ac_ext
23935 cat >>conftest.
$ac_ext <<_ACEOF
23936 /* end confdefs.h. */
23937 $ac_includes_default
23938 #include <ext/hash_map>
23940 rm -f conftest.
$ac_objext
23941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23942 (eval $ac_compile) 2>conftest.er1
23944 grep -v '^ *+' conftest.er1
>conftest.err
23946 cat conftest.err
>&5
23947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948 (exit $ac_status); } &&
23949 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23951 (eval $ac_try) 2>&5
23953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23954 (exit $ac_status); }; } &&
23955 { ac_try
='test -s conftest.$ac_objext'
23956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23957 (eval $ac_try) 2>&5
23959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23960 (exit $ac_status); }; }; then
23961 ac_header_compiler
=yes
23963 echo "$as_me: failed program was:" >&5
23964 sed 's/^/| /' conftest.
$ac_ext >&5
23966 ac_header_compiler
=no
23968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23970 echo "${ECHO_T}$ac_header_compiler" >&6
23972 # Is the header present?
23973 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23974 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23975 cat >conftest.
$ac_ext <<_ACEOF
23978 cat confdefs.h
>>conftest.
$ac_ext
23979 cat >>conftest.
$ac_ext <<_ACEOF
23980 /* end confdefs.h. */
23981 #include <ext/hash_map>
23983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23984 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23986 grep -v '^ *+' conftest.er1
>conftest.err
23988 cat conftest.err
>&5
23989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990 (exit $ac_status); } >/dev
/null
; then
23991 if test -s conftest.err
; then
23992 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23993 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24000 if test -z "$ac_cpp_err"; then
24001 ac_header_preproc
=yes
24003 echo "$as_me: failed program was:" >&5
24004 sed 's/^/| /' conftest.
$ac_ext >&5
24006 ac_header_preproc
=no
24008 rm -f conftest.err conftest.
$ac_ext
24009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24010 echo "${ECHO_T}$ac_header_preproc" >&6
24012 # So? What about this header?
24013 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24015 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24016 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24017 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24018 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24019 ac_header_preproc
=yes
24022 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24023 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24024 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24025 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24026 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24027 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24028 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24029 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24030 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24031 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24032 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24033 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24036 ## ----------------------------------------- ##
24037 ## Report this to wx-dev@lists.wxwidgets.org ##
24038 ## ----------------------------------------- ##
24041 sed "s/^/$as_me: WARNING: /" >&2
24044 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24045 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24046 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24047 echo $ECHO_N "(cached) $ECHO_C" >&6
24049 ac_cv_header_ext_hash_map
=$ac_header_preproc
24051 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24052 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24055 if test $ac_cv_header_ext_hash_map = yes; then
24056 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24057 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
24058 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24059 echo $ECHO_N "(cached) $ECHO_C" >&6
24061 cat >conftest.
$ac_ext <<_ACEOF
24064 cat confdefs.h
>>conftest.
$ac_ext
24065 cat >>conftest.
$ac_ext <<_ACEOF
24066 /* end confdefs.h. */
24067 #include <ext/hash_map>
24068 #include <ext/hash_set>
24072 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24073 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24078 rm -f conftest.
$ac_objext
24079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24080 (eval $ac_compile) 2>conftest.er1
24082 grep -v '^ *+' conftest.er1
>conftest.err
24084 cat conftest.err
>&5
24085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24086 (exit $ac_status); } &&
24087 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24089 (eval $ac_try) 2>&5
24091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24092 (exit $ac_status); }; } &&
24093 { ac_try
='test -s conftest.$ac_objext'
24094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24095 (eval $ac_try) 2>&5
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); }; }; then
24099 wx_cv_class_gnuhashmapset
=yes
24101 echo "$as_me: failed program was:" >&5
24102 sed 's/^/| /' conftest.
$ac_ext >&5
24104 wx_cv_class_gnuhashmapset
=no
24106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24110 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24111 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
24117 if test "$wx_cv_class_gnuhashmapset" = yes; then
24118 cat >>confdefs.h
<<\_ACEOF
24119 #define HAVE_EXT_HASH_MAP 1
24122 cat >>confdefs.h
<<\_ACEOF
24123 #define HAVE_GNU_CXX_HASH_MAP 1
24130 ac_cpp
='$CPP $CPPFLAGS'
24131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24138 /usr/local/include \
24140 /usr/Motif-2.1/include \
24141 /usr/Motif-1.2/include \
24142 /usr/include/Motif1.2 \
24145 /usr/openwin/include \
24149 /usr/X11R6/include \
24150 /usr/X11R6.4/include \
24151 /usr/X11R5/include \
24152 /usr/X11R4/include \
24154 /usr/include/X11R6 \
24155 /usr/include/X11R5 \
24156 /usr/include/X11R4 \
24158 /usr/local/X11R6/include \
24159 /usr/local/X11R5/include \
24160 /usr/local/X11R4/include \
24162 /usr/local/include/X11R6 \
24163 /usr/local/include/X11R5 \
24164 /usr/local/include/X11R4 \
24168 /usr/local/X11/include \
24169 /usr/local/include/X11 \
24171 /usr/XFree86/include/X11 \
24174 /usr/openwin/share/include"
24176 echo "$as_me:$LINENO: checking for libraries directory" >&5
24177 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24181 if test "${wx_cv_std_libpath+set}" = set; then
24182 echo $ECHO_N "(cached) $ECHO_C" >&6
24185 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24186 for e
in a so sl dylib dll.a
; do
24188 if test -f $libc; then
24191 cat >conftest.
$ac_ext <<_ACEOF
24192 int main() { return 0; }
24194 rm -f conftest.
$ac_objext conftest
$ac_exeext
24195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24196 (eval $ac_link) 2>conftest.er1
24198 grep -v '^ *+' conftest.er1
>conftest.err
24200 cat conftest.err
>&5
24201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24202 (exit $ac_status); } &&
24203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24205 (eval $ac_try) 2>&5
24207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24208 (exit $ac_status); }; } &&
24209 { ac_try
='test -s conftest$ac_exeext'
24210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24211 (eval $ac_try) 2>&5
24213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24214 (exit $ac_status); }; }; then
24215 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24217 echo "$as_me: failed program was:" >&5
24218 sed 's/^/| /' conftest.
$ac_ext >&5
24221 rm -f conftest.err conftest.
$ac_objext \
24222 conftest
$ac_exeext conftest.
$ac_ext
24224 if test "x$wx_cv_std_libpath" != "x"; then
24230 if test "x$wx_cv_std_libpath" = "x"; then
24231 wx_cv_std_libpath
="lib"
24240 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24241 wx_cv_std_libpath
="lib/64"
24243 wx_cv_std_libpath
="lib"
24248 if test "$ac_cv_sizeof_void_p" = 8 -a \
24249 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24250 wx_cv_std_libpath
="lib64"
24252 wx_cv_std_libpath
="lib"
24257 wx_cv_std_libpath
="lib";
24261 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24262 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24264 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24266 if test "$build" != "$host" -a "$GCC" = yes; then
24267 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24268 cross_root
=`dirname $cross_root`
24269 cross_root
=`dirname $cross_root`
24271 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24272 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24273 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24275 if test -z "$PKG_CONFIG_PATH"; then
24276 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24277 export PKG_CONFIG_PATH
24280 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24283 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24285 if test -f "$ac_dir/X11/Intrinsic.h"; then
24286 ac_find_includes
=$ac_dir
24291 x_includes
=$ac_find_includes
24293 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24296 for ac_dir
in $SEARCH_LIB;
24298 for ac_extension
in a so sl dylib dll.a
; do
24299 if test -f "$ac_dir/libXt.$ac_extension"; then
24300 ac_find_libraries
=$ac_dir
24306 x_libraries
=$ac_find_libraries
24312 cat >confcache
<<\_ACEOF
24313 # This file is a shell script that caches the results of configure
24314 # tests run on this system so they can be shared between configure
24315 # scripts and configure runs, see configure's option --config-cache.
24316 # It is not useful on other systems. If it contains results you don't
24317 # want to keep, you may remove or edit it.
24319 # config.status only pays attention to the cache file if you give it
24320 # the --recheck option to rerun configure.
24322 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24323 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24324 # following values.
24328 # The following way of writing the cache mishandles newlines in values,
24329 # but we know of no workaround that is simple, portable, and efficient.
24330 # So, don't put newlines in cache variables' values.
24331 # Ultrix sh set writes to stderr and can't be redirected directly,
24332 # and sets the high bit in the cache file unless we assign to the vars.
24335 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24337 # `set' does not quote correctly, so add quotes (double-quote
24338 # substitution turns \\\\ into \\, and sed turns \\ into \).
24341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24344 # `set' quotes correctly as required by POSIX, so do not add quotes.
24346 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24353 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24355 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24357 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24358 if test -w $cache_file; then
24359 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24360 cat confcache
>$cache_file
24362 echo "not updating unwritable cache $cache_file"
24367 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24368 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24369 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24370 if test "${wx_cv_lib_glibc21+set}" = set; then
24371 echo $ECHO_N "(cached) $ECHO_C" >&6
24374 cat >conftest.
$ac_ext <<_ACEOF
24377 cat confdefs.h
>>conftest.
$ac_ext
24378 cat >>conftest.
$ac_ext <<_ACEOF
24379 /* end confdefs.h. */
24380 #include <features.h>
24385 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24393 rm -f conftest.
$ac_objext
24394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24395 (eval $ac_compile) 2>conftest.er1
24397 grep -v '^ *+' conftest.er1
>conftest.err
24399 cat conftest.err
>&5
24400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401 (exit $ac_status); } &&
24402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24404 (eval $ac_try) 2>&5
24406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407 (exit $ac_status); }; } &&
24408 { ac_try
='test -s conftest.$ac_objext'
24409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24410 (eval $ac_try) 2>&5
24412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24413 (exit $ac_status); }; }; then
24415 wx_cv_lib_glibc21
=yes
24418 echo "$as_me: failed program was:" >&5
24419 sed 's/^/| /' conftest.
$ac_ext >&5
24422 wx_cv_lib_glibc21
=no
24426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24429 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24430 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24431 if test "$wx_cv_lib_glibc21" = "yes"; then
24432 cat >>confdefs.h
<<\_ACEOF
24433 #define wxHAVE_GLIBC2 1
24439 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24440 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24441 cat >>confdefs.h
<<\_ACEOF
24442 #define _GNU_SOURCE 1
24453 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24454 echo "$as_me:$LINENO: checking for $ac_func" >&5
24455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24456 if eval "test \"\${$as_ac_var+set}\" = set"; then
24457 echo $ECHO_N "(cached) $ECHO_C" >&6
24459 cat >conftest.
$ac_ext <<_ACEOF
24462 cat confdefs.h
>>conftest.
$ac_ext
24463 cat >>conftest.
$ac_ext <<_ACEOF
24464 /* end confdefs.h. */
24465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24467 #define $ac_func innocuous_$ac_func
24469 /* System header to define __stub macros and hopefully few prototypes,
24470 which can conflict with char $ac_func (); below.
24471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24472 <limits.h> exists even on freestanding compilers. */
24475 # include <limits.h>
24477 # include <assert.h>
24482 /* Override any gcc2 internal prototype to avoid an error. */
24487 /* We use char because int might match the return type of a gcc2
24488 builtin and then its argument prototype would still apply. */
24490 /* The GNU C library defines this for functions which it implements
24491 to always fail with ENOSYS. Some functions are actually named
24492 something starting with __ and the normal name is an alias. */
24493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24496 char (*f) () = $ac_func;
24505 return f != $ac_func;
24510 rm -f conftest.
$ac_objext conftest
$ac_exeext
24511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24512 (eval $ac_link) 2>conftest.er1
24514 grep -v '^ *+' conftest.er1
>conftest.err
24516 cat conftest.err
>&5
24517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24518 (exit $ac_status); } &&
24519 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24521 (eval $ac_try) 2>&5
24523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24524 (exit $ac_status); }; } &&
24525 { ac_try
='test -s conftest$ac_exeext'
24526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24527 (eval $ac_try) 2>&5
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); }; }; then
24531 eval "$as_ac_var=yes"
24533 echo "$as_me: failed program was:" >&5
24534 sed 's/^/| /' conftest.
$ac_ext >&5
24536 eval "$as_ac_var=no"
24538 rm -f conftest.err conftest.
$ac_objext \
24539 conftest
$ac_exeext conftest.
$ac_ext
24541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24543 if test `eval echo '${'$as_ac_var'}'` = yes; then
24544 cat >>confdefs.h
<<_ACEOF
24545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24552 for ac_func
in floor
24554 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24555 echo "$as_me:$LINENO: checking for $ac_func" >&5
24556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24557 if eval "test \"\${$as_ac_var+set}\" = set"; then
24558 echo $ECHO_N "(cached) $ECHO_C" >&6
24560 cat >conftest.
$ac_ext <<_ACEOF
24563 cat confdefs.h
>>conftest.
$ac_ext
24564 cat >>conftest.
$ac_ext <<_ACEOF
24565 /* end confdefs.h. */
24566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24568 #define $ac_func innocuous_$ac_func
24570 /* System header to define __stub macros and hopefully few prototypes,
24571 which can conflict with char $ac_func (); below.
24572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24573 <limits.h> exists even on freestanding compilers. */
24576 # include <limits.h>
24578 # include <assert.h>
24583 /* Override any gcc2 internal prototype to avoid an error. */
24588 /* We use char because int might match the return type of a gcc2
24589 builtin and then its argument prototype would still apply. */
24591 /* The GNU C library defines this for functions which it implements
24592 to always fail with ENOSYS. Some functions are actually named
24593 something starting with __ and the normal name is an alias. */
24594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24597 char (*f) () = $ac_func;
24606 return f != $ac_func;
24611 rm -f conftest.
$ac_objext conftest
$ac_exeext
24612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24613 (eval $ac_link) 2>conftest.er1
24615 grep -v '^ *+' conftest.er1
>conftest.err
24617 cat conftest.err
>&5
24618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24619 (exit $ac_status); } &&
24620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24622 (eval $ac_try) 2>&5
24624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24625 (exit $ac_status); }; } &&
24626 { ac_try
='test -s conftest$ac_exeext'
24627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24628 (eval $ac_try) 2>&5
24630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24631 (exit $ac_status); }; }; then
24632 eval "$as_ac_var=yes"
24634 echo "$as_me: failed program was:" >&5
24635 sed 's/^/| /' conftest.
$ac_ext >&5
24637 eval "$as_ac_var=no"
24639 rm -f conftest.err conftest.
$ac_objext \
24640 conftest
$ac_exeext conftest.
$ac_ext
24642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24644 if test `eval echo '${'$as_ac_var'}'` = yes; then
24645 cat >>confdefs.h
<<_ACEOF
24646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24652 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24653 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24654 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24655 echo "$as_me:$LINENO: result: yes" >&5
24656 echo "${ECHO_T}yes" >&6
24658 echo "$as_me:$LINENO: result: no" >&5
24659 echo "${ECHO_T}no" >&6
24661 # use different functions to avoid configure caching
24667 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24668 echo "$as_me:$LINENO: checking for $ac_func" >&5
24669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24670 if eval "test \"\${$as_ac_var+set}\" = set"; then
24671 echo $ECHO_N "(cached) $ECHO_C" >&6
24673 cat >conftest.
$ac_ext <<_ACEOF
24676 cat confdefs.h
>>conftest.
$ac_ext
24677 cat >>conftest.
$ac_ext <<_ACEOF
24678 /* end confdefs.h. */
24679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24681 #define $ac_func innocuous_$ac_func
24683 /* System header to define __stub macros and hopefully few prototypes,
24684 which can conflict with char $ac_func (); below.
24685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24686 <limits.h> exists even on freestanding compilers. */
24689 # include <limits.h>
24691 # include <assert.h>
24696 /* Override any gcc2 internal prototype to avoid an error. */
24701 /* We use char because int might match the return type of a gcc2
24702 builtin and then its argument prototype would still apply. */
24704 /* The GNU C library defines this for functions which it implements
24705 to always fail with ENOSYS. Some functions are actually named
24706 something starting with __ and the normal name is an alias. */
24707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24710 char (*f) () = $ac_func;
24719 return f != $ac_func;
24724 rm -f conftest.
$ac_objext conftest
$ac_exeext
24725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24726 (eval $ac_link) 2>conftest.er1
24728 grep -v '^ *+' conftest.er1
>conftest.err
24730 cat conftest.err
>&5
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); } &&
24733 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; } &&
24739 { ac_try
='test -s conftest$ac_exeext'
24740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24741 (eval $ac_try) 2>&5
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); }; }; then
24745 eval "$as_ac_var=yes"
24747 echo "$as_me: failed program was:" >&5
24748 sed 's/^/| /' conftest.
$ac_ext >&5
24750 eval "$as_ac_var=no"
24752 rm -f conftest.err conftest.
$ac_objext \
24753 conftest
$ac_exeext conftest.
$ac_ext
24755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24757 if test `eval echo '${'$as_ac_var'}'` = yes; then
24758 cat >>confdefs.h
<<_ACEOF
24759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24766 for ac_func
in ceil
24768 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24769 echo "$as_me:$LINENO: checking for $ac_func" >&5
24770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24771 if eval "test \"\${$as_ac_var+set}\" = set"; then
24772 echo $ECHO_N "(cached) $ECHO_C" >&6
24774 cat >conftest.
$ac_ext <<_ACEOF
24777 cat confdefs.h
>>conftest.
$ac_ext
24778 cat >>conftest.
$ac_ext <<_ACEOF
24779 /* end confdefs.h. */
24780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24782 #define $ac_func innocuous_$ac_func
24784 /* System header to define __stub macros and hopefully few prototypes,
24785 which can conflict with char $ac_func (); below.
24786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24787 <limits.h> exists even on freestanding compilers. */
24790 # include <limits.h>
24792 # include <assert.h>
24797 /* Override any gcc2 internal prototype to avoid an error. */
24802 /* We use char because int might match the return type of a gcc2
24803 builtin and then its argument prototype would still apply. */
24805 /* The GNU C library defines this for functions which it implements
24806 to always fail with ENOSYS. Some functions are actually named
24807 something starting with __ and the normal name is an alias. */
24808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24811 char (*f) () = $ac_func;
24820 return f != $ac_func;
24825 rm -f conftest.
$ac_objext conftest
$ac_exeext
24826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24827 (eval $ac_link) 2>conftest.er1
24829 grep -v '^ *+' conftest.er1
>conftest.err
24831 cat conftest.err
>&5
24832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833 (exit $ac_status); } &&
24834 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24836 (eval $ac_try) 2>&5
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); }; } &&
24840 { ac_try
='test -s conftest$ac_exeext'
24841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24842 (eval $ac_try) 2>&5
24844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24845 (exit $ac_status); }; }; then
24846 eval "$as_ac_var=yes"
24848 echo "$as_me: failed program was:" >&5
24849 sed 's/^/| /' conftest.
$ac_ext >&5
24851 eval "$as_ac_var=no"
24853 rm -f conftest.err conftest.
$ac_objext \
24854 conftest
$ac_exeext conftest.
$ac_ext
24856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24858 if test `eval echo '${'$as_ac_var'}'` = yes; then
24859 cat >>confdefs.h
<<_ACEOF
24860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24866 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24867 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24868 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24869 echo "$as_me:$LINENO: result: yes" >&5
24870 echo "${ECHO_T}yes" >&6
24872 echo "$as_me:$LINENO: result: no" >&5
24873 echo "${ECHO_T}no" >&6
24874 # not sure we should warn the user, crash, etc.
24878 if test "wxUSE_UNICODE" = "yes"; then
24880 for wx_func
in wcstoull
24882 echo "$as_me:$LINENO: checking for $wx_func" >&5
24883 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24884 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24885 echo $ECHO_N "(cached) $ECHO_C" >&6
24888 cat >conftest.
$ac_ext <<_ACEOF
24892 cat confdefs.h
>>conftest.
$ac_ext
24893 cat >>conftest.
$ac_ext <<_ACEOF
24894 /* end confdefs.h. */
24897 $ac_includes_default
24913 rm -f conftest.
$ac_objext conftest
$ac_exeext
24914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24915 (eval $ac_link) 2>conftest.er1
24917 grep -v '^ *+' conftest.er1
>conftest.err
24919 cat conftest.err
>&5
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); } &&
24922 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24924 (eval $ac_try) 2>&5
24926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24927 (exit $ac_status); }; } &&
24928 { ac_try
='test -s conftest$ac_exeext'
24929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24930 (eval $ac_try) 2>&5
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); }; }; then
24934 eval wx_cv_func_
$wx_func=yes
24936 echo "$as_me: failed program was:" >&5
24937 sed 's/^/| /' conftest.
$ac_ext >&5
24939 eval wx_cv_func_
$wx_func=no
24941 rm -f conftest.err conftest.
$ac_objext \
24942 conftest
$ac_exeext conftest.
$ac_ext
24945 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24946 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24948 if eval test \
$wx_cv_func_$wx_func = yes
24950 cat >>confdefs.h
<<_ACEOF
24951 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24963 for wx_func
in strtoull
24965 echo "$as_me:$LINENO: checking for $wx_func" >&5
24966 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24967 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24968 echo $ECHO_N "(cached) $ECHO_C" >&6
24971 cat >conftest.
$ac_ext <<_ACEOF
24975 cat confdefs.h
>>conftest.
$ac_ext
24976 cat >>conftest.
$ac_ext <<_ACEOF
24977 /* end confdefs.h. */
24980 $ac_includes_default
24996 rm -f conftest.
$ac_objext conftest
$ac_exeext
24997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24998 (eval $ac_link) 2>conftest.er1
25000 grep -v '^ *+' conftest.er1
>conftest.err
25002 cat conftest.err
>&5
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); } &&
25005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25007 (eval $ac_try) 2>&5
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); }; } &&
25011 { ac_try
='test -s conftest$ac_exeext'
25012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25013 (eval $ac_try) 2>&5
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); }; }; then
25017 eval wx_cv_func_
$wx_func=yes
25019 echo "$as_me: failed program was:" >&5
25020 sed 's/^/| /' conftest.
$ac_ext >&5
25022 eval wx_cv_func_
$wx_func=no
25024 rm -f conftest.err conftest.
$ac_objext \
25025 conftest
$ac_exeext conftest.
$ac_ext
25028 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
25029 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
25031 if eval test \
$wx_cv_func_$wx_func = yes
25033 cat >>confdefs.h
<<_ACEOF
25034 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25048 if test "$wxUSE_REGEX" != "no"; then
25049 cat >>confdefs.h
<<\_ACEOF
25050 #define wxUSE_REGEX 1
25054 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25055 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25056 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25057 wxUSE_REGEX
=builtin
25060 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25061 if test "${ac_cv_header_regex_h+set}" = set; then
25062 echo "$as_me:$LINENO: checking for regex.h" >&5
25063 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25064 if test "${ac_cv_header_regex_h+set}" = set; then
25065 echo $ECHO_N "(cached) $ECHO_C" >&6
25067 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25068 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25070 # Is the header compilable?
25071 echo "$as_me:$LINENO: checking regex.h usability" >&5
25072 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25073 cat >conftest.
$ac_ext <<_ACEOF
25076 cat confdefs.h
>>conftest.
$ac_ext
25077 cat >>conftest.
$ac_ext <<_ACEOF
25078 /* end confdefs.h. */
25079 $ac_includes_default
25082 rm -f conftest.
$ac_objext
25083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25084 (eval $ac_compile) 2>conftest.er1
25086 grep -v '^ *+' conftest.er1
>conftest.err
25088 cat conftest.err
>&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); } &&
25091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25093 (eval $ac_try) 2>&5
25095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); }; } &&
25097 { ac_try
='test -s conftest.$ac_objext'
25098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25099 (eval $ac_try) 2>&5
25101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25102 (exit $ac_status); }; }; then
25103 ac_header_compiler
=yes
25105 echo "$as_me: failed program was:" >&5
25106 sed 's/^/| /' conftest.
$ac_ext >&5
25108 ac_header_compiler
=no
25110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25112 echo "${ECHO_T}$ac_header_compiler" >&6
25114 # Is the header present?
25115 echo "$as_me:$LINENO: checking regex.h presence" >&5
25116 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25117 cat >conftest.
$ac_ext <<_ACEOF
25120 cat confdefs.h
>>conftest.
$ac_ext
25121 cat >>conftest.
$ac_ext <<_ACEOF
25122 /* end confdefs.h. */
25125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25126 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25128 grep -v '^ *+' conftest.er1
>conftest.err
25130 cat conftest.err
>&5
25131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132 (exit $ac_status); } >/dev
/null
; then
25133 if test -s conftest.err
; then
25134 ac_cpp_err
=$ac_c_preproc_warn_flag
25135 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25142 if test -z "$ac_cpp_err"; then
25143 ac_header_preproc
=yes
25145 echo "$as_me: failed program was:" >&5
25146 sed 's/^/| /' conftest.
$ac_ext >&5
25148 ac_header_preproc
=no
25150 rm -f conftest.err conftest.
$ac_ext
25151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25152 echo "${ECHO_T}$ac_header_preproc" >&6
25154 # So? What about this header?
25155 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25157 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25158 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25159 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25160 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25161 ac_header_preproc
=yes
25164 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25165 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25166 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25167 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25168 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25169 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25170 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25171 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25172 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25173 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25174 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25175 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25178 ## ----------------------------------------- ##
25179 ## Report this to wx-dev@lists.wxwidgets.org ##
25180 ## ----------------------------------------- ##
25183 sed "s/^/$as_me: WARNING: /" >&2
25186 echo "$as_me:$LINENO: checking for regex.h" >&5
25187 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25188 if test "${ac_cv_header_regex_h+set}" = set; then
25189 echo $ECHO_N "(cached) $ECHO_C" >&6
25191 ac_cv_header_regex_h
=$ac_header_preproc
25193 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25194 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25197 if test $ac_cv_header_regex_h = yes; then
25200 for ac_func
in regcomp re_search
25202 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25203 echo "$as_me:$LINENO: checking for $ac_func" >&5
25204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25205 if eval "test \"\${$as_ac_var+set}\" = set"; then
25206 echo $ECHO_N "(cached) $ECHO_C" >&6
25208 cat >conftest.
$ac_ext <<_ACEOF
25211 cat confdefs.h
>>conftest.
$ac_ext
25212 cat >>conftest.
$ac_ext <<_ACEOF
25213 /* end confdefs.h. */
25214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25216 #define $ac_func innocuous_$ac_func
25218 /* System header to define __stub macros and hopefully few prototypes,
25219 which can conflict with char $ac_func (); below.
25220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25221 <limits.h> exists even on freestanding compilers. */
25224 # include <limits.h>
25226 # include <assert.h>
25231 /* Override any gcc2 internal prototype to avoid an error. */
25236 /* We use char because int might match the return type of a gcc2
25237 builtin and then its argument prototype would still apply. */
25239 /* The GNU C library defines this for functions which it implements
25240 to always fail with ENOSYS. Some functions are actually named
25241 something starting with __ and the normal name is an alias. */
25242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25245 char (*f) () = $ac_func;
25254 return f != $ac_func;
25259 rm -f conftest.
$ac_objext conftest
$ac_exeext
25260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25261 (eval $ac_link) 2>conftest.er1
25263 grep -v '^ *+' conftest.er1
>conftest.err
25265 cat conftest.err
>&5
25266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25267 (exit $ac_status); } &&
25268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25270 (eval $ac_try) 2>&5
25272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25273 (exit $ac_status); }; } &&
25274 { ac_try
='test -s conftest$ac_exeext'
25275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25276 (eval $ac_try) 2>&5
25278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25279 (exit $ac_status); }; }; then
25280 eval "$as_ac_var=yes"
25282 echo "$as_me: failed program was:" >&5
25283 sed 's/^/| /' conftest.
$ac_ext >&5
25285 eval "$as_ac_var=no"
25287 rm -f conftest.err conftest.
$ac_objext \
25288 conftest
$ac_exeext conftest.
$ac_ext
25290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25292 if test `eval echo '${'$as_ac_var'}'` = yes; then
25293 cat >>confdefs.h
<<_ACEOF
25294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25304 if test "x$ac_cv_func_regcomp" != "xyes"; then
25305 if test "$wxUSE_REGEX" = "sys" ; then
25306 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25307 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25308 { (exit 1); exit 1; }; }
25310 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25311 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25312 wxUSE_REGEX
=builtin
25316 cat >>confdefs.h
<<\_ACEOF
25317 #define WX_NO_REGEX_ADVANCED 1
25326 if test "$wxUSE_ZLIB" != "no" ; then
25327 cat >>confdefs.h
<<\_ACEOF
25328 #define wxUSE_ZLIB 1
25332 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25333 if test "$USE_DARWIN" = 1; then
25334 system_zlib_h_ok
="yes"
25336 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25337 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25338 if test "${ac_cv_header_zlib_h+set}" = set; then
25339 echo $ECHO_N "(cached) $ECHO_C" >&6
25341 if test "$cross_compiling" = yes; then
25342 unset ac_cv_header_zlib_h
25345 cat >conftest.
$ac_ext <<_ACEOF
25348 cat confdefs.h
>>conftest.
$ac_ext
25349 cat >>conftest.
$ac_ext <<_ACEOF
25350 /* end confdefs.h. */
25357 FILE *f=fopen("conftestval", "w");
25360 ZLIB_VERSION[0] == '1' &&
25361 (ZLIB_VERSION[2] > '1' ||
25362 (ZLIB_VERSION[2] == '1' &&
25363 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25368 rm -f conftest
$ac_exeext
25369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25370 (eval $ac_link) 2>&5
25372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25375 (eval $ac_try) 2>&5
25377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25378 (exit $ac_status); }; }; then
25379 ac_cv_header_zlib_h
=`cat conftestval`
25381 echo "$as_me: program exited with status $ac_status" >&5
25382 echo "$as_me: failed program was:" >&5
25383 sed 's/^/| /' conftest.
$ac_ext >&5
25385 ( exit $ac_status )
25386 ac_cv_header_zlib_h
=no
25388 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25392 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25393 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25394 if test "${ac_cv_header_zlib_h+set}" = set; then
25395 echo "$as_me:$LINENO: checking for zlib.h" >&5
25396 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25397 if test "${ac_cv_header_zlib_h+set}" = set; then
25398 echo $ECHO_N "(cached) $ECHO_C" >&6
25400 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25401 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25403 # Is the header compilable?
25404 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25405 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25406 cat >conftest.
$ac_ext <<_ACEOF
25409 cat confdefs.h
>>conftest.
$ac_ext
25410 cat >>conftest.
$ac_ext <<_ACEOF
25411 /* end confdefs.h. */
25412 $ac_includes_default
25415 rm -f conftest.
$ac_objext
25416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25417 (eval $ac_compile) 2>conftest.er1
25419 grep -v '^ *+' conftest.er1
>conftest.err
25421 cat conftest.err
>&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); } &&
25424 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25426 (eval $ac_try) 2>&5
25428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25429 (exit $ac_status); }; } &&
25430 { ac_try
='test -s conftest.$ac_objext'
25431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25432 (eval $ac_try) 2>&5
25434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25435 (exit $ac_status); }; }; then
25436 ac_header_compiler
=yes
25438 echo "$as_me: failed program was:" >&5
25439 sed 's/^/| /' conftest.
$ac_ext >&5
25441 ac_header_compiler
=no
25443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25445 echo "${ECHO_T}$ac_header_compiler" >&6
25447 # Is the header present?
25448 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25449 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25450 cat >conftest.
$ac_ext <<_ACEOF
25453 cat confdefs.h
>>conftest.
$ac_ext
25454 cat >>conftest.
$ac_ext <<_ACEOF
25455 /* end confdefs.h. */
25458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25459 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25461 grep -v '^ *+' conftest.er1
>conftest.err
25463 cat conftest.err
>&5
25464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25465 (exit $ac_status); } >/dev
/null
; then
25466 if test -s conftest.err
; then
25467 ac_cpp_err
=$ac_c_preproc_warn_flag
25468 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25475 if test -z "$ac_cpp_err"; then
25476 ac_header_preproc
=yes
25478 echo "$as_me: failed program was:" >&5
25479 sed 's/^/| /' conftest.
$ac_ext >&5
25481 ac_header_preproc
=no
25483 rm -f conftest.err conftest.
$ac_ext
25484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25485 echo "${ECHO_T}$ac_header_preproc" >&6
25487 # So? What about this header?
25488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25490 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25491 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25492 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25493 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25494 ac_header_preproc
=yes
25497 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25498 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25499 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25500 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25501 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25502 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25503 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25504 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25505 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25506 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25507 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25508 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25511 ## ----------------------------------------- ##
25512 ## Report this to wx-dev@lists.wxwidgets.org ##
25513 ## ----------------------------------------- ##
25516 sed "s/^/$as_me: WARNING: /" >&2
25519 echo "$as_me:$LINENO: checking for zlib.h" >&5
25520 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25521 if test "${ac_cv_header_zlib_h+set}" = set; then
25522 echo $ECHO_N "(cached) $ECHO_C" >&6
25524 ac_cv_header_zlib_h
=$ac_header_preproc
25526 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25527 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25533 system_zlib_h_ok
=$ac_cv_header_zlib_h
25536 if test "$system_zlib_h_ok" = "yes"; then
25537 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25538 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25539 if test "${ac_cv_lib_z_deflate+set}" = set; then
25540 echo $ECHO_N "(cached) $ECHO_C" >&6
25542 ac_check_lib_save_LIBS
=$LIBS
25544 cat >conftest.
$ac_ext <<_ACEOF
25547 cat confdefs.h
>>conftest.
$ac_ext
25548 cat >>conftest.
$ac_ext <<_ACEOF
25549 /* end confdefs.h. */
25551 /* Override any gcc2 internal prototype to avoid an error. */
25555 /* We use char because int might match the return type of a gcc2
25556 builtin and then its argument prototype would still apply. */
25566 rm -f conftest.
$ac_objext conftest
$ac_exeext
25567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25568 (eval $ac_link) 2>conftest.er1
25570 grep -v '^ *+' conftest.er1
>conftest.err
25572 cat conftest.err
>&5
25573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25574 (exit $ac_status); } &&
25575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25577 (eval $ac_try) 2>&5
25579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 (exit $ac_status); }; } &&
25581 { ac_try
='test -s conftest$ac_exeext'
25582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25583 (eval $ac_try) 2>&5
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); }; }; then
25587 ac_cv_lib_z_deflate
=yes
25589 echo "$as_me: failed program was:" >&5
25590 sed 's/^/| /' conftest.
$ac_ext >&5
25592 ac_cv_lib_z_deflate
=no
25594 rm -f conftest.err conftest.
$ac_objext \
25595 conftest
$ac_exeext conftest.
$ac_ext
25596 LIBS
=$ac_check_lib_save_LIBS
25598 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25599 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25600 if test $ac_cv_lib_z_deflate = yes; then
25606 if test "x$ZLIB_LINK" = "x" ; then
25607 if test "$wxUSE_ZLIB" = "sys" ; then
25608 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25609 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25610 { (exit 1); exit 1; }; }
25612 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25613 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25624 if test "$wxUSE_LIBPNG" != "no" ; then
25625 cat >>confdefs.h
<<\_ACEOF
25626 #define wxUSE_LIBPNG 1
25630 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25631 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25632 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25636 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25637 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25638 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25639 wxUSE_LIBPNG
=builtin
25642 if test "$wxUSE_MGL" != 1 ; then
25643 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25644 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25645 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25646 if test "${ac_cv_header_png_h+set}" = set; then
25647 echo $ECHO_N "(cached) $ECHO_C" >&6
25649 if test "$cross_compiling" = yes; then
25650 unset ac_cv_header_png_h
25653 cat >conftest.
$ac_ext <<_ACEOF
25656 cat confdefs.h
>>conftest.
$ac_ext
25657 cat >>conftest.
$ac_ext <<_ACEOF
25658 /* end confdefs.h. */
25665 FILE *f=fopen("conftestval", "w");
25668 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25673 rm -f conftest
$ac_exeext
25674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25675 (eval $ac_link) 2>&5
25677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25678 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25680 (eval $ac_try) 2>&5
25682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25683 (exit $ac_status); }; }; then
25684 ac_cv_header_png_h
=`cat conftestval`
25686 echo "$as_me: program exited with status $ac_status" >&5
25687 echo "$as_me: failed program was:" >&5
25688 sed 's/^/| /' conftest.
$ac_ext >&5
25690 ( exit $ac_status )
25691 ac_cv_header_png_h
=no
25693 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25697 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25698 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25699 if test "${ac_cv_header_png_h+set}" = set; then
25700 echo "$as_me:$LINENO: checking for png.h" >&5
25701 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25702 if test "${ac_cv_header_png_h+set}" = set; then
25703 echo $ECHO_N "(cached) $ECHO_C" >&6
25705 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25706 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25708 # Is the header compilable?
25709 echo "$as_me:$LINENO: checking png.h usability" >&5
25710 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25711 cat >conftest.
$ac_ext <<_ACEOF
25714 cat confdefs.h
>>conftest.
$ac_ext
25715 cat >>conftest.
$ac_ext <<_ACEOF
25716 /* end confdefs.h. */
25717 $ac_includes_default
25720 rm -f conftest.
$ac_objext
25721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25722 (eval $ac_compile) 2>conftest.er1
25724 grep -v '^ *+' conftest.er1
>conftest.err
25726 cat conftest.err
>&5
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); } &&
25729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25731 (eval $ac_try) 2>&5
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); }; } &&
25735 { ac_try
='test -s conftest.$ac_objext'
25736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25737 (eval $ac_try) 2>&5
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); }; }; then
25741 ac_header_compiler
=yes
25743 echo "$as_me: failed program was:" >&5
25744 sed 's/^/| /' conftest.
$ac_ext >&5
25746 ac_header_compiler
=no
25748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25750 echo "${ECHO_T}$ac_header_compiler" >&6
25752 # Is the header present?
25753 echo "$as_me:$LINENO: checking png.h presence" >&5
25754 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25755 cat >conftest.
$ac_ext <<_ACEOF
25758 cat confdefs.h
>>conftest.
$ac_ext
25759 cat >>conftest.
$ac_ext <<_ACEOF
25760 /* end confdefs.h. */
25763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25764 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25766 grep -v '^ *+' conftest.er1
>conftest.err
25768 cat conftest.err
>&5
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); } >/dev
/null
; then
25771 if test -s conftest.err
; then
25772 ac_cpp_err
=$ac_c_preproc_warn_flag
25773 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25780 if test -z "$ac_cpp_err"; then
25781 ac_header_preproc
=yes
25783 echo "$as_me: failed program was:" >&5
25784 sed 's/^/| /' conftest.
$ac_ext >&5
25786 ac_header_preproc
=no
25788 rm -f conftest.err conftest.
$ac_ext
25789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25790 echo "${ECHO_T}$ac_header_preproc" >&6
25792 # So? What about this header?
25793 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25795 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25796 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25797 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25798 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25799 ac_header_preproc
=yes
25802 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25803 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25804 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25805 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25806 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25807 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25808 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25809 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25810 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25811 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25812 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25813 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25816 ## ----------------------------------------- ##
25817 ## Report this to wx-dev@lists.wxwidgets.org ##
25818 ## ----------------------------------------- ##
25821 sed "s/^/$as_me: WARNING: /" >&2
25824 echo "$as_me:$LINENO: checking for png.h" >&5
25825 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25826 if test "${ac_cv_header_png_h+set}" = set; then
25827 echo $ECHO_N "(cached) $ECHO_C" >&6
25829 ac_cv_header_png_h
=$ac_header_preproc
25831 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25832 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25838 if test "$ac_cv_header_png_h" = "yes"; then
25839 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25840 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25841 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25842 echo $ECHO_N "(cached) $ECHO_C" >&6
25844 ac_check_lib_save_LIBS
=$LIBS
25845 LIBS
="-lpng -lz -lm $LIBS"
25846 cat >conftest.
$ac_ext <<_ACEOF
25849 cat confdefs.h
>>conftest.
$ac_ext
25850 cat >>conftest.
$ac_ext <<_ACEOF
25851 /* end confdefs.h. */
25853 /* Override any gcc2 internal prototype to avoid an error. */
25857 /* We use char because int might match the return type of a gcc2
25858 builtin and then its argument prototype would still apply. */
25859 char png_check_sig ();
25868 rm -f conftest.
$ac_objext conftest
$ac_exeext
25869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25870 (eval $ac_link) 2>conftest.er1
25872 grep -v '^ *+' conftest.er1
>conftest.err
25874 cat conftest.err
>&5
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); } &&
25877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25879 (eval $ac_try) 2>&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); }; } &&
25883 { ac_try
='test -s conftest$ac_exeext'
25884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25885 (eval $ac_try) 2>&5
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); }; }; then
25889 ac_cv_lib_png_png_check_sig
=yes
25891 echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.
$ac_ext >&5
25894 ac_cv_lib_png_png_check_sig
=no
25896 rm -f conftest.err conftest.
$ac_objext \
25897 conftest
$ac_exeext conftest.
$ac_ext
25898 LIBS
=$ac_check_lib_save_LIBS
25900 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25901 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25902 if test $ac_cv_lib_png_png_check_sig = yes; then
25903 PNG_LINK
=" -lpng -lz"
25908 if test "x$PNG_LINK" = "x" ; then
25909 if test "$wxUSE_LIBPNG" = "sys" ; then
25910 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25911 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25912 { (exit 1); exit 1; }; }
25914 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25915 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25916 wxUSE_LIBPNG
=builtin
25924 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25929 if test "$wxUSE_LIBJPEG" != "no" ; then
25930 cat >>confdefs.h
<<\_ACEOF
25931 #define wxUSE_LIBJPEG 1
25935 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25936 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25937 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25941 if test "$wxUSE_MGL" != 1 ; then
25942 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25943 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25944 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25945 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25946 echo $ECHO_N "(cached) $ECHO_C" >&6
25948 cat >conftest.
$ac_ext <<_ACEOF
25951 cat confdefs.h
>>conftest.
$ac_ext
25952 cat >>conftest.
$ac_ext <<_ACEOF
25953 /* end confdefs.h. */
25955 #undef HAVE_STDLIB_H
25957 #include <jpeglib.h>
25968 rm -f conftest.
$ac_objext
25969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25970 (eval $ac_compile) 2>conftest.er1
25972 grep -v '^ *+' conftest.er1
>conftest.err
25974 cat conftest.err
>&5
25975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976 (exit $ac_status); } &&
25977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25979 (eval $ac_try) 2>&5
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); }; } &&
25983 { ac_try
='test -s conftest.$ac_objext'
25984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25985 (eval $ac_try) 2>&5
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); }; }; then
25989 ac_cv_header_jpeglib_h
=yes
25991 echo "$as_me: failed program was:" >&5
25992 sed 's/^/| /' conftest.
$ac_ext >&5
25994 ac_cv_header_jpeglib_h
=no
25997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26001 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26002 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26004 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26005 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26006 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26007 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26008 echo $ECHO_N "(cached) $ECHO_C" >&6
26010 ac_check_lib_save_LIBS
=$LIBS
26011 LIBS
="-ljpeg $LIBS"
26012 cat >conftest.
$ac_ext <<_ACEOF
26015 cat confdefs.h
>>conftest.
$ac_ext
26016 cat >>conftest.
$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26019 /* Override any gcc2 internal prototype to avoid an error. */
26023 /* We use char because int might match the return type of a gcc2
26024 builtin and then its argument prototype would still apply. */
26025 char jpeg_read_header ();
26029 jpeg_read_header ();
26034 rm -f conftest.
$ac_objext conftest
$ac_exeext
26035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26036 (eval $ac_link) 2>conftest.er1
26038 grep -v '^ *+' conftest.er1
>conftest.err
26040 cat conftest.err
>&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } &&
26043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; } &&
26049 { ac_try
='test -s conftest$ac_exeext'
26050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26051 (eval $ac_try) 2>&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); }; }; then
26055 ac_cv_lib_jpeg_jpeg_read_header
=yes
26057 echo "$as_me: failed program was:" >&5
26058 sed 's/^/| /' conftest.
$ac_ext >&5
26060 ac_cv_lib_jpeg_jpeg_read_header
=no
26062 rm -f conftest.err conftest.
$ac_objext \
26063 conftest
$ac_exeext conftest.
$ac_ext
26064 LIBS
=$ac_check_lib_save_LIBS
26066 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26067 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26068 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26069 JPEG_LINK
=" -ljpeg"
26074 if test "x$JPEG_LINK" = "x" ; then
26075 if test "$wxUSE_LIBJPEG" = "sys" ; then
26076 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26077 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26078 { (exit 1); exit 1; }; }
26080 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26081 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26082 wxUSE_LIBJPEG
=builtin
26087 if test "$wxUSE_MSW" = 1; then
26088 echo "$as_me:$LINENO: checking for boolean" >&5
26089 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
26090 if test "${ac_cv_type_boolean+set}" = set; then
26091 echo $ECHO_N "(cached) $ECHO_C" >&6
26093 cat >conftest.
$ac_ext <<_ACEOF
26096 cat confdefs.h
>>conftest.
$ac_ext
26097 cat >>conftest.
$ac_ext <<_ACEOF
26098 /* end confdefs.h. */
26099 #include <windows.h>
26106 if (sizeof (boolean))
26112 rm -f conftest.
$ac_objext
26113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26114 (eval $ac_compile) 2>conftest.er1
26116 grep -v '^ *+' conftest.er1
>conftest.err
26118 cat conftest.err
>&5
26119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120 (exit $ac_status); } &&
26121 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26123 (eval $ac_try) 2>&5
26125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26126 (exit $ac_status); }; } &&
26127 { ac_try
='test -s conftest.$ac_objext'
26128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26129 (eval $ac_try) 2>&5
26131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26132 (exit $ac_status); }; }; then
26133 ac_cv_type_boolean
=yes
26135 echo "$as_me: failed program was:" >&5
26136 sed 's/^/| /' conftest.
$ac_ext >&5
26138 ac_cv_type_boolean
=no
26140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26142 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26143 echo "${ECHO_T}$ac_cv_type_boolean" >&6
26144 if test $ac_cv_type_boolean = yes; then
26146 cat >>confdefs.h
<<_ACEOF
26147 #define HAVE_BOOLEAN 1
26151 echo "$as_me:$LINENO: checking for boolean" >&5
26152 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
26153 if test "${ac_cv_type_boolean+set}" = set; then
26154 echo $ECHO_N "(cached) $ECHO_C" >&6
26156 cat >conftest.
$ac_ext <<_ACEOF
26159 cat confdefs.h
>>conftest.
$ac_ext
26160 cat >>conftest.
$ac_ext <<_ACEOF
26161 /* end confdefs.h. */
26163 #undef HAVE_BOOLEAN
26165 #include <jpeglib.h>
26173 if (sizeof (boolean))
26179 rm -f conftest.
$ac_objext
26180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26181 (eval $ac_compile) 2>conftest.er1
26183 grep -v '^ *+' conftest.er1
>conftest.err
26185 cat conftest.err
>&5
26186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 (exit $ac_status); } &&
26188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26190 (eval $ac_try) 2>&5
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); }; } &&
26194 { ac_try
='test -s conftest.$ac_objext'
26195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26196 (eval $ac_try) 2>&5
26198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26199 (exit $ac_status); }; }; then
26200 ac_cv_type_boolean
=yes
26202 echo "$as_me: failed program was:" >&5
26203 sed 's/^/| /' conftest.
$ac_ext >&5
26205 ac_cv_type_boolean
=no
26207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26209 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26210 echo "${ECHO_T}$ac_cv_type_boolean" >&6
26212 echo "$as_me:$LINENO: checking size of boolean" >&5
26213 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
26214 if test "${ac_cv_sizeof_boolean+set}" = set; then
26215 echo $ECHO_N "(cached) $ECHO_C" >&6
26217 if test "$ac_cv_type_boolean" = yes; then
26218 # The cast to unsigned long works around a bug in the HP C Compiler
26219 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26220 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26221 # This bug is HP SR number 8606223364.
26222 if test "$cross_compiling" = yes; then
26223 # Depending upon the size, compute the lo and hi bounds.
26224 cat >conftest.
$ac_ext <<_ACEOF
26227 cat confdefs.h
>>conftest.
$ac_ext
26228 cat >>conftest.
$ac_ext <<_ACEOF
26229 /* end confdefs.h. */
26231 #undef HAVE_BOOLEAN
26233 #include <jpeglib.h>
26239 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
26246 rm -f conftest.
$ac_objext
26247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26248 (eval $ac_compile) 2>conftest.er1
26250 grep -v '^ *+' conftest.er1
>conftest.err
26252 cat conftest.err
>&5
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); } &&
26255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26257 (eval $ac_try) 2>&5
26259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260 (exit $ac_status); }; } &&
26261 { ac_try
='test -s conftest.$ac_objext'
26262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26263 (eval $ac_try) 2>&5
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); }; }; then
26269 cat >conftest.
$ac_ext <<_ACEOF
26272 cat confdefs.h
>>conftest.
$ac_ext
26273 cat >>conftest.
$ac_ext <<_ACEOF
26274 /* end confdefs.h. */
26276 #undef HAVE_BOOLEAN
26278 #include <jpeglib.h>
26284 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
26291 rm -f conftest.
$ac_objext
26292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26293 (eval $ac_compile) 2>conftest.er1
26295 grep -v '^ *+' conftest.er1
>conftest.err
26297 cat conftest.err
>&5
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); } &&
26300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26302 (eval $ac_try) 2>&5
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); }; } &&
26306 { ac_try
='test -s conftest.$ac_objext'
26307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26308 (eval $ac_try) 2>&5
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); }; }; then
26312 ac_hi
=$ac_mid; break
26314 echo "$as_me: failed program was:" >&5
26315 sed 's/^/| /' conftest.
$ac_ext >&5
26317 ac_lo
=`expr $ac_mid + 1`
26318 if test $ac_lo -le $ac_mid; then
26322 ac_mid
=`expr 2 '*' $ac_mid + 1`
26324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26327 echo "$as_me: failed program was:" >&5
26328 sed 's/^/| /' conftest.
$ac_ext >&5
26330 cat >conftest.
$ac_ext <<_ACEOF
26333 cat confdefs.h
>>conftest.
$ac_ext
26334 cat >>conftest.
$ac_ext <<_ACEOF
26335 /* end confdefs.h. */
26337 #undef HAVE_BOOLEAN
26339 #include <jpeglib.h>
26345 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
26352 rm -f conftest.
$ac_objext
26353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26354 (eval $ac_compile) 2>conftest.er1
26356 grep -v '^ *+' conftest.er1
>conftest.err
26358 cat conftest.err
>&5
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); } &&
26361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26363 (eval $ac_try) 2>&5
26365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366 (exit $ac_status); }; } &&
26367 { ac_try
='test -s conftest.$ac_objext'
26368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26369 (eval $ac_try) 2>&5
26371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372 (exit $ac_status); }; }; then
26375 cat >conftest.
$ac_ext <<_ACEOF
26378 cat confdefs.h
>>conftest.
$ac_ext
26379 cat >>conftest.
$ac_ext <<_ACEOF
26380 /* end confdefs.h. */
26382 #undef HAVE_BOOLEAN
26384 #include <jpeglib.h>
26390 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
26397 rm -f conftest.
$ac_objext
26398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26399 (eval $ac_compile) 2>conftest.er1
26401 grep -v '^ *+' conftest.er1
>conftest.err
26403 cat conftest.err
>&5
26404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26405 (exit $ac_status); } &&
26406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26408 (eval $ac_try) 2>&5
26410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 (exit $ac_status); }; } &&
26412 { ac_try
='test -s conftest.$ac_objext'
26413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26414 (eval $ac_try) 2>&5
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); }; }; then
26418 ac_lo
=$ac_mid; break
26420 echo "$as_me: failed program was:" >&5
26421 sed 's/^/| /' conftest.
$ac_ext >&5
26423 ac_hi
=`expr '(' $ac_mid ')' - 1`
26424 if test $ac_mid -le $ac_hi; then
26428 ac_mid
=`expr 2 '*' $ac_mid`
26430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26433 echo "$as_me: failed program was:" >&5
26434 sed 's/^/| /' conftest.
$ac_ext >&5
26438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26441 # Binary search between lo and hi bounds.
26442 while test "x$ac_lo" != "x$ac_hi"; do
26443 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26444 cat >conftest.
$ac_ext <<_ACEOF
26447 cat confdefs.h
>>conftest.
$ac_ext
26448 cat >>conftest.
$ac_ext <<_ACEOF
26449 /* end confdefs.h. */
26451 #undef HAVE_BOOLEAN
26453 #include <jpeglib.h>
26459 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
26466 rm -f conftest.
$ac_objext
26467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26468 (eval $ac_compile) 2>conftest.er1
26470 grep -v '^ *+' conftest.er1
>conftest.err
26472 cat conftest.err
>&5
26473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26474 (exit $ac_status); } &&
26475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26477 (eval $ac_try) 2>&5
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); }; } &&
26481 { ac_try
='test -s conftest.$ac_objext'
26482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26483 (eval $ac_try) 2>&5
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); }; }; then
26489 echo "$as_me: failed program was:" >&5
26490 sed 's/^/| /' conftest.
$ac_ext >&5
26492 ac_lo
=`expr '(' $ac_mid ')' + 1`
26494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26497 ?
*) ac_cv_sizeof_boolean
=$ac_lo;;
26498 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
26499 See \`config.log' for more details." >&5
26500 echo "$as_me: error: cannot compute sizeof (boolean), 77
26501 See \`config.log' for more details." >&2;}
26502 { (exit 1); exit 1; }; } ;;
26505 if test "$cross_compiling" = yes; then
26506 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
26507 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
26508 { (exit 1); exit 1; }; }
26510 cat >conftest.
$ac_ext <<_ACEOF
26513 cat confdefs.h
>>conftest.
$ac_ext
26514 cat >>conftest.
$ac_ext <<_ACEOF
26515 /* end confdefs.h. */
26517 #undef HAVE_BOOLEAN
26519 #include <jpeglib.h>
26522 long longval () { return (long) (sizeof (boolean)); }
26523 unsigned long ulongval () { return (long) (sizeof (boolean)); }
26525 #include <stdlib.h>
26530 FILE *f = fopen ("conftest.val", "w");
26533 if (((long) (sizeof (boolean))) < 0)
26535 long i = longval ();
26536 if (i != ((long) (sizeof (boolean))))
26538 fprintf (f, "%ld\n", i);
26542 unsigned long i = ulongval ();
26543 if (i != ((long) (sizeof (boolean))))
26545 fprintf (f, "%lu\n", i);
26547 exit (ferror (f) || fclose (f) != 0);
26553 rm -f conftest
$ac_exeext
26554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26555 (eval $ac_link) 2>&5
26557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26558 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26560 (eval $ac_try) 2>&5
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); }; }; then
26564 ac_cv_sizeof_boolean
=`cat conftest.val`
26566 echo "$as_me: program exited with status $ac_status" >&5
26567 echo "$as_me: failed program was:" >&5
26568 sed 's/^/| /' conftest.
$ac_ext >&5
26570 ( exit $ac_status )
26571 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
26572 See \`config.log' for more details." >&5
26573 echo "$as_me: error: cannot compute sizeof (boolean), 77
26574 See \`config.log' for more details." >&2;}
26575 { (exit 1); exit 1; }; }
26577 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26582 ac_cv_sizeof_boolean
=0
26585 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26586 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
26587 cat >>confdefs.h
<<_ACEOF
26588 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26592 cat >>confdefs.h
<<_ACEOF
26593 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26607 TIFF_PREREQ_LINKS
=-lm
26608 if test "$wxUSE_LIBTIFF" != "no" ; then
26609 cat >>confdefs.h
<<\_ACEOF
26610 #define wxUSE_LIBTIFF 1
26614 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26615 if test "$wxUSE_LIBJPEG" = "sys"; then
26616 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26618 if test "$wxUSE_ZLIB" = "sys"; then
26619 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26621 if test "${ac_cv_header_tiffio_h+set}" = set; then
26622 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26623 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26624 if test "${ac_cv_header_tiffio_h+set}" = set; then
26625 echo $ECHO_N "(cached) $ECHO_C" >&6
26627 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26628 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26630 # Is the header compilable?
26631 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26632 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26633 cat >conftest.
$ac_ext <<_ACEOF
26636 cat confdefs.h
>>conftest.
$ac_ext
26637 cat >>conftest.
$ac_ext <<_ACEOF
26638 /* end confdefs.h. */
26639 $ac_includes_default
26640 #include <tiffio.h>
26642 rm -f conftest.
$ac_objext
26643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26644 (eval $ac_compile) 2>conftest.er1
26646 grep -v '^ *+' conftest.er1
>conftest.err
26648 cat conftest.err
>&5
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); } &&
26651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26653 (eval $ac_try) 2>&5
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); }; } &&
26657 { ac_try
='test -s conftest.$ac_objext'
26658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26659 (eval $ac_try) 2>&5
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); }; }; then
26663 ac_header_compiler
=yes
26665 echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.
$ac_ext >&5
26668 ac_header_compiler
=no
26670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26672 echo "${ECHO_T}$ac_header_compiler" >&6
26674 # Is the header present?
26675 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26676 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26677 cat >conftest.
$ac_ext <<_ACEOF
26680 cat confdefs.h
>>conftest.
$ac_ext
26681 cat >>conftest.
$ac_ext <<_ACEOF
26682 /* end confdefs.h. */
26683 #include <tiffio.h>
26685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26686 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26688 grep -v '^ *+' conftest.er1
>conftest.err
26690 cat conftest.err
>&5
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); } >/dev
/null
; then
26693 if test -s conftest.err
; then
26694 ac_cpp_err
=$ac_c_preproc_warn_flag
26695 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26702 if test -z "$ac_cpp_err"; then
26703 ac_header_preproc
=yes
26705 echo "$as_me: failed program was:" >&5
26706 sed 's/^/| /' conftest.
$ac_ext >&5
26708 ac_header_preproc
=no
26710 rm -f conftest.err conftest.
$ac_ext
26711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26712 echo "${ECHO_T}$ac_header_preproc" >&6
26714 # So? What about this header?
26715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26717 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26718 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26719 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26720 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26721 ac_header_preproc
=yes
26724 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26725 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26726 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26727 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26728 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26729 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26730 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26731 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26732 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26733 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26734 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26735 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26738 ## ----------------------------------------- ##
26739 ## Report this to wx-dev@lists.wxwidgets.org ##
26740 ## ----------------------------------------- ##
26743 sed "s/^/$as_me: WARNING: /" >&2
26746 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26747 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26748 if test "${ac_cv_header_tiffio_h+set}" = set; then
26749 echo $ECHO_N "(cached) $ECHO_C" >&6
26751 ac_cv_header_tiffio_h
=$ac_header_preproc
26753 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26754 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26757 if test $ac_cv_header_tiffio_h = yes; then
26759 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26760 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26761 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26762 echo $ECHO_N "(cached) $ECHO_C" >&6
26764 ac_check_lib_save_LIBS
=$LIBS
26765 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26766 cat >conftest.
$ac_ext <<_ACEOF
26769 cat confdefs.h
>>conftest.
$ac_ext
26770 cat >>conftest.
$ac_ext <<_ACEOF
26771 /* end confdefs.h. */
26773 /* Override any gcc2 internal prototype to avoid an error. */
26777 /* We use char because int might match the return type of a gcc2
26778 builtin and then its argument prototype would still apply. */
26788 rm -f conftest.
$ac_objext conftest
$ac_exeext
26789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26790 (eval $ac_link) 2>conftest.er1
26792 grep -v '^ *+' conftest.er1
>conftest.err
26794 cat conftest.err
>&5
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); } &&
26797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26799 (eval $ac_try) 2>&5
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); }; } &&
26803 { ac_try
='test -s conftest$ac_exeext'
26804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26805 (eval $ac_try) 2>&5
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); }; }; then
26809 ac_cv_lib_tiff_TIFFError
=yes
26811 echo "$as_me: failed program was:" >&5
26812 sed 's/^/| /' conftest.
$ac_ext >&5
26814 ac_cv_lib_tiff_TIFFError
=no
26816 rm -f conftest.err conftest.
$ac_objext \
26817 conftest
$ac_exeext conftest.
$ac_ext
26818 LIBS
=$ac_check_lib_save_LIBS
26820 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26821 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26822 if test $ac_cv_lib_tiff_TIFFError = yes; then
26823 TIFF_LINK
=" -ltiff"
26832 if test "x$TIFF_LINK" = "x" ; then
26833 if test "$wxUSE_LIBTIFF" = "sys" ; then
26834 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26835 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26836 { (exit 1); exit 1; }; }
26838 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26839 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26840 wxUSE_LIBTIFF
=builtin
26849 if test "$wxUSE_WCHAR_T" != "yes"; then
26850 if test "$wxUSE_EXPAT" != "no"; then
26851 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26852 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26855 if test "$wxUSE_XML" != "no"; then
26856 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26857 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26862 if test "$wxUSE_EXPAT" != "no"; then
26864 cat >>confdefs.h
<<\_ACEOF
26865 #define wxUSE_EXPAT 1
26868 cat >>confdefs.h
<<\_ACEOF
26869 #define wxUSE_XML 1
26873 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26874 if test "${ac_cv_header_expat_h+set}" = set; then
26875 echo "$as_me:$LINENO: checking for expat.h" >&5
26876 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26877 if test "${ac_cv_header_expat_h+set}" = set; then
26878 echo $ECHO_N "(cached) $ECHO_C" >&6
26880 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26881 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26883 # Is the header compilable?
26884 echo "$as_me:$LINENO: checking expat.h usability" >&5
26885 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26886 cat >conftest.
$ac_ext <<_ACEOF
26889 cat confdefs.h
>>conftest.
$ac_ext
26890 cat >>conftest.
$ac_ext <<_ACEOF
26891 /* end confdefs.h. */
26892 $ac_includes_default
26895 rm -f conftest.
$ac_objext
26896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26897 (eval $ac_compile) 2>conftest.er1
26899 grep -v '^ *+' conftest.er1
>conftest.err
26901 cat conftest.err
>&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); } &&
26904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26906 (eval $ac_try) 2>&5
26908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26909 (exit $ac_status); }; } &&
26910 { ac_try
='test -s conftest.$ac_objext'
26911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26912 (eval $ac_try) 2>&5
26914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26915 (exit $ac_status); }; }; then
26916 ac_header_compiler
=yes
26918 echo "$as_me: failed program was:" >&5
26919 sed 's/^/| /' conftest.
$ac_ext >&5
26921 ac_header_compiler
=no
26923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26924 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26925 echo "${ECHO_T}$ac_header_compiler" >&6
26927 # Is the header present?
26928 echo "$as_me:$LINENO: checking expat.h presence" >&5
26929 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26930 cat >conftest.
$ac_ext <<_ACEOF
26933 cat confdefs.h
>>conftest.
$ac_ext
26934 cat >>conftest.
$ac_ext <<_ACEOF
26935 /* end confdefs.h. */
26938 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26939 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26941 grep -v '^ *+' conftest.er1
>conftest.err
26943 cat conftest.err
>&5
26944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26945 (exit $ac_status); } >/dev
/null
; then
26946 if test -s conftest.err
; then
26947 ac_cpp_err
=$ac_c_preproc_warn_flag
26948 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26955 if test -z "$ac_cpp_err"; then
26956 ac_header_preproc
=yes
26958 echo "$as_me: failed program was:" >&5
26959 sed 's/^/| /' conftest.
$ac_ext >&5
26961 ac_header_preproc
=no
26963 rm -f conftest.err conftest.
$ac_ext
26964 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26965 echo "${ECHO_T}$ac_header_preproc" >&6
26967 # So? What about this header?
26968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26970 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26971 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26972 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26973 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26974 ac_header_preproc
=yes
26977 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26978 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26979 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26980 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26981 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26982 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26983 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26984 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26985 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26986 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26987 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26988 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26991 ## ----------------------------------------- ##
26992 ## Report this to wx-dev@lists.wxwidgets.org ##
26993 ## ----------------------------------------- ##
26996 sed "s/^/$as_me: WARNING: /" >&2
26999 echo "$as_me:$LINENO: checking for expat.h" >&5
27000 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
27001 if test "${ac_cv_header_expat_h+set}" = set; then
27002 echo $ECHO_N "(cached) $ECHO_C" >&6
27004 ac_cv_header_expat_h
=$ac_header_preproc
27006 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27007 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
27010 if test $ac_cv_header_expat_h = yes; then
27015 if test "x$found_expat_h" = "x1"; then
27016 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27017 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
27018 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27019 echo $ECHO_N "(cached) $ECHO_C" >&6
27023 ac_cpp
='$CXXCPP $CPPFLAGS'
27024 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27025 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27026 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27028 cat >conftest.
$ac_ext <<_ACEOF
27031 cat confdefs.h
>>conftest.
$ac_ext
27032 cat >>conftest.
$ac_ext <<_ACEOF
27033 /* end confdefs.h. */
27043 rm -f conftest.
$ac_objext
27044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27045 (eval $ac_compile) 2>conftest.er1
27047 grep -v '^ *+' conftest.er1
>conftest.err
27049 cat conftest.err
>&5
27050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27051 (exit $ac_status); } &&
27052 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27054 (eval $ac_try) 2>&5
27056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057 (exit $ac_status); }; } &&
27058 { ac_try
='test -s conftest.$ac_objext'
27059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27060 (eval $ac_try) 2>&5
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); }; }; then
27064 wx_cv_expat_is_not_broken
=yes
27066 echo "$as_me: failed program was:" >&5
27067 sed 's/^/| /' conftest.
$ac_ext >&5
27069 wx_cv_expat_is_not_broken
=no
27072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27074 ac_cpp
='$CPP $CPPFLAGS'
27075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27082 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27083 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27084 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27085 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27086 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27087 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27088 echo $ECHO_N "(cached) $ECHO_C" >&6
27090 ac_check_lib_save_LIBS
=$LIBS
27091 LIBS
="-lexpat $LIBS"
27092 cat >conftest.
$ac_ext <<_ACEOF
27095 cat confdefs.h
>>conftest.
$ac_ext
27096 cat >>conftest.
$ac_ext <<_ACEOF
27097 /* end confdefs.h. */
27099 /* Override any gcc2 internal prototype to avoid an error. */
27103 /* We use char because int might match the return type of a gcc2
27104 builtin and then its argument prototype would still apply. */
27105 char XML_ParserCreate ();
27109 XML_ParserCreate ();
27114 rm -f conftest.
$ac_objext conftest
$ac_exeext
27115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27116 (eval $ac_link) 2>conftest.er1
27118 grep -v '^ *+' conftest.er1
>conftest.err
27120 cat conftest.err
>&5
27121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27122 (exit $ac_status); } &&
27123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27125 (eval $ac_try) 2>&5
27127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27128 (exit $ac_status); }; } &&
27129 { ac_try
='test -s conftest$ac_exeext'
27130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27131 (eval $ac_try) 2>&5
27133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27134 (exit $ac_status); }; }; then
27135 ac_cv_lib_expat_XML_ParserCreate
=yes
27137 echo "$as_me: failed program was:" >&5
27138 sed 's/^/| /' conftest.
$ac_ext >&5
27140 ac_cv_lib_expat_XML_ParserCreate
=no
27142 rm -f conftest.err conftest.
$ac_objext \
27143 conftest
$ac_exeext conftest.
$ac_ext
27144 LIBS
=$ac_check_lib_save_LIBS
27146 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27147 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27148 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27149 EXPAT_LINK
=" -lexpat"
27154 if test "x$EXPAT_LINK" = "x" ; then
27155 if test "$wxUSE_EXPAT" = "sys" ; then
27156 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27157 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27158 { (exit 1); exit 1; }; }
27160 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27161 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27162 wxUSE_EXPAT
=builtin
27168 if test "$wxUSE_EXPAT" = "builtin" ; then
27171 subdirs
="$subdirs src/expat"
27178 if test "$wxUSE_LIBMSPACK" != "no"; then
27179 if test "${ac_cv_header_mspack_h+set}" = set; then
27180 echo "$as_me:$LINENO: checking for mspack.h" >&5
27181 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27182 if test "${ac_cv_header_mspack_h+set}" = set; then
27183 echo $ECHO_N "(cached) $ECHO_C" >&6
27185 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27186 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27188 # Is the header compilable?
27189 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27190 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27191 cat >conftest.
$ac_ext <<_ACEOF
27194 cat confdefs.h
>>conftest.
$ac_ext
27195 cat >>conftest.
$ac_ext <<_ACEOF
27196 /* end confdefs.h. */
27197 $ac_includes_default
27198 #include <mspack.h>
27200 rm -f conftest.
$ac_objext
27201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27202 (eval $ac_compile) 2>conftest.er1
27204 grep -v '^ *+' conftest.er1
>conftest.err
27206 cat conftest.err
>&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); } &&
27209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27211 (eval $ac_try) 2>&5
27213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214 (exit $ac_status); }; } &&
27215 { ac_try
='test -s conftest.$ac_objext'
27216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27217 (eval $ac_try) 2>&5
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); }; }; then
27221 ac_header_compiler
=yes
27223 echo "$as_me: failed program was:" >&5
27224 sed 's/^/| /' conftest.
$ac_ext >&5
27226 ac_header_compiler
=no
27228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27229 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27230 echo "${ECHO_T}$ac_header_compiler" >&6
27232 # Is the header present?
27233 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27234 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27235 cat >conftest.
$ac_ext <<_ACEOF
27238 cat confdefs.h
>>conftest.
$ac_ext
27239 cat >>conftest.
$ac_ext <<_ACEOF
27240 /* end confdefs.h. */
27241 #include <mspack.h>
27243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27244 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27246 grep -v '^ *+' conftest.er1
>conftest.err
27248 cat conftest.err
>&5
27249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250 (exit $ac_status); } >/dev
/null
; then
27251 if test -s conftest.err
; then
27252 ac_cpp_err
=$ac_c_preproc_warn_flag
27253 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27260 if test -z "$ac_cpp_err"; then
27261 ac_header_preproc
=yes
27263 echo "$as_me: failed program was:" >&5
27264 sed 's/^/| /' conftest.
$ac_ext >&5
27266 ac_header_preproc
=no
27268 rm -f conftest.err conftest.
$ac_ext
27269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27270 echo "${ECHO_T}$ac_header_preproc" >&6
27272 # So? What about this header?
27273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27275 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27276 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27277 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27278 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27279 ac_header_preproc
=yes
27282 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27283 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27284 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27285 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27286 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27287 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27288 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27289 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27290 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27291 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27292 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27293 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27296 ## ----------------------------------------- ##
27297 ## Report this to wx-dev@lists.wxwidgets.org ##
27298 ## ----------------------------------------- ##
27301 sed "s/^/$as_me: WARNING: /" >&2
27304 echo "$as_me:$LINENO: checking for mspack.h" >&5
27305 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27306 if test "${ac_cv_header_mspack_h+set}" = set; then
27307 echo $ECHO_N "(cached) $ECHO_C" >&6
27309 ac_cv_header_mspack_h
=$ac_header_preproc
27311 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27312 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27315 if test $ac_cv_header_mspack_h = yes; then
27320 if test "x$found_mspack_h" = "x1"; then
27321 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27322 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27323 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27324 echo $ECHO_N "(cached) $ECHO_C" >&6
27326 ac_check_lib_save_LIBS
=$LIBS
27327 LIBS
="-lmspack $LIBS"
27328 cat >conftest.
$ac_ext <<_ACEOF
27331 cat confdefs.h
>>conftest.
$ac_ext
27332 cat >>conftest.
$ac_ext <<_ACEOF
27333 /* end confdefs.h. */
27335 /* Override any gcc2 internal prototype to avoid an error. */
27339 /* We use char because int might match the return type of a gcc2
27340 builtin and then its argument prototype would still apply. */
27341 char mspack_create_chm_decompressor ();
27345 mspack_create_chm_decompressor ();
27350 rm -f conftest.
$ac_objext conftest
$ac_exeext
27351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27352 (eval $ac_link) 2>conftest.er1
27354 grep -v '^ *+' conftest.er1
>conftest.err
27356 cat conftest.err
>&5
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); } &&
27359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27361 (eval $ac_try) 2>&5
27363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27364 (exit $ac_status); }; } &&
27365 { ac_try
='test -s conftest$ac_exeext'
27366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27367 (eval $ac_try) 2>&5
27369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370 (exit $ac_status); }; }; then
27371 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
27373 echo "$as_me: failed program was:" >&5
27374 sed 's/^/| /' conftest.
$ac_ext >&5
27376 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
27378 rm -f conftest.err conftest.
$ac_objext \
27379 conftest
$ac_exeext conftest.
$ac_ext
27380 LIBS
=$ac_check_lib_save_LIBS
27382 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27383 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27384 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27385 MSPACK_LINK
=" -lmspack"
27389 if test "x$MSPACK_LINK" = "x" ; then
27394 if test "$wxUSE_LIBMSPACK" != "no"; then
27395 cat >>confdefs.h
<<\_ACEOF
27396 #define wxUSE_LIBMSPACK 1
27410 if test "$USE_WIN32" = 1 ; then
27412 for ac_header
in w32api.h
27414 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27416 echo "$as_me:$LINENO: checking for $ac_header" >&5
27417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27419 echo $ECHO_N "(cached) $ECHO_C" >&6
27421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27424 # Is the header compilable?
27425 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27426 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27427 cat >conftest.
$ac_ext <<_ACEOF
27430 cat confdefs.h
>>conftest.
$ac_ext
27431 cat >>conftest.
$ac_ext <<_ACEOF
27432 /* end confdefs.h. */
27433 $ac_includes_default
27434 #include <$ac_header>
27436 rm -f conftest.
$ac_objext
27437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27438 (eval $ac_compile) 2>conftest.er1
27440 grep -v '^ *+' conftest.er1
>conftest.err
27442 cat conftest.err
>&5
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); } &&
27445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27447 (eval $ac_try) 2>&5
27449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450 (exit $ac_status); }; } &&
27451 { ac_try
='test -s conftest.$ac_objext'
27452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27453 (eval $ac_try) 2>&5
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); }; }; then
27457 ac_header_compiler
=yes
27459 echo "$as_me: failed program was:" >&5
27460 sed 's/^/| /' conftest.
$ac_ext >&5
27462 ac_header_compiler
=no
27464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27466 echo "${ECHO_T}$ac_header_compiler" >&6
27468 # Is the header present?
27469 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27470 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27471 cat >conftest.
$ac_ext <<_ACEOF
27474 cat confdefs.h
>>conftest.
$ac_ext
27475 cat >>conftest.
$ac_ext <<_ACEOF
27476 /* end confdefs.h. */
27477 #include <$ac_header>
27479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27480 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27482 grep -v '^ *+' conftest.er1
>conftest.err
27484 cat conftest.err
>&5
27485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486 (exit $ac_status); } >/dev
/null
; then
27487 if test -s conftest.err
; then
27488 ac_cpp_err
=$ac_c_preproc_warn_flag
27489 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27496 if test -z "$ac_cpp_err"; then
27497 ac_header_preproc
=yes
27499 echo "$as_me: failed program was:" >&5
27500 sed 's/^/| /' conftest.
$ac_ext >&5
27502 ac_header_preproc
=no
27504 rm -f conftest.err conftest.
$ac_ext
27505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27506 echo "${ECHO_T}$ac_header_preproc" >&6
27508 # So? What about this header?
27509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27511 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27514 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27515 ac_header_preproc
=yes
27518 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27520 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27521 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27522 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27523 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27524 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27525 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27528 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27529 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27532 ## ----------------------------------------- ##
27533 ## Report this to wx-dev@lists.wxwidgets.org ##
27534 ## ----------------------------------------- ##
27537 sed "s/^/$as_me: WARNING: /" >&2
27540 echo "$as_me:$LINENO: checking for $ac_header" >&5
27541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27543 echo $ECHO_N "(cached) $ECHO_C" >&6
27545 eval "$as_ac_Header=\$ac_header_preproc"
27547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27552 cat >>confdefs.h
<<_ACEOF
27553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27560 if test "${ac_cv_header_windows_h+set}" = set; then
27561 echo "$as_me:$LINENO: checking for windows.h" >&5
27562 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27563 if test "${ac_cv_header_windows_h+set}" = set; then
27564 echo $ECHO_N "(cached) $ECHO_C" >&6
27566 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27567 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27569 # Is the header compilable?
27570 echo "$as_me:$LINENO: checking windows.h usability" >&5
27571 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27572 cat >conftest.
$ac_ext <<_ACEOF
27575 cat confdefs.h
>>conftest.
$ac_ext
27576 cat >>conftest.
$ac_ext <<_ACEOF
27577 /* end confdefs.h. */
27578 $ac_includes_default
27579 #include <windows.h>
27581 rm -f conftest.
$ac_objext
27582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27583 (eval $ac_compile) 2>conftest.er1
27585 grep -v '^ *+' conftest.er1
>conftest.err
27587 cat conftest.err
>&5
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); } &&
27590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27592 (eval $ac_try) 2>&5
27594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); }; } &&
27596 { ac_try
='test -s conftest.$ac_objext'
27597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27598 (eval $ac_try) 2>&5
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); }; }; then
27602 ac_header_compiler
=yes
27604 echo "$as_me: failed program was:" >&5
27605 sed 's/^/| /' conftest.
$ac_ext >&5
27607 ac_header_compiler
=no
27609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27611 echo "${ECHO_T}$ac_header_compiler" >&6
27613 # Is the header present?
27614 echo "$as_me:$LINENO: checking windows.h presence" >&5
27615 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27616 cat >conftest.
$ac_ext <<_ACEOF
27619 cat confdefs.h
>>conftest.
$ac_ext
27620 cat >>conftest.
$ac_ext <<_ACEOF
27621 /* end confdefs.h. */
27622 #include <windows.h>
27624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27625 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27627 grep -v '^ *+' conftest.er1
>conftest.err
27629 cat conftest.err
>&5
27630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631 (exit $ac_status); } >/dev
/null
; then
27632 if test -s conftest.err
; then
27633 ac_cpp_err
=$ac_c_preproc_warn_flag
27634 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27641 if test -z "$ac_cpp_err"; then
27642 ac_header_preproc
=yes
27644 echo "$as_me: failed program was:" >&5
27645 sed 's/^/| /' conftest.
$ac_ext >&5
27647 ac_header_preproc
=no
27649 rm -f conftest.err conftest.
$ac_ext
27650 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27651 echo "${ECHO_T}$ac_header_preproc" >&6
27653 # So? What about this header?
27654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27656 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27657 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27658 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27659 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27660 ac_header_preproc
=yes
27663 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27664 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27665 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27666 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27667 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27668 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27669 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27670 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27671 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27672 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27673 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27674 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27677 ## ----------------------------------------- ##
27678 ## Report this to wx-dev@lists.wxwidgets.org ##
27679 ## ----------------------------------------- ##
27682 sed "s/^/$as_me: WARNING: /" >&2
27685 echo "$as_me:$LINENO: checking for windows.h" >&5
27686 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27687 if test "${ac_cv_header_windows_h+set}" = set; then
27688 echo $ECHO_N "(cached) $ECHO_C" >&6
27690 ac_cv_header_windows_h
=$ac_header_preproc
27692 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27693 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27696 if test $ac_cv_header_windows_h = yes; then
27700 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27701 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27702 { (exit 1); exit 1; }; }
27708 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27710 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27711 LIBS
="$LIBS -loleacc"
27716 LIBS
="$LIBS -lkernel32 -luser32"
27719 if test "$wxUSE_ODBC" = "sys" ; then
27722 if test "$wxUSE_ODBC" = "yes" ; then
27723 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27724 cat >>confdefs.h
<<\_ACEOF
27725 #define wxUSE_ODBC 1
27730 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27731 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27733 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27735 WIN32INSTALL
=win32install
27738 for ac_header
in pbt.h
27740 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27742 echo "$as_me:$LINENO: checking for $ac_header" >&5
27743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27745 echo $ECHO_N "(cached) $ECHO_C" >&6
27747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27750 # Is the header compilable?
27751 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27752 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27753 cat >conftest.
$ac_ext <<_ACEOF
27756 cat confdefs.h
>>conftest.
$ac_ext
27757 cat >>conftest.
$ac_ext <<_ACEOF
27758 /* end confdefs.h. */
27759 $ac_includes_default
27760 #include <$ac_header>
27762 rm -f conftest.
$ac_objext
27763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27764 (eval $ac_compile) 2>conftest.er1
27766 grep -v '^ *+' conftest.er1
>conftest.err
27768 cat conftest.err
>&5
27769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27770 (exit $ac_status); } &&
27771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27773 (eval $ac_try) 2>&5
27775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776 (exit $ac_status); }; } &&
27777 { ac_try
='test -s conftest.$ac_objext'
27778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27779 (eval $ac_try) 2>&5
27781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27782 (exit $ac_status); }; }; then
27783 ac_header_compiler
=yes
27785 echo "$as_me: failed program was:" >&5
27786 sed 's/^/| /' conftest.
$ac_ext >&5
27788 ac_header_compiler
=no
27790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27792 echo "${ECHO_T}$ac_header_compiler" >&6
27794 # Is the header present?
27795 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27796 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27797 cat >conftest.
$ac_ext <<_ACEOF
27800 cat confdefs.h
>>conftest.
$ac_ext
27801 cat >>conftest.
$ac_ext <<_ACEOF
27802 /* end confdefs.h. */
27803 #include <$ac_header>
27805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27806 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27808 grep -v '^ *+' conftest.er1
>conftest.err
27810 cat conftest.err
>&5
27811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27812 (exit $ac_status); } >/dev
/null
; then
27813 if test -s conftest.err
; then
27814 ac_cpp_err
=$ac_c_preproc_warn_flag
27815 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27822 if test -z "$ac_cpp_err"; then
27823 ac_header_preproc
=yes
27825 echo "$as_me: failed program was:" >&5
27826 sed 's/^/| /' conftest.
$ac_ext >&5
27828 ac_header_preproc
=no
27830 rm -f conftest.err conftest.
$ac_ext
27831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27832 echo "${ECHO_T}$ac_header_preproc" >&6
27834 # So? What about this header?
27835 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27837 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27838 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27840 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27841 ac_header_preproc
=yes
27844 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27845 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27846 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27847 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27848 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27849 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27850 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27851 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27854 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27855 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27858 ## ----------------------------------------- ##
27859 ## Report this to wx-dev@lists.wxwidgets.org ##
27860 ## ----------------------------------------- ##
27863 sed "s/^/$as_me: WARNING: /" >&2
27866 echo "$as_me:$LINENO: checking for $ac_header" >&5
27867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27869 echo $ECHO_N "(cached) $ECHO_C" >&6
27871 eval "$as_ac_Header=\$ac_header_preproc"
27873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27878 cat >>confdefs.h
<<_ACEOF
27879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27883 cat >>confdefs.h
<<\_ACEOF
27884 #define NEED_PBT_H 1
27893 if test "$wxUSE_GUI" = "yes"; then
27903 if test "$wxUSE_COCOA" = 1 ; then
27904 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27905 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27906 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27907 wxUSE_PRINTING_ARCHITECTURE
=no
27909 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27910 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27911 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27912 wxUSE_DRAG_AND_DROP
=no
27914 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27915 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27916 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27921 if test "$wxUSE_MSW" = 1 ; then
27927 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27931 if test "$wxUSE_GTK" = 1; then
27932 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27933 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27935 gtk_version_cached
=1
27936 if test "${wx_cv_lib_gtk+set}" = set; then
27937 echo $ECHO_N "(cached) $ECHO_C" >&6
27940 gtk_version_cached
=0
27941 echo "$as_me:$LINENO: result: " >&5
27942 echo "${ECHO_T}" >&6
27945 if test "$wxUSE_THREADS" = "yes"; then
27946 GTK_MODULES
=gthread
27950 if test "x$wxGTK_VERSION" != "x1"
27954 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27959 # Check whether --enable-gtktest or --disable-gtktest was given.
27960 if test "${enable_gtktest+set}" = set; then
27961 enableval
="$enable_gtktest"
27967 pkg_config_args
=gtk
+-2.0
27968 for module
in .
$GTK_MODULES
27972 pkg_config_args
="$pkg_config_args gthread-2.0"
27979 # Extract the first word of "pkg-config", so it can be a program name with args.
27980 set dummy pkg
-config; ac_word
=$2
27981 echo "$as_me:$LINENO: checking for $ac_word" >&5
27982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27983 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27984 echo $ECHO_N "(cached) $ECHO_C" >&6
27986 case $PKG_CONFIG in
27988 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27992 for as_dir
in $PATH
27995 test -z "$as_dir" && as_dir
=.
27996 for ac_exec_ext
in '' $ac_executable_extensions; do
27997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27998 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28005 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28009 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28011 if test -n "$PKG_CONFIG"; then
28012 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28013 echo "${ECHO_T}$PKG_CONFIG" >&6
28015 echo "$as_me:$LINENO: result: no" >&5
28016 echo "${ECHO_T}no" >&6
28020 if test x
$PKG_CONFIG != xno
; then
28021 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
28024 echo "*** pkg-config too old; version 0.7 or better required."
28032 min_gtk_version
=2.0.0
28033 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28034 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28036 if test x
$PKG_CONFIG != xno
; then
28037 ## don't try to run the test against uninstalled libtool libs
28038 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28039 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28043 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28050 if test x
"$no_gtk" = x
; then
28051 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
28052 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
28053 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28055 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28056 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28057 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28058 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28059 if test "x$enable_gtktest" = "xyes" ; then
28060 ac_save_CFLAGS
="$CFLAGS"
28061 ac_save_LIBS
="$LIBS"
28062 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28063 LIBS
="$GTK_LIBS $LIBS"
28065 if test "$cross_compiling" = yes; then
28066 echo $ac_n "cross compiling; assumed OK... $ac_c"
28068 cat >conftest.
$ac_ext <<_ACEOF
28071 cat confdefs.h
>>conftest.
$ac_ext
28072 cat >>conftest.
$ac_ext <<_ACEOF
28073 /* end confdefs.h. */
28075 #include <gtk/gtk.h>
28077 #include <stdlib.h>
28082 int major, minor, micro;
28085 system ("touch conf.gtktest");
28087 /* HP/UX 9 (%@#!) writes to sscanf strings */
28088 tmp_version = g_strdup("$min_gtk_version");
28089 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28090 printf("%s, bad version string\n", "$min_gtk_version");
28094 if ((gtk_major_version != $gtk_config_major_version) ||
28095 (gtk_minor_version != $gtk_config_minor_version) ||
28096 (gtk_micro_version != $gtk_config_micro_version))
28098 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28099 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28100 gtk_major_version, gtk_minor_version, gtk_micro_version);
28101 printf ("*** was found! If pkg-config was correct, then it is best\n");
28102 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28103 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28104 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28105 printf("*** required on your system.\n");
28106 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28107 printf("*** to point to the correct configuration files\n");
28109 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28110 (gtk_minor_version != GTK_MINOR_VERSION) ||
28111 (gtk_micro_version != GTK_MICRO_VERSION))
28113 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28114 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28115 printf("*** library (version %d.%d.%d)\n",
28116 gtk_major_version, gtk_minor_version, gtk_micro_version);
28120 if ((gtk_major_version > major) ||
28121 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28122 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28128 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28129 gtk_major_version, gtk_minor_version, gtk_micro_version);
28130 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28131 major, minor, micro);
28132 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28134 printf("*** If you have already installed a sufficiently new version, this error\n");
28135 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28136 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28137 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28138 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28139 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28140 printf("*** so that the correct libraries are found at run-time))\n");
28147 rm -f conftest
$ac_exeext
28148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28149 (eval $ac_link) 2>&5
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28154 (eval $ac_try) 2>&5
28156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28157 (exit $ac_status); }; }; then
28160 echo "$as_me: program exited with status $ac_status" >&5
28161 echo "$as_me: failed program was:" >&5
28162 sed 's/^/| /' conftest.
$ac_ext >&5
28164 ( exit $ac_status )
28167 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28169 CFLAGS
="$ac_save_CFLAGS"
28170 LIBS
="$ac_save_LIBS"
28173 if test "x$no_gtk" = x
; then
28174 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28175 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28178 echo "$as_me:$LINENO: result: no" >&5
28179 echo "${ECHO_T}no" >&6
28180 if test "$PKG_CONFIG" = "no" ; then
28181 echo "*** A new enough version of pkg-config was not found."
28182 echo "*** See http://pkgconfig.sourceforge.net"
28184 if test -f conf.gtktest
; then
28187 echo "*** Could not run GTK+ test program, checking why..."
28188 ac_save_CFLAGS
="$CFLAGS"
28189 ac_save_LIBS
="$LIBS"
28190 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28191 LIBS
="$LIBS $GTK_LIBS"
28192 cat >conftest.
$ac_ext <<_ACEOF
28195 cat confdefs.h
>>conftest.
$ac_ext
28196 cat >>conftest.
$ac_ext <<_ACEOF
28197 /* end confdefs.h. */
28199 #include <gtk/gtk.h>
28205 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28210 rm -f conftest.
$ac_objext conftest
$ac_exeext
28211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28212 (eval $ac_link) 2>conftest.er1
28214 grep -v '^ *+' conftest.er1
>conftest.err
28216 cat conftest.err
>&5
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); } &&
28219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28221 (eval $ac_try) 2>&5
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); }; } &&
28225 { ac_try
='test -s conftest$ac_exeext'
28226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28227 (eval $ac_try) 2>&5
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); }; }; then
28231 echo "*** The test program compiled, but did not run. This usually means"
28232 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28233 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28234 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28235 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28236 echo "*** is required on your system"
28238 echo "*** If you have an old version installed, it is best to remove it, although"
28239 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.
$ac_ext >&5
28244 echo "*** The test program failed to compile or link. See the file config.log for the"
28245 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28247 rm -f conftest.err conftest.
$ac_objext \
28248 conftest
$ac_exeext conftest.
$ac_ext
28249 CFLAGS
="$ac_save_CFLAGS"
28250 LIBS
="$ac_save_LIBS"
28264 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28265 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
28266 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
28268 if test "$wxUSE_SHARED" != "yes"; then
28269 GTK_LIBS
="$GTK_LIBS -lX11"
28274 if test -z "$wx_cv_lib_gtk"; then
28275 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28277 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28278 if test "${with_gtk_prefix+set}" = set; then
28279 withval
="$with_gtk_prefix"
28280 gtk_config_prefix
="$withval"
28282 gtk_config_prefix
=""
28285 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28286 if test "${with_gtk_exec_prefix+set}" = set; then
28287 withval
="$with_gtk_exec_prefix"
28288 gtk_config_exec_prefix
="$withval"
28290 gtk_config_exec_prefix
=""
28292 # Check whether --enable-gtktest or --disable-gtktest was given.
28293 if test "${enable_gtktest+set}" = set; then
28294 enableval
="$enable_gtktest"
28300 for module
in .
$GTK_MODULES
28304 gtk_config_args
="$gtk_config_args gthread"
28309 if test x
$gtk_config_exec_prefix != x
; then
28310 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28311 if test x
${GTK_CONFIG+set} != xset
; then
28312 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28315 if test x
$gtk_config_prefix != x
; then
28316 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28317 if test x
${GTK_CONFIG+set} != xset
; then
28318 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28322 # Extract the first word of "gtk-config", so it can be a program name with args.
28323 set dummy gtk
-config; ac_word
=$2
28324 echo "$as_me:$LINENO: checking for $ac_word" >&5
28325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28326 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28327 echo $ECHO_N "(cached) $ECHO_C" >&6
28329 case $GTK_CONFIG in
28331 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28335 for as_dir
in $PATH
28338 test -z "$as_dir" && as_dir
=.
28339 for ac_exec_ext
in '' $ac_executable_extensions; do
28340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28341 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28348 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28352 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28354 if test -n "$GTK_CONFIG"; then
28355 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28356 echo "${ECHO_T}$GTK_CONFIG" >&6
28358 echo "$as_me:$LINENO: result: no" >&5
28359 echo "${ECHO_T}no" >&6
28362 min_gtk_version
=1.2.7
28363 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28364 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28366 if test "$GTK_CONFIG" = "no" ; then
28369 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28370 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28371 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28372 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28373 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28375 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28377 if test "x$enable_gtktest" = "xyes" ; then
28378 ac_save_CFLAGS
="$CFLAGS"
28379 ac_save_LIBS
="$LIBS"
28380 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28381 LIBS
="$GTK_LIBS $LIBS"
28383 if test "$cross_compiling" = yes; then
28384 echo $ac_n "cross compiling; assumed OK... $ac_c"
28386 cat >conftest.
$ac_ext <<_ACEOF
28389 cat confdefs.h
>>conftest.
$ac_ext
28390 cat >>conftest.
$ac_ext <<_ACEOF
28391 /* end confdefs.h. */
28393 #include <gtk/gtk.h>
28395 #include <stdlib.h>
28400 int major, minor, micro;
28403 system ("touch conf.gtktest");
28405 /* HP/UX 9 (%@#!) writes to sscanf strings */
28406 tmp_version = g_strdup("$min_gtk_version");
28407 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28408 printf("%s, bad version string\n", "$min_gtk_version");
28412 if ((gtk_major_version != $gtk_config_major_version) ||
28413 (gtk_minor_version != $gtk_config_minor_version) ||
28414 (gtk_micro_version != $gtk_config_micro_version))
28416 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28417 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28418 gtk_major_version, gtk_minor_version, gtk_micro_version);
28419 printf ("*** was found! If gtk-config was correct, then it is best\n");
28420 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28421 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28422 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28423 printf("*** required on your system.\n");
28424 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28425 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28426 printf("*** before re-running configure\n");
28428 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28429 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28430 (gtk_minor_version != GTK_MINOR_VERSION) ||
28431 (gtk_micro_version != GTK_MICRO_VERSION))
28433 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28434 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28435 printf("*** library (version %d.%d.%d)\n",
28436 gtk_major_version, gtk_minor_version, gtk_micro_version);
28438 #endif /* defined (GTK_MAJOR_VERSION) ... */
28441 if ((gtk_major_version > major) ||
28442 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28443 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28449 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28450 gtk_major_version, gtk_minor_version, gtk_micro_version);
28451 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28452 major, minor, micro);
28453 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28455 printf("*** If you have already installed a sufficiently new version, this error\n");
28456 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28457 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28458 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28459 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28460 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28461 printf("*** so that the correct libraries are found at run-time))\n");
28468 rm -f conftest
$ac_exeext
28469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28470 (eval $ac_link) 2>&5
28472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28475 (eval $ac_try) 2>&5
28477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28478 (exit $ac_status); }; }; then
28481 echo "$as_me: program exited with status $ac_status" >&5
28482 echo "$as_me: failed program was:" >&5
28483 sed 's/^/| /' conftest.
$ac_ext >&5
28485 ( exit $ac_status )
28488 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28490 CFLAGS
="$ac_save_CFLAGS"
28491 LIBS
="$ac_save_LIBS"
28494 if test "x$no_gtk" = x
; then
28495 echo "$as_me:$LINENO: result: yes" >&5
28496 echo "${ECHO_T}yes" >&6
28497 wx_cv_lib_gtk
=1.2.7
28499 echo "$as_me:$LINENO: result: no" >&5
28500 echo "${ECHO_T}no" >&6
28501 if test "$GTK_CONFIG" = "no" ; then
28502 echo "*** The gtk-config script installed by GTK could not be found"
28503 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28504 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28505 echo "*** full path to gtk-config."
28507 if test -f conf.gtktest
; then
28510 echo "*** Could not run GTK test program, checking why..."
28511 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28512 LIBS
="$LIBS $GTK_LIBS"
28513 cat >conftest.
$ac_ext <<_ACEOF
28516 cat confdefs.h
>>conftest.
$ac_ext
28517 cat >>conftest.
$ac_ext <<_ACEOF
28518 /* end confdefs.h. */
28520 #include <gtk/gtk.h>
28526 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28531 rm -f conftest.
$ac_objext conftest
$ac_exeext
28532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28533 (eval $ac_link) 2>conftest.er1
28535 grep -v '^ *+' conftest.er1
>conftest.err
28537 cat conftest.err
>&5
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); } &&
28540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28542 (eval $ac_try) 2>&5
28544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 (exit $ac_status); }; } &&
28546 { ac_try
='test -s conftest$ac_exeext'
28547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28548 (eval $ac_try) 2>&5
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); }; }; then
28552 echo "*** The test program compiled, but did not run. This usually means"
28553 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28554 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28555 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28556 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28557 echo "*** is required on your system"
28559 echo "*** If you have an old version installed, it is best to remove it, although"
28560 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28562 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28563 echo "*** came with the system with the command"
28565 echo "*** rpm --erase --nodeps gtk gtk-devel"
28567 echo "$as_me: failed program was:" >&5
28568 sed 's/^/| /' conftest.
$ac_ext >&5
28570 echo "*** The test program failed to compile or link. See the file config.log for the"
28571 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28572 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28573 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28575 rm -f conftest.err conftest.
$ac_objext \
28576 conftest
$ac_exeext conftest.
$ac_ext
28577 CFLAGS
="$ac_save_CFLAGS"
28578 LIBS
="$ac_save_LIBS"
28590 if test -z "$wx_cv_lib_gtk"; then
28592 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28593 if test "${with_gtk_prefix+set}" = set; then
28594 withval
="$with_gtk_prefix"
28595 gtk_config_prefix
="$withval"
28597 gtk_config_prefix
=""
28600 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28601 if test "${with_gtk_exec_prefix+set}" = set; then
28602 withval
="$with_gtk_exec_prefix"
28603 gtk_config_exec_prefix
="$withval"
28605 gtk_config_exec_prefix
=""
28607 # Check whether --enable-gtktest or --disable-gtktest was given.
28608 if test "${enable_gtktest+set}" = set; then
28609 enableval
="$enable_gtktest"
28615 for module
in .
$GTK_MODULES
28619 gtk_config_args
="$gtk_config_args gthread"
28624 if test x
$gtk_config_exec_prefix != x
; then
28625 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28626 if test x
${GTK_CONFIG+set} != xset
; then
28627 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28630 if test x
$gtk_config_prefix != x
; then
28631 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28632 if test x
${GTK_CONFIG+set} != xset
; then
28633 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28637 # Extract the first word of "gtk-config", so it can be a program name with args.
28638 set dummy gtk
-config; ac_word
=$2
28639 echo "$as_me:$LINENO: checking for $ac_word" >&5
28640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28641 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28642 echo $ECHO_N "(cached) $ECHO_C" >&6
28644 case $GTK_CONFIG in
28646 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28650 for as_dir
in $PATH
28653 test -z "$as_dir" && as_dir
=.
28654 for ac_exec_ext
in '' $ac_executable_extensions; do
28655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28656 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28663 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28667 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28669 if test -n "$GTK_CONFIG"; then
28670 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28671 echo "${ECHO_T}$GTK_CONFIG" >&6
28673 echo "$as_me:$LINENO: result: no" >&5
28674 echo "${ECHO_T}no" >&6
28677 min_gtk_version
=1.2.3
28678 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28679 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28681 if test "$GTK_CONFIG" = "no" ; then
28684 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28685 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28686 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28687 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28688 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28689 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28690 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28691 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28692 if test "x$enable_gtktest" = "xyes" ; then
28693 ac_save_CFLAGS
="$CFLAGS"
28694 ac_save_LIBS
="$LIBS"
28695 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28696 LIBS
="$GTK_LIBS $LIBS"
28698 if test "$cross_compiling" = yes; then
28699 echo $ac_n "cross compiling; assumed OK... $ac_c"
28701 cat >conftest.
$ac_ext <<_ACEOF
28704 cat confdefs.h
>>conftest.
$ac_ext
28705 cat >>conftest.
$ac_ext <<_ACEOF
28706 /* end confdefs.h. */
28708 #include <gtk/gtk.h>
28710 #include <stdlib.h>
28715 int major, minor, micro;
28718 system ("touch conf.gtktest");
28720 /* HP/UX 9 (%@#!) writes to sscanf strings */
28721 tmp_version = g_strdup("$min_gtk_version");
28722 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28723 printf("%s, bad version string\n", "$min_gtk_version");
28727 if ((gtk_major_version != $gtk_config_major_version) ||
28728 (gtk_minor_version != $gtk_config_minor_version) ||
28729 (gtk_micro_version != $gtk_config_micro_version))
28731 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28732 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28733 gtk_major_version, gtk_minor_version, gtk_micro_version);
28734 printf ("*** was found! If gtk-config was correct, then it is best\n");
28735 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28736 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28737 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28738 printf("*** required on your system.\n");
28739 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28740 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28741 printf("*** before re-running configure\n");
28743 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28744 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28745 (gtk_minor_version != GTK_MINOR_VERSION) ||
28746 (gtk_micro_version != GTK_MICRO_VERSION))
28748 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28749 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28750 printf("*** library (version %d.%d.%d)\n",
28751 gtk_major_version, gtk_minor_version, gtk_micro_version);
28753 #endif /* defined (GTK_MAJOR_VERSION) ... */
28756 if ((gtk_major_version > major) ||
28757 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28758 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28764 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28765 gtk_major_version, gtk_minor_version, gtk_micro_version);
28766 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28767 major, minor, micro);
28768 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28770 printf("*** If you have already installed a sufficiently new version, this error\n");
28771 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28772 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28773 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28774 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28775 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28776 printf("*** so that the correct libraries are found at run-time))\n");
28783 rm -f conftest
$ac_exeext
28784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28785 (eval $ac_link) 2>&5
28787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28788 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28790 (eval $ac_try) 2>&5
28792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28793 (exit $ac_status); }; }; then
28796 echo "$as_me: program exited with status $ac_status" >&5
28797 echo "$as_me: failed program was:" >&5
28798 sed 's/^/| /' conftest.
$ac_ext >&5
28800 ( exit $ac_status )
28803 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28805 CFLAGS
="$ac_save_CFLAGS"
28806 LIBS
="$ac_save_LIBS"
28809 if test "x$no_gtk" = x
; then
28810 echo "$as_me:$LINENO: result: yes" >&5
28811 echo "${ECHO_T}yes" >&6
28812 wx_cv_lib_gtk
=1.2.3
28814 echo "$as_me:$LINENO: result: no" >&5
28815 echo "${ECHO_T}no" >&6
28816 if test "$GTK_CONFIG" = "no" ; then
28817 echo "*** The gtk-config script installed by GTK could not be found"
28818 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28819 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28820 echo "*** full path to gtk-config."
28822 if test -f conf.gtktest
; then
28825 echo "*** Could not run GTK test program, checking why..."
28826 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28827 LIBS
="$LIBS $GTK_LIBS"
28828 cat >conftest.
$ac_ext <<_ACEOF
28831 cat confdefs.h
>>conftest.
$ac_ext
28832 cat >>conftest.
$ac_ext <<_ACEOF
28833 /* end confdefs.h. */
28835 #include <gtk/gtk.h>
28841 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28846 rm -f conftest.
$ac_objext conftest
$ac_exeext
28847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28848 (eval $ac_link) 2>conftest.er1
28850 grep -v '^ *+' conftest.er1
>conftest.err
28852 cat conftest.err
>&5
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); } &&
28855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28857 (eval $ac_try) 2>&5
28859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28860 (exit $ac_status); }; } &&
28861 { ac_try
='test -s conftest$ac_exeext'
28862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28863 (eval $ac_try) 2>&5
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); }; }; then
28867 echo "*** The test program compiled, but did not run. This usually means"
28868 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28869 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28870 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28871 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28872 echo "*** is required on your system"
28874 echo "*** If you have an old version installed, it is best to remove it, although"
28875 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28877 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28878 echo "*** came with the system with the command"
28880 echo "*** rpm --erase --nodeps gtk gtk-devel"
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.
$ac_ext >&5
28885 echo "*** The test program failed to compile or link. See the file config.log for the"
28886 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28887 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28888 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28890 rm -f conftest.err conftest.
$ac_objext \
28891 conftest
$ac_exeext conftest.
$ac_ext
28892 CFLAGS
="$ac_save_CFLAGS"
28893 LIBS
="$ac_save_LIBS"
28908 if test -z "$wx_cv_lib_gtk"; then
28911 wx_cv_cflags_gtk
=$GTK_CFLAGS
28912 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28919 if test "$gtk_version_cached" = 1; then
28920 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28921 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28924 case "$wx_cv_lib_gtk" in
28933 *) { { echo "$as_me:$LINENO: error:
28934 The development files for GTK+ were not found. For GTK+ 2, please
28935 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28936 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28937 and that the version is 1.2.3 or above. Also check that the
28938 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28939 --libs' are in the LD_LIBRARY_PATH or equivalent.
28941 echo "$as_me: error:
28942 The development files for GTK+ were not found. For GTK+ 2, please
28943 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28944 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28945 and that the version is 1.2.3 or above. Also check that the
28946 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28947 --libs' are in the LD_LIBRARY_PATH or equivalent.
28949 { (exit 1); exit 1; }; }
28953 if test "$WXGTK20" = 1; then
28954 save_CFLAGS
="$CFLAGS"
28956 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28957 LIBS
="$LIBS $wx_cv_libs_gtk"
28959 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28960 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28961 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28962 echo $ECHO_N "(cached) $ECHO_C" >&6
28964 cat >conftest.
$ac_ext <<_ACEOF
28967 cat confdefs.h
>>conftest.
$ac_ext
28968 cat >>conftest.
$ac_ext <<_ACEOF
28969 /* end confdefs.h. */
28970 #include <gtk/gtk.h>
28975 #ifndef gtk_icon_size_lookup
28976 char *p = (char *) gtk_icon_size_lookup;
28983 rm -f conftest.
$ac_objext
28984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28985 (eval $ac_compile) 2>conftest.er1
28987 grep -v '^ *+' conftest.er1
>conftest.err
28989 cat conftest.err
>&5
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); } &&
28992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28994 (eval $ac_try) 2>&5
28996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28997 (exit $ac_status); }; } &&
28998 { ac_try
='test -s conftest.$ac_objext'
28999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29000 (eval $ac_try) 2>&5
29002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29003 (exit $ac_status); }; }; then
29004 ac_cv_have_decl_gtk_icon_size_lookup
=yes
29006 echo "$as_me: failed program was:" >&5
29007 sed 's/^/| /' conftest.
$ac_ext >&5
29009 ac_cv_have_decl_gtk_icon_size_lookup
=no
29011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29013 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29014 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29015 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29017 cat >>confdefs.h
<<_ACEOF
29018 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29023 cat >>confdefs.h
<<_ACEOF
29024 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29027 cat >>confdefs.h
<<\_ACEOF
29028 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29035 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29036 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29037 cat >conftest.
$ac_ext <<_ACEOF
29040 cat confdefs.h
>>conftest.
$ac_ext
29041 cat >>conftest.
$ac_ext <<_ACEOF
29042 /* end confdefs.h. */
29044 #include <gtk/gtk.h>
29050 #if !GTK_CHECK_VERSION(2,6,0)
29058 rm -f conftest.
$ac_objext
29059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29060 (eval $ac_compile) 2>conftest.er1
29062 grep -v '^ *+' conftest.er1
>conftest.err
29064 cat conftest.err
>&5
29065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29066 (exit $ac_status); } &&
29067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29069 (eval $ac_try) 2>&5
29071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29072 (exit $ac_status); }; } &&
29073 { ac_try
='test -s conftest.$ac_objext'
29074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29075 (eval $ac_try) 2>&5
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); }; }; then
29080 cat >>confdefs.h
<<\_ACEOF
29081 #define __WXGTK26__ 1
29084 cat >>confdefs.h
<<\_ACEOF
29085 #define __WXGTK24__ 1
29088 echo "$as_me:$LINENO: result: yes" >&5
29089 echo "${ECHO_T}yes" >&6
29093 echo "$as_me: failed program was:" >&5
29094 sed 's/^/| /' conftest.
$ac_ext >&5
29097 echo "$as_me:$LINENO: result: no" >&5
29098 echo "${ECHO_T}no" >&6
29102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29104 if test "$ac_wxgtk26" = 0; then
29105 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29106 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29107 cat >conftest.
$ac_ext <<_ACEOF
29110 cat confdefs.h
>>conftest.
$ac_ext
29111 cat >>conftest.
$ac_ext <<_ACEOF
29112 /* end confdefs.h. */
29114 #include <gtk/gtk.h>
29120 #if !GTK_CHECK_VERSION(2,4,0)
29128 rm -f conftest.
$ac_objext
29129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29130 (eval $ac_compile) 2>conftest.er1
29132 grep -v '^ *+' conftest.er1
>conftest.err
29134 cat conftest.err
>&5
29135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 (exit $ac_status); } &&
29137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29139 (eval $ac_try) 2>&5
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); }; } &&
29143 { ac_try
='test -s conftest.$ac_objext'
29144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29145 (eval $ac_try) 2>&5
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); }; }; then
29150 cat >>confdefs.h
<<\_ACEOF
29151 #define __WXGTK24__ 1
29154 echo "$as_me:$LINENO: result: yes" >&5
29155 echo "${ECHO_T}yes" >&6
29158 echo "$as_me: failed program was:" >&5
29159 sed 's/^/| /' conftest.
$ac_ext >&5
29162 echo "$as_me:$LINENO: result: no" >&5
29163 echo "${ECHO_T}no" >&6
29166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29169 CFLAGS
="$save_CFLAGS"
29172 if test "$wxUSE_UNICODE" = "yes"; then
29173 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29174 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29178 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29179 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29180 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29181 echo $ECHO_N "(cached) $ECHO_C" >&6
29183 ac_check_lib_save_LIBS
=$LIBS
29185 cat >conftest.
$ac_ext <<_ACEOF
29188 cat confdefs.h
>>conftest.
$ac_ext
29189 cat >>conftest.
$ac_ext <<_ACEOF
29190 /* end confdefs.h. */
29192 /* Override any gcc2 internal prototype to avoid an error. */
29196 /* We use char because int might match the return type of a gcc2
29197 builtin and then its argument prototype would still apply. */
29198 char gdk_im_open ();
29207 rm -f conftest.
$ac_objext conftest
$ac_exeext
29208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29209 (eval $ac_link) 2>conftest.er1
29211 grep -v '^ *+' conftest.er1
>conftest.err
29213 cat conftest.err
>&5
29214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215 (exit $ac_status); } &&
29216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29218 (eval $ac_try) 2>&5
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); }; } &&
29222 { ac_try
='test -s conftest$ac_exeext'
29223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29224 (eval $ac_try) 2>&5
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); }; }; then
29228 ac_cv_lib_gdk_gdk_im_open
=yes
29230 echo "$as_me: failed program was:" >&5
29231 sed 's/^/| /' conftest.
$ac_ext >&5
29233 ac_cv_lib_gdk_gdk_im_open
=no
29235 rm -f conftest.err conftest.
$ac_objext \
29236 conftest
$ac_exeext conftest.
$ac_ext
29237 LIBS
=$ac_check_lib_save_LIBS
29239 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29240 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29241 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29242 cat >>confdefs.h
<<\_ACEOF
29250 if test "$USE_DARWIN" != 1; then
29252 for ac_func
in poll
29254 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29255 echo "$as_me:$LINENO: checking for $ac_func" >&5
29256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29257 if eval "test \"\${$as_ac_var+set}\" = set"; then
29258 echo $ECHO_N "(cached) $ECHO_C" >&6
29260 cat >conftest.
$ac_ext <<_ACEOF
29263 cat confdefs.h
>>conftest.
$ac_ext
29264 cat >>conftest.
$ac_ext <<_ACEOF
29265 /* end confdefs.h. */
29266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29268 #define $ac_func innocuous_$ac_func
29270 /* System header to define __stub macros and hopefully few prototypes,
29271 which can conflict with char $ac_func (); below.
29272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29273 <limits.h> exists even on freestanding compilers. */
29276 # include <limits.h>
29278 # include <assert.h>
29283 /* Override any gcc2 internal prototype to avoid an error. */
29288 /* We use char because int might match the return type of a gcc2
29289 builtin and then its argument prototype would still apply. */
29291 /* The GNU C library defines this for functions which it implements
29292 to always fail with ENOSYS. Some functions are actually named
29293 something starting with __ and the normal name is an alias. */
29294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29297 char (*f) () = $ac_func;
29306 return f != $ac_func;
29311 rm -f conftest.
$ac_objext conftest
$ac_exeext
29312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29313 (eval $ac_link) 2>conftest.er1
29315 grep -v '^ *+' conftest.er1
>conftest.err
29317 cat conftest.err
>&5
29318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29319 (exit $ac_status); } &&
29320 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29322 (eval $ac_try) 2>&5
29324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29325 (exit $ac_status); }; } &&
29326 { ac_try
='test -s conftest$ac_exeext'
29327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29328 (eval $ac_try) 2>&5
29330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29331 (exit $ac_status); }; }; then
29332 eval "$as_ac_var=yes"
29334 echo "$as_me: failed program was:" >&5
29335 sed 's/^/| /' conftest.
$ac_ext >&5
29337 eval "$as_ac_var=no"
29339 rm -f conftest.err conftest.
$ac_objext \
29340 conftest
$ac_exeext conftest.
$ac_ext
29342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29344 if test `eval echo '${'$as_ac_var'}'` = yes; then
29345 cat >>confdefs.h
<<_ACEOF
29346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29354 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
29355 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29357 AFMINSTALL
=afminstall
29361 if test "$wxUSE_GPE" = "yes"; then
29362 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29363 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29366 for ac_dir
in $SEARCH_LIB;
29368 for ac_extension
in a so sl dylib dll.a
; do
29369 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29370 ac_find_libraries
=$ac_dir
29376 if test "$ac_find_libraries" != "" ; then
29378 if test "$ac_find_libraries" = "default location"; then
29381 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29383 if test $result = 0; then
29386 ac_path_to_link
=" -L$ac_find_libraries"
29390 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29392 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29393 echo "${ECHO_T}found in $ac_find_libraries" >&6
29395 echo "$as_me:$LINENO: result: not found" >&5
29396 echo "${ECHO_T}not found" >&6
29402 if test "$wxUSE_MGL" = 1; then
29403 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29404 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29405 if test "x$MGL_ROOT" = x
; then
29406 echo "$as_me:$LINENO: result: not found" >&5
29407 echo "${ECHO_T}not found" >&6
29408 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29409 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29410 { (exit 1); exit 1; }; }
29412 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29413 echo "${ECHO_T}$MGL_ROOT" >&6
29416 echo "$as_me:$LINENO: checking for libmgl location" >&5
29417 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29420 if test "x$wxUSE_SHARED" = xyes
; then
29421 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29423 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29427 mgl_os_candidates
="dos32/dj2"
29430 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29431 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29432 { (exit 1); exit 1; }; }
29438 for mgl_os_i
in $mgl_os_candidates ; do
29439 if test "x$mgl_os" = x
; then
29440 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29441 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29442 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29447 if test "x$mgl_lib_type" = x
; then
29448 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29449 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29450 mgl_lib_type
=release
29457 if test "x$mgl_os" = x
; then
29458 echo "$as_me:$LINENO: result: not found" >&5
29459 echo "${ECHO_T}not found" >&6
29460 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29461 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29462 { (exit 1); exit 1; }; }
29464 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29465 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29467 wxUSE_UNIVERSAL
="yes"
29469 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29470 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29472 AFMINSTALL
=afminstall
29477 if test "$wxUSE_DFB" = 1; then
29480 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29481 if test -n "$ac_tool_prefix"; then
29482 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29483 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29484 echo "$as_me:$LINENO: checking for $ac_word" >&5
29485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29486 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29487 echo $ECHO_N "(cached) $ECHO_C" >&6
29489 case $PKG_CONFIG in
29491 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29495 for as_dir
in $PATH
29498 test -z "$as_dir" && as_dir
=.
29499 for ac_exec_ext
in '' $ac_executable_extensions; do
29500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29501 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29511 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29513 if test -n "$PKG_CONFIG"; then
29514 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29515 echo "${ECHO_T}$PKG_CONFIG" >&6
29517 echo "$as_me:$LINENO: result: no" >&5
29518 echo "${ECHO_T}no" >&6
29522 if test -z "$ac_cv_path_PKG_CONFIG"; then
29523 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29524 # Extract the first word of "pkg-config", so it can be a program name with args.
29525 set dummy pkg
-config; ac_word
=$2
29526 echo "$as_me:$LINENO: checking for $ac_word" >&5
29527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29528 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29529 echo $ECHO_N "(cached) $ECHO_C" >&6
29531 case $ac_pt_PKG_CONFIG in
29533 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29537 for as_dir
in $PATH
29540 test -z "$as_dir" && as_dir
=.
29541 for ac_exec_ext
in '' $ac_executable_extensions; do
29542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29543 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29553 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29555 if test -n "$ac_pt_PKG_CONFIG"; then
29556 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29557 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29559 echo "$as_me:$LINENO: result: no" >&5
29560 echo "${ECHO_T}no" >&6
29563 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29565 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29569 if test -n "$PKG_CONFIG"; then
29570 _pkg_min_version
=0.9.0
29571 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29572 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29573 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29574 echo "$as_me:$LINENO: result: yes" >&5
29575 echo "${ECHO_T}yes" >&6
29577 echo "$as_me:$LINENO: result: no" >&5
29578 echo "${ECHO_T}no" >&6
29586 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29587 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29589 if test -n "$PKG_CONFIG"; then
29590 if test -n "$DIRECTFB_CFLAGS"; then
29591 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29593 if test -n "$PKG_CONFIG" && \
29594 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29595 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29598 (exit $ac_status); }; then
29599 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29607 if test -n "$PKG_CONFIG"; then
29608 if test -n "$DIRECTFB_LIBS"; then
29609 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29611 if test -n "$PKG_CONFIG" && \
29612 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29613 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 (exit $ac_status); }; then
29617 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29628 if test $pkg_failed = yes; then
29630 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29631 _pkg_short_errors_supported
=yes
29633 _pkg_short_errors_supported
=no
29635 if test $_pkg_short_errors_supported = yes; then
29636 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29638 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29640 # Put the nasty error message in config.log where it belongs
29641 echo "$DIRECTFB_PKG_ERRORS" >&5
29644 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29645 echo "$as_me: error: DirectFB not found." >&2;}
29646 { (exit 1); exit 1; }; }
29649 elif test $pkg_failed = untried
; then
29651 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29652 echo "$as_me: error: DirectFB not found." >&2;}
29653 { (exit 1); exit 1; }; }
29657 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29658 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29659 echo "$as_me:$LINENO: result: yes" >&5
29660 echo "${ECHO_T}yes" >&6
29662 wxUSE_UNIVERSAL
="yes"
29663 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29664 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29671 if test "$wxUSE_MICROWIN" = 1; then
29672 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29673 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29674 if test "x$MICROWINDOWS" = x
; then
29675 echo "$as_me:$LINENO: result: not found" >&5
29676 echo "${ECHO_T}not found" >&6
29677 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29678 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29679 { (exit 1); exit 1; }; }
29681 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29682 echo "${ECHO_T}$MICROWINDOWS" >&6
29685 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29686 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29687 echo "${ECHO_T}MicroWindows' libraries found." >&6
29689 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29690 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29691 { (exit 1); exit 1; }; }
29694 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29695 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29697 wxUSE_UNIVERSAL
="yes"
29699 AFMINSTALL
=afminstall
29701 GUIDIST
=MICROWIN_DIST
29703 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29706 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29708 if test "x$ac_path_x_has_been_run" != xyes
; then
29709 echo "$as_me:$LINENO: checking for X" >&5
29710 echo $ECHO_N "checking for X... $ECHO_C" >&6
29712 ac_path_x_has_been_run
=yes
29714 # Check whether --with-x or --without-x was given.
29715 if test "${with_x+set}" = set; then
29719 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29720 if test "x$with_x" = xno
; then
29721 # The user explicitly disabled X.
29724 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29725 # Both variables are already set.
29728 if test "${ac_cv_have_x+set}" = set; then
29729 echo $ECHO_N "(cached) $ECHO_C" >&6
29731 # One or both of the vars are not set, and there is no cached value.
29732 ac_x_includes
=no ac_x_libraries
=no
29733 rm -fr conftest.dir
29734 if mkdir conftest.dir
; then
29736 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29737 cat >Imakefile
<<'_ACEOF'
29739 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29741 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29742 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29743 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29744 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29745 for ac_extension
in a so sl
; do
29746 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29747 test -f $ac_im_libdir/libX11.
$ac_extension; then
29748 ac_im_usrlibdir
=$ac_im_libdir; break
29751 # Screen out bogus values from the imake configuration. They are
29752 # bogus both because they are the default anyway, and because
29753 # using them would break gcc on systems where it needs fixed includes.
29754 case $ac_im_incroot in
29756 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29758 case $ac_im_usrlibdir in
29759 /usr
/lib
| /lib
) ;;
29760 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29764 rm -fr conftest.dir
29767 # Standard set of common directories for X headers.
29768 # Check X11 before X11Rn because it is often a symlink to the current release.
29780 /usr/local/X11/include
29781 /usr/local/X11R6/include
29782 /usr/local/X11R5/include
29783 /usr/local/X11R4/include
29785 /usr/local/include/X11
29786 /usr/local/include/X11R6
29787 /usr/local/include/X11R5
29788 /usr/local/include/X11R4
29792 /usr/XFree86/include/X11
29796 /usr/unsupported/include
29797 /usr/athena/include
29798 /usr/local/x11r5/include
29799 /usr/lpp/Xamples/include
29801 /usr/openwin/include
29802 /usr/openwin/share/include'
29804 if test "$ac_x_includes" = no
; then
29805 # Guess where to find include files, by looking for a specified header file.
29806 # First, try using that file with no special directory specified.
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>
29815 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29816 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29818 grep -v '^ *+' conftest.er1
>conftest.err
29820 cat conftest.err
>&5
29821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29822 (exit $ac_status); } >/dev
/null
; then
29823 if test -s conftest.err
; then
29824 ac_cpp_err
=$ac_c_preproc_warn_flag
29825 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29832 if test -z "$ac_cpp_err"; then
29833 # We can compile using X headers with no special include directory.
29836 echo "$as_me: failed program was:" >&5
29837 sed 's/^/| /' conftest.
$ac_ext >&5
29839 for ac_dir
in $ac_x_header_dirs; do
29840 if test -r "$ac_dir/X11/Intrinsic.h"; then
29841 ac_x_includes
=$ac_dir
29846 rm -f conftest.err conftest.
$ac_ext
29847 fi # $ac_x_includes = no
29849 if test "$ac_x_libraries" = no
; then
29850 # Check for the libraries.
29851 # See if we find them without any special options.
29852 # Don't add to $LIBS permanently.
29855 cat >conftest.
$ac_ext <<_ACEOF
29858 cat confdefs.h
>>conftest.
$ac_ext
29859 cat >>conftest.
$ac_ext <<_ACEOF
29860 /* end confdefs.h. */
29861 #include <X11/Intrinsic.h>
29870 rm -f conftest.
$ac_objext conftest
$ac_exeext
29871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29872 (eval $ac_link) 2>conftest.er1
29874 grep -v '^ *+' conftest.er1
>conftest.err
29876 cat conftest.err
>&5
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); } &&
29879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29881 (eval $ac_try) 2>&5
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); }; } &&
29885 { ac_try
='test -s conftest$ac_exeext'
29886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29887 (eval $ac_try) 2>&5
29889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890 (exit $ac_status); }; }; then
29892 # We can link X programs with no special library path.
29895 echo "$as_me: failed program was:" >&5
29896 sed 's/^/| /' conftest.
$ac_ext >&5
29899 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29901 # Don't even attempt the hair of trying to link an X program!
29902 for ac_extension
in a so sl
; do
29903 if test -r $ac_dir/libXt.
$ac_extension; then
29904 ac_x_libraries
=$ac_dir
29910 rm -f conftest.err conftest.
$ac_objext \
29911 conftest
$ac_exeext conftest.
$ac_ext
29912 fi # $ac_x_libraries = no
29914 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29915 # Didn't find X anywhere. Cache the known absence of X.
29916 ac_cv_have_x
="have_x=no"
29918 # Record where we found X for the cache.
29919 ac_cv_have_x
="have_x=yes \
29920 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29925 eval "$ac_cv_have_x"
29928 if test "$have_x" != yes; then
29929 echo "$as_me:$LINENO: result: $have_x" >&5
29930 echo "${ECHO_T}$have_x" >&6
29933 # If each of the values was on the command line, it overrides each guess.
29934 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29935 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29936 # Update the cache value to reflect the command line values.
29937 ac_cv_have_x
="have_x=yes \
29938 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29939 # It might be that x_includes is empty (headers are found in the
29940 # standard search path. Then output the corresponding message
29941 ac_out_x_includes
=$x_includes
29942 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
29943 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29944 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29948 if test "$no_x" = yes; then
29949 # Not all programs may use this symbol, but it does not hurt to define it.
29951 cat >>confdefs.h
<<\_ACEOF
29952 #define X_DISPLAY_MISSING 1
29955 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29957 if test -n "$x_includes"; then
29958 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29961 # It would also be nice to do this for all -L options, not just this one.
29962 if test -n "$x_libraries"; then
29963 X_LIBS
="$X_LIBS -L$x_libraries"
29964 # For Solaris; some versions of Sun CC require a space after -R and
29965 # others require no space. Words are not sufficient . . . .
29966 case `(uname -sr) 2>/dev/null` in
29968 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29969 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29970 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29971 cat >conftest.
$ac_ext <<_ACEOF
29974 cat confdefs.h
>>conftest.
$ac_ext
29975 cat >>conftest.
$ac_ext <<_ACEOF
29976 /* end confdefs.h. */
29986 rm -f conftest.
$ac_objext conftest
$ac_exeext
29987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29988 (eval $ac_link) 2>conftest.er1
29990 grep -v '^ *+' conftest.er1
>conftest.err
29992 cat conftest.err
>&5
29993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29994 (exit $ac_status); } &&
29995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29997 (eval $ac_try) 2>&5
29999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000 (exit $ac_status); }; } &&
30001 { ac_try
='test -s conftest$ac_exeext'
30002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30003 (eval $ac_try) 2>&5
30005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006 (exit $ac_status); }; }; then
30009 echo "$as_me: failed program was:" >&5
30010 sed 's/^/| /' conftest.
$ac_ext >&5
30014 rm -f conftest.err conftest.
$ac_objext \
30015 conftest
$ac_exeext conftest.
$ac_ext
30016 if test $ac_R_nospace = yes; then
30017 echo "$as_me:$LINENO: result: no" >&5
30018 echo "${ECHO_T}no" >&6
30019 X_LIBS
="$X_LIBS -R$x_libraries"
30021 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30022 cat >conftest.
$ac_ext <<_ACEOF
30025 cat confdefs.h
>>conftest.
$ac_ext
30026 cat >>conftest.
$ac_ext <<_ACEOF
30027 /* end confdefs.h. */
30037 rm -f conftest.
$ac_objext conftest
$ac_exeext
30038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30039 (eval $ac_link) 2>conftest.er1
30041 grep -v '^ *+' conftest.er1
>conftest.err
30043 cat conftest.err
>&5
30044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30045 (exit $ac_status); } &&
30046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30048 (eval $ac_try) 2>&5
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); }; } &&
30052 { ac_try
='test -s conftest$ac_exeext'
30053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054 (eval $ac_try) 2>&5
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); }; }; then
30060 echo "$as_me: failed program was:" >&5
30061 sed 's/^/| /' conftest.
$ac_ext >&5
30065 rm -f conftest.err conftest.
$ac_objext \
30066 conftest
$ac_exeext conftest.
$ac_ext
30067 if test $ac_R_space = yes; then
30068 echo "$as_me:$LINENO: result: yes" >&5
30069 echo "${ECHO_T}yes" >&6
30070 X_LIBS
="$X_LIBS -R $x_libraries"
30072 echo "$as_me:$LINENO: result: neither works" >&5
30073 echo "${ECHO_T}neither works" >&6
30076 LIBS
=$ac_xsave_LIBS
30080 # Check for system-dependent libraries X programs must link with.
30081 # Do this before checking for the system-independent R6 libraries
30082 # (-lICE), since we may need -lsocket or whatever for X linking.
30084 if test "$ISC" = yes; then
30085 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
30087 # Martyn Johnson says this is needed for Ultrix, if the X
30088 # libraries were built with DECnet support. And Karl Berry says
30089 # the Alpha needs dnet_stub (dnet does not exist).
30090 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
30091 cat >conftest.
$ac_ext <<_ACEOF
30094 cat confdefs.h
>>conftest.
$ac_ext
30095 cat >>conftest.
$ac_ext <<_ACEOF
30096 /* end confdefs.h. */
30098 /* Override any gcc2 internal prototype to avoid an error. */
30102 /* We use char because int might match the return type of a gcc2
30103 builtin and then its argument prototype would still apply. */
30104 char XOpenDisplay ();
30113 rm -f conftest.
$ac_objext conftest
$ac_exeext
30114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30115 (eval $ac_link) 2>conftest.er1
30117 grep -v '^ *+' conftest.er1
>conftest.err
30119 cat conftest.err
>&5
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); } &&
30122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30124 (eval $ac_try) 2>&5
30126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30127 (exit $ac_status); }; } &&
30128 { ac_try
='test -s conftest$ac_exeext'
30129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30130 (eval $ac_try) 2>&5
30132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30133 (exit $ac_status); }; }; then
30136 echo "$as_me: failed program was:" >&5
30137 sed 's/^/| /' conftest.
$ac_ext >&5
30139 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30140 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30141 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30142 echo $ECHO_N "(cached) $ECHO_C" >&6
30144 ac_check_lib_save_LIBS
=$LIBS
30145 LIBS
="-ldnet $LIBS"
30146 cat >conftest.
$ac_ext <<_ACEOF
30149 cat confdefs.h
>>conftest.
$ac_ext
30150 cat >>conftest.
$ac_ext <<_ACEOF
30151 /* end confdefs.h. */
30153 /* Override any gcc2 internal prototype to avoid an error. */
30157 /* We use char because int might match the return type of a gcc2
30158 builtin and then its argument prototype would still apply. */
30168 rm -f conftest.
$ac_objext conftest
$ac_exeext
30169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30170 (eval $ac_link) 2>conftest.er1
30172 grep -v '^ *+' conftest.er1
>conftest.err
30174 cat conftest.err
>&5
30175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30176 (exit $ac_status); } &&
30177 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30179 (eval $ac_try) 2>&5
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); }; } &&
30183 { ac_try
='test -s conftest$ac_exeext'
30184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30185 (eval $ac_try) 2>&5
30187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188 (exit $ac_status); }; }; then
30189 ac_cv_lib_dnet_dnet_ntoa
=yes
30191 echo "$as_me: failed program was:" >&5
30192 sed 's/^/| /' conftest.
$ac_ext >&5
30194 ac_cv_lib_dnet_dnet_ntoa
=no
30196 rm -f conftest.err conftest.
$ac_objext \
30197 conftest
$ac_exeext conftest.
$ac_ext
30198 LIBS
=$ac_check_lib_save_LIBS
30200 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30201 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30202 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30203 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
30206 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
30207 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30208 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30209 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30210 echo $ECHO_N "(cached) $ECHO_C" >&6
30212 ac_check_lib_save_LIBS
=$LIBS
30213 LIBS
="-ldnet_stub $LIBS"
30214 cat >conftest.
$ac_ext <<_ACEOF
30217 cat confdefs.h
>>conftest.
$ac_ext
30218 cat >>conftest.
$ac_ext <<_ACEOF
30219 /* end confdefs.h. */
30221 /* Override any gcc2 internal prototype to avoid an error. */
30225 /* We use char because int might match the return type of a gcc2
30226 builtin and then its argument prototype would still apply. */
30236 rm -f conftest.
$ac_objext conftest
$ac_exeext
30237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30238 (eval $ac_link) 2>conftest.er1
30240 grep -v '^ *+' conftest.er1
>conftest.err
30242 cat conftest.err
>&5
30243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30244 (exit $ac_status); } &&
30245 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30247 (eval $ac_try) 2>&5
30249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30250 (exit $ac_status); }; } &&
30251 { ac_try
='test -s conftest$ac_exeext'
30252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30253 (eval $ac_try) 2>&5
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); }; }; then
30257 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30259 echo "$as_me: failed program was:" >&5
30260 sed 's/^/| /' conftest.
$ac_ext >&5
30262 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30264 rm -f conftest.err conftest.
$ac_objext \
30265 conftest
$ac_exeext conftest.
$ac_ext
30266 LIBS
=$ac_check_lib_save_LIBS
30268 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30269 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30270 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30271 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30276 rm -f conftest.err conftest.
$ac_objext \
30277 conftest
$ac_exeext conftest.
$ac_ext
30278 LIBS
="$ac_xsave_LIBS"
30280 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30281 # to get the SysV transport functions.
30282 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30284 # The nsl library prevents programs from opening the X display
30285 # on Irix 5.2, according to T.E. Dickey.
30286 # The functions gethostbyname, getservbyname, and inet_addr are
30287 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30288 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30289 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30290 if test "${ac_cv_func_gethostbyname+set}" = set; then
30291 echo $ECHO_N "(cached) $ECHO_C" >&6
30293 cat >conftest.
$ac_ext <<_ACEOF
30296 cat confdefs.h
>>conftest.
$ac_ext
30297 cat >>conftest.
$ac_ext <<_ACEOF
30298 /* end confdefs.h. */
30299 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30301 #define gethostbyname innocuous_gethostbyname
30303 /* System header to define __stub macros and hopefully few prototypes,
30304 which can conflict with char gethostbyname (); below.
30305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30306 <limits.h> exists even on freestanding compilers. */
30309 # include <limits.h>
30311 # include <assert.h>
30314 #undef gethostbyname
30316 /* Override any gcc2 internal prototype to avoid an error. */
30321 /* We use char because int might match the return type of a gcc2
30322 builtin and then its argument prototype would still apply. */
30323 char gethostbyname ();
30324 /* The GNU C library defines this for functions which it implements
30325 to always fail with ENOSYS. Some functions are actually named
30326 something starting with __ and the normal name is an alias. */
30327 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30330 char (*f) () = gethostbyname;
30339 return f != gethostbyname;
30344 rm -f conftest.
$ac_objext conftest
$ac_exeext
30345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30346 (eval $ac_link) 2>conftest.er1
30348 grep -v '^ *+' conftest.er1
>conftest.err
30350 cat conftest.err
>&5
30351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); } &&
30353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30355 (eval $ac_try) 2>&5
30357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30358 (exit $ac_status); }; } &&
30359 { ac_try
='test -s conftest$ac_exeext'
30360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30361 (eval $ac_try) 2>&5
30363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30364 (exit $ac_status); }; }; then
30365 ac_cv_func_gethostbyname
=yes
30367 echo "$as_me: failed program was:" >&5
30368 sed 's/^/| /' conftest.
$ac_ext >&5
30370 ac_cv_func_gethostbyname
=no
30372 rm -f conftest.err conftest.
$ac_objext \
30373 conftest
$ac_exeext conftest.
$ac_ext
30375 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30376 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30378 if test $ac_cv_func_gethostbyname = no
; then
30379 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30380 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30381 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30382 echo $ECHO_N "(cached) $ECHO_C" >&6
30384 ac_check_lib_save_LIBS
=$LIBS
30386 cat >conftest.
$ac_ext <<_ACEOF
30389 cat confdefs.h
>>conftest.
$ac_ext
30390 cat >>conftest.
$ac_ext <<_ACEOF
30391 /* end confdefs.h. */
30393 /* Override any gcc2 internal prototype to avoid an error. */
30397 /* We use char because int might match the return type of a gcc2
30398 builtin and then its argument prototype would still apply. */
30399 char gethostbyname ();
30408 rm -f conftest.
$ac_objext conftest
$ac_exeext
30409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30410 (eval $ac_link) 2>conftest.er1
30412 grep -v '^ *+' conftest.er1
>conftest.err
30414 cat conftest.err
>&5
30415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30416 (exit $ac_status); } &&
30417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30419 (eval $ac_try) 2>&5
30421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30422 (exit $ac_status); }; } &&
30423 { ac_try
='test -s conftest$ac_exeext'
30424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30425 (eval $ac_try) 2>&5
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); }; }; then
30429 ac_cv_lib_nsl_gethostbyname
=yes
30431 echo "$as_me: failed program was:" >&5
30432 sed 's/^/| /' conftest.
$ac_ext >&5
30434 ac_cv_lib_nsl_gethostbyname
=no
30436 rm -f conftest.err conftest.
$ac_objext \
30437 conftest
$ac_exeext conftest.
$ac_ext
30438 LIBS
=$ac_check_lib_save_LIBS
30440 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30441 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30442 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30443 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30446 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30447 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30448 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30449 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30450 echo $ECHO_N "(cached) $ECHO_C" >&6
30452 ac_check_lib_save_LIBS
=$LIBS
30454 cat >conftest.
$ac_ext <<_ACEOF
30457 cat confdefs.h
>>conftest.
$ac_ext
30458 cat >>conftest.
$ac_ext <<_ACEOF
30459 /* end confdefs.h. */
30461 /* Override any gcc2 internal prototype to avoid an error. */
30465 /* We use char because int might match the return type of a gcc2
30466 builtin and then its argument prototype would still apply. */
30467 char gethostbyname ();
30476 rm -f conftest.
$ac_objext conftest
$ac_exeext
30477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30478 (eval $ac_link) 2>conftest.er1
30480 grep -v '^ *+' conftest.er1
>conftest.err
30482 cat conftest.err
>&5
30483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30484 (exit $ac_status); } &&
30485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30487 (eval $ac_try) 2>&5
30489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30490 (exit $ac_status); }; } &&
30491 { ac_try
='test -s conftest$ac_exeext'
30492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30493 (eval $ac_try) 2>&5
30495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30496 (exit $ac_status); }; }; then
30497 ac_cv_lib_bsd_gethostbyname
=yes
30499 echo "$as_me: failed program was:" >&5
30500 sed 's/^/| /' conftest.
$ac_ext >&5
30502 ac_cv_lib_bsd_gethostbyname
=no
30504 rm -f conftest.err conftest.
$ac_objext \
30505 conftest
$ac_exeext conftest.
$ac_ext
30506 LIBS
=$ac_check_lib_save_LIBS
30508 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30509 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30510 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30511 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30517 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30518 # socket/setsockopt and other routines are undefined under SCO ODT
30519 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30520 # on later versions), says Simon Leinen: it contains gethostby*
30521 # variants that don't use the name server (or something). -lsocket
30522 # must be given before -lnsl if both are needed. We assume that
30523 # if connect needs -lnsl, so does gethostbyname.
30524 echo "$as_me:$LINENO: checking for connect" >&5
30525 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30526 if test "${ac_cv_func_connect+set}" = set; then
30527 echo $ECHO_N "(cached) $ECHO_C" >&6
30529 cat >conftest.
$ac_ext <<_ACEOF
30532 cat confdefs.h
>>conftest.
$ac_ext
30533 cat >>conftest.
$ac_ext <<_ACEOF
30534 /* end confdefs.h. */
30535 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30537 #define connect innocuous_connect
30539 /* System header to define __stub macros and hopefully few prototypes,
30540 which can conflict with char connect (); below.
30541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30542 <limits.h> exists even on freestanding compilers. */
30545 # include <limits.h>
30547 # include <assert.h>
30552 /* Override any gcc2 internal prototype to avoid an error. */
30557 /* We use char because int might match the return type of a gcc2
30558 builtin and then its argument prototype would still apply. */
30560 /* The GNU C library defines this for functions which it implements
30561 to always fail with ENOSYS. Some functions are actually named
30562 something starting with __ and the normal name is an alias. */
30563 #if defined (__stub_connect) || defined (__stub___connect)
30566 char (*f) () = connect;
30575 return f != connect;
30580 rm -f conftest.
$ac_objext conftest
$ac_exeext
30581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30582 (eval $ac_link) 2>conftest.er1
30584 grep -v '^ *+' conftest.er1
>conftest.err
30586 cat conftest.err
>&5
30587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30588 (exit $ac_status); } &&
30589 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30591 (eval $ac_try) 2>&5
30593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30594 (exit $ac_status); }; } &&
30595 { ac_try
='test -s conftest$ac_exeext'
30596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30597 (eval $ac_try) 2>&5
30599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30600 (exit $ac_status); }; }; then
30601 ac_cv_func_connect
=yes
30603 echo "$as_me: failed program was:" >&5
30604 sed 's/^/| /' conftest.
$ac_ext >&5
30606 ac_cv_func_connect
=no
30608 rm -f conftest.err conftest.
$ac_objext \
30609 conftest
$ac_exeext conftest.
$ac_ext
30611 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30612 echo "${ECHO_T}$ac_cv_func_connect" >&6
30614 if test $ac_cv_func_connect = no
; then
30615 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30616 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30617 if test "${ac_cv_lib_socket_connect+set}" = set; then
30618 echo $ECHO_N "(cached) $ECHO_C" >&6
30620 ac_check_lib_save_LIBS
=$LIBS
30621 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30622 cat >conftest.
$ac_ext <<_ACEOF
30625 cat confdefs.h
>>conftest.
$ac_ext
30626 cat >>conftest.
$ac_ext <<_ACEOF
30627 /* end confdefs.h. */
30629 /* Override any gcc2 internal prototype to avoid an error. */
30633 /* We use char because int might match the return type of a gcc2
30634 builtin and then its argument prototype would still apply. */
30644 rm -f conftest.
$ac_objext conftest
$ac_exeext
30645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30646 (eval $ac_link) 2>conftest.er1
30648 grep -v '^ *+' conftest.er1
>conftest.err
30650 cat conftest.err
>&5
30651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30652 (exit $ac_status); } &&
30653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30655 (eval $ac_try) 2>&5
30657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30658 (exit $ac_status); }; } &&
30659 { ac_try
='test -s conftest$ac_exeext'
30660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30661 (eval $ac_try) 2>&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); }; }; then
30665 ac_cv_lib_socket_connect
=yes
30667 echo "$as_me: failed program was:" >&5
30668 sed 's/^/| /' conftest.
$ac_ext >&5
30670 ac_cv_lib_socket_connect
=no
30672 rm -f conftest.err conftest.
$ac_objext \
30673 conftest
$ac_exeext conftest.
$ac_ext
30674 LIBS
=$ac_check_lib_save_LIBS
30676 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30677 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30678 if test $ac_cv_lib_socket_connect = yes; then
30679 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30684 # Guillermo Gomez says -lposix is necessary on A/UX.
30685 echo "$as_me:$LINENO: checking for remove" >&5
30686 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30687 if test "${ac_cv_func_remove+set}" = set; then
30688 echo $ECHO_N "(cached) $ECHO_C" >&6
30690 cat >conftest.
$ac_ext <<_ACEOF
30693 cat confdefs.h
>>conftest.
$ac_ext
30694 cat >>conftest.
$ac_ext <<_ACEOF
30695 /* end confdefs.h. */
30696 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30698 #define remove innocuous_remove
30700 /* System header to define __stub macros and hopefully few prototypes,
30701 which can conflict with char remove (); below.
30702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30703 <limits.h> exists even on freestanding compilers. */
30706 # include <limits.h>
30708 # include <assert.h>
30713 /* Override any gcc2 internal prototype to avoid an error. */
30718 /* We use char because int might match the return type of a gcc2
30719 builtin and then its argument prototype would still apply. */
30721 /* The GNU C library defines this for functions which it implements
30722 to always fail with ENOSYS. Some functions are actually named
30723 something starting with __ and the normal name is an alias. */
30724 #if defined (__stub_remove) || defined (__stub___remove)
30727 char (*f) () = remove;
30736 return f != remove;
30741 rm -f conftest.
$ac_objext conftest
$ac_exeext
30742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30743 (eval $ac_link) 2>conftest.er1
30745 grep -v '^ *+' conftest.er1
>conftest.err
30747 cat conftest.err
>&5
30748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30749 (exit $ac_status); } &&
30750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30752 (eval $ac_try) 2>&5
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); }; } &&
30756 { ac_try
='test -s conftest$ac_exeext'
30757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30758 (eval $ac_try) 2>&5
30760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30761 (exit $ac_status); }; }; then
30762 ac_cv_func_remove
=yes
30764 echo "$as_me: failed program was:" >&5
30765 sed 's/^/| /' conftest.
$ac_ext >&5
30767 ac_cv_func_remove
=no
30769 rm -f conftest.err conftest.
$ac_objext \
30770 conftest
$ac_exeext conftest.
$ac_ext
30772 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30773 echo "${ECHO_T}$ac_cv_func_remove" >&6
30775 if test $ac_cv_func_remove = no
; then
30776 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30777 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30778 if test "${ac_cv_lib_posix_remove+set}" = set; then
30779 echo $ECHO_N "(cached) $ECHO_C" >&6
30781 ac_check_lib_save_LIBS
=$LIBS
30782 LIBS
="-lposix $LIBS"
30783 cat >conftest.
$ac_ext <<_ACEOF
30786 cat confdefs.h
>>conftest.
$ac_ext
30787 cat >>conftest.
$ac_ext <<_ACEOF
30788 /* end confdefs.h. */
30790 /* Override any gcc2 internal prototype to avoid an error. */
30794 /* We use char because int might match the return type of a gcc2
30795 builtin and then its argument prototype would still apply. */
30805 rm -f conftest.
$ac_objext conftest
$ac_exeext
30806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30807 (eval $ac_link) 2>conftest.er1
30809 grep -v '^ *+' conftest.er1
>conftest.err
30811 cat conftest.err
>&5
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); } &&
30814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30816 (eval $ac_try) 2>&5
30818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30819 (exit $ac_status); }; } &&
30820 { ac_try
='test -s conftest$ac_exeext'
30821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30822 (eval $ac_try) 2>&5
30824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30825 (exit $ac_status); }; }; then
30826 ac_cv_lib_posix_remove
=yes
30828 echo "$as_me: failed program was:" >&5
30829 sed 's/^/| /' conftest.
$ac_ext >&5
30831 ac_cv_lib_posix_remove
=no
30833 rm -f conftest.err conftest.
$ac_objext \
30834 conftest
$ac_exeext conftest.
$ac_ext
30835 LIBS
=$ac_check_lib_save_LIBS
30837 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30838 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30839 if test $ac_cv_lib_posix_remove = yes; then
30840 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30845 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30846 echo "$as_me:$LINENO: checking for shmat" >&5
30847 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30848 if test "${ac_cv_func_shmat+set}" = set; then
30849 echo $ECHO_N "(cached) $ECHO_C" >&6
30851 cat >conftest.
$ac_ext <<_ACEOF
30854 cat confdefs.h
>>conftest.
$ac_ext
30855 cat >>conftest.
$ac_ext <<_ACEOF
30856 /* end confdefs.h. */
30857 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30859 #define shmat innocuous_shmat
30861 /* System header to define __stub macros and hopefully few prototypes,
30862 which can conflict with char shmat (); below.
30863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30864 <limits.h> exists even on freestanding compilers. */
30867 # include <limits.h>
30869 # include <assert.h>
30874 /* Override any gcc2 internal prototype to avoid an error. */
30879 /* We use char because int might match the return type of a gcc2
30880 builtin and then its argument prototype would still apply. */
30882 /* The GNU C library defines this for functions which it implements
30883 to always fail with ENOSYS. Some functions are actually named
30884 something starting with __ and the normal name is an alias. */
30885 #if defined (__stub_shmat) || defined (__stub___shmat)
30888 char (*f) () = shmat;
30902 rm -f conftest.
$ac_objext conftest
$ac_exeext
30903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30904 (eval $ac_link) 2>conftest.er1
30906 grep -v '^ *+' conftest.er1
>conftest.err
30908 cat conftest.err
>&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); } &&
30911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30913 (eval $ac_try) 2>&5
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); }; } &&
30917 { ac_try
='test -s conftest$ac_exeext'
30918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30919 (eval $ac_try) 2>&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); }; }; then
30923 ac_cv_func_shmat
=yes
30925 echo "$as_me: failed program was:" >&5
30926 sed 's/^/| /' conftest.
$ac_ext >&5
30928 ac_cv_func_shmat
=no
30930 rm -f conftest.err conftest.
$ac_objext \
30931 conftest
$ac_exeext conftest.
$ac_ext
30933 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30934 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30936 if test $ac_cv_func_shmat = no
; then
30937 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30938 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30939 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30940 echo $ECHO_N "(cached) $ECHO_C" >&6
30942 ac_check_lib_save_LIBS
=$LIBS
30944 cat >conftest.
$ac_ext <<_ACEOF
30947 cat confdefs.h
>>conftest.
$ac_ext
30948 cat >>conftest.
$ac_ext <<_ACEOF
30949 /* end confdefs.h. */
30951 /* Override any gcc2 internal prototype to avoid an error. */
30955 /* We use char because int might match the return type of a gcc2
30956 builtin and then its argument prototype would still apply. */
30966 rm -f conftest.
$ac_objext conftest
$ac_exeext
30967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30968 (eval $ac_link) 2>conftest.er1
30970 grep -v '^ *+' conftest.er1
>conftest.err
30972 cat conftest.err
>&5
30973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974 (exit $ac_status); } &&
30975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30977 (eval $ac_try) 2>&5
30979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980 (exit $ac_status); }; } &&
30981 { ac_try
='test -s conftest$ac_exeext'
30982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30983 (eval $ac_try) 2>&5
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); }; }; then
30987 ac_cv_lib_ipc_shmat
=yes
30989 echo "$as_me: failed program was:" >&5
30990 sed 's/^/| /' conftest.
$ac_ext >&5
30992 ac_cv_lib_ipc_shmat
=no
30994 rm -f conftest.err conftest.
$ac_objext \
30995 conftest
$ac_exeext conftest.
$ac_ext
30996 LIBS
=$ac_check_lib_save_LIBS
30998 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30999 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31000 if test $ac_cv_lib_ipc_shmat = yes; then
31001 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
31007 # Check for libraries that X11R6 Xt/Xaw programs need.
31008 ac_save_LDFLAGS
=$LDFLAGS
31009 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
31010 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31011 # check for ICE first), but we must link in the order -lSM -lICE or
31012 # we get undefined symbols. So assume we have SM if we have ICE.
31013 # These have to be linked with before -lX11, unlike the other
31014 # libraries we check for below, so use a different variable.
31015 # John Interrante, Karl Berry
31016 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31017 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31018 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31019 echo $ECHO_N "(cached) $ECHO_C" >&6
31021 ac_check_lib_save_LIBS
=$LIBS
31022 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
31023 cat >conftest.
$ac_ext <<_ACEOF
31026 cat confdefs.h
>>conftest.
$ac_ext
31027 cat >>conftest.
$ac_ext <<_ACEOF
31028 /* end confdefs.h. */
31030 /* Override any gcc2 internal prototype to avoid an error. */
31034 /* We use char because int might match the return type of a gcc2
31035 builtin and then its argument prototype would still apply. */
31036 char IceConnectionNumber ();
31040 IceConnectionNumber ();
31045 rm -f conftest.
$ac_objext conftest
$ac_exeext
31046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31047 (eval $ac_link) 2>conftest.er1
31049 grep -v '^ *+' conftest.er1
>conftest.err
31051 cat conftest.err
>&5
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); } &&
31054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31056 (eval $ac_try) 2>&5
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); }; } &&
31060 { ac_try
='test -s conftest$ac_exeext'
31061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062 (eval $ac_try) 2>&5
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); }; }; then
31066 ac_cv_lib_ICE_IceConnectionNumber
=yes
31068 echo "$as_me: failed program was:" >&5
31069 sed 's/^/| /' conftest.
$ac_ext >&5
31071 ac_cv_lib_ICE_IceConnectionNumber
=no
31073 rm -f conftest.err conftest.
$ac_objext \
31074 conftest
$ac_exeext conftest.
$ac_ext
31075 LIBS
=$ac_check_lib_save_LIBS
31077 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31078 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31079 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31080 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31083 LDFLAGS
=$ac_save_LDFLAGS
31088 if test "$no_x" = "yes"; then
31089 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31090 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31091 { (exit 1); exit 1; }; }
31094 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31095 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31096 AFMINSTALL
=afminstall
31097 COMPILED_X_PROGRAM
=0
31101 if test "$wxUSE_X11" = 1; then
31102 if test "$wxUSE_NANOX" = "yes"; then
31103 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31104 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31105 if test "x$MICROWIN" = x
; then
31106 echo "$as_me:$LINENO: result: not found" >&5
31107 echo "${ECHO_T}not found" >&6
31108 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31109 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31110 { (exit 1); exit 1; }; }
31112 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31113 echo "${ECHO_T}$MICROWIN" >&6
31114 cat >>confdefs.h
<<\_ACEOF
31115 #define wxUSE_NANOX 1
31121 if test "$wxUSE_UNICODE" = "yes"; then
31124 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31125 if test -n "$ac_tool_prefix"; then
31126 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31127 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31128 echo "$as_me:$LINENO: checking for $ac_word" >&5
31129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31130 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31131 echo $ECHO_N "(cached) $ECHO_C" >&6
31133 case $PKG_CONFIG in
31135 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31139 for as_dir
in $PATH
31142 test -z "$as_dir" && as_dir
=.
31143 for ac_exec_ext
in '' $ac_executable_extensions; do
31144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31145 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31155 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31157 if test -n "$PKG_CONFIG"; then
31158 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31159 echo "${ECHO_T}$PKG_CONFIG" >&6
31161 echo "$as_me:$LINENO: result: no" >&5
31162 echo "${ECHO_T}no" >&6
31166 if test -z "$ac_cv_path_PKG_CONFIG"; then
31167 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31168 # Extract the first word of "pkg-config", so it can be a program name with args.
31169 set dummy pkg
-config; ac_word
=$2
31170 echo "$as_me:$LINENO: checking for $ac_word" >&5
31171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31172 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31173 echo $ECHO_N "(cached) $ECHO_C" >&6
31175 case $ac_pt_PKG_CONFIG in
31177 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31181 for as_dir
in $PATH
31184 test -z "$as_dir" && as_dir
=.
31185 for ac_exec_ext
in '' $ac_executable_extensions; do
31186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31187 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31197 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31199 if test -n "$ac_pt_PKG_CONFIG"; then
31200 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31201 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31203 echo "$as_me:$LINENO: result: no" >&5
31204 echo "${ECHO_T}no" >&6
31207 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31209 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31213 if test -n "$PKG_CONFIG"; then
31214 _pkg_min_version
=0.9.0
31215 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31216 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31217 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31218 echo "$as_me:$LINENO: result: yes" >&5
31219 echo "${ECHO_T}yes" >&6
31221 echo "$as_me:$LINENO: result: no" >&5
31222 echo "${ECHO_T}no" >&6
31230 echo "$as_me:$LINENO: checking for PANGOX" >&5
31231 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31233 if test -n "$PKG_CONFIG"; then
31234 if test -n "$PANGOX_CFLAGS"; then
31235 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31237 if test -n "$PKG_CONFIG" && \
31238 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31239 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); }; then
31243 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31251 if test -n "$PKG_CONFIG"; then
31252 if test -n "$PANGOX_LIBS"; then
31253 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31255 if test -n "$PKG_CONFIG" && \
31256 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31257 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31260 (exit $ac_status); }; then
31261 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31272 if test $pkg_failed = yes; then
31274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31275 _pkg_short_errors_supported
=yes
31277 _pkg_short_errors_supported
=no
31279 if test $_pkg_short_errors_supported = yes; then
31280 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31282 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31284 # Put the nasty error message in config.log where it belongs
31285 echo "$PANGOX_PKG_ERRORS" >&5
31288 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31289 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31290 { (exit 1); exit 1; }; }
31293 elif test $pkg_failed = untried
; then
31295 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31296 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31297 { (exit 1); exit 1; }; }
31301 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31302 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31303 echo "$as_me:$LINENO: result: yes" >&5
31304 echo "${ECHO_T}yes" >&6
31306 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31307 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31308 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31313 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31314 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31316 if test -n "$PKG_CONFIG"; then
31317 if test -n "$PANGOFT2_CFLAGS"; then
31318 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31320 if test -n "$PKG_CONFIG" && \
31321 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31322 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31325 (exit $ac_status); }; then
31326 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31334 if test -n "$PKG_CONFIG"; then
31335 if test -n "$PANGOFT2_LIBS"; then
31336 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31338 if test -n "$PKG_CONFIG" && \
31339 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31340 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; then
31344 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31355 if test $pkg_failed = yes; then
31357 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31358 _pkg_short_errors_supported
=yes
31360 _pkg_short_errors_supported
=no
31362 if test $_pkg_short_errors_supported = yes; then
31363 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31365 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31367 # Put the nasty error message in config.log where it belongs
31368 echo "$PANGOFT2_PKG_ERRORS" >&5
31371 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31372 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31373 wxUSE_PRINTING_ARCHITECTURE
="no"
31376 elif test $pkg_failed = untried
; then
31378 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31379 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31380 wxUSE_PRINTING_ARCHITECTURE
="no"
31384 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31385 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31386 echo "$as_me:$LINENO: result: yes" >&5
31387 echo "${ECHO_T}yes" >&6
31389 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31390 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31391 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31396 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31397 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31399 if test -n "$PKG_CONFIG"; then
31400 if test -n "$PANGOXFT_CFLAGS"; then
31401 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31403 if test -n "$PKG_CONFIG" && \
31404 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31405 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 (exit $ac_status); }; then
31409 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31417 if test -n "$PKG_CONFIG"; then
31418 if test -n "$PANGOXFT_LIBS"; then
31419 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31421 if test -n "$PKG_CONFIG" && \
31422 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31423 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); }; then
31427 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31438 if test $pkg_failed = yes; then
31440 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31441 _pkg_short_errors_supported
=yes
31443 _pkg_short_errors_supported
=no
31445 if test $_pkg_short_errors_supported = yes; then
31446 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31448 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31450 # Put the nasty error message in config.log where it belongs
31451 echo "$PANGOXFT_PKG_ERRORS" >&5
31454 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31455 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31458 elif test $pkg_failed = untried
; then
31460 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31461 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31465 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31466 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31467 echo "$as_me:$LINENO: result: yes" >&5
31468 echo "${ECHO_T}yes" >&6
31470 cat >>confdefs.h
<<\_ACEOF
31471 #define HAVE_PANGO_XFT 1
31474 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31475 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31476 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31480 LIBS
="$LIBS $PANGOX_LIBS"
31482 for ac_func
in pango_font_family_is_monospace
31484 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31485 echo "$as_me:$LINENO: checking for $ac_func" >&5
31486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31487 if eval "test \"\${$as_ac_var+set}\" = set"; then
31488 echo $ECHO_N "(cached) $ECHO_C" >&6
31490 cat >conftest.
$ac_ext <<_ACEOF
31493 cat confdefs.h
>>conftest.
$ac_ext
31494 cat >>conftest.
$ac_ext <<_ACEOF
31495 /* end confdefs.h. */
31496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31498 #define $ac_func innocuous_$ac_func
31500 /* System header to define __stub macros and hopefully few prototypes,
31501 which can conflict with char $ac_func (); below.
31502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31503 <limits.h> exists even on freestanding compilers. */
31506 # include <limits.h>
31508 # include <assert.h>
31513 /* Override any gcc2 internal prototype to avoid an error. */
31518 /* We use char because int might match the return type of a gcc2
31519 builtin and then its argument prototype would still apply. */
31521 /* The GNU C library defines this for functions which it implements
31522 to always fail with ENOSYS. Some functions are actually named
31523 something starting with __ and the normal name is an alias. */
31524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31527 char (*f) () = $ac_func;
31536 return f != $ac_func;
31541 rm -f conftest.
$ac_objext conftest
$ac_exeext
31542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31543 (eval $ac_link) 2>conftest.er1
31545 grep -v '^ *+' conftest.er1
>conftest.err
31547 cat conftest.err
>&5
31548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31549 (exit $ac_status); } &&
31550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31552 (eval $ac_try) 2>&5
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); }; } &&
31556 { ac_try
='test -s conftest$ac_exeext'
31557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558 (eval $ac_try) 2>&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; }; then
31562 eval "$as_ac_var=yes"
31564 echo "$as_me: failed program was:" >&5
31565 sed 's/^/| /' conftest.
$ac_ext >&5
31567 eval "$as_ac_var=no"
31569 rm -f conftest.err conftest.
$ac_objext \
31570 conftest
$ac_exeext conftest.
$ac_ext
31572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31574 if test `eval echo '${'$as_ac_var'}'` = yes; then
31575 cat >>confdefs.h
<<_ACEOF
31576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31585 wxUSE_UNIVERSAL
="yes"
31587 if test "$wxUSE_NANOX" = "yes"; then
31588 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31589 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"
31590 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31592 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31599 if test "$wxUSE_MOTIF" = 1; then
31600 if test "$wxUSE_UNICODE" = "yes"; then
31601 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31602 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31603 { (exit 1); exit 1; }; }
31606 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31607 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31610 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31612 if test -f "$ac_dir/Xm/Xm.h"; then
31613 ac_find_includes
=$ac_dir
31618 if test "$ac_find_includes" != "" ; then
31619 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31620 echo "${ECHO_T}found in $ac_find_includes" >&6
31622 if test "x$ac_find_includes" = "x/usr/include"; then
31623 ac_path_to_include
=""
31625 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31627 if test $result = 0; then
31628 ac_path_to_include
=""
31630 ac_path_to_include
=" -I$ac_find_includes"
31634 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31636 save_CFLAGS
=$CFLAGS
31637 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31639 cat >conftest.
$ac_ext <<_ACEOF
31642 cat confdefs.h
>>conftest.
$ac_ext
31643 cat >>conftest.
$ac_ext <<_ACEOF
31644 /* end confdefs.h. */
31653 version = xmUseVersion;
31659 rm -f conftest.
$ac_objext
31660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31661 (eval $ac_compile) 2>conftest.er1
31663 grep -v '^ *+' conftest.er1
>conftest.err
31665 cat conftest.err
>&5
31666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31667 (exit $ac_status); } &&
31668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31670 (eval $ac_try) 2>&5
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); }; } &&
31674 { ac_try
='test -s conftest.$ac_objext'
31675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31676 (eval $ac_try) 2>&5
31678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31679 (exit $ac_status); }; }; then
31681 echo "$as_me:$LINENO: result: found in default search path" >&5
31682 echo "${ECHO_T}found in default search path" >&6
31683 COMPILED_X_PROGRAM
=1
31686 echo "$as_me: failed program was:" >&5
31687 sed 's/^/| /' conftest.
$ac_ext >&5
31690 echo "$as_me:$LINENO: result: no" >&5
31691 echo "${ECHO_T}no" >&6
31692 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31693 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31694 { (exit 1); exit 1; }; }
31698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31700 CFLAGS
=$save_CFLAGS
31704 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31705 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31708 for ac_dir
in $SEARCH_LIB;
31710 for ac_extension
in a so sl dylib dll.a
; do
31711 if test -f "$ac_dir/libXm.$ac_extension"; then
31712 ac_find_libraries
=$ac_dir
31719 if test "x$ac_find_libraries" != "x" ; then
31720 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31721 echo "${ECHO_T}found in $ac_find_libraries" >&6
31724 if test "$ac_find_libraries" = "default location"; then
31727 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31729 if test $result = 0; then
31732 ac_path_to_link
=" -L$ac_find_libraries"
31736 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31738 save_CFLAGS
=$CFLAGS
31739 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31741 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31743 cat >conftest.
$ac_ext <<_ACEOF
31746 cat confdefs.h
>>conftest.
$ac_ext
31747 cat >>conftest.
$ac_ext <<_ACEOF
31748 /* end confdefs.h. */
31757 version = xmUseVersion;
31763 rm -f conftest.
$ac_objext conftest
$ac_exeext
31764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31765 (eval $ac_link) 2>conftest.er1
31767 grep -v '^ *+' conftest.er1
>conftest.err
31769 cat conftest.err
>&5
31770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31771 (exit $ac_status); } &&
31772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31774 (eval $ac_try) 2>&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); }; } &&
31778 { ac_try
='test -s conftest$ac_exeext'
31779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31780 (eval $ac_try) 2>&5
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); }; }; then
31785 echo "$as_me:$LINENO: result: found in default search path" >&5
31786 echo "${ECHO_T}found in default search path" >&6
31787 COMPILED_X_PROGRAM
=1
31790 echo "$as_me: failed program was:" >&5
31791 sed 's/^/| /' conftest.
$ac_ext >&5
31794 echo "$as_me:$LINENO: result: no" >&5
31795 echo "${ECHO_T}no" >&6
31796 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31797 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31798 { (exit 1); exit 1; }; }
31802 rm -f conftest.err conftest.
$ac_objext \
31803 conftest
$ac_exeext conftest.
$ac_ext
31805 CFLAGS
=$save_CFLAGS
31809 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31810 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31814 for libp
in "" " -lXp"; do
31815 if test "$libs_found" = "0"; then
31816 for libsm_ice
in "" " -lSM -lICE"; do
31817 if test "$libs_found" = "0"; then
31819 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31820 save_CFLAGS
=$CFLAGS
31821 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31823 cat >conftest.
$ac_ext <<_ACEOF
31826 cat confdefs.h
>>conftest.
$ac_ext
31827 cat >>conftest.
$ac_ext <<_ACEOF
31828 /* end confdefs.h. */
31831 #include <Xm/List.h>
31837 XmString string = NULL;
31840 XmListAddItem(w, string, position);
31846 rm -f conftest.
$ac_objext conftest
$ac_exeext
31847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31848 (eval $ac_link) 2>conftest.er1
31850 grep -v '^ *+' conftest.er1
>conftest.err
31852 cat conftest.err
>&5
31853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31854 (exit $ac_status); } &&
31855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31857 (eval $ac_try) 2>&5
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); }; } &&
31861 { ac_try
='test -s conftest$ac_exeext'
31862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31863 (eval $ac_try) 2>&5
31865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866 (exit $ac_status); }; }; then
31869 libsm_ice_link
="$libsm_ice"
31870 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31871 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31875 echo "$as_me: failed program was:" >&5
31876 sed 's/^/| /' conftest.
$ac_ext >&5
31881 rm -f conftest.err conftest.
$ac_objext \
31882 conftest
$ac_exeext conftest.
$ac_ext
31885 CFLAGS
=$save_CFLAGS
31891 if test "$libs_found" = "0"; then
31892 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31893 echo "${ECHO_T}can't find the right libraries" >&6
31894 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31895 echo "$as_me: error: can't link a simple motif program" >&2;}
31896 { (exit 1); exit 1; }; }
31899 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31900 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31901 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31902 echo $ECHO_N "(cached) $ECHO_C" >&6
31904 ac_check_lib_save_LIBS
=$LIBS
31906 cat >conftest.
$ac_ext <<_ACEOF
31909 cat confdefs.h
>>conftest.
$ac_ext
31910 cat >>conftest.
$ac_ext <<_ACEOF
31911 /* end confdefs.h. */
31913 /* Override any gcc2 internal prototype to avoid an error. */
31917 /* We use char because int might match the return type of a gcc2
31918 builtin and then its argument prototype would still apply. */
31919 char SgCreateList ();
31928 rm -f conftest.
$ac_objext conftest
$ac_exeext
31929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31930 (eval $ac_link) 2>conftest.er1
31932 grep -v '^ *+' conftest.er1
>conftest.err
31934 cat conftest.err
>&5
31935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31936 (exit $ac_status); } &&
31937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31939 (eval $ac_try) 2>&5
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); }; } &&
31943 { ac_try
='test -s conftest$ac_exeext'
31944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31945 (eval $ac_try) 2>&5
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); }; }; then
31949 ac_cv_lib_Sgm_SgCreateList
=yes
31951 echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.
$ac_ext >&5
31954 ac_cv_lib_Sgm_SgCreateList
=no
31956 rm -f conftest.err conftest.
$ac_objext \
31957 conftest
$ac_exeext conftest.
$ac_ext
31958 LIBS
=$ac_check_lib_save_LIBS
31960 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31961 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31962 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31963 libsgm_link
=" -lSgm"
31967 save_CFLAGS
=$CFLAGS
31968 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31970 echo "$as_me:$LINENO: checking for Motif 2" >&5
31971 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31972 if test "${wx_cv_lib_motif2+set}" = set; then
31973 echo $ECHO_N "(cached) $ECHO_C" >&6
31975 cat >conftest.
$ac_ext <<_ACEOF
31978 cat confdefs.h
>>conftest.
$ac_ext
31979 cat >>conftest.
$ac_ext <<_ACEOF
31980 /* end confdefs.h. */
31988 #if XmVersion < 2000
31996 rm -f conftest.
$ac_objext
31997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31998 (eval $ac_compile) 2>conftest.er1
32000 grep -v '^ *+' conftest.er1
>conftest.err
32002 cat conftest.err
>&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); } &&
32005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32007 (eval $ac_try) 2>&5
32009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010 (exit $ac_status); }; } &&
32011 { ac_try
='test -s conftest.$ac_objext'
32012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32013 (eval $ac_try) 2>&5
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); }; }; then
32017 wx_cv_lib_motif2
="yes"
32019 echo "$as_me: failed program was:" >&5
32020 sed 's/^/| /' conftest.
$ac_ext >&5
32022 wx_cv_lib_motif2
="no"
32024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32026 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32027 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32028 if test "$wx_cv_lib_motif2" = "yes"; then
32029 cat >>confdefs.h
<<\_ACEOF
32030 #define __WXMOTIF20__ 1
32034 cat >>confdefs.h
<<\_ACEOF
32035 #define __WXMOTIF20__ 0
32040 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32041 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32042 if test "${wx_cv_lib_lesstif+set}" = set; then
32043 echo $ECHO_N "(cached) $ECHO_C" >&6
32045 cat >conftest.
$ac_ext <<_ACEOF
32048 cat confdefs.h
>>conftest.
$ac_ext
32049 cat >>conftest.
$ac_ext <<_ACEOF
32050 /* end confdefs.h. */
32058 #if !defined(LesstifVersion) || LesstifVersion <= 0
32066 rm -f conftest.
$ac_objext
32067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32068 (eval $ac_compile) 2>conftest.er1
32070 grep -v '^ *+' conftest.er1
>conftest.err
32072 cat conftest.err
>&5
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); } &&
32075 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32077 (eval $ac_try) 2>&5
32079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32080 (exit $ac_status); }; } &&
32081 { ac_try
='test -s conftest.$ac_objext'
32082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32083 (eval $ac_try) 2>&5
32085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32086 (exit $ac_status); }; }; then
32087 wx_cv_lib_lesstif
="yes"
32089 echo "$as_me: failed program was:" >&5
32090 sed 's/^/| /' conftest.
$ac_ext >&5
32092 wx_cv_lib_lesstif
="no"
32094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32097 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32098 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32099 if test "$wx_cv_lib_lesstif" = "yes"; then
32100 cat >>confdefs.h
<<\_ACEOF
32101 #define __WXLESSTIF__ 1
32105 cat >>confdefs.h
<<\_ACEOF
32106 #define __WXLESSTIF__ 0
32111 CFLAGS
=$save_CFLAGS
32113 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32118 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32119 if test "$wxUSE_LIBXPM" = "sys"; then
32120 echo "$as_me:$LINENO: checking for Xpm library" >&5
32121 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32124 for ac_dir
in $SEARCH_LIB;
32126 for ac_extension
in a so sl dylib dll.a
; do
32127 if test -f "$ac_dir/libXpm.$ac_extension"; then
32128 ac_find_libraries
=$ac_dir
32134 if test "$ac_find_libraries" != "" ; then
32136 if test "$ac_find_libraries" = "default location"; then
32139 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32141 if test $result = 0; then
32144 ac_path_to_link
=" -L$ac_find_libraries"
32148 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32149 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32150 echo "${ECHO_T}found in $ac_find_libraries" >&6
32152 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32153 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32154 if test "${wx_cv_x11_xpm_h+set}" = set; then
32155 echo $ECHO_N "(cached) $ECHO_C" >&6
32158 save_CFLAGS
=$CFLAGS
32159 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32161 cat >conftest.
$ac_ext <<_ACEOF
32164 cat confdefs.h
>>conftest.
$ac_ext
32165 cat >>conftest.
$ac_ext <<_ACEOF
32166 /* end confdefs.h. */
32168 #include <X11/xpm.h>
32175 version = XpmLibraryVersion();
32181 rm -f conftest.
$ac_objext
32182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32183 (eval $ac_compile) 2>conftest.er1
32185 grep -v '^ *+' conftest.er1
>conftest.err
32187 cat conftest.err
>&5
32188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32189 (exit $ac_status); } &&
32190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32192 (eval $ac_try) 2>&5
32194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32195 (exit $ac_status); }; } &&
32196 { ac_try
='test -s conftest.$ac_objext'
32197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32198 (eval $ac_try) 2>&5
32200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32201 (exit $ac_status); }; }; then
32202 wx_cv_x11_xpm_h
=yes
32204 echo "$as_me: failed program was:" >&5
32205 sed 's/^/| /' conftest.
$ac_ext >&5
32210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32212 CFLAGS
=$save_CFLAGS
32216 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32217 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32219 if test $wx_cv_x11_xpm_h = "yes"; then
32220 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32221 cat >>confdefs.h
<<\_ACEOF
32222 #define wxHAVE_LIB_XPM 1
32226 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32227 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32233 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32234 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32235 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32236 echo $ECHO_N "(cached) $ECHO_C" >&6
32238 ac_check_lib_save_LIBS
=$LIBS
32239 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32240 cat >conftest.
$ac_ext <<_ACEOF
32243 cat confdefs.h
>>conftest.
$ac_ext
32244 cat >>conftest.
$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32247 /* Override any gcc2 internal prototype to avoid an error. */
32251 /* We use char because int might match the return type of a gcc2
32252 builtin and then its argument prototype would still apply. */
32253 char XShapeQueryExtension ();
32257 XShapeQueryExtension ();
32262 rm -f conftest.
$ac_objext conftest
$ac_exeext
32263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32264 (eval $ac_link) 2>conftest.er1
32266 grep -v '^ *+' conftest.er1
>conftest.err
32268 cat conftest.err
>&5
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); } &&
32271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32273 (eval $ac_try) 2>&5
32275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32276 (exit $ac_status); }; } &&
32277 { ac_try
='test -s conftest$ac_exeext'
32278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32279 (eval $ac_try) 2>&5
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); }; }; then
32283 ac_cv_lib_Xext_XShapeQueryExtension
=yes
32285 echo "$as_me: failed program was:" >&5
32286 sed 's/^/| /' conftest.
$ac_ext >&5
32288 ac_cv_lib_Xext_XShapeQueryExtension
=no
32290 rm -f conftest.err conftest.
$ac_objext \
32291 conftest
$ac_exeext conftest.
$ac_ext
32292 LIBS
=$ac_check_lib_save_LIBS
32294 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32295 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32296 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32298 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
32304 if test "$wxHAVE_XEXT_LIB" = 1; then
32305 save_CFLAGS
="$CFLAGS"
32306 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32308 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32309 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32310 cat >conftest.
$ac_ext <<_ACEOF
32313 cat confdefs.h
>>conftest.
$ac_ext
32314 cat >>conftest.
$ac_ext <<_ACEOF
32315 /* end confdefs.h. */
32317 #include <X11/Xlib.h>
32318 #include <X11/extensions/shape.h>
32324 int dummy1, dummy2;
32325 XShapeQueryExtension((Display*)NULL,
32326 (int*)NULL, (int*)NULL);
32332 rm -f conftest.
$ac_objext
32333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32334 (eval $ac_compile) 2>conftest.er1
32336 grep -v '^ *+' conftest.er1
>conftest.err
32338 cat conftest.err
>&5
32339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32340 (exit $ac_status); } &&
32341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32343 (eval $ac_try) 2>&5
32345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32346 (exit $ac_status); }; } &&
32347 { ac_try
='test -s conftest.$ac_objext'
32348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32349 (eval $ac_try) 2>&5
32351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32352 (exit $ac_status); }; }; then
32354 cat >>confdefs.h
<<\_ACEOF
32355 #define HAVE_XSHAPE 1
32358 echo "$as_me:$LINENO: result: found" >&5
32359 echo "${ECHO_T}found" >&6
32362 echo "$as_me: failed program was:" >&5
32363 sed 's/^/| /' conftest.
$ac_ext >&5
32366 echo "$as_me:$LINENO: result: not found" >&5
32367 echo "${ECHO_T}not found" >&6
32370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32371 CFLAGS
="$save_CFLAGS"
32376 if test "$wxUSE_MAC" = 1; then
32377 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32378 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32379 if test "$GCC" = yes; then
32380 echo "$as_me:$LINENO: result: gcc" >&5
32381 echo "${ECHO_T}gcc" >&6
32382 CPPFLAGS_PASCAL
="-fpascal-strings"
32383 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32384 echo "$as_me:$LINENO: result: xlc" >&5
32385 echo "${ECHO_T}xlc" >&6
32386 CPPFLAGS_PASCAL
="-qmacpstr"
32388 echo "$as_me:$LINENO: result: none" >&5
32389 echo "${ECHO_T}none" >&6
32392 if test "x$wxUSE_UNIX" = "xyes"; then
32393 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32395 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32400 WXBASEPORT
="_carbon"
32403 if test "$wxUSE_COCOA" = 1; then
32408 if test "$wxUSE_PM" = 1; then
32411 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32412 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32413 if test "${wx_cv_spbcdata+set}" = set; then
32414 echo $ECHO_N "(cached) $ECHO_C" >&6
32417 cat >conftest.
$ac_ext <<_ACEOF
32420 cat confdefs.h
>>conftest.
$ac_ext
32421 cat >>conftest.
$ac_ext <<_ACEOF
32422 /* end confdefs.h. */
32437 rm -f conftest.
$ac_objext
32438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32439 (eval $ac_compile) 2>conftest.er1
32441 grep -v '^ *+' conftest.er1
>conftest.err
32443 cat conftest.err
>&5
32444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445 (exit $ac_status); } &&
32446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32448 (eval $ac_try) 2>&5
32450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451 (exit $ac_status); }; } &&
32452 { ac_try
='test -s conftest.$ac_objext'
32453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32454 (eval $ac_try) 2>&5
32456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32457 (exit $ac_status); }; }; then
32460 echo "$as_me: failed program was:" >&5
32461 sed 's/^/| /' conftest.
$ac_ext >&5
32466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32470 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32471 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32473 if test $wx_cv_spbcdata = "yes"; then
32474 cat >>confdefs.h
<<\_ACEOF
32475 #define HAVE_SPBCDATA 1
32481 if test "$TOOLKIT" = "PM" ; then
32484 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32487 if test "$wxUSE_UNIVERSAL" = "yes"; then
32488 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32492 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32493 DISTDIR
="wx\$(TOOLKIT)"
32499 if test "$USE_WIN32" = 1 ; then
32503 GUIDIST
="BASE_DIST"
32508 if test "$wxUSE_GUI" = "yes"; then
32509 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32511 for ac_header
in X
11/Xlib.h
32513 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32515 echo "$as_me:$LINENO: checking for $ac_header" >&5
32516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32518 echo $ECHO_N "(cached) $ECHO_C" >&6
32520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32523 # Is the header compilable?
32524 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32525 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32526 cat >conftest.
$ac_ext <<_ACEOF
32529 cat confdefs.h
>>conftest.
$ac_ext
32530 cat >>conftest.
$ac_ext <<_ACEOF
32531 /* end confdefs.h. */
32532 $ac_includes_default
32533 #include <$ac_header>
32535 rm -f conftest.
$ac_objext
32536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32537 (eval $ac_compile) 2>conftest.er1
32539 grep -v '^ *+' conftest.er1
>conftest.err
32541 cat conftest.err
>&5
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); } &&
32544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32546 (eval $ac_try) 2>&5
32548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549 (exit $ac_status); }; } &&
32550 { ac_try
='test -s conftest.$ac_objext'
32551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32552 (eval $ac_try) 2>&5
32554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555 (exit $ac_status); }; }; then
32556 ac_header_compiler
=yes
32558 echo "$as_me: failed program was:" >&5
32559 sed 's/^/| /' conftest.
$ac_ext >&5
32561 ac_header_compiler
=no
32563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32565 echo "${ECHO_T}$ac_header_compiler" >&6
32567 # Is the header present?
32568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32570 cat >conftest.
$ac_ext <<_ACEOF
32573 cat confdefs.h
>>conftest.
$ac_ext
32574 cat >>conftest.
$ac_ext <<_ACEOF
32575 /* end confdefs.h. */
32576 #include <$ac_header>
32578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32579 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32581 grep -v '^ *+' conftest.er1
>conftest.err
32583 cat conftest.err
>&5
32584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32585 (exit $ac_status); } >/dev
/null
; then
32586 if test -s conftest.err
; then
32587 ac_cpp_err
=$ac_c_preproc_warn_flag
32588 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32595 if test -z "$ac_cpp_err"; then
32596 ac_header_preproc
=yes
32598 echo "$as_me: failed program was:" >&5
32599 sed 's/^/| /' conftest.
$ac_ext >&5
32601 ac_header_preproc
=no
32603 rm -f conftest.err conftest.
$ac_ext
32604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32605 echo "${ECHO_T}$ac_header_preproc" >&6
32607 # So? What about this header?
32608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32613 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32614 ac_header_preproc
=yes
32617 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32618 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32619 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32620 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32621 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32622 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32623 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32624 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32627 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32628 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32631 ## ----------------------------------------- ##
32632 ## Report this to wx-dev@lists.wxwidgets.org ##
32633 ## ----------------------------------------- ##
32636 sed "s/^/$as_me: WARNING: /" >&2
32639 echo "$as_me:$LINENO: checking for $ac_header" >&5
32640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32642 echo $ECHO_N "(cached) $ECHO_C" >&6
32644 eval "$as_ac_Header=\$ac_header_preproc"
32646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32651 cat >>confdefs.h
<<_ACEOF
32652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32660 for ac_header
in X
11/XKBlib.h
32662 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32663 echo "$as_me:$LINENO: checking for $ac_header" >&5
32664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32666 echo $ECHO_N "(cached) $ECHO_C" >&6
32668 cat >conftest.
$ac_ext <<_ACEOF
32671 cat confdefs.h
>>conftest.
$ac_ext
32672 cat >>conftest.
$ac_ext <<_ACEOF
32673 /* end confdefs.h. */
32675 #if HAVE_X11_XLIB_H
32676 #include <X11/Xlib.h>
32680 #include <$ac_header>
32682 rm -f conftest.
$ac_objext
32683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32684 (eval $ac_compile) 2>conftest.er1
32686 grep -v '^ *+' conftest.er1
>conftest.err
32688 cat conftest.err
>&5
32689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32690 (exit $ac_status); } &&
32691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32693 (eval $ac_try) 2>&5
32695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32696 (exit $ac_status); }; } &&
32697 { ac_try
='test -s conftest.$ac_objext'
32698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32699 (eval $ac_try) 2>&5
32701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702 (exit $ac_status); }; }; then
32703 eval "$as_ac_Header=yes"
32705 echo "$as_me: failed program was:" >&5
32706 sed 's/^/| /' conftest.
$ac_ext >&5
32708 eval "$as_ac_Header=no"
32710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32715 cat >>confdefs.h
<<_ACEOF
32716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32731 if test "$TOOLKIT" != "MSW" ; then
32733 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32735 if test "${ac_cv_header_sql_h+set}" = set; then
32736 echo "$as_me:$LINENO: checking for sql.h" >&5
32737 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32738 if test "${ac_cv_header_sql_h+set}" = set; then
32739 echo $ECHO_N "(cached) $ECHO_C" >&6
32741 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32742 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32744 # Is the header compilable?
32745 echo "$as_me:$LINENO: checking sql.h usability" >&5
32746 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32747 cat >conftest.
$ac_ext <<_ACEOF
32750 cat confdefs.h
>>conftest.
$ac_ext
32751 cat >>conftest.
$ac_ext <<_ACEOF
32752 /* end confdefs.h. */
32753 $ac_includes_default
32756 rm -f conftest.
$ac_objext
32757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32758 (eval $ac_compile) 2>conftest.er1
32760 grep -v '^ *+' conftest.er1
>conftest.err
32762 cat conftest.err
>&5
32763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764 (exit $ac_status); } &&
32765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32767 (eval $ac_try) 2>&5
32769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770 (exit $ac_status); }; } &&
32771 { ac_try
='test -s conftest.$ac_objext'
32772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32773 (eval $ac_try) 2>&5
32775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32776 (exit $ac_status); }; }; then
32777 ac_header_compiler
=yes
32779 echo "$as_me: failed program was:" >&5
32780 sed 's/^/| /' conftest.
$ac_ext >&5
32782 ac_header_compiler
=no
32784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32786 echo "${ECHO_T}$ac_header_compiler" >&6
32788 # Is the header present?
32789 echo "$as_me:$LINENO: checking sql.h presence" >&5
32790 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32791 cat >conftest.
$ac_ext <<_ACEOF
32794 cat confdefs.h
>>conftest.
$ac_ext
32795 cat >>conftest.
$ac_ext <<_ACEOF
32796 /* end confdefs.h. */
32799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32800 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32802 grep -v '^ *+' conftest.er1
>conftest.err
32804 cat conftest.err
>&5
32805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806 (exit $ac_status); } >/dev
/null
; then
32807 if test -s conftest.err
; then
32808 ac_cpp_err
=$ac_c_preproc_warn_flag
32809 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32816 if test -z "$ac_cpp_err"; then
32817 ac_header_preproc
=yes
32819 echo "$as_me: failed program was:" >&5
32820 sed 's/^/| /' conftest.
$ac_ext >&5
32822 ac_header_preproc
=no
32824 rm -f conftest.err conftest.
$ac_ext
32825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32826 echo "${ECHO_T}$ac_header_preproc" >&6
32828 # So? What about this header?
32829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32831 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32832 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32833 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32834 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32835 ac_header_preproc
=yes
32838 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32839 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32840 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32841 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32842 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32843 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32844 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32845 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32846 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32847 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32848 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32849 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32852 ## ----------------------------------------- ##
32853 ## Report this to wx-dev@lists.wxwidgets.org ##
32854 ## ----------------------------------------- ##
32857 sed "s/^/$as_me: WARNING: /" >&2
32860 echo "$as_me:$LINENO: checking for sql.h" >&5
32861 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32862 if test "${ac_cv_header_sql_h+set}" = set; then
32863 echo $ECHO_N "(cached) $ECHO_C" >&6
32865 ac_cv_header_sql_h
=$ac_header_preproc
32867 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32868 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32871 if test $ac_cv_header_sql_h = yes; then
32876 if test "x$found_sql_h" = "x1" ; then
32877 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32878 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32879 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32880 echo $ECHO_N "(cached) $ECHO_C" >&6
32882 ac_check_lib_save_LIBS
=$LIBS
32883 LIBS
="-liodbc $LIBS"
32884 cat >conftest.
$ac_ext <<_ACEOF
32887 cat confdefs.h
>>conftest.
$ac_ext
32888 cat >>conftest.
$ac_ext <<_ACEOF
32889 /* end confdefs.h. */
32891 /* Override any gcc2 internal prototype to avoid an error. */
32895 /* We use char because int might match the return type of a gcc2
32896 builtin and then its argument prototype would still apply. */
32897 char SQLAllocEnv ();
32906 rm -f conftest.
$ac_objext conftest
$ac_exeext
32907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32908 (eval $ac_link) 2>conftest.er1
32910 grep -v '^ *+' conftest.er1
>conftest.err
32912 cat conftest.err
>&5
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); } &&
32915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32917 (eval $ac_try) 2>&5
32919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32920 (exit $ac_status); }; } &&
32921 { ac_try
='test -s conftest$ac_exeext'
32922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32923 (eval $ac_try) 2>&5
32925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32926 (exit $ac_status); }; }; then
32927 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32929 echo "$as_me: failed program was:" >&5
32930 sed 's/^/| /' conftest.
$ac_ext >&5
32932 ac_cv_lib_iodbc_SQLAllocEnv
=no
32934 rm -f conftest.err conftest.
$ac_objext \
32935 conftest
$ac_exeext conftest.
$ac_ext
32936 LIBS
=$ac_check_lib_save_LIBS
32938 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32939 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32940 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32941 ODBC_LINK
=" -liodbc"
32944 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32945 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32946 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32947 echo $ECHO_N "(cached) $ECHO_C" >&6
32949 ac_check_lib_save_LIBS
=$LIBS
32950 LIBS
="-lunixodbc $LIBS"
32951 cat >conftest.
$ac_ext <<_ACEOF
32954 cat confdefs.h
>>conftest.
$ac_ext
32955 cat >>conftest.
$ac_ext <<_ACEOF
32956 /* end confdefs.h. */
32958 /* Override any gcc2 internal prototype to avoid an error. */
32962 /* We use char because int might match the return type of a gcc2
32963 builtin and then its argument prototype would still apply. */
32964 char SQLAllocEnv ();
32973 rm -f conftest.
$ac_objext conftest
$ac_exeext
32974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32975 (eval $ac_link) 2>conftest.er1
32977 grep -v '^ *+' conftest.er1
>conftest.err
32979 cat conftest.err
>&5
32980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32981 (exit $ac_status); } &&
32982 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32984 (eval $ac_try) 2>&5
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); }; } &&
32988 { ac_try
='test -s conftest$ac_exeext'
32989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32990 (eval $ac_try) 2>&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); }; }; then
32994 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32996 echo "$as_me: failed program was:" >&5
32997 sed 's/^/| /' conftest.
$ac_ext >&5
32999 ac_cv_lib_unixodbc_SQLAllocEnv
=no
33001 rm -f conftest.err conftest.
$ac_objext \
33002 conftest
$ac_exeext conftest.
$ac_ext
33003 LIBS
=$ac_check_lib_save_LIBS
33005 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33006 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33007 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33008 ODBC_LINK
=" -lunixodbc"
33011 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33012 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33013 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33014 echo $ECHO_N "(cached) $ECHO_C" >&6
33016 ac_check_lib_save_LIBS
=$LIBS
33017 LIBS
="-lodbc $LIBS"
33018 cat >conftest.
$ac_ext <<_ACEOF
33021 cat confdefs.h
>>conftest.
$ac_ext
33022 cat >>conftest.
$ac_ext <<_ACEOF
33023 /* end confdefs.h. */
33025 /* Override any gcc2 internal prototype to avoid an error. */
33029 /* We use char because int might match the return type of a gcc2
33030 builtin and then its argument prototype would still apply. */
33031 char SQLAllocEnv ();
33040 rm -f conftest.
$ac_objext conftest
$ac_exeext
33041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33042 (eval $ac_link) 2>conftest.er1
33044 grep -v '^ *+' conftest.er1
>conftest.err
33046 cat conftest.err
>&5
33047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33048 (exit $ac_status); } &&
33049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33051 (eval $ac_try) 2>&5
33053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33054 (exit $ac_status); }; } &&
33055 { ac_try
='test -s conftest$ac_exeext'
33056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33057 (eval $ac_try) 2>&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); }; }; then
33061 ac_cv_lib_odbc_SQLAllocEnv
=yes
33063 echo "$as_me: failed program was:" >&5
33064 sed 's/^/| /' conftest.
$ac_ext >&5
33066 ac_cv_lib_odbc_SQLAllocEnv
=no
33068 rm -f conftest.err conftest.
$ac_objext \
33069 conftest
$ac_exeext conftest.
$ac_ext
33070 LIBS
=$ac_check_lib_save_LIBS
33072 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33073 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33074 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33075 ODBC_LINK
=" -lodbc"
33085 if test "x$ODBC_LINK" = "x" ; then
33086 if test "$wxUSE_ODBC" = "sys" ; then
33087 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33088 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33089 { (exit 1); exit 1; }; }
33091 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33092 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33100 if test "$wxUSE_ODBC" = "builtin" ; then
33101 cat >>confdefs.h
<<\_ACEOF
33102 #define wxUSE_BUILTIN_IODBC 1
33108 if test "$wxUSE_ODBC" != "no" ; then
33109 cat >>confdefs.h
<<\_ACEOF
33110 #define wxUSE_ODBC 1
33113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
33115 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
33119 if test "$wxUSE_DISPLAY" = "yes"; then
33120 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33121 echo "$as_me:$LINENO: checking for Xinerama" >&5
33122 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33125 for ac_dir
in $SEARCH_LIB;
33127 for ac_extension
in a so sl dylib dll.a
; do
33128 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33129 ac_find_libraries
=$ac_dir
33135 if test "$ac_find_libraries" != "" ; then
33137 if test "$ac_find_libraries" = "default location"; then
33140 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33142 if test $result = 0; then
33145 ac_path_to_link
=" -L$ac_find_libraries"
33149 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33150 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33152 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
33153 echo "$as_me:$LINENO: result: yes" >&5
33154 echo "${ECHO_T}yes" >&6
33156 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33157 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33160 for ac_dir
in $SEARCH_LIB;
33162 for ac_extension
in a so sl dylib dll.a
; do
33163 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33164 ac_find_libraries
=$ac_dir
33170 if test "$ac_find_libraries" != "" ; then
33171 echo "$as_me:$LINENO: result: yes" >&5
33172 echo "${ECHO_T}yes" >&6
33174 for ac_header
in X
11/extensions
/xf86vmode.h
33176 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33177 echo "$as_me:$LINENO: checking for $ac_header" >&5
33178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33180 echo $ECHO_N "(cached) $ECHO_C" >&6
33182 cat >conftest.
$ac_ext <<_ACEOF
33185 cat confdefs.h
>>conftest.
$ac_ext
33186 cat >>conftest.
$ac_ext <<_ACEOF
33187 /* end confdefs.h. */
33189 #if HAVE_X11_XLIB_H
33190 #include <X11/Xlib.h>
33194 #include <$ac_header>
33196 rm -f conftest.
$ac_objext
33197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33198 (eval $ac_compile) 2>conftest.er1
33200 grep -v '^ *+' conftest.er1
>conftest.err
33202 cat conftest.err
>&5
33203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33204 (exit $ac_status); } &&
33205 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33207 (eval $ac_try) 2>&5
33209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33210 (exit $ac_status); }; } &&
33211 { ac_try
='test -s conftest.$ac_objext'
33212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33213 (eval $ac_try) 2>&5
33215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216 (exit $ac_status); }; }; then
33217 eval "$as_ac_Header=yes"
33219 echo "$as_me: failed program was:" >&5
33220 sed 's/^/| /' conftest.
$ac_ext >&5
33222 eval "$as_ac_Header=no"
33224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33228 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33229 cat >>confdefs.h
<<_ACEOF
33230 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33233 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33240 echo "$as_me:$LINENO: result: no" >&5
33241 echo "${ECHO_T}no" >&6
33245 echo "$as_me:$LINENO: result: no" >&5
33246 echo "${ECHO_T}no" >&6
33247 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33248 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33251 elif test "$wxUSE_MSW" = 1; then
33253 for ac_header
in ddraw.h
33255 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33256 echo "$as_me:$LINENO: checking for $ac_header" >&5
33257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33259 echo $ECHO_N "(cached) $ECHO_C" >&6
33261 cat >conftest.
$ac_ext <<_ACEOF
33264 cat confdefs.h
>>conftest.
$ac_ext
33265 cat >>conftest.
$ac_ext <<_ACEOF
33266 /* end confdefs.h. */
33267 #include <windows.h>
33269 #include <$ac_header>
33271 rm -f conftest.
$ac_objext
33272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33273 (eval $ac_compile) 2>conftest.er1
33275 grep -v '^ *+' conftest.er1
>conftest.err
33277 cat conftest.err
>&5
33278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33279 (exit $ac_status); } &&
33280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33282 (eval $ac_try) 2>&5
33284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33285 (exit $ac_status); }; } &&
33286 { ac_try
='test -s conftest.$ac_objext'
33287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33288 (eval $ac_try) 2>&5
33290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33291 (exit $ac_status); }; }; then
33292 eval "$as_ac_Header=yes"
33294 echo "$as_me: failed program was:" >&5
33295 sed 's/^/| /' conftest.
$ac_ext >&5
33297 eval "$as_ac_Header=no"
33299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33304 cat >>confdefs.h
<<_ACEOF
33305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33315 if test "$wxUSE_DETECT_SM" = "yes"; then
33316 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33317 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33318 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33321 for ac_dir
in $SEARCH_LIB;
33323 for ac_extension
in a so sl dylib dll.a
; do
33324 if test -f "$ac_dir/libSM.$ac_extension"; then
33325 ac_find_libraries
=$ac_dir
33331 if test "$ac_find_libraries" != "" ; then
33333 if test "$ac_find_libraries" = "default location"; then
33336 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33338 if test $result = 0; then
33341 ac_path_to_link
=" -L$ac_find_libraries"
33345 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33346 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33348 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
33349 echo "$as_me:$LINENO: result: yes" >&5
33350 echo "${ECHO_T}yes" >&6
33352 echo "$as_me:$LINENO: result: no" >&5
33353 echo "${ECHO_T}no" >&6
33354 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33355 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33356 wxUSE_DETECT_SM
="no"
33359 wxUSE_DETECT_SM
="no"
33366 if test "$wxUSE_OPENGL" = "yes"; then
33367 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
33368 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33369 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33371 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33372 OPENGL_LIBS
="-framework OpenGL -framework AGL"
33373 elif test "$wxUSE_MSW" = 1; then
33374 OPENGL_LIBS
="-lopengl32 -lglu32"
33376 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33377 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
33380 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
;
33382 if test -f "$ac_dir/GL/gl.h"; then
33383 ac_find_includes
=$ac_dir
33388 if test "$ac_find_includes" != "" ; then
33389 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33390 echo "${ECHO_T}found in $ac_find_includes" >&6
33392 if test "x$ac_find_includes" = "x/usr/include"; then
33393 ac_path_to_include
=""
33395 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
33397 if test $result = 0; then
33398 ac_path_to_include
=""
33400 ac_path_to_include
=" -I$ac_find_includes"
33404 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
33406 echo "$as_me:$LINENO: result: not found" >&5
33407 echo "${ECHO_T}not found" >&6
33410 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33411 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33412 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33413 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33414 echo $ECHO_N "(cached) $ECHO_C" >&6
33416 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33417 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33419 # Is the header compilable?
33420 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33421 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33422 cat >conftest.
$ac_ext <<_ACEOF
33425 cat confdefs.h
>>conftest.
$ac_ext
33426 cat >>conftest.
$ac_ext <<_ACEOF
33427 /* end confdefs.h. */
33428 $ac_includes_default
33431 rm -f conftest.
$ac_objext
33432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33433 (eval $ac_compile) 2>conftest.er1
33435 grep -v '^ *+' conftest.er1
>conftest.err
33437 cat conftest.err
>&5
33438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33439 (exit $ac_status); } &&
33440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33442 (eval $ac_try) 2>&5
33444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33445 (exit $ac_status); }; } &&
33446 { ac_try
='test -s conftest.$ac_objext'
33447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33448 (eval $ac_try) 2>&5
33450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33451 (exit $ac_status); }; }; then
33452 ac_header_compiler
=yes
33454 echo "$as_me: failed program was:" >&5
33455 sed 's/^/| /' conftest.
$ac_ext >&5
33457 ac_header_compiler
=no
33459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33461 echo "${ECHO_T}$ac_header_compiler" >&6
33463 # Is the header present?
33464 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33465 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33466 cat >conftest.
$ac_ext <<_ACEOF
33469 cat confdefs.h
>>conftest.
$ac_ext
33470 cat >>conftest.
$ac_ext <<_ACEOF
33471 /* end confdefs.h. */
33474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33475 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33477 grep -v '^ *+' conftest.er1
>conftest.err
33479 cat conftest.err
>&5
33480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33481 (exit $ac_status); } >/dev
/null
; then
33482 if test -s conftest.err
; then
33483 ac_cpp_err
=$ac_c_preproc_warn_flag
33484 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33491 if test -z "$ac_cpp_err"; then
33492 ac_header_preproc
=yes
33494 echo "$as_me: failed program was:" >&5
33495 sed 's/^/| /' conftest.
$ac_ext >&5
33497 ac_header_preproc
=no
33499 rm -f conftest.err conftest.
$ac_ext
33500 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33501 echo "${ECHO_T}$ac_header_preproc" >&6
33503 # So? What about this header?
33504 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33506 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33507 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33508 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33509 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33510 ac_header_preproc
=yes
33513 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33514 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33515 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33516 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33517 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33518 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33519 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33520 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33521 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33522 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33523 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33524 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33527 ## ----------------------------------------- ##
33528 ## Report this to wx-dev@lists.wxwidgets.org ##
33529 ## ----------------------------------------- ##
33532 sed "s/^/$as_me: WARNING: /" >&2
33535 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33536 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33537 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33538 echo $ECHO_N "(cached) $ECHO_C" >&6
33540 ac_cv_header_GL_gl_h
=$ac_header_preproc
33542 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33543 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33546 if test $ac_cv_header_GL_gl_h = yes; then
33548 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33549 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33550 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33551 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33552 echo $ECHO_N "(cached) $ECHO_C" >&6
33554 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33555 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33557 # Is the header compilable?
33558 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
33559 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
33560 cat >conftest.
$ac_ext <<_ACEOF
33563 cat confdefs.h
>>conftest.
$ac_ext
33564 cat >>conftest.
$ac_ext <<_ACEOF
33565 /* end confdefs.h. */
33566 $ac_includes_default
33567 #include <GL/glu.h>
33569 rm -f conftest.
$ac_objext
33570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33571 (eval $ac_compile) 2>conftest.er1
33573 grep -v '^ *+' conftest.er1
>conftest.err
33575 cat conftest.err
>&5
33576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33577 (exit $ac_status); } &&
33578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33580 (eval $ac_try) 2>&5
33582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33583 (exit $ac_status); }; } &&
33584 { ac_try
='test -s conftest.$ac_objext'
33585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33586 (eval $ac_try) 2>&5
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); }; }; then
33590 ac_header_compiler
=yes
33592 echo "$as_me: failed program was:" >&5
33593 sed 's/^/| /' conftest.
$ac_ext >&5
33595 ac_header_compiler
=no
33597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33598 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33599 echo "${ECHO_T}$ac_header_compiler" >&6
33601 # Is the header present?
33602 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
33603 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
33604 cat >conftest.
$ac_ext <<_ACEOF
33607 cat confdefs.h
>>conftest.
$ac_ext
33608 cat >>conftest.
$ac_ext <<_ACEOF
33609 /* end confdefs.h. */
33610 #include <GL/glu.h>
33612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33613 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33615 grep -v '^ *+' conftest.er1
>conftest.err
33617 cat conftest.err
>&5
33618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33619 (exit $ac_status); } >/dev
/null
; then
33620 if test -s conftest.err
; then
33621 ac_cpp_err
=$ac_c_preproc_warn_flag
33622 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33629 if test -z "$ac_cpp_err"; then
33630 ac_header_preproc
=yes
33632 echo "$as_me: failed program was:" >&5
33633 sed 's/^/| /' conftest.
$ac_ext >&5
33635 ac_header_preproc
=no
33637 rm -f conftest.err conftest.
$ac_ext
33638 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33639 echo "${ECHO_T}$ac_header_preproc" >&6
33641 # So? What about this header?
33642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33644 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
33645 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33646 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
33647 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
33648 ac_header_preproc
=yes
33651 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
33652 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
33653 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
33654 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
33655 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
33656 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
33657 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
33658 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
33659 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
33660 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
33661 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
33662 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
33665 ## ----------------------------------------- ##
33666 ## Report this to wx-dev@lists.wxwidgets.org ##
33667 ## ----------------------------------------- ##
33670 sed "s/^/$as_me: WARNING: /" >&2
33673 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33674 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33675 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33676 echo $ECHO_N "(cached) $ECHO_C" >&6
33678 ac_cv_header_GL_glu_h
=$ac_header_preproc
33680 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33681 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33684 if test $ac_cv_header_GL_glu_h = yes; then
33688 echo "$as_me:$LINENO: checking for -lGL" >&5
33689 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33692 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
33694 for ac_extension
in a so sl dylib dll.a
; do
33695 if test -f "$ac_dir/libGL.$ac_extension"; then
33696 ac_find_libraries
=$ac_dir
33702 if test "$ac_find_libraries" != "" ; then
33703 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33704 echo "${ECHO_T}found in $ac_find_libraries" >&6
33707 if test "$ac_find_libraries" = "default location"; then
33710 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33712 if test $result = 0; then
33715 ac_path_to_link
=" -L$ac_find_libraries"
33719 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33720 LDFLAGS_GL
="$ac_path_to_link"
33723 echo "$as_me:$LINENO: checking for -lGLU" >&5
33724 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33727 for ac_dir
in $SEARCH_LIB;
33729 for ac_extension
in a so sl dylib dll.a
; do
33730 if test -f "$ac_dir/libGLU.$ac_extension"; then
33731 ac_find_libraries
=$ac_dir
33737 if test "$ac_find_libraries" != "" ; then
33739 if test "$ac_find_libraries" = "default location"; then
33742 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33744 if test $result = 0; then
33747 ac_path_to_link
=" -L$ac_find_libraries"
33751 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33752 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33753 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33757 OPENGL_LIBS
="-lGL -lGLU"
33758 echo "$as_me:$LINENO: result: yes" >&5
33759 echo "${ECHO_T}yes" >&6
33761 echo "$as_me:$LINENO: result: no" >&5
33762 echo "${ECHO_T}no" >&6
33765 echo "$as_me:$LINENO: result: no" >&5
33766 echo "${ECHO_T}no" >&6
33769 if test "$found_gl" != 1; then
33770 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33771 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33774 for ac_dir
in $SEARCH_LIB;
33776 for ac_extension
in a so sl dylib dll.a
; do
33777 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33778 ac_find_libraries
=$ac_dir
33784 if test "$ac_find_libraries" != "" ; then
33786 if test "$ac_find_libraries" = "default location"; then
33789 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33791 if test $result = 0; then
33794 ac_path_to_link
=" -L$ac_find_libraries"
33798 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33799 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33800 echo "$as_me:$LINENO: result: yes" >&5
33801 echo "${ECHO_T}yes" >&6
33803 echo "$as_me:$LINENO: result: no" >&5
33804 echo "${ECHO_T}no" >&6
33816 if test "x$OPENGL_LIBS" = "x"; then
33817 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33818 echo "$as_me: error: OpenGL libraries not available" >&2;}
33819 { (exit 1); exit 1; }; }
33823 if test "$wxUSE_OPENGL" = "yes"; then
33825 cat >>confdefs.h
<<\_ACEOF
33826 #define wxUSE_OPENGL 1
33829 cat >>confdefs.h
<<\_ACEOF
33830 #define wxUSE_GLCANVAS 1
33833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33838 if test -n "$TOOLKIT" ; then
33839 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33844 if test "$wxUSE_SHARED" = "yes"; then
33848 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33849 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33854 if test "$wxUSE_SHARED" = "yes"; then
33858 *-*-cygwin* | *-*-mingw* )
33859 wx_cv_version_script
=no
33863 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33864 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33865 if test "${wx_cv_version_script+set}" = set; then
33866 echo $ECHO_N "(cached) $ECHO_C" >&6
33869 echo "VER_1 { *; };" >conftest.sym
33870 echo "int main() { return 0; }" >conftest.cpp
33873 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33874 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33876 (eval $ac_try) 2>&5
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); }; } ; then
33880 if test -s conftest.stderr
; then
33881 wx_cv_version_script
=no
33883 wx_cv_version_script
=yes
33886 wx_cv_version_script
=no
33889 if test $wx_cv_version_script = yes
33891 echo "struct B { virtual ~B() { } }; \
33892 struct D : public B { }; \
33893 void F() { D d; }" > conftest.cpp
33896 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33897 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33899 (eval $ac_try) 2>&5
33901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33902 (exit $ac_status); }; } &&
33904 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33905 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33907 (eval $ac_try) 2>&5
33909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33910 (exit $ac_status); }; }
33913 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33914 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33916 (eval $ac_try) 2>&5
33918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33919 (exit $ac_status); }; }
33921 wx_cv_version_script
=yes
33923 wx_cv_version_script
=no
33928 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33929 rm -f conftest1.output conftest2.output conftest3.output
33932 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33933 echo "${ECHO_T}$wx_cv_version_script" >&6
33935 if test $wx_cv_version_script = yes ; then
33936 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33943 *-*-linux* | *-*-gnu* )
33944 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33945 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33949 if test "$GCC" = yes ; then
33950 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33952 saveLdflags
="$LDFLAGS"
33953 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33954 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33955 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33956 cat >conftest.
$ac_ext <<_ACEOF
33959 cat confdefs.h
>>conftest.
$ac_ext
33960 cat >>conftest.
$ac_ext <<_ACEOF
33961 /* end confdefs.h. */
33971 rm -f conftest.
$ac_objext conftest
$ac_exeext
33972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33973 (eval $ac_link) 2>conftest.er1
33975 grep -v '^ *+' conftest.er1
>conftest.err
33977 cat conftest.err
>&5
33978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33979 (exit $ac_status); } &&
33980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33982 (eval $ac_try) 2>&5
33984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985 (exit $ac_status); }; } &&
33986 { ac_try
='test -s conftest$ac_exeext'
33987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33988 (eval $ac_try) 2>&5
33990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33991 (exit $ac_status); }; }; then
33993 echo "$as_me:$LINENO: result: yes" >&5
33994 echo "${ECHO_T}yes" >&6
33995 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33996 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33999 echo "$as_me: failed program was:" >&5
34000 sed 's/^/| /' conftest.
$ac_ext >&5
34003 echo "$as_me:$LINENO: result: no" >&5
34004 echo "${ECHO_T}no" >&6
34005 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34006 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
34007 LDFLAGS
="$saveLdflags -Wl,-R,/"
34008 cat >conftest.
$ac_ext <<_ACEOF
34011 cat confdefs.h
>>conftest.
$ac_ext
34012 cat >>conftest.
$ac_ext <<_ACEOF
34013 /* end confdefs.h. */
34023 rm -f conftest.
$ac_objext conftest
$ac_exeext
34024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34025 (eval $ac_link) 2>conftest.er1
34027 grep -v '^ *+' conftest.er1
>conftest.err
34029 cat conftest.err
>&5
34030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34031 (exit $ac_status); } &&
34032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34034 (eval $ac_try) 2>&5
34036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34037 (exit $ac_status); }; } &&
34038 { ac_try
='test -s conftest$ac_exeext'
34039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34040 (eval $ac_try) 2>&5
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); }; }; then
34045 echo "$as_me:$LINENO: result: yes" >&5
34046 echo "${ECHO_T}yes" >&6
34047 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
34048 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34051 echo "$as_me: failed program was:" >&5
34052 sed 's/^/| /' conftest.
$ac_ext >&5
34055 echo "$as_me:$LINENO: result: no" >&5
34056 echo "${ECHO_T}no" >&6
34059 rm -f conftest.err conftest.
$ac_objext \
34060 conftest
$ac_exeext conftest.
$ac_ext
34063 rm -f conftest.err conftest.
$ac_objext \
34064 conftest
$ac_exeext conftest.
$ac_ext
34065 LDFLAGS
="$saveLdflags"
34067 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34068 WXCONFIG_RPATH
="-R\$libdir"
34073 install_name_tool
=`which install_name_tool`
34074 if test "$install_name_tool" -a -x "$install_name_tool"; then
34075 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34076 cat <<EOF >change-install-names
34078 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34079 inst_cmd="install_name_tool "
34080 for i in \${libnames} ; do
34081 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34085 chmod +x change
-install-names
34089 *-*-cygwin* | *-*-mingw32* )
34090 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34094 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
34095 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34100 if test $wxUSE_RPATH = "no"; then
34101 SAMPLES_RPATH_FLAG
=''
34102 SAMPLES_RPATH_POSTLINK
=''
34110 config_linkage_component
="-static"
34117 lib_unicode_suffix
=
34119 if test "$wxUSE_UNICODE" = "yes"; then
34120 lib_unicode_suffix
=u
34121 WX_CHARTYPE
="unicode"
34126 WX_DEBUGTYPE
="release"
34128 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34130 WX_DEBUGTYPE
="debug"
34134 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34135 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34138 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34142 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34144 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34146 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34148 if test "$cross_compiling" = "yes"; then
34149 HOST_SUFFIX
="-$host_alias"
34150 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
34151 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
34154 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34155 if test "${TOOLKIT_DIR}" = "os2"; then
34156 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34158 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34163 if test "$wxUSE_COCOA" = 1; then
34167 ac_cpp
='$CPP $CPPFLAGS'
34168 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34169 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34170 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34174 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34175 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $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 #include <AppKit/NSEvent.h>
34183 #include <CoreFoundation/CoreFoundation.h>
34193 rm -f conftest.
$ac_objext
34194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34195 (eval $ac_compile) 2>conftest.er1
34197 grep -v '^ *+' conftest.er1
>conftest.err
34199 cat conftest.err
>&5
34200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34201 (exit $ac_status); } &&
34202 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34204 (eval $ac_try) 2>&5
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); }; } &&
34208 { ac_try
='test -s conftest.$ac_objext'
34209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34210 (eval $ac_try) 2>&5
34212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34213 (exit $ac_status); }; }; then
34214 echo "$as_me:$LINENO: result: no" >&5
34215 echo "${ECHO_T}no" >&6
34217 echo "$as_me: failed program was:" >&5
34218 sed 's/^/| /' conftest.
$ac_ext >&5
34220 echo "$as_me:$LINENO: result: yes" >&5
34221 echo "${ECHO_T}yes" >&6
34222 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34223 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34224 cat >conftest.
$ac_ext <<_ACEOF
34227 cat confdefs.h
>>conftest.
$ac_ext
34228 cat >>conftest.
$ac_ext <<_ACEOF
34229 /* end confdefs.h. */
34230 #define __Point__ 1
34231 #include <AppKit/NSEvent.h>
34232 #include <CoreFoundation/CoreFoundation.h>
34242 rm -f conftest.
$ac_objext
34243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34244 (eval $ac_compile) 2>conftest.er1
34246 grep -v '^ *+' conftest.er1
>conftest.err
34248 cat conftest.err
>&5
34249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34250 (exit $ac_status); } &&
34251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34253 (eval $ac_try) 2>&5
34255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34256 (exit $ac_status); }; } &&
34257 { ac_try
='test -s conftest.$ac_objext'
34258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34259 (eval $ac_try) 2>&5
34261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34262 (exit $ac_status); }; }; then
34263 echo "$as_me:$LINENO: result: yes" >&5
34264 echo "${ECHO_T}yes" >&6
34265 cat >>confdefs.h
<<\_ACEOF
34266 #define __Point__ 1
34271 echo "$as_me: failed program was:" >&5
34272 sed 's/^/| /' conftest.
$ac_ext >&5
34274 { { echo "$as_me:$LINENO: error: no
34275 See \`config.log' for more details." >&5
34276 echo "$as_me: error: no
34277 See \`config.log' for more details." >&2;}
34278 { (exit 1); exit 1; }; }
34281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34286 ac_cpp
='$CPP $CPPFLAGS'
34287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34293 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34294 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34295 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34297 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
34299 # Extract the first word of "Rez", so it can be a program name with args.
34300 set dummy Rez
; ac_word
=$2
34301 echo "$as_me:$LINENO: checking for $ac_word" >&5
34302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34303 if test "${ac_cv_prog_REZ+set}" = set; then
34304 echo $ECHO_N "(cached) $ECHO_C" >&6
34306 if test -n "$REZ"; then
34307 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
34309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34310 for as_dir
in $PATH
34313 test -z "$as_dir" && as_dir
=.
34314 for ac_exec_ext
in '' $ac_executable_extensions; do
34315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34316 ac_cv_prog_REZ
="Rez"
34317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34323 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
34326 REZ
=$ac_cv_prog_REZ
34327 if test -n "$REZ"; then
34328 echo "$as_me:$LINENO: result: $REZ" >&5
34329 echo "${ECHO_T}$REZ" >&6
34331 echo "$as_me:$LINENO: result: no" >&5
34332 echo "${ECHO_T}no" >&6
34335 # Extract the first word of "DeRez", so it can be a program name with args.
34336 set dummy DeRez
; ac_word
=$2
34337 echo "$as_me:$LINENO: checking for $ac_word" >&5
34338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34339 if test "${ac_cv_prog_DEREZ+set}" = set; then
34340 echo $ECHO_N "(cached) $ECHO_C" >&6
34342 if test -n "$DEREZ"; then
34343 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
34345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34346 for as_dir
in $PATH
34349 test -z "$as_dir" && as_dir
=.
34350 for ac_exec_ext
in '' $ac_executable_extensions; do
34351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34352 ac_cv_prog_DEREZ
="DeRez"
34353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34359 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
34362 DEREZ
=$ac_cv_prog_DEREZ
34363 if test -n "$DEREZ"; then
34364 echo "$as_me:$LINENO: result: $DEREZ" >&5
34365 echo "${ECHO_T}$DEREZ" >&6
34367 echo "$as_me:$LINENO: result: no" >&5
34368 echo "${ECHO_T}no" >&6
34371 # Extract the first word of "SetFile", so it can be a program name with args.
34372 set dummy SetFile
; ac_word
=$2
34373 echo "$as_me:$LINENO: checking for $ac_word" >&5
34374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34375 if test "${ac_cv_prog_SETFILE+set}" = set; then
34376 echo $ECHO_N "(cached) $ECHO_C" >&6
34378 if test -n "$SETFILE"; then
34379 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34382 for as_dir
in $PATH
34385 test -z "$as_dir" && as_dir
=.
34386 for ac_exec_ext
in '' $ac_executable_extensions; do
34387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34388 ac_cv_prog_SETFILE
="SetFile"
34389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34395 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34398 SETFILE
=$ac_cv_prog_SETFILE
34399 if test -n "$SETFILE"; then
34400 echo "$as_me:$LINENO: result: $SETFILE" >&5
34401 echo "${ECHO_T}$SETFILE" >&6
34403 echo "$as_me:$LINENO: result: no" >&5
34404 echo "${ECHO_T}no" >&6
34408 MACSETFILE
="\$(SETFILE)"
34410 if test "$wxUSE_MAC" = 1; then
34411 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34413 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
34415 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34416 RESCOMP
="echo -n \| $REZ"
34417 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34423 if test "$wxUSE_PM" = 1; then
34425 WXCONFIG_RESFLAGS
="-ep"
34427 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
34429 POSTLINK_COMMAND
="@true"
34436 echo "$as_me:$LINENO: checking for mode_t" >&5
34437 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34438 if test "${ac_cv_type_mode_t+set}" = set; then
34439 echo $ECHO_N "(cached) $ECHO_C" >&6
34441 cat >conftest.
$ac_ext <<_ACEOF
34444 cat confdefs.h
>>conftest.
$ac_ext
34445 cat >>conftest.
$ac_ext <<_ACEOF
34446 /* end confdefs.h. */
34447 $ac_includes_default
34453 if (sizeof (mode_t))
34459 rm -f conftest.
$ac_objext
34460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34461 (eval $ac_compile) 2>conftest.er1
34463 grep -v '^ *+' conftest.er1
>conftest.err
34465 cat conftest.err
>&5
34466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34467 (exit $ac_status); } &&
34468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34470 (eval $ac_try) 2>&5
34472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34473 (exit $ac_status); }; } &&
34474 { ac_try
='test -s conftest.$ac_objext'
34475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34476 (eval $ac_try) 2>&5
34478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34479 (exit $ac_status); }; }; then
34480 ac_cv_type_mode_t
=yes
34482 echo "$as_me: failed program was:" >&5
34483 sed 's/^/| /' conftest.
$ac_ext >&5
34485 ac_cv_type_mode_t
=no
34487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34489 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34490 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34491 if test $ac_cv_type_mode_t = yes; then
34495 cat >>confdefs.h
<<_ACEOF
34501 echo "$as_me:$LINENO: checking for off_t" >&5
34502 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34503 if test "${ac_cv_type_off_t+set}" = set; then
34504 echo $ECHO_N "(cached) $ECHO_C" >&6
34506 cat >conftest.
$ac_ext <<_ACEOF
34509 cat confdefs.h
>>conftest.
$ac_ext
34510 cat >>conftest.
$ac_ext <<_ACEOF
34511 /* end confdefs.h. */
34512 $ac_includes_default
34518 if (sizeof (off_t))
34524 rm -f conftest.
$ac_objext
34525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34526 (eval $ac_compile) 2>conftest.er1
34528 grep -v '^ *+' conftest.er1
>conftest.err
34530 cat conftest.err
>&5
34531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34532 (exit $ac_status); } &&
34533 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34535 (eval $ac_try) 2>&5
34537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34538 (exit $ac_status); }; } &&
34539 { ac_try
='test -s conftest.$ac_objext'
34540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34541 (eval $ac_try) 2>&5
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 (exit $ac_status); }; }; then
34545 ac_cv_type_off_t
=yes
34547 echo "$as_me: failed program was:" >&5
34548 sed 's/^/| /' conftest.
$ac_ext >&5
34550 ac_cv_type_off_t
=no
34552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34554 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34555 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34556 if test $ac_cv_type_off_t = yes; then
34560 cat >>confdefs.h
<<_ACEOF
34566 echo "$as_me:$LINENO: checking for pid_t" >&5
34567 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34568 if test "${ac_cv_type_pid_t+set}" = set; then
34569 echo $ECHO_N "(cached) $ECHO_C" >&6
34571 cat >conftest.
$ac_ext <<_ACEOF
34574 cat confdefs.h
>>conftest.
$ac_ext
34575 cat >>conftest.
$ac_ext <<_ACEOF
34576 /* end confdefs.h. */
34577 $ac_includes_default
34583 if (sizeof (pid_t))
34589 rm -f conftest.
$ac_objext
34590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34591 (eval $ac_compile) 2>conftest.er1
34593 grep -v '^ *+' conftest.er1
>conftest.err
34595 cat conftest.err
>&5
34596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34597 (exit $ac_status); } &&
34598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34600 (eval $ac_try) 2>&5
34602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34603 (exit $ac_status); }; } &&
34604 { ac_try
='test -s conftest.$ac_objext'
34605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34606 (eval $ac_try) 2>&5
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); }; }; then
34610 ac_cv_type_pid_t
=yes
34612 echo "$as_me: failed program was:" >&5
34613 sed 's/^/| /' conftest.
$ac_ext >&5
34615 ac_cv_type_pid_t
=no
34617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34619 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34620 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34621 if test $ac_cv_type_pid_t = yes; then
34625 cat >>confdefs.h
<<_ACEOF
34631 echo "$as_me:$LINENO: checking for size_t" >&5
34632 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34633 if test "${ac_cv_type_size_t+set}" = set; then
34634 echo $ECHO_N "(cached) $ECHO_C" >&6
34636 cat >conftest.
$ac_ext <<_ACEOF
34639 cat confdefs.h
>>conftest.
$ac_ext
34640 cat >>conftest.
$ac_ext <<_ACEOF
34641 /* end confdefs.h. */
34642 $ac_includes_default
34648 if (sizeof (size_t))
34654 rm -f conftest.
$ac_objext
34655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34656 (eval $ac_compile) 2>conftest.er1
34658 grep -v '^ *+' conftest.er1
>conftest.err
34660 cat conftest.err
>&5
34661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34662 (exit $ac_status); } &&
34663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34665 (eval $ac_try) 2>&5
34667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34668 (exit $ac_status); }; } &&
34669 { ac_try
='test -s conftest.$ac_objext'
34670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34671 (eval $ac_try) 2>&5
34673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34674 (exit $ac_status); }; }; then
34675 ac_cv_type_size_t
=yes
34677 echo "$as_me: failed program was:" >&5
34678 sed 's/^/| /' conftest.
$ac_ext >&5
34680 ac_cv_type_size_t
=no
34682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34684 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34685 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34686 if test $ac_cv_type_size_t = yes; then
34690 cat >>confdefs.h
<<_ACEOF
34691 #define size_t unsigned
34696 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34697 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34698 if test "${ac_cv_type_uid_t+set}" = set; then
34699 echo $ECHO_N "(cached) $ECHO_C" >&6
34701 cat >conftest.
$ac_ext <<_ACEOF
34704 cat confdefs.h
>>conftest.
$ac_ext
34705 cat >>conftest.
$ac_ext <<_ACEOF
34706 /* end confdefs.h. */
34707 #include <sys/types.h>
34710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34711 $EGREP "uid_t" >/dev
/null
2>&1; then
34712 ac_cv_type_uid_t
=yes
34714 ac_cv_type_uid_t
=no
34719 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34720 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34721 if test $ac_cv_type_uid_t = no
; then
34723 cat >>confdefs.h
<<\_ACEOF
34728 cat >>confdefs.h
<<\_ACEOF
34735 echo "$as_me:$LINENO: checking for ssize_t" >&5
34736 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34737 if test "${ac_cv_type_ssize_t+set}" = set; then
34738 echo $ECHO_N "(cached) $ECHO_C" >&6
34740 cat >conftest.
$ac_ext <<_ACEOF
34743 cat confdefs.h
>>conftest.
$ac_ext
34744 cat >>conftest.
$ac_ext <<_ACEOF
34745 /* end confdefs.h. */
34746 $ac_includes_default
34752 if (sizeof (ssize_t))
34758 rm -f conftest.
$ac_objext
34759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34760 (eval $ac_compile) 2>conftest.er1
34762 grep -v '^ *+' conftest.er1
>conftest.err
34764 cat conftest.err
>&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); } &&
34767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34769 (eval $ac_try) 2>&5
34771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34772 (exit $ac_status); }; } &&
34773 { ac_try
='test -s conftest.$ac_objext'
34774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34775 (eval $ac_try) 2>&5
34777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34778 (exit $ac_status); }; }; then
34779 ac_cv_type_ssize_t
=yes
34781 echo "$as_me: failed program was:" >&5
34782 sed 's/^/| /' conftest.
$ac_ext >&5
34784 ac_cv_type_ssize_t
=no
34786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34788 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34789 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34790 if test $ac_cv_type_ssize_t = yes; then
34792 cat >>confdefs.h
<<_ACEOF
34793 #define HAVE_SSIZE_T 1
34801 ac_cpp
='$CXXCPP $CPPFLAGS'
34802 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34803 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34804 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34805 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34806 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34807 if test "${wx_cv_size_t_is_uint+set}" = set; then
34808 echo $ECHO_N "(cached) $ECHO_C" >&6
34811 cat >conftest.
$ac_ext <<_ACEOF
34814 cat confdefs.h
>>conftest.
$ac_ext
34815 cat >>conftest.
$ac_ext <<_ACEOF
34816 /* end confdefs.h. */
34817 #include <stddef.h>
34824 struct Foo { void foo(size_t); void foo(unsigned int); };
34832 rm -f conftest.
$ac_objext
34833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34834 (eval $ac_compile) 2>conftest.er1
34836 grep -v '^ *+' conftest.er1
>conftest.err
34838 cat conftest.err
>&5
34839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34840 (exit $ac_status); } &&
34841 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34843 (eval $ac_try) 2>&5
34845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34846 (exit $ac_status); }; } &&
34847 { ac_try
='test -s conftest.$ac_objext'
34848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34849 (eval $ac_try) 2>&5
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); }; }; then
34853 wx_cv_size_t_is_uint
=no
34855 echo "$as_me: failed program was:" >&5
34856 sed 's/^/| /' conftest.
$ac_ext >&5
34858 wx_cv_size_t_is_uint
=yes
34861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34865 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34866 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34868 if test "$wx_cv_size_t_is_uint" = "yes"; then
34869 cat >>confdefs.h
<<\_ACEOF
34870 #define wxSIZE_T_IS_UINT 1
34874 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34875 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34876 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34877 echo $ECHO_N "(cached) $ECHO_C" >&6
34879 cat >conftest.
$ac_ext <<_ACEOF
34882 cat confdefs.h
>>conftest.
$ac_ext
34883 cat >>conftest.
$ac_ext <<_ACEOF
34884 /* end confdefs.h. */
34885 #include <stddef.h>
34892 struct Foo { void foo(size_t); void foo(unsigned long); };
34900 rm -f conftest.
$ac_objext
34901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34902 (eval $ac_compile) 2>conftest.er1
34904 grep -v '^ *+' conftest.er1
>conftest.err
34906 cat conftest.err
>&5
34907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34908 (exit $ac_status); } &&
34909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34911 (eval $ac_try) 2>&5
34913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34914 (exit $ac_status); }; } &&
34915 { ac_try
='test -s conftest.$ac_objext'
34916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34917 (eval $ac_try) 2>&5
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); }; }; then
34921 wx_cv_size_t_is_ulong
=no
34923 echo "$as_me: failed program was:" >&5
34924 sed 's/^/| /' conftest.
$ac_ext >&5
34926 wx_cv_size_t_is_ulong
=yes
34929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34932 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34933 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34935 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34936 cat >>confdefs.h
<<\_ACEOF
34937 #define wxSIZE_T_IS_ULONG 1
34944 ac_cpp
='$CPP $CPPFLAGS'
34945 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34946 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34947 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34950 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34951 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34952 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34953 echo $ECHO_N "(cached) $ECHO_C" >&6
34956 cat >conftest.
$ac_ext <<_ACEOF
34959 cat confdefs.h
>>conftest.
$ac_ext
34960 cat >>conftest.
$ac_ext <<_ACEOF
34961 /* end confdefs.h. */
34975 rm -f conftest.
$ac_objext
34976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34977 (eval $ac_compile) 2>conftest.er1
34979 grep -v '^ *+' conftest.er1
>conftest.err
34981 cat conftest.err
>&5
34982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34983 (exit $ac_status); } &&
34984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34986 (eval $ac_try) 2>&5
34988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34989 (exit $ac_status); }; } &&
34990 { ac_try
='test -s conftest.$ac_objext'
34991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34992 (eval $ac_try) 2>&5
34994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34995 (exit $ac_status); }; }; then
34997 wx_cv_struct_pw_gecos
=yes
35000 echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.
$ac_ext >&5
35004 wx_cv_struct_pw_gecos
=no
35008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35012 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35013 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
35015 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35016 cat >>confdefs.h
<<\_ACEOF
35017 #define HAVE_PW_GECOS 1
35023 if test "$wxUSE_WCHAR_T" = "yes"; then
35024 cat >>confdefs.h
<<\_ACEOF
35025 #define wxUSE_WCHAR_T 1
35032 for ac_func
in wcslen
35034 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35035 echo "$as_me:$LINENO: checking for $ac_func" >&5
35036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35037 if eval "test \"\${$as_ac_var+set}\" = set"; then
35038 echo $ECHO_N "(cached) $ECHO_C" >&6
35040 cat >conftest.
$ac_ext <<_ACEOF
35043 cat confdefs.h
>>conftest.
$ac_ext
35044 cat >>conftest.
$ac_ext <<_ACEOF
35045 /* end confdefs.h. */
35046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35048 #define $ac_func innocuous_$ac_func
35050 /* System header to define __stub macros and hopefully few prototypes,
35051 which can conflict with char $ac_func (); below.
35052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35053 <limits.h> exists even on freestanding compilers. */
35056 # include <limits.h>
35058 # include <assert.h>
35063 /* Override any gcc2 internal prototype to avoid an error. */
35068 /* We use char because int might match the return type of a gcc2
35069 builtin and then its argument prototype would still apply. */
35071 /* The GNU C library defines this for functions which it implements
35072 to always fail with ENOSYS. Some functions are actually named
35073 something starting with __ and the normal name is an alias. */
35074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35077 char (*f) () = $ac_func;
35086 return f != $ac_func;
35091 rm -f conftest.
$ac_objext conftest
$ac_exeext
35092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35093 (eval $ac_link) 2>conftest.er1
35095 grep -v '^ *+' conftest.er1
>conftest.err
35097 cat conftest.err
>&5
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); } &&
35100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35102 (eval $ac_try) 2>&5
35104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35105 (exit $ac_status); }; } &&
35106 { ac_try
='test -s conftest$ac_exeext'
35107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35108 (eval $ac_try) 2>&5
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); }; }; then
35112 eval "$as_ac_var=yes"
35114 echo "$as_me: failed program was:" >&5
35115 sed 's/^/| /' conftest.
$ac_ext >&5
35117 eval "$as_ac_var=no"
35119 rm -f conftest.err conftest.
$ac_objext \
35120 conftest
$ac_exeext conftest.
$ac_ext
35122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35124 if test `eval echo '${'$as_ac_var'}'` = yes; then
35125 cat >>confdefs.h
<<_ACEOF
35126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35133 if test "$WCSLEN_FOUND" = 0; then
35134 if test "$TOOLKIT" = "MSW"; then
35135 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35136 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35137 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35138 echo $ECHO_N "(cached) $ECHO_C" >&6
35140 ac_check_lib_save_LIBS
=$LIBS
35141 LIBS
="-lmsvcrt $LIBS"
35142 cat >conftest.
$ac_ext <<_ACEOF
35145 cat confdefs.h
>>conftest.
$ac_ext
35146 cat >>conftest.
$ac_ext <<_ACEOF
35147 /* end confdefs.h. */
35149 /* Override any gcc2 internal prototype to avoid an error. */
35153 /* We use char because int might match the return type of a gcc2
35154 builtin and then its argument prototype would still apply. */
35164 rm -f conftest.
$ac_objext conftest
$ac_exeext
35165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35166 (eval $ac_link) 2>conftest.er1
35168 grep -v '^ *+' conftest.er1
>conftest.err
35170 cat conftest.err
>&5
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); } &&
35173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35175 (eval $ac_try) 2>&5
35177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35178 (exit $ac_status); }; } &&
35179 { ac_try
='test -s conftest$ac_exeext'
35180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35181 (eval $ac_try) 2>&5
35183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184 (exit $ac_status); }; }; then
35185 ac_cv_lib_msvcrt_wcslen
=yes
35187 echo "$as_me: failed program was:" >&5
35188 sed 's/^/| /' conftest.
$ac_ext >&5
35190 ac_cv_lib_msvcrt_wcslen
=no
35192 rm -f conftest.err conftest.
$ac_objext \
35193 conftest
$ac_exeext conftest.
$ac_ext
35194 LIBS
=$ac_check_lib_save_LIBS
35196 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35197 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35198 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35203 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35204 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35205 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35206 echo $ECHO_N "(cached) $ECHO_C" >&6
35208 ac_check_lib_save_LIBS
=$LIBS
35210 cat >conftest.
$ac_ext <<_ACEOF
35213 cat confdefs.h
>>conftest.
$ac_ext
35214 cat >>conftest.
$ac_ext <<_ACEOF
35215 /* end confdefs.h. */
35217 /* Override any gcc2 internal prototype to avoid an error. */
35221 /* We use char because int might match the return type of a gcc2
35222 builtin and then its argument prototype would still apply. */
35232 rm -f conftest.
$ac_objext conftest
$ac_exeext
35233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35234 (eval $ac_link) 2>conftest.er1
35236 grep -v '^ *+' conftest.er1
>conftest.err
35238 cat conftest.err
>&5
35239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240 (exit $ac_status); } &&
35241 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35243 (eval $ac_try) 2>&5
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); }; } &&
35247 { ac_try
='test -s conftest$ac_exeext'
35248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35249 (eval $ac_try) 2>&5
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); }; }; then
35253 ac_cv_lib_w_wcslen
=yes
35255 echo "$as_me: failed program was:" >&5
35256 sed 's/^/| /' conftest.
$ac_ext >&5
35258 ac_cv_lib_w_wcslen
=no
35260 rm -f conftest.err conftest.
$ac_objext \
35261 conftest
$ac_exeext conftest.
$ac_ext
35262 LIBS
=$ac_check_lib_save_LIBS
35264 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35265 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35266 if test $ac_cv_lib_w_wcslen = yes; then
35276 if test "$WCSLEN_FOUND" = 1; then
35277 cat >>confdefs.h
<<\_ACEOF
35278 #define HAVE_WCSLEN 1
35283 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35284 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35287 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35288 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35289 if test "${ac_cv_type_mbstate_t+set}" = set; then
35290 echo $ECHO_N "(cached) $ECHO_C" >&6
35292 cat >conftest.
$ac_ext <<_ACEOF
35295 cat confdefs.h
>>conftest.
$ac_ext
35296 cat >>conftest.
$ac_ext <<_ACEOF
35297 /* end confdefs.h. */
35303 if ((mbstate_t *) 0)
35305 if (sizeof (mbstate_t))
35311 rm -f conftest.
$ac_objext
35312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35313 (eval $ac_compile) 2>conftest.er1
35315 grep -v '^ *+' conftest.er1
>conftest.err
35317 cat conftest.err
>&5
35318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35319 (exit $ac_status); } &&
35320 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35322 (eval $ac_try) 2>&5
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); }; } &&
35326 { ac_try
='test -s conftest.$ac_objext'
35327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35328 (eval $ac_try) 2>&5
35330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35331 (exit $ac_status); }; }; then
35332 ac_cv_type_mbstate_t
=yes
35334 echo "$as_me: failed program was:" >&5
35335 sed 's/^/| /' conftest.
$ac_ext >&5
35337 ac_cv_type_mbstate_t
=no
35339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35341 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35342 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35343 if test $ac_cv_type_mbstate_t = yes; then
35345 cat >>confdefs.h
<<_ACEOF
35346 #define HAVE_MBSTATE_T 1
35350 for ac_func
in wcsrtombs
35352 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35353 echo "$as_me:$LINENO: checking for $ac_func" >&5
35354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35355 if eval "test \"\${$as_ac_var+set}\" = set"; then
35356 echo $ECHO_N "(cached) $ECHO_C" >&6
35358 cat >conftest.
$ac_ext <<_ACEOF
35361 cat confdefs.h
>>conftest.
$ac_ext
35362 cat >>conftest.
$ac_ext <<_ACEOF
35363 /* end confdefs.h. */
35364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35366 #define $ac_func innocuous_$ac_func
35368 /* System header to define __stub macros and hopefully few prototypes,
35369 which can conflict with char $ac_func (); below.
35370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35371 <limits.h> exists even on freestanding compilers. */
35374 # include <limits.h>
35376 # include <assert.h>
35381 /* Override any gcc2 internal prototype to avoid an error. */
35386 /* We use char because int might match the return type of a gcc2
35387 builtin and then its argument prototype would still apply. */
35389 /* The GNU C library defines this for functions which it implements
35390 to always fail with ENOSYS. Some functions are actually named
35391 something starting with __ and the normal name is an alias. */
35392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35395 char (*f) () = $ac_func;
35404 return f != $ac_func;
35409 rm -f conftest.
$ac_objext conftest
$ac_exeext
35410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35411 (eval $ac_link) 2>conftest.er1
35413 grep -v '^ *+' conftest.er1
>conftest.err
35415 cat conftest.err
>&5
35416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35417 (exit $ac_status); } &&
35418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35420 (eval $ac_try) 2>&5
35422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35423 (exit $ac_status); }; } &&
35424 { ac_try
='test -s conftest$ac_exeext'
35425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35426 (eval $ac_try) 2>&5
35428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35429 (exit $ac_status); }; }; then
35430 eval "$as_ac_var=yes"
35432 echo "$as_me: failed program was:" >&5
35433 sed 's/^/| /' conftest.
$ac_ext >&5
35435 eval "$as_ac_var=no"
35437 rm -f conftest.err conftest.
$ac_objext \
35438 conftest
$ac_exeext conftest.
$ac_ext
35440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35442 if test `eval echo '${'$as_ac_var'}'` = yes; then
35443 cat >>confdefs.h
<<_ACEOF
35444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35453 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35454 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35459 for ac_func
in snprintf vsnprintf
35461 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35462 echo "$as_me:$LINENO: checking for $ac_func" >&5
35463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35464 if eval "test \"\${$as_ac_var+set}\" = set"; then
35465 echo $ECHO_N "(cached) $ECHO_C" >&6
35467 cat >conftest.
$ac_ext <<_ACEOF
35470 cat confdefs.h
>>conftest.
$ac_ext
35471 cat >>conftest.
$ac_ext <<_ACEOF
35472 /* end confdefs.h. */
35473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35475 #define $ac_func innocuous_$ac_func
35477 /* System header to define __stub macros and hopefully few prototypes,
35478 which can conflict with char $ac_func (); below.
35479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35480 <limits.h> exists even on freestanding compilers. */
35483 # include <limits.h>
35485 # include <assert.h>
35490 /* Override any gcc2 internal prototype to avoid an error. */
35495 /* We use char because int might match the return type of a gcc2
35496 builtin and then its argument prototype would still apply. */
35498 /* The GNU C library defines this for functions which it implements
35499 to always fail with ENOSYS. Some functions are actually named
35500 something starting with __ and the normal name is an alias. */
35501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35504 char (*f) () = $ac_func;
35513 return f != $ac_func;
35518 rm -f conftest.
$ac_objext conftest
$ac_exeext
35519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35520 (eval $ac_link) 2>conftest.er1
35522 grep -v '^ *+' conftest.er1
>conftest.err
35524 cat conftest.err
>&5
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); } &&
35527 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35529 (eval $ac_try) 2>&5
35531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35532 (exit $ac_status); }; } &&
35533 { ac_try
='test -s conftest$ac_exeext'
35534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35535 (eval $ac_try) 2>&5
35537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35538 (exit $ac_status); }; }; then
35539 eval "$as_ac_var=yes"
35541 echo "$as_me: failed program was:" >&5
35542 sed 's/^/| /' conftest.
$ac_ext >&5
35544 eval "$as_ac_var=no"
35546 rm -f conftest.err conftest.
$ac_objext \
35547 conftest
$ac_exeext conftest.
$ac_ext
35549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35551 if test `eval echo '${'$as_ac_var'}'` = yes; then
35552 cat >>confdefs.h
<<_ACEOF
35553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35560 if test "$ac_cv_func_vsnprintf" = "yes"; then
35561 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35562 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35563 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35564 echo $ECHO_N "(cached) $ECHO_C" >&6
35567 cat >conftest.
$ac_ext <<_ACEOF
35570 cat confdefs.h
>>conftest.
$ac_ext
35571 cat >>conftest.
$ac_ext <<_ACEOF
35572 /* end confdefs.h. */
35575 #include <stdarg.h>
35577 #if __MSL__ >= 0x6000
35579 using namespace std;
35589 vsnprintf(buf, 10u, "%s", ap);
35595 rm -f conftest.
$ac_objext
35596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35597 (eval $ac_compile) 2>conftest.er1
35599 grep -v '^ *+' conftest.er1
>conftest.err
35601 cat conftest.err
>&5
35602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35603 (exit $ac_status); } &&
35604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35606 (eval $ac_try) 2>&5
35608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609 (exit $ac_status); }; } &&
35610 { ac_try
='test -s conftest.$ac_objext'
35611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35612 (eval $ac_try) 2>&5
35614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35615 (exit $ac_status); }; }; then
35616 wx_cv_func_vsnprintf_decl
=yes
35618 echo "$as_me: failed program was:" >&5
35619 sed 's/^/| /' conftest.
$ac_ext >&5
35621 wx_cv_func_vsnprintf_decl
=no
35624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35628 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35629 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35631 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35632 cat >>confdefs.h
<<\_ACEOF
35633 #define HAVE_VSNPRINTF_DECL 1
35637 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35638 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35639 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35640 echo $ECHO_N "(cached) $ECHO_C" >&6
35643 cat >conftest.
$ac_ext <<_ACEOF
35646 cat confdefs.h
>>conftest.
$ac_ext
35647 cat >>conftest.
$ac_ext <<_ACEOF
35648 /* end confdefs.h. */
35651 #include <stdarg.h>
35653 #if __MSL__ >= 0x6000
35655 using namespace std;
35665 const char *fmt = "%s";
35666 vsnprintf(buf, 10u, fmt, ap);
35672 rm -f conftest.
$ac_objext
35673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35674 (eval $ac_compile) 2>conftest.er1
35676 grep -v '^ *+' conftest.er1
>conftest.err
35678 cat conftest.err
>&5
35679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35680 (exit $ac_status); } &&
35681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35683 (eval $ac_try) 2>&5
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); }; } &&
35687 { ac_try
='test -s conftest.$ac_objext'
35688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35689 (eval $ac_try) 2>&5
35691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35692 (exit $ac_status); }; }; then
35693 wx_cv_func_broken_vsnprintf_decl
=no
35695 echo "$as_me: failed program was:" >&5
35696 sed 's/^/| /' conftest.
$ac_ext >&5
35698 wx_cv_func_broken_vsnprintf_decl
=yes
35701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35705 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35706 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35708 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35709 cat >>confdefs.h
<<\_ACEOF
35710 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35717 if test "$ac_cv_func_snprintf" = "yes"; then
35718 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35719 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35720 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35721 echo $ECHO_N "(cached) $ECHO_C" >&6
35724 cat >conftest.
$ac_ext <<_ACEOF
35727 cat confdefs.h
>>conftest.
$ac_ext
35728 cat >>conftest.
$ac_ext <<_ACEOF
35729 /* end confdefs.h. */
35732 #include <stdarg.h>
35734 #if __MSL__ >= 0x6000
35736 using namespace std;
35745 snprintf(buf, 10u, "%s", "wx");
35751 rm -f conftest.
$ac_objext
35752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35753 (eval $ac_compile) 2>conftest.er1
35755 grep -v '^ *+' conftest.er1
>conftest.err
35757 cat conftest.err
>&5
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); } &&
35760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35762 (eval $ac_try) 2>&5
35764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765 (exit $ac_status); }; } &&
35766 { ac_try
='test -s conftest.$ac_objext'
35767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35768 (eval $ac_try) 2>&5
35770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35771 (exit $ac_status); }; }; then
35772 wx_cv_func_snprintf_decl
=yes
35774 echo "$as_me: failed program was:" >&5
35775 sed 's/^/| /' conftest.
$ac_ext >&5
35777 wx_cv_func_snprintf_decl
=no
35780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35784 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35785 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35787 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35788 cat >>confdefs.h
<<\_ACEOF
35789 #define HAVE_SNPRINTF_DECL 1
35793 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35794 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35795 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35796 echo $ECHO_N "(cached) $ECHO_C" >&6
35799 cat >conftest.
$ac_ext <<_ACEOF
35802 cat confdefs.h
>>conftest.
$ac_ext
35803 cat >>conftest.
$ac_ext <<_ACEOF
35804 /* end confdefs.h. */
35807 #include <stdarg.h>
35809 #if __MSL__ >= 0x6000
35811 using namespace std;
35820 const char *fmt = "%s";
35821 snprintf(buf, 10u, fmt, "wx");
35827 rm -f conftest.
$ac_objext
35828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35829 (eval $ac_compile) 2>conftest.er1
35831 grep -v '^ *+' conftest.er1
>conftest.err
35833 cat conftest.err
>&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); } &&
35836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; } &&
35842 { ac_try
='test -s conftest.$ac_objext'
35843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35844 (eval $ac_try) 2>&5
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); }; }; then
35848 wx_cv_func_broken_snprintf_decl
=no
35850 echo "$as_me: failed program was:" >&5
35851 sed 's/^/| /' conftest.
$ac_ext >&5
35853 wx_cv_func_broken_snprintf_decl
=yes
35856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35860 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35861 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35863 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35864 cat >>confdefs.h
<<\_ACEOF
35865 #define HAVE_BROKEN_SNPRINTF_DECL 1
35871 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35873 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35874 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35875 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35876 echo $ECHO_N "(cached) $ECHO_C" >&6
35879 if test "$cross_compiling" = yes; then
35881 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35882 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35883 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35884 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35885 wx_cv_func_snprintf_pos_params
=no
35889 cat >conftest.
$ac_ext <<_ACEOF
35892 cat confdefs.h
>>conftest.
$ac_ext
35893 cat >>conftest.
$ac_ext <<_ACEOF
35894 /* end confdefs.h. */
35901 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35902 if (strcmp ("2 3 1", buffer) == 0)
35908 rm -f conftest
$ac_exeext
35909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35910 (eval $ac_link) 2>&5
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35915 (eval $ac_try) 2>&5
35917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35918 (exit $ac_status); }; }; then
35919 wx_cv_func_snprintf_pos_params
=no
35921 echo "$as_me: program exited with status $ac_status" >&5
35922 echo "$as_me: failed program was:" >&5
35923 sed 's/^/| /' conftest.
$ac_ext >&5
35925 ( exit $ac_status )
35926 wx_cv_func_snprintf_pos_params
=yes
35928 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35933 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35934 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35936 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35937 cat >>confdefs.h
<<\_ACEOF
35938 #define HAVE_UNIX98_PRINTF 1
35945 if test "$wxUSE_UNICODE" = yes; then
35948 for ac_func
in swprintf
35950 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35951 echo "$as_me:$LINENO: checking for $ac_func" >&5
35952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35953 if eval "test \"\${$as_ac_var+set}\" = set"; then
35954 echo $ECHO_N "(cached) $ECHO_C" >&6
35956 cat >conftest.
$ac_ext <<_ACEOF
35959 cat confdefs.h
>>conftest.
$ac_ext
35960 cat >>conftest.
$ac_ext <<_ACEOF
35961 /* end confdefs.h. */
35962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35964 #define $ac_func innocuous_$ac_func
35966 /* System header to define __stub macros and hopefully few prototypes,
35967 which can conflict with char $ac_func (); below.
35968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35969 <limits.h> exists even on freestanding compilers. */
35972 # include <limits.h>
35974 # include <assert.h>
35979 /* Override any gcc2 internal prototype to avoid an error. */
35984 /* We use char because int might match the return type of a gcc2
35985 builtin and then its argument prototype would still apply. */
35987 /* The GNU C library defines this for functions which it implements
35988 to always fail with ENOSYS. Some functions are actually named
35989 something starting with __ and the normal name is an alias. */
35990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35993 char (*f) () = $ac_func;
36002 return f != $ac_func;
36007 rm -f conftest.
$ac_objext conftest
$ac_exeext
36008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36009 (eval $ac_link) 2>conftest.er1
36011 grep -v '^ *+' conftest.er1
>conftest.err
36013 cat conftest.err
>&5
36014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36015 (exit $ac_status); } &&
36016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36018 (eval $ac_try) 2>&5
36020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36021 (exit $ac_status); }; } &&
36022 { ac_try
='test -s conftest$ac_exeext'
36023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36024 (eval $ac_try) 2>&5
36026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36027 (exit $ac_status); }; }; then
36028 eval "$as_ac_var=yes"
36030 echo "$as_me: failed program was:" >&5
36031 sed 's/^/| /' conftest.
$ac_ext >&5
36033 eval "$as_ac_var=no"
36035 rm -f conftest.err conftest.
$ac_objext \
36036 conftest
$ac_exeext conftest.
$ac_ext
36038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36040 if test `eval echo '${'$as_ac_var'}'` = yes; then
36041 cat >>confdefs.h
<<_ACEOF
36042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36049 if test "$ac_cv_func_swprintf" = "yes"; then
36050 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36051 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
36052 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36053 echo $ECHO_N "(cached) $ECHO_C" >&6
36056 cat >conftest.
$ac_ext <<_ACEOF
36059 cat confdefs.h
>>conftest.
$ac_ext
36060 cat >>conftest.
$ac_ext <<_ACEOF
36061 /* end confdefs.h. */
36064 #include <stdarg.h>
36072 const wchar_t *fmt = L"test";
36073 swprintf(buf, 10u, fmt);
36079 rm -f conftest.
$ac_objext
36080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36081 (eval $ac_compile) 2>conftest.er1
36083 grep -v '^ *+' conftest.er1
>conftest.err
36085 cat conftest.err
>&5
36086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36087 (exit $ac_status); } &&
36088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36090 (eval $ac_try) 2>&5
36092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36093 (exit $ac_status); }; } &&
36094 { ac_try
='test -s conftest.$ac_objext'
36095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36096 (eval $ac_try) 2>&5
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); }; }; then
36100 wx_cv_func_broken_swprintf_decl
=no
36102 echo "$as_me: failed program was:" >&5
36103 sed 's/^/| /' conftest.
$ac_ext >&5
36105 wx_cv_func_broken_swprintf_decl
=yes
36108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36112 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36113 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36115 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36116 cat >>confdefs.h
<<\_ACEOF
36117 #define HAVE_BROKEN_SWPRINTF_DECL 1
36123 wchar_headers
="#include <stdio.h>
36124 #include <wchar.h>"
36128 for ac_header
in widec.h
36130 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36132 echo "$as_me:$LINENO: checking for $ac_header" >&5
36133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36135 echo $ECHO_N "(cached) $ECHO_C" >&6
36137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36140 # Is the header compilable?
36141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36143 cat >conftest.
$ac_ext <<_ACEOF
36146 cat confdefs.h
>>conftest.
$ac_ext
36147 cat >>conftest.
$ac_ext <<_ACEOF
36148 /* end confdefs.h. */
36149 $ac_includes_default
36150 #include <$ac_header>
36152 rm -f conftest.
$ac_objext
36153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36154 (eval $ac_compile) 2>conftest.er1
36156 grep -v '^ *+' conftest.er1
>conftest.err
36158 cat conftest.err
>&5
36159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36160 (exit $ac_status); } &&
36161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36163 (eval $ac_try) 2>&5
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); }; } &&
36167 { ac_try
='test -s conftest.$ac_objext'
36168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36169 (eval $ac_try) 2>&5
36171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36172 (exit $ac_status); }; }; then
36173 ac_header_compiler
=yes
36175 echo "$as_me: failed program was:" >&5
36176 sed 's/^/| /' conftest.
$ac_ext >&5
36178 ac_header_compiler
=no
36180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36182 echo "${ECHO_T}$ac_header_compiler" >&6
36184 # Is the header present?
36185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36187 cat >conftest.
$ac_ext <<_ACEOF
36190 cat confdefs.h
>>conftest.
$ac_ext
36191 cat >>conftest.
$ac_ext <<_ACEOF
36192 /* end confdefs.h. */
36193 #include <$ac_header>
36195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36196 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36198 grep -v '^ *+' conftest.er1
>conftest.err
36200 cat conftest.err
>&5
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); } >/dev
/null
; then
36203 if test -s conftest.err
; then
36204 ac_cpp_err
=$ac_c_preproc_warn_flag
36205 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36212 if test -z "$ac_cpp_err"; then
36213 ac_header_preproc
=yes
36215 echo "$as_me: failed program was:" >&5
36216 sed 's/^/| /' conftest.
$ac_ext >&5
36218 ac_header_preproc
=no
36220 rm -f conftest.err conftest.
$ac_ext
36221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36222 echo "${ECHO_T}$ac_header_preproc" >&6
36224 # So? What about this header?
36225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36231 ac_header_preproc
=yes
36234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36248 ## ----------------------------------------- ##
36249 ## Report this to wx-dev@lists.wxwidgets.org ##
36250 ## ----------------------------------------- ##
36253 sed "s/^/$as_me: WARNING: /" >&2
36256 echo "$as_me:$LINENO: checking for $ac_header" >&5
36257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36259 echo $ECHO_N "(cached) $ECHO_C" >&6
36261 eval "$as_ac_Header=\$ac_header_preproc"
36263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36268 cat >>confdefs.h
<<_ACEOF
36269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36276 if test "$ac_cv_header_widec_h" = "yes"; then
36277 wchar_headers
="$wchar_headers
36278 #include <widec.h>"
36283 for wx_func
in wputc wputchar putws fputws wprintf vswprintf
36285 echo "$as_me:$LINENO: checking for $wx_func" >&5
36286 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36287 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36288 echo $ECHO_N "(cached) $ECHO_C" >&6
36291 cat >conftest.
$ac_ext <<_ACEOF
36295 cat confdefs.h
>>conftest.
$ac_ext
36296 cat >>conftest.
$ac_ext <<_ACEOF
36297 /* end confdefs.h. */
36300 $ac_includes_default
36316 rm -f conftest.
$ac_objext conftest
$ac_exeext
36317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36318 (eval $ac_link) 2>conftest.er1
36320 grep -v '^ *+' conftest.er1
>conftest.err
36322 cat conftest.err
>&5
36323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36324 (exit $ac_status); } &&
36325 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36327 (eval $ac_try) 2>&5
36329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36330 (exit $ac_status); }; } &&
36331 { ac_try
='test -s conftest$ac_exeext'
36332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36333 (eval $ac_try) 2>&5
36335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36336 (exit $ac_status); }; }; then
36337 eval wx_cv_func_
$wx_func=yes
36339 echo "$as_me: failed program was:" >&5
36340 sed 's/^/| /' conftest.
$ac_ext >&5
36342 eval wx_cv_func_
$wx_func=no
36344 rm -f conftest.err conftest.
$ac_objext \
36345 conftest
$ac_exeext conftest.
$ac_ext
36348 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36349 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36351 if eval test \
$wx_cv_func_$wx_func = yes
36353 cat >>confdefs.h
<<_ACEOF
36354 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36365 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36366 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36367 cat >conftest.
$ac_ext <<_ACEOF
36370 cat confdefs.h
>>conftest.
$ac_ext
36371 cat >>conftest.
$ac_ext <<_ACEOF
36372 /* end confdefs.h. */
36382 rm -f conftest.
$ac_objext
36383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36384 (eval $ac_compile) 2>conftest.er1
36386 grep -v '^ *+' conftest.er1
>conftest.err
36388 cat conftest.err
>&5
36389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36390 (exit $ac_status); } &&
36391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36393 (eval $ac_try) 2>&5
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); }; } &&
36397 { ac_try
='test -s conftest.$ac_objext'
36398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36399 (eval $ac_try) 2>&5
36401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36402 (exit $ac_status); }; }; then
36403 echo "$as_me:$LINENO: result: yes" >&5
36404 echo "${ECHO_T}yes" >&6
36405 cat >>confdefs.h
<<\_ACEOF
36406 #define HAVE__VSNWPRINTF 1
36410 echo "$as_me: failed program was:" >&5
36411 sed 's/^/| /' conftest.
$ac_ext >&5
36413 echo "$as_me:$LINENO: result: no" >&5
36414 echo "${ECHO_T}no" >&6
36416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
36419 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36421 for wx_func
in fnmatch
36423 echo "$as_me:$LINENO: checking for $wx_func" >&5
36424 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36425 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36426 echo $ECHO_N "(cached) $ECHO_C" >&6
36429 cat >conftest.
$ac_ext <<_ACEOF
36433 cat confdefs.h
>>conftest.
$ac_ext
36434 cat >>conftest.
$ac_ext <<_ACEOF
36435 /* end confdefs.h. */
36437 #include <fnmatch.h>
36438 $ac_includes_default
36454 rm -f conftest.
$ac_objext conftest
$ac_exeext
36455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36456 (eval $ac_link) 2>conftest.er1
36458 grep -v '^ *+' conftest.er1
>conftest.err
36460 cat conftest.err
>&5
36461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36462 (exit $ac_status); } &&
36463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36465 (eval $ac_try) 2>&5
36467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36468 (exit $ac_status); }; } &&
36469 { ac_try
='test -s conftest$ac_exeext'
36470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36471 (eval $ac_try) 2>&5
36473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36474 (exit $ac_status); }; }; then
36475 eval wx_cv_func_
$wx_func=yes
36477 echo "$as_me: failed program was:" >&5
36478 sed 's/^/| /' conftest.
$ac_ext >&5
36480 eval wx_cv_func_
$wx_func=no
36482 rm -f conftest.err conftest.
$ac_objext \
36483 conftest
$ac_exeext conftest.
$ac_ext
36486 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36487 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36489 if eval test \
$wx_cv_func_$wx_func = yes
36491 cat >>confdefs.h
<<_ACEOF
36492 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36504 if test "$wxUSE_FILE" = "yes"; then
36506 for wx_func
in fsync
36508 echo "$as_me:$LINENO: checking for $wx_func" >&5
36509 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36510 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36511 echo $ECHO_N "(cached) $ECHO_C" >&6
36514 cat >conftest.
$ac_ext <<_ACEOF
36518 cat confdefs.h
>>conftest.
$ac_ext
36519 cat >>conftest.
$ac_ext <<_ACEOF
36520 /* end confdefs.h. */
36523 $ac_includes_default
36539 rm -f conftest.
$ac_objext conftest
$ac_exeext
36540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36541 (eval $ac_link) 2>conftest.er1
36543 grep -v '^ *+' conftest.er1
>conftest.err
36545 cat conftest.err
>&5
36546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36547 (exit $ac_status); } &&
36548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36550 (eval $ac_try) 2>&5
36552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553 (exit $ac_status); }; } &&
36554 { ac_try
='test -s conftest$ac_exeext'
36555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36556 (eval $ac_try) 2>&5
36558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559 (exit $ac_status); }; }; then
36560 eval wx_cv_func_
$wx_func=yes
36562 echo "$as_me: failed program was:" >&5
36563 sed 's/^/| /' conftest.
$ac_ext >&5
36565 eval wx_cv_func_
$wx_func=no
36567 rm -f conftest.err conftest.
$ac_objext \
36568 conftest
$ac_exeext conftest.
$ac_ext
36571 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36572 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36574 if eval test \
$wx_cv_func_$wx_func = yes
36576 cat >>confdefs.h
<<_ACEOF
36577 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36590 for wx_func
in round
36592 echo "$as_me:$LINENO: checking for $wx_func" >&5
36593 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36594 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36595 echo $ECHO_N "(cached) $ECHO_C" >&6
36598 cat >conftest.
$ac_ext <<_ACEOF
36602 cat confdefs.h
>>conftest.
$ac_ext
36603 cat >>conftest.
$ac_ext <<_ACEOF
36604 /* end confdefs.h. */
36607 $ac_includes_default
36623 rm -f conftest.
$ac_objext conftest
$ac_exeext
36624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36625 (eval $ac_link) 2>conftest.er1
36627 grep -v '^ *+' conftest.er1
>conftest.err
36629 cat conftest.err
>&5
36630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36631 (exit $ac_status); } &&
36632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36634 (eval $ac_try) 2>&5
36636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36637 (exit $ac_status); }; } &&
36638 { ac_try
='test -s conftest$ac_exeext'
36639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36640 (eval $ac_try) 2>&5
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); }; }; then
36644 eval wx_cv_func_
$wx_func=yes
36646 echo "$as_me: failed program was:" >&5
36647 sed 's/^/| /' conftest.
$ac_ext >&5
36649 eval wx_cv_func_
$wx_func=no
36651 rm -f conftest.err conftest.
$ac_objext \
36652 conftest
$ac_exeext conftest.
$ac_ext
36655 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36656 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36658 if eval test \
$wx_cv_func_$wx_func = yes
36660 cat >>confdefs.h
<<_ACEOF
36661 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36672 if test "$TOOLKIT" != "MSW"; then
36678 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36679 if test "${with_libiconv_prefix+set}" = set; then
36680 withval
="$with_libiconv_prefix"
36682 for dir
in `echo "$withval" | tr : ' '`; do
36683 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36684 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36689 echo "$as_me:$LINENO: checking for iconv" >&5
36690 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36691 if test "${am_cv_func_iconv+set}" = set; then
36692 echo $ECHO_N "(cached) $ECHO_C" >&6
36695 am_cv_func_iconv
="no, consider installing GNU libiconv"
36697 cat >conftest.
$ac_ext <<_ACEOF
36700 cat confdefs.h
>>conftest.
$ac_ext
36701 cat >>conftest.
$ac_ext <<_ACEOF
36702 /* end confdefs.h. */
36703 #include <stdlib.h>
36708 iconv_t cd = iconv_open("","");
36709 iconv(cd,NULL,NULL,NULL,NULL);
36715 rm -f conftest.
$ac_objext conftest
$ac_exeext
36716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36717 (eval $ac_link) 2>conftest.er1
36719 grep -v '^ *+' conftest.er1
>conftest.err
36721 cat conftest.err
>&5
36722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36723 (exit $ac_status); } &&
36724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36726 (eval $ac_try) 2>&5
36728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36729 (exit $ac_status); }; } &&
36730 { ac_try
='test -s conftest$ac_exeext'
36731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36732 (eval $ac_try) 2>&5
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); }; }; then
36736 am_cv_func_iconv
=yes
36738 echo "$as_me: failed program was:" >&5
36739 sed 's/^/| /' conftest.
$ac_ext >&5
36742 rm -f conftest.err conftest.
$ac_objext \
36743 conftest
$ac_exeext conftest.
$ac_ext
36744 if test "$am_cv_func_iconv" != yes; then
36745 am_save_LIBS
="$LIBS"
36746 LIBS
="$LIBS -liconv"
36747 cat >conftest.
$ac_ext <<_ACEOF
36750 cat confdefs.h
>>conftest.
$ac_ext
36751 cat >>conftest.
$ac_ext <<_ACEOF
36752 /* end confdefs.h. */
36753 #include <stdlib.h>
36758 iconv_t cd = iconv_open("","");
36759 iconv(cd,NULL,NULL,NULL,NULL);
36765 rm -f conftest.
$ac_objext conftest
$ac_exeext
36766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36767 (eval $ac_link) 2>conftest.er1
36769 grep -v '^ *+' conftest.er1
>conftest.err
36771 cat conftest.err
>&5
36772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36773 (exit $ac_status); } &&
36774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36776 (eval $ac_try) 2>&5
36778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36779 (exit $ac_status); }; } &&
36780 { ac_try
='test -s conftest$ac_exeext'
36781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36782 (eval $ac_try) 2>&5
36784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36785 (exit $ac_status); }; }; then
36786 am_cv_lib_iconv
=yes
36787 am_cv_func_iconv
=yes
36789 echo "$as_me: failed program was:" >&5
36790 sed 's/^/| /' conftest.
$ac_ext >&5
36793 rm -f conftest.err conftest.
$ac_objext \
36794 conftest
$ac_exeext conftest.
$ac_ext
36795 LIBS
="$am_save_LIBS"
36799 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36800 echo "${ECHO_T}$am_cv_func_iconv" >&6
36801 if test "$am_cv_func_iconv" = yes; then
36803 cat >>confdefs.h
<<\_ACEOF
36804 #define HAVE_ICONV 1
36807 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36808 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36809 if test "${wx_cv_func_iconv_const+set}" = set; then
36810 echo $ECHO_N "(cached) $ECHO_C" >&6
36812 cat >conftest.
$ac_ext <<_ACEOF
36815 cat confdefs.h
>>conftest.
$ac_ext
36816 cat >>conftest.
$ac_ext <<_ACEOF
36817 /* end confdefs.h. */
36819 #include <stdlib.h>
36825 #if defined(__STDC__) || defined(__cplusplus)
36826 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36839 rm -f conftest.
$ac_objext
36840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36841 (eval $ac_compile) 2>conftest.er1
36843 grep -v '^ *+' conftest.er1
>conftest.err
36845 cat conftest.err
>&5
36846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36847 (exit $ac_status); } &&
36848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36850 (eval $ac_try) 2>&5
36852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36853 (exit $ac_status); }; } &&
36854 { ac_try
='test -s conftest.$ac_objext'
36855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36856 (eval $ac_try) 2>&5
36858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36859 (exit $ac_status); }; }; then
36860 wx_cv_func_iconv_const
="no"
36862 echo "$as_me: failed program was:" >&5
36863 sed 's/^/| /' conftest.
$ac_ext >&5
36865 wx_cv_func_iconv_const
="yes"
36868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36871 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36872 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36875 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36876 iconv_const
="const"
36880 cat >>confdefs.h
<<_ACEOF
36881 #define ICONV_CONST $iconv_const
36886 if test "$am_cv_lib_iconv" = yes; then
36891 LIBS
="$LIBICONV $LIBS"
36893 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36895 for ac_func
in sigaction
36897 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36898 echo "$as_me:$LINENO: checking for $ac_func" >&5
36899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36900 if eval "test \"\${$as_ac_var+set}\" = set"; then
36901 echo $ECHO_N "(cached) $ECHO_C" >&6
36903 cat >conftest.
$ac_ext <<_ACEOF
36906 cat confdefs.h
>>conftest.
$ac_ext
36907 cat >>conftest.
$ac_ext <<_ACEOF
36908 /* end confdefs.h. */
36909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36911 #define $ac_func innocuous_$ac_func
36913 /* System header to define __stub macros and hopefully few prototypes,
36914 which can conflict with char $ac_func (); below.
36915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36916 <limits.h> exists even on freestanding compilers. */
36919 # include <limits.h>
36921 # include <assert.h>
36926 /* Override any gcc2 internal prototype to avoid an error. */
36931 /* We use char because int might match the return type of a gcc2
36932 builtin and then its argument prototype would still apply. */
36934 /* The GNU C library defines this for functions which it implements
36935 to always fail with ENOSYS. Some functions are actually named
36936 something starting with __ and the normal name is an alias. */
36937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36940 char (*f) () = $ac_func;
36949 return f != $ac_func;
36954 rm -f conftest.
$ac_objext conftest
$ac_exeext
36955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36956 (eval $ac_link) 2>conftest.er1
36958 grep -v '^ *+' conftest.er1
>conftest.err
36960 cat conftest.err
>&5
36961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36962 (exit $ac_status); } &&
36963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36965 (eval $ac_try) 2>&5
36967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36968 (exit $ac_status); }; } &&
36969 { ac_try
='test -s conftest$ac_exeext'
36970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36971 (eval $ac_try) 2>&5
36973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36974 (exit $ac_status); }; }; then
36975 eval "$as_ac_var=yes"
36977 echo "$as_me: failed program was:" >&5
36978 sed 's/^/| /' conftest.
$ac_ext >&5
36980 eval "$as_ac_var=no"
36982 rm -f conftest.err conftest.
$ac_objext \
36983 conftest
$ac_exeext conftest.
$ac_ext
36985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36987 if test `eval echo '${'$as_ac_var'}'` = yes; then
36988 cat >>confdefs.h
<<_ACEOF
36989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36996 if test "$ac_cv_func_sigaction" = "no"; then
36997 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36998 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36999 wxUSE_ON_FATAL_EXCEPTION
=no
37002 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37003 echo "$as_me:$LINENO: checking for sa_handler type" >&5
37004 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
37005 if test "${wx_cv_type_sa_handler+set}" = set; then
37006 echo $ECHO_N "(cached) $ECHO_C" >&6
37010 ac_cpp
='$CXXCPP $CPPFLAGS'
37011 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37012 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37013 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37015 cat >conftest.
$ac_ext <<_ACEOF
37018 cat confdefs.h
>>conftest.
$ac_ext
37019 cat >>conftest.
$ac_ext <<_ACEOF
37020 /* end confdefs.h. */
37021 #include <signal.h>
37026 extern void testSigHandler(int);
37028 struct sigaction sa;
37029 sa.sa_handler = testSigHandler;
37035 rm -f conftest.
$ac_objext
37036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37037 (eval $ac_compile) 2>conftest.er1
37039 grep -v '^ *+' conftest.er1
>conftest.err
37041 cat conftest.err
>&5
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); } &&
37044 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37046 (eval $ac_try) 2>&5
37048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37049 (exit $ac_status); }; } &&
37050 { ac_try
='test -s conftest.$ac_objext'
37051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37052 (eval $ac_try) 2>&5
37054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37055 (exit $ac_status); }; }; then
37057 wx_cv_type_sa_handler
=int
37060 echo "$as_me: failed program was:" >&5
37061 sed 's/^/| /' conftest.
$ac_ext >&5
37064 wx_cv_type_sa_handler
=void
37067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37069 ac_cpp
='$CPP $CPPFLAGS'
37070 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37071 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37072 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37076 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37077 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
37079 cat >>confdefs.h
<<_ACEOF
37080 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37086 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37087 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37088 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
37089 if test "${wx_cv_func_backtrace+set}" = set; then
37090 echo $ECHO_N "(cached) $ECHO_C" >&6
37094 ac_cpp
='$CXXCPP $CPPFLAGS'
37095 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37096 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37097 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37099 cat >conftest.
$ac_ext <<_ACEOF
37102 cat confdefs.h
>>conftest.
$ac_ext
37103 cat >>conftest.
$ac_ext <<_ACEOF
37104 /* end confdefs.h. */
37105 #include <execinfo.h>
37113 backtrace(trace, 1);
37114 messages = backtrace_symbols(trace, 1);
37120 rm -f conftest.
$ac_objext
37121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37122 (eval $ac_compile) 2>conftest.er1
37124 grep -v '^ *+' conftest.er1
>conftest.err
37126 cat conftest.err
>&5
37127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128 (exit $ac_status); } &&
37129 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37131 (eval $ac_try) 2>&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); }; } &&
37135 { ac_try
='test -s conftest.$ac_objext'
37136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37137 (eval $ac_try) 2>&5
37139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37140 (exit $ac_status); }; }; then
37141 wx_cv_func_backtrace
=yes
37143 echo "$as_me: failed program was:" >&5
37144 sed 's/^/| /' conftest.
$ac_ext >&5
37146 wx_cv_func_backtrace
=no
37149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37151 ac_cpp
='$CPP $CPPFLAGS'
37152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37159 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37160 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37163 if test "$wx_cv_func_backtrace" = "no"; then
37164 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37165 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37166 wxUSE_STACKWALKER
=no
37168 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37169 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37170 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37171 echo $ECHO_N "(cached) $ECHO_C" >&6
37175 ac_cpp
='$CXXCPP $CPPFLAGS'
37176 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37177 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37178 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37180 cat >conftest.
$ac_ext <<_ACEOF
37183 cat confdefs.h
>>conftest.
$ac_ext
37184 cat >>conftest.
$ac_ext <<_ACEOF
37185 /* end confdefs.h. */
37186 #include <cxxabi.h>
37192 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37198 rm -f conftest.
$ac_objext conftest
$ac_exeext
37199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37200 (eval $ac_link) 2>conftest.er1
37202 grep -v '^ *+' conftest.er1
>conftest.err
37204 cat conftest.err
>&5
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); } &&
37207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37209 (eval $ac_try) 2>&5
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); }; } &&
37213 { ac_try
='test -s conftest$ac_exeext'
37214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37215 (eval $ac_try) 2>&5
37217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37218 (exit $ac_status); }; }; then
37219 wx_cv_func_cxa_demangle
=yes
37221 echo "$as_me: failed program was:" >&5
37222 sed 's/^/| /' conftest.
$ac_ext >&5
37224 wx_cv_func_cxa_demangle
=no
37227 rm -f conftest.err conftest.
$ac_objext \
37228 conftest
$ac_exeext conftest.
$ac_ext
37230 ac_cpp
='$CPP $CPPFLAGS'
37231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37238 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37239 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37241 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37242 cat >>confdefs.h
<<\_ACEOF
37243 #define HAVE_CXA_DEMANGLE 1
37250 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37251 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37252 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37253 wxUSE_STACKWALKER
=no
37259 for ac_func
in mkstemp mktemp
37261 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37262 echo "$as_me:$LINENO: checking for $ac_func" >&5
37263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37264 if eval "test \"\${$as_ac_var+set}\" = set"; then
37265 echo $ECHO_N "(cached) $ECHO_C" >&6
37267 cat >conftest.
$ac_ext <<_ACEOF
37270 cat confdefs.h
>>conftest.
$ac_ext
37271 cat >>conftest.
$ac_ext <<_ACEOF
37272 /* end confdefs.h. */
37273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37275 #define $ac_func innocuous_$ac_func
37277 /* System header to define __stub macros and hopefully few prototypes,
37278 which can conflict with char $ac_func (); below.
37279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37280 <limits.h> exists even on freestanding compilers. */
37283 # include <limits.h>
37285 # include <assert.h>
37290 /* Override any gcc2 internal prototype to avoid an error. */
37295 /* We use char because int might match the return type of a gcc2
37296 builtin and then its argument prototype would still apply. */
37298 /* The GNU C library defines this for functions which it implements
37299 to always fail with ENOSYS. Some functions are actually named
37300 something starting with __ and the normal name is an alias. */
37301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37304 char (*f) () = $ac_func;
37313 return f != $ac_func;
37318 rm -f conftest.
$ac_objext conftest
$ac_exeext
37319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37320 (eval $ac_link) 2>conftest.er1
37322 grep -v '^ *+' conftest.er1
>conftest.err
37324 cat conftest.err
>&5
37325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37326 (exit $ac_status); } &&
37327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37329 (eval $ac_try) 2>&5
37331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37332 (exit $ac_status); }; } &&
37333 { ac_try
='test -s conftest$ac_exeext'
37334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37335 (eval $ac_try) 2>&5
37337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37338 (exit $ac_status); }; }; then
37339 eval "$as_ac_var=yes"
37341 echo "$as_me: failed program was:" >&5
37342 sed 's/^/| /' conftest.
$ac_ext >&5
37344 eval "$as_ac_var=no"
37346 rm -f conftest.err conftest.
$ac_objext \
37347 conftest
$ac_exeext conftest.
$ac_ext
37349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37351 if test `eval echo '${'$as_ac_var'}'` = yes; then
37352 cat >>confdefs.h
<<_ACEOF
37353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37360 echo "$as_me:$LINENO: checking for statfs" >&5
37361 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37362 if test "${wx_cv_func_statfs+set}" = set; then
37363 echo $ECHO_N "(cached) $ECHO_C" >&6
37365 cat >conftest.
$ac_ext <<_ACEOF
37368 cat confdefs.h
>>conftest.
$ac_ext
37369 cat >>conftest.
$ac_ext <<_ACEOF
37370 /* end confdefs.h. */
37372 #if defined(__BSD__)
37373 #include <sys/param.h>
37374 #include <sys/mount.h>
37376 #include <sys/vfs.h>
37394 rm -f conftest.
$ac_objext
37395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37396 (eval $ac_compile) 2>conftest.er1
37398 grep -v '^ *+' conftest.er1
>conftest.err
37400 cat conftest.err
>&5
37401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37402 (exit $ac_status); } &&
37403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37405 (eval $ac_try) 2>&5
37407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37408 (exit $ac_status); }; } &&
37409 { ac_try
='test -s conftest.$ac_objext'
37410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37411 (eval $ac_try) 2>&5
37413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37414 (exit $ac_status); }; }; then
37415 wx_cv_func_statfs
=yes
37417 echo "$as_me: failed program was:" >&5
37418 sed 's/^/| /' conftest.
$ac_ext >&5
37420 wx_cv_func_statfs
=no
37423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37426 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37427 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37429 if test "$wx_cv_func_statfs" = "yes"; then
37430 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37431 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37432 if test "${wx_cv_func_statfs_decl+set}" = set; then
37433 echo $ECHO_N "(cached) $ECHO_C" >&6
37436 ac_cpp
='$CXXCPP $CPPFLAGS'
37437 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37438 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37439 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37441 cat >conftest.
$ac_ext <<_ACEOF
37444 cat confdefs.h
>>conftest.
$ac_ext
37445 cat >>conftest.
$ac_ext <<_ACEOF
37446 /* end confdefs.h. */
37448 #if defined(__BSD__)
37449 #include <sys/param.h>
37450 #include <sys/mount.h>
37452 #include <sys/vfs.h>
37466 rm -f conftest.
$ac_objext
37467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37468 (eval $ac_compile) 2>conftest.er1
37470 grep -v '^ *+' conftest.er1
>conftest.err
37472 cat conftest.err
>&5
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); } &&
37475 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37477 (eval $ac_try) 2>&5
37479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37480 (exit $ac_status); }; } &&
37481 { ac_try
='test -s conftest.$ac_objext'
37482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37483 (eval $ac_try) 2>&5
37485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37486 (exit $ac_status); }; }; then
37487 wx_cv_func_statfs_decl
=yes
37489 echo "$as_me: failed program was:" >&5
37490 sed 's/^/| /' conftest.
$ac_ext >&5
37492 wx_cv_func_statfs_decl
=no
37495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37497 ac_cpp
='$CPP $CPPFLAGS'
37498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37504 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37505 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37507 if test "$wx_cv_func_statfs_decl" = "yes"; then
37508 cat >>confdefs.h
<<\_ACEOF
37509 #define HAVE_STATFS_DECL 1
37514 wx_cv_type_statvfs_t
="struct statfs"
37515 cat >>confdefs.h
<<\_ACEOF
37516 #define HAVE_STATFS 1
37520 echo "$as_me:$LINENO: checking for statvfs" >&5
37521 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37522 if test "${wx_cv_func_statvfs+set}" = set; then
37523 echo $ECHO_N "(cached) $ECHO_C" >&6
37525 cat >conftest.
$ac_ext <<_ACEOF
37528 cat confdefs.h
>>conftest.
$ac_ext
37529 cat >>conftest.
$ac_ext <<_ACEOF
37530 /* end confdefs.h. */
37532 #include <stddef.h>
37533 #include <sys/statvfs.h>
37539 statvfs("/", NULL);
37545 rm -f conftest.
$ac_objext
37546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37547 (eval $ac_compile) 2>conftest.er1
37549 grep -v '^ *+' conftest.er1
>conftest.err
37551 cat conftest.err
>&5
37552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37553 (exit $ac_status); } &&
37554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37556 (eval $ac_try) 2>&5
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); }; } &&
37560 { ac_try
='test -s conftest.$ac_objext'
37561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37562 (eval $ac_try) 2>&5
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); }; }; then
37566 wx_cv_func_statvfs
=yes
37568 echo "$as_me: failed program was:" >&5
37569 sed 's/^/| /' conftest.
$ac_ext >&5
37571 wx_cv_func_statvfs
=no
37574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37577 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37578 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37580 if test "$wx_cv_func_statvfs" = "yes"; then
37581 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37582 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37583 if test "${wx_cv_type_statvfs_t+set}" = set; then
37584 echo $ECHO_N "(cached) $ECHO_C" >&6
37587 ac_cpp
='$CXXCPP $CPPFLAGS'
37588 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37589 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37590 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37592 cat >conftest.
$ac_ext <<_ACEOF
37595 cat confdefs.h
>>conftest.
$ac_ext
37596 cat >>conftest.
$ac_ext <<_ACEOF
37597 /* end confdefs.h. */
37599 #include <sys/statvfs.h>
37616 rm -f conftest.
$ac_objext
37617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37618 (eval $ac_compile) 2>conftest.er1
37620 grep -v '^ *+' conftest.er1
>conftest.err
37622 cat conftest.err
>&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); } &&
37625 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37627 (eval $ac_try) 2>&5
37629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37630 (exit $ac_status); }; } &&
37631 { ac_try
='test -s conftest.$ac_objext'
37632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37633 (eval $ac_try) 2>&5
37635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37636 (exit $ac_status); }; }; then
37637 wx_cv_type_statvfs_t
=statvfs_t
37639 echo "$as_me: failed program was:" >&5
37640 sed 's/^/| /' conftest.
$ac_ext >&5
37643 cat >conftest.
$ac_ext <<_ACEOF
37646 cat confdefs.h
>>conftest.
$ac_ext
37647 cat >>conftest.
$ac_ext <<_ACEOF
37648 /* end confdefs.h. */
37650 #include <sys/statvfs.h>
37667 rm -f conftest.
$ac_objext
37668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37669 (eval $ac_compile) 2>conftest.er1
37671 grep -v '^ *+' conftest.er1
>conftest.err
37673 cat conftest.err
>&5
37674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37675 (exit $ac_status); } &&
37676 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37678 (eval $ac_try) 2>&5
37680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37681 (exit $ac_status); }; } &&
37682 { ac_try
='test -s conftest.$ac_objext'
37683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37684 (eval $ac_try) 2>&5
37686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37687 (exit $ac_status); }; }; then
37688 wx_cv_type_statvfs_t
="struct statvfs"
37690 echo "$as_me: failed program was:" >&5
37691 sed 's/^/| /' conftest.
$ac_ext >&5
37693 wx_cv_type_statvfs_t
="unknown"
37696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37702 ac_cpp
='$CPP $CPPFLAGS'
37703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37709 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37710 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37712 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37713 cat >>confdefs.h
<<\_ACEOF
37714 #define HAVE_STATVFS 1
37719 wx_cv_type_statvfs_t
="unknown"
37723 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37724 cat >>confdefs.h
<<_ACEOF
37725 #define WX_STATFS_T $wx_cv_type_statvfs_t
37729 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37730 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37733 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37736 for ac_func
in fcntl flock
37738 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37739 echo "$as_me:$LINENO: checking for $ac_func" >&5
37740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37741 if eval "test \"\${$as_ac_var+set}\" = set"; then
37742 echo $ECHO_N "(cached) $ECHO_C" >&6
37744 cat >conftest.
$ac_ext <<_ACEOF
37747 cat confdefs.h
>>conftest.
$ac_ext
37748 cat >>conftest.
$ac_ext <<_ACEOF
37749 /* end confdefs.h. */
37750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37752 #define $ac_func innocuous_$ac_func
37754 /* System header to define __stub macros and hopefully few prototypes,
37755 which can conflict with char $ac_func (); below.
37756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37757 <limits.h> exists even on freestanding compilers. */
37760 # include <limits.h>
37762 # include <assert.h>
37767 /* Override any gcc2 internal prototype to avoid an error. */
37772 /* We use char because int might match the return type of a gcc2
37773 builtin and then its argument prototype would still apply. */
37775 /* The GNU C library defines this for functions which it implements
37776 to always fail with ENOSYS. Some functions are actually named
37777 something starting with __ and the normal name is an alias. */
37778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37781 char (*f) () = $ac_func;
37790 return f != $ac_func;
37795 rm -f conftest.
$ac_objext conftest
$ac_exeext
37796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37797 (eval $ac_link) 2>conftest.er1
37799 grep -v '^ *+' conftest.er1
>conftest.err
37801 cat conftest.err
>&5
37802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37803 (exit $ac_status); } &&
37804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37806 (eval $ac_try) 2>&5
37808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37809 (exit $ac_status); }; } &&
37810 { ac_try
='test -s conftest$ac_exeext'
37811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37812 (eval $ac_try) 2>&5
37814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37815 (exit $ac_status); }; }; then
37816 eval "$as_ac_var=yes"
37818 echo "$as_me: failed program was:" >&5
37819 sed 's/^/| /' conftest.
$ac_ext >&5
37821 eval "$as_ac_var=no"
37823 rm -f conftest.err conftest.
$ac_objext \
37824 conftest
$ac_exeext conftest.
$ac_ext
37826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37828 if test `eval echo '${'$as_ac_var'}'` = yes; then
37829 cat >>confdefs.h
<<_ACEOF
37830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37837 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37838 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37839 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37840 wxUSE_SNGLINST_CHECKER
=no
37845 for ac_func
in timegm
37847 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37848 echo "$as_me:$LINENO: checking for $ac_func" >&5
37849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37850 if eval "test \"\${$as_ac_var+set}\" = set"; then
37851 echo $ECHO_N "(cached) $ECHO_C" >&6
37853 cat >conftest.
$ac_ext <<_ACEOF
37856 cat confdefs.h
>>conftest.
$ac_ext
37857 cat >>conftest.
$ac_ext <<_ACEOF
37858 /* end confdefs.h. */
37859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37861 #define $ac_func innocuous_$ac_func
37863 /* System header to define __stub macros and hopefully few prototypes,
37864 which can conflict with char $ac_func (); below.
37865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37866 <limits.h> exists even on freestanding compilers. */
37869 # include <limits.h>
37871 # include <assert.h>
37876 /* Override any gcc2 internal prototype to avoid an error. */
37881 /* We use char because int might match the return type of a gcc2
37882 builtin and then its argument prototype would still apply. */
37884 /* The GNU C library defines this for functions which it implements
37885 to always fail with ENOSYS. Some functions are actually named
37886 something starting with __ and the normal name is an alias. */
37887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37890 char (*f) () = $ac_func;
37899 return f != $ac_func;
37904 rm -f conftest.
$ac_objext conftest
$ac_exeext
37905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37906 (eval $ac_link) 2>conftest.er1
37908 grep -v '^ *+' conftest.er1
>conftest.err
37910 cat conftest.err
>&5
37911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37912 (exit $ac_status); } &&
37913 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37915 (eval $ac_try) 2>&5
37917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37918 (exit $ac_status); }; } &&
37919 { ac_try
='test -s conftest$ac_exeext'
37920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37921 (eval $ac_try) 2>&5
37923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924 (exit $ac_status); }; }; then
37925 eval "$as_ac_var=yes"
37927 echo "$as_me: failed program was:" >&5
37928 sed 's/^/| /' conftest.
$ac_ext >&5
37930 eval "$as_ac_var=no"
37932 rm -f conftest.err conftest.
$ac_objext \
37933 conftest
$ac_exeext conftest.
$ac_ext
37935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37937 if test `eval echo '${'$as_ac_var'}'` = yes; then
37938 cat >>confdefs.h
<<_ACEOF
37939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37948 for ac_func
in putenv setenv
37950 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37951 echo "$as_me:$LINENO: checking for $ac_func" >&5
37952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37953 if eval "test \"\${$as_ac_var+set}\" = set"; then
37954 echo $ECHO_N "(cached) $ECHO_C" >&6
37956 cat >conftest.
$ac_ext <<_ACEOF
37959 cat confdefs.h
>>conftest.
$ac_ext
37960 cat >>conftest.
$ac_ext <<_ACEOF
37961 /* end confdefs.h. */
37962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37964 #define $ac_func innocuous_$ac_func
37966 /* System header to define __stub macros and hopefully few prototypes,
37967 which can conflict with char $ac_func (); below.
37968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37969 <limits.h> exists even on freestanding compilers. */
37972 # include <limits.h>
37974 # include <assert.h>
37979 /* Override any gcc2 internal prototype to avoid an error. */
37984 /* We use char because int might match the return type of a gcc2
37985 builtin and then its argument prototype would still apply. */
37987 /* The GNU C library defines this for functions which it implements
37988 to always fail with ENOSYS. Some functions are actually named
37989 something starting with __ and the normal name is an alias. */
37990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37993 char (*f) () = $ac_func;
38002 return f != $ac_func;
38007 rm -f conftest.
$ac_objext conftest
$ac_exeext
38008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38009 (eval $ac_link) 2>conftest.er1
38011 grep -v '^ *+' conftest.er1
>conftest.err
38013 cat conftest.err
>&5
38014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38015 (exit $ac_status); } &&
38016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38018 (eval $ac_try) 2>&5
38020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38021 (exit $ac_status); }; } &&
38022 { ac_try
='test -s conftest$ac_exeext'
38023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38024 (eval $ac_try) 2>&5
38026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38027 (exit $ac_status); }; }; then
38028 eval "$as_ac_var=yes"
38030 echo "$as_me: failed program was:" >&5
38031 sed 's/^/| /' conftest.
$ac_ext >&5
38033 eval "$as_ac_var=no"
38035 rm -f conftest.err conftest.
$ac_objext \
38036 conftest
$ac_exeext conftest.
$ac_ext
38038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38040 if test `eval echo '${'$as_ac_var'}'` = yes; then
38041 cat >>confdefs.h
<<_ACEOF
38042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38049 HAVE_SOME_SLEEP_FUNC
=0
38050 if test "$USE_BEOS" = 1; then
38051 cat >>confdefs.h
<<\_ACEOF
38052 #define HAVE_SLEEP 1
38055 HAVE_SOME_SLEEP_FUNC
=1
38058 if test "$USE_DARWIN" = 1; then
38059 cat >>confdefs.h
<<\_ACEOF
38060 #define HAVE_USLEEP 1
38063 HAVE_SOME_SLEEP_FUNC
=1
38066 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38069 for ac_func
in nanosleep
38071 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38072 echo "$as_me:$LINENO: checking for $ac_func" >&5
38073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38074 if eval "test \"\${$as_ac_var+set}\" = set"; then
38075 echo $ECHO_N "(cached) $ECHO_C" >&6
38077 cat >conftest.
$ac_ext <<_ACEOF
38080 cat confdefs.h
>>conftest.
$ac_ext
38081 cat >>conftest.
$ac_ext <<_ACEOF
38082 /* end confdefs.h. */
38083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38085 #define $ac_func innocuous_$ac_func
38087 /* System header to define __stub macros and hopefully few prototypes,
38088 which can conflict with char $ac_func (); below.
38089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38090 <limits.h> exists even on freestanding compilers. */
38093 # include <limits.h>
38095 # include <assert.h>
38100 /* Override any gcc2 internal prototype to avoid an error. */
38105 /* We use char because int might match the return type of a gcc2
38106 builtin and then its argument prototype would still apply. */
38108 /* The GNU C library defines this for functions which it implements
38109 to always fail with ENOSYS. Some functions are actually named
38110 something starting with __ and the normal name is an alias. */
38111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38114 char (*f) () = $ac_func;
38123 return f != $ac_func;
38128 rm -f conftest.
$ac_objext conftest
$ac_exeext
38129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38130 (eval $ac_link) 2>conftest.er1
38132 grep -v '^ *+' conftest.er1
>conftest.err
38134 cat conftest.err
>&5
38135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38136 (exit $ac_status); } &&
38137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38139 (eval $ac_try) 2>&5
38141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142 (exit $ac_status); }; } &&
38143 { ac_try
='test -s conftest$ac_exeext'
38144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38145 (eval $ac_try) 2>&5
38147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38148 (exit $ac_status); }; }; then
38149 eval "$as_ac_var=yes"
38151 echo "$as_me: failed program was:" >&5
38152 sed 's/^/| /' conftest.
$ac_ext >&5
38154 eval "$as_ac_var=no"
38156 rm -f conftest.err conftest.
$ac_objext \
38157 conftest
$ac_exeext conftest.
$ac_ext
38159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38161 if test `eval echo '${'$as_ac_var'}'` = yes; then
38162 cat >>confdefs.h
<<_ACEOF
38163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38165 cat >>confdefs.h
<<\_ACEOF
38166 #define HAVE_NANOSLEEP 1
38171 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38172 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38173 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38174 echo $ECHO_N "(cached) $ECHO_C" >&6
38176 ac_check_lib_save_LIBS
=$LIBS
38177 LIBS
="-lposix4 $LIBS"
38178 cat >conftest.
$ac_ext <<_ACEOF
38181 cat confdefs.h
>>conftest.
$ac_ext
38182 cat >>conftest.
$ac_ext <<_ACEOF
38183 /* end confdefs.h. */
38185 /* Override any gcc2 internal prototype to avoid an error. */
38189 /* We use char because int might match the return type of a gcc2
38190 builtin and then its argument prototype would still apply. */
38200 rm -f conftest.
$ac_objext conftest
$ac_exeext
38201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38202 (eval $ac_link) 2>conftest.er1
38204 grep -v '^ *+' conftest.er1
>conftest.err
38206 cat conftest.err
>&5
38207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38208 (exit $ac_status); } &&
38209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38211 (eval $ac_try) 2>&5
38213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38214 (exit $ac_status); }; } &&
38215 { ac_try
='test -s conftest$ac_exeext'
38216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38217 (eval $ac_try) 2>&5
38219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38220 (exit $ac_status); }; }; then
38221 ac_cv_lib_posix4_nanosleep
=yes
38223 echo "$as_me: failed program was:" >&5
38224 sed 's/^/| /' conftest.
$ac_ext >&5
38226 ac_cv_lib_posix4_nanosleep
=no
38228 rm -f conftest.err conftest.
$ac_objext \
38229 conftest
$ac_exeext conftest.
$ac_ext
38230 LIBS
=$ac_check_lib_save_LIBS
38232 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38233 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38234 if test $ac_cv_lib_posix4_nanosleep = yes; then
38236 cat >>confdefs.h
<<\_ACEOF
38237 #define HAVE_NANOSLEEP 1
38240 POSIX4_LINK
=" -lposix4"
38245 for wx_func
in usleep
38247 echo "$as_me:$LINENO: checking for $wx_func" >&5
38248 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38249 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38250 echo $ECHO_N "(cached) $ECHO_C" >&6
38253 cat >conftest.
$ac_ext <<_ACEOF
38257 cat confdefs.h
>>conftest.
$ac_ext
38258 cat >>conftest.
$ac_ext <<_ACEOF
38259 /* end confdefs.h. */
38262 $ac_includes_default
38278 rm -f conftest.
$ac_objext conftest
$ac_exeext
38279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38280 (eval $ac_link) 2>conftest.er1
38282 grep -v '^ *+' conftest.er1
>conftest.err
38284 cat conftest.err
>&5
38285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38286 (exit $ac_status); } &&
38287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38289 (eval $ac_try) 2>&5
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); }; } &&
38293 { ac_try
='test -s conftest$ac_exeext'
38294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38295 (eval $ac_try) 2>&5
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); }; }; then
38299 eval wx_cv_func_
$wx_func=yes
38301 echo "$as_me: failed program was:" >&5
38302 sed 's/^/| /' conftest.
$ac_ext >&5
38304 eval wx_cv_func_
$wx_func=no
38306 rm -f conftest.err conftest.
$ac_objext \
38307 conftest
$ac_exeext conftest.
$ac_ext
38310 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38311 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38313 if eval test \
$wx_cv_func_$wx_func = yes
38315 cat >>confdefs.h
<<_ACEOF
38316 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38322 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38323 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38340 for wx_func
in uname
38342 echo "$as_me:$LINENO: checking for $wx_func" >&5
38343 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38344 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38345 echo $ECHO_N "(cached) $ECHO_C" >&6
38348 cat >conftest.
$ac_ext <<_ACEOF
38352 cat confdefs.h
>>conftest.
$ac_ext
38353 cat >>conftest.
$ac_ext <<_ACEOF
38354 /* end confdefs.h. */
38356 #include <sys/utsname.h>
38357 $ac_includes_default
38373 rm -f conftest.
$ac_objext conftest
$ac_exeext
38374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38375 (eval $ac_link) 2>conftest.er1
38377 grep -v '^ *+' conftest.er1
>conftest.err
38379 cat conftest.err
>&5
38380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38381 (exit $ac_status); } &&
38382 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38384 (eval $ac_try) 2>&5
38386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38387 (exit $ac_status); }; } &&
38388 { ac_try
='test -s conftest$ac_exeext'
38389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38390 (eval $ac_try) 2>&5
38392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38393 (exit $ac_status); }; }; then
38394 eval wx_cv_func_
$wx_func=yes
38396 echo "$as_me: failed program was:" >&5
38397 sed 's/^/| /' conftest.
$ac_ext >&5
38399 eval wx_cv_func_
$wx_func=no
38401 rm -f conftest.err conftest.
$ac_objext \
38402 conftest
$ac_exeext conftest.
$ac_ext
38405 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38406 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38408 if eval test \
$wx_cv_func_$wx_func = yes
38410 cat >>confdefs.h
<<_ACEOF
38411 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38421 if test "$wx_cv_func_uname" != yes; then
38423 for wx_func
in gethostname
38425 echo "$as_me:$LINENO: checking for $wx_func" >&5
38426 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38427 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38428 echo $ECHO_N "(cached) $ECHO_C" >&6
38431 cat >conftest.
$ac_ext <<_ACEOF
38435 cat confdefs.h
>>conftest.
$ac_ext
38436 cat >>conftest.
$ac_ext <<_ACEOF
38437 /* end confdefs.h. */
38440 $ac_includes_default
38456 rm -f conftest.
$ac_objext conftest
$ac_exeext
38457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38458 (eval $ac_link) 2>conftest.er1
38460 grep -v '^ *+' conftest.er1
>conftest.err
38462 cat conftest.err
>&5
38463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38464 (exit $ac_status); } &&
38465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38467 (eval $ac_try) 2>&5
38469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38470 (exit $ac_status); }; } &&
38471 { ac_try
='test -s conftest$ac_exeext'
38472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38473 (eval $ac_try) 2>&5
38475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38476 (exit $ac_status); }; }; then
38477 eval wx_cv_func_
$wx_func=yes
38479 echo "$as_me: failed program was:" >&5
38480 sed 's/^/| /' conftest.
$ac_ext >&5
38482 eval wx_cv_func_
$wx_func=no
38484 rm -f conftest.err conftest.
$ac_objext \
38485 conftest
$ac_exeext conftest.
$ac_ext
38488 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38489 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38491 if eval test \
$wx_cv_func_$wx_func = yes
38493 cat >>confdefs.h
<<_ACEOF
38494 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38507 for wx_func
in strtok_r
38509 echo "$as_me:$LINENO: checking for $wx_func" >&5
38510 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38511 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38512 echo $ECHO_N "(cached) $ECHO_C" >&6
38515 cat >conftest.
$ac_ext <<_ACEOF
38519 cat confdefs.h
>>conftest.
$ac_ext
38520 cat >>conftest.
$ac_ext <<_ACEOF
38521 /* end confdefs.h. */
38524 $ac_includes_default
38540 rm -f conftest.
$ac_objext conftest
$ac_exeext
38541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38542 (eval $ac_link) 2>conftest.er1
38544 grep -v '^ *+' conftest.er1
>conftest.err
38546 cat conftest.err
>&5
38547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38548 (exit $ac_status); } &&
38549 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38551 (eval $ac_try) 2>&5
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); }; } &&
38555 { ac_try
='test -s conftest$ac_exeext'
38556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38557 (eval $ac_try) 2>&5
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); }; }; then
38561 eval wx_cv_func_
$wx_func=yes
38563 echo "$as_me: failed program was:" >&5
38564 sed 's/^/| /' conftest.
$ac_ext >&5
38566 eval wx_cv_func_
$wx_func=no
38568 rm -f conftest.err conftest.
$ac_objext \
38569 conftest
$ac_exeext conftest.
$ac_ext
38572 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38573 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38575 if eval test \
$wx_cv_func_$wx_func = yes
38577 cat >>confdefs.h
<<_ACEOF
38578 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38591 for ac_func
in inet_addr
38593 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38594 echo "$as_me:$LINENO: checking for $ac_func" >&5
38595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38596 if eval "test \"\${$as_ac_var+set}\" = set"; then
38597 echo $ECHO_N "(cached) $ECHO_C" >&6
38599 cat >conftest.
$ac_ext <<_ACEOF
38602 cat confdefs.h
>>conftest.
$ac_ext
38603 cat >>conftest.
$ac_ext <<_ACEOF
38604 /* end confdefs.h. */
38605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38607 #define $ac_func innocuous_$ac_func
38609 /* System header to define __stub macros and hopefully few prototypes,
38610 which can conflict with char $ac_func (); below.
38611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38612 <limits.h> exists even on freestanding compilers. */
38615 # include <limits.h>
38617 # include <assert.h>
38622 /* Override any gcc2 internal prototype to avoid an error. */
38627 /* We use char because int might match the return type of a gcc2
38628 builtin and then its argument prototype would still apply. */
38630 /* The GNU C library defines this for functions which it implements
38631 to always fail with ENOSYS. Some functions are actually named
38632 something starting with __ and the normal name is an alias. */
38633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38636 char (*f) () = $ac_func;
38645 return f != $ac_func;
38650 rm -f conftest.
$ac_objext conftest
$ac_exeext
38651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38652 (eval $ac_link) 2>conftest.er1
38654 grep -v '^ *+' conftest.er1
>conftest.err
38656 cat conftest.err
>&5
38657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38658 (exit $ac_status); } &&
38659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38661 (eval $ac_try) 2>&5
38663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38664 (exit $ac_status); }; } &&
38665 { ac_try
='test -s conftest$ac_exeext'
38666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38667 (eval $ac_try) 2>&5
38669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38670 (exit $ac_status); }; }; then
38671 eval "$as_ac_var=yes"
38673 echo "$as_me: failed program was:" >&5
38674 sed 's/^/| /' conftest.
$ac_ext >&5
38676 eval "$as_ac_var=no"
38678 rm -f conftest.err conftest.
$ac_objext \
38679 conftest
$ac_exeext conftest.
$ac_ext
38681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38683 if test `eval echo '${'$as_ac_var'}'` = yes; then
38684 cat >>confdefs.h
<<_ACEOF
38685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38687 cat >>confdefs.h
<<\_ACEOF
38688 #define HAVE_INET_ADDR 1
38693 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38694 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38695 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38696 echo $ECHO_N "(cached) $ECHO_C" >&6
38698 ac_check_lib_save_LIBS
=$LIBS
38700 cat >conftest.
$ac_ext <<_ACEOF
38703 cat confdefs.h
>>conftest.
$ac_ext
38704 cat >>conftest.
$ac_ext <<_ACEOF
38705 /* end confdefs.h. */
38707 /* Override any gcc2 internal prototype to avoid an error. */
38711 /* We use char because int might match the return type of a gcc2
38712 builtin and then its argument prototype would still apply. */
38722 rm -f conftest.
$ac_objext conftest
$ac_exeext
38723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38724 (eval $ac_link) 2>conftest.er1
38726 grep -v '^ *+' conftest.er1
>conftest.err
38728 cat conftest.err
>&5
38729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38730 (exit $ac_status); } &&
38731 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38733 (eval $ac_try) 2>&5
38735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38736 (exit $ac_status); }; } &&
38737 { ac_try
='test -s conftest$ac_exeext'
38738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38739 (eval $ac_try) 2>&5
38741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38742 (exit $ac_status); }; }; then
38743 ac_cv_lib_nsl_inet_addr
=yes
38745 echo "$as_me: failed program was:" >&5
38746 sed 's/^/| /' conftest.
$ac_ext >&5
38748 ac_cv_lib_nsl_inet_addr
=no
38750 rm -f conftest.err conftest.
$ac_objext \
38751 conftest
$ac_exeext conftest.
$ac_ext
38752 LIBS
=$ac_check_lib_save_LIBS
38754 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38755 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38756 if test $ac_cv_lib_nsl_inet_addr = yes; then
38760 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38761 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38762 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38763 echo $ECHO_N "(cached) $ECHO_C" >&6
38765 ac_check_lib_save_LIBS
=$LIBS
38766 LIBS
="-lresolv $LIBS"
38767 cat >conftest.
$ac_ext <<_ACEOF
38770 cat confdefs.h
>>conftest.
$ac_ext
38771 cat >>conftest.
$ac_ext <<_ACEOF
38772 /* end confdefs.h. */
38774 /* Override any gcc2 internal prototype to avoid an error. */
38778 /* We use char because int might match the return type of a gcc2
38779 builtin and then its argument prototype would still apply. */
38789 rm -f conftest.
$ac_objext conftest
$ac_exeext
38790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38791 (eval $ac_link) 2>conftest.er1
38793 grep -v '^ *+' conftest.er1
>conftest.err
38795 cat conftest.err
>&5
38796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38797 (exit $ac_status); } &&
38798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38800 (eval $ac_try) 2>&5
38802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38803 (exit $ac_status); }; } &&
38804 { ac_try
='test -s conftest$ac_exeext'
38805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38806 (eval $ac_try) 2>&5
38808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38809 (exit $ac_status); }; }; then
38810 ac_cv_lib_resolv_inet_addr
=yes
38812 echo "$as_me: failed program was:" >&5
38813 sed 's/^/| /' conftest.
$ac_ext >&5
38815 ac_cv_lib_resolv_inet_addr
=no
38817 rm -f conftest.err conftest.
$ac_objext \
38818 conftest
$ac_exeext conftest.
$ac_ext
38819 LIBS
=$ac_check_lib_save_LIBS
38821 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38822 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38823 if test $ac_cv_lib_resolv_inet_addr = yes; then
38827 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38828 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38829 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38830 echo $ECHO_N "(cached) $ECHO_C" >&6
38832 ac_check_lib_save_LIBS
=$LIBS
38833 LIBS
="-lsocket $LIBS"
38834 cat >conftest.
$ac_ext <<_ACEOF
38837 cat confdefs.h
>>conftest.
$ac_ext
38838 cat >>conftest.
$ac_ext <<_ACEOF
38839 /* end confdefs.h. */
38841 /* Override any gcc2 internal prototype to avoid an error. */
38845 /* We use char because int might match the return type of a gcc2
38846 builtin and then its argument prototype would still apply. */
38856 rm -f conftest.
$ac_objext conftest
$ac_exeext
38857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38858 (eval $ac_link) 2>conftest.er1
38860 grep -v '^ *+' conftest.er1
>conftest.err
38862 cat conftest.err
>&5
38863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38864 (exit $ac_status); } &&
38865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38867 (eval $ac_try) 2>&5
38869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38870 (exit $ac_status); }; } &&
38871 { ac_try
='test -s conftest$ac_exeext'
38872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38873 (eval $ac_try) 2>&5
38875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38876 (exit $ac_status); }; }; then
38877 ac_cv_lib_socket_inet_addr
=yes
38879 echo "$as_me: failed program was:" >&5
38880 sed 's/^/| /' conftest.
$ac_ext >&5
38882 ac_cv_lib_socket_inet_addr
=no
38884 rm -f conftest.err conftest.
$ac_objext \
38885 conftest
$ac_exeext conftest.
$ac_ext
38886 LIBS
=$ac_check_lib_save_LIBS
38888 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38889 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38890 if test $ac_cv_lib_socket_inet_addr = yes; then
38910 for ac_func
in inet_aton
38912 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38913 echo "$as_me:$LINENO: checking for $ac_func" >&5
38914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38915 if eval "test \"\${$as_ac_var+set}\" = set"; then
38916 echo $ECHO_N "(cached) $ECHO_C" >&6
38918 cat >conftest.
$ac_ext <<_ACEOF
38921 cat confdefs.h
>>conftest.
$ac_ext
38922 cat >>conftest.
$ac_ext <<_ACEOF
38923 /* end confdefs.h. */
38924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38926 #define $ac_func innocuous_$ac_func
38928 /* System header to define __stub macros and hopefully few prototypes,
38929 which can conflict with char $ac_func (); below.
38930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38931 <limits.h> exists even on freestanding compilers. */
38934 # include <limits.h>
38936 # include <assert.h>
38941 /* Override any gcc2 internal prototype to avoid an error. */
38946 /* We use char because int might match the return type of a gcc2
38947 builtin and then its argument prototype would still apply. */
38949 /* The GNU C library defines this for functions which it implements
38950 to always fail with ENOSYS. Some functions are actually named
38951 something starting with __ and the normal name is an alias. */
38952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38955 char (*f) () = $ac_func;
38964 return f != $ac_func;
38969 rm -f conftest.
$ac_objext conftest
$ac_exeext
38970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38971 (eval $ac_link) 2>conftest.er1
38973 grep -v '^ *+' conftest.er1
>conftest.err
38975 cat conftest.err
>&5
38976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38977 (exit $ac_status); } &&
38978 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38980 (eval $ac_try) 2>&5
38982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38983 (exit $ac_status); }; } &&
38984 { ac_try
='test -s conftest$ac_exeext'
38985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38986 (eval $ac_try) 2>&5
38988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38989 (exit $ac_status); }; }; then
38990 eval "$as_ac_var=yes"
38992 echo "$as_me: failed program was:" >&5
38993 sed 's/^/| /' conftest.
$ac_ext >&5
38995 eval "$as_ac_var=no"
38997 rm -f conftest.err conftest.
$ac_objext \
38998 conftest
$ac_exeext conftest.
$ac_ext
39000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39002 if test `eval echo '${'$as_ac_var'}'` = yes; then
39003 cat >>confdefs.h
<<_ACEOF
39004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39006 cat >>confdefs.h
<<\_ACEOF
39007 #define HAVE_INET_ATON 1
39012 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39013 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39014 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
39015 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
39016 echo $ECHO_N "(cached) $ECHO_C" >&6
39018 ac_check_lib_save_LIBS
=$LIBS
39019 LIBS
="-l$INET_LINK $LIBS"
39020 cat >conftest.
$ac_ext <<_ACEOF
39023 cat confdefs.h
>>conftest.
$ac_ext
39024 cat >>conftest.
$ac_ext <<_ACEOF
39025 /* end confdefs.h. */
39027 /* Override any gcc2 internal prototype to avoid an error. */
39031 /* We use char because int might match the return type of a gcc2
39032 builtin and then its argument prototype would still apply. */
39042 rm -f conftest.
$ac_objext conftest
$ac_exeext
39043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39044 (eval $ac_link) 2>conftest.er1
39046 grep -v '^ *+' conftest.er1
>conftest.err
39048 cat conftest.err
>&5
39049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050 (exit $ac_status); } &&
39051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39053 (eval $ac_try) 2>&5
39055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39056 (exit $ac_status); }; } &&
39057 { ac_try
='test -s conftest$ac_exeext'
39058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39059 (eval $ac_try) 2>&5
39061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39062 (exit $ac_status); }; }; then
39063 eval "$as_ac_Lib=yes"
39065 echo "$as_me: failed program was:" >&5
39066 sed 's/^/| /' conftest.
$ac_ext >&5
39068 eval "$as_ac_Lib=no"
39070 rm -f conftest.err conftest.
$ac_objext \
39071 conftest
$ac_exeext conftest.
$ac_ext
39072 LIBS
=$ac_check_lib_save_LIBS
39074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
39075 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
39076 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39077 cat >>confdefs.h
<<\_ACEOF
39078 #define HAVE_INET_ATON 1
39088 if test "x$INET_LINK" != "x"; then
39089 cat >>confdefs.h
<<\_ACEOF
39090 #define HAVE_INET_ADDR 1
39093 INET_LINK
=" -l$INET_LINK"
39097 for wx_func
in fdopen
39099 echo "$as_me:$LINENO: checking for $wx_func" >&5
39100 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39101 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39102 echo $ECHO_N "(cached) $ECHO_C" >&6
39105 cat >conftest.
$ac_ext <<_ACEOF
39109 cat confdefs.h
>>conftest.
$ac_ext
39110 cat >>conftest.
$ac_ext <<_ACEOF
39111 /* end confdefs.h. */
39114 $ac_includes_default
39130 rm -f conftest.
$ac_objext conftest
$ac_exeext
39131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39132 (eval $ac_link) 2>conftest.er1
39134 grep -v '^ *+' conftest.er1
>conftest.err
39136 cat conftest.err
>&5
39137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39138 (exit $ac_status); } &&
39139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39141 (eval $ac_try) 2>&5
39143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39144 (exit $ac_status); }; } &&
39145 { ac_try
='test -s conftest$ac_exeext'
39146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39147 (eval $ac_try) 2>&5
39149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39150 (exit $ac_status); }; }; then
39151 eval wx_cv_func_
$wx_func=yes
39153 echo "$as_me: failed program was:" >&5
39154 sed 's/^/| /' conftest.
$ac_ext >&5
39156 eval wx_cv_func_
$wx_func=no
39158 rm -f conftest.err conftest.
$ac_objext \
39159 conftest
$ac_exeext conftest.
$ac_ext
39162 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39163 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39165 if eval test \
$wx_cv_func_$wx_func = yes
39167 cat >>confdefs.h
<<_ACEOF
39168 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39185 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39186 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
39187 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39188 echo $ECHO_N "(cached) $ECHO_C" >&6
39190 ac_check_lib_save_LIBS
=$LIBS
39192 cat >conftest.
$ac_ext <<_ACEOF
39195 cat confdefs.h
>>conftest.
$ac_ext
39196 cat >>conftest.
$ac_ext <<_ACEOF
39197 /* end confdefs.h. */
39199 /* Override any gcc2 internal prototype to avoid an error. */
39203 /* We use char because int might match the return type of a gcc2
39204 builtin and then its argument prototype would still apply. */
39214 rm -f conftest.
$ac_objext conftest
$ac_exeext
39215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39216 (eval $ac_link) 2>conftest.er1
39218 grep -v '^ *+' conftest.er1
>conftest.err
39220 cat conftest.err
>&5
39221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222 (exit $ac_status); } &&
39223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39225 (eval $ac_try) 2>&5
39227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39228 (exit $ac_status); }; } &&
39229 { ac_try
='test -s conftest$ac_exeext'
39230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39231 (eval $ac_try) 2>&5
39233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39234 (exit $ac_status); }; }; then
39235 ac_cv_lib_esd_esd_close
=yes
39237 echo "$as_me: failed program was:" >&5
39238 sed 's/^/| /' conftest.
$ac_ext >&5
39240 ac_cv_lib_esd_esd_close
=no
39242 rm -f conftest.err conftest.
$ac_objext \
39243 conftest
$ac_exeext conftest.
$ac_ext
39244 LIBS
=$ac_check_lib_save_LIBS
39246 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39247 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39248 if test $ac_cv_lib_esd_esd_close = yes; then
39251 for ac_header
in esd.h
39253 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39255 echo "$as_me:$LINENO: checking for $ac_header" >&5
39256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39258 echo $ECHO_N "(cached) $ECHO_C" >&6
39260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39263 # Is the header compilable?
39264 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39265 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39266 cat >conftest.
$ac_ext <<_ACEOF
39269 cat confdefs.h
>>conftest.
$ac_ext
39270 cat >>conftest.
$ac_ext <<_ACEOF
39271 /* end confdefs.h. */
39272 $ac_includes_default
39273 #include <$ac_header>
39275 rm -f conftest.
$ac_objext
39276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39277 (eval $ac_compile) 2>conftest.er1
39279 grep -v '^ *+' conftest.er1
>conftest.err
39281 cat conftest.err
>&5
39282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39283 (exit $ac_status); } &&
39284 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39286 (eval $ac_try) 2>&5
39288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289 (exit $ac_status); }; } &&
39290 { ac_try
='test -s conftest.$ac_objext'
39291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39292 (eval $ac_try) 2>&5
39294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39295 (exit $ac_status); }; }; then
39296 ac_header_compiler
=yes
39298 echo "$as_me: failed program was:" >&5
39299 sed 's/^/| /' conftest.
$ac_ext >&5
39301 ac_header_compiler
=no
39303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39305 echo "${ECHO_T}$ac_header_compiler" >&6
39307 # Is the header present?
39308 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39309 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39310 cat >conftest.
$ac_ext <<_ACEOF
39313 cat confdefs.h
>>conftest.
$ac_ext
39314 cat >>conftest.
$ac_ext <<_ACEOF
39315 /* end confdefs.h. */
39316 #include <$ac_header>
39318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39319 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39321 grep -v '^ *+' conftest.er1
>conftest.err
39323 cat conftest.err
>&5
39324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39325 (exit $ac_status); } >/dev
/null
; then
39326 if test -s conftest.err
; then
39327 ac_cpp_err
=$ac_c_preproc_warn_flag
39328 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39335 if test -z "$ac_cpp_err"; then
39336 ac_header_preproc
=yes
39338 echo "$as_me: failed program was:" >&5
39339 sed 's/^/| /' conftest.
$ac_ext >&5
39341 ac_header_preproc
=no
39343 rm -f conftest.err conftest.
$ac_ext
39344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39345 echo "${ECHO_T}$ac_header_preproc" >&6
39347 # So? What about this header?
39348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39350 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39351 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39353 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39354 ac_header_preproc
=yes
39357 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39358 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39359 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39360 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39361 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39362 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39363 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39364 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39366 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39367 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39368 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39371 ## ----------------------------------------- ##
39372 ## Report this to wx-dev@lists.wxwidgets.org ##
39373 ## ----------------------------------------- ##
39376 sed "s/^/$as_me: WARNING: /" >&2
39379 echo "$as_me:$LINENO: checking for $ac_header" >&5
39380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39382 echo $ECHO_N "(cached) $ECHO_C" >&6
39384 eval "$as_ac_Header=\$ac_header_preproc"
39386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39391 cat >>confdefs.h
<<_ACEOF
39392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39395 EXTRALIBS_ESD
="-lesd"
39406 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39407 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39408 cat >conftest.
$ac_ext <<_ACEOF
39411 cat confdefs.h
>>conftest.
$ac_ext
39412 cat >>conftest.
$ac_ext <<_ACEOF
39413 /* end confdefs.h. */
39415 #include <linux/cdrom.h>
39418 #include <sys/cdio.h>
39424 struct cdrom_tocentry entry, old_entry;
39429 rm -f conftest.
$ac_objext
39430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39431 (eval $ac_compile) 2>conftest.er1
39433 grep -v '^ *+' conftest.er1
>conftest.err
39435 cat conftest.err
>&5
39436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39437 (exit $ac_status); } &&
39438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39440 (eval $ac_try) 2>&5
39442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39443 (exit $ac_status); }; } &&
39444 { ac_try
='test -s conftest.$ac_objext'
39445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39446 (eval $ac_try) 2>&5
39448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39449 (exit $ac_status); }; }; then
39450 echo "$as_me:$LINENO: result: yes" >&5
39451 echo "${ECHO_T}yes" >&6
39452 cat >>confdefs.h
<<\_ACEOF
39453 #define HAVE_KNOWN_CDROM_INTERFACE 1
39457 echo "$as_me: failed program was:" >&5
39458 sed 's/^/| /' conftest.
$ac_ext >&5
39460 echo "$as_me:$LINENO: result: no" >&5
39461 echo "${ECHO_T}no" >&6
39463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39466 cat >confcache
<<\_ACEOF
39467 # This file is a shell script that caches the results of configure
39468 # tests run on this system so they can be shared between configure
39469 # scripts and configure runs, see configure's option --config-cache.
39470 # It is not useful on other systems. If it contains results you don't
39471 # want to keep, you may remove or edit it.
39473 # config.status only pays attention to the cache file if you give it
39474 # the --recheck option to rerun configure.
39476 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39477 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39478 # following values.
39482 # The following way of writing the cache mishandles newlines in values,
39483 # but we know of no workaround that is simple, portable, and efficient.
39484 # So, don't put newlines in cache variables' values.
39485 # Ultrix sh set writes to stderr and can't be redirected directly,
39486 # and sets the high bit in the cache file unless we assign to the vars.
39489 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39491 # `set' does not quote correctly, so add quotes (double-quote
39492 # substitution turns \\\\ into \\, and sed turns \\ into \).
39495 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39498 # `set' quotes correctly as required by POSIX, so do not add quotes.
39500 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39507 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39509 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39511 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
39512 if test -w $cache_file; then
39513 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39514 cat confcache
>$cache_file
39516 echo "not updating unwritable cache $cache_file"
39522 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39528 if test "$wxUSE_THREADS" = "yes" ; then
39529 if test "$USE_BEOS" = 1; then
39530 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39531 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39536 if test "$wxUSE_THREADS" = "yes" ; then
39539 THREAD_OPTS
="-pthread"
39541 *-*-solaris2* | *-*-sunos4* )
39542 if test "x$GCC" = "xyes"; then
39543 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39545 THREAD_OPTS
="-mt $THREAD_OPTS"
39549 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39551 *-*-darwin* | *-*-cygwin* )
39555 THREAD_OPTS
="pthreads"
39558 if test "x$GCC" = "xyes"; then
39559 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39567 if test "x$GCC" = "xyes"; then
39573 if test "x$GCC" != "xyes"; then
39574 THREAD_OPTS
="-Ethread"
39579 THREAD_OPTS
="$THREAD_OPTS pthread none"
39582 for flag
in $THREAD_OPTS; do
39585 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39586 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39590 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39591 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39592 THREADS_CFLAGS
="$flag"
39596 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39597 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39598 THREADS_LINK
="-l$flag"
39603 save_CFLAGS
="$CFLAGS"
39604 LIBS
="$THREADS_LINK $LIBS"
39605 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
39607 cat >conftest.
$ac_ext <<_ACEOF
39610 cat confdefs.h
>>conftest.
$ac_ext
39611 cat >>conftest.
$ac_ext <<_ACEOF
39612 /* end confdefs.h. */
39613 #include <pthread.h>
39617 pthread_create(0,0,0,0);
39622 rm -f conftest.
$ac_objext conftest
$ac_exeext
39623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39624 (eval $ac_link) 2>conftest.er1
39626 grep -v '^ *+' conftest.er1
>conftest.err
39628 cat conftest.err
>&5
39629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39630 (exit $ac_status); } &&
39631 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39633 (eval $ac_try) 2>&5
39635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39636 (exit $ac_status); }; } &&
39637 { ac_try
='test -s conftest$ac_exeext'
39638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39639 (eval $ac_try) 2>&5
39641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39642 (exit $ac_status); }; }; then
39645 echo "$as_me: failed program was:" >&5
39646 sed 's/^/| /' conftest.
$ac_ext >&5
39649 rm -f conftest.err conftest.
$ac_objext \
39650 conftest
$ac_exeext conftest.
$ac_ext
39653 CFLAGS
="$save_CFLAGS"
39655 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39656 echo "${ECHO_T}$THREADS_OK" >&6
39657 if test "x$THREADS_OK" = "xyes"; then
39665 if test "x$THREADS_OK" != "xyes"; then
39667 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39668 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39670 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
39671 LIBS
="$THREADS_LINK $LIBS"
39673 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39674 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39678 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
39679 flag
="-D_THREAD_SAFE"
39682 flag
="-D_THREAD_SAFE"
39685 flag
="-D_REENTRANT"
39686 if test "x$GCC" != "xyes"; then
39687 flag
="$flag -D_RWSTD_MULTI_THREAD"
39690 *solaris
* | alpha
*-osf*)
39691 flag
="-D_REENTRANT"
39694 echo "$as_me:$LINENO: result: ${flag}" >&5
39695 echo "${ECHO_T}${flag}" >&6
39696 if test "x$flag" != xno
; then
39697 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
39700 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39704 if test "$wxUSE_THREADS" = "yes" ; then
39706 for ac_func
in thr_setconcurrency
39708 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39709 echo "$as_me:$LINENO: checking for $ac_func" >&5
39710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39711 if eval "test \"\${$as_ac_var+set}\" = set"; then
39712 echo $ECHO_N "(cached) $ECHO_C" >&6
39714 cat >conftest.
$ac_ext <<_ACEOF
39717 cat confdefs.h
>>conftest.
$ac_ext
39718 cat >>conftest.
$ac_ext <<_ACEOF
39719 /* end confdefs.h. */
39720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39722 #define $ac_func innocuous_$ac_func
39724 /* System header to define __stub macros and hopefully few prototypes,
39725 which can conflict with char $ac_func (); below.
39726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39727 <limits.h> exists even on freestanding compilers. */
39730 # include <limits.h>
39732 # include <assert.h>
39737 /* Override any gcc2 internal prototype to avoid an error. */
39742 /* We use char because int might match the return type of a gcc2
39743 builtin and then its argument prototype would still apply. */
39745 /* The GNU C library defines this for functions which it implements
39746 to always fail with ENOSYS. Some functions are actually named
39747 something starting with __ and the normal name is an alias. */
39748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39751 char (*f) () = $ac_func;
39760 return f != $ac_func;
39765 rm -f conftest.
$ac_objext conftest
$ac_exeext
39766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39767 (eval $ac_link) 2>conftest.er1
39769 grep -v '^ *+' conftest.er1
>conftest.err
39771 cat conftest.err
>&5
39772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39773 (exit $ac_status); } &&
39774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39776 (eval $ac_try) 2>&5
39778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39779 (exit $ac_status); }; } &&
39780 { ac_try
='test -s conftest$ac_exeext'
39781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39782 (eval $ac_try) 2>&5
39784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39785 (exit $ac_status); }; }; then
39786 eval "$as_ac_var=yes"
39788 echo "$as_me: failed program was:" >&5
39789 sed 's/^/| /' conftest.
$ac_ext >&5
39791 eval "$as_ac_var=no"
39793 rm -f conftest.err conftest.
$ac_objext \
39794 conftest
$ac_exeext conftest.
$ac_ext
39796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39798 if test `eval echo '${'$as_ac_var'}'` = yes; then
39799 cat >>confdefs.h
<<_ACEOF
39800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39807 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39808 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39809 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39810 echo $ECHO_N "(cached) $ECHO_C" >&6
39813 cat >conftest.
$ac_ext <<_ACEOF
39816 cat confdefs.h
>>conftest.
$ac_ext
39817 cat >>conftest.
$ac_ext <<_ACEOF
39818 /* end confdefs.h. */
39819 #include <pthread.h>
39820 void ThreadCleanupFunc(void *p);
39827 pthread_cleanup_push(ThreadCleanupFunc, p);
39828 pthread_cleanup_pop(0);
39834 rm -f conftest.
$ac_objext
39835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39836 (eval $ac_compile) 2>conftest.er1
39838 grep -v '^ *+' conftest.er1
>conftest.err
39840 cat conftest.err
>&5
39841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39842 (exit $ac_status); } &&
39843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39845 (eval $ac_try) 2>&5
39847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39848 (exit $ac_status); }; } &&
39849 { ac_try
='test -s conftest.$ac_objext'
39850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39851 (eval $ac_try) 2>&5
39853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39854 (exit $ac_status); }; }; then
39856 wx_cv_func_pthread_cleanup
=yes
39859 echo "$as_me: failed program was:" >&5
39860 sed 's/^/| /' conftest.
$ac_ext >&5
39863 wx_cv_func_pthread_cleanup
=no
39867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39870 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39871 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39872 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39873 cat >>confdefs.h
<<\_ACEOF
39874 #define wxHAVE_PTHREAD_CLEANUP 1
39880 for ac_header
in sched.h
39882 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39884 echo "$as_me:$LINENO: checking for $ac_header" >&5
39885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39887 echo $ECHO_N "(cached) $ECHO_C" >&6
39889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39892 # Is the header compilable?
39893 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39895 cat >conftest.
$ac_ext <<_ACEOF
39898 cat confdefs.h
>>conftest.
$ac_ext
39899 cat >>conftest.
$ac_ext <<_ACEOF
39900 /* end confdefs.h. */
39901 $ac_includes_default
39902 #include <$ac_header>
39904 rm -f conftest.
$ac_objext
39905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39906 (eval $ac_compile) 2>conftest.er1
39908 grep -v '^ *+' conftest.er1
>conftest.err
39910 cat conftest.err
>&5
39911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39912 (exit $ac_status); } &&
39913 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39915 (eval $ac_try) 2>&5
39917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39918 (exit $ac_status); }; } &&
39919 { ac_try
='test -s conftest.$ac_objext'
39920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39921 (eval $ac_try) 2>&5
39923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39924 (exit $ac_status); }; }; then
39925 ac_header_compiler
=yes
39927 echo "$as_me: failed program was:" >&5
39928 sed 's/^/| /' conftest.
$ac_ext >&5
39930 ac_header_compiler
=no
39932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39933 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39934 echo "${ECHO_T}$ac_header_compiler" >&6
39936 # Is the header present?
39937 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39938 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39939 cat >conftest.
$ac_ext <<_ACEOF
39942 cat confdefs.h
>>conftest.
$ac_ext
39943 cat >>conftest.
$ac_ext <<_ACEOF
39944 /* end confdefs.h. */
39945 #include <$ac_header>
39947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39948 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39950 grep -v '^ *+' conftest.er1
>conftest.err
39952 cat conftest.err
>&5
39953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39954 (exit $ac_status); } >/dev
/null
; then
39955 if test -s conftest.err
; then
39956 ac_cpp_err
=$ac_c_preproc_warn_flag
39957 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39964 if test -z "$ac_cpp_err"; then
39965 ac_header_preproc
=yes
39967 echo "$as_me: failed program was:" >&5
39968 sed 's/^/| /' conftest.
$ac_ext >&5
39970 ac_header_preproc
=no
39972 rm -f conftest.err conftest.
$ac_ext
39973 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39974 echo "${ECHO_T}$ac_header_preproc" >&6
39976 # So? What about this header?
39977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39979 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39980 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39981 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39982 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39983 ac_header_preproc
=yes
39986 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39987 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39988 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39989 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39990 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39991 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39992 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39993 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39995 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39996 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39997 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40000 ## ----------------------------------------- ##
40001 ## Report this to wx-dev@lists.wxwidgets.org ##
40002 ## ----------------------------------------- ##
40005 sed "s/^/$as_me: WARNING: /" >&2
40008 echo "$as_me:$LINENO: checking for $ac_header" >&5
40009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40011 echo $ECHO_N "(cached) $ECHO_C" >&6
40013 eval "$as_ac_Header=\$ac_header_preproc"
40015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40020 cat >>confdefs.h
<<_ACEOF
40021 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40028 if test "$ac_cv_header_sched_h" = "yes"; then
40029 echo "$as_me:$LINENO: checking for sched_yield" >&5
40030 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
40031 if test "${ac_cv_func_sched_yield+set}" = set; then
40032 echo $ECHO_N "(cached) $ECHO_C" >&6
40034 cat >conftest.
$ac_ext <<_ACEOF
40037 cat confdefs.h
>>conftest.
$ac_ext
40038 cat >>conftest.
$ac_ext <<_ACEOF
40039 /* end confdefs.h. */
40040 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40042 #define sched_yield innocuous_sched_yield
40044 /* System header to define __stub macros and hopefully few prototypes,
40045 which can conflict with char sched_yield (); below.
40046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40047 <limits.h> exists even on freestanding compilers. */
40050 # include <limits.h>
40052 # include <assert.h>
40057 /* Override any gcc2 internal prototype to avoid an error. */
40062 /* We use char because int might match the return type of a gcc2
40063 builtin and then its argument prototype would still apply. */
40064 char sched_yield ();
40065 /* The GNU C library defines this for functions which it implements
40066 to always fail with ENOSYS. Some functions are actually named
40067 something starting with __ and the normal name is an alias. */
40068 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
40071 char (*f) () = sched_yield;
40080 return f != sched_yield;
40085 rm -f conftest.
$ac_objext conftest
$ac_exeext
40086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40087 (eval $ac_link) 2>conftest.er1
40089 grep -v '^ *+' conftest.er1
>conftest.err
40091 cat conftest.err
>&5
40092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40093 (exit $ac_status); } &&
40094 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40096 (eval $ac_try) 2>&5
40098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40099 (exit $ac_status); }; } &&
40100 { ac_try
='test -s conftest$ac_exeext'
40101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40102 (eval $ac_try) 2>&5
40104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40105 (exit $ac_status); }; }; then
40106 ac_cv_func_sched_yield
=yes
40108 echo "$as_me: failed program was:" >&5
40109 sed 's/^/| /' conftest.
$ac_ext >&5
40111 ac_cv_func_sched_yield
=no
40113 rm -f conftest.err conftest.
$ac_objext \
40114 conftest
$ac_exeext conftest.
$ac_ext
40116 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40117 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40118 if test $ac_cv_func_sched_yield = yes; then
40119 cat >>confdefs.h
<<\_ACEOF
40120 #define HAVE_SCHED_YIELD 1
40125 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40126 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40127 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40128 echo $ECHO_N "(cached) $ECHO_C" >&6
40130 ac_check_lib_save_LIBS
=$LIBS
40131 LIBS
="-lposix4 $LIBS"
40132 cat >conftest.
$ac_ext <<_ACEOF
40135 cat confdefs.h
>>conftest.
$ac_ext
40136 cat >>conftest.
$ac_ext <<_ACEOF
40137 /* end confdefs.h. */
40139 /* Override any gcc2 internal prototype to avoid an error. */
40143 /* We use char because int might match the return type of a gcc2
40144 builtin and then its argument prototype would still apply. */
40145 char sched_yield ();
40154 rm -f conftest.
$ac_objext conftest
$ac_exeext
40155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40156 (eval $ac_link) 2>conftest.er1
40158 grep -v '^ *+' conftest.er1
>conftest.err
40160 cat conftest.err
>&5
40161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40162 (exit $ac_status); } &&
40163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40165 (eval $ac_try) 2>&5
40167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40168 (exit $ac_status); }; } &&
40169 { ac_try
='test -s conftest$ac_exeext'
40170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40171 (eval $ac_try) 2>&5
40173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40174 (exit $ac_status); }; }; then
40175 ac_cv_lib_posix4_sched_yield
=yes
40177 echo "$as_me: failed program was:" >&5
40178 sed 's/^/| /' conftest.
$ac_ext >&5
40180 ac_cv_lib_posix4_sched_yield
=no
40182 rm -f conftest.err conftest.
$ac_objext \
40183 conftest
$ac_exeext conftest.
$ac_ext
40184 LIBS
=$ac_check_lib_save_LIBS
40186 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40187 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40188 if test $ac_cv_lib_posix4_sched_yield = yes; then
40189 cat >>confdefs.h
<<\_ACEOF
40190 #define HAVE_SCHED_YIELD 1
40192 POSIX4_LINK
=" -lposix4"
40194 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40195 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40206 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40207 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40208 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40209 echo $ECHO_N "(cached) $ECHO_C" >&6
40211 cat >conftest.
$ac_ext <<_ACEOF
40214 cat confdefs.h
>>conftest.
$ac_ext
40215 cat >>conftest.
$ac_ext <<_ACEOF
40216 /* end confdefs.h. */
40217 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40219 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40221 /* System header to define __stub macros and hopefully few prototypes,
40222 which can conflict with char pthread_attr_getschedpolicy (); below.
40223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40224 <limits.h> exists even on freestanding compilers. */
40227 # include <limits.h>
40229 # include <assert.h>
40232 #undef pthread_attr_getschedpolicy
40234 /* Override any gcc2 internal prototype to avoid an error. */
40239 /* We use char because int might match the return type of a gcc2
40240 builtin and then its argument prototype would still apply. */
40241 char pthread_attr_getschedpolicy ();
40242 /* The GNU C library defines this for functions which it implements
40243 to always fail with ENOSYS. Some functions are actually named
40244 something starting with __ and the normal name is an alias. */
40245 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40248 char (*f) () = pthread_attr_getschedpolicy;
40257 return f != pthread_attr_getschedpolicy;
40262 rm -f conftest.
$ac_objext conftest
$ac_exeext
40263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40264 (eval $ac_link) 2>conftest.er1
40266 grep -v '^ *+' conftest.er1
>conftest.err
40268 cat conftest.err
>&5
40269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40270 (exit $ac_status); } &&
40271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40273 (eval $ac_try) 2>&5
40275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40276 (exit $ac_status); }; } &&
40277 { ac_try
='test -s conftest$ac_exeext'
40278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40279 (eval $ac_try) 2>&5
40281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40282 (exit $ac_status); }; }; then
40283 ac_cv_func_pthread_attr_getschedpolicy
=yes
40285 echo "$as_me: failed program was:" >&5
40286 sed 's/^/| /' conftest.
$ac_ext >&5
40288 ac_cv_func_pthread_attr_getschedpolicy
=no
40290 rm -f conftest.err conftest.
$ac_objext \
40291 conftest
$ac_exeext conftest.
$ac_ext
40293 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40294 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40295 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40296 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40297 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40298 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40299 echo $ECHO_N "(cached) $ECHO_C" >&6
40301 cat >conftest.
$ac_ext <<_ACEOF
40304 cat confdefs.h
>>conftest.
$ac_ext
40305 cat >>conftest.
$ac_ext <<_ACEOF
40306 /* end confdefs.h. */
40307 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40309 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40311 /* System header to define __stub macros and hopefully few prototypes,
40312 which can conflict with char pthread_attr_setschedparam (); below.
40313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40314 <limits.h> exists even on freestanding compilers. */
40317 # include <limits.h>
40319 # include <assert.h>
40322 #undef pthread_attr_setschedparam
40324 /* Override any gcc2 internal prototype to avoid an error. */
40329 /* We use char because int might match the return type of a gcc2
40330 builtin and then its argument prototype would still apply. */
40331 char pthread_attr_setschedparam ();
40332 /* The GNU C library defines this for functions which it implements
40333 to always fail with ENOSYS. Some functions are actually named
40334 something starting with __ and the normal name is an alias. */
40335 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40338 char (*f) () = pthread_attr_setschedparam;
40347 return f != pthread_attr_setschedparam;
40352 rm -f conftest.
$ac_objext conftest
$ac_exeext
40353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40354 (eval $ac_link) 2>conftest.er1
40356 grep -v '^ *+' conftest.er1
>conftest.err
40358 cat conftest.err
>&5
40359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40360 (exit $ac_status); } &&
40361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40363 (eval $ac_try) 2>&5
40365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40366 (exit $ac_status); }; } &&
40367 { ac_try
='test -s conftest$ac_exeext'
40368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40369 (eval $ac_try) 2>&5
40371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40372 (exit $ac_status); }; }; then
40373 ac_cv_func_pthread_attr_setschedparam
=yes
40375 echo "$as_me: failed program was:" >&5
40376 sed 's/^/| /' conftest.
$ac_ext >&5
40378 ac_cv_func_pthread_attr_setschedparam
=no
40380 rm -f conftest.err conftest.
$ac_objext \
40381 conftest
$ac_exeext conftest.
$ac_ext
40383 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40384 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40385 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40386 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40387 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40388 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40389 echo $ECHO_N "(cached) $ECHO_C" >&6
40391 cat >conftest.
$ac_ext <<_ACEOF
40394 cat confdefs.h
>>conftest.
$ac_ext
40395 cat >>conftest.
$ac_ext <<_ACEOF
40396 /* end confdefs.h. */
40397 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40399 #define sched_get_priority_max innocuous_sched_get_priority_max
40401 /* System header to define __stub macros and hopefully few prototypes,
40402 which can conflict with char sched_get_priority_max (); below.
40403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40404 <limits.h> exists even on freestanding compilers. */
40407 # include <limits.h>
40409 # include <assert.h>
40412 #undef sched_get_priority_max
40414 /* Override any gcc2 internal prototype to avoid an error. */
40419 /* We use char because int might match the return type of a gcc2
40420 builtin and then its argument prototype would still apply. */
40421 char sched_get_priority_max ();
40422 /* The GNU C library defines this for functions which it implements
40423 to always fail with ENOSYS. Some functions are actually named
40424 something starting with __ and the normal name is an alias. */
40425 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40428 char (*f) () = sched_get_priority_max;
40437 return f != sched_get_priority_max;
40442 rm -f conftest.
$ac_objext conftest
$ac_exeext
40443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40444 (eval $ac_link) 2>conftest.er1
40446 grep -v '^ *+' conftest.er1
>conftest.err
40448 cat conftest.err
>&5
40449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40450 (exit $ac_status); } &&
40451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40453 (eval $ac_try) 2>&5
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); }; } &&
40457 { ac_try
='test -s conftest$ac_exeext'
40458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40459 (eval $ac_try) 2>&5
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); }; }; then
40463 ac_cv_func_sched_get_priority_max
=yes
40465 echo "$as_me: failed program was:" >&5
40466 sed 's/^/| /' conftest.
$ac_ext >&5
40468 ac_cv_func_sched_get_priority_max
=no
40470 rm -f conftest.err conftest.
$ac_objext \
40471 conftest
$ac_exeext conftest.
$ac_ext
40473 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40474 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40475 if test $ac_cv_func_sched_get_priority_max = yes; then
40478 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40479 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40480 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40481 echo $ECHO_N "(cached) $ECHO_C" >&6
40483 ac_check_lib_save_LIBS
=$LIBS
40484 LIBS
="-lposix4 $LIBS"
40485 cat >conftest.
$ac_ext <<_ACEOF
40488 cat confdefs.h
>>conftest.
$ac_ext
40489 cat >>conftest.
$ac_ext <<_ACEOF
40490 /* end confdefs.h. */
40492 /* Override any gcc2 internal prototype to avoid an error. */
40496 /* We use char because int might match the return type of a gcc2
40497 builtin and then its argument prototype would still apply. */
40498 char sched_get_priority_max ();
40502 sched_get_priority_max ();
40507 rm -f conftest.
$ac_objext conftest
$ac_exeext
40508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40509 (eval $ac_link) 2>conftest.er1
40511 grep -v '^ *+' conftest.er1
>conftest.err
40513 cat conftest.err
>&5
40514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40515 (exit $ac_status); } &&
40516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40518 (eval $ac_try) 2>&5
40520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40521 (exit $ac_status); }; } &&
40522 { ac_try
='test -s conftest$ac_exeext'
40523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40524 (eval $ac_try) 2>&5
40526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40527 (exit $ac_status); }; }; then
40528 ac_cv_lib_posix4_sched_get_priority_max
=yes
40530 echo "$as_me: failed program was:" >&5
40531 sed 's/^/| /' conftest.
$ac_ext >&5
40533 ac_cv_lib_posix4_sched_get_priority_max
=no
40535 rm -f conftest.err conftest.
$ac_objext \
40536 conftest
$ac_exeext conftest.
$ac_ext
40537 LIBS
=$ac_check_lib_save_LIBS
40539 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40540 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40541 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40544 POSIX4_LINK
=" -lposix4"
40558 if test "$HAVE_PRIOR_FUNCS" = 1; then
40559 cat >>confdefs.h
<<\_ACEOF
40560 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40564 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40565 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40568 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40569 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40570 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40571 echo $ECHO_N "(cached) $ECHO_C" >&6
40573 cat >conftest.
$ac_ext <<_ACEOF
40576 cat confdefs.h
>>conftest.
$ac_ext
40577 cat >>conftest.
$ac_ext <<_ACEOF
40578 /* end confdefs.h. */
40579 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40581 #define pthread_cancel innocuous_pthread_cancel
40583 /* System header to define __stub macros and hopefully few prototypes,
40584 which can conflict with char pthread_cancel (); below.
40585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40586 <limits.h> exists even on freestanding compilers. */
40589 # include <limits.h>
40591 # include <assert.h>
40594 #undef pthread_cancel
40596 /* Override any gcc2 internal prototype to avoid an error. */
40601 /* We use char because int might match the return type of a gcc2
40602 builtin and then its argument prototype would still apply. */
40603 char pthread_cancel ();
40604 /* The GNU C library defines this for functions which it implements
40605 to always fail with ENOSYS. Some functions are actually named
40606 something starting with __ and the normal name is an alias. */
40607 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40610 char (*f) () = pthread_cancel;
40619 return f != pthread_cancel;
40624 rm -f conftest.
$ac_objext conftest
$ac_exeext
40625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40626 (eval $ac_link) 2>conftest.er1
40628 grep -v '^ *+' conftest.er1
>conftest.err
40630 cat conftest.err
>&5
40631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632 (exit $ac_status); } &&
40633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40635 (eval $ac_try) 2>&5
40637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40638 (exit $ac_status); }; } &&
40639 { ac_try
='test -s conftest$ac_exeext'
40640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40641 (eval $ac_try) 2>&5
40643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40644 (exit $ac_status); }; }; then
40645 ac_cv_func_pthread_cancel
=yes
40647 echo "$as_me: failed program was:" >&5
40648 sed 's/^/| /' conftest.
$ac_ext >&5
40650 ac_cv_func_pthread_cancel
=no
40652 rm -f conftest.err conftest.
$ac_objext \
40653 conftest
$ac_exeext conftest.
$ac_ext
40655 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40656 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40657 if test $ac_cv_func_pthread_cancel = yes; then
40658 cat >>confdefs.h
<<\_ACEOF
40659 #define HAVE_PTHREAD_CANCEL 1
40663 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40664 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40668 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40669 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40670 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40671 echo $ECHO_N "(cached) $ECHO_C" >&6
40673 cat >conftest.
$ac_ext <<_ACEOF
40676 cat confdefs.h
>>conftest.
$ac_ext
40677 cat >>conftest.
$ac_ext <<_ACEOF
40678 /* end confdefs.h. */
40679 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40681 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40683 /* System header to define __stub macros and hopefully few prototypes,
40684 which can conflict with char pthread_attr_setstacksize (); below.
40685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40686 <limits.h> exists even on freestanding compilers. */
40689 # include <limits.h>
40691 # include <assert.h>
40694 #undef pthread_attr_setstacksize
40696 /* Override any gcc2 internal prototype to avoid an error. */
40701 /* We use char because int might match the return type of a gcc2
40702 builtin and then its argument prototype would still apply. */
40703 char pthread_attr_setstacksize ();
40704 /* The GNU C library defines this for functions which it implements
40705 to always fail with ENOSYS. Some functions are actually named
40706 something starting with __ and the normal name is an alias. */
40707 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40710 char (*f) () = pthread_attr_setstacksize;
40719 return f != pthread_attr_setstacksize;
40724 rm -f conftest.
$ac_objext conftest
$ac_exeext
40725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40726 (eval $ac_link) 2>conftest.er1
40728 grep -v '^ *+' conftest.er1
>conftest.err
40730 cat conftest.err
>&5
40731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40732 (exit $ac_status); } &&
40733 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40735 (eval $ac_try) 2>&5
40737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40738 (exit $ac_status); }; } &&
40739 { ac_try
='test -s conftest$ac_exeext'
40740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40741 (eval $ac_try) 2>&5
40743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40744 (exit $ac_status); }; }; then
40745 ac_cv_func_pthread_attr_setstacksize
=yes
40747 echo "$as_me: failed program was:" >&5
40748 sed 's/^/| /' conftest.
$ac_ext >&5
40750 ac_cv_func_pthread_attr_setstacksize
=no
40752 rm -f conftest.err conftest.
$ac_objext \
40753 conftest
$ac_exeext conftest.
$ac_ext
40755 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40756 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40757 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40758 cat >>confdefs.h
<<\_ACEOF
40759 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40766 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40767 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40768 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40769 echo $ECHO_N "(cached) $ECHO_C" >&6
40772 cat >conftest.
$ac_ext <<_ACEOF
40775 cat confdefs.h
>>conftest.
$ac_ext
40776 cat >>conftest.
$ac_ext <<_ACEOF
40777 /* end confdefs.h. */
40778 #include <pthread.h>
40783 pthread_mutexattr_t attr;
40784 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40790 rm -f conftest.
$ac_objext
40791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40792 (eval $ac_compile) 2>conftest.er1
40794 grep -v '^ *+' conftest.er1
>conftest.err
40796 cat conftest.err
>&5
40797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40798 (exit $ac_status); } &&
40799 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40801 (eval $ac_try) 2>&5
40803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40804 (exit $ac_status); }; } &&
40805 { ac_try
='test -s conftest.$ac_objext'
40806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40807 (eval $ac_try) 2>&5
40809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40810 (exit $ac_status); }; }; then
40811 wx_cv_type_pthread_mutexattr_t
=yes
40813 echo "$as_me: failed program was:" >&5
40814 sed 's/^/| /' conftest.
$ac_ext >&5
40816 wx_cv_type_pthread_mutexattr_t
=no
40819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40822 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40823 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40825 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40826 cat >>confdefs.h
<<\_ACEOF
40827 #define HAVE_PTHREAD_MUTEXATTR_T 1
40831 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40832 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40833 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40834 echo $ECHO_N "(cached) $ECHO_C" >&6
40837 cat >conftest.
$ac_ext <<_ACEOF
40840 cat confdefs.h
>>conftest.
$ac_ext
40841 cat >>conftest.
$ac_ext <<_ACEOF
40842 /* end confdefs.h. */
40843 #include <pthread.h>
40848 pthread_mutexattr_t attr;
40849 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40855 rm -f conftest.
$ac_objext
40856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40857 (eval $ac_compile) 2>conftest.er1
40859 grep -v '^ *+' conftest.er1
>conftest.err
40861 cat conftest.err
>&5
40862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40863 (exit $ac_status); } &&
40864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40866 (eval $ac_try) 2>&5
40868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40869 (exit $ac_status); }; } &&
40870 { ac_try
='test -s conftest.$ac_objext'
40871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40872 (eval $ac_try) 2>&5
40874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40875 (exit $ac_status); }; }; then
40876 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40878 echo "$as_me: failed program was:" >&5
40879 sed 's/^/| /' conftest.
$ac_ext >&5
40881 wx_cv_func_pthread_mutexattr_settype_decl
=no
40884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40887 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40888 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40889 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40890 cat >>confdefs.h
<<\_ACEOF
40891 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40896 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40897 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40898 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40899 echo $ECHO_N "(cached) $ECHO_C" >&6
40902 cat >conftest.
$ac_ext <<_ACEOF
40905 cat confdefs.h
>>conftest.
$ac_ext
40906 cat >>conftest.
$ac_ext <<_ACEOF
40907 /* end confdefs.h. */
40908 #include <pthread.h>
40913 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40919 rm -f conftest.
$ac_objext
40920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40921 (eval $ac_compile) 2>conftest.er1
40923 grep -v '^ *+' conftest.er1
>conftest.err
40925 cat conftest.err
>&5
40926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40927 (exit $ac_status); } &&
40928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40930 (eval $ac_try) 2>&5
40932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40933 (exit $ac_status); }; } &&
40934 { ac_try
='test -s conftest.$ac_objext'
40935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40936 (eval $ac_try) 2>&5
40938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40939 (exit $ac_status); }; }; then
40941 wx_cv_type_pthread_rec_mutex_init
=yes
40944 echo "$as_me: failed program was:" >&5
40945 sed 's/^/| /' conftest.
$ac_ext >&5
40948 wx_cv_type_pthread_rec_mutex_init
=no
40952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40955 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40956 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40957 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40958 cat >>confdefs.h
<<\_ACEOF
40959 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40963 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40964 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40970 if test "$wxUSE_THREADS" = "yes" ; then
40973 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40974 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40975 if test "${wx_cv_cflags_mthread+set}" = set; then
40976 echo $ECHO_N "(cached) $ECHO_C" >&6
40979 CFLAGS_OLD
="$CFLAGS"
40980 CFLAGS
="-mthreads $CFLAGS"
40981 cat >conftest.
$ac_ext <<_ACEOF
40984 cat confdefs.h
>>conftest.
$ac_ext
40985 cat >>conftest.
$ac_ext <<_ACEOF
40986 /* end confdefs.h. */
40996 rm -f conftest.
$ac_objext
40997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40998 (eval $ac_compile) 2>conftest.er1
41000 grep -v '^ *+' conftest.er1
>conftest.err
41002 cat conftest.err
>&5
41003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41004 (exit $ac_status); } &&
41005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41007 (eval $ac_try) 2>&5
41009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41010 (exit $ac_status); }; } &&
41011 { ac_try
='test -s conftest.$ac_objext'
41012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41013 (eval $ac_try) 2>&5
41015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41016 (exit $ac_status); }; }; then
41017 wx_cv_cflags_mthread
=yes
41019 echo "$as_me: failed program was:" >&5
41020 sed 's/^/| /' conftest.
$ac_ext >&5
41022 wx_cv_cflags_mthread
=no
41025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41029 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41030 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
41032 if test "$wx_cv_cflags_mthread" = "yes"; then
41033 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
41034 LDFLAGS
="$LDFLAGS -mthreads"
41036 CFLAGS
="$CFLAGS_OLD"
41040 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41041 LDFLAGS
="$LDFLAGS -Zmt"
41047 echo "$as_me:$LINENO: checking for localtime_r" >&5
41048 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
41049 if test "${ac_cv_func_localtime_r+set}" = set; then
41050 echo $ECHO_N "(cached) $ECHO_C" >&6
41052 cat >conftest.
$ac_ext <<_ACEOF
41055 cat confdefs.h
>>conftest.
$ac_ext
41056 cat >>conftest.
$ac_ext <<_ACEOF
41057 /* end confdefs.h. */
41058 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41060 #define localtime_r innocuous_localtime_r
41062 /* System header to define __stub macros and hopefully few prototypes,
41063 which can conflict with char localtime_r (); below.
41064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41065 <limits.h> exists even on freestanding compilers. */
41068 # include <limits.h>
41070 # include <assert.h>
41075 /* Override any gcc2 internal prototype to avoid an error. */
41080 /* We use char because int might match the return type of a gcc2
41081 builtin and then its argument prototype would still apply. */
41082 char localtime_r ();
41083 /* The GNU C library defines this for functions which it implements
41084 to always fail with ENOSYS. Some functions are actually named
41085 something starting with __ and the normal name is an alias. */
41086 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
41089 char (*f) () = localtime_r;
41098 return f != localtime_r;
41103 rm -f conftest.
$ac_objext conftest
$ac_exeext
41104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41105 (eval $ac_link) 2>conftest.er1
41107 grep -v '^ *+' conftest.er1
>conftest.err
41109 cat conftest.err
>&5
41110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41111 (exit $ac_status); } &&
41112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41114 (eval $ac_try) 2>&5
41116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41117 (exit $ac_status); }; } &&
41118 { ac_try
='test -s conftest$ac_exeext'
41119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41120 (eval $ac_try) 2>&5
41122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41123 (exit $ac_status); }; }; then
41124 ac_cv_func_localtime_r
=yes
41126 echo "$as_me: failed program was:" >&5
41127 sed 's/^/| /' conftest.
$ac_ext >&5
41129 ac_cv_func_localtime_r
=no
41131 rm -f conftest.err conftest.
$ac_objext \
41132 conftest
$ac_exeext conftest.
$ac_ext
41134 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41135 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41136 if test $ac_cv_func_localtime_r = yes; then
41137 cat >>confdefs.h
<<\_ACEOF
41138 #define HAVE_LOCALTIME_R 1
41143 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41144 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41145 if test "${ac_cv_func_gmtime_r+set}" = set; then
41146 echo $ECHO_N "(cached) $ECHO_C" >&6
41148 cat >conftest.
$ac_ext <<_ACEOF
41151 cat confdefs.h
>>conftest.
$ac_ext
41152 cat >>conftest.
$ac_ext <<_ACEOF
41153 /* end confdefs.h. */
41154 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41156 #define gmtime_r innocuous_gmtime_r
41158 /* System header to define __stub macros and hopefully few prototypes,
41159 which can conflict with char gmtime_r (); below.
41160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41161 <limits.h> exists even on freestanding compilers. */
41164 # include <limits.h>
41166 # include <assert.h>
41171 /* Override any gcc2 internal prototype to avoid an error. */
41176 /* We use char because int might match the return type of a gcc2
41177 builtin and then its argument prototype would still apply. */
41179 /* The GNU C library defines this for functions which it implements
41180 to always fail with ENOSYS. Some functions are actually named
41181 something starting with __ and the normal name is an alias. */
41182 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41185 char (*f) () = gmtime_r;
41194 return f != gmtime_r;
41199 rm -f conftest.
$ac_objext conftest
$ac_exeext
41200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41201 (eval $ac_link) 2>conftest.er1
41203 grep -v '^ *+' conftest.er1
>conftest.err
41205 cat conftest.err
>&5
41206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41207 (exit $ac_status); } &&
41208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41210 (eval $ac_try) 2>&5
41212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41213 (exit $ac_status); }; } &&
41214 { ac_try
='test -s conftest$ac_exeext'
41215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41216 (eval $ac_try) 2>&5
41218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41219 (exit $ac_status); }; }; then
41220 ac_cv_func_gmtime_r
=yes
41222 echo "$as_me: failed program was:" >&5
41223 sed 's/^/| /' conftest.
$ac_ext >&5
41225 ac_cv_func_gmtime_r
=no
41227 rm -f conftest.err conftest.
$ac_objext \
41228 conftest
$ac_exeext conftest.
$ac_ext
41230 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41231 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41232 if test $ac_cv_func_gmtime_r = yes; then
41233 cat >>confdefs.h
<<\_ACEOF
41234 #define HAVE_GMTIME_R 1
41239 echo "$as_me:$LINENO: checking for readdir_r" >&5
41240 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41241 if test "${ac_cv_func_readdir_r+set}" = set; then
41242 echo $ECHO_N "(cached) $ECHO_C" >&6
41244 cat >conftest.
$ac_ext <<_ACEOF
41247 cat confdefs.h
>>conftest.
$ac_ext
41248 cat >>conftest.
$ac_ext <<_ACEOF
41249 /* end confdefs.h. */
41250 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41252 #define readdir_r innocuous_readdir_r
41254 /* System header to define __stub macros and hopefully few prototypes,
41255 which can conflict with char readdir_r (); below.
41256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41257 <limits.h> exists even on freestanding compilers. */
41260 # include <limits.h>
41262 # include <assert.h>
41267 /* Override any gcc2 internal prototype to avoid an error. */
41272 /* We use char because int might match the return type of a gcc2
41273 builtin and then its argument prototype would still apply. */
41275 /* The GNU C library defines this for functions which it implements
41276 to always fail with ENOSYS. Some functions are actually named
41277 something starting with __ and the normal name is an alias. */
41278 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41281 char (*f) () = readdir_r;
41290 return f != readdir_r;
41295 rm -f conftest.
$ac_objext conftest
$ac_exeext
41296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41297 (eval $ac_link) 2>conftest.er1
41299 grep -v '^ *+' conftest.er1
>conftest.err
41301 cat conftest.err
>&5
41302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41303 (exit $ac_status); } &&
41304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41306 (eval $ac_try) 2>&5
41308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41309 (exit $ac_status); }; } &&
41310 { ac_try
='test -s conftest$ac_exeext'
41311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41312 (eval $ac_try) 2>&5
41314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41315 (exit $ac_status); }; }; then
41316 ac_cv_func_readdir_r
=yes
41318 echo "$as_me: failed program was:" >&5
41319 sed 's/^/| /' conftest.
$ac_ext >&5
41321 ac_cv_func_readdir_r
=no
41323 rm -f conftest.err conftest.
$ac_objext \
41324 conftest
$ac_exeext conftest.
$ac_ext
41326 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41327 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41328 if test $ac_cv_func_readdir_r = yes; then
41329 cat >>confdefs.h
<<\_ACEOF
41330 #define HAVE_READDIR_R 1
41339 ac_cpp
='$CPP $CPPFLAGS'
41340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41344 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41345 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41347 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41348 echo $ECHO_N "(cached) $ECHO_C" >&6
41352 ################################################################
41354 ac_cv_func_which_gethostbyname_r
=unknown
41357 # ONE ARGUMENT (sanity check)
41360 # This should fail, as there is no variant of gethostbyname_r() that takes
41361 # a single argument. If it actually compiles, then we can assume that
41362 # netdb.h is not declaring the function, and the compiler is thereby
41363 # assuming an implicit prototype. In which case, we're out of luck.
41365 cat >conftest.
$ac_ext <<_ACEOF
41368 cat confdefs.h
>>conftest.
$ac_ext
41369 cat >>conftest.
$ac_ext <<_ACEOF
41370 /* end confdefs.h. */
41376 char *name = "www.gnu.org";
41377 (void)gethostbyname_r(name) /* ; */
41383 rm -f conftest.
$ac_objext
41384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41385 (eval $ac_compile) 2>conftest.er1
41387 grep -v '^ *+' conftest.er1
>conftest.err
41389 cat conftest.err
>&5
41390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41391 (exit $ac_status); } &&
41392 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41394 (eval $ac_try) 2>&5
41396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41397 (exit $ac_status); }; } &&
41398 { ac_try
='test -s conftest.$ac_objext'
41399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41400 (eval $ac_try) 2>&5
41402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41403 (exit $ac_status); }; }; then
41404 ac_cv_func_which_gethostbyname_r
=no
41406 echo "$as_me: failed program was:" >&5
41407 sed 's/^/| /' conftest.
$ac_ext >&5
41410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41417 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41419 cat >conftest.
$ac_ext <<_ACEOF
41422 cat confdefs.h
>>conftest.
$ac_ext
41423 cat >>conftest.
$ac_ext <<_ACEOF
41424 /* end confdefs.h. */
41430 char *name = "www.gnu.org";
41431 struct hostent ret, *retp;
41435 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41441 rm -f conftest.
$ac_objext
41442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41443 (eval $ac_compile) 2>conftest.er1
41445 grep -v '^ *+' conftest.er1
>conftest.err
41447 cat conftest.err
>&5
41448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41449 (exit $ac_status); } &&
41450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41452 (eval $ac_try) 2>&5
41454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41455 (exit $ac_status); }; } &&
41456 { ac_try
='test -s conftest.$ac_objext'
41457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41458 (eval $ac_try) 2>&5
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); }; }; then
41462 ac_cv_func_which_gethostbyname_r
=six
41464 echo "$as_me: failed program was:" >&5
41465 sed 's/^/| /' conftest.
$ac_ext >&5
41468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41477 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41479 cat >conftest.
$ac_ext <<_ACEOF
41482 cat confdefs.h
>>conftest.
$ac_ext
41483 cat >>conftest.
$ac_ext <<_ACEOF
41484 /* end confdefs.h. */
41490 char *name = "www.gnu.org";
41491 struct hostent ret;
41495 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41501 rm -f conftest.
$ac_objext
41502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41503 (eval $ac_compile) 2>conftest.er1
41505 grep -v '^ *+' conftest.er1
>conftest.err
41507 cat conftest.err
>&5
41508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41509 (exit $ac_status); } &&
41510 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41512 (eval $ac_try) 2>&5
41514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41515 (exit $ac_status); }; } &&
41516 { ac_try
='test -s conftest.$ac_objext'
41517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41518 (eval $ac_try) 2>&5
41520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41521 (exit $ac_status); }; }; then
41522 ac_cv_func_which_gethostbyname_r
=five
41524 echo "$as_me: failed program was:" >&5
41525 sed 's/^/| /' conftest.
$ac_ext >&5
41528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41534 # (e.g. AIX, HP-UX, Tru64)
41537 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41539 cat >conftest.
$ac_ext <<_ACEOF
41542 cat confdefs.h
>>conftest.
$ac_ext
41543 cat >>conftest.
$ac_ext <<_ACEOF
41544 /* end confdefs.h. */
41550 char *name = "www.gnu.org";
41551 struct hostent ret;
41552 struct hostent_data data;
41553 (void)gethostbyname_r(name, &ret, &data) /* ; */
41559 rm -f conftest.
$ac_objext
41560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41561 (eval $ac_compile) 2>conftest.er1
41563 grep -v '^ *+' conftest.er1
>conftest.err
41565 cat conftest.err
>&5
41566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41567 (exit $ac_status); } &&
41568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41570 (eval $ac_try) 2>&5
41572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41573 (exit $ac_status); }; } &&
41574 { ac_try
='test -s conftest.$ac_objext'
41575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41576 (eval $ac_try) 2>&5
41578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41579 (exit $ac_status); }; }; then
41580 ac_cv_func_which_gethostbyname_r
=three
41582 echo "$as_me: failed program was:" >&5
41583 sed 's/^/| /' conftest.
$ac_ext >&5
41586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41590 ################################################################
41595 case "$ac_cv_func_which_gethostbyname_r" in
41597 echo "$as_me:$LINENO: result: three" >&5
41598 echo "${ECHO_T}three" >&6
41599 cat >>confdefs.h
<<\_ACEOF
41600 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41606 echo "$as_me:$LINENO: result: five" >&5
41607 echo "${ECHO_T}five" >&6
41608 cat >>confdefs.h
<<\_ACEOF
41609 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41615 echo "$as_me:$LINENO: result: six" >&5
41616 echo "${ECHO_T}six" >&6
41617 cat >>confdefs.h
<<\_ACEOF
41618 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41624 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41625 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41629 echo "$as_me:$LINENO: result: can't tell" >&5
41630 echo "${ECHO_T}can't tell" >&6
41634 { { echo "$as_me:$LINENO: error: internal error" >&5
41635 echo "$as_me: error: internal error" >&2;}
41636 { (exit 1); exit 1; }; }
41641 ac_cpp
='$CPP $CPPFLAGS'
41642 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41643 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41644 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41648 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41649 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41650 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41651 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41652 if test "${ac_cv_func_gethostbyname+set}" = set; then
41653 echo $ECHO_N "(cached) $ECHO_C" >&6
41655 cat >conftest.
$ac_ext <<_ACEOF
41658 cat confdefs.h
>>conftest.
$ac_ext
41659 cat >>conftest.
$ac_ext <<_ACEOF
41660 /* end confdefs.h. */
41661 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41663 #define gethostbyname innocuous_gethostbyname
41665 /* System header to define __stub macros and hopefully few prototypes,
41666 which can conflict with char gethostbyname (); below.
41667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41668 <limits.h> exists even on freestanding compilers. */
41671 # include <limits.h>
41673 # include <assert.h>
41676 #undef gethostbyname
41678 /* Override any gcc2 internal prototype to avoid an error. */
41683 /* We use char because int might match the return type of a gcc2
41684 builtin and then its argument prototype would still apply. */
41685 char gethostbyname ();
41686 /* The GNU C library defines this for functions which it implements
41687 to always fail with ENOSYS. Some functions are actually named
41688 something starting with __ and the normal name is an alias. */
41689 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41692 char (*f) () = gethostbyname;
41701 return f != gethostbyname;
41706 rm -f conftest.
$ac_objext conftest
$ac_exeext
41707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41708 (eval $ac_link) 2>conftest.er1
41710 grep -v '^ *+' conftest.er1
>conftest.err
41712 cat conftest.err
>&5
41713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41714 (exit $ac_status); } &&
41715 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41717 (eval $ac_try) 2>&5
41719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41720 (exit $ac_status); }; } &&
41721 { ac_try
='test -s conftest$ac_exeext'
41722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41723 (eval $ac_try) 2>&5
41725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41726 (exit $ac_status); }; }; then
41727 ac_cv_func_gethostbyname
=yes
41729 echo "$as_me: failed program was:" >&5
41730 sed 's/^/| /' conftest.
$ac_ext >&5
41732 ac_cv_func_gethostbyname
=no
41734 rm -f conftest.err conftest.
$ac_objext \
41735 conftest
$ac_exeext conftest.
$ac_ext
41737 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41738 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41739 if test $ac_cv_func_gethostbyname = yes; then
41740 cat >>confdefs.h
<<\_ACEOF
41741 #define HAVE_GETHOSTBYNAME 1
41748 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41749 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41750 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41751 echo $ECHO_N "(cached) $ECHO_C" >&6
41755 ac_cpp
='$CXXCPP $CPPFLAGS'
41756 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41757 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41758 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41761 cat >conftest.
$ac_ext <<_ACEOF
41764 cat confdefs.h
>>conftest.
$ac_ext
41765 cat >>conftest.
$ac_ext <<_ACEOF
41766 /* end confdefs.h. */
41774 struct servent *se, *res;
41777 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41783 rm -f conftest.
$ac_objext
41784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41785 (eval $ac_compile) 2>conftest.er1
41787 grep -v '^ *+' conftest.er1
>conftest.err
41789 cat conftest.err
>&5
41790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41791 (exit $ac_status); } &&
41792 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41794 (eval $ac_try) 2>&5
41796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41797 (exit $ac_status); }; } &&
41798 { ac_try
='test -s conftest.$ac_objext'
41799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41800 (eval $ac_try) 2>&5
41802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41803 (exit $ac_status); }; }; then
41804 ac_cv_func_which_getservbyname_r
=six
41806 echo "$as_me: failed program was:" >&5
41807 sed 's/^/| /' conftest.
$ac_ext >&5
41810 cat >conftest.
$ac_ext <<_ACEOF
41813 cat confdefs.h
>>conftest.
$ac_ext
41814 cat >>conftest.
$ac_ext <<_ACEOF
41815 /* end confdefs.h. */
41823 struct servent *se;
41826 (void) getservbyname_r(name, proto, se, buffer, buflen)
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
=five
41855 echo "$as_me: failed program was:" >&5
41856 sed 's/^/| /' conftest.
$ac_ext >&5
41859 cat >conftest.
$ac_ext <<_ACEOF
41862 cat confdefs.h
>>conftest.
$ac_ext
41863 cat >>conftest.
$ac_ext <<_ACEOF
41864 /* end confdefs.h. */
41872 struct servent *se;
41873 struct servent_data data;
41874 (void) getservbyname_r(name, proto, se, &data);
41880 rm -f conftest.
$ac_objext
41881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41882 (eval $ac_compile) 2>conftest.er1
41884 grep -v '^ *+' conftest.er1
>conftest.err
41886 cat conftest.err
>&5
41887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41888 (exit $ac_status); } &&
41889 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41891 (eval $ac_try) 2>&5
41893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41894 (exit $ac_status); }; } &&
41895 { ac_try
='test -s conftest.$ac_objext'
41896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41897 (eval $ac_try) 2>&5
41899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41900 (exit $ac_status); }; }; then
41901 ac_cv_func_which_getservbyname_r
=four
41903 echo "$as_me: failed program was:" >&5
41904 sed 's/^/| /' conftest.
$ac_ext >&5
41906 ac_cv_func_which_getservbyname_r
=no
41909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41919 ac_cpp
='$CPP $CPPFLAGS'
41920 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41921 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41922 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41927 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41928 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41930 if test $ac_cv_func_which_getservbyname_r = six
; then
41931 cat >>confdefs.h
<<\_ACEOF
41932 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41935 elif test $ac_cv_func_which_getservbyname_r = five
; then
41936 cat >>confdefs.h
<<\_ACEOF
41937 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41940 elif test $ac_cv_func_which_getservbyname_r = four
; then
41941 cat >>confdefs.h
<<\_ACEOF
41942 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41948 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41949 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41951 for ac_func
in getservbyname
41953 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41954 echo "$as_me:$LINENO: checking for $ac_func" >&5
41955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41956 if eval "test \"\${$as_ac_var+set}\" = set"; then
41957 echo $ECHO_N "(cached) $ECHO_C" >&6
41959 cat >conftest.
$ac_ext <<_ACEOF
41962 cat confdefs.h
>>conftest.
$ac_ext
41963 cat >>conftest.
$ac_ext <<_ACEOF
41964 /* end confdefs.h. */
41965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41967 #define $ac_func innocuous_$ac_func
41969 /* System header to define __stub macros and hopefully few prototypes,
41970 which can conflict with char $ac_func (); below.
41971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41972 <limits.h> exists even on freestanding compilers. */
41975 # include <limits.h>
41977 # include <assert.h>
41982 /* Override any gcc2 internal prototype to avoid an error. */
41987 /* We use char because int might match the return type of a gcc2
41988 builtin and then its argument prototype would still apply. */
41990 /* The GNU C library defines this for functions which it implements
41991 to always fail with ENOSYS. Some functions are actually named
41992 something starting with __ and the normal name is an alias. */
41993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41996 char (*f) () = $ac_func;
42005 return f != $ac_func;
42010 rm -f conftest.
$ac_objext conftest
$ac_exeext
42011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42012 (eval $ac_link) 2>conftest.er1
42014 grep -v '^ *+' conftest.er1
>conftest.err
42016 cat conftest.err
>&5
42017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42018 (exit $ac_status); } &&
42019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42021 (eval $ac_try) 2>&5
42023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42024 (exit $ac_status); }; } &&
42025 { ac_try
='test -s conftest$ac_exeext'
42026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42027 (eval $ac_try) 2>&5
42029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42030 (exit $ac_status); }; }; then
42031 eval "$as_ac_var=yes"
42033 echo "$as_me: failed program was:" >&5
42034 sed 's/^/| /' conftest.
$ac_ext >&5
42036 eval "$as_ac_var=no"
42038 rm -f conftest.err conftest.
$ac_objext \
42039 conftest
$ac_exeext conftest.
$ac_ext
42041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42043 if test `eval echo '${'$as_ac_var'}'` = yes; then
42044 cat >>confdefs.h
<<_ACEOF
42045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42047 cat >>confdefs.h
<<\_ACEOF
42048 #define HAVE_GETSERVBYNAME 1
42056 if test "$wxUSE_THREADS" = "yes"; then
42057 cat >>confdefs.h
<<\_ACEOF
42058 #define wxUSE_THREADS 1
42062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
42064 if test "$wx_cv_func_strtok_r" = "yes"; then
42065 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42066 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
42067 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42068 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42069 echo "$as_me:$LINENO: result: yes" >&5
42070 echo "${ECHO_T}yes" >&6
42072 echo "$as_me:$LINENO: result: no" >&5
42073 echo "${ECHO_T}no" >&6
42078 if test "$WXGTK20" = 1 ; then
42079 cat >>confdefs.h
<<_ACEOF
42080 #define __WXGTK20__ $WXGTK20
42086 if test "$WXGTK12" = 1 ; then
42087 cat >>confdefs.h
<<_ACEOF
42088 #define __WXGTK12__ $WXGTK12
42093 if test "$WXGTK127" = 1 ; then
42094 cat >>confdefs.h
<<_ACEOF
42095 #define __WXGTK127__ $WXGTK127
42100 if test "$WXGPE" = 1 ; then
42101 cat >>confdefs.h
<<_ACEOF
42102 #define __WXGPE__ $WXGPE
42108 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42113 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42114 wxUSE_DEBUG_INFO
=yes
42115 if test "$GCC" = yes; then
42116 DEBUG_CFLAGS
="-ggdb"
42120 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42121 cat >>confdefs.h
<<\_ACEOF
42125 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42127 if test "$wxUSE_GTK" = 1 ; then
42128 if test "x$wxGTK_VERSION" = "x1" ; then
42129 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42134 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42135 cat >>confdefs.h
<<\_ACEOF
42136 #define wxUSE_MEMORY_TRACING 1
42139 cat >>confdefs.h
<<\_ACEOF
42140 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42143 cat >>confdefs.h
<<\_ACEOF
42144 #define wxUSE_DEBUG_NEW_ALWAYS 1
42147 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
42150 if test "$wxUSE_DMALLOC" = "yes" ; then
42151 DMALLOC_LIBS
="-ldmallocthcxx"
42155 if test "$wxUSE_PROFILE" = "yes" ; then
42156 PROFILE_FLAGS
=" -pg"
42159 if test "$GCC" = "yes" ; then
42160 if test "$wxUSE_NO_RTTI" = "yes" ; then
42161 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
42163 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42164 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
42166 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42167 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
42172 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
42175 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
42181 if test "$wxUSE_OPTIMISE" = "no" ; then
42182 if test "$GCC" = yes ; then
42183 OPTIMISE_CFLAGS
="-O0"
42186 if test "$GCC" = yes ; then
42188 *-pc-os2_emx | *-pc-os2-emx )
42189 OPTIMISE_CFLAGS
="-O2"
42192 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
42196 OPTIMISE_CFLAGS
="-O"
42201 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
42202 cat >>confdefs.h
<<\_ACEOF
42203 #define WXWIN_COMPATIBILITY_2_4 1
42207 WXWIN_COMPATIBILITY_2_6
="yes"
42210 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
42211 cat >>confdefs.h
<<\_ACEOF
42212 #define WXWIN_COMPATIBILITY_2_6 1
42218 if test "$wxUSE_GUI" = "yes"; then
42219 cat >>confdefs.h
<<\_ACEOF
42220 #define wxUSE_GUI 1
42227 if test "$wxUSE_UNIX" = "yes"; then
42228 cat >>confdefs.h
<<\_ACEOF
42229 #define wxUSE_UNIX 1
42235 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42239 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42240 if test "$USE_DARWIN" = 1; then
42242 elif test "$USE_DOS" = 1; then
42246 for ac_func
in dlopen
42248 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42249 echo "$as_me:$LINENO: checking for $ac_func" >&5
42250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42251 if eval "test \"\${$as_ac_var+set}\" = set"; then
42252 echo $ECHO_N "(cached) $ECHO_C" >&6
42254 cat >conftest.
$ac_ext <<_ACEOF
42257 cat confdefs.h
>>conftest.
$ac_ext
42258 cat >>conftest.
$ac_ext <<_ACEOF
42259 /* end confdefs.h. */
42260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42262 #define $ac_func innocuous_$ac_func
42264 /* System header to define __stub macros and hopefully few prototypes,
42265 which can conflict with char $ac_func (); below.
42266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42267 <limits.h> exists even on freestanding compilers. */
42270 # include <limits.h>
42272 # include <assert.h>
42277 /* Override any gcc2 internal prototype to avoid an error. */
42282 /* We use char because int might match the return type of a gcc2
42283 builtin and then its argument prototype would still apply. */
42285 /* The GNU C library defines this for functions which it implements
42286 to always fail with ENOSYS. Some functions are actually named
42287 something starting with __ and the normal name is an alias. */
42288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42291 char (*f) () = $ac_func;
42300 return f != $ac_func;
42305 rm -f conftest.
$ac_objext conftest
$ac_exeext
42306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42307 (eval $ac_link) 2>conftest.er1
42309 grep -v '^ *+' conftest.er1
>conftest.err
42311 cat conftest.err
>&5
42312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42313 (exit $ac_status); } &&
42314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42316 (eval $ac_try) 2>&5
42318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42319 (exit $ac_status); }; } &&
42320 { ac_try
='test -s conftest$ac_exeext'
42321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42322 (eval $ac_try) 2>&5
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); }; }; then
42326 eval "$as_ac_var=yes"
42328 echo "$as_me: failed program was:" >&5
42329 sed 's/^/| /' conftest.
$ac_ext >&5
42331 eval "$as_ac_var=no"
42333 rm -f conftest.err conftest.
$ac_objext \
42334 conftest
$ac_exeext conftest.
$ac_ext
42336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42338 if test `eval echo '${'$as_ac_var'}'` = yes; then
42339 cat >>confdefs.h
<<_ACEOF
42340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42343 cat >>confdefs.h
<<\_ACEOF
42344 #define HAVE_DLOPEN 1
42351 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42352 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42353 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42354 echo $ECHO_N "(cached) $ECHO_C" >&6
42356 ac_check_lib_save_LIBS
=$LIBS
42358 cat >conftest.
$ac_ext <<_ACEOF
42361 cat confdefs.h
>>conftest.
$ac_ext
42362 cat >>conftest.
$ac_ext <<_ACEOF
42363 /* end confdefs.h. */
42365 /* Override any gcc2 internal prototype to avoid an error. */
42369 /* We use char because int might match the return type of a gcc2
42370 builtin and then its argument prototype would still apply. */
42380 rm -f conftest.
$ac_objext conftest
$ac_exeext
42381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42382 (eval $ac_link) 2>conftest.er1
42384 grep -v '^ *+' conftest.er1
>conftest.err
42386 cat conftest.err
>&5
42387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42388 (exit $ac_status); } &&
42389 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42391 (eval $ac_try) 2>&5
42393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42394 (exit $ac_status); }; } &&
42395 { ac_try
='test -s conftest$ac_exeext'
42396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42397 (eval $ac_try) 2>&5
42399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42400 (exit $ac_status); }; }; then
42401 ac_cv_lib_dl_dlopen
=yes
42403 echo "$as_me: failed program was:" >&5
42404 sed 's/^/| /' conftest.
$ac_ext >&5
42406 ac_cv_lib_dl_dlopen
=no
42408 rm -f conftest.err conftest.
$ac_objext \
42409 conftest
$ac_exeext conftest.
$ac_ext
42410 LIBS
=$ac_check_lib_save_LIBS
42412 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42413 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42414 if test $ac_cv_lib_dl_dlopen = yes; then
42416 cat >>confdefs.h
<<\_ACEOF
42417 #define HAVE_DLOPEN 1
42421 DL_LINK
=" -ldl$DL_LINK"
42426 for ac_func
in shl_load
42428 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42429 echo "$as_me:$LINENO: checking for $ac_func" >&5
42430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42431 if eval "test \"\${$as_ac_var+set}\" = set"; then
42432 echo $ECHO_N "(cached) $ECHO_C" >&6
42434 cat >conftest.
$ac_ext <<_ACEOF
42437 cat confdefs.h
>>conftest.
$ac_ext
42438 cat >>conftest.
$ac_ext <<_ACEOF
42439 /* end confdefs.h. */
42440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42442 #define $ac_func innocuous_$ac_func
42444 /* System header to define __stub macros and hopefully few prototypes,
42445 which can conflict with char $ac_func (); below.
42446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42447 <limits.h> exists even on freestanding compilers. */
42450 # include <limits.h>
42452 # include <assert.h>
42457 /* Override any gcc2 internal prototype to avoid an error. */
42462 /* We use char because int might match the return type of a gcc2
42463 builtin and then its argument prototype would still apply. */
42465 /* The GNU C library defines this for functions which it implements
42466 to always fail with ENOSYS. Some functions are actually named
42467 something starting with __ and the normal name is an alias. */
42468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42471 char (*f) () = $ac_func;
42480 return f != $ac_func;
42485 rm -f conftest.
$ac_objext conftest
$ac_exeext
42486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42487 (eval $ac_link) 2>conftest.er1
42489 grep -v '^ *+' conftest.er1
>conftest.err
42491 cat conftest.err
>&5
42492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42493 (exit $ac_status); } &&
42494 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42496 (eval $ac_try) 2>&5
42498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42499 (exit $ac_status); }; } &&
42500 { ac_try
='test -s conftest$ac_exeext'
42501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42502 (eval $ac_try) 2>&5
42504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42505 (exit $ac_status); }; }; then
42506 eval "$as_ac_var=yes"
42508 echo "$as_me: failed program was:" >&5
42509 sed 's/^/| /' conftest.
$ac_ext >&5
42511 eval "$as_ac_var=no"
42513 rm -f conftest.err conftest.
$ac_objext \
42514 conftest
$ac_exeext conftest.
$ac_ext
42516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42518 if test `eval echo '${'$as_ac_var'}'` = yes; then
42519 cat >>confdefs.h
<<_ACEOF
42520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42523 cat >>confdefs.h
<<\_ACEOF
42524 #define HAVE_SHL_LOAD 1
42531 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42532 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42533 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42534 echo $ECHO_N "(cached) $ECHO_C" >&6
42536 ac_check_lib_save_LIBS
=$LIBS
42537 LIBS
="-lshl_load $LIBS"
42538 cat >conftest.
$ac_ext <<_ACEOF
42541 cat confdefs.h
>>conftest.
$ac_ext
42542 cat >>conftest.
$ac_ext <<_ACEOF
42543 /* end confdefs.h. */
42545 /* Override any gcc2 internal prototype to avoid an error. */
42549 /* We use char because int might match the return type of a gcc2
42550 builtin and then its argument prototype would still apply. */
42560 rm -f conftest.
$ac_objext conftest
$ac_exeext
42561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42562 (eval $ac_link) 2>conftest.er1
42564 grep -v '^ *+' conftest.er1
>conftest.err
42566 cat conftest.err
>&5
42567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42568 (exit $ac_status); } &&
42569 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42571 (eval $ac_try) 2>&5
42573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42574 (exit $ac_status); }; } &&
42575 { ac_try
='test -s conftest$ac_exeext'
42576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42577 (eval $ac_try) 2>&5
42579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580 (exit $ac_status); }; }; then
42581 ac_cv_lib_shl_load_dld
=yes
42583 echo "$as_me: failed program was:" >&5
42584 sed 's/^/| /' conftest.
$ac_ext >&5
42586 ac_cv_lib_shl_load_dld
=no
42588 rm -f conftest.err conftest.
$ac_objext \
42589 conftest
$ac_exeext conftest.
$ac_ext
42590 LIBS
=$ac_check_lib_save_LIBS
42592 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42593 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42594 if test $ac_cv_lib_shl_load_dld = yes; then
42597 DL_LINK
=" -ldld$DL_LINK"
42613 if test "$HAVE_DL_FUNCS" = 1; then
42615 for ac_func
in dlerror
42617 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42618 echo "$as_me:$LINENO: checking for $ac_func" >&5
42619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42620 if eval "test \"\${$as_ac_var+set}\" = set"; then
42621 echo $ECHO_N "(cached) $ECHO_C" >&6
42623 cat >conftest.
$ac_ext <<_ACEOF
42626 cat confdefs.h
>>conftest.
$ac_ext
42627 cat >>conftest.
$ac_ext <<_ACEOF
42628 /* end confdefs.h. */
42629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42631 #define $ac_func innocuous_$ac_func
42633 /* System header to define __stub macros and hopefully few prototypes,
42634 which can conflict with char $ac_func (); below.
42635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42636 <limits.h> exists even on freestanding compilers. */
42639 # include <limits.h>
42641 # include <assert.h>
42646 /* Override any gcc2 internal prototype to avoid an error. */
42651 /* We use char because int might match the return type of a gcc2
42652 builtin and then its argument prototype would still apply. */
42654 /* The GNU C library defines this for functions which it implements
42655 to always fail with ENOSYS. Some functions are actually named
42656 something starting with __ and the normal name is an alias. */
42657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42660 char (*f) () = $ac_func;
42669 return f != $ac_func;
42674 rm -f conftest.
$ac_objext conftest
$ac_exeext
42675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42676 (eval $ac_link) 2>conftest.er1
42678 grep -v '^ *+' conftest.er1
>conftest.err
42680 cat conftest.err
>&5
42681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42682 (exit $ac_status); } &&
42683 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42685 (eval $ac_try) 2>&5
42687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42688 (exit $ac_status); }; } &&
42689 { ac_try
='test -s conftest$ac_exeext'
42690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42691 (eval $ac_try) 2>&5
42693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42694 (exit $ac_status); }; }; then
42695 eval "$as_ac_var=yes"
42697 echo "$as_me: failed program was:" >&5
42698 sed 's/^/| /' conftest.
$ac_ext >&5
42700 eval "$as_ac_var=no"
42702 rm -f conftest.err conftest.
$ac_objext \
42703 conftest
$ac_exeext conftest.
$ac_ext
42705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42707 if test `eval echo '${'$as_ac_var'}'` = yes; then
42708 cat >>confdefs.h
<<_ACEOF
42709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42711 cat >>confdefs.h
<<\_ACEOF
42712 #define HAVE_DLERROR 1
42717 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42718 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42719 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42720 echo $ECHO_N "(cached) $ECHO_C" >&6
42722 ac_check_lib_save_LIBS
=$LIBS
42724 cat >conftest.
$ac_ext <<_ACEOF
42727 cat confdefs.h
>>conftest.
$ac_ext
42728 cat >>conftest.
$ac_ext <<_ACEOF
42729 /* end confdefs.h. */
42731 /* Override any gcc2 internal prototype to avoid an error. */
42735 /* We use char because int might match the return type of a gcc2
42736 builtin and then its argument prototype would still apply. */
42746 rm -f conftest.
$ac_objext conftest
$ac_exeext
42747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42748 (eval $ac_link) 2>conftest.er1
42750 grep -v '^ *+' conftest.er1
>conftest.err
42752 cat conftest.err
>&5
42753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42754 (exit $ac_status); } &&
42755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42757 (eval $ac_try) 2>&5
42759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42760 (exit $ac_status); }; } &&
42761 { ac_try
='test -s conftest$ac_exeext'
42762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42763 (eval $ac_try) 2>&5
42765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42766 (exit $ac_status); }; }; then
42767 ac_cv_lib_dl_dlerror
=yes
42769 echo "$as_me: failed program was:" >&5
42770 sed 's/^/| /' conftest.
$ac_ext >&5
42772 ac_cv_lib_dl_dlerror
=no
42774 rm -f conftest.err conftest.
$ac_objext \
42775 conftest
$ac_exeext conftest.
$ac_ext
42776 LIBS
=$ac_check_lib_save_LIBS
42778 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42779 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42780 if test $ac_cv_lib_dl_dlerror = yes; then
42781 cat >>confdefs.h
<<\_ACEOF
42782 #define HAVE_DLERROR 1
42795 if test "$HAVE_DL_FUNCS" = 0; then
42796 if test "$HAVE_SHL_FUNCS" = 0; then
42797 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42798 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42799 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42800 wxUSE_DYNAMIC_LOADER
=no
42801 wxUSE_DYNLIB_CLASS
=no
42803 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42804 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42811 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42812 cat >>confdefs.h
<<\_ACEOF
42813 #define wxUSE_DYNAMIC_LOADER 1
42817 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42818 cat >>confdefs.h
<<\_ACEOF
42819 #define wxUSE_DYNLIB_CLASS 1
42826 if test "$wxUSE_PLUGINS" = "yes" ; then
42827 if test "$wxUSE_SHARED" = "no" ; then
42828 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42829 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42832 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42833 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42834 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42837 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42838 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42839 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42842 if test "$wxUSE_PLUGINS" = "yes" ; then
42843 cat >>confdefs.h
<<\_ACEOF
42844 #define wxUSE_PLUGINS 1
42851 if test "$wxUSE_STL" = "yes"; then
42852 cat >>confdefs.h
<<\_ACEOF
42853 #define wxUSE_STL 1
42858 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42859 cat >>confdefs.h
<<\_ACEOF
42860 #define wxUSE_APPLE_IEEE 1
42865 if test "$wxUSE_TIMER" = "yes"; then
42866 cat >>confdefs.h
<<\_ACEOF
42867 #define wxUSE_TIMER 1
42872 if test "$USE_UNIX" = "1" ; then
42873 if test "$wxUSE_MGL" != 1; then
42874 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42875 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42876 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42877 echo $ECHO_N "(cached) $ECHO_C" >&6
42880 cat >conftest.
$ac_ext <<_ACEOF
42883 cat confdefs.h
>>conftest.
$ac_ext
42884 cat >>conftest.
$ac_ext <<_ACEOF
42885 /* end confdefs.h. */
42887 #include <sys/ioctl.h>
42888 #include <sys/soundcard.h>
42894 ioctl(0, SNDCTL_DSP_SPEED, 0);
42900 rm -f conftest.
$ac_objext conftest
$ac_exeext
42901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42902 (eval $ac_link) 2>conftest.er1
42904 grep -v '^ *+' conftest.er1
>conftest.err
42906 cat conftest.err
>&5
42907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42908 (exit $ac_status); } &&
42909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42911 (eval $ac_try) 2>&5
42913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42914 (exit $ac_status); }; } &&
42915 { ac_try
='test -s conftest$ac_exeext'
42916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42917 (eval $ac_try) 2>&5
42919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42920 (exit $ac_status); }; }; then
42921 ac_cv_header_sys_soundcard
=yes
42923 echo "$as_me: failed program was:" >&5
42924 sed 's/^/| /' conftest.
$ac_ext >&5
42928 LIBS
="$saveLibs -lossaudio"
42929 cat >conftest.
$ac_ext <<_ACEOF
42932 cat confdefs.h
>>conftest.
$ac_ext
42933 cat >>conftest.
$ac_ext <<_ACEOF
42934 /* end confdefs.h. */
42936 #include <sys/ioctl.h>
42937 #include <sys/soundcard.h>
42943 ioctl(0, SNDCTL_DSP_SPEED, 0);
42949 rm -f conftest.
$ac_objext conftest
$ac_exeext
42950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42951 (eval $ac_link) 2>conftest.er1
42953 grep -v '^ *+' conftest.er1
>conftest.err
42955 cat conftest.err
>&5
42956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42957 (exit $ac_status); } &&
42958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42960 (eval $ac_try) 2>&5
42962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42963 (exit $ac_status); }; } &&
42964 { ac_try
='test -s conftest$ac_exeext'
42965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42966 (eval $ac_try) 2>&5
42968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42969 (exit $ac_status); }; }; then
42970 ac_cv_header_sys_soundcard
=yes
42972 echo "$as_me: failed program was:" >&5
42973 sed 's/^/| /' conftest.
$ac_ext >&5
42977 ac_cv_header_sys_soundcard
=no
42981 rm -f conftest.err conftest.
$ac_objext \
42982 conftest
$ac_exeext conftest.
$ac_ext
42986 rm -f conftest.err conftest.
$ac_objext \
42987 conftest
$ac_exeext conftest.
$ac_ext
42990 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42991 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42994 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42995 cat >>confdefs.h
<<\_ACEOF
42996 #define HAVE_SYS_SOUNDCARD_H 1
43000 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
43005 if test "$wxUSE_SOUND" = "yes"; then
43006 if test "$USE_UNIX" = "1" ; then
43007 if test "$wxUSE_LIBSDL" != "no"; then
43009 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
43010 if test "${with_sdl_prefix+set}" = set; then
43011 withval
="$with_sdl_prefix"
43012 sdl_prefix
="$withval"
43017 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
43018 if test "${with_sdl_exec_prefix+set}" = set; then
43019 withval
="$with_sdl_exec_prefix"
43020 sdl_exec_prefix
="$withval"
43024 # Check whether --enable-sdltest or --disable-sdltest was given.
43025 if test "${enable_sdltest+set}" = set; then
43026 enableval
="$enable_sdltest"
43032 if test x
$sdl_exec_prefix != x
; then
43033 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
43034 if test x
${SDL_CONFIG+set} != xset
; then
43035 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
43038 if test x
$sdl_prefix != x
; then
43039 sdl_args
="$sdl_args --prefix=$sdl_prefix"
43040 if test x
${SDL_CONFIG+set} != xset
; then
43041 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
43045 if test "x$prefix" != xNONE
; then
43046 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
43048 # Extract the first word of "sdl-config", so it can be a program name with args.
43049 set dummy sdl
-config; ac_word
=$2
43050 echo "$as_me:$LINENO: checking for $ac_word" >&5
43051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43052 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43053 echo $ECHO_N "(cached) $ECHO_C" >&6
43055 case $SDL_CONFIG in
43057 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
43060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43061 for as_dir
in $PATH
43064 test -z "$as_dir" && as_dir
=.
43065 for ac_exec_ext
in '' $ac_executable_extensions; do
43066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43067 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43074 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
43078 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
43080 if test -n "$SDL_CONFIG"; then
43081 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43082 echo "${ECHO_T}$SDL_CONFIG" >&6
43084 echo "$as_me:$LINENO: result: no" >&5
43085 echo "${ECHO_T}no" >&6
43088 min_sdl_version
=1.2.0
43089 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43090 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
43092 if test "$SDL_CONFIG" = "no" ; then
43095 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
43096 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
43098 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
43099 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43100 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
43101 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43102 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
43103 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43104 if test "x$enable_sdltest" = "xyes" ; then
43105 ac_save_CFLAGS
="$CFLAGS"
43106 ac_save_CXXFLAGS
="$CXXFLAGS"
43107 ac_save_LIBS
="$LIBS"
43108 CFLAGS
="$CFLAGS $SDL_CFLAGS"
43109 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
43110 LIBS
="$LIBS $SDL_LIBS"
43112 if test "$cross_compiling" = yes; then
43113 echo $ac_n "cross compiling; assumed OK... $ac_c"
43115 cat >conftest.
$ac_ext <<_ACEOF
43118 cat confdefs.h
>>conftest.
$ac_ext
43119 cat >>conftest.
$ac_ext <<_ACEOF
43120 /* end confdefs.h. */
43123 #include <stdlib.h>
43124 #include <string.h>
43128 my_strdup (char *str)
43134 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43135 strcpy (new_str, str);
43143 int main (int argc, char *argv[])
43145 int major, minor, micro;
43148 /* This hangs on some systems (?)
43149 system ("touch conf.sdltest");
43151 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43153 /* HP/UX 9 (%@#!) writes to sscanf strings */
43154 tmp_version = my_strdup("$min_sdl_version");
43155 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43156 printf("%s, bad version string\n", "$min_sdl_version");
43160 if (($sdl_major_version > major) ||
43161 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43162 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43168 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43169 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43170 printf("*** best to upgrade to the required version.\n");
43171 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43172 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43173 printf("*** config.cache before re-running configure\n");
43180 rm -f conftest
$ac_exeext
43181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43182 (eval $ac_link) 2>&5
43184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43185 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43187 (eval $ac_try) 2>&5
43189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43190 (exit $ac_status); }; }; then
43193 echo "$as_me: program exited with status $ac_status" >&5
43194 echo "$as_me: failed program was:" >&5
43195 sed 's/^/| /' conftest.
$ac_ext >&5
43197 ( exit $ac_status )
43200 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
43202 CFLAGS
="$ac_save_CFLAGS"
43203 CXXFLAGS
="$ac_save_CXXFLAGS"
43204 LIBS
="$ac_save_LIBS"
43207 if test "x$no_sdl" = x
; then
43208 echo "$as_me:$LINENO: result: yes" >&5
43209 echo "${ECHO_T}yes" >&6
43211 EXTRALIBS_SDL
="$SDL_LIBS"
43212 CFLAGS
="$SDL_CFLAGS $CFLAGS"
43213 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
43214 cat >>confdefs.h
<<\_ACEOF
43215 #define wxUSE_LIBSDL 1
43220 echo "$as_me:$LINENO: result: no" >&5
43221 echo "${ECHO_T}no" >&6
43222 if test "$SDL_CONFIG" = "no" ; then
43223 echo "*** The sdl-config script installed by SDL could not be found"
43224 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43225 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43226 echo "*** full path to sdl-config."
43228 if test -f conf.sdltest
; then
43231 echo "*** Could not run SDL test program, checking why..."
43232 CFLAGS
="$CFLAGS $SDL_CFLAGS"
43233 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
43234 LIBS
="$LIBS $SDL_LIBS"
43235 cat >conftest.
$ac_ext <<_ACEOF
43238 cat confdefs.h
>>conftest.
$ac_ext
43239 cat >>conftest.
$ac_ext <<_ACEOF
43240 /* end confdefs.h. */
43245 int main(int argc, char *argv[])
43248 #define main K_and_R_C_main
43258 rm -f conftest.
$ac_objext conftest
$ac_exeext
43259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43260 (eval $ac_link) 2>conftest.er1
43262 grep -v '^ *+' conftest.er1
>conftest.err
43264 cat conftest.err
>&5
43265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43266 (exit $ac_status); } &&
43267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43269 (eval $ac_try) 2>&5
43271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43272 (exit $ac_status); }; } &&
43273 { ac_try
='test -s conftest$ac_exeext'
43274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43275 (eval $ac_try) 2>&5
43277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43278 (exit $ac_status); }; }; then
43279 echo "*** The test program compiled, but did not run. This usually means"
43280 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43281 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43282 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43283 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43284 echo "*** is required on your system"
43286 echo "*** If you have an old version installed, it is best to remove it, although"
43287 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43289 echo "$as_me: failed program was:" >&5
43290 sed 's/^/| /' conftest.
$ac_ext >&5
43292 echo "*** The test program failed to compile or link. See the file config.log for the"
43293 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43294 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43295 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43297 rm -f conftest.err conftest.
$ac_objext \
43298 conftest
$ac_exeext conftest.
$ac_ext
43299 CFLAGS
="$ac_save_CFLAGS"
43300 CXXFLAGS
="$ac_save_CXXFLAGS"
43301 LIBS
="$ac_save_LIBS"
43312 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43317 if test "$wxUSE_MGL" = 1; then
43318 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43319 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43325 if test "$wxUSE_SOUND" = "yes"; then
43326 cat >>confdefs.h
<<\_ACEOF
43327 #define wxUSE_SOUND 1
43330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43333 if test "$WXGTK20" = 1; then
43336 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43337 if test -n "$ac_tool_prefix"; then
43338 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43339 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43340 echo "$as_me:$LINENO: checking for $ac_word" >&5
43341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43342 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43343 echo $ECHO_N "(cached) $ECHO_C" >&6
43345 case $PKG_CONFIG in
43347 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43351 for as_dir
in $PATH
43354 test -z "$as_dir" && as_dir
=.
43355 for ac_exec_ext
in '' $ac_executable_extensions; do
43356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43357 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43367 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43369 if test -n "$PKG_CONFIG"; then
43370 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43371 echo "${ECHO_T}$PKG_CONFIG" >&6
43373 echo "$as_me:$LINENO: result: no" >&5
43374 echo "${ECHO_T}no" >&6
43378 if test -z "$ac_cv_path_PKG_CONFIG"; then
43379 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43380 # Extract the first word of "pkg-config", so it can be a program name with args.
43381 set dummy pkg
-config; ac_word
=$2
43382 echo "$as_me:$LINENO: checking for $ac_word" >&5
43383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43384 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43385 echo $ECHO_N "(cached) $ECHO_C" >&6
43387 case $ac_pt_PKG_CONFIG in
43389 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43393 for as_dir
in $PATH
43396 test -z "$as_dir" && as_dir
=.
43397 for ac_exec_ext
in '' $ac_executable_extensions; do
43398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43399 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43409 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43411 if test -n "$ac_pt_PKG_CONFIG"; then
43412 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43413 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
43415 echo "$as_me:$LINENO: result: no" >&5
43416 echo "${ECHO_T}no" >&6
43419 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43421 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43425 if test -n "$PKG_CONFIG"; then
43426 _pkg_min_version
=0.9.0
43427 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43428 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
43429 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43430 echo "$as_me:$LINENO: result: yes" >&5
43431 echo "${ECHO_T}yes" >&6
43433 echo "$as_me:$LINENO: result: no" >&5
43434 echo "${ECHO_T}no" >&6
43440 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43441 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43445 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43446 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43448 if test -n "$PKG_CONFIG"; then
43449 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43450 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43452 if test -n "$PKG_CONFIG" && \
43453 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43454 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43457 (exit $ac_status); }; then
43458 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43466 if test -n "$PKG_CONFIG"; then
43467 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43468 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43470 if test -n "$PKG_CONFIG" && \
43471 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43472 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43475 (exit $ac_status); }; then
43476 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43487 if test $pkg_failed = yes; then
43489 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43490 _pkg_short_errors_supported
=yes
43492 _pkg_short_errors_supported
=no
43494 if test $_pkg_short_errors_supported = yes; then
43495 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43497 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43499 # Put the nasty error message in config.log where it belongs
43500 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43503 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43504 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43505 wxUSE_LIBGNOMEPRINT
="no"
43508 elif test $pkg_failed = untried
; then
43510 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43511 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43512 wxUSE_LIBGNOMEPRINT
="no"
43516 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43517 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43518 echo "$as_me:$LINENO: result: yes" >&5
43519 echo "${ECHO_T}yes" >&6
43521 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43522 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43523 cat >>confdefs.h
<<\_ACEOF
43524 #define wxUSE_LIBGNOMEPRINT 1
43532 if test "$wxUSE_MIMETYPE" = "yes" ; then
43533 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43537 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43538 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43540 if test -n "$PKG_CONFIG"; then
43541 if test -n "$GNOMEVFS_CFLAGS"; then
43542 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43544 if test -n "$PKG_CONFIG" && \
43545 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43546 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43549 (exit $ac_status); }; then
43550 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43558 if test -n "$PKG_CONFIG"; then
43559 if test -n "$GNOMEVFS_LIBS"; then
43560 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43562 if test -n "$PKG_CONFIG" && \
43563 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43564 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43567 (exit $ac_status); }; then
43568 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43579 if test $pkg_failed = yes; then
43581 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43582 _pkg_short_errors_supported
=yes
43584 _pkg_short_errors_supported
=no
43586 if test $_pkg_short_errors_supported = yes; then
43587 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43589 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43591 # Put the nasty error message in config.log where it belongs
43592 echo "$GNOMEVFS_PKG_ERRORS" >&5
43595 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43596 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43597 wxUSE_LIBGNOMEVFS
="no"
43600 elif test $pkg_failed = untried
; then
43602 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43603 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43604 wxUSE_LIBGNOMEVFS
="no"
43608 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43609 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43610 echo "$as_me:$LINENO: result: yes" >&5
43611 echo "${ECHO_T}yes" >&6
43613 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43614 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43615 cat >>confdefs.h
<<\_ACEOF
43616 #define wxUSE_LIBGNOMEVFS 1
43624 if test "$wxUSE_LIBHILDON" = "yes" ; then
43627 echo "$as_me:$LINENO: checking for HILDON" >&5
43628 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43630 if test -n "$PKG_CONFIG"; then
43631 if test -n "$HILDON_CFLAGS"; then
43632 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43634 if test -n "$PKG_CONFIG" && \
43635 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43636 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); }; then
43640 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43648 if test -n "$PKG_CONFIG"; then
43649 if test -n "$HILDON_LIBS"; then
43650 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43652 if test -n "$PKG_CONFIG" && \
43653 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43654 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43657 (exit $ac_status); }; then
43658 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43669 if test $pkg_failed = yes; then
43671 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43672 _pkg_short_errors_supported
=yes
43674 _pkg_short_errors_supported
=no
43676 if test $_pkg_short_errors_supported = yes; then
43677 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43679 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43681 # Put the nasty error message in config.log where it belongs
43682 echo "$HILDON_PKG_ERRORS" >&5
43685 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43686 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43687 wxUSE_LIBHILDON
="no"
43690 elif test $pkg_failed = untried
; then
43692 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43693 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43694 wxUSE_LIBHILDON
="no"
43698 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43699 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43700 echo "$as_me:$LINENO: result: yes" >&5
43701 echo "${ECHO_T}yes" >&6
43703 EXTRALIBS_HILDON
="$HILDON_LIBS"
43704 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43705 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43706 cat >>confdefs.h
<<\_ACEOF
43707 #define wxUSE_LIBHILDON 1
43715 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43716 cat >>confdefs.h
<<\_ACEOF
43717 #define wxUSE_CMDLINE_PARSER 1
43722 if test "$wxUSE_STOPWATCH" = "yes"; then
43723 cat >>confdefs.h
<<\_ACEOF
43724 #define wxUSE_STOPWATCH 1
43729 if test "$wxUSE_DATETIME" = "yes"; then
43730 cat >>confdefs.h
<<\_ACEOF
43731 #define wxUSE_DATETIME 1
43736 if test "$wxUSE_FILE" = "yes"; then
43737 cat >>confdefs.h
<<\_ACEOF
43738 #define wxUSE_FILE 1
43743 if test "$wxUSE_FFILE" = "yes"; then
43744 cat >>confdefs.h
<<\_ACEOF
43745 #define wxUSE_FFILE 1
43750 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43751 if test "$wxUSE_STREAMS" != yes; then
43752 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43753 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43754 wxUSE_ARCHIVE_STREAMS
=no
43756 cat >>confdefs.h
<<\_ACEOF
43757 #define wxUSE_ARCHIVE_STREAMS 1
43763 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43764 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43765 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43766 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43767 elif test "$wxUSE_ZLIB" = "no"; then
43768 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43769 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43771 cat >>confdefs.h
<<\_ACEOF
43772 #define wxUSE_ZIPSTREAM 1
43778 if test "$wxUSE_TARSTREAM" = "yes"; then
43779 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43780 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43781 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43783 cat >>confdefs.h
<<\_ACEOF
43784 #define wxUSE_TARSTREAM 1
43790 if test "$wxUSE_FILESYSTEM" = "yes"; then
43791 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43792 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43793 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43794 wxUSE_FILESYSTEM
=no
43796 cat >>confdefs.h
<<\_ACEOF
43797 #define wxUSE_FILESYSTEM 1
43803 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43804 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43805 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43806 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43808 cat >>confdefs.h
<<\_ACEOF
43809 #define wxUSE_FS_ARCHIVE 1
43815 if test "$wxUSE_FS_ZIP" = "yes"; then
43816 if test "$wxUSE_FS_ARCHIVE" != yes; then
43817 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43818 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43820 cat >>confdefs.h
<<\_ACEOF
43821 #define wxUSE_FS_ZIP 1
43827 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43828 if test "$USE_UNIX" != 1; then
43829 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43830 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43831 wxUSE_ON_FATAL_EXCEPTION
=no
43833 cat >>confdefs.h
<<\_ACEOF
43834 #define wxUSE_ON_FATAL_EXCEPTION 1
43840 if test "$wxUSE_STACKWALKER" = "yes"; then
43841 cat >>confdefs.h
<<\_ACEOF
43842 #define wxUSE_STACKWALKER 1
43847 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43848 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43849 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43850 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43851 wxUSE_DEBUGREPORT
=no
43853 cat >>confdefs.h
<<\_ACEOF
43854 #define wxUSE_DEBUGREPORT 1
43857 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43858 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43863 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43864 cat >>confdefs.h
<<\_ACEOF
43865 #define wxUSE_SNGLINST_CHECKER 1
43870 if test "$wxUSE_BUSYINFO" = "yes"; then
43871 cat >>confdefs.h
<<\_ACEOF
43872 #define wxUSE_BUSYINFO 1
43877 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43878 cat >>confdefs.h
<<\_ACEOF
43879 #define wxUSE_STD_IOSTREAM 1
43884 if test "$wxUSE_STD_STRING" = "yes"; then
43885 cat >>confdefs.h
<<\_ACEOF
43886 #define wxUSE_STD_STRING 1
43891 if test "$wxUSE_STDPATHS" = "yes"; then
43892 cat >>confdefs.h
<<\_ACEOF
43893 #define wxUSE_STDPATHS 1
43898 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43899 cat >>confdefs.h
<<\_ACEOF
43900 #define wxUSE_TEXTBUFFER 1
43905 if test "$wxUSE_TEXTFILE" = "yes"; then
43906 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43907 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43908 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43910 cat >>confdefs.h
<<\_ACEOF
43911 #define wxUSE_TEXTFILE 1
43917 if test "$wxUSE_CONFIG" = "yes" ; then
43918 if test "$wxUSE_TEXTFILE" != "yes"; then
43919 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43920 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43922 cat >>confdefs.h
<<\_ACEOF
43923 #define wxUSE_CONFIG 1
43926 cat >>confdefs.h
<<\_ACEOF
43927 #define wxUSE_CONFIG_NATIVE 1
43930 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43934 if test "$wxUSE_INTL" = "yes" ; then
43935 if test "$wxUSE_FILE" != "yes"; then
43936 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43937 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43939 cat >>confdefs.h
<<\_ACEOF
43940 #define wxUSE_INTL 1
43943 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43944 GUIDIST
="$GUIDIST INTL_DIST"
43948 if test "$wxUSE_LOG" = "yes"; then
43949 cat >>confdefs.h
<<\_ACEOF
43950 #define wxUSE_LOG 1
43954 if test "$wxUSE_LOGGUI" = "yes"; then
43955 cat >>confdefs.h
<<\_ACEOF
43956 #define wxUSE_LOGGUI 1
43961 if test "$wxUSE_LOGWINDOW" = "yes"; then
43962 cat >>confdefs.h
<<\_ACEOF
43963 #define wxUSE_LOGWINDOW 1
43968 if test "$wxUSE_LOGDIALOG" = "yes"; then
43969 cat >>confdefs.h
<<\_ACEOF
43970 #define wxUSE_LOG_DIALOG 1
43975 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
43978 if test "$wxUSE_LONGLONG" = "yes"; then
43979 cat >>confdefs.h
<<\_ACEOF
43980 #define wxUSE_LONGLONG 1
43985 if test "$wxUSE_GEOMETRY" = "yes"; then
43986 cat >>confdefs.h
<<\_ACEOF
43987 #define wxUSE_GEOMETRY 1
43992 if test "$wxUSE_STREAMS" = "yes" ; then
43993 cat >>confdefs.h
<<\_ACEOF
43994 #define wxUSE_STREAMS 1
43999 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44000 cat >>confdefs.h
<<\_ACEOF
44001 #define wxUSE_PRINTF_POS_PARAMS 1
44008 if test "$wxUSE_DATETIME" = "yes"; then
44010 for ac_func
in strptime
44012 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44013 echo "$as_me:$LINENO: checking for $ac_func" >&5
44014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44015 if eval "test \"\${$as_ac_var+set}\" = set"; then
44016 echo $ECHO_N "(cached) $ECHO_C" >&6
44018 cat >conftest.
$ac_ext <<_ACEOF
44021 cat confdefs.h
>>conftest.
$ac_ext
44022 cat >>conftest.
$ac_ext <<_ACEOF
44023 /* end confdefs.h. */
44024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44026 #define $ac_func innocuous_$ac_func
44028 /* System header to define __stub macros and hopefully few prototypes,
44029 which can conflict with char $ac_func (); below.
44030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44031 <limits.h> exists even on freestanding compilers. */
44034 # include <limits.h>
44036 # include <assert.h>
44041 /* Override any gcc2 internal prototype to avoid an error. */
44046 /* We use char because int might match the return type of a gcc2
44047 builtin and then its argument prototype would still apply. */
44049 /* The GNU C library defines this for functions which it implements
44050 to always fail with ENOSYS. Some functions are actually named
44051 something starting with __ and the normal name is an alias. */
44052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44055 char (*f) () = $ac_func;
44064 return f != $ac_func;
44069 rm -f conftest.
$ac_objext conftest
$ac_exeext
44070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44071 (eval $ac_link) 2>conftest.er1
44073 grep -v '^ *+' conftest.er1
>conftest.err
44075 cat conftest.err
>&5
44076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44077 (exit $ac_status); } &&
44078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44080 (eval $ac_try) 2>&5
44082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44083 (exit $ac_status); }; } &&
44084 { ac_try
='test -s conftest$ac_exeext'
44085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44086 (eval $ac_try) 2>&5
44088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44089 (exit $ac_status); }; }; then
44090 eval "$as_ac_var=yes"
44092 echo "$as_me: failed program was:" >&5
44093 sed 's/^/| /' conftest.
$ac_ext >&5
44095 eval "$as_ac_var=no"
44097 rm -f conftest.err conftest.
$ac_objext \
44098 conftest
$ac_exeext conftest.
$ac_ext
44100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44102 if test `eval echo '${'$as_ac_var'}'` = yes; then
44103 cat >>confdefs.h
<<_ACEOF
44104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44110 if test "$ac_cv_func_strptime" = "yes"; then
44111 echo "$as_me:$LINENO: checking for strptime declaration" >&5
44112 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
44113 if test "${wx_cv_func_strptime_decl+set}" = set; then
44114 echo $ECHO_N "(cached) $ECHO_C" >&6
44118 ac_cpp
='$CXXCPP $CPPFLAGS'
44119 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44120 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44121 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44123 cat >conftest.
$ac_ext <<_ACEOF
44126 cat confdefs.h
>>conftest.
$ac_ext
44127 cat >>conftest.
$ac_ext <<_ACEOF
44128 /* end confdefs.h. */
44137 strptime("foo", "bar", &t);
44143 rm -f conftest.
$ac_objext
44144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44145 (eval $ac_compile) 2>conftest.er1
44147 grep -v '^ *+' conftest.er1
>conftest.err
44149 cat conftest.err
>&5
44150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44151 (exit $ac_status); } &&
44152 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44154 (eval $ac_try) 2>&5
44156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44157 (exit $ac_status); }; } &&
44158 { ac_try
='test -s conftest.$ac_objext'
44159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44160 (eval $ac_try) 2>&5
44162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44163 (exit $ac_status); }; }; then
44164 wx_cv_func_strptime_decl
=yes
44166 echo "$as_me: failed program was:" >&5
44167 sed 's/^/| /' conftest.
$ac_ext >&5
44169 wx_cv_func_strptime_decl
=no
44172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44174 ac_cpp
='$CPP $CPPFLAGS'
44175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44182 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44183 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
44185 if test "$wx_cv_func_strptime_decl" = "yes"; then
44186 cat >>confdefs.h
<<\_ACEOF
44187 #define HAVE_STRPTIME_DECL 1
44192 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44193 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
44194 if test "${wx_cv_var_timezone+set}" = set; then
44195 echo $ECHO_N "(cached) $ECHO_C" >&6
44199 ac_cpp
='$CXXCPP $CPPFLAGS'
44200 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44201 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44202 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44204 cat >conftest.
$ac_ext <<_ACEOF
44207 cat confdefs.h
>>conftest.
$ac_ext
44208 cat >>conftest.
$ac_ext <<_ACEOF
44209 /* end confdefs.h. */
44224 rm -f conftest.
$ac_objext
44225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44226 (eval $ac_compile) 2>conftest.er1
44228 grep -v '^ *+' conftest.er1
>conftest.err
44230 cat conftest.err
>&5
44231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44232 (exit $ac_status); } &&
44233 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44235 (eval $ac_try) 2>&5
44237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44238 (exit $ac_status); }; } &&
44239 { ac_try
='test -s conftest.$ac_objext'
44240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44241 (eval $ac_try) 2>&5
44243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44244 (exit $ac_status); }; }; then
44246 wx_cv_var_timezone
=timezone
44249 echo "$as_me: failed program was:" >&5
44250 sed 's/^/| /' conftest.
$ac_ext >&5
44253 cat >conftest.
$ac_ext <<_ACEOF
44256 cat confdefs.h
>>conftest.
$ac_ext
44257 cat >>conftest.
$ac_ext <<_ACEOF
44258 /* end confdefs.h. */
44273 rm -f conftest.
$ac_objext
44274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44275 (eval $ac_compile) 2>conftest.er1
44277 grep -v '^ *+' conftest.er1
>conftest.err
44279 cat conftest.err
>&5
44280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44281 (exit $ac_status); } &&
44282 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44284 (eval $ac_try) 2>&5
44286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44287 (exit $ac_status); }; } &&
44288 { ac_try
='test -s conftest.$ac_objext'
44289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44290 (eval $ac_try) 2>&5
44292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44293 (exit $ac_status); }; }; then
44295 wx_cv_var_timezone
=_timezone
44298 echo "$as_me: failed program was:" >&5
44299 sed 's/^/| /' conftest.
$ac_ext >&5
44302 cat >conftest.
$ac_ext <<_ACEOF
44305 cat confdefs.h
>>conftest.
$ac_ext
44306 cat >>conftest.
$ac_ext <<_ACEOF
44307 /* end confdefs.h. */
44322 rm -f conftest.
$ac_objext
44323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44324 (eval $ac_compile) 2>conftest.er1
44326 grep -v '^ *+' conftest.er1
>conftest.err
44328 cat conftest.err
>&5
44329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44330 (exit $ac_status); } &&
44331 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44333 (eval $ac_try) 2>&5
44335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44336 (exit $ac_status); }; } &&
44337 { ac_try
='test -s conftest.$ac_objext'
44338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44339 (eval $ac_try) 2>&5
44341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44342 (exit $ac_status); }; }; then
44344 wx_cv_var_timezone
=__timezone
44347 echo "$as_me: failed program was:" >&5
44348 sed 's/^/| /' conftest.
$ac_ext >&5
44351 if test "$USE_DOS" = 0 ; then
44352 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44353 echo "$as_me: WARNING: no timezone variable" >&2;}
44358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44368 ac_cpp
='$CPP $CPPFLAGS'
44369 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44370 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44371 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44376 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44377 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44379 if test "x$wx_cv_var_timezone" != x
; then
44380 cat >>confdefs.h
<<_ACEOF
44381 #define WX_TIMEZONE $wx_cv_var_timezone
44387 for ac_func
in localtime
44389 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44390 echo "$as_me:$LINENO: checking for $ac_func" >&5
44391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44392 if eval "test \"\${$as_ac_var+set}\" = set"; then
44393 echo $ECHO_N "(cached) $ECHO_C" >&6
44395 cat >conftest.
$ac_ext <<_ACEOF
44398 cat confdefs.h
>>conftest.
$ac_ext
44399 cat >>conftest.
$ac_ext <<_ACEOF
44400 /* end confdefs.h. */
44401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44403 #define $ac_func innocuous_$ac_func
44405 /* System header to define __stub macros and hopefully few prototypes,
44406 which can conflict with char $ac_func (); below.
44407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44408 <limits.h> exists even on freestanding compilers. */
44411 # include <limits.h>
44413 # include <assert.h>
44418 /* Override any gcc2 internal prototype to avoid an error. */
44423 /* We use char because int might match the return type of a gcc2
44424 builtin and then its argument prototype would still apply. */
44426 /* The GNU C library defines this for functions which it implements
44427 to always fail with ENOSYS. Some functions are actually named
44428 something starting with __ and the normal name is an alias. */
44429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44432 char (*f) () = $ac_func;
44441 return f != $ac_func;
44446 rm -f conftest.
$ac_objext conftest
$ac_exeext
44447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44448 (eval $ac_link) 2>conftest.er1
44450 grep -v '^ *+' conftest.er1
>conftest.err
44452 cat conftest.err
>&5
44453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44454 (exit $ac_status); } &&
44455 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44457 (eval $ac_try) 2>&5
44459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44460 (exit $ac_status); }; } &&
44461 { ac_try
='test -s conftest$ac_exeext'
44462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44463 (eval $ac_try) 2>&5
44465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44466 (exit $ac_status); }; }; then
44467 eval "$as_ac_var=yes"
44469 echo "$as_me: failed program was:" >&5
44470 sed 's/^/| /' conftest.
$ac_ext >&5
44472 eval "$as_ac_var=no"
44474 rm -f conftest.err conftest.
$ac_objext \
44475 conftest
$ac_exeext conftest.
$ac_ext
44477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44479 if test `eval echo '${'$as_ac_var'}'` = yes; then
44480 cat >>confdefs.h
<<_ACEOF
44481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44488 if test "$ac_cv_func_localtime" = "yes"; then
44489 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44490 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44491 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44492 echo $ECHO_N "(cached) $ECHO_C" >&6
44495 cat >conftest.
$ac_ext <<_ACEOF
44498 cat confdefs.h
>>conftest.
$ac_ext
44499 cat >>conftest.
$ac_ext <<_ACEOF
44500 /* end confdefs.h. */
44515 rm -f conftest.
$ac_objext
44516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44517 (eval $ac_compile) 2>conftest.er1
44519 grep -v '^ *+' conftest.er1
>conftest.err
44521 cat conftest.err
>&5
44522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44523 (exit $ac_status); } &&
44524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44526 (eval $ac_try) 2>&5
44528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44529 (exit $ac_status); }; } &&
44530 { ac_try
='test -s conftest.$ac_objext'
44531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44532 (eval $ac_try) 2>&5
44534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44535 (exit $ac_status); }; }; then
44537 wx_cv_struct_tm_has_gmtoff
=yes
44540 echo "$as_me: failed program was:" >&5
44541 sed 's/^/| /' conftest.
$ac_ext >&5
44543 wx_cv_struct_tm_has_gmtoff
=no
44546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44549 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44550 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44553 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44554 cat >>confdefs.h
<<\_ACEOF
44555 #define WX_GMTOFF_IN_TM 1
44562 for ac_func
in gettimeofday ftime
44564 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44565 echo "$as_me:$LINENO: checking for $ac_func" >&5
44566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44567 if eval "test \"\${$as_ac_var+set}\" = set"; then
44568 echo $ECHO_N "(cached) $ECHO_C" >&6
44570 cat >conftest.
$ac_ext <<_ACEOF
44573 cat confdefs.h
>>conftest.
$ac_ext
44574 cat >>conftest.
$ac_ext <<_ACEOF
44575 /* end confdefs.h. */
44576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44578 #define $ac_func innocuous_$ac_func
44580 /* System header to define __stub macros and hopefully few prototypes,
44581 which can conflict with char $ac_func (); below.
44582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44583 <limits.h> exists even on freestanding compilers. */
44586 # include <limits.h>
44588 # include <assert.h>
44593 /* Override any gcc2 internal prototype to avoid an error. */
44598 /* We use char because int might match the return type of a gcc2
44599 builtin and then its argument prototype would still apply. */
44601 /* The GNU C library defines this for functions which it implements
44602 to always fail with ENOSYS. Some functions are actually named
44603 something starting with __ and the normal name is an alias. */
44604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44607 char (*f) () = $ac_func;
44616 return f != $ac_func;
44621 rm -f conftest.
$ac_objext conftest
$ac_exeext
44622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44623 (eval $ac_link) 2>conftest.er1
44625 grep -v '^ *+' conftest.er1
>conftest.err
44627 cat conftest.err
>&5
44628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44629 (exit $ac_status); } &&
44630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44632 (eval $ac_try) 2>&5
44634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44635 (exit $ac_status); }; } &&
44636 { ac_try
='test -s conftest$ac_exeext'
44637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44638 (eval $ac_try) 2>&5
44640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44641 (exit $ac_status); }; }; then
44642 eval "$as_ac_var=yes"
44644 echo "$as_me: failed program was:" >&5
44645 sed 's/^/| /' conftest.
$ac_ext >&5
44647 eval "$as_ac_var=no"
44649 rm -f conftest.err conftest.
$ac_objext \
44650 conftest
$ac_exeext conftest.
$ac_ext
44652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44654 if test `eval echo '${'$as_ac_var'}'` = yes; then
44655 cat >>confdefs.h
<<_ACEOF
44656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44663 if test "$ac_cv_func_gettimeofday" = "yes"; then
44664 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44665 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44666 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44667 echo $ECHO_N "(cached) $ECHO_C" >&6
44670 cat >conftest.
$ac_ext <<_ACEOF
44673 cat confdefs.h
>>conftest.
$ac_ext
44674 cat >>conftest.
$ac_ext <<_ACEOF
44675 /* end confdefs.h. */
44677 #include <sys/time.h>
44678 #include <unistd.h>
44685 gettimeofday(&tv, NULL);
44691 rm -f conftest.
$ac_objext
44692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44693 (eval $ac_compile) 2>conftest.er1
44695 grep -v '^ *+' conftest.er1
>conftest.err
44697 cat conftest.err
>&5
44698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44699 (exit $ac_status); } &&
44700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44702 (eval $ac_try) 2>&5
44704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44705 (exit $ac_status); }; } &&
44706 { ac_try
='test -s conftest.$ac_objext'
44707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44708 (eval $ac_try) 2>&5
44710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44711 (exit $ac_status); }; }; then
44712 wx_cv_func_gettimeofday_has_2_args
=yes
44714 echo "$as_me: failed program was:" >&5
44715 sed 's/^/| /' conftest.
$ac_ext >&5
44717 cat >conftest.
$ac_ext <<_ACEOF
44720 cat confdefs.h
>>conftest.
$ac_ext
44721 cat >>conftest.
$ac_ext <<_ACEOF
44722 /* end confdefs.h. */
44724 #include <sys/time.h>
44725 #include <unistd.h>
44738 rm -f conftest.
$ac_objext
44739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44740 (eval $ac_compile) 2>conftest.er1
44742 grep -v '^ *+' conftest.er1
>conftest.err
44744 cat conftest.err
>&5
44745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44746 (exit $ac_status); } &&
44747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44749 (eval $ac_try) 2>&5
44751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44752 (exit $ac_status); }; } &&
44753 { ac_try
='test -s conftest.$ac_objext'
44754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44755 (eval $ac_try) 2>&5
44757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44758 (exit $ac_status); }; }; then
44759 wx_cv_func_gettimeofday_has_2_args
=no
44761 echo "$as_me: failed program was:" >&5
44762 sed 's/^/| /' conftest.
$ac_ext >&5
44765 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44766 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44767 wx_cv_func_gettimeofday_has_2_args
=unknown
44771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44777 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44778 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44780 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44781 cat >>confdefs.h
<<\_ACEOF
44782 #define WX_GETTIMEOFDAY_NO_TZ 1
44788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44792 if test "$wxUSE_SOCKETS" = "yes"; then
44793 if test "$wxUSE_MGL" = "1"; then
44794 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44795 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44800 if test "$wxUSE_SOCKETS" = "yes"; then
44801 if test "$TOOLKIT" != "MSW"; then
44802 echo "$as_me:$LINENO: checking for socket" >&5
44803 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44804 if test "${ac_cv_func_socket+set}" = set; then
44805 echo $ECHO_N "(cached) $ECHO_C" >&6
44807 cat >conftest.
$ac_ext <<_ACEOF
44810 cat confdefs.h
>>conftest.
$ac_ext
44811 cat >>conftest.
$ac_ext <<_ACEOF
44812 /* end confdefs.h. */
44813 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44815 #define socket innocuous_socket
44817 /* System header to define __stub macros and hopefully few prototypes,
44818 which can conflict with char socket (); below.
44819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44820 <limits.h> exists even on freestanding compilers. */
44823 # include <limits.h>
44825 # include <assert.h>
44830 /* Override any gcc2 internal prototype to avoid an error. */
44835 /* We use char because int might match the return type of a gcc2
44836 builtin and then its argument prototype would still apply. */
44838 /* The GNU C library defines this for functions which it implements
44839 to always fail with ENOSYS. Some functions are actually named
44840 something starting with __ and the normal name is an alias. */
44841 #if defined (__stub_socket) || defined (__stub___socket)
44844 char (*f) () = socket;
44853 return f != socket;
44858 rm -f conftest.
$ac_objext conftest
$ac_exeext
44859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44860 (eval $ac_link) 2>conftest.er1
44862 grep -v '^ *+' conftest.er1
>conftest.err
44864 cat conftest.err
>&5
44865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44866 (exit $ac_status); } &&
44867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44869 (eval $ac_try) 2>&5
44871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44872 (exit $ac_status); }; } &&
44873 { ac_try
='test -s conftest$ac_exeext'
44874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44875 (eval $ac_try) 2>&5
44877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44878 (exit $ac_status); }; }; then
44879 ac_cv_func_socket
=yes
44881 echo "$as_me: failed program was:" >&5
44882 sed 's/^/| /' conftest.
$ac_ext >&5
44884 ac_cv_func_socket
=no
44886 rm -f conftest.err conftest.
$ac_objext \
44887 conftest
$ac_exeext conftest.
$ac_ext
44889 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44890 echo "${ECHO_T}$ac_cv_func_socket" >&6
44891 if test $ac_cv_func_socket = yes; then
44895 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44896 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44897 if test "${ac_cv_lib_socket_socket+set}" = set; then
44898 echo $ECHO_N "(cached) $ECHO_C" >&6
44900 ac_check_lib_save_LIBS
=$LIBS
44901 LIBS
="-lsocket $LIBS"
44902 cat >conftest.
$ac_ext <<_ACEOF
44905 cat confdefs.h
>>conftest.
$ac_ext
44906 cat >>conftest.
$ac_ext <<_ACEOF
44907 /* end confdefs.h. */
44909 /* Override any gcc2 internal prototype to avoid an error. */
44913 /* We use char because int might match the return type of a gcc2
44914 builtin and then its argument prototype would still apply. */
44924 rm -f conftest.
$ac_objext conftest
$ac_exeext
44925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44926 (eval $ac_link) 2>conftest.er1
44928 grep -v '^ *+' conftest.er1
>conftest.err
44930 cat conftest.err
>&5
44931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44932 (exit $ac_status); } &&
44933 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44935 (eval $ac_try) 2>&5
44937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44938 (exit $ac_status); }; } &&
44939 { ac_try
='test -s conftest$ac_exeext'
44940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44941 (eval $ac_try) 2>&5
44943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44944 (exit $ac_status); }; }; then
44945 ac_cv_lib_socket_socket
=yes
44947 echo "$as_me: failed program was:" >&5
44948 sed 's/^/| /' conftest.
$ac_ext >&5
44950 ac_cv_lib_socket_socket
=no
44952 rm -f conftest.err conftest.
$ac_objext \
44953 conftest
$ac_exeext conftest.
$ac_ext
44954 LIBS
=$ac_check_lib_save_LIBS
44956 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44957 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44958 if test $ac_cv_lib_socket_socket = yes; then
44959 if test "$INET_LINK" != " -lsocket"; then
44960 INET_LINK
="$INET_LINK -lsocket"
44964 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44965 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44978 if test "$wxUSE_SOCKETS" = "yes" ; then
44979 if test "$TOOLKIT" != "MSW"; then
44980 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44981 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44982 if test "${wx_cv_type_getsockname3+set}" = set; then
44983 echo $ECHO_N "(cached) $ECHO_C" >&6
44987 ac_cpp
='$CXXCPP $CPPFLAGS'
44988 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44989 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44990 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44992 cat >conftest.
$ac_ext <<_ACEOF
44995 cat confdefs.h
>>conftest.
$ac_ext
44996 cat >>conftest.
$ac_ext <<_ACEOF
44997 /* end confdefs.h. */
44999 #include <sys/types.h>
45000 #include <sys/socket.h>
45007 getsockname(0, 0, &len);
45013 rm -f conftest.
$ac_objext
45014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45015 (eval $ac_compile) 2>conftest.er1
45017 grep -v '^ *+' conftest.er1
>conftest.err
45019 cat conftest.err
>&5
45020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45021 (exit $ac_status); } &&
45022 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45024 (eval $ac_try) 2>&5
45026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45027 (exit $ac_status); }; } &&
45028 { ac_try
='test -s conftest.$ac_objext'
45029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45030 (eval $ac_try) 2>&5
45032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45033 (exit $ac_status); }; }; then
45034 wx_cv_type_getsockname3
=socklen_t
45036 echo "$as_me: failed program was:" >&5
45037 sed 's/^/| /' conftest.
$ac_ext >&5
45040 CFLAGS_OLD
="$CFLAGS"
45041 if test "$GCC" = yes ; then
45042 CFLAGS
="-Werror $CFLAGS"
45045 cat >conftest.
$ac_ext <<_ACEOF
45048 cat confdefs.h
>>conftest.
$ac_ext
45049 cat >>conftest.
$ac_ext <<_ACEOF
45050 /* end confdefs.h. */
45052 #include <sys/types.h>
45053 #include <sys/socket.h>
45060 getsockname(0, 0, &len);
45066 rm -f conftest.
$ac_objext
45067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45068 (eval $ac_compile) 2>conftest.er1
45070 grep -v '^ *+' conftest.er1
>conftest.err
45072 cat conftest.err
>&5
45073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45074 (exit $ac_status); } &&
45075 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45077 (eval $ac_try) 2>&5
45079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45080 (exit $ac_status); }; } &&
45081 { ac_try
='test -s conftest.$ac_objext'
45082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45083 (eval $ac_try) 2>&5
45085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45086 (exit $ac_status); }; }; then
45087 wx_cv_type_getsockname3
=size_t
45089 echo "$as_me: failed program was:" >&5
45090 sed 's/^/| /' conftest.
$ac_ext >&5
45092 cat >conftest.
$ac_ext <<_ACEOF
45095 cat confdefs.h
>>conftest.
$ac_ext
45096 cat >>conftest.
$ac_ext <<_ACEOF
45097 /* end confdefs.h. */
45099 #include <sys/types.h>
45100 #include <sys/socket.h>
45107 getsockname(0, 0, &len);
45113 rm -f conftest.
$ac_objext
45114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45115 (eval $ac_compile) 2>conftest.er1
45117 grep -v '^ *+' conftest.er1
>conftest.err
45119 cat conftest.err
>&5
45120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45121 (exit $ac_status); } &&
45122 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45124 (eval $ac_try) 2>&5
45126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45127 (exit $ac_status); }; } &&
45128 { ac_try
='test -s conftest.$ac_objext'
45129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45130 (eval $ac_try) 2>&5
45132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45133 (exit $ac_status); }; }; then
45134 wx_cv_type_getsockname3
=int
45136 echo "$as_me: failed program was:" >&5
45137 sed 's/^/| /' conftest.
$ac_ext >&5
45139 wx_cv_type_getsockname3
=unknown
45142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45147 CFLAGS
="$CFLAGS_OLD"
45151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45153 ac_cpp
='$CPP $CPPFLAGS'
45154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45160 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45161 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
45163 if test "$wx_cv_type_getsockname3" = "unknown"; then
45165 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45166 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45168 cat >>confdefs.h
<<_ACEOF
45169 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45173 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45174 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
45175 if test "${wx_cv_type_getsockopt5+set}" = set; then
45176 echo $ECHO_N "(cached) $ECHO_C" >&6
45179 cat >conftest.
$ac_ext <<_ACEOF
45182 cat confdefs.h
>>conftest.
$ac_ext
45183 cat >>conftest.
$ac_ext <<_ACEOF
45184 /* end confdefs.h. */
45186 #include <sys/types.h>
45187 #include <sys/socket.h>
45194 getsockopt(0, 0, 0, 0, &len);
45200 rm -f conftest.
$ac_objext
45201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45202 (eval $ac_compile) 2>conftest.er1
45204 grep -v '^ *+' conftest.er1
>conftest.err
45206 cat conftest.err
>&5
45207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45208 (exit $ac_status); } &&
45209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45211 (eval $ac_try) 2>&5
45213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45214 (exit $ac_status); }; } &&
45215 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
45221 wx_cv_type_getsockopt5
=socklen_t
45223 echo "$as_me: failed program was:" >&5
45224 sed 's/^/| /' conftest.
$ac_ext >&5
45228 ac_cpp
='$CXXCPP $CPPFLAGS'
45229 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45230 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45231 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45233 cat >conftest.
$ac_ext <<_ACEOF
45236 cat confdefs.h
>>conftest.
$ac_ext
45237 cat >>conftest.
$ac_ext <<_ACEOF
45238 /* end confdefs.h. */
45240 #include <sys/types.h>
45241 #include <sys/socket.h>
45248 getsockopt(0, 0, 0, 0, &len);
45254 rm -f conftest.
$ac_objext
45255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45256 (eval $ac_compile) 2>conftest.er1
45258 grep -v '^ *+' conftest.er1
>conftest.err
45260 cat conftest.err
>&5
45261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45262 (exit $ac_status); } &&
45263 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45265 (eval $ac_try) 2>&5
45267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45268 (exit $ac_status); }; } &&
45269 { ac_try
='test -s conftest.$ac_objext'
45270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45271 (eval $ac_try) 2>&5
45273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45274 (exit $ac_status); }; }; then
45275 wx_cv_type_getsockopt5
=size_t
45277 echo "$as_me: failed program was:" >&5
45278 sed 's/^/| /' conftest.
$ac_ext >&5
45280 cat >conftest.
$ac_ext <<_ACEOF
45283 cat confdefs.h
>>conftest.
$ac_ext
45284 cat >>conftest.
$ac_ext <<_ACEOF
45285 /* end confdefs.h. */
45287 #include <sys/types.h>
45288 #include <sys/socket.h>
45295 getsockopt(0, 0, 0, 0, &len);
45301 rm -f conftest.
$ac_objext
45302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45303 (eval $ac_compile) 2>conftest.er1
45305 grep -v '^ *+' conftest.er1
>conftest.err
45307 cat conftest.err
>&5
45308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45309 (exit $ac_status); } &&
45310 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45312 (eval $ac_try) 2>&5
45314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45315 (exit $ac_status); }; } &&
45316 { ac_try
='test -s conftest.$ac_objext'
45317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45318 (eval $ac_try) 2>&5
45320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45321 (exit $ac_status); }; }; then
45322 wx_cv_type_getsockopt5
=int
45324 echo "$as_me: failed program was:" >&5
45325 sed 's/^/| /' conftest.
$ac_ext >&5
45327 wx_cv_type_getsockopt5
=unknown
45330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45335 ac_cpp
='$CPP $CPPFLAGS'
45336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45346 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45347 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45349 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45351 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45352 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45354 cat >>confdefs.h
<<_ACEOF
45355 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45362 if test "$wxUSE_SOCKETS" = "yes" ; then
45363 cat >>confdefs.h
<<\_ACEOF
45364 #define wxUSE_SOCKETS 1
45367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
45370 if test "$wxUSE_PROTOCOL" = "yes"; then
45371 if test "$wxUSE_SOCKETS" != "yes"; then
45372 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45373 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45378 if test "$wxUSE_PROTOCOL" = "yes"; then
45379 cat >>confdefs.h
<<\_ACEOF
45380 #define wxUSE_PROTOCOL 1
45384 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45385 cat >>confdefs.h
<<\_ACEOF
45386 #define wxUSE_PROTOCOL_HTTP 1
45390 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45391 cat >>confdefs.h
<<\_ACEOF
45392 #define wxUSE_PROTOCOL_FTP 1
45396 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45397 cat >>confdefs.h
<<\_ACEOF
45398 #define wxUSE_PROTOCOL_FILE 1
45403 if test "$wxUSE_FS_INET" = "yes"; then
45404 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45405 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45410 if test "$wxUSE_URL" = "yes"; then
45411 if test "$wxUSE_PROTOCOL" != "yes"; then
45412 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45413 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45416 if test "$wxUSE_URL" = "yes"; then
45417 cat >>confdefs.h
<<\_ACEOF
45418 #define wxUSE_URL 1
45424 if test "$wxUSE_VARIANT" = "yes"; then
45425 cat >>confdefs.h
<<\_ACEOF
45426 #define wxUSE_VARIANT 1
45431 if test "$wxUSE_FS_INET" = "yes"; then
45432 cat >>confdefs.h
<<\_ACEOF
45433 #define wxUSE_FS_INET 1
45439 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45442 if test "$TOOLKIT" = "MSW"; then
45445 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45446 if test "$USE_DARWIN" = 1; then
45447 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45448 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45450 ac_cpp
='$CXXCPP $CPPFLAGS'
45451 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45452 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45453 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45455 cat >conftest.
$ac_ext <<_ACEOF
45458 cat confdefs.h
>>conftest.
$ac_ext
45459 cat >>conftest.
$ac_ext <<_ACEOF
45460 /* end confdefs.h. */
45461 #include <IOKit/hid/IOHIDLib.h>
45465 IOHIDQueueInterface *qi = NULL;
45466 IOHIDCallbackFunction cb = NULL;
45467 qi->setEventCallout(NULL, cb, NULL, NULL);
45472 rm -f conftest.
$ac_objext
45473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45474 (eval $ac_compile) 2>conftest.er1
45476 grep -v '^ *+' conftest.er1
>conftest.err
45478 cat conftest.err
>&5
45479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45480 (exit $ac_status); } &&
45481 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45483 (eval $ac_try) 2>&5
45485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45486 (exit $ac_status); }; } &&
45487 { ac_try
='test -s conftest.$ac_objext'
45488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45489 (eval $ac_try) 2>&5
45491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45492 (exit $ac_status); }; }; then
45496 echo "$as_me: failed program was:" >&5
45497 sed 's/^/| /' conftest.
$ac_ext >&5
45500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45502 ac_cpp
='$CPP $CPPFLAGS'
45503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45507 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45508 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45512 if test "$wxUSE_MGL" != "1"; then
45513 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
45514 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
45515 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
45516 echo $ECHO_N "(cached) $ECHO_C" >&6
45518 cat >conftest.
$ac_ext <<_ACEOF
45521 cat confdefs.h
>>conftest.
$ac_ext
45522 cat >>conftest.
$ac_ext <<_ACEOF
45523 /* end confdefs.h. */
45526 #include <linux/joystick.h>
45528 rm -f conftest.
$ac_objext
45529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45530 (eval $ac_compile) 2>conftest.er1
45532 grep -v '^ *+' conftest.er1
>conftest.err
45534 cat conftest.err
>&5
45535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45536 (exit $ac_status); } &&
45537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45539 (eval $ac_try) 2>&5
45541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45542 (exit $ac_status); }; } &&
45543 { ac_try
='test -s conftest.$ac_objext'
45544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45545 (eval $ac_try) 2>&5
45547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45548 (exit $ac_status); }; }; then
45549 ac_cv_header_linux_joystick_h
=yes
45551 echo "$as_me: failed program was:" >&5
45552 sed 's/^/| /' conftest.
$ac_ext >&5
45554 ac_cv_header_linux_joystick_h
=no
45556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45558 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
45559 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
45560 if test $ac_cv_header_linux_joystick_h = yes; then
45568 if test "$wxUSE_JOYSTICK" = "yes"; then
45569 cat >>confdefs.h
<<\_ACEOF
45570 #define wxUSE_JOYSTICK 1
45573 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
45575 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45576 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45582 if test "$wxUSE_FONTMAP" = "yes" ; then
45583 cat >>confdefs.h
<<\_ACEOF
45584 #define wxUSE_FONTMAP 1
45589 if test "$wxUSE_UNICODE" = "yes" ; then
45590 cat >>confdefs.h
<<\_ACEOF
45591 #define wxUSE_UNICODE 1
45595 if test "$USE_WIN32" != 1; then
45596 wxUSE_UNICODE_MSLU
=no
45599 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45600 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45601 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45602 if test "${ac_cv_lib_unicows_main+set}" = set; then
45603 echo $ECHO_N "(cached) $ECHO_C" >&6
45605 ac_check_lib_save_LIBS
=$LIBS
45606 LIBS
="-lunicows $LIBS"
45607 cat >conftest.
$ac_ext <<_ACEOF
45610 cat confdefs.h
>>conftest.
$ac_ext
45611 cat >>conftest.
$ac_ext <<_ACEOF
45612 /* end confdefs.h. */
45623 rm -f conftest.
$ac_objext conftest
$ac_exeext
45624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45625 (eval $ac_link) 2>conftest.er1
45627 grep -v '^ *+' conftest.er1
>conftest.err
45629 cat conftest.err
>&5
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); } &&
45632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45634 (eval $ac_try) 2>&5
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); }; } &&
45638 { ac_try
='test -s conftest$ac_exeext'
45639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45640 (eval $ac_try) 2>&5
45642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45643 (exit $ac_status); }; }; then
45644 ac_cv_lib_unicows_main
=yes
45646 echo "$as_me: failed program was:" >&5
45647 sed 's/^/| /' conftest.
$ac_ext >&5
45649 ac_cv_lib_unicows_main
=no
45651 rm -f conftest.err conftest.
$ac_objext \
45652 conftest
$ac_exeext conftest.
$ac_ext
45653 LIBS
=$ac_check_lib_save_LIBS
45655 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45656 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45657 if test $ac_cv_lib_unicows_main = yes; then
45659 cat >>confdefs.h
<<\_ACEOF
45660 #define wxUSE_UNICODE_MSLU 1
45666 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45667 Applications will only run on Windows NT/2000/XP!" >&5
45668 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45669 Applications will only run on Windows NT/2000/XP!" >&2;}
45670 wxUSE_UNICODE_MSLU
=no
45677 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45678 cat >>confdefs.h
<<\_ACEOF
45679 #define wxUSE_EXPERIMENTAL_PRINTF 1
45685 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45686 cat >>confdefs.h
<<\_ACEOF
45687 #define wxUSE_POSTSCRIPT 1
45692 cat >>confdefs.h
<<\_ACEOF
45693 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45697 cat >>confdefs.h
<<\_ACEOF
45698 #define wxUSE_NORMALIZED_PS_FONTS 1
45703 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45704 cat >>confdefs.h
<<\_ACEOF
45705 #define wxUSE_CONSTRAINTS 1
45708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45711 if test "$wxUSE_MDI" = "yes"; then
45712 cat >>confdefs.h
<<\_ACEOF
45713 #define wxUSE_MDI 1
45717 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45718 cat >>confdefs.h
<<\_ACEOF
45719 #define wxUSE_MDI_ARCHITECTURE 1
45722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45726 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45727 cat >>confdefs.h
<<\_ACEOF
45728 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45731 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45732 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
45737 if test "$wxUSE_HELP" = "yes"; then
45738 cat >>confdefs.h
<<\_ACEOF
45739 #define wxUSE_HELP 1
45742 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45744 if test "$wxUSE_MSW" = 1; then
45745 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45746 cat >>confdefs.h
<<\_ACEOF
45747 #define wxUSE_MS_HTML_HELP 1
45753 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45754 if test "$wxUSE_HTML" = "yes"; then
45755 cat >>confdefs.h
<<\_ACEOF
45756 #define wxUSE_WXHTML_HELP 1
45760 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45761 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45762 wxUSE_WXHTML_HELP
=no
45767 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45768 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45769 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45770 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45772 cat >>confdefs.h
<<\_ACEOF
45773 #define wxUSE_PRINTING_ARCHITECTURE 1
45777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45780 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45781 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45782 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45783 { (exit 1); exit 1; }; }
45787 if test "$wxUSE_METAFILE" = "yes"; then
45788 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45789 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45790 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45796 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45797 -o "$wxUSE_CLIPBOARD" = "yes" \
45798 -o "$wxUSE_OLE" = "yes" \
45799 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45801 for ac_header
in ole2.h
45803 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45805 echo "$as_me:$LINENO: checking for $ac_header" >&5
45806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45808 echo $ECHO_N "(cached) $ECHO_C" >&6
45810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45813 # Is the header compilable?
45814 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45815 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45816 cat >conftest.
$ac_ext <<_ACEOF
45819 cat confdefs.h
>>conftest.
$ac_ext
45820 cat >>conftest.
$ac_ext <<_ACEOF
45821 /* end confdefs.h. */
45822 $ac_includes_default
45823 #include <$ac_header>
45825 rm -f conftest.
$ac_objext
45826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45827 (eval $ac_compile) 2>conftest.er1
45829 grep -v '^ *+' conftest.er1
>conftest.err
45831 cat conftest.err
>&5
45832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45833 (exit $ac_status); } &&
45834 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45836 (eval $ac_try) 2>&5
45838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45839 (exit $ac_status); }; } &&
45840 { ac_try
='test -s conftest.$ac_objext'
45841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45842 (eval $ac_try) 2>&5
45844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45845 (exit $ac_status); }; }; then
45846 ac_header_compiler
=yes
45848 echo "$as_me: failed program was:" >&5
45849 sed 's/^/| /' conftest.
$ac_ext >&5
45851 ac_header_compiler
=no
45853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45855 echo "${ECHO_T}$ac_header_compiler" >&6
45857 # Is the header present?
45858 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45860 cat >conftest.
$ac_ext <<_ACEOF
45863 cat confdefs.h
>>conftest.
$ac_ext
45864 cat >>conftest.
$ac_ext <<_ACEOF
45865 /* end confdefs.h. */
45866 #include <$ac_header>
45868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45869 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45871 grep -v '^ *+' conftest.er1
>conftest.err
45873 cat conftest.err
>&5
45874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45875 (exit $ac_status); } >/dev
/null
; then
45876 if test -s conftest.err
; then
45877 ac_cpp_err
=$ac_c_preproc_warn_flag
45878 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
45885 if test -z "$ac_cpp_err"; then
45886 ac_header_preproc
=yes
45888 echo "$as_me: failed program was:" >&5
45889 sed 's/^/| /' conftest.
$ac_ext >&5
45891 ac_header_preproc
=no
45893 rm -f conftest.err conftest.
$ac_ext
45894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45895 echo "${ECHO_T}$ac_header_preproc" >&6
45897 # So? What about this header?
45898 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45900 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45901 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45903 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45904 ac_header_preproc
=yes
45907 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45908 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45909 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45910 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45911 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45912 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45913 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45914 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45916 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45917 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45918 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45921 ## ----------------------------------------- ##
45922 ## Report this to wx-dev@lists.wxwidgets.org ##
45923 ## ----------------------------------------- ##
45926 sed "s/^/$as_me: WARNING: /" >&2
45929 echo "$as_me:$LINENO: checking for $ac_header" >&5
45930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45932 echo $ECHO_N "(cached) $ECHO_C" >&6
45934 eval "$as_ac_Header=\$ac_header_preproc"
45936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45940 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45941 cat >>confdefs.h
<<_ACEOF
45942 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45950 if test "$ac_cv_header_ole2_h" = "yes" ; then
45951 if test "$GCC" = yes ; then
45952 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45953 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45954 cat >conftest.
$ac_ext <<_ACEOF
45957 cat confdefs.h
>>conftest.
$ac_ext
45958 cat >>conftest.
$ac_ext <<_ACEOF
45959 /* end confdefs.h. */
45960 #include <windows.h>
45970 rm -f conftest.
$ac_objext
45971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45972 (eval $ac_compile) 2>conftest.er1
45974 grep -v '^ *+' conftest.er1
>conftest.err
45976 cat conftest.err
>&5
45977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45978 (exit $ac_status); } &&
45979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45981 (eval $ac_try) 2>&5
45983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45984 (exit $ac_status); }; } &&
45985 { ac_try
='test -s conftest.$ac_objext'
45986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45987 (eval $ac_try) 2>&5
45989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45990 (exit $ac_status); }; }; then
45991 echo "$as_me:$LINENO: result: no" >&5
45992 echo "${ECHO_T}no" >&6
45994 echo "$as_me: failed program was:" >&5
45995 sed 's/^/| /' conftest.
$ac_ext >&5
45997 echo "$as_me:$LINENO: result: yes" >&5
45998 echo "${ECHO_T}yes" >&6
45999 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46002 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46003 if test "$wxUSE_OLE" = "yes" ; then
46004 cat >>confdefs.h
<<\_ACEOF
46005 #define wxUSE_OLE 1
46008 cat >>confdefs.h
<<\_ACEOF
46009 #define wxUSE_OLE_AUTOMATION 1
46012 cat >>confdefs.h
<<\_ACEOF
46013 #define wxUSE_OLE_ACTIVEX 1
46016 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46020 if test "$wxUSE_DATAOBJ" = "yes" ; then
46021 cat >>confdefs.h
<<\_ACEOF
46022 #define wxUSE_DATAOBJ 1
46027 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46028 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46031 wxUSE_DRAG_AND_DROP
=no
46036 if test "$wxUSE_METAFILE" = "yes"; then
46037 cat >>confdefs.h
<<\_ACEOF
46038 #define wxUSE_METAFILE 1
46042 cat >>confdefs.h
<<\_ACEOF
46043 #define wxUSE_ENH_METAFILE 1
46049 if test "$wxUSE_IPC" = "yes"; then
46050 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46051 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46052 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46056 if test "$wxUSE_IPC" = "yes"; then
46057 cat >>confdefs.h
<<\_ACEOF
46058 #define wxUSE_IPC 1
46061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46065 if test "$wxUSE_DATAOBJ" = "yes"; then
46066 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46067 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46068 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46071 cat >>confdefs.h
<<\_ACEOF
46072 #define wxUSE_DATAOBJ 1
46077 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46078 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46080 wxUSE_DRAG_AND_DROP
=no
46083 if test "$wxUSE_CLIPBOARD" = "yes"; then
46084 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46085 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46086 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46090 if test "$wxUSE_CLIPBOARD" = "yes"; then
46091 cat >>confdefs.h
<<\_ACEOF
46092 #define wxUSE_CLIPBOARD 1
46098 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46099 if test "$wxUSE_GTK" = 1; then
46100 if test "$WXGTK12" != 1; then
46101 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46102 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46103 wxUSE_DRAG_AND_DROP
=no
46107 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46108 "$wxUSE_DFB" = 1; then
46109 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46110 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46111 wxUSE_DRAG_AND_DROP
=no
46114 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46115 cat >>confdefs.h
<<\_ACEOF
46116 #define wxUSE_DRAG_AND_DROP 1
46123 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46127 if test "$wxUSE_SPLINES" = "yes" ; then
46128 cat >>confdefs.h
<<\_ACEOF
46129 #define wxUSE_SPLINES 1
46134 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46135 cat >>confdefs.h
<<\_ACEOF
46136 #define wxUSE_MOUSEWHEEL 1
46143 if test "$wxUSE_CONTROLS" = "yes"; then
46147 if test "$wxUSE_ACCEL" = "yes"; then
46148 cat >>confdefs.h
<<\_ACEOF
46149 #define wxUSE_ACCEL 1
46155 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46156 cat >>confdefs.h
<<\_ACEOF
46157 #define wxUSE_ANIMATIONCTRL 1
46161 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46164 if test "$wxUSE_BUTTON" = "yes"; then
46165 cat >>confdefs.h
<<\_ACEOF
46166 #define wxUSE_BUTTON 1
46172 if test "$wxUSE_BMPBUTTON" = "yes"; then
46173 cat >>confdefs.h
<<\_ACEOF
46174 #define wxUSE_BMPBUTTON 1
46180 if test "$wxUSE_CALCTRL" = "yes"; then
46181 cat >>confdefs.h
<<\_ACEOF
46182 #define wxUSE_CALENDARCTRL 1
46186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46189 if test "$wxUSE_CARET" = "yes"; then
46190 cat >>confdefs.h
<<\_ACEOF
46191 #define wxUSE_CARET 1
46195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46198 if test "$wxUSE_COLLPANE" = "yes"; then
46199 cat >>confdefs.h
<<\_ACEOF
46200 #define wxUSE_COLLPANE 1
46204 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46207 if test "$wxUSE_COMBOBOX" = "yes"; then
46208 cat >>confdefs.h
<<\_ACEOF
46209 #define wxUSE_COMBOBOX 1
46215 if test "$wxUSE_COMBOCTRL" = "yes"; then
46216 cat >>confdefs.h
<<\_ACEOF
46217 #define wxUSE_COMBOCTRL 1
46223 if test "$wxUSE_CHOICE" = "yes"; then
46224 cat >>confdefs.h
<<\_ACEOF
46225 #define wxUSE_CHOICE 1
46231 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46232 cat >>confdefs.h
<<\_ACEOF
46233 #define wxUSE_CHOICEBOOK 1
46239 if test "$wxUSE_CHECKBOX" = "yes"; then
46240 cat >>confdefs.h
<<\_ACEOF
46241 #define wxUSE_CHECKBOX 1
46247 if test "$wxUSE_CHECKLST" = "yes"; then
46248 cat >>confdefs.h
<<\_ACEOF
46249 #define wxUSE_CHECKLISTBOX 1
46253 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
46256 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46257 cat >>confdefs.h
<<\_ACEOF
46258 #define wxUSE_COLOURPICKERCTRL 1
46264 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46265 cat >>confdefs.h
<<\_ACEOF
46266 #define wxUSE_DATEPICKCTRL 1
46272 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46273 cat >>confdefs.h
<<\_ACEOF
46274 #define wxUSE_DIRPICKERCTRL 1
46280 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46281 cat >>confdefs.h
<<\_ACEOF
46282 #define wxUSE_FILEPICKERCTRL 1
46288 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46289 cat >>confdefs.h
<<\_ACEOF
46290 #define wxUSE_FONTPICKERCTRL 1
46296 if test "$wxUSE_DISPLAY" = "yes"; then
46297 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46298 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46299 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46302 cat >>confdefs.h
<<\_ACEOF
46303 #define wxUSE_DISPLAY 1
46306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
46310 if test "$wxUSE_DETECT_SM" = "yes"; then
46311 cat >>confdefs.h
<<\_ACEOF
46312 #define wxUSE_DETECT_SM 1
46317 if test "$wxUSE_GAUGE" = "yes"; then
46318 cat >>confdefs.h
<<\_ACEOF
46319 #define wxUSE_GAUGE 1
46325 if test "$wxUSE_GRID" = "yes"; then
46326 cat >>confdefs.h
<<\_ACEOF
46327 #define wxUSE_GRID 1
46331 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46334 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46335 cat >>confdefs.h
<<\_ACEOF
46336 #define wxUSE_HYPERLINKCTRL 1
46342 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46343 cat >>confdefs.h
<<\_ACEOF
46344 #define wxUSE_BITMAPCOMBOBOX 1
46350 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46351 cat >>confdefs.h
<<\_ACEOF
46352 #define wxUSE_DATAVIEWCTRL 1
46356 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46359 if test "$wxUSE_IMAGLIST" = "yes"; then
46360 cat >>confdefs.h
<<\_ACEOF
46361 #define wxUSE_IMAGLIST 1
46366 if test "$wxUSE_LISTBOOK" = "yes"; then
46367 cat >>confdefs.h
<<\_ACEOF
46368 #define wxUSE_LISTBOOK 1
46374 if test "$wxUSE_LISTBOX" = "yes"; then
46375 cat >>confdefs.h
<<\_ACEOF
46376 #define wxUSE_LISTBOX 1
46380 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
46383 if test "$wxUSE_LISTCTRL" = "yes"; then
46384 if test "$wxUSE_IMAGLIST" = "yes"; then
46385 cat >>confdefs.h
<<\_ACEOF
46386 #define wxUSE_LISTCTRL 1
46390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46392 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46393 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46397 if test "$wxUSE_NOTEBOOK" = "yes"; then
46398 cat >>confdefs.h
<<\_ACEOF
46399 #define wxUSE_NOTEBOOK 1
46403 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46406 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46407 cat >>confdefs.h
<<\_ACEOF
46408 #define wxUSE_ODCOMBOBOX 1
46412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46416 if test "$wxUSE_RADIOBOX" = "yes"; then
46417 cat >>confdefs.h
<<\_ACEOF
46418 #define wxUSE_RADIOBOX 1
46424 if test "$wxUSE_RADIOBTN" = "yes"; then
46425 cat >>confdefs.h
<<\_ACEOF
46426 #define wxUSE_RADIOBTN 1
46432 if test "$wxUSE_SASH" = "yes"; then
46433 cat >>confdefs.h
<<\_ACEOF
46434 #define wxUSE_SASH 1
46437 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46440 if test "$wxUSE_SCROLLBAR" = "yes"; then
46441 cat >>confdefs.h
<<\_ACEOF
46442 #define wxUSE_SCROLLBAR 1
46446 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
46449 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46450 cat >>confdefs.h
<<\_ACEOF
46451 #define wxUSE_SEARCHCTRL 1
46457 if test "$wxUSE_SLIDER" = "yes"; then
46458 cat >>confdefs.h
<<\_ACEOF
46459 #define wxUSE_SLIDER 1
46465 if test "$wxUSE_SPINBTN" = "yes"; then
46466 cat >>confdefs.h
<<\_ACEOF
46467 #define wxUSE_SPINBTN 1
46473 if test "$wxUSE_SPINCTRL" = "yes"; then
46474 cat >>confdefs.h
<<\_ACEOF
46475 #define wxUSE_SPINCTRL 1
46481 if test "$wxUSE_SPLITTER" = "yes"; then
46482 cat >>confdefs.h
<<\_ACEOF
46483 #define wxUSE_SPLITTER 1
46486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46489 if test "$wxUSE_STATBMP" = "yes"; then
46490 cat >>confdefs.h
<<\_ACEOF
46491 #define wxUSE_STATBMP 1
46497 if test "$wxUSE_STATBOX" = "yes"; then
46498 cat >>confdefs.h
<<\_ACEOF
46499 #define wxUSE_STATBOX 1
46505 if test "$wxUSE_STATTEXT" = "yes"; then
46506 cat >>confdefs.h
<<\_ACEOF
46507 #define wxUSE_STATTEXT 1
46513 if test "$wxUSE_STATLINE" = "yes"; then
46514 cat >>confdefs.h
<<\_ACEOF
46515 #define wxUSE_STATLINE 1
46521 if test "$wxUSE_STATUSBAR" = "yes"; then
46522 cat >>confdefs.h
<<\_ACEOF
46523 #define wxUSE_NATIVE_STATUSBAR 1
46526 cat >>confdefs.h
<<\_ACEOF
46527 #define wxUSE_STATUSBAR 1
46532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46535 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46536 cat >>confdefs.h
<<\_ACEOF
46537 #define wxUSE_TAB_DIALOG 1
46542 if test "$wxUSE_TEXTCTRL" = "yes"; then
46543 cat >>confdefs.h
<<\_ACEOF
46544 #define wxUSE_TEXTCTRL 1
46548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46551 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46552 if test "$wxUSE_COCOA" = 1 ; then
46553 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46554 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46558 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46559 cat >>confdefs.h
<<\_ACEOF
46560 #define wxUSE_TOGGLEBTN 1
46567 if test "$wxUSE_TOOLBAR" = "yes"; then
46568 cat >>confdefs.h
<<\_ACEOF
46569 #define wxUSE_TOOLBAR 1
46574 if test "$wxUSE_UNIVERSAL" = "yes"; then
46575 wxUSE_TOOLBAR_NATIVE
="no"
46577 wxUSE_TOOLBAR_NATIVE
="yes"
46578 cat >>confdefs.h
<<\_ACEOF
46579 #define wxUSE_TOOLBAR_NATIVE 1
46584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46587 if test "$wxUSE_TOOLTIPS" = "yes"; then
46588 if test "$wxUSE_MOTIF" = 1; then
46589 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46590 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46592 if test "$wxUSE_UNIVERSAL" = "yes"; then
46593 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46594 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46596 cat >>confdefs.h
<<\_ACEOF
46597 #define wxUSE_TOOLTIPS 1
46604 if test "$wxUSE_TREEBOOK" = "yes"; then
46605 cat >>confdefs.h
<<\_ACEOF
46606 #define wxUSE_TREEBOOK 1
46612 if test "$wxUSE_TOOLBOOK" = "yes"; then
46613 cat >>confdefs.h
<<\_ACEOF
46614 #define wxUSE_TOOLBOOK 1
46620 if test "$wxUSE_TREECTRL" = "yes"; then
46621 if test "$wxUSE_IMAGLIST" = "yes"; then
46622 cat >>confdefs.h
<<\_ACEOF
46623 #define wxUSE_TREECTRL 1
46627 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46629 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46630 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46634 if test "$wxUSE_POPUPWIN" = "yes"; then
46635 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46636 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46637 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46639 if test "$wxUSE_PM" = 1; then
46640 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46641 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46643 cat >>confdefs.h
<<\_ACEOF
46644 #define wxUSE_POPUPWIN 1
46647 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46654 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46655 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46656 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46657 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46659 cat >>confdefs.h
<<\_ACEOF
46660 #define wxUSE_DIALUP_MANAGER 1
46663 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46667 if test "$wxUSE_TIPWINDOW" = "yes"; then
46668 if test "$wxUSE_PM" = 1; then
46669 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46670 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46672 cat >>confdefs.h
<<\_ACEOF
46673 #define wxUSE_TIPWINDOW 1
46679 if test "$USES_CONTROLS" = 1; then
46680 cat >>confdefs.h
<<\_ACEOF
46681 #define wxUSE_CONTROLS 1
46687 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46688 cat >>confdefs.h
<<\_ACEOF
46689 #define wxUSE_ACCESSIBILITY 1
46692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46695 if test "$wxUSE_DC_CACHEING" = "yes"; then
46696 cat >>confdefs.h
<<\_ACEOF
46697 #define wxUSE_DC_CACHEING 1
46702 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46703 cat >>confdefs.h
<<\_ACEOF
46704 #define wxUSE_DRAGIMAGE 1
46707 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46710 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46711 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46712 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46713 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46715 cat >>confdefs.h
<<\_ACEOF
46716 #define wxUSE_EXCEPTIONS 1
46719 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46724 if test "$wxUSE_HTML" = "yes"; then
46725 cat >>confdefs.h
<<\_ACEOF
46726 #define wxUSE_HTML 1
46730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46731 if test "$wxUSE_MAC" = 1; then
46732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
46735 if test "$wxUSE_WEBKIT" = "yes"; then
46736 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46737 old_CPPFLAGS
="$CPPFLAGS"
46738 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46739 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46740 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46741 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46742 echo $ECHO_N "(cached) $ECHO_C" >&6
46744 cat >conftest.
$ac_ext <<_ACEOF
46747 cat confdefs.h
>>conftest.
$ac_ext
46748 cat >>conftest.
$ac_ext <<_ACEOF
46749 /* end confdefs.h. */
46750 #include <Carbon/Carbon.h>
46751 #include <WebKit/WebKit.h>
46753 #include <WebKit/HIWebView.h>
46755 rm -f conftest.
$ac_objext
46756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46757 (eval $ac_compile) 2>conftest.er1
46759 grep -v '^ *+' conftest.er1
>conftest.err
46761 cat conftest.err
>&5
46762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46763 (exit $ac_status); } &&
46764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46766 (eval $ac_try) 2>&5
46768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46769 (exit $ac_status); }; } &&
46770 { ac_try
='test -s conftest.$ac_objext'
46771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46772 (eval $ac_try) 2>&5
46774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46775 (exit $ac_status); }; }; then
46776 ac_cv_header_WebKit_HIWebView_h
=yes
46778 echo "$as_me: failed program was:" >&5
46779 sed 's/^/| /' conftest.
$ac_ext >&5
46781 ac_cv_header_WebKit_HIWebView_h
=no
46783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46785 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46786 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46787 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46789 cat >>confdefs.h
<<\_ACEOF
46790 #define wxUSE_WEBKIT 1
46793 WEBKIT_LINK
="-framework WebKit"
46797 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46798 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46804 CPPFLAGS
="$old_CPPFLAGS"
46805 elif test "$wxUSE_COCOA" = 1; then
46806 cat >>confdefs.h
<<\_ACEOF
46807 #define wxUSE_WEBKIT 1
46816 if test "$wxUSE_XRC" = "yes"; then
46817 if test "$wxUSE_XML" != "yes"; then
46818 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46819 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46822 cat >>confdefs.h
<<\_ACEOF
46823 #define wxUSE_XRC 1
46827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
46832 if test "$wxUSE_AUI" = "yes"; then
46833 cat >>confdefs.h
<<\_ACEOF
46834 #define wxUSE_AUI 1
46838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
46841 if test "$wxUSE_MENUS" = "yes"; then
46842 cat >>confdefs.h
<<\_ACEOF
46843 #define wxUSE_MENUS 1
46846 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
46849 if test "$wxUSE_METAFILE" = "yes"; then
46850 cat >>confdefs.h
<<\_ACEOF
46851 #define wxUSE_METAFILE 1
46856 if test "$wxUSE_MIMETYPE" = "yes"; then
46857 cat >>confdefs.h
<<\_ACEOF
46858 #define wxUSE_MIMETYPE 1
46863 if test "$wxUSE_MINIFRAME" = "yes"; then
46864 cat >>confdefs.h
<<\_ACEOF
46865 #define wxUSE_MINIFRAME 1
46868 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
46871 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46872 cat >>confdefs.h
<<\_ACEOF
46873 #define wxUSE_SYSTEM_OPTIONS 1
46876 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46877 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46878 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
46883 if test "$wxUSE_VALIDATORS" = "yes"; then
46884 cat >>confdefs.h
<<\_ACEOF
46885 #define wxUSE_VALIDATORS 1
46888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
46891 if test "$wxUSE_PALETTE" = "yes" ; then
46892 if test "$wxUSE_DFB" = 1; then
46893 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46894 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46897 cat >>confdefs.h
<<\_ACEOF
46898 #define wxUSE_PALETTE 1
46904 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46905 LIBS
=" -lunicows $LIBS"
46909 if test "$wxUSE_RICHTEXT" = "yes"; then
46910 cat >>confdefs.h
<<\_ACEOF
46911 #define wxUSE_RICHTEXT 1
46915 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
46919 if test "$wxUSE_IMAGE" = "yes" ; then
46920 cat >>confdefs.h
<<\_ACEOF
46921 #define wxUSE_IMAGE 1
46925 if test "$wxUSE_GIF" = "yes" ; then
46926 cat >>confdefs.h
<<\_ACEOF
46927 #define wxUSE_GIF 1
46932 if test "$wxUSE_PCX" = "yes" ; then
46933 cat >>confdefs.h
<<\_ACEOF
46934 #define wxUSE_PCX 1
46939 if test "$wxUSE_TGA" = "yes" ; then
46940 cat >>confdefs.h
<<\_ACEOF
46941 #define wxUSE_TGA 1
46946 if test "$wxUSE_IFF" = "yes" ; then
46947 cat >>confdefs.h
<<\_ACEOF
46948 #define wxUSE_IFF 1
46953 if test "$wxUSE_PNM" = "yes" ; then
46954 cat >>confdefs.h
<<\_ACEOF
46955 #define wxUSE_PNM 1
46960 if test "$wxUSE_XPM" = "yes" ; then
46961 cat >>confdefs.h
<<\_ACEOF
46962 #define wxUSE_XPM 1
46967 if test "$wxUSE_ICO_CUR" = "yes" ; then
46968 cat >>confdefs.h
<<\_ACEOF
46969 #define wxUSE_ICO_CUR 1
46976 if test "$wxUSE_ABOUTDLG" = "yes"; then
46977 cat >>confdefs.h
<<\_ACEOF
46978 #define wxUSE_ABOUTDLG 1
46983 if test "$wxUSE_CHOICEDLG" = "yes"; then
46984 cat >>confdefs.h
<<\_ACEOF
46985 #define wxUSE_CHOICEDLG 1
46990 if test "$wxUSE_COLOURDLG" = "yes"; then
46991 cat >>confdefs.h
<<\_ACEOF
46992 #define wxUSE_COLOURDLG 1
46997 if test "$wxUSE_FILEDLG" = "yes"; then
46998 cat >>confdefs.h
<<\_ACEOF
46999 #define wxUSE_FILEDLG 1
47004 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47005 cat >>confdefs.h
<<\_ACEOF
47006 #define wxUSE_FINDREPLDLG 1
47011 if test "$wxUSE_FONTDLG" = "yes"; then
47012 cat >>confdefs.h
<<\_ACEOF
47013 #define wxUSE_FONTDLG 1
47018 if test "$wxUSE_DIRDLG" = "yes"; then
47019 if test "$wxUSE_TREECTRL" != "yes"; then
47020 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47021 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47023 cat >>confdefs.h
<<\_ACEOF
47024 #define wxUSE_DIRDLG 1
47030 if test "$wxUSE_MSGDLG" = "yes"; then
47031 cat >>confdefs.h
<<\_ACEOF
47032 #define wxUSE_MSGDLG 1
47037 if test "$wxUSE_NUMBERDLG" = "yes"; then
47038 cat >>confdefs.h
<<\_ACEOF
47039 #define wxUSE_NUMBERDLG 1
47044 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47045 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47046 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
47047 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
47049 cat >>confdefs.h
<<\_ACEOF
47050 #define wxUSE_PROGRESSDLG 1
47056 if test "$wxUSE_SPLASH" = "yes"; then
47057 cat >>confdefs.h
<<\_ACEOF
47058 #define wxUSE_SPLASH 1
47061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
47064 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47065 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47066 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47067 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47069 cat >>confdefs.h
<<\_ACEOF
47070 #define wxUSE_STARTUP_TIPS 1
47076 if test "$wxUSE_TEXTDLG" = "yes"; then
47077 cat >>confdefs.h
<<\_ACEOF
47078 #define wxUSE_TEXTDLG 1
47083 if test "$wxUSE_WIZARDDLG" = "yes"; then
47084 cat >>confdefs.h
<<\_ACEOF
47085 #define wxUSE_WIZARDDLG 1
47088 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
47092 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47093 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47094 cat >>confdefs.h
<<\_ACEOF
47095 #define wxUSE_GRAPHICS_CONTEXT 1
47098 elif test "$wxUSE_GTK" != 1; then
47099 cat >>confdefs.h
<<\_ACEOF
47100 #define wxUSE_GRAPHICS_CONTEXT 1
47106 echo "$as_me:$LINENO: checking for CAIRO" >&5
47107 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47109 if test -n "$PKG_CONFIG"; then
47110 if test -n "$CAIRO_CFLAGS"; then
47111 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
47113 if test -n "$PKG_CONFIG" && \
47114 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47115 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47118 (exit $ac_status); }; then
47119 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47127 if test -n "$PKG_CONFIG"; then
47128 if test -n "$CAIRO_LIBS"; then
47129 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
47131 if test -n "$PKG_CONFIG" && \
47132 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47133 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47136 (exit $ac_status); }; then
47137 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47148 if test $pkg_failed = yes; then
47150 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47151 _pkg_short_errors_supported
=yes
47153 _pkg_short_errors_supported
=no
47155 if test $_pkg_short_errors_supported = yes; then
47156 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47158 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47160 # Put the nasty error message in config.log where it belongs
47161 echo "$CAIRO_PKG_ERRORS" >&5
47163 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47164 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47166 elif test $pkg_failed = untried
; then
47167 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47168 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47171 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
47172 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
47173 echo "$as_me:$LINENO: result: yes" >&5
47174 echo "${ECHO_T}yes" >&6
47175 cat >>confdefs.h
<<\_ACEOF
47176 #define wxUSE_GRAPHICS_CONTEXT 1
47186 if test "$wxUSE_MEDIACTRL" = "yes"; then
47189 if test "$wxUSE_GTK" = 1; then
47190 wxUSE_GSTREAMER
="no"
47192 GST_VERSION_MAJOR
=0
47193 GST_VERSION_MINOR
=10
47194 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47196 if test "$wxUSE_GSTREAMER8" = "no"; then
47199 echo "$as_me:$LINENO: checking for GST" >&5
47200 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47202 if test -n "$PKG_CONFIG"; then
47203 if test -n "$GST_CFLAGS"; then
47204 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47206 if test -n "$PKG_CONFIG" && \
47207 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47208 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47211 (exit $ac_status); }; then
47212 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47220 if test -n "$PKG_CONFIG"; then
47221 if test -n "$GST_LIBS"; then
47222 pkg_cv_GST_LIBS
="$GST_LIBS"
47224 if test -n "$PKG_CONFIG" && \
47225 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47226 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47229 (exit $ac_status); }; then
47230 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47241 if test $pkg_failed = yes; then
47243 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47244 _pkg_short_errors_supported
=yes
47246 _pkg_short_errors_supported
=no
47248 if test $_pkg_short_errors_supported = yes; then
47249 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47251 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47253 # Put the nasty error message in config.log where it belongs
47254 echo "$GST_PKG_ERRORS" >&5
47257 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47258 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47259 GST_VERSION_MINOR
=8
47262 elif test $pkg_failed = untried
; then
47264 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47265 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47266 GST_VERSION_MINOR
=8
47270 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47271 GST_LIBS
=$pkg_cv_GST_LIBS
47272 echo "$as_me:$LINENO: result: yes" >&5
47273 echo "${ECHO_T}yes" >&6
47275 wxUSE_GSTREAMER
="yes"
47276 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47280 GST_VERSION_MINOR
=8
47283 if test $GST_VERSION_MINOR = "8"; then
47284 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47287 echo "$as_me:$LINENO: checking for GST" >&5
47288 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47290 if test -n "$PKG_CONFIG"; then
47291 if test -n "$GST_CFLAGS"; then
47292 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47294 if test -n "$PKG_CONFIG" && \
47295 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47296 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47299 (exit $ac_status); }; then
47300 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47308 if test -n "$PKG_CONFIG"; then
47309 if test -n "$GST_LIBS"; then
47310 pkg_cv_GST_LIBS
="$GST_LIBS"
47312 if test -n "$PKG_CONFIG" && \
47313 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47314 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47317 (exit $ac_status); }; then
47318 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47329 if test $pkg_failed = yes; then
47331 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47332 _pkg_short_errors_supported
=yes
47334 _pkg_short_errors_supported
=no
47336 if test $_pkg_short_errors_supported = yes; then
47337 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47339 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47341 # Put the nasty error message in config.log where it belongs
47342 echo "$GST_PKG_ERRORS" >&5
47345 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47346 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47348 elif test $pkg_failed = untried
; then
47350 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47351 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47354 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47355 GST_LIBS
=$pkg_cv_GST_LIBS
47356 echo "$as_me:$LINENO: result: yes" >&5
47357 echo "${ECHO_T}yes" >&6
47358 wxUSE_GSTREAMER
="yes"
47363 if test "$wxUSE_GSTREAMER" = "yes"; then
47366 if "$GCC" = yes; then
47367 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
47368 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
47372 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
47373 LIBS
="$GST_LIBS $LIBS"
47375 cat >>confdefs.h
<<\_ACEOF
47376 #define wxUSE_GSTREAMER 1
47384 if test $USE_MEDIA = 1; then
47385 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
47386 cat >>confdefs.h
<<\_ACEOF
47387 #define wxUSE_MEDIACTRL 1
47394 if test "$cross_compiling" = "yes"; then
47397 OSINFO
=`uname -s -r -m`
47398 OSINFO
="\"$OSINFO\""
47401 cat >>confdefs.h
<<_ACEOF
47402 #define WXWIN_OS_DESCRIPTION $OSINFO
47407 if test "x$prefix" != "xNONE"; then
47410 wxPREFIX
=$ac_default_prefix
47413 cat >>confdefs.h
<<_ACEOF
47414 #define wxINSTALL_PREFIX "$wxPREFIX"
47420 CORE_BASE_LIBS
="net base"
47421 CORE_GUI_LIBS
="adv core"
47423 if test "$wxUSE_XML" = "yes" ; then
47424 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
47426 if test "$wxUSE_ODBC" != "no" ; then
47427 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
47428 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
47430 if test "$wxUSE_HTML" = "yes" ; then
47431 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
47433 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47434 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
47436 if test "$wxUSE_XRC" = "yes" ; then
47437 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
47439 if test "$wxUSE_AUI" = "yes" ; then
47440 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
47443 if test "$wxUSE_GUI" != "yes"; then
47452 if test "$wxUSE_MAC" = 1 ; then
47453 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47454 if test "$USE_DARWIN" = 1; then
47455 LDFLAGS
="$LDFLAGS -framework QuickTime"
47457 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
47460 if test "$USE_DARWIN" = 1; then
47461 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47463 LDFLAGS
="$LDFLAGS -lCarbonLib"
47466 if test "$wxUSE_COCOA" = 1 ; then
47467 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
47468 if test "$wxUSE_MEDIACTRL" = "yes"; then
47469 LDFLAGS
="$LDFLAGS -framework QuickTime"
47472 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47473 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47476 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47478 if test "$wxUSE_GUI" = "yes"; then
47481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47482 dynamic erase event exec font image minimal mobile \
47483 mobile/wxedit mobile/styles propsize render \
47484 rotate shaped vscroll widgets"
47486 if test "$wxUSE_MONOLITHIC" != "yes"; then
47487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
47489 if test "$TOOLKIT" = "MSW"; then
47490 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
47491 if test "$wxUSE_UNIVERSAL" != "yes"; then
47492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47495 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
47499 SAMPLES_SUBDIRS
="console"
47503 if test "x$INTELCC" = "xyes" ; then
47504 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
47505 elif test "$GCC" = yes ; then
47506 CWARNINGS
="-Wall -Wundef"
47509 if test "x$INTELCXX" = "xyes" ; then
47510 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
47511 elif test "$GXX" = yes ; then
47512 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
47516 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47517 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47520 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47521 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47522 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47525 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47526 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47527 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47529 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47532 if test "x$MWCC" = "xyes"; then
47534 CC
="$CC -cwd source -I-"
47535 CXX
="$CXX -cwd source -I-"
47540 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47541 EXTRALIBS_XML
="$EXPAT_LINK"
47542 EXTRALIBS_HTML
="$MSPACK_LINK"
47543 EXTRALIBS_ODBC
="$ODBC_LINK"
47544 if test "$wxUSE_GUI" = "yes"; then
47545 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47547 if test "$wxUSE_OPENGL" = "yes"; then
47548 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47551 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47553 WXCONFIG_LIBS
="$LIBS"
47555 if test "$wxUSE_REGEX" = "builtin" ; then
47556 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47558 if test "$wxUSE_EXPAT" = "builtin" ; then
47559 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47561 if test "$wxUSE_ODBC" = "builtin" ; then
47562 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
47564 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47565 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47567 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47568 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47570 if test "$wxUSE_LIBPNG" = "builtin" ; then
47571 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47573 if test "$wxUSE_ZLIB" = "builtin" ; then
47574 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47577 for i
in $wxconfig_3rdparty ; do
47578 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47582 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47585 case "$wxUNIV_THEMES" in
47587 cat >>confdefs.h
<<\_ACEOF
47588 #define wxUSE_ALL_THEMES 1
47594 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47595 cat >>confdefs.h
<<_ACEOF
47596 #define wxUSE_THEME_$t 1
47613 if test $wxUSE_MONOLITHIC = "yes" ; then
47619 if test $wxUSE_PLUGINS = "yes" ; then
47625 if test $wxUSE_ODBC != "no" ; then
47631 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47637 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47667 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47678 TOOLKIT_DESC
="GTK+"
47679 if test "$WXGTK20" = 1; then
47680 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47681 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47682 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47684 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47685 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47687 if test "$wxUSE_LIBHILDON" = "yes"; then
47688 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47691 if test "$TOOLKIT_EXTRA" != ""; then
47692 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47698 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47702 TOOLKIT_DESC
="base only"
47706 if test "$wxUSE_WINE" = "yes"; then
47707 BAKEFILE_FORCE_PLATFORM
=win32
47710 if test "$wxUSE_MAC" = 1 ; then
47711 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
47712 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
47713 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47715 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47717 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
47718 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
47719 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
47720 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
47723 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47724 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47727 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47729 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47730 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47731 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47732 echo $ECHO_N "(cached) $ECHO_C" >&6
47735 echo '#include <stdio.h>
47736 const wchar_t test_var[] = L"awidetest";' > conftest.h
47738 echo '#include "conftest.h"
47741 printf("%ls", test_var);
47745 wx_cv_gcc_pch_bug
="pch not supported"
47747 if $CXX conftest.h
>/dev
/null
2>&1
47751 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47753 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47754 grep awidetest
>/dev
/null
47756 wx_cv_gcc_pch_bug
=no
47758 wx_cv_gcc_pch_bug
=yes
47763 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47766 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47767 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47769 if test "$wx_cv_gcc_pch_bug" = yes; then
47777 if test "x$BAKEFILE_HOST" = "x"; then
47778 if test "x${host}" = "x" ; then
47779 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47780 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47781 { (exit 1); exit 1; }; }
47784 BAKEFILE_HOST
="${host}"
47787 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47789 if test -n "$ac_tool_prefix"; then
47790 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47791 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47792 echo "$as_me:$LINENO: checking for $ac_word" >&5
47793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47794 if test "${ac_cv_prog_RANLIB+set}" = set; then
47795 echo $ECHO_N "(cached) $ECHO_C" >&6
47797 if test -n "$RANLIB"; then
47798 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47801 for as_dir
in $PATH
47804 test -z "$as_dir" && as_dir
=.
47805 for ac_exec_ext
in '' $ac_executable_extensions; do
47806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47807 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47816 RANLIB
=$ac_cv_prog_RANLIB
47817 if test -n "$RANLIB"; then
47818 echo "$as_me:$LINENO: result: $RANLIB" >&5
47819 echo "${ECHO_T}$RANLIB" >&6
47821 echo "$as_me:$LINENO: result: no" >&5
47822 echo "${ECHO_T}no" >&6
47826 if test -z "$ac_cv_prog_RANLIB"; then
47827 ac_ct_RANLIB
=$RANLIB
47828 # Extract the first word of "ranlib", so it can be a program name with args.
47829 set dummy ranlib
; ac_word
=$2
47830 echo "$as_me:$LINENO: checking for $ac_word" >&5
47831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47832 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47833 echo $ECHO_N "(cached) $ECHO_C" >&6
47835 if test -n "$ac_ct_RANLIB"; then
47836 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47839 for as_dir
in $PATH
47842 test -z "$as_dir" && as_dir
=.
47843 for ac_exec_ext
in '' $ac_executable_extensions; do
47844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47845 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47852 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
47855 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47856 if test -n "$ac_ct_RANLIB"; then
47857 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47858 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47860 echo "$as_me:$LINENO: result: no" >&5
47861 echo "${ECHO_T}no" >&6
47864 RANLIB
=$ac_ct_RANLIB
47866 RANLIB
="$ac_cv_prog_RANLIB"
47869 # Find a good install program. We prefer a C program (faster),
47870 # so one script is as good as another. But avoid the broken or
47871 # incompatible versions:
47872 # SysV /etc/install, /usr/sbin/install
47873 # SunOS /usr/etc/install
47874 # IRIX /sbin/install
47876 # AmigaOS /C/install, which installs bootblocks on floppy discs
47877 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47878 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47879 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47880 # OS/2's system install, which has a completely different semantic
47881 # ./install, which can be erroneously created by make from ./install.sh.
47882 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47883 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47884 if test -z "$INSTALL"; then
47885 if test "${ac_cv_path_install+set}" = set; then
47886 echo $ECHO_N "(cached) $ECHO_C" >&6
47888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47889 for as_dir
in $PATH
47892 test -z "$as_dir" && as_dir
=.
47893 # Account for people who put trailing slashes in PATH elements.
47895 .
/ | .
// | /cC
/* | \
47896 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47897 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47900 # OSF1 and SCO ODT 3.0 have their own names for install.
47901 # Don't use installbsd from OSF since it installs stuff as root
47903 for ac_prog
in ginstall scoinst
install; do
47904 for ac_exec_ext
in '' $ac_executable_extensions; do
47905 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47906 if test $ac_prog = install &&
47907 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47908 # AIX install. It has an incompatible calling convention.
47910 elif test $ac_prog = install &&
47911 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47912 # program-specific install script used by HP pwplus--don't use.
47915 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47927 if test "${ac_cv_path_install+set}" = set; then
47928 INSTALL
=$ac_cv_path_install
47930 # As a last resort, use the slow shell script. We don't cache a
47931 # path for INSTALL within a source directory, because that will
47932 # break other packages using the cache if that directory is
47933 # removed, or if the path is relative.
47934 INSTALL
=$ac_install_sh
47937 echo "$as_me:$LINENO: result: $INSTALL" >&5
47938 echo "${ECHO_T}$INSTALL" >&6
47940 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47941 # It thinks the first close brace ends the variable substitution.
47942 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47944 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47946 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47948 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47949 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47951 if test "$LN_S" = "ln -s"; then
47952 echo "$as_me:$LINENO: result: yes" >&5
47953 echo "${ECHO_T}yes" >&6
47955 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47956 echo "${ECHO_T}no, using $LN_S" >&6
47960 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47961 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47962 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
47963 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47964 echo $ECHO_N "(cached) $ECHO_C" >&6
47966 cat >conftest.
make <<\_ACEOF
47968 @
echo 'ac_maketemp="$(MAKE)"'
47970 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47971 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47972 if test -n "$ac_maketemp"; then
47973 eval ac_cv_prog_make_
${ac_make}_set
=yes
47975 eval ac_cv_prog_make_
${ac_make}_set
=no
47977 rm -f conftest.
make
47979 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47980 echo "$as_me:$LINENO: result: yes" >&5
47981 echo "${ECHO_T}yes" >&6
47984 echo "$as_me:$LINENO: result: no" >&5
47985 echo "${ECHO_T}no" >&6
47986 SET_MAKE
="MAKE=${MAKE-make}"
47991 if test "x$SUNCXX" = "xyes"; then
47994 AROPTIONS
=${AROPTIONS:-"-xar -o"}
47996 if test -n "$ac_tool_prefix"; then
47997 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47998 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47999 echo "$as_me:$LINENO: checking for $ac_word" >&5
48000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48001 if test "${ac_cv_prog_AR+set}" = set; then
48002 echo $ECHO_N "(cached) $ECHO_C" >&6
48004 if test -n "$AR"; then
48005 ac_cv_prog_AR
="$AR" # Let the user override the test.
48007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48008 for as_dir
in $PATH
48011 test -z "$as_dir" && as_dir
=.
48012 for ac_exec_ext
in '' $ac_executable_extensions; do
48013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48014 ac_cv_prog_AR
="${ac_tool_prefix}ar"
48015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48024 if test -n "$AR"; then
48025 echo "$as_me:$LINENO: result: $AR" >&5
48026 echo "${ECHO_T}$AR" >&6
48028 echo "$as_me:$LINENO: result: no" >&5
48029 echo "${ECHO_T}no" >&6
48033 if test -z "$ac_cv_prog_AR"; then
48035 # Extract the first word of "ar", so it can be a program name with args.
48036 set dummy
ar; ac_word
=$2
48037 echo "$as_me:$LINENO: checking for $ac_word" >&5
48038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48039 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48040 echo $ECHO_N "(cached) $ECHO_C" >&6
48042 if test -n "$ac_ct_AR"; then
48043 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
48045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48046 for as_dir
in $PATH
48049 test -z "$as_dir" && as_dir
=.
48050 for ac_exec_ext
in '' $ac_executable_extensions; do
48051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48052 ac_cv_prog_ac_ct_AR
="ar"
48053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48059 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
48062 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
48063 if test -n "$ac_ct_AR"; then
48064 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48065 echo "${ECHO_T}$ac_ct_AR" >&6
48067 echo "$as_me:$LINENO: result: no" >&5
48068 echo "${ECHO_T}no" >&6
48073 AR
="$ac_cv_prog_AR"
48080 if test -n "$ac_tool_prefix"; then
48081 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48082 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
48083 echo "$as_me:$LINENO: checking for $ac_word" >&5
48084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48085 if test "${ac_cv_prog_STRIP+set}" = set; then
48086 echo $ECHO_N "(cached) $ECHO_C" >&6
48088 if test -n "$STRIP"; then
48089 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
48091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48092 for as_dir
in $PATH
48095 test -z "$as_dir" && as_dir
=.
48096 for ac_exec_ext
in '' $ac_executable_extensions; do
48097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48098 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
48099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48107 STRIP
=$ac_cv_prog_STRIP
48108 if test -n "$STRIP"; then
48109 echo "$as_me:$LINENO: result: $STRIP" >&5
48110 echo "${ECHO_T}$STRIP" >&6
48112 echo "$as_me:$LINENO: result: no" >&5
48113 echo "${ECHO_T}no" >&6
48117 if test -z "$ac_cv_prog_STRIP"; then
48119 # Extract the first word of "strip", so it can be a program name with args.
48120 set dummy strip
; ac_word
=$2
48121 echo "$as_me:$LINENO: checking for $ac_word" >&5
48122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48123 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48124 echo $ECHO_N "(cached) $ECHO_C" >&6
48126 if test -n "$ac_ct_STRIP"; then
48127 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
48129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48130 for as_dir
in $PATH
48133 test -z "$as_dir" && as_dir
=.
48134 for ac_exec_ext
in '' $ac_executable_extensions; do
48135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48136 ac_cv_prog_ac_ct_STRIP
="strip"
48137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48143 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
48146 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
48147 if test -n "$ac_ct_STRIP"; then
48148 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48149 echo "${ECHO_T}$ac_ct_STRIP" >&6
48151 echo "$as_me:$LINENO: result: no" >&5
48152 echo "${ECHO_T}no" >&6
48157 STRIP
="$ac_cv_prog_STRIP"
48160 if test -n "$ac_tool_prefix"; then
48161 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48162 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
48163 echo "$as_me:$LINENO: checking for $ac_word" >&5
48164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48165 if test "${ac_cv_prog_NM+set}" = set; then
48166 echo $ECHO_N "(cached) $ECHO_C" >&6
48168 if test -n "$NM"; then
48169 ac_cv_prog_NM
="$NM" # Let the user override the test.
48171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48172 for as_dir
in $PATH
48175 test -z "$as_dir" && as_dir
=.
48176 for ac_exec_ext
in '' $ac_executable_extensions; do
48177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48178 ac_cv_prog_NM
="${ac_tool_prefix}nm"
48179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48188 if test -n "$NM"; then
48189 echo "$as_me:$LINENO: result: $NM" >&5
48190 echo "${ECHO_T}$NM" >&6
48192 echo "$as_me:$LINENO: result: no" >&5
48193 echo "${ECHO_T}no" >&6
48197 if test -z "$ac_cv_prog_NM"; then
48199 # Extract the first word of "nm", so it can be a program name with args.
48200 set dummy nm
; ac_word
=$2
48201 echo "$as_me:$LINENO: checking for $ac_word" >&5
48202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48203 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48204 echo $ECHO_N "(cached) $ECHO_C" >&6
48206 if test -n "$ac_ct_NM"; then
48207 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
48209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48210 for as_dir
in $PATH
48213 test -z "$as_dir" && as_dir
=.
48214 for ac_exec_ext
in '' $ac_executable_extensions; do
48215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48216 ac_cv_prog_ac_ct_NM
="nm"
48217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48223 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
48226 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
48227 if test -n "$ac_ct_NM"; then
48228 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48229 echo "${ECHO_T}$ac_ct_NM" >&6
48231 echo "$as_me:$LINENO: result: no" >&5
48232 echo "${ECHO_T}no" >&6
48237 NM
="$ac_cv_prog_NM"
48241 case ${BAKEFILE_HOST} in
48243 INSTALL_DIR
="mkdir -p"
48246 INSTALL_DIR
='$(INSTALL) -d'
48252 case ${BAKEFILE_HOST} in
48253 *-*-cygwin* | *-*-mingw32* )
48254 LDFLAGS_GUI
="-mwindows"
48260 echo "$as_me:$LINENO: checking if make is GNU make" >&5
48261 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
48262 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48263 echo $ECHO_N "(cached) $ECHO_C" >&6
48266 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48267 egrep -s GNU
> /dev
/null
); then
48268 bakefile_cv_prog_makeisgnu
="yes"
48270 bakefile_cv_prog_makeisgnu
="no"
48274 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48275 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48277 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48294 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48295 case "${BAKEFILE_HOST}" in
48302 *-pc-os2_emx | *-pc-os2-emx )
48312 powerpc
-apple-macos* )
48321 case "$BAKEFILE_FORCE_PLATFORM" in
48342 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48343 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48344 { (exit 1); exit 1; }; }
48359 # Check whether --enable-omf or --disable-omf was given.
48360 if test "${enable_omf+set}" = set; then
48361 enableval
="$enable_omf"
48362 bk_os2_use_omf
="$enableval"
48365 case "${BAKEFILE_HOST}" in
48367 if test "x$GCC" = "xyes"; then
48368 CFLAGS
="$CFLAGS -fno-common"
48369 CXXFLAGS
="$CXXFLAGS -fno-common"
48371 if test "x$XLCC" = "xyes"; then
48372 CFLAGS
="$CFLAGS -qnocommon"
48373 CXXFLAGS
="$CXXFLAGS -qnocommon"
48377 *-pc-os2_emx | *-pc-os2-emx )
48378 if test "x$bk_os2_use_omf" = "xyes" ; then
48381 LDFLAGS
="-Zomf $LDFLAGS"
48382 CFLAGS
="-Zomf $CFLAGS"
48383 CXXFLAGS
="-Zomf $CXXFLAGS"
48391 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48397 SO_SUFFIX_MODULE
="so"
48402 DLLPREFIX_MODULE
=""
48406 case "${BAKEFILE_HOST}" in
48409 SO_SUFFIX_MODULE
="sl"
48413 SO_SUFFIX_MODULE
="a"
48417 SO_SUFFIX_MODULE
="dll"
48418 DLLIMP_SUFFIX
="dll.a"
48425 SO_SUFFIX_MODULE
="dll"
48426 DLLIMP_SUFFIX
="dll.a"
48436 *-pc-os2_emx | *-pc-os2-emx )
48438 SO_SUFFIX_MODULE
="dll"
48439 DLLIMP_SUFFIX
=$OS2_LIBEXT
48443 LIBEXT
=".$OS2_LIBEXT"
48448 SO_SUFFIX_MODULE
="bundle"
48452 if test "x$DLLIMP_SUFFIX" = "x" ; then
48453 DLLIMP_SUFFIX
="$SO_SUFFIX"
48468 if test "x$GCC" = "xyes"; then
48472 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48473 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48476 case "${BAKEFILE_HOST}" in
48478 if test "x$GCC" != "xyes"; then
48479 LDFLAGS
="$LDFLAGS -L/usr/lib"
48481 SHARED_LD_CC
="${CC} -b -o"
48482 SHARED_LD_CXX
="${CXX} -b -o"
48488 if test "x$GCC" != "xyes"; then
48489 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48490 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48491 if test "${bakefile_cv_prog_icc+set}" = set; then
48492 echo $ECHO_N "(cached) $ECHO_C" >&6
48495 cat >conftest.
$ac_ext <<_ACEOF
48498 cat confdefs.h
>>conftest.
$ac_ext
48499 cat >>conftest.
$ac_ext <<_ACEOF
48500 /* end confdefs.h. */
48506 #ifndef __INTEL_COMPILER
48514 rm -f conftest.
$ac_objext
48515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48516 (eval $ac_compile) 2>conftest.er1
48518 grep -v '^ *+' conftest.er1
>conftest.err
48520 cat conftest.err
>&5
48521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48522 (exit $ac_status); } &&
48523 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48525 (eval $ac_try) 2>&5
48527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48528 (exit $ac_status); }; } &&
48529 { ac_try
='test -s conftest.$ac_objext'
48530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48531 (eval $ac_try) 2>&5
48533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48534 (exit $ac_status); }; }; then
48535 bakefile_cv_prog_icc
=yes
48537 echo "$as_me: failed program was:" >&5
48538 sed 's/^/| /' conftest.
$ac_ext >&5
48540 bakefile_cv_prog_icc
=no
48543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48546 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48547 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48548 if test "$bakefile_cv_prog_icc" = "yes"; then
48555 if test "x$GCC" != xyes
; then
48556 SHARED_LD_CC
="${CC} -G -o"
48557 SHARED_LD_CXX
="${CXX} -G -o"
48565 cat <<EOF >shared-ld-sh
48567 #-----------------------------------------------------------------------------
48568 #-- Name: distrib/mac/shared-ld-sh
48569 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48570 #-- Author: Gilles Depeyrot
48571 #-- Copyright: (c) 2002 Gilles Depeyrot
48572 #-- Licence: any use permitted
48573 #-----------------------------------------------------------------------------
48578 linking_flag="-dynamiclib"
48579 ldargs="-r -keep_private_externs -nostdlib"
48581 while test ${D}# -gt 0; do
48588 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48589 # collect these options and values
48590 args="${D}{args} ${D}1 ${D}2"
48595 # collect these load args
48596 ldargs="${D}{ldargs} ${D}1"
48599 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48600 # collect these options
48601 args="${D}{args} ${D}1"
48604 -dynamiclib|-bundle)
48605 linking_flag="${D}1"
48609 echo "shared-ld: unhandled option '${D}1'"
48613 *.o | *.a | *.dylib)
48614 # collect object files
48615 objects="${D}{objects} ${D}1"
48619 echo "shared-ld: unhandled argument '${D}1'"
48630 # Link one module containing all the others
48632 if test ${D}{verbose} = 1; then
48633 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48635 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48639 # Link the shared library from the single module created, but only if the
48640 # previous command didn't fail:
48642 if test ${D}{status} = 0; then
48643 if test ${D}{verbose} = 1; then
48644 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48646 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48651 # Remove intermediate module
48653 rm -f master.${D}${D}.o
48658 chmod +x shared
-ld-sh
48660 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48661 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
48664 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48665 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48666 if test "${bakefile_cv_gcc31+set}" = set; then
48667 echo $ECHO_N "(cached) $ECHO_C" >&6
48670 cat >conftest.
$ac_ext <<_ACEOF
48673 cat confdefs.h
>>conftest.
$ac_ext
48674 cat >>conftest.
$ac_ext <<_ACEOF
48675 /* end confdefs.h. */
48681 #if (__GNUC__ < 3) || \
48682 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48690 rm -f conftest.
$ac_objext
48691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48692 (eval $ac_compile) 2>conftest.er1
48694 grep -v '^ *+' conftest.er1
>conftest.err
48696 cat conftest.err
>&5
48697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48698 (exit $ac_status); } &&
48699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48701 (eval $ac_try) 2>&5
48703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48704 (exit $ac_status); }; } &&
48705 { ac_try
='test -s conftest.$ac_objext'
48706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48707 (eval $ac_try) 2>&5
48709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48710 (exit $ac_status); }; }; then
48712 bakefile_cv_gcc31
=yes
48715 echo "$as_me: failed program was:" >&5
48716 sed 's/^/| /' conftest.
$ac_ext >&5
48719 bakefile_cv_gcc31
=no
48723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48726 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48727 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48728 if test "$bakefile_cv_gcc31" = "no"; then
48729 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48730 SHARED_LD_CXX
="$SHARED_LD_CC"
48732 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48733 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48736 if test "x$GCC" == "xyes"; then
48737 PIC_FLAG
="-dynamic -fPIC"
48739 if test "x$XLCC" = "xyes"; then
48740 PIC_FLAG
="-dynamic -DPIC"
48745 if test "x$GCC" = "xyes"; then
48748 case "${BAKEFILE_HOST}" in
48750 LD_EXPFULL
="-Wl,-bexpfull"
48754 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
48755 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
48757 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48758 set dummy makeC
++SharedLib
; ac_word
=$2
48759 echo "$as_me:$LINENO: checking for $ac_word" >&5
48760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48761 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48762 echo $ECHO_N "(cached) $ECHO_C" >&6
48764 if test -n "$AIX_CXX_LD"; then
48765 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
48767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48768 for as_dir
in $PATH
48771 test -z "$as_dir" && as_dir
=.
48772 for ac_exec_ext
in '' $ac_executable_extensions; do
48773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48774 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
48775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48781 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
48784 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
48785 if test -n "$AIX_CXX_LD"; then
48786 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48787 echo "${ECHO_T}$AIX_CXX_LD" >&6
48789 echo "$as_me:$LINENO: result: no" >&5
48790 echo "${ECHO_T}no" >&6
48793 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
48794 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
48799 SHARED_LD_CC
="${LD} -nostart -o"
48800 SHARED_LD_CXX
="${LD} -nostart -o"
48804 if test "x$GCC" != "xyes"; then
48809 *-*-cygwin* | *-*-mingw32* )
48811 SHARED_LD_CC
="\$(CC) -shared -o"
48812 SHARED_LD_CXX
="\$(CXX) -shared -o"
48816 *-pc-os2_emx | *-pc-os2-emx )
48817 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48818 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48822 cat <<EOF >dllar.sh
48825 # dllar - a tool to build both a .dll and an .a file
48826 # from a set of object (.o) files for EMX/OS2.
48828 # Written by Andrew Zabolotny, bit@freya.etu.ru
48829 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48831 # This script will accept a set of files on the command line.
48832 # All the public symbols from the .o files will be exported into
48833 # a .DEF file, then linker will be run (through gcc) against them to
48834 # build a shared library consisting of all given .o files. All libraries
48835 # (.a) will be first decompressed into component .o files then act as
48836 # described above. You can optionally give a description (-d "description")
48837 # which will be put into .DLL. To see the list of accepted options (as well
48838 # as command-line format) simply run this program without options. The .DLL
48839 # is built to be imported by name (there is no guarantee that new versions
48840 # of the library you build will have same ordinals for same symbols).
48842 # dllar is free software; you can redistribute it and/or modify
48843 # it under the terms of the GNU General Public License as published by
48844 # the Free Software Foundation; either version 2, or (at your option)
48845 # any later version.
48847 # dllar is distributed in the hope that it will be useful,
48848 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48849 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48850 # GNU General Public License for more details.
48852 # You should have received a copy of the GNU General Public License
48853 # along with dllar; see the file COPYING. If not, write to the Free
48854 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48857 # To successfuly run this program you will need:
48858 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48859 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48861 # (used to build the .dll)
48863 # (used to create .def file from .o files)
48865 # (used to create .a file from .def file)
48866 # - GNU text utilites (cat, sort, uniq)
48867 # used to process emxexp output
48868 # - GNU file utilities (mv, rm)
48870 # - lxlite (optional, see flag below)
48871 # (used for general .dll cleanup)
48878 # basnam, variant of basename, which does _not_ remove the path, _iff_
48879 # second argument (suffix to remove) is given
48883 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48886 echo ${D}1 | sed 's/'${D}2'${D}//'
48889 echo "error in basnam ${D}*"
48895 # Cleanup temporary files and output
48898 for i in ${D}inputFiles ; do
48901 rm -rf \`basnam ${D}i !\`
48908 # Kill result in case of failure as there is just to many stupid make/nmake
48909 # things out there which doesn't do this.
48910 if [ ${D}# -eq 0 ]; then
48911 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48915 # Print usage and exit script with rc=1.
48917 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48918 echo ' [-name-mangler-script script.sh]'
48919 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48920 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48921 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48922 echo ' [*.o] [*.a]'
48923 echo '*> "output_file" should have no extension.'
48924 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48925 echo ' The import library name is derived from this and is set to "name".a,'
48926 echo ' unless overridden by -import'
48927 echo '*> "importlib_name" should have no extension.'
48928 echo ' If it has the .o, or .a extension, it is automatically removed.'
48929 echo ' This name is used as the import library name and may be longer and'
48930 echo ' more descriptive than the DLL name which has to follow the old '
48931 echo ' 8.3 convention of FAT.'
48932 echo '*> "script.sh may be given to override the output_file name by a'
48933 echo ' different name. It is mainly useful if the regular make process'
48934 echo ' of some package does not take into account OS/2 restriction of'
48935 echo ' DLL name lengths. It takes the importlib name as input and is'
48936 echo ' supposed to procude a shorter name as output. The script should'
48937 echo ' expect to get importlib_name without extension and should produce'
48938 echo ' a (max.) 8 letter name without extension.'
48939 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48940 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48941 echo ' These flags will be put at the start of GCC command line.'
48942 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48943 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48944 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48945 echo ' If the last character of a symbol is "*", all symbols beginning'
48946 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48947 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48948 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48949 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48950 echo ' C runtime DLLs.'
48951 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48952 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48953 echo ' unchanged to GCC at the end of command line.'
48954 echo '*> If you create a DLL from a library and you do not specify -o,'
48955 echo ' the basename for DLL and import library will be set to library name,'
48956 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48957 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48958 echo ' library will be renamed into gcc_s.a.'
48961 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48962 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48967 # Execute a command.
48968 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48969 # @Uses Whatever CleanUp() uses.
48975 if [ ${D}rcCmd -ne 0 ]; then
48976 echo "command failed, exit code="${D}rcCmd
48991 CFLAGS="-s -Zcrtdll"
48993 EXPORT_BY_ORDINALS=0
48998 case ${D}curDirS in
49002 curDirS=${D}{curDirS}"/"
49005 # Parse commandline
49008 while [ ${D}1 ]; do
49011 EXPORT_BY_ORDINALS=1;
49021 -name-mangler-script)
49042 exclude_symbols=${D}{exclude_symbols}${D}1" "
49046 library_flags=${D}{library_flags}${D}1" "
49065 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49068 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49069 if [ ${D}omfLinking -eq 1 ]; then
49070 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49072 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49077 if [ ${D}libsToLink -ne 0 ]; then
49078 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49080 for file in ${D}1 ; do
49081 if [ -f ${D}file ]; then
49082 inputFiles="${D}{inputFiles} ${D}file"
49086 if [ ${D}found -eq 0 ]; then
49087 echo "ERROR: No file(s) found: "${D}1
49094 done # iterate cmdline words
49097 if [ -z "${D}inputFiles" ]; then
49098 echo "dllar: no input files"
49102 # Now extract all .o files from .a files
49104 for file in ${D}inputFiles ; do
49115 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49120 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49122 if [ ${D}? -ne 0 ]; then
49123 echo "Failed to create subdirectory ./${D}dirname"
49127 # Append '!' to indicate archive
49128 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49129 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49132 for subfile in ${D}dirname/*.o* ; do
49133 if [ -f ${D}subfile ]; then
49135 if [ -s ${D}subfile ]; then
49136 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49137 newInputFiles="${D}newInputFiles ${D}subfile"
49141 if [ ${D}found -eq 0 ]; then
49142 echo "WARNING: there are no files in archive \\'${D}file\\'"
49146 newInputFiles="${D}{newInputFiles} ${D}file"
49150 inputFiles="${D}newInputFiles"
49152 # Output filename(s).
49154 if [ -z ${D}outFile ]; then
49156 set outFile ${D}inputFiles; outFile=${D}2
49159 # If it is an archive, remove the '!' and the '_%' suffixes
49160 case ${D}outFile in
49162 outFile=\`basnam ${D}outFile _%!\`
49167 case ${D}outFile in
49169 outFile=\`basnam ${D}outFile .dll\`
49172 outFile=\`basnam ${D}outFile .DLL\`
49175 outFile=\`basnam ${D}outFile .o\`
49178 outFile=\`basnam ${D}outFile .obj\`
49181 outFile=\`basnam ${D}outFile .a\`
49184 outFile=\`basnam ${D}outFile .lib\`
49189 case ${D}outimpFile in
49191 outimpFile=\`basnam ${D}outimpFile .a\`
49194 outimpFile=\`basnam ${D}outimpFile .lib\`
49199 if [ -z ${D}outimpFile ]; then
49200 outimpFile=${D}outFile
49202 defFile="${D}{outFile}.def"
49203 arcFile="${D}{outimpFile}.a"
49204 arcFile2="${D}{outimpFile}.lib"
49206 #create ${D}dllFile as something matching 8.3 restrictions,
49207 if [ -z ${D}renameScript ] ; then
49208 dllFile="${D}outFile"
49210 dllFile=\`${D}renameScript ${D}outimpFile\`
49213 if [ ${D}do_backup -ne 0 ] ; then
49214 if [ -f ${D}arcFile ] ; then
49215 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49217 if [ -f ${D}arcFile2 ] ; then
49218 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49222 # Extract public symbols from all the object files.
49223 tmpdefFile=${D}{defFile}_%
49224 rm -f ${D}tmpdefFile
49225 for file in ${D}inputFiles ; do
49230 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49235 # Create the def file.
49237 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49238 dllFile="${D}{dllFile}.dll"
49239 if [ ! -z ${D}description ]; then
49240 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49242 echo "EXPORTS" >> ${D}defFile
49244 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49245 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49247 # Checks if the export is ok or not.
49248 for word in ${D}exclude_symbols; do
49249 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49250 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49254 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49255 sed "=" < ${D}tmpdefFile | \\
49259 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49261 ' > ${D}{tmpdefFile}%
49262 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49264 rm -f ${D}{tmpdefFile}%
49266 cat ${D}tmpdefFile >> ${D}defFile
49267 rm -f ${D}tmpdefFile
49269 # Do linking, create implib, and apply lxlite.
49271 for file in ${D}inputFiles ; do
49276 gccCmdl="${D}gccCmdl ${D}file"
49280 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49281 touch "${D}{outFile}.dll"
49283 doCommand "emximp -o ${D}arcFile ${D}defFile"
49284 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49286 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49289 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49291 doCommand "emxomf -s -l ${D}arcFile"
49301 powerpc
-apple-macos* | \
49302 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
49314 if test "x$PIC_FLAG" != "x" ; then
49315 PIC_FLAG
="$PIC_FLAG -DPIC"
49318 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49319 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
49321 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49322 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
49341 case "${BAKEFILE_HOST}" in
49342 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
49343 SONAME_FLAG
="-Wl,-soname,"
49377 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49378 if test "${enable_dependency_tracking+set}" = set; then
49379 enableval
="$enable_dependency_tracking"
49380 bk_use_trackdeps
="$enableval"
49383 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49384 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49387 if test "x$bk_use_trackdeps" = "xno" ; then
49389 echo "$as_me:$LINENO: result: disabled" >&5
49390 echo "${ECHO_T}disabled" >&6
49394 if test "x$GCC" = "xyes"; then
49396 case "${BAKEFILE_HOST}" in
49398 DEPSFLAG
="-no-cpp-precomp -MMD"
49404 echo "$as_me:$LINENO: result: gcc" >&5
49405 echo "${ECHO_T}gcc" >&6
49406 elif test "x$MWCC" = "xyes"; then
49409 echo "$as_me:$LINENO: result: mwcc" >&5
49410 echo "${ECHO_T}mwcc" >&6
49411 elif test "x$SUNCC" = "xyes"; then
49414 echo "$as_me:$LINENO: result: Sun cc" >&5
49415 echo "${ECHO_T}Sun cc" >&6
49416 elif test "x$SGICC" = "xyes"; then
49419 echo "$as_me:$LINENO: result: SGI cc" >&5
49420 echo "${ECHO_T}SGI cc" >&6
49421 elif test "x$HPCC" = "xyes"; then
49424 echo "$as_me:$LINENO: result: HP cc" >&5
49425 echo "${ECHO_T}HP cc" >&6
49426 elif test "x$COMPAQCC" = "xyes"; then
49429 echo "$as_me:$LINENO: result: Compaq cc" >&5
49430 echo "${ECHO_T}Compaq cc" >&6
49433 echo "$as_me:$LINENO: result: none" >&5
49434 echo "${ECHO_T}none" >&6
49437 if test $DEPS_TRACKING = 1 ; then
49443 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49444 # script. It is used to track C/C++ files dependencies in portable way.
49446 # Permission is given to use this file in any way.
49448 DEPSMODE=${DEPSMODE}
49450 DEPSFLAG="${DEPSFLAG}"
49452 mkdir -p ${D}DEPSDIR
49454 if test ${D}DEPSMODE = gcc ; then
49455 ${D}* ${D}{DEPSFLAG}
49457 if test ${D}{status} != 0 ; then
49460 # move created file to the location we want it in:
49461 while test ${D}# -gt 0; do
49475 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49476 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49477 if test -f ${D}depfile ; then
49478 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49481 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49482 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49483 if test ! -f ${D}depfile ; then
49484 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49485 depfile="${D}objfile.d"
49487 if test -f ${D}depfile ; then
49488 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49493 elif test ${D}DEPSMODE = mwcc ; then
49494 ${D}* || exit ${D}?
49495 # Run mwcc again with -MM and redirect into the dep file we want
49496 # NOTE: We can't use shift here because we need ${D}* to be valid
49498 for arg in ${D}* ; do
49499 if test "${D}prevarg" = "-o"; then
49512 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49514 elif test ${D}DEPSMODE = unixcc; then
49515 ${D}* || exit ${D}?
49516 # Run compiler again with deps flag and redirect into the dep file.
49517 # It doesn't work if the '-o FILE' option is used, but without it the
49518 # dependency file will contain the wrong name for the object. So it is
49519 # removed from the command line, and the dep file is fixed with sed.
49521 while test ${D}# -gt 0; do
49528 eval arg${D}#=\\${D}1
49529 cmd="${D}cmd \\${D}arg${D}#"
49534 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49543 BK_DEPS
="`pwd`/bk-deps"
49551 case ${BAKEFILE_HOST} in
49552 *-*-cygwin* | *-*-mingw32* )
49553 if test -n "$ac_tool_prefix"; then
49554 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49555 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
49556 echo "$as_me:$LINENO: checking for $ac_word" >&5
49557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49558 if test "${ac_cv_prog_WINDRES+set}" = set; then
49559 echo $ECHO_N "(cached) $ECHO_C" >&6
49561 if test -n "$WINDRES"; then
49562 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
49564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49565 for as_dir
in $PATH
49568 test -z "$as_dir" && as_dir
=.
49569 for ac_exec_ext
in '' $ac_executable_extensions; do
49570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49571 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
49572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49580 WINDRES
=$ac_cv_prog_WINDRES
49581 if test -n "$WINDRES"; then
49582 echo "$as_me:$LINENO: result: $WINDRES" >&5
49583 echo "${ECHO_T}$WINDRES" >&6
49585 echo "$as_me:$LINENO: result: no" >&5
49586 echo "${ECHO_T}no" >&6
49590 if test -z "$ac_cv_prog_WINDRES"; then
49591 ac_ct_WINDRES
=$WINDRES
49592 # Extract the first word of "windres", so it can be a program name with args.
49593 set dummy windres
; ac_word
=$2
49594 echo "$as_me:$LINENO: checking for $ac_word" >&5
49595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49596 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49597 echo $ECHO_N "(cached) $ECHO_C" >&6
49599 if test -n "$ac_ct_WINDRES"; then
49600 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
49602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49603 for as_dir
in $PATH
49606 test -z "$as_dir" && as_dir
=.
49607 for ac_exec_ext
in '' $ac_executable_extensions; do
49608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49609 ac_cv_prog_ac_ct_WINDRES
="windres"
49610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49618 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
49619 if test -n "$ac_ct_WINDRES"; then
49620 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49621 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49623 echo "$as_me:$LINENO: result: no" >&5
49624 echo "${ECHO_T}no" >&6
49627 WINDRES
=$ac_ct_WINDRES
49629 WINDRES
="$ac_cv_prog_WINDRES"
49634 *-*-darwin* | powerpc
-apple-macos* )
49635 # Extract the first word of "Rez", so it can be a program name with args.
49636 set dummy Rez
; ac_word
=$2
49637 echo "$as_me:$LINENO: checking for $ac_word" >&5
49638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49639 if test "${ac_cv_prog_REZ+set}" = set; then
49640 echo $ECHO_N "(cached) $ECHO_C" >&6
49642 if test -n "$REZ"; then
49643 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
49645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49646 for as_dir
in $PATH
49649 test -z "$as_dir" && as_dir
=.
49650 for ac_exec_ext
in '' $ac_executable_extensions; do
49651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49652 ac_cv_prog_REZ
="Rez"
49653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49659 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
49662 REZ
=$ac_cv_prog_REZ
49663 if test -n "$REZ"; then
49664 echo "$as_me:$LINENO: result: $REZ" >&5
49665 echo "${ECHO_T}$REZ" >&6
49667 echo "$as_me:$LINENO: result: no" >&5
49668 echo "${ECHO_T}no" >&6
49671 # Extract the first word of "SetFile", so it can be a program name with args.
49672 set dummy SetFile
; ac_word
=$2
49673 echo "$as_me:$LINENO: checking for $ac_word" >&5
49674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49675 if test "${ac_cv_prog_SETFILE+set}" = set; then
49676 echo $ECHO_N "(cached) $ECHO_C" >&6
49678 if test -n "$SETFILE"; then
49679 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
49681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49682 for as_dir
in $PATH
49685 test -z "$as_dir" && as_dir
=.
49686 for ac_exec_ext
in '' $ac_executable_extensions; do
49687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49688 ac_cv_prog_SETFILE
="SetFile"
49689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49695 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
49698 SETFILE
=$ac_cv_prog_SETFILE
49699 if test -n "$SETFILE"; then
49700 echo "$as_me:$LINENO: result: $SETFILE" >&5
49701 echo "${ECHO_T}$SETFILE" >&6
49703 echo "$as_me:$LINENO: result: no" >&5
49704 echo "${ECHO_T}no" >&6
49715 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.1"
49718 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.1"
49722 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49723 if test "${enable_precomp_headers+set}" = set; then
49724 enableval
="$enable_precomp_headers"
49725 bk_use_pch
="$enableval"
49733 case ${BAKEFILE_HOST} in
49739 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49740 if test "x$GCC" = "xyes"; then
49741 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49742 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49743 cat >conftest.
$ac_ext <<_ACEOF
49746 cat confdefs.h
>>conftest.
$ac_ext
49747 cat >>conftest.
$ac_ext <<_ACEOF
49748 /* end confdefs.h. */
49754 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49755 There is no PCH support
49758 There is no PCH support
49760 #if (__GNUC__ == 3) && \
49761 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49762 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49763 ( defined(__INTEL_COMPILER) )
49764 There is no PCH support
49771 rm -f conftest.
$ac_objext
49772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49773 (eval $ac_compile) 2>conftest.er1
49775 grep -v '^ *+' conftest.er1
>conftest.err
49777 cat conftest.err
>&5
49778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49779 (exit $ac_status); } &&
49780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49782 (eval $ac_try) 2>&5
49784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49785 (exit $ac_status); }; } &&
49786 { ac_try
='test -s conftest.$ac_objext'
49787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49788 (eval $ac_try) 2>&5
49790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49791 (exit $ac_status); }; }; then
49793 echo "$as_me:$LINENO: result: yes" >&5
49794 echo "${ECHO_T}yes" >&6
49798 echo "$as_me: failed program was:" >&5
49799 sed 's/^/| /' conftest.
$ac_ext >&5
49802 cat >conftest.
$ac_ext <<_ACEOF
49805 cat confdefs.h
>>conftest.
$ac_ext
49806 cat >>conftest.
$ac_ext <<_ACEOF
49807 /* end confdefs.h. */
49813 #if !defined(__INTEL_COMPILER) || \
49814 (__INTEL_COMPILER < 800)
49815 There is no PCH support
49822 rm -f conftest.
$ac_objext
49823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49824 (eval $ac_compile) 2>conftest.er1
49826 grep -v '^ *+' conftest.er1
>conftest.err
49828 cat conftest.err
>&5
49829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49830 (exit $ac_status); } &&
49831 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49833 (eval $ac_try) 2>&5
49835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49836 (exit $ac_status); }; } &&
49837 { ac_try
='test -s conftest.$ac_objext'
49838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49839 (eval $ac_try) 2>&5
49841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49842 (exit $ac_status); }; }; then
49844 echo "$as_me:$LINENO: result: yes" >&5
49845 echo "${ECHO_T}yes" >&6
49849 echo "$as_me: failed program was:" >&5
49850 sed 's/^/| /' conftest.
$ac_ext >&5
49853 echo "$as_me:$LINENO: result: no" >&5
49854 echo "${ECHO_T}no" >&6
49857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49861 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49865 cat <<EOF >bk-make-pch
49868 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49869 # script. It is used to generated precompiled headers.
49871 # Permission is given to use this file in any way.
49881 while test ${D}{#} -gt 0; do
49885 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49886 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49887 headerfile="${D}{incdir}/${D}{header}"
49890 -use-pch|-use_pch )
49895 if test ${D}add_to_cmdline = 1 ; then
49896 compiler="${D}{compiler} ${D}{1}"
49901 if test "x${D}{headerfile}" = "x" ; then
49902 echo "error: can't find header ${D}{header} in include paths" >&2
49904 if test -f ${D}{outfile} ; then
49905 rm -f ${D}{outfile}
49907 mkdir -p \`dirname ${D}{outfile}\`
49909 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49911 if test "x${GCC_PCH}" = "x1" ; then
49912 # can do this because gcc is >= 3.4:
49913 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49914 elif test "x${ICC_PCH}" = "x1" ; then
49915 filename=pch_gen-${D}${D}
49916 file=${D}{filename}.c
49917 dfile=${D}{filename}.d
49918 cat > ${D}file <<EOT
49919 #include "${D}header"
49921 # using -MF icc complains about differing command lines in creation/use
49922 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49923 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49924 rm -f ${D}file ${D}dfile ${D}{filename}.o
49930 chmod +x bk
-make-pch
49931 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49940 COND_BUILD_DEBUG
="#"
49941 if test "x$BUILD" = "xdebug" ; then
49942 COND_BUILD_DEBUG
=""
49945 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49946 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49947 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49950 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49951 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49952 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49955 COND_BUILD_DEBUG_UNICODE_0
="#"
49956 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49957 COND_BUILD_DEBUG_UNICODE_0
=""
49960 COND_BUILD_DEBUG_UNICODE_1
="#"
49961 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49962 COND_BUILD_DEBUG_UNICODE_1
=""
49965 COND_BUILD_RELEASE
="#"
49966 if test "x$BUILD" = "xrelease" ; then
49967 COND_BUILD_RELEASE
=""
49970 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49971 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49972 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49975 COND_BUILD_RELEASE_UNICODE_0
="#"
49976 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49977 COND_BUILD_RELEASE_UNICODE_0
=""
49980 COND_BUILD_RELEASE_UNICODE_1
="#"
49981 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49982 COND_BUILD_RELEASE_UNICODE_1
=""
49985 COND_DEBUG_FLAG_1
="#"
49986 if test "x$DEBUG_FLAG" = "x1" ; then
49987 COND_DEBUG_FLAG_1
=""
49990 COND_DEBUG_INFO_0
="#"
49991 if test "x$DEBUG_INFO" = "x0" ; then
49992 COND_DEBUG_INFO_0
=""
49995 COND_DEBUG_INFO_1
="#"
49996 if test "x$DEBUG_INFO" = "x1" ; then
49997 COND_DEBUG_INFO_1
=""
50000 COND_DEPS_TRACKING_0
="#"
50001 if test "x$DEPS_TRACKING" = "x0" ; then
50002 COND_DEPS_TRACKING_0
=""
50005 COND_DEPS_TRACKING_1
="#"
50006 if test "x$DEPS_TRACKING" = "x1" ; then
50007 COND_DEPS_TRACKING_1
=""
50011 if test "x$GCC_PCH" = "x1" ; then
50016 if test "x$ICC_PCH" = "x1" ; then
50020 COND_MONOLITHIC_0
="#"
50021 if test "x$MONOLITHIC" = "x0" ; then
50022 COND_MONOLITHIC_0
=""
50025 COND_MONOLITHIC_0_SHARED_0
="#"
50026 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50027 COND_MONOLITHIC_0_SHARED_0
=""
50030 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
50031 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50032 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
50035 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
50036 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50037 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
50040 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
50041 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50042 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
50045 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
50046 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50047 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
50050 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
50051 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50052 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
50055 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
50056 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50057 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
50060 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
50061 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50062 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
50065 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
50066 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50067 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
50070 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
50071 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50072 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
50075 COND_MONOLITHIC_0_SHARED_1
="#"
50076 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50077 COND_MONOLITHIC_0_SHARED_1
=""
50080 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
50081 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50082 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
50085 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
50086 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50087 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
50090 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
50091 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50092 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
50095 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
50096 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50097 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
50100 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
50101 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50102 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
50105 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
50106 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50107 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
50110 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
50111 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50112 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
50115 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
50116 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50117 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
50120 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
50121 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50122 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
50125 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
50126 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50127 COND_MONOLITHIC_0_USE_MEDIA_1
=""
50130 COND_MONOLITHIC_0_USE_ODBC_1
="#"
50131 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50132 COND_MONOLITHIC_0_USE_ODBC_1
=""
50135 COND_MONOLITHIC_1
="#"
50136 if test "x$MONOLITHIC" = "x1" ; then
50137 COND_MONOLITHIC_1
=""
50140 COND_MONOLITHIC_1_SHARED_0
="#"
50141 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50142 COND_MONOLITHIC_1_SHARED_0
=""
50145 COND_MONOLITHIC_1_SHARED_1
="#"
50146 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50147 COND_MONOLITHIC_1_SHARED_1
=""
50150 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
50151 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50152 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
50155 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
50156 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50157 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
50160 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
50161 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50162 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
50165 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
50166 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50167 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
50170 COND_PLATFORM_MACOSX_1
="#"
50171 if test "x$PLATFORM_MACOSX" = "x1" ; then
50172 COND_PLATFORM_MACOSX_1
=""
50175 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
50176 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50177 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
50180 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
50181 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50182 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
50185 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
50186 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50187 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
50190 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
50191 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50192 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
50195 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
50196 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50197 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
50200 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
50201 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50202 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
50205 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
50206 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50207 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
50210 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50211 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50212 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50215 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50216 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50217 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50220 COND_PLATFORM_MACOS_1
="#"
50221 if test "x$PLATFORM_MACOS" = "x1" ; then
50222 COND_PLATFORM_MACOS_1
=""
50225 COND_PLATFORM_MAC_1
="#"
50226 if test "x$PLATFORM_MAC" = "x1" ; then
50227 COND_PLATFORM_MAC_1
=""
50230 COND_PLATFORM_MSDOS_0
="#"
50231 if test "x$PLATFORM_MSDOS" = "x0" ; then
50232 COND_PLATFORM_MSDOS_0
=""
50235 COND_PLATFORM_MSDOS_1
="#"
50236 if test "x$PLATFORM_MSDOS" = "x1" ; then
50237 COND_PLATFORM_MSDOS_1
=""
50240 COND_PLATFORM_OS2_1
="#"
50241 if test "x$PLATFORM_OS2" = "x1" ; then
50242 COND_PLATFORM_OS2_1
=""
50245 COND_PLATFORM_UNIX_0
="#"
50246 if test "x$PLATFORM_UNIX" = "x0" ; then
50247 COND_PLATFORM_UNIX_0
=""
50250 COND_PLATFORM_UNIX_1
="#"
50251 if test "x$PLATFORM_UNIX" = "x1" ; then
50252 COND_PLATFORM_UNIX_1
=""
50255 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
50256 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50257 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
50260 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
50261 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50262 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
50265 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50266 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50267 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50270 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50271 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50272 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50275 COND_PLATFORM_WIN32_0
="#"
50276 if test "x$PLATFORM_WIN32" = "x0" ; then
50277 COND_PLATFORM_WIN32_0
=""
50280 COND_PLATFORM_WIN32_1
="#"
50281 if test "x$PLATFORM_WIN32" = "x1" ; then
50282 COND_PLATFORM_WIN32_1
=""
50286 if test "x$SHARED" = "x0" ; then
50290 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50291 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50292 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50295 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50296 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50297 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50300 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50301 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50302 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50305 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50306 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50307 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50310 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50311 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50312 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50315 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50316 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50317 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50320 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50321 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50322 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50325 COND_SHARED_0_USE_XRC_1
="#"
50326 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50327 COND_SHARED_0_USE_XRC_1
=""
50330 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
50331 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50332 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
50335 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
50336 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50337 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
50340 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
50341 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50342 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
50345 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
50346 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50347 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
50351 if test "x$SHARED" = "x1" ; then
50355 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50356 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50357 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50360 COND_SHARED_1_USE_XRC_1
="#"
50361 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50362 COND_SHARED_1_USE_XRC_1
=""
50366 if test "x$TOOLKIT" = "x" ; then
50370 COND_TOOLKIT_COCOA
="#"
50371 if test "x$TOOLKIT" = "xCOCOA" ; then
50372 COND_TOOLKIT_COCOA
=""
50375 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50376 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50377 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50380 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50381 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50382 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50385 COND_TOOLKIT_DFB
="#"
50386 if test "x$TOOLKIT" = "xDFB" ; then
50387 COND_TOOLKIT_DFB
=""
50390 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50391 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50392 COND_TOOLKIT_DFB_USE_GUI_1
=""
50395 COND_TOOLKIT_GTK
="#"
50396 if test "x$TOOLKIT" = "xGTK" ; then
50397 COND_TOOLKIT_GTK
=""
50400 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50401 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50402 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50405 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50406 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50407 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50410 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50411 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50412 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50415 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50416 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50417 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50420 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50421 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50422 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50425 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50426 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50427 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50430 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50431 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50432 COND_TOOLKIT_GTK_USE_GUI_1
=""
50435 COND_TOOLKIT_MAC
="#"
50436 if test "x$TOOLKIT" = "xMAC" ; then
50437 COND_TOOLKIT_MAC
=""
50440 COND_TOOLKIT_MAC_USE_GUI_1
="#"
50441 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50442 COND_TOOLKIT_MAC_USE_GUI_1
=""
50445 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
50446 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50447 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
50450 COND_TOOLKIT_MGL
="#"
50451 if test "x$TOOLKIT" = "xMGL" ; then
50452 COND_TOOLKIT_MGL
=""
50455 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50456 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50457 COND_TOOLKIT_MGL_USE_GUI_1
=""
50460 COND_TOOLKIT_MOTIF
="#"
50461 if test "x$TOOLKIT" = "xMOTIF" ; then
50462 COND_TOOLKIT_MOTIF
=""
50465 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50466 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50467 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50470 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50471 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50472 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50475 COND_TOOLKIT_MSW
="#"
50476 if test "x$TOOLKIT" = "xMSW" ; then
50477 COND_TOOLKIT_MSW
=""
50480 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50481 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50482 COND_TOOLKIT_MSW_USE_GUI_1
=""
50485 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50486 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50487 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50490 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50491 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50492 COND_TOOLKIT_MSW_WXUNIV_0
=""
50495 COND_TOOLKIT_PM
="#"
50496 if test "x$TOOLKIT" = "xPM" ; then
50500 COND_TOOLKIT_PM_USE_GUI_1
="#"
50501 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50502 COND_TOOLKIT_PM_USE_GUI_1
=""
50505 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50506 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50507 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50510 COND_TOOLKIT_WINCE
="#"
50511 if test "x$TOOLKIT" = "xWINCE" ; then
50512 COND_TOOLKIT_WINCE
=""
50515 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50516 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50517 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50520 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50521 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50522 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50525 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50526 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50527 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50530 COND_TOOLKIT_X11
="#"
50531 if test "x$TOOLKIT" = "xX11" ; then
50532 COND_TOOLKIT_X11
=""
50535 COND_TOOLKIT_X11_USE_GUI_1
="#"
50536 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50537 COND_TOOLKIT_X11_USE_GUI_1
=""
50541 if test "x$UNICODE" = "x1" ; then
50545 COND_USE_EXCEPTIONS_0
="#"
50546 if test "x$USE_EXCEPTIONS" = "x0" ; then
50547 COND_USE_EXCEPTIONS_0
=""
50550 COND_USE_EXCEPTIONS_1
="#"
50551 if test "x$USE_EXCEPTIONS" = "x1" ; then
50552 COND_USE_EXCEPTIONS_1
=""
50556 if test "x$USE_GUI" = "x0" ; then
50561 if test "x$USE_GUI" = "x1" ; then
50565 COND_USE_GUI_1_WXUNIV_0
="#"
50566 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50567 COND_USE_GUI_1_WXUNIV_0
=""
50570 COND_USE_GUI_1_WXUNIV_1
="#"
50571 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50572 COND_USE_GUI_1_WXUNIV_1
=""
50575 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50576 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50577 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50580 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50581 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50582 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50585 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50586 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50587 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50590 COND_USE_ODBC_1
="#"
50591 if test "x$USE_ODBC" = "x1" ; then
50595 COND_USE_OPENGL_1
="#"
50596 if test "x$USE_OPENGL" = "x1" ; then
50597 COND_USE_OPENGL_1
=""
50601 if test "x$USE_PCH" = "x1" ; then
50605 COND_USE_PLUGINS_0
="#"
50606 if test "x$USE_PLUGINS" = "x0" ; then
50607 COND_USE_PLUGINS_0
=""
50610 COND_USE_RTTI_0
="#"
50611 if test "x$USE_RTTI" = "x0" ; then
50615 COND_USE_RTTI_1
="#"
50616 if test "x$USE_RTTI" = "x1" ; then
50620 COND_USE_SOSYMLINKS_1
="#"
50621 if test "x$USE_SOSYMLINKS" = "x1" ; then
50622 COND_USE_SOSYMLINKS_1
=""
50625 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50626 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50627 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50630 COND_USE_SOVERLINUX_1
="#"
50631 if test "x$USE_SOVERLINUX" = "x1" ; then
50632 COND_USE_SOVERLINUX_1
=""
50635 COND_USE_SOVERSION_0
="#"
50636 if test "x$USE_SOVERSION" = "x0" ; then
50637 COND_USE_SOVERSION_0
=""
50640 COND_USE_SOVERSOLARIS_1
="#"
50641 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50642 COND_USE_SOVERSOLARIS_1
=""
50645 COND_USE_THREADS_0
="#"
50646 if test "x$USE_THREADS" = "x0" ; then
50647 COND_USE_THREADS_0
=""
50650 COND_USE_THREADS_1
="#"
50651 if test "x$USE_THREADS" = "x1" ; then
50652 COND_USE_THREADS_1
=""
50656 if test "x$USE_XRC" = "x1" ; then
50660 COND_WINDOWS_IMPLIB_1
="#"
50661 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50662 COND_WINDOWS_IMPLIB_1
=""
50665 COND_WITH_PLUGIN_SDL_1
="#"
50666 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50667 COND_WITH_PLUGIN_SDL_1
=""
50671 if test "x$WXUNIV" = "x0" ; then
50676 if test "x$WXUNIV" = "x1" ; then
50680 COND_WXUSE_EXPAT_BUILTIN
="#"
50681 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50682 COND_WXUSE_EXPAT_BUILTIN
=""
50685 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50686 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50687 COND_WXUSE_LIBJPEG_BUILTIN
=""
50690 COND_WXUSE_LIBPNG_BUILTIN
="#"
50691 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50692 COND_WXUSE_LIBPNG_BUILTIN
=""
50695 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50696 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50697 COND_WXUSE_LIBTIFF_BUILTIN
=""
50700 COND_WXUSE_ODBC_BUILTIN
="#"
50701 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50702 COND_WXUSE_ODBC_BUILTIN
=""
50705 COND_WXUSE_REGEX_BUILTIN
="#"
50706 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50707 COND_WXUSE_REGEX_BUILTIN
=""
50710 COND_WXUSE_ZLIB_BUILTIN
="#"
50711 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50712 COND_WXUSE_ZLIB_BUILTIN
=""
50717 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50718 { { 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
50719 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;}
50720 { (exit 1); exit 1; }; }
50723 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50724 { { 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
50725 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;}
50726 { (exit 1); exit 1; }; }
50730 if test $GCC_PCH = 1
50732 if test "$wx_cv_gcc_pch_bug" = yes; then
50733 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50734 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50735 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50736 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50737 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50738 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50741 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
50745 if test "$wxUSE_MAC" = 1 ; then
50746 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50747 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50753 if test "$wxUSE_SHARED" = "yes"; then
50755 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
50756 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
50759 *-pc-os2_emx | *-pc-os2-emx )
50760 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50761 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50762 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50763 cp -p ${srcdir}/src
/os
2/dllar.sh .
50768 EXE_LINKER
="$CXX -o"
50771 if test "$wxUSE_OMF" = "yes"; then
50773 *-pc-os2_emx | *-pc-os2-emx )
50774 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50775 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50776 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50781 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50783 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50845 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50846 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50847 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
50848 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50849 echo $ECHO_N "(cached) $ECHO_C" >&6
50851 cat >conftest.
make <<\_ACEOF
50853 @
echo 'ac_maketemp="$(MAKE)"'
50855 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50856 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50857 if test -n "$ac_maketemp"; then
50858 eval ac_cv_prog_make_
${ac_make}_set
=yes
50860 eval ac_cv_prog_make_
${ac_make}_set
=no
50862 rm -f conftest.
make
50864 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50865 echo "$as_me:$LINENO: result: yes" >&5
50866 echo "${ECHO_T}yes" >&6
50869 echo "$as_me:$LINENO: result: no" >&5
50870 echo "${ECHO_T}no" >&6
50871 SET_MAKE
="MAKE=${MAKE-make}"
50876 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50879 if test "$USE_WIN32" = 1; then
50880 ac_config_commands
="$ac_config_commands
50886 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50889 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50892 if test "$wx_cv_version_script" = "yes"; then
50893 ac_config_files
="$ac_config_files version-script"
50896 ac_config_files
="$ac_config_files Makefile"
50899 ac_config_commands
="$ac_config_commands wx-config"
50903 if test "$wxWITH_SUBDIRS" != "no"; then
50904 if test "$wxUSE_GUI" = "yes"; then
50905 SUBDIRS
="samples demos utils contrib"
50906 else SUBDIRS
="samples utils"
50911 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50912 if test "${with_cppunit_prefix+set}" = set; then
50913 withval
="$with_cppunit_prefix"
50914 cppunit_config_prefix
="$withval"
50916 cppunit_config_prefix
=""
50919 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50920 if test "${with_cppunit_exec_prefix+set}" = set; then
50921 withval
="$with_cppunit_exec_prefix"
50922 cppunit_config_exec_prefix
="$withval"
50924 cppunit_config_exec_prefix
=""
50927 if test x
$cppunit_config_exec_prefix != x
; then
50928 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50929 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50930 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50933 if test x
$cppunit_config_prefix != x
; then
50934 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50935 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50936 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50940 # Extract the first word of "cppunit-config", so it can be a program name with args.
50941 set dummy cppunit
-config; ac_word
=$2
50942 echo "$as_me:$LINENO: checking for $ac_word" >&5
50943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50944 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50945 echo $ECHO_N "(cached) $ECHO_C" >&6
50947 case $CPPUNIT_CONFIG in
50949 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50953 for as_dir
in $PATH
50956 test -z "$as_dir" && as_dir
=.
50957 for ac_exec_ext
in '' $ac_executable_extensions; do
50958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50959 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50966 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50970 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50972 if test -n "$CPPUNIT_CONFIG"; then
50973 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50974 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50976 echo "$as_me:$LINENO: result: no" >&5
50977 echo "${ECHO_T}no" >&6
50980 cppunit_version_min
=1.8.0
50982 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50983 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50985 if test "$CPPUNIT_CONFIG" = "no" ; then
50986 echo "$as_me:$LINENO: result: no" >&5
50987 echo "${ECHO_T}no" >&6
50990 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50991 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50992 cppunit_version
=`$CPPUNIT_CONFIG --version`
50994 cppunit_major_version
=`echo $cppunit_version | \
50995 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50996 cppunit_minor_version
=`echo $cppunit_version | \
50997 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50998 cppunit_micro_version
=`echo $cppunit_version | \
50999 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51001 cppunit_major_min
=`echo $cppunit_version_min | \
51002 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51003 cppunit_minor_min
=`echo $cppunit_version_min | \
51004 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51005 cppunit_micro_min
=`echo $cppunit_version_min | \
51006 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51008 cppunit_version_proper
=`expr \
51009 $cppunit_major_version \> $cppunit_major_min \| \
51010 $cppunit_major_version \= $cppunit_major_min \& \
51011 $cppunit_minor_version \> $cppunit_minor_min \| \
51012 $cppunit_major_version \= $cppunit_major_min \& \
51013 $cppunit_minor_version \= $cppunit_minor_min \& \
51014 $cppunit_micro_version \>= $cppunit_micro_min `
51016 if test "$cppunit_version_proper" = "1" ; then
51017 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51018 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
51020 echo "$as_me:$LINENO: result: no" >&5
51021 echo "${ECHO_T}no" >&6
51026 if test "x$no_cppunit" = x
; then
51027 SUBDIRS
="$SUBDIRS tests"
51038 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
51039 DISABLED_CONTRIB
="$DISABLED_CONTRIB net"
51042 for subdir
in `echo $SUBDIRS`; do
51043 if test -d ${srcdir}/${subdir} ; then
51044 if test "$wxUSE_GUI" = "yes"; then
51045 if test ${subdir} = "samples"; then
51046 makefiles
="samples/Makefile.in $makefiles"
51047 for sample
in `echo $SAMPLES_SUBDIRS`; do
51048 if test -d $srcdir/samples
/$sample; then
51049 makefiles
="samples/$sample/Makefile.in $makefiles"
51053 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
51054 eval "disabled=\$$disabled_var"
51055 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
51056 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51058 else if test ${subdir} = "samples"; then
51059 makefiles
="samples/Makefile.in samples/console/Makefile.in"
51060 elif test ${subdir} = "utils"; then
51062 for util
in HelpGen tex2rtf
; do
51063 if test -d $srcdir/utils
/$util ; then
51064 makefiles
="utils/$util/Makefile.in \
51065 utils/$util/src/Makefile.in \
51069 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51073 for mkin
in $makefiles ; do
51074 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51075 ac_config_files
="$ac_config_files $mk"
51081 cat >confcache
<<\_ACEOF
51082 # This file is a shell script that caches the results of configure
51083 # tests run on this system so they can be shared between configure
51084 # scripts and configure runs, see configure's option --config-cache.
51085 # It is not useful on other systems. If it contains results you don't
51086 # want to keep, you may remove or edit it.
51088 # config.status only pays attention to the cache file if you give it
51089 # the --recheck option to rerun configure.
51091 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51092 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51093 # following values.
51097 # The following way of writing the cache mishandles newlines in values,
51098 # but we know of no workaround that is simple, portable, and efficient.
51099 # So, don't put newlines in cache variables' values.
51100 # Ultrix sh set writes to stderr and can't be redirected directly,
51101 # and sets the high bit in the cache file unless we assign to the vars.
51104 case `(ac_space=' '; set | grep ac_space) 2>&1` in
51106 # `set' does not quote correctly, so add quotes (double-quote
51107 # substitution turns \\\\ into \\, and sed turns \\ into \).
51110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51113 # `set' quotes correctly as required by POSIX, so do not add quotes.
51115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
51122 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51124 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51126 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
51127 if test -w $cache_file; then
51128 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
51129 cat confcache
>$cache_file
51131 echo "not updating unwritable cache $cache_file"
51136 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51137 # Let make expand exec_prefix.
51138 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51140 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51141 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51142 # trailing colons and then remove the whole line if VPATH becomes empty
51143 # (actually we leave an empty line to preserve line numbers).
51144 if test "x$srcdir" = x.
; then
51145 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51146 s/:*\$(srcdir):*/:/;
51147 s/:*\${srcdir}:*/:/;
51149 s/^\([^=]*=[ ]*\):*/\1/;
51155 DEFS
=-DHAVE_CONFIG_H
51159 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51160 # 1. Remove the extension, and $U if already installed.
51161 ac_i
=`echo "$ac_i" |
51162 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
51164 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
51165 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
51167 LIBOBJS
=$ac_libobjs
51169 LTLIBOBJS
=$ac_ltlibobjs
51173 : ${CONFIG_STATUS=./config.status}
51174 ac_clean_files_save
=$ac_clean_files
51175 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51176 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51177 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51178 cat >$CONFIG_STATUS <<_ACEOF
51180 # Generated by $as_me.
51181 # Run this file to recreate the current configuration.
51182 # Compiler output produced by configure, useful for debugging
51183 # configure, is in config.log if it exists.
51186 ac_cs_recheck=false
51188 SHELL=\${CONFIG_SHELL-$SHELL}
51191 cat >>$CONFIG_STATUS <<\_ACEOF
51192 ## --------------------- ##
51193 ## M4sh Initialization. ##
51194 ## --------------------- ##
51196 # Be Bourne compatible
51197 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51200 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51201 # is contrary to our usage. Disable this feature.
51202 alias -g '${1+"$@"}'='"$@"'
51203 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
51206 DUALCASE
=1; export DUALCASE
# for MKS sh
51208 # Support unset when possible.
51209 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51216 # Work around bugs in pre-3.0 UWIN ksh.
51217 $as_unset ENV MAIL MAILPATH
51224 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51225 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51226 LC_TELEPHONE LC_TIME
51228 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51229 eval $as_var=C
; export $as_var
51235 # Required to use basename.
51236 if expr a
: '\(a\)' >/dev
/null
2>&1; then
51242 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
51243 as_basename
=basename
51249 # Name of the executable.
51250 as_me
=`$as_basename "$0" ||
51251 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51252 X"$0" : 'X\(//\)$' \| \
51253 X"$0" : 'X\(/\)$' \| \
51254 . : '\(.\)' 2>/dev/null ||
51256 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
51257 /^X\/\(\/\/\)$/{ s//\1/; q; }
51258 /^X\/\(\/\).*/{ s//\1/; q; }
51262 # PATH needs CR, and LINENO needs CR and PATH.
51263 # Avoid depending upon Character Ranges.
51264 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51265 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51266 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51267 as_cr_digits
='0123456789'
51268 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51270 # The user is always right.
51271 if test "${PATH_SEPARATOR+set}" != set; then
51272 echo "#! /bin/sh" >conf$$.sh
51273 echo "exit 0" >>conf$$.sh
51275 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51284 as_lineno_1
=$LINENO
51285 as_lineno_2
=$LINENO
51286 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
51287 test "x$as_lineno_1" != "x$as_lineno_2" &&
51288 test "x$as_lineno_3" = "x$as_lineno_2" || {
51289 # Find who we are. Look in the path if we contain no path at all
51292 *[\\/]* ) as_myself
=$0 ;;
51293 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51294 for as_dir
in $PATH
51297 test -z "$as_dir" && as_dir
=.
51298 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51303 # We did not find ourselves, most probably we were run as `sh COMMAND'
51304 # in which case we are not to be found in the path.
51305 if test "x$as_myself" = x
; then
51308 if test ! -f "$as_myself"; then
51309 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51310 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51311 { (exit 1); exit 1; }; }
51313 case $CONFIG_SHELL in
51315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51316 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
51319 test -z "$as_dir" && as_dir
=.
51320 for as_base
in sh bash ksh sh5
; do
51323 if ("$as_dir/$as_base" -c '
51324 as_lineno_1=$LINENO
51325 as_lineno_2=$LINENO
51326 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51327 test "x$as_lineno_1" != "x$as_lineno_2" &&
51328 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
51329 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
51330 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
51331 CONFIG_SHELL
=$as_dir/$as_base
51332 export CONFIG_SHELL
51333 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51341 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51342 # uniformly replaced by the line number. The first 'sed' inserts a
51343 # line-number line before each line; the second 'sed' does the real
51344 # work. The second script uses 'N' to pair each line-number line
51345 # with the numbered line, and appends trailing '-' during
51346 # substitution so that $LINENO is not a special case at line end.
51347 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51348 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51349 sed '=' <$as_myself |
51354 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51357 s,^['$as_cr_digits']*\n,,
51358 ' >$as_me.lineno
&&
51359 chmod +x
$as_me.lineno
||
51360 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51361 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51362 { (exit 1); exit 1; }; }
51364 # Don't try to exec as it changes $[0], causing all sort of problems
51365 # (the dirname of $[0] is not the place where we might find the
51366 # original and so on. Autoconf is especially sensible to this).
51368 # Exit status is that of the last command.
51373 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51374 *c
*,-n*) ECHO_N
= ECHO_C
='
51376 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
51377 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
51380 if expr a
: '\(a\)' >/dev
/null
2>&1; then
51386 rm -f conf$$ conf$$.exe conf$$.
file
51388 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51389 # We could just check for DJGPP; but this test a) works b) is more generic
51390 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51391 if test -f conf$$.exe
; then
51392 # Don't use ln at all; we don't have any links
51397 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51402 rm -f conf$$ conf$$.exe conf$$.
file
51404 if mkdir -p .
2>/dev
/null
; then
51407 test -d .
/-p && rmdir .
/-p
51411 as_executable_p
="test -f"
51413 # Sed expression to map a string onto a valid CPP name.
51414 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51416 # Sed expression to map a string onto a valid variable name.
51417 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51421 # We need space, tab and new line, in precisely that order.
51431 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51432 # report actual input values of CONFIG_FILES etc. instead of their
51433 # values after options handling. Logging --version etc. is OK.
51437 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51438 ## Running $as_me. ##
51443 This file was extended by wxWidgets $as_me 2.8.0, which was
51444 generated by GNU Autoconf 2.59. Invocation command line was
51446 CONFIG_FILES = $CONFIG_FILES
51447 CONFIG_HEADERS = $CONFIG_HEADERS
51448 CONFIG_LINKS = $CONFIG_LINKS
51449 CONFIG_COMMANDS = $CONFIG_COMMANDS
51453 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51457 # Files that config.status was made for.
51458 if test -n "$ac_config_files"; then
51459 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51462 if test -n "$ac_config_headers"; then
51463 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51466 if test -n "$ac_config_links"; then
51467 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51470 if test -n "$ac_config_commands"; then
51471 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51474 cat >>$CONFIG_STATUS <<\_ACEOF
51477 \`$as_me' instantiates files from templates according to the
51478 current configuration.
51480 Usage: $0 [OPTIONS] [FILE]...
51482 -h, --help print this help, then exit
51483 -V, --version print version number, then exit
51484 -q, --quiet do not print progress messages
51485 -d, --debug don't remove temporary files
51486 --recheck update $as_me by reconfiguring in the same conditions
51487 --file=FILE[:TEMPLATE]
51488 instantiate the configuration file FILE
51489 --header=FILE[:TEMPLATE]
51490 instantiate the configuration header FILE
51492 Configuration files:
51495 Configuration headers:
51498 Configuration commands:
51501 Report bugs to <bug-autoconf@gnu.org>."
51504 cat >>$CONFIG_STATUS <<_ACEOF
51506 wxWidgets config.status 2.8.0
51507 configured by $0, generated by GNU Autoconf 2.59,
51508 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51510 Copyright (C) 2003 Free Software Foundation, Inc.
51511 This config.status script is free software; the Free Software Foundation
51512 gives unlimited permission to copy, distribute and modify it."
51517 cat >>$CONFIG_STATUS <<\_ACEOF
51518 # If no file are specified by the user, then we need to provide default
51519 # value. By we need to know if files were specified by the user.
51525 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
51526 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
51534 *) # This is not an option, so the user has probably given explicit
51537 ac_need_defaults
=false
;;
51541 # Handling of the options.
51543 cat >>$CONFIG_STATUS <<\_ACEOF
51544 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51546 --version | --vers* | -V )
51547 echo "$ac_cs_version"; exit 0 ;;
51549 # Conflict between --help and --header
51550 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51551 Try \`$0 --help' for more information." >&5
51552 echo "$as_me: error: ambiguous option: $1
51553 Try \`$0 --help' for more information." >&2;}
51554 { (exit 1); exit 1; }; };;
51555 --help | --hel | -h )
51556 echo "$ac_cs_usage"; exit 0 ;;
51557 --debug | --d* | -d )
51559 --file | --fil | --fi | --f )
51561 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51562 ac_need_defaults
=false
;;
51563 --header | --heade | --head | --hea )
51565 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51566 ac_need_defaults
=false
;;
51567 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51568 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51571 # This is an error.
51572 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51573 Try \`$0 --help' for more information." >&5
51574 echo "$as_me: error: unrecognized option: $1
51575 Try \`$0 --help' for more information." >&2;}
51576 { (exit 1); exit 1; }; } ;;
51578 *) ac_config_targets
="$ac_config_targets $1" ;;
51584 ac_configure_extra_args
=
51586 if $ac_cs_silent; then
51588 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51592 cat >>$CONFIG_STATUS <<_ACEOF
51593 if \$ac_cs_recheck; then
51594 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51595 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51600 cat >>$CONFIG_STATUS <<_ACEOF
51602 # INIT-COMMANDS section.
51607 infile="$srcdir/include/wx/msw/genrcdefs.h"
51608 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51611 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51612 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51613 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51621 cat >>$CONFIG_STATUS <<\_ACEOF
51622 for ac_config_target
in $ac_config_targets
51624 case "$ac_config_target" in
51625 # Handling of arguments.
51626 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51627 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51628 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51629 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51630 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51631 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51632 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51633 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51634 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51635 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51636 { (exit 1); exit 1; }; };;
51640 # If the user did not use the arguments to specify the items to instantiate,
51641 # then the envvar interface is used. Set only those that are not.
51642 # We use the long form for the default assignment because of an extremely
51643 # bizarre bug on SunOS 4.1.3.
51644 if $ac_need_defaults; then
51645 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51646 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51647 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51650 # Have a temporary directory for convenience. Make it in the build tree
51651 # simply because there is no reason to put it here, and in addition,
51652 # creating and moving files from /tmp can sometimes cause problems.
51653 # Create a temporary directory, and hook for its removal unless debugging.
51656 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51657 trap '{ (exit 1); exit 1; }' 1 2 13 15
51660 # Create a (secure) tmp directory for tmp files.
51663 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51664 test -n "$tmp" && test -d "$tmp"
51667 tmp
=.
/confstat$$
-$RANDOM
51668 (umask 077 && mkdir $tmp)
51671 echo "$me: cannot create a temporary directory in ." >&2
51672 { (exit 1); exit 1; }
51677 cat >>$CONFIG_STATUS <<_ACEOF
51680 # CONFIG_FILES section.
51683 # No need to generate the scripts if there are no CONFIG_FILES.
51684 # This happens for instance when ./config.status config.h
51685 if test -n "\$CONFIG_FILES"; then
51686 # Protect against being on the right side of a sed subst in config.status.
51687 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51688 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51689 s,@SHELL@,$SHELL,;t t
51690 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51691 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51692 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51693 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51694 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51695 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51696 s,@exec_prefix@,$exec_prefix,;t t
51697 s,@prefix@,$prefix,;t t
51698 s,@program_transform_name@,$program_transform_name,;t t
51699 s,@bindir@,$bindir,;t t
51700 s,@sbindir@,$sbindir,;t t
51701 s,@libexecdir@,$libexecdir,;t t
51702 s,@datadir@,$datadir,;t t
51703 s,@sysconfdir@,$sysconfdir,;t t
51704 s,@sharedstatedir@,$sharedstatedir,;t t
51705 s,@localstatedir@,$localstatedir,;t t
51706 s,@libdir@,$libdir,;t t
51707 s,@includedir@,$includedir,;t t
51708 s,@oldincludedir@,$oldincludedir,;t t
51709 s,@infodir@,$infodir,;t t
51710 s,@mandir@,$mandir,;t t
51711 s,@build_alias@,$build_alias,;t t
51712 s,@host_alias@,$host_alias,;t t
51713 s,@target_alias@,$target_alias,;t t
51714 s,@DEFS@,$DEFS,;t t
51715 s,@ECHO_C@,$ECHO_C,;t t
51716 s,@ECHO_N@,$ECHO_N,;t t
51717 s,@ECHO_T@,$ECHO_T,;t t
51718 s,@LIBS@,$LIBS,;t t
51719 s,@build@,$build,;t t
51720 s,@build_cpu@,$build_cpu,;t t
51721 s,@build_vendor@,$build_vendor,;t t
51722 s,@build_os@,$build_os,;t t
51723 s,@host@,$host,;t t
51724 s,@host_cpu@,$host_cpu,;t t
51725 s,@host_vendor@,$host_vendor,;t t
51726 s,@host_os@,$host_os,;t t
51727 s,@target@,$target,;t t
51728 s,@target_cpu@,$target_cpu,;t t
51729 s,@target_vendor@,$target_vendor,;t t
51730 s,@target_os@,$target_os,;t t
51731 s,@wx_top_builddir@,$wx_top_builddir,;t t
51733 s,@CFLAGS@,$CFLAGS,;t t
51734 s,@LDFLAGS@,$LDFLAGS,;t t
51735 s,@CPPFLAGS@,$CPPFLAGS,;t t
51736 s,@ac_ct_CC@,$ac_ct_CC,;t t
51737 s,@EXEEXT@,$EXEEXT,;t t
51738 s,@OBJEXT@,$OBJEXT,;t t
51740 s,@EGREP@,$EGREP,;t t
51742 s,@CXXFLAGS@,$CXXFLAGS,;t t
51743 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51744 s,@RANLIB@,$RANLIB,;t t
51745 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51747 s,@ac_ct_AR@,$ac_ct_AR,;t t
51748 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51749 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51750 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51751 s,@STRIP@,$STRIP,;t t
51752 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51753 s,@WINDRES@,$WINDRES,;t t
51754 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51755 s,@DLLTOOL@,$DLLTOOL,;t t
51756 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51757 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51758 s,@LN_S@,$LN_S,;t t
51759 s,@CXXCPP@,$CXXCPP,;t t
51760 s,@subdirs@,$subdirs,;t t
51761 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51762 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51763 s,@GTK_LIBS@,$GTK_LIBS,;t t
51764 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51765 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51766 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51767 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51768 s,@X_CFLAGS@,$X_CFLAGS,;t t
51769 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51770 s,@X_LIBS@,$X_LIBS,;t t
51771 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51772 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51773 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51774 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51775 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51776 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51777 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51779 s,@DEREZ@,$DEREZ,;t t
51780 s,@SETFILE@,$SETFILE,;t t
51781 s,@LIBICONV@,$LIBICONV,;t t
51782 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51783 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51784 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51785 s,@SDL_LIBS@,$SDL_LIBS,;t t
51786 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51787 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51788 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51789 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51790 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51791 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51792 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51793 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51794 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51795 s,@GST_LIBS@,$GST_LIBS,;t t
51796 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51797 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51798 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51799 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51800 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51801 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51802 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51803 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51804 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51805 s,@VENDOR@,$VENDOR,;t t
51806 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51807 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51808 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51809 s,@WXUNIV@,$WXUNIV,;t t
51810 s,@MONOLITHIC@,$MONOLITHIC,;t t
51811 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51812 s,@EXTRALIBS@,$EXTRALIBS,;t t
51813 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51814 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51815 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51816 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51817 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51818 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51819 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51820 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51821 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51822 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51823 s,@UNICODE@,$UNICODE,;t t
51824 s,@BUILD@,$BUILD,;t t
51825 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51826 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51827 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51828 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51829 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51830 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51831 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51832 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51833 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51834 s,@SET_MAKE@,$SET_MAKE,;t t
51835 s,@MAKE_SET@,$MAKE_SET,;t t
51836 s,@AROPTIONS@,$AROPTIONS,;t t
51838 s,@ac_ct_NM@,$ac_ct_NM,;t t
51839 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51840 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51841 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51842 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51843 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51844 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51845 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51846 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51847 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51848 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51849 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51850 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51851 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51852 s,@LIBPREFIX@,$LIBPREFIX,;t t
51853 s,@LIBEXT@,$LIBEXT,;t t
51854 s,@DLLPREFIX@,$DLLPREFIX,;t t
51855 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51856 s,@dlldir@,$dlldir,;t t
51857 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51858 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51859 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51860 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51861 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51862 s,@PIC_FLAG@,$PIC_FLAG,;t t
51863 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51864 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51865 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51866 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51867 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51868 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51869 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51870 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51871 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51872 s,@BK_DEPS@,$BK_DEPS,;t t
51873 s,@GCC_PCH@,$GCC_PCH,;t t
51874 s,@ICC_PCH@,$ICC_PCH,;t t
51875 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
51876 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51877 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51878 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51879 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51880 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51881 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51882 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51883 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51884 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51885 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51886 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51887 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51888 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51889 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51890 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51891 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51892 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51893 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51894 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51895 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51896 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
51897 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
51898 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
51899 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
51900 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51901 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51902 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51903 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51904 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51905 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51906 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
51907 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
51908 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
51909 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
51910 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51911 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51912 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51913 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51914 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51915 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51916 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51917 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51918 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51919 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51920 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51921 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51922 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51923 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51924 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51925 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51926 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51927 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51928 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51929 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51930 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51931 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51932 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51933 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51934 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51935 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51936 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51937 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51938 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51939 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
51940 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
51941 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51942 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51943 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51944 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51945 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51946 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51947 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51948 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51949 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51950 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51951 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51952 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51953 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51954 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51955 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51956 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51957 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51958 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51959 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51960 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51961 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51962 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51963 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51964 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51965 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51966 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51967 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51968 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51969 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51970 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51971 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
51972 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51973 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51974 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51975 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51976 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51977 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51978 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51979 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51980 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51981 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51982 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51983 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51984 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51985 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51986 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51987 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51988 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51989 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51990 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51991 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51992 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51993 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51994 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51995 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51996 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51997 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51998 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51999 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
52000 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
52001 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
52002 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
52003 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52004 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52005 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52006 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
52007 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
52008 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
52009 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
52010 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
52011 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
52012 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
52013 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
52014 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
52015 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
52016 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
52017 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
52018 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
52019 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
52020 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
52021 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
52022 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
52023 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
52024 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
52025 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
52026 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
52027 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
52028 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
52029 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
52030 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
52031 s,@SHARED@,$SHARED,;t t
52032 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
52033 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
52034 s,@USE_GUI@,$USE_GUI,;t t
52035 s,@AFMINSTALL@,$AFMINSTALL,;t t
52036 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
52037 s,@TOOLKIT@,$TOOLKIT,;t t
52038 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
52039 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
52040 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
52041 s,@cross_compiling@,$cross_compiling,;t t
52042 s,@WIDGET_SET@,$WIDGET_SET,;t t
52043 s,@WX_RELEASE@,$WX_RELEASE,;t t
52044 s,@WX_VERSION@,$WX_VERSION,;t t
52045 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
52046 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
52047 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
52048 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
52049 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
52050 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
52051 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
52052 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
52053 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
52054 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
52055 s,@EXE_LINKER@,$EXE_LINKER,;t t
52056 s,@GUIDIST@,$GUIDIST,;t t
52057 s,@DISTDIR@,$DISTDIR,;t t
52058 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
52059 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
52060 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
52061 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
52062 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
52063 s,@RESCOMP@,$RESCOMP,;t t
52064 s,@RESFLAGS@,$RESFLAGS,;t t
52065 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
52066 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
52067 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
52068 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
52069 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
52070 s,@MACSETFILE@,$MACSETFILE,;t t
52072 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
52073 s,@LIBOBJS@,$LIBOBJS,;t t
52074 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
52079 cat >>$CONFIG_STATUS <<\_ACEOF
52080 # Split the substitutions into bite-sized pieces for seds with
52081 # small command number limits, like on Digital OSF/1 and HP-UX.
52082 ac_max_sed_lines
=48
52083 ac_sed_frag
=1 # Number of current file.
52084 ac_beg
=1 # First line for current file.
52085 ac_end
=$ac_max_sed_lines # Line after last line for current file.
52088 while $ac_more_lines; do
52089 if test $ac_beg -gt 1; then
52090 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
52092 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
52094 if test ! -s $tmp/subs.frag
; then
52095 ac_more_lines
=false
52097 # The purpose of the label and of the branching condition is to
52098 # speed up the sed processing (if there are no `@' at all, there
52099 # is no need to browse any of the substitutions).
52100 # These are the two extra sed commands mentioned above.
52102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
52103 if test -z "$ac_sed_cmds"; then
52104 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
52106 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
52108 ac_sed_frag
=`expr $ac_sed_frag + 1`
52110 ac_end
=`expr $ac_end + $ac_max_sed_lines`
52113 if test -z "$ac_sed_cmds"; then
52116 fi # test -n "$CONFIG_FILES"
52119 cat >>$CONFIG_STATUS <<\_ACEOF
52120 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
52121 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52123 - | *:- | *:-:* ) # input from stdin
52125 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52126 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52127 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52128 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52129 * ) ac_file_in
=$ac_file.
in ;;
52132 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
52133 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
52134 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52135 X"$ac_file" : 'X\(//\)[^/]' \| \
52136 X"$ac_file" : 'X\(//\)$' \| \
52137 X"$ac_file" : 'X\(/\)' \| \
52138 . : '\(.\)' 2>/dev/null ||
52140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52141 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52142 /^X\(\/\/\)$/{ s//\1/; q; }
52143 /^X\(\/\).*/{ s//\1/; q; }
52145 { if $as_mkdir_p; then
52150 while test ! -d "$as_dir"; do
52151 as_dirs
="$as_dir $as_dirs"
52152 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52153 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52154 X"$as_dir" : 'X\(//\)[^/]' \| \
52155 X"$as_dir" : 'X\(//\)$' \| \
52156 X"$as_dir" : 'X\(/\)' \| \
52157 . : '\(.\)' 2>/dev/null ||
52159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52160 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52161 /^X\(\/\/\)$/{ s//\1/; q; }
52162 /^X\(\/\).*/{ s//\1/; q; }
52165 test ! -n "$as_dirs" || mkdir $as_dirs
52166 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52167 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52168 { (exit 1); exit 1; }; }; }
52172 if test "$ac_dir" != .
; then
52173 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52174 # A "../" for each directory in $ac_dir_suffix.
52175 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52177 ac_dir_suffix
= ac_top_builddir
=
52181 .
) # No --srcdir option. We are building in place.
52183 if test -z "$ac_top_builddir"; then
52186 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52188 [\\/]* | ?
:[\\/]* ) # Absolute path.
52189 ac_srcdir
=$srcdir$ac_dir_suffix;
52190 ac_top_srcdir
=$srcdir ;;
52191 *) # Relative path.
52192 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52193 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52196 # Do not use `cd foo && pwd` to compute absolute paths, because
52197 # the directories may not exist.
52199 .
) ac_abs_builddir
="$ac_dir";;
52202 .
) ac_abs_builddir
=`pwd`;;
52203 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52204 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52207 case $ac_abs_builddir in
52208 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52210 case ${ac_top_builddir}.
in
52211 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52212 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52213 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52216 case $ac_abs_builddir in
52217 .
) ac_abs_srcdir
=$ac_srcdir;;
52220 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52221 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52222 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52225 case $ac_abs_builddir in
52226 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52228 case $ac_top_srcdir in
52229 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52230 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52231 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52237 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52238 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
52241 # Let's still pretend it is `configure' which instantiates (i.e., don't
52242 # use $as_me), people would be surprised to read:
52243 # /* config.h. Generated by config.status. */
52244 if test x
"$ac_file" = x
-; then
52247 configure_input
="$ac_file. "
52249 configure_input
=$configure_input"Generated from `echo $ac_file_in |
52250 sed 's,.*/,,'` by configure."
52252 # First look for the input files in the build tree, otherwise in the
52254 ac_file_inputs
=`IFS=:
52255 for f in $ac_file_in; do
52257 -) echo $tmp/stdin ;;
52259 # Absolute (can't be DOS-style, as IFS=:)
52260 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52261 echo "$as_me: error: cannot find input file: $f" >&2;}
52262 { (exit 1); exit 1; }; }
52265 if test -f "$f"; then
52268 elif test -f "$srcdir/$f"; then
52273 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52274 echo "$as_me: error: cannot find input file: $f" >&2;}
52275 { (exit 1); exit 1; }; }
52278 done` || { (exit 1); exit 1; }
52280 if test x
"$ac_file" != x
-; then
52281 { echo "$as_me:$LINENO: creating $ac_file" >&5
52282 echo "$as_me: creating $ac_file" >&6;}
52286 cat >>$CONFIG_STATUS <<_ACEOF
52290 cat >>$CONFIG_STATUS <<\_ACEOF
52292 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52293 s
,@configure_input@
,$configure_input,;t t
52294 s
,@srcdir@
,$ac_srcdir,;t t
52295 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
52296 s
,@top_srcdir@
,$ac_top_srcdir,;t t
52297 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
52298 s
,@builddir@
,$ac_builddir,;t t
52299 s
,@abs_builddir@
,$ac_abs_builddir,;t t
52300 s
,@top_builddir@
,$ac_top_builddir,;t t
52301 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
52302 s
,@INSTALL@
,$ac_INSTALL,;t t
52303 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52305 if test x"$ac_file" != x-; then
52306 mv $tmp/out $ac_file
52312 # Run the commands associated with the file.
52314 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52315 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52319 cat >>$CONFIG_STATUS <<\_ACEOF
52322 # CONFIG_HEADER section.
52325 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
52326 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52328 # ac_d sets the value in "#define NAME VALUE" lines.
52329 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52330 ac_dB
='[ ].*$,\1#\2'
52333 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52334 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52335 ac_uB
='$,\1#\2define\3'
52339 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
52340 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52342 - | *:- | *:-:* ) # input from stdin
52344 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52345 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52346 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52347 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
52348 * ) ac_file_in
=$ac_file.
in ;;
52351 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52352 echo "$as_me: creating $ac_file" >&6;}
52354 # First look for the input files in the build tree, otherwise in the
52356 ac_file_inputs
=`IFS=:
52357 for f in $ac_file_in; do
52359 -) echo $tmp/stdin ;;
52361 # Absolute (can't be DOS-style, as IFS=:)
52362 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52363 echo "$as_me: error: cannot find input file: $f" >&2;}
52364 { (exit 1); exit 1; }; }
52365 # Do quote $f, to prevent DOS paths from being IFS'd.
52368 if test -f "$f"; then
52371 elif test -f "$srcdir/$f"; then
52376 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52377 echo "$as_me: error: cannot find input file: $f" >&2;}
52378 { (exit 1); exit 1; }; }
52381 done` || { (exit 1); exit 1; }
52382 # Remove the trailing spaces.
52383 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52387 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52388 # `conftest.undefs', that substitutes the proper values into
52389 # config.h.in to produce config.h. The first handles `#define'
52390 # templates, and the second `#undef' templates.
52391 # And first: Protect against being on the right side of a sed subst in
52392 # config.status. Protect against being in an unquoted here document
52393 # in config.status.
52394 rm -f conftest.defines conftest.undefs
52395 # Using a here document instead of a string reduces the quoting nightmare.
52396 # Putting comments in sed scripts is not portable.
52398 # `end' is used to avoid that the second main sed command (meant for
52399 # 0-ary CPP macros) applies to n-ary macro definitions.
52400 # See the Autoconf documentation for `clear'.
52401 cat >confdef2sed.
sed <<\_ACEOF
52406 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52408 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52411 # If some macros were called several times there might be several times
52412 # the same #defines, which is useless. Nevertheless, we may not want to
52413 # sort them, since we want the *last* AC-DEFINE to be honored.
52414 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52415 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52416 rm -f confdef2sed.sed
52418 # This sed command replaces #undef with comments. This is necessary, for
52419 # example, in the case of _POSIX_SOURCE, which is predefined and required
52420 # on some systems where configure will not decide to define it.
52421 cat >>conftest.undefs <<\_ACEOF
52422 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52425 # Break up conftest.defines because some shells have a limit on the size
52426 # of here documents, and old seds have small limits too (100 cmds).
52427 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52428 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52429 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52430 echo ' :' >>$CONFIG_STATUS
52431 rm -f conftest.tail
52432 while grep . conftest.defines >/dev/null
52434 # Write a limited-size here document to $tmp/defines.sed.
52435 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52436 # Speed up: don't consider the non `#define' lines.
52437 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52438 # Work around the forget-to-reset-the-flag bug.
52439 echo 't clr' >>$CONFIG_STATUS
52440 echo ': clr' >>$CONFIG_STATUS
52441 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
52443 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52445 mv $tmp/out $tmp/in
52447 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
52448 rm -f conftest.defines
52449 mv conftest.
tail conftest.defines
52451 rm -f conftest.defines
52452 echo ' fi # grep' >>$CONFIG_STATUS
52453 echo >>$CONFIG_STATUS
52455 # Break up conftest.undefs because some shells have a limit on the size
52456 # of here documents, and old seds have small limits too (100 cmds).
52457 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52458 rm -f conftest.
tail
52459 while grep . conftest.undefs
>/dev
/null
52461 # Write a limited-size here document to $tmp/undefs.sed.
52462 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52463 # Speed up: don't consider the non
`#undef'
52464 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52465 # Work around the forget-to-reset-the-flag bug.
52466 echo 't clr' >>$CONFIG_STATUS
52467 echo ': clr' >>$CONFIG_STATUS
52468 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52470 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52472 mv $tmp/out $tmp/in
52474 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52475 rm -f conftest.undefs
52476 mv conftest.tail conftest.undefs
52478 rm -f conftest.undefs
52480 cat >>$CONFIG_STATUS <<\_ACEOF
52481 # Let's still pretend it is `configure
' which instantiates (i.e., don't
52482 # use $as_me), people would be surprised to read:
52483 # /* config.h. Generated by config.status. */
52484 if test x
"$ac_file" = x
-; then
52485 echo "/* Generated by configure. */" >$tmp/config.h
52487 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52489 cat $tmp/in >>$tmp/config.h
52491 if test x
"$ac_file" != x
-; then
52492 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
52493 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52494 echo "$as_me: $ac_file is unchanged" >&6;}
52496 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
52497 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52498 X"$ac_file" : 'X\(//\)[^/]' \| \
52499 X"$ac_file" : 'X\(//\)$' \| \
52500 X"$ac_file" : 'X\(/\)' \| \
52501 . : '\(.\)' 2>/dev/null ||
52503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52504 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52505 /^X\(\/\/\)$/{ s//\1/; q; }
52506 /^X\(\/\).*/{ s//\1/; q; }
52508 { if $as_mkdir_p; then
52513 while test ! -d "$as_dir"; do
52514 as_dirs
="$as_dir $as_dirs"
52515 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52516 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52517 X"$as_dir" : 'X\(//\)[^/]' \| \
52518 X"$as_dir" : 'X\(//\)$' \| \
52519 X"$as_dir" : 'X\(/\)' \| \
52520 . : '\(.\)' 2>/dev/null ||
52522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52523 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52524 /^X\(\/\/\)$/{ s//\1/; q; }
52525 /^X\(\/\).*/{ s//\1/; q; }
52528 test ! -n "$as_dirs" || mkdir $as_dirs
52529 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52530 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52531 { (exit 1); exit 1; }; }; }
52534 mv $tmp/config.h
$ac_file
52538 rm -f $tmp/config.h
52542 cat >>$CONFIG_STATUS <<\_ACEOF
52545 # CONFIG_COMMANDS section.
52547 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
52548 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
52549 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52550 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
52551 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52552 X"$ac_dest" : 'X\(//\)[^/]' \| \
52553 X"$ac_dest" : 'X\(//\)$' \| \
52554 X"$ac_dest" : 'X\(/\)' \| \
52555 . : '\(.\)' 2>/dev/null ||
52557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52558 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52559 /^X\(\/\/\)$/{ s//\1/; q; }
52560 /^X\(\/\).*/{ s//\1/; q; }
52562 { if $as_mkdir_p; then
52567 while test ! -d "$as_dir"; do
52568 as_dirs
="$as_dir $as_dirs"
52569 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52570 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52571 X"$as_dir" : 'X\(//\)[^/]' \| \
52572 X"$as_dir" : 'X\(//\)$' \| \
52573 X"$as_dir" : 'X\(/\)' \| \
52574 . : '\(.\)' 2>/dev/null ||
52576 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52577 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52578 /^X\(\/\/\)$/{ s//\1/; q; }
52579 /^X\(\/\).*/{ s//\1/; q; }
52582 test ! -n "$as_dirs" || mkdir $as_dirs
52583 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52584 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52585 { (exit 1); exit 1; }; }; }
52589 if test "$ac_dir" != .
; then
52590 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52591 # A "../" for each directory in $ac_dir_suffix.
52592 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52594 ac_dir_suffix
= ac_top_builddir
=
52598 .
) # No --srcdir option. We are building in place.
52600 if test -z "$ac_top_builddir"; then
52603 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52605 [\\/]* | ?
:[\\/]* ) # Absolute path.
52606 ac_srcdir
=$srcdir$ac_dir_suffix;
52607 ac_top_srcdir
=$srcdir ;;
52608 *) # Relative path.
52609 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52610 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52613 # Do not use `cd foo && pwd` to compute absolute paths, because
52614 # the directories may not exist.
52616 .
) ac_abs_builddir
="$ac_dir";;
52619 .
) ac_abs_builddir
=`pwd`;;
52620 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52621 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52624 case $ac_abs_builddir in
52625 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52627 case ${ac_top_builddir}.
in
52628 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52629 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52630 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52633 case $ac_abs_builddir in
52634 .
) ac_abs_srcdir
=$ac_srcdir;;
52637 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52638 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52639 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52642 case $ac_abs_builddir in
52643 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52645 case $ac_top_srcdir in
52646 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52647 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52648 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52653 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52654 echo "$as_me: executing $ac_dest commands" >&6;}
52657 mkdir -p $outdir &&
52658 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52660 wx
-config ) rm -f wx
-config
52661 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52667 cat >>$CONFIG_STATUS <<\_ACEOF
52669 { (exit 0); exit 0; }
52671 chmod +x
$CONFIG_STATUS
52672 ac_clean_files
=$ac_clean_files_save
52675 # configure is writing to config.log, and then calls config.status.
52676 # config.status does its own redirection, appending to config.log.
52677 # Unfortunately, on DOS this fails, as config.log is still kept open
52678 # by configure, so config.status won't be able to write to it; its
52679 # output is simply discarded. So we exec the FD to /dev/null,
52680 # effectively closing config.log, so it can be properly (re)opened and
52681 # appended to by config.status. When coming back to configure, we
52682 # need to make the FD available again.
52683 if test "$no_create" != yes; then
52685 ac_config_status_args
=
52686 test "$silent" = yes &&
52687 ac_config_status_args
="$ac_config_status_args --quiet"
52689 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52691 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52692 # would make configure fail if this is the last instruction.
52693 $ac_cs_success || { (exit 1); exit 1; }
52697 # CONFIG_SUBDIRS section.
52699 if test "$no_recursion" != yes; then
52701 # Remove --cache-file and --srcdir arguments so they do not pile up.
52702 ac_sub_configure_args
=
52704 for ac_arg
in $ac_configure_args; do
52705 if test -n "$ac_prev"; then
52710 -cache-file | --cache-file | --cache-fil | --cache-fi \
52711 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52712 ac_prev
=cache_file
;;
52713 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52714 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52717 --config-cache | -C)
52719 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52721 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52723 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52725 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52727 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
52731 # Always prepend --prefix to ensure using the same prefix
52732 # in subdir configurations.
52733 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
52736 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52738 # Do not complain, so a configure script can configure whichever
52739 # parts of a large source tree are present.
52740 test -d $srcdir/$ac_dir || continue
52742 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52743 echo "$as_me: configuring in $ac_dir" >&6;}
52744 { if $as_mkdir_p; then
52749 while test ! -d "$as_dir"; do
52750 as_dirs
="$as_dir $as_dirs"
52751 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52752 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52753 X"$as_dir" : 'X\(//\)[^/]' \| \
52754 X"$as_dir" : 'X\(//\)$' \| \
52755 X"$as_dir" : 'X\(/\)' \| \
52756 . : '\(.\)' 2>/dev/null ||
52758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52759 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52760 /^X\(\/\/\)$/{ s//\1/; q; }
52761 /^X\(\/\).*/{ s//\1/; q; }
52764 test ! -n "$as_dirs" || mkdir $as_dirs
52765 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52766 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52767 { (exit 1); exit 1; }; }; }
52771 if test "$ac_dir" != .
; then
52772 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52773 # A "../" for each directory in $ac_dir_suffix.
52774 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52776 ac_dir_suffix
= ac_top_builddir
=
52780 .
) # No --srcdir option. We are building in place.
52782 if test -z "$ac_top_builddir"; then
52785 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52787 [\\/]* | ?
:[\\/]* ) # Absolute path.
52788 ac_srcdir
=$srcdir$ac_dir_suffix;
52789 ac_top_srcdir
=$srcdir ;;
52790 *) # Relative path.
52791 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52792 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52795 # Do not use `cd foo && pwd` to compute absolute paths, because
52796 # the directories may not exist.
52798 .
) ac_abs_builddir
="$ac_dir";;
52801 .
) ac_abs_builddir
=`pwd`;;
52802 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52803 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52806 case $ac_abs_builddir in
52807 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52809 case ${ac_top_builddir}.
in
52810 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52811 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52812 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52815 case $ac_abs_builddir in
52816 .
) ac_abs_srcdir
=$ac_srcdir;;
52819 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52820 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52821 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52824 case $ac_abs_builddir in
52825 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52827 case $ac_top_srcdir in
52828 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52829 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52830 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52837 # Check for guested configure; otherwise get Cygnus style configure.
52838 if test -f $ac_srcdir/configure.gnu
; then
52839 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
52840 elif test -f $ac_srcdir/configure
; then
52841 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
52842 elif test -f $ac_srcdir/configure.
in; then
52843 ac_sub_configure
=$ac_configure
52845 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52846 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52850 # The recursion is here.
52851 if test -n "$ac_sub_configure"; then
52852 # Make the cache file name correct relative to the subdirectory.
52853 case $cache_file in
52854 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52855 *) # Relative path.
52856 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
52859 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52860 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52861 # The eval makes quoting arguments work.
52862 eval $ac_sub_configure $ac_sub_configure_args \
52863 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52864 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52865 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52866 { (exit 1); exit 1; }; }
52875 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52877 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52878 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52880 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52881 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52882 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52884 echo " What level of wxWidgets compatibility should be enabled?"
52885 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52886 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52888 echo " Which libraries should wxWidgets use?"
52889 echo " jpeg ${wxUSE_LIBJPEG-none}"
52890 echo " png ${wxUSE_LIBPNG-none}"
52891 echo " regex ${wxUSE_REGEX}"
52892 echo " tiff ${wxUSE_LIBTIFF-none}"
52893 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52894 echo " xpm ${wxUSE_LIBXPM-none}"
52896 echo " zlib ${wxUSE_ZLIB}"
52897 echo " odbc ${wxUSE_ODBC}"
52898 echo " expat ${wxUSE_EXPAT}"
52899 echo " libmspack ${wxUSE_LIBMSPACK}"
52900 echo " sdl ${wxUSE_LIBSDL}"