2 # From configure.in Id: configure.in 48569 2007-09-05 18:55:18Z RR .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.9.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.9.0'
274 PACKAGE_STRING
='wxWidgets 2.9.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 AR ac_ct_AR 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 CFLAGS_VISIBILITY CXXFLAGS_VISIBILITY LIBICONV SDL_CONFIG SDL_CFLAGS SDL_LIBS GTKPRINT_CFLAGS GTKPRINT_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS ALL_WX_LIBS BUILT_WX_LIBS STD_BASE_LIBS STD_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 CXXWARNINGS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GTKPRINT 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 RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE MAKE_SET AROPTIONS STRIP ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI IF_GNU_MAKE 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 WINDRES ac_ct_WINDRES REZ SETFILE 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_STC_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_STC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_AUI_1 COND_MONOLITHIC_0_USE_GUI_1 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_USE_HTML_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_0_USE_QA_1 COND_MONOLITHIC_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_USE_STC_1 COND_MONOLITHIC_0_USE_XRC_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_STC_1 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_USE_OPENGL_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_STC_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 DEREZ 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 DLLTOOL 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_PKG_CONFIG_set
=${PKG_CONFIG+set}
786 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
787 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
788 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
789 ac_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
790 ac_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
791 ac_cv_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
792 ac_cv_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
793 ac_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
794 ac_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
795 ac_cv_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
796 ac_cv_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
797 ac_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
798 ac_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
799 ac_cv_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
800 ac_cv_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
801 ac_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
802 ac_env_PANGOX_LIBS_value
=$PANGOX_LIBS
803 ac_cv_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
804 ac_cv_env_PANGOX_LIBS_value
=$PANGOX_LIBS
805 ac_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
806 ac_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
807 ac_cv_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
808 ac_cv_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
809 ac_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
810 ac_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
811 ac_cv_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
812 ac_cv_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
813 ac_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
814 ac_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
815 ac_cv_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
816 ac_cv_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
817 ac_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
818 ac_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
819 ac_cv_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
820 ac_cv_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
821 ac_env_GTKPRINT_CFLAGS_set
=${GTKPRINT_CFLAGS+set}
822 ac_env_GTKPRINT_CFLAGS_value
=$GTKPRINT_CFLAGS
823 ac_cv_env_GTKPRINT_CFLAGS_set
=${GTKPRINT_CFLAGS+set}
824 ac_cv_env_GTKPRINT_CFLAGS_value
=$GTKPRINT_CFLAGS
825 ac_env_GTKPRINT_LIBS_set
=${GTKPRINT_LIBS+set}
826 ac_env_GTKPRINT_LIBS_value
=$GTKPRINT_LIBS
827 ac_cv_env_GTKPRINT_LIBS_set
=${GTKPRINT_LIBS+set}
828 ac_cv_env_GTKPRINT_LIBS_value
=$GTKPRINT_LIBS
829 ac_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
830 ac_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
831 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
833 ac_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
834 ac_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
835 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
836 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
837 ac_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
838 ac_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
839 ac_cv_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
840 ac_cv_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
841 ac_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
842 ac_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
843 ac_cv_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
844 ac_cv_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
845 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
846 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
847 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
848 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
849 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
850 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
851 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
852 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
853 ac_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
854 ac_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
855 ac_cv_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
856 ac_cv_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
857 ac_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
858 ac_env_CAIRO_LIBS_value
=$CAIRO_LIBS
859 ac_cv_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
860 ac_cv_env_CAIRO_LIBS_value
=$CAIRO_LIBS
861 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
862 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
863 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
864 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
865 ac_env_GST_LIBS_set
=${GST_LIBS+set}
866 ac_env_GST_LIBS_value
=$GST_LIBS
867 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
868 ac_cv_env_GST_LIBS_value
=$GST_LIBS
871 # Report the --help message.
873 if test "$ac_init_help" = "long"; then
874 # Omit some internal or obsolete options to make the list less imposing.
875 # This message is too long to be a string in the A/UX 3.1 sh.
877 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
879 Usage: $0 [OPTION]... [VAR=VALUE]...
881 To assign environment variables (e.g., CC, CFLAGS...), specify them as
882 VAR=VALUE. See below for descriptions of some of the useful variables.
884 Defaults for the options are specified in brackets.
887 -h, --help display this help and exit
888 --help=short display options specific to this package
889 --help=recursive display the short help of all the included packages
890 -V, --version display version information and exit
891 -q, --quiet, --silent do not print \`checking...' messages
892 --cache-file=FILE cache test results in FILE [disabled]
893 -C, --config-cache alias for \`--cache-file=config.cache'
894 -n, --no-create do not create output files
895 --srcdir=DIR find the sources in DIR [configure dir or \`..']
900 Installation directories:
901 --prefix=PREFIX install architecture-independent files in PREFIX
903 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
906 By default, \`make install' will install all the files in
907 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
908 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
909 for instance \`--prefix=\$HOME'.
911 For better control, use the options below.
913 Fine tuning of the installation directories:
914 --bindir=DIR user executables [EPREFIX/bin]
915 --sbindir=DIR system admin executables [EPREFIX/sbin]
916 --libexecdir=DIR program executables [EPREFIX/libexec]
917 --datadir=DIR read-only architecture-independent data [PREFIX/share]
918 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
919 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
920 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
921 --libdir=DIR object code libraries [EPREFIX/lib]
922 --includedir=DIR C header files [PREFIX/include]
923 --oldincludedir=DIR C header files for non-gcc [/usr/include]
924 --infodir=DIR info documentation [PREFIX/info]
925 --mandir=DIR man documentation [PREFIX/man]
931 --x-includes=DIR X include files are
in DIR
932 --x-libraries=DIR X library files are
in DIR
935 --build=BUILD configure
for building on BUILD
[guessed
]
936 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
937 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
941 if test -n "$ac_init_help"; then
942 case $ac_init_help in
943 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
948 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
949 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
950 --disable-gui don
't build GUI parts of the library
951 --enable-monolithic build wxWidgets as single library
952 --enable-plugins build parts of wxWidgets as loadable components
953 --enable-official_build official build of wxWidgets (win32 DLL only)
954 --enable-vendor=VENDOR vendor name (win32 DLL only)
955 --disable-all-features disable all optional features to build minimal library
956 --enable-universal use wxWidgets GUI controls instead of native ones
957 --enable-nanox use NanoX
958 --disable-gtk2 use GTK+ 1.2 instead of 2.0
959 --enable-gpe use GNOME PDA Environment features if possible
960 --disable-shared create static library instead of shared
961 --disable-optimise create optimised code
962 --enable-debug same as debug_flag and debug_info
963 --enable-stl use STL for containers
964 --enable-std_iostreams use standard C++ stream classes
965 --enable-std_string use standard C++ string classes
966 --disable-unicode compile without Unicode support
967 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
968 --enable-utf8 use UTF-8 representation for strings (Unix only)
969 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
970 --enable-extended_rtti use extended RTTI (XTI)
971 --enable-omf use OMF object format
972 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
973 --enable-debug_info create code with debugging information
974 --enable-debug_gdb create code with extra GDB debugging information
975 --enable-debug_cntxt use wxDebugContext
976 --enable-mem_tracing create code with memory tracing
977 --enable-profile create code with profiling information
978 --enable-no_rtti create code without RTTI information
979 --enable-no_exceptions create code without C++ exceptions handling
980 --enable-permissive compile code disregarding strict ANSI
981 --enable-no_deps create code without dependency information
982 --disable-vararg_macros don't use vararg macros
, even
if they are supported
983 --enable-universal_binary create Mac PowerPC and Intel Universal binary
(not yet working
)
984 --enable-compat26 enable wxWidgets
2.6 compatibility
985 --disable-compat28 disable wxWidgets
2.8 compatibility
986 --disable-rpath disable use of rpath
for uninstalled builds
987 --enable-objc_uniquifying enable Objective
-C class name uniquifying
988 --disable-visibility disable use of ELF symbols visibility even
if supported
989 --enable-intl use internationalization system
990 --enable-config use wxConfig
(and derived
) classes
991 --enable-protocols use wxProtocol and derived classes
992 --enable-ftp use wxFTP
(requires wxProtocol
993 --enable-http use wxHTTP
(requires wxProtocol
994 --enable-fileproto use wxFileProto class
(requires wxProtocol
995 --enable-sockets use socket
/network classes
996 --enable-ole use OLE classes
(Win32 only
)
997 --enable-dataobj use data object classes
998 --enable-ipc use interprocess communication
(wxSocket etc.
)
999 --enable-baseevtloop use event loop
in console programs too
1000 --enable-epoolloop use wxEpollDispatcher class
(Linux only
)
1001 --enable-selectloop use wxSelectDispatcher class
1002 --enable-apple_ieee use the Apple IEEE codec
1003 --enable-arcstream use wxArchive streams
1004 --enable-base64 use base64 encoding
/decoding functions
1005 --enable-backtrace use wxStackWalker class
for getting backtraces
1006 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1007 --enable-cmdline use wxCmdLineParser class
1008 --enable-datetime use wxDateTime class
1009 --enable-debugreport use wxDebugReport class
1010 --enable-dialupman use dialup network classes
1011 --enable-dynlib use wxLibrary class
for DLL loading
1012 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1013 --enable-exceptions build exception
-safe library
1014 --enable-ffile use wxFFile class
1015 --enable-file use wxFile class
1016 --enable-filesystem use virtual
file systems classes
1017 --enable-fontenum use wxFontEnumerator class
1018 --enable-fontmap use font encodings conversion classes
1019 --enable-fs_archive use virtual archive filesystems
1020 --enable-fs_inet use virtual HTTP
/FTP filesystems
1021 --enable-fs_zip now replaced by fs_archive
1022 --enable-geometry use geometry class
1023 --enable-log use logging system
1024 --enable-longlong use wxLongLong class
1025 --enable-mimetype use wxMimeTypesManager
1026 --enable-snglinst use wxSingleInstanceChecker class
1027 --enable-stdpaths use wxStandardPaths class
1028 --enable-stopwatch use wxStopWatch class
1029 --enable-streams use wxStream etc classes
1030 --enable-sysoptions use wxSystemOptions
1031 --enable-tarstream use wxTar streams
1032 --enable-textbuf use wxTextBuffer class
1033 --enable-textfile use wxTextFile class
1034 --enable-timer use wxTimer class
1035 --enable-sound use wxSound class
1036 --enable-mediactrl use wxMediaCtrl class
1037 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1038 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1039 --enable-zipstream use wxZip streams
1040 --enable-url use wxURL class
1041 --enable-variant use wxVariant class
1042 --enable-protocol use wxProtocol class
1043 --enable-protocol-http HTTP support
in wxProtocol
1044 --enable-protocol-ftp FTP support
in wxProtocol
1045 --enable-protocol-file FILE support
in wxProtocol
1046 --enable-threads use threads
1047 --enable-iniconf use wxIniConfig
(Win32 only
)
1048 --enable-regkey use wxRegKey class
(Win32 only
)
1049 --enable-docview use document view architecture
1050 --enable-help use
help subsystem
1051 --enable-mshtmlhelp use MS HTML Help
(win32
)
1052 --enable-html use wxHTML sub
-library
1053 --enable-htmlhelp use wxHTML
-based help
1054 --enable-xrc use XRC resources sub
-library
1055 --enable-aui use AUI docking library
1056 --enable-stc use wxStyledTextCtrl library
1057 --enable-constraints use layout
-constraints system
1058 --enable-printarch use printing architecture
1059 --enable-mdi use multiple document interface architecture
1060 --enable-mdidoc use docview architecture with MDI
1061 --enable-loggui use standard GUI logger
1062 --enable-logwin use wxLogWindow
1063 --enable-logdialog use wxLogDialog
1064 --enable-webkit use wxWebKitCtrl
(Mac
)
1065 --enable-richtext use wxRichTextCtrl
1066 --enable-graphics_ctx use graphics context
2D drawing API
1067 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1068 --enable-svg use wxSVGFileDC device context
1069 --enable-clipboard use wxClipboard class
1070 --enable-dnd use Drag
'n'Drop classes
1071 --enable-metafile use win32 metafiles
1072 --disable-controls disable compilation of all standard controls
1073 --enable-accel use accelerators
1074 --enable-animatectrl use wxAnimationCtrl class
1075 --enable-button use wxButton class
1076 --enable-bmpbutton use wxBitmapButton class
1077 --enable-bmpcombobox use wxBitmapComboBox class
1078 --enable-calendar use wxCalendarCtrl class
1079 --enable-caret use wxCaret class
1080 --enable-checkbox use wxCheckBox class
1081 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1082 --enable-choice use wxChoice class
1083 --enable-choicebook use wxChoicebook class
1084 --enable-collpane use wxCollapsiblePane class
1085 --enable-colourpicker use wxColourPickerCtrl class
1086 --enable-combobox use wxComboBox class
1087 --enable-comboctrl use wxComboCtrl class
1088 --enable-datepick use wxDatePickerCtrl class
1089 --enable-dirpicker use wxDirPickerCtrl class
1090 --enable-display use wxDisplay class
1091 --enable-detect_sm use code to detect X11 session manager
1092 --enable-editablebox use wxEditableListBox class
1093 --enable-filepicker use wxFilePickerCtrl class
1094 --enable-fontpicker use wxFontPickerCtrl class
1095 --enable-gauge use wxGauge class
1096 --enable-grid use wxGrid class
1097 --enable-dataviewctrl use wxDataViewCtrl class
1098 --enable-hyperlink use wxHyperlinkCtrl class
1099 --enable-imaglist use wxImageList class
1100 --enable-listbook use wxListbook class
1101 --enable-listbox use wxListBox class
1102 --enable-listctrl use wxListCtrl class
1103 --enable-notebook use wxNotebook class
1104 --enable-odcombobox use wxOwnerDrawnComboBox class
1105 --enable-radiobox use wxRadioBox class
1106 --enable-radiobtn use wxRadioButton class
1107 --enable-sash use wxSashWindow class
1108 --enable-scrollbar use wxScrollBar class and scrollable windows
1109 --enable-searchctrl use wxSearchCtrl class
1110 --enable-slider use wxSlider class
1111 --enable-spinbtn use wxSpinButton class
1112 --enable-spinctrl use wxSpinCtrl class
1113 --enable-splitter use wxSplitterWindow class
1114 --enable-statbmp use wxStaticBitmap class
1115 --enable-statbox use wxStaticBox class
1116 --enable-statline use wxStaticLine class
1117 --enable-stattext use wxStaticText class
1118 --enable-statusbar use wxStatusBar class
1119 --enable-tabdialog use wxTabControl class
1120 --enable-taskbaricon use wxTaskBarIcon class
1121 --enable-textctrl use wxTextCtrl class
1122 --enable-togglebtn use wxToggleButton class
1123 --enable-toolbar use wxToolBar class
1124 --enable-tbarnative use native wxToolBar class
1125 --enable-treebook use wxTreebook class
1126 --enable-toolbook use wxToolbook class
1127 --enable-treectrl use wxTreeCtrl class
1128 --enable-tipwindow use wxTipWindow class
1129 --enable-popupwin use wxPopUpWindow class
1130 --enable-commondlg use all common dialogs
1131 --enable-aboutdlg use wxAboutBox
1132 --enable-choicedlg use wxChoiceDialog
1133 --enable-coldlg use wxColourDialog
1134 --enable-filedlg use wxFileDialog
1135 --enable-finddlg use wxFindReplaceDialog
1136 --enable-fontdlg use wxFontDialog
1137 --enable-dirdlg use wxDirDialog
1138 --enable-msgdlg use wxMessageDialog
1139 --enable-numberdlg use wxNumberEntryDialog
1140 --enable-splash use wxSplashScreen
1141 --enable-textdlg use wxTextDialog
1142 --enable-tipdlg use startup tips
1143 --enable-progressdlg use wxProgressDialog
1144 --enable-wizarddlg use wxWizard
1145 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1146 --enable-miniframe use wxMiniFrame class
1147 --enable-tooltips use wxToolTip class
1148 --enable-splines use spline drawing code
1149 --enable-mousewheel use mousewheel
1150 --enable-validators use wxValidator and derived classes
1151 --enable-busyinfo use wxBusyInfo
1152 --enable-joystick use wxJoystick
1153 --enable-metafiles use wxMetaFile
(Win32 only
)
1154 --enable-dragimage use wxDragImage
1155 --enable-accessibility enable accessibility support
1156 --enable-palette use wxPalette class
1157 --enable-image use wxImage class
1158 --enable-gif use gif images
(GIF
file format
)
1159 --enable-pcx use pcx images
(PCX
file format
)
1160 --enable-tga use tga images
(TGA
file format
)
1161 --enable-iff use iff images
(IFF
file format
)
1162 --enable-pnm use pnm images
(PNM
file format
)
1163 --enable-xpm use xpm images
(XPM
file format
)
1164 --enable-icocur use Windows ICO and CUR formats
1165 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1166 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1167 --enable-ownerdrawn use owner drawn controls
(Win32 only
)
1168 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1169 --enable-wxdib use wxDIB class
(Win32 only
)
1170 --disable-largefile omit support
for large files
1171 --disable-gtktest do not try to compile and run a
test GTK
+ program
1172 --disable-gtktest Do not try to compile and run a
test GTK program
1173 --disable-sdltest Do not try to compile and run a
test SDL program
1174 --enable-omf use OMF object format
(OS
/2)
1175 --disable-dependency-tracking
1176 don
't use dependency tracking even if the compiler
1178 --disable-precomp-headers
1179 don't use precompiled headers even
if compiler can
1182 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1183 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1184 --without-subdirs don
't generate makefiles for samples/demos/...
1185 --with-flavour=NAME specify a name to identify this build
1186 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1187 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1188 --with-motif use Motif/Lesstif
1189 --with-mac use Mac OS X
1190 --with-cocoa use Cocoa
1191 --with-wine use Wine
1192 --with-msw use MS-Windows
1193 --with-pm use OS/2 Presentation Manager
1194 --with-mgl use SciTech MGL
1195 --with-directfb use DirectFB
1196 --with-microwin use MicroWindows
1198 --with-libpng use libpng (PNG image format)
1199 --with-libjpeg use libjpeg (JPEG file format)
1200 --with-libtiff use libtiff (TIFF file format)
1201 --with-libxpm use libxpm (XPM file format)
1202 --with-libmspack use libmspack (CHM help files loading)
1203 --without-gtkprint don't use GTK printing support
1204 --without-gnomeprint don
't use GNOME printing libraries
1205 --with-gnomevfs use GNOME VFS for associating MIME types
1206 --with-hildon use Hildon framework for Nokia 770
1207 --with-opengl use OpenGL (or Mesa)
1208 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1209 --with-sdl use SDL for audio on Unix
1210 --with-regex enable support for wxRegEx class
1211 --with-zlib use zlib for LZW compression
1212 --with-odbc use the IODBC and wxODBC classes
1213 --with-expat enable XML support using expat parser
1214 --with-macosx-sdk=PATH use an OS X SDK at PATH
1215 --with-macosx-version-min=VER build binaries which require at least this OS X version
1216 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1217 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1218 --with-x use the X Window System
1219 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1220 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1221 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1222 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1223 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1225 Some influential environment variables:
1226 CC C compiler command
1227 CFLAGS C compiler flags
1228 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1229 nonstandard directory <lib dir>
1230 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1231 headers in a nonstandard directory <include dir>
1233 CXX C++ compiler command
1234 CXXFLAGS C++ compiler flags
1235 PKG_CONFIG path to pkg-config utility
1237 C compiler flags for DIRECTFB, overriding pkg-config
1239 linker flags for DIRECTFB, overriding pkg-config
1241 C compiler flags for PANGOX, overriding pkg-config
1242 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1244 C compiler flags for PANGOFT2, overriding pkg-config
1246 linker flags for PANGOFT2, overriding pkg-config
1248 C compiler flags for PANGOXFT, overriding pkg-config
1250 linker flags for PANGOXFT, overriding pkg-config
1252 C compiler flags for GTKPRINT, overriding pkg-config
1254 linker flags for GTKPRINT, overriding pkg-config
1255 LIBGNOMEPRINTUI_CFLAGS
1256 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1257 LIBGNOMEPRINTUI_LIBS
1258 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1260 C compiler flags for GNOMEVFS, overriding pkg-config
1262 linker flags for GNOMEVFS, overriding pkg-config
1264 C compiler flags for HILDON, overriding pkg-config
1265 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1267 C compiler flags for CAIRO, overriding pkg-config
1268 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1269 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1270 GST_LIBS linker flags for GST, overriding pkg-config
1272 Use these variables to override the choices made by `configure' or to
help
1273 it to
find libraries and programs with nonstandard names
/locations.
1275 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1279 if test "$ac_init_help" = "recursive"; then
1280 # If there are subdirs, report their specific --help.
1282 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1283 test -d $ac_dir || continue
1286 if test "$ac_dir" != .
; then
1287 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1288 # A "../" for each directory in $ac_dir_suffix.
1289 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1291 ac_dir_suffix
= ac_top_builddir
=
1295 .
) # No --srcdir option. We are building in place.
1297 if test -z "$ac_top_builddir"; then
1300 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1302 [\\/]* | ?
:[\\/]* ) # Absolute path.
1303 ac_srcdir
=$srcdir$ac_dir_suffix;
1304 ac_top_srcdir
=$srcdir ;;
1306 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1307 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1310 # Do not use `cd foo && pwd` to compute absolute paths, because
1311 # the directories may not exist.
1313 .
) ac_abs_builddir
="$ac_dir";;
1316 .
) ac_abs_builddir
=`pwd`;;
1317 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1318 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1321 case $ac_abs_builddir in
1322 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1324 case ${ac_top_builddir}.
in
1325 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1326 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1327 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1330 case $ac_abs_builddir in
1331 .
) ac_abs_srcdir
=$ac_srcdir;;
1334 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1335 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1336 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1339 case $ac_abs_builddir in
1340 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1342 case $ac_top_srcdir in
1343 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1344 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1345 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1350 # Check for guested configure; otherwise get Cygnus style configure.
1351 if test -f $ac_srcdir/configure.gnu
; then
1353 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1354 elif test -f $ac_srcdir/configure
; then
1356 $SHELL $ac_srcdir/configure
--help=recursive
1357 elif test -f $ac_srcdir/configure.ac
||
1358 test -f $ac_srcdir/configure.
in; then
1360 $ac_configure --help
1362 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1368 test -n "$ac_init_help" && exit 0
1369 if $ac_init_version; then
1371 wxWidgets configure
2.9.0
1372 generated by GNU Autoconf
2.59
1374 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1375 This configure
script is free software
; the Free Software Foundation
1376 gives unlimited permission to copy
, distribute and modify it.
1382 This file contains any messages produced by compilers while
1383 running configure, to aid debugging if configure makes a mistake.
1385 It was created by wxWidgets $as_me 2.9.0, which was
1386 generated by GNU Autoconf 2.59. Invocation command line was
1397 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1398 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1399 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1400 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1401 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1403 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1404 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1406 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1407 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1408 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1409 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1410 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1411 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1412 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1420 test -z "$as_dir" && as_dir
=.
1421 echo "PATH: $as_dir"
1436 # Keep a trace of the command line.
1437 # Strip out --no-create and --no-recursion so they do not pile up.
1438 # Strip out --silent because we don't want to record it for future runs.
1439 # Also quote any args containing shell meta-characters.
1440 # Make two passes to allow for proper duplicate-argument suppression.
1445 ac_must_keep_next
=false
1451 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1452 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1453 | -silent | --silent | --silen | --sile | --sil)
1455 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1456 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1459 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1461 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1462 if test $ac_must_keep_next = true
; then
1463 ac_must_keep_next
=false
# Got value, back to normal.
1466 *=* | --config-cache | -C | -disable-* | --disable-* \
1467 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1468 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1469 | -with-* | --with-* | -without-* | --without-* | --x)
1470 case "$ac_configure_args0 " in
1471 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1474 -* ) ac_must_keep_next
=true
;;
1477 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1478 # Get rid of the leading space.
1484 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1485 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1487 # When interrupted or exit'd, cleanup temporary files, and complete
1488 # config.log. We remove comments because anyway the quotes in there
1489 # would cause problems or look ugly.
1490 # WARNING: Be sure not to use single quotes in there, as some shells,
1491 # such as our DU 5.0 friend, will then `close' the trap.
1492 trap 'exit_status=$?
1493 # Save into config.log some information that might help in debugging.
1498 ## ---------------- ##
1499 ## Cache variables. ##
1500 ## ---------------- ##
1503 # The following way of writing the cache mishandles newlines in values,
1506 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1509 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1510 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1514 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1521 ## ----------------- ##
1522 ## Output variables. ##
1523 ## ----------------- ##
1526 for ac_var in $ac_subst_vars
1528 eval ac_val=$`echo $ac_var`
1529 echo "$ac_var='"'"'$ac_val'"'"'"
1533 if test -n "$ac_subst_files"; then
1540 for ac_var in $ac_subst_files
1542 eval ac_val=$`echo $ac_var`
1543 echo "$ac_var='"'"'$ac_val'"'"'"
1548 if test -s confdefs.h; then
1555 sed "/^$/d" confdefs.h | sort
1558 test "$ac_signal" != 0 &&
1559 echo "$as_me: caught signal $ac_signal"
1560 echo "$as_me: exit $exit_status"
1562 rm -f core *.core &&
1563 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1566 for ac_signal
in 1 2 13 15; do
1567 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1571 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1572 rm -rf conftest
* confdefs.h
1573 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1576 # Predefined preprocessor variables.
1578 cat >>confdefs.h
<<_ACEOF
1579 #define PACKAGE_NAME "$PACKAGE_NAME"
1583 cat >>confdefs.h
<<_ACEOF
1584 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1588 cat >>confdefs.h
<<_ACEOF
1589 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1593 cat >>confdefs.h
<<_ACEOF
1594 #define PACKAGE_STRING "$PACKAGE_STRING"
1598 cat >>confdefs.h
<<_ACEOF
1599 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1603 # Let the site file select an alternate cache file if it wants to.
1604 # Prefer explicitly selected file to automatically selected ones.
1605 if test -z "$CONFIG_SITE"; then
1606 if test "x$prefix" != xNONE
; then
1607 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1609 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1612 for ac_site_file
in $CONFIG_SITE; do
1613 if test -r "$ac_site_file"; then
1614 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1615 echo "$as_me: loading site script $ac_site_file" >&6;}
1616 sed 's/^/| /' "$ac_site_file" >&5
1621 if test -r "$cache_file"; then
1622 # Some versions of bash will fail to source /dev/null (special
1623 # files actually), so we avoid doing that.
1624 if test -f "$cache_file"; then
1625 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1626 echo "$as_me: loading cache $cache_file" >&6;}
1628 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1629 *) . .
/$cache_file;;
1633 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1634 echo "$as_me: creating cache $cache_file" >&6;}
1638 # Check that the precious variables saved in the cache have kept the same
1640 ac_cache_corrupted
=false
1641 for ac_var
in `(set) 2>&1 |
1642 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1643 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1644 eval ac_new_set
=\
$ac_env_${ac_var}_set
1645 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1646 eval ac_new_val
="\$ac_env_${ac_var}_value"
1647 case $ac_old_set,$ac_new_set in
1649 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1650 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1651 ac_cache_corrupted
=: ;;
1653 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1654 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1655 ac_cache_corrupted
=: ;;
1658 if test "x$ac_old_val" != "x$ac_new_val"; then
1659 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1660 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1661 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1662 echo "$as_me: former value: $ac_old_val" >&2;}
1663 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1664 echo "$as_me: current value: $ac_new_val" >&2;}
1665 ac_cache_corrupted
=:
1668 # Pass precious variables to config.status.
1669 if test "$ac_new_set" = set; then
1671 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1672 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1673 *) ac_arg
=$ac_var=$ac_new_val ;;
1675 case " $ac_configure_args " in
1676 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1677 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1681 if $ac_cache_corrupted; then
1682 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1683 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1684 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1685 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1686 { (exit 1); exit 1; }; }
1690 ac_cpp
='$CPP $CPPFLAGS'
1691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1725 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1726 if test -f $ac_dir/install-sh; then
1728 ac_install_sh
="$ac_aux_dir/install-sh -c"
1730 elif test -f $ac_dir/install.sh
; then
1732 ac_install_sh
="$ac_aux_dir/install.sh -c"
1734 elif test -f $ac_dir/shtool
; then
1736 ac_install_sh
="$ac_aux_dir/shtool install -c"
1740 if test -z "$ac_aux_dir"; then
1741 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1742 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1743 { (exit 1); exit 1; }; }
1745 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1746 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1747 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1749 # Make sure we can run config.sub.
1750 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1751 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1752 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1753 { (exit 1); exit 1; }; }
1755 echo "$as_me:$LINENO: checking build system type" >&5
1756 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1757 if test "${ac_cv_build+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 ac_cv_build_alias
=$build_alias
1761 test -z "$ac_cv_build_alias" &&
1762 ac_cv_build_alias
=`$ac_config_guess`
1763 test -z "$ac_cv_build_alias" &&
1764 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1765 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1766 { (exit 1); exit 1; }; }
1767 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1768 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1769 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1770 { (exit 1); exit 1; }; }
1773 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1774 echo "${ECHO_T}$ac_cv_build" >&6
1776 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1777 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1778 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1781 echo "$as_me:$LINENO: checking host system type" >&5
1782 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1783 if test "${ac_cv_host+set}" = set; then
1784 echo $ECHO_N "(cached) $ECHO_C" >&6
1786 ac_cv_host_alias
=$host_alias
1787 test -z "$ac_cv_host_alias" &&
1788 ac_cv_host_alias
=$ac_cv_build_alias
1789 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1790 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1791 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1792 { (exit 1); exit 1; }; }
1795 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1796 echo "${ECHO_T}$ac_cv_host" >&6
1798 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1799 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1800 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1803 echo "$as_me:$LINENO: checking target system type" >&5
1804 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1805 if test "${ac_cv_target+set}" = set; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1808 ac_cv_target_alias
=$target_alias
1809 test "x$ac_cv_target_alias" = "x" &&
1810 ac_cv_target_alias
=$ac_cv_host_alias
1811 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1812 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1813 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1814 { (exit 1); exit 1; }; }
1817 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1818 echo "${ECHO_T}$ac_cv_target" >&6
1819 target
=$ac_cv_target
1820 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1821 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1822 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1825 # The aliases save the names the user supplied, while $host etc.
1826 # will get canonicalized.
1827 test -n "$target_alias" &&
1828 test "$program_prefix$program_suffix$program_transform_name" = \
1830 program_prefix
=${target_alias}-
1834 wx_major_version_number
=2
1835 wx_minor_version_number
=9
1837 wx_subrelease_number
=0
1839 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1840 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1841 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1843 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1846 wx_top_builddir
="`pwd`"
1859 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1865 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1871 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1873 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1875 DEFAULT_wxUSE_COCOA
=0
1879 DEFAULT_wxUSE_MICROWIN
=0
1880 DEFAULT_wxUSE_MOTIF
=0
1886 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1887 DEFAULT_DEFAULT_wxUSE_GTK
=0
1888 DEFAULT_DEFAULT_wxUSE_MAC
=0
1889 DEFAULT_DEFAULT_wxUSE_MGL
=0
1890 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1891 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1892 DEFAULT_DEFAULT_wxUSE_MSW
=0
1893 DEFAULT_DEFAULT_wxUSE_PM
=0
1894 DEFAULT_DEFAULT_wxUSE_X11
=0
1895 DEFAULT_DEFAULT_wxUSE_DFB
=0
1900 SAMPLES_RPATH_POSTLINK
=
1902 DEFAULT_STD_FLAG
=yes
1907 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1908 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1910 cat >>confdefs.h
<<\_ACEOF
1915 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1919 cat >>confdefs.h
<<\_ACEOF
1924 if test "x$TMP" = "xalpha"; then
1926 cat >>confdefs.h
<<\_ACEOF
1931 DEFAULT_DEFAULT_wxUSE_GTK
=1
1933 *-*-gnu* | *-*-k*bsd
*-gnu )
1936 if test "x$TMP" = "xalpha"; then
1938 cat >>confdefs.h
<<\_ACEOF
1943 DEFAULT_DEFAULT_wxUSE_GTK
=1
1945 *-*-irix5* | *-*-irix6* )
1948 cat >>confdefs.h
<<\_ACEOF
1952 cat >>confdefs.h
<<\_ACEOF
1956 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1962 cat >>confdefs.h
<<\_ACEOF
1966 cat >>confdefs.h
<<\_ACEOF
1967 #define __SOLARIS__ 1
1970 cat >>confdefs.h
<<\_ACEOF
1974 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1975 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1981 cat >>confdefs.h
<<\_ACEOF
1985 cat >>confdefs.h
<<\_ACEOF
1989 cat >>confdefs.h
<<\_ACEOF
1993 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1998 cat >>confdefs.h
<<\_ACEOF
1999 #define __FREEBSD__ 1
2002 cat >>confdefs.h
<<\_ACEOF
2006 DEFAULT_DEFAULT_wxUSE_GTK
=1
2008 *-*-openbsd*|*-*-mirbsd*)
2011 cat >>confdefs.h
<<\_ACEOF
2012 #define __OPENBSD__ 1
2015 cat >>confdefs.h
<<\_ACEOF
2019 DEFAULT_DEFAULT_wxUSE_GTK
=1
2024 cat >>confdefs.h
<<\_ACEOF
2025 #define __NETBSD__ 1
2028 cat >>confdefs.h
<<\_ACEOF
2032 DEFAULT_DEFAULT_wxUSE_GTK
=1
2033 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2035 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2040 cat >>confdefs.h
<<\_ACEOF
2044 cat >>confdefs.h
<<\_ACEOF
2048 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2049 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2054 cat >>confdefs.h
<<\_ACEOF
2058 cat >>confdefs.h
<<\_ACEOF
2062 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2067 cat >>confdefs.h
<<\_ACEOF
2071 cat >>confdefs.h
<<\_ACEOF
2075 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2082 cat >>confdefs.h
<<\_ACEOF
2086 cat >>confdefs.h
<<\_ACEOF
2090 cat >>confdefs.h
<<\_ACEOF
2094 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2101 cat >>confdefs.h
<<\_ACEOF
2102 #define __UNIXWARE__ 1
2107 *-*-cygwin* | *-*-mingw32* )
2110 DEFAULT_DEFAULT_wxUSE_MSW
=1
2116 cat >>confdefs.h
<<\_ACEOF
2121 DEFAULT_DEFAULT_wxUSE_MGL
=1
2124 *-pc-os2_emx | *-pc-os2-emx )
2125 cat >>confdefs.h
<<\_ACEOF
2130 cat >>confdefs.h
<<\_ACEOF
2135 DEFAULT_DEFAULT_wxUSE_PM
=1
2137 LDFLAGS
="$LDFLAGS -Zcrtdll"
2138 ac_executable_extensions
=".exe"
2139 export ac_executable_extensions
2143 for ac_dir
in $PATH; do
2145 if test -z "$ac_TEMP_PATH"; then
2146 ac_TEMP_PATH
="$ac_dir"
2148 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2151 export PATH
="$ac_TEMP_PATH"
2160 cat >>confdefs.h
<<\_ACEOF
2164 cat >>confdefs.h
<<\_ACEOF
2165 #define __DARWIN__ 1
2168 cat >>confdefs.h
<<\_ACEOF
2169 #define TARGET_CARBON 1
2172 DEFAULT_DEFAULT_wxUSE_MAC
=1
2175 powerpc
-apple-macos* )
2177 ac_cv_c_bigendian
=yes
2179 DEFAULT_DEFAULT_wxUSE_MAC
=1
2185 cat >>confdefs.h
<<\_ACEOF
2192 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2193 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2194 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2195 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2197 DEFAULT_DEFAULT_wxUSE_X11
=1
2198 DEFAULT_wxUSE_SHARED
=no
2204 wx_arg_cache_file
="configarg.cache"
2205 echo "loading argument cache $wx_arg_cache_file"
2206 rm -f ${wx_arg_cache_file}.tmp
2207 touch ${wx_arg_cache_file}.tmp
2208 touch ${wx_arg_cache_file}
2211 DEFAULT_wxUSE_ALL_FEATURES
=yes
2213 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2214 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2216 DEFAULT_wxUSE_DMALLOC
=no
2217 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2218 DEFAULT_wxUSE_LIBHILDON
=no
2219 DEFAULT_wxUSE_LIBMSPACK
=no
2220 DEFAULT_wxUSE_LIBSDL
=no
2221 DEFAULT_wxUSE_ODBC
=no
2222 DEFAULT_wxUSE_OPENGL
=no
2224 DEFAULT_wxUSE_ACCESSIBILITY
=no
2225 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2226 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2227 DEFAULT_wxUSE_MEDIACTRL
=no
2228 DEFAULT_wxUSE_TAB_DIALOG
=no
2230 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2231 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2233 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2235 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2237 DEFAULT_wxUSE_GTK2
=yes
2239 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2242 for toolkit
in `echo $ALL_TOOLKITS`; do
2243 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2244 if test "x$LINE" != "x" ; then
2245 has_toolkit_in_cache
=1
2246 eval "DEFAULT_$LINE"
2247 eval "CACHE_$toolkit=1"
2249 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2250 if test "x$LINE" != "x" ; then
2251 eval "DEFAULT_$LINE"
2260 enablestring
=disable
2262 if test -z "$defaultval"; then
2263 if test x
"$enablestring" = xdisable
; then
2270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2271 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2272 # Check whether --enable-gui or --disable-gui was given.
2273 if test "${enable_gui+set}" = set; then
2274 enableval
="$enable_gui"
2276 if test "$enableval" = yes; then
2277 wx_cv_use_gui
='wxUSE_GUI=yes'
2279 wx_cv_use_gui
='wxUSE_GUI=no'
2285 LINE
=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2286 if test "x$LINE" != x
; then
2287 eval "DEFAULT_$LINE"
2293 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2297 eval "$wx_cv_use_gui"
2298 if test "x$cache" = xyes; then
2299 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
2302 if test x"$enablestring" = xdisable; then
2303 if test $wxUSE_GUI = yes; then
2312 echo "$as_me:$LINENO: result: $result" >&5
2313 echo "${ECHO_T}$result" >&6
2318 if test -z "$defaultval"; then
2319 if test x"$enablestring" = xdisable; then
2326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2327 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2328 # Check whether --enable-monolithic or --disable-monolithic was given.
2329 if test "${enable_monolithic+set}" = set; then
2330 enableval="$enable_monolithic"
2332 if test "$enableval" = yes; then
2333 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2335 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2341 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
2342 if test "x$LINE" != x ; then
2343 eval "DEFAULT_$LINE"
2349 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
2353 eval "$wx_cv_use_monolithic"
2354 if test "x
$cache" = xyes; then
2355 echo "wxUSE_MONOLITHIC
=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
2358 if test x"$enablestring" = xdisable; then
2359 if test $wxUSE_MONOLITHIC = yes; then
2365 result=$wxUSE_MONOLITHIC
2368 echo "$as_me:$LINENO: result
: $result" >&5
2369 echo "${ECHO_T}$result" >&6
2374 if test -z "$defaultval"; then
2375 if test x"$enablestring" = xdisable; then
2382 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
2383 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6
2384 # Check whether --enable-plugins or --disable-plugins was given.
2385 if test "${enable_plugins+set}" = set; then
2386 enableval="$enable_plugins"
2388 if test "$enableval" = yes; then
2389 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
2391 wx_cv_use_plugins='wxUSE_PLUGINS=no'
2397 LINE=`grep "^wxUSE_PLUGINS
=" ${wx_arg_cache_file}`
2398 if test "x
$LINE" != x ; then
2399 eval "DEFAULT_
$LINE"
2405 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
2409 eval "$wx_cv_use_plugins"
2410 if test "x$cache" = xyes
; then
2411 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
2414 if test x
"$enablestring" = xdisable
; then
2415 if test $wxUSE_PLUGINS = yes; then
2421 result
=$wxUSE_PLUGINS
2424 echo "$as_me:$LINENO: result: $result" >&5
2425 echo "${ECHO_T}$result" >&6
2429 defaultval
=$wxUSE_ALL_FEATURES
2430 if test -z "$defaultval"; then
2431 if test x
"$withstring" = xwithout
; then
2437 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2438 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2440 # Check whether --with-subdirs or --without-subdirs was given.
2441 if test "${with_subdirs+set}" = set; then
2442 withval
="$with_subdirs"
2444 if test "$withval" = yes; then
2445 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2447 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2453 LINE
=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
2454 if test "x$LINE" != x
; then
2455 eval "DEFAULT_$LINE"
2461 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
2465 eval "$wx_cv_use_subdirs"
2466 if test "x$cache" = xyes; then
2467 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
2470 if test x"$withstring" = xwithout; then
2471 if test $wxWITH_SUBDIRS = yes; then
2477 result=$wxWITH_SUBDIRS
2480 echo "$as_me:$LINENO: result: $result" >&5
2481 echo "${ECHO_T}$result" >&6
2484 # Check whether --with-flavour or --without-flavour was given.
2485 if test "${with_flavour+set}" = set; then
2486 withval="$with_flavour"
2487 WX_FLAVOUR="$withval"
2492 if test -z "$defaultval"; then
2493 if test x"$enablestring" = xdisable; then
2500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
2501 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
2502 # Check whether --enable-official_build or --disable-official_build was given.
2503 if test "${enable_official_build+set}" = set; then
2504 enableval="$enable_official_build"
2506 if test "$enableval" = yes; then
2507 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
2509 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
2515 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
2516 if test "x$LINE" != x ; then
2517 eval "DEFAULT_$LINE"
2523 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
2527 eval "$wx_cv_use_official_build"
2528 if test "x
$cache" = xyes; then
2529 echo "wxUSE_OFFICIAL_BUILD
=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
2532 if test x"$enablestring" = xdisable; then
2533 if test $wxUSE_OFFICIAL_BUILD = yes; then
2539 result=$wxUSE_OFFICIAL_BUILD
2542 echo "$as_me:$LINENO: result
: $result" >&5
2543 echo "${ECHO_T}$result" >&6
2545 # Check whether --enable-vendor or --disable-vendor was given.
2546 if test "${enable_vendor+set}" = set; then
2547 enableval="$enable_vendor"
2550 if test "x
$VENDOR" = "x
"; then
2555 enablestring=disable
2557 if test -z "$defaultval"; then
2558 if test x"$enablestring" = xdisable; then
2565 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
2566 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6
2567 # Check whether --enable-all-features or --disable-all-features was given.
2568 if test "${enable_all_features+set}" = set; then
2569 enableval="$enable_all_features"
2571 if test "$enableval" = yes; then
2572 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
2574 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
2580 LINE=`grep "^wxUSE_ALL_FEATURES
=" ${wx_arg_cache_file}`
2581 if test "x
$LINE" != x ; then
2582 eval "DEFAULT_
$LINE"
2588 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
2592 eval "$wx_cv_use_all_features"
2593 if test "x$cache" = xyes
; then
2594 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
2597 if test x
"$enablestring" = xdisable
; then
2598 if test $wxUSE_ALL_FEATURES = yes; then
2604 result
=$wxUSE_ALL_FEATURES
2607 echo "$as_me:$LINENO: result: $result" >&5
2608 echo "${ECHO_T}$result" >&6
2612 if test "$wxUSE_GUI" = "yes"; then
2617 if test -z "$defaultval"; then
2618 if test x
"$enablestring" = xdisable
; then
2625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2626 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2627 # Check whether --enable-universal or --disable-universal was given.
2628 if test "${enable_universal+set}" = set; then
2629 enableval
="$enable_universal"
2631 if test "$enableval" = yes; then
2632 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2634 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
2640 LINE
=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
2641 if test "x$LINE" != x
; then
2642 eval "DEFAULT_$LINE"
2648 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
2652 eval "$wx_cv_use_universal"
2653 if test "x$cache" = xyes; then
2654 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
2657 if test x"$enablestring" = xdisable; then
2658 if test $wxUSE_UNIVERSAL = yes; then
2664 result=$wxUSE_UNIVERSAL
2667 echo "$as_me:$LINENO: result: $result" >&5
2668 echo "${ECHO_T}$result" >&6
2670 if test "$wxUSE_UNIVERSAL" = "yes"; then
2672 # Check whether --with-themes or --without-themes was given.
2673 if test "${with_themes+set}" = set; then
2674 withval="$with_themes"
2675 wxUNIV_THEMES="$withval"
2680 # Check whether --with-gtk or --without-gtk was given.
2681 if test "${with_gtk+set}" = set; then
2683 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2686 # Check whether --with-motif or --without-motif was given.
2687 if test "${with_motif+set}" = set; then
2688 withval="$with_motif"
2689 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2692 # Check whether --with-mac or --without-mac was given.
2693 if test "${with_mac+set}" = set; then
2695 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2698 # Check whether --with-cocoa or --without-cocoa was given.
2699 if test "${with_cocoa+set}" = set; then
2700 withval="$with_cocoa"
2701 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2704 # Check whether --with-wine or --without-wine was given.
2705 if test "${with_wine+set}" = set; then
2706 withval="$with_wine"
2707 wxUSE_WINE="$withval" CACHE_WINE=1
2710 # Check whether --with-msw or --without-msw was given.
2711 if test "${with_msw+set}" = set; then
2713 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2716 # Check whether --with-pm or --without-pm was given.
2717 if test "${with_pm+set}" = set; then
2719 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2722 # Check whether --with-mgl or --without-mgl was given.
2723 if test "${with_mgl+set}" = set; then
2725 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2728 # Check whether --with-directfb or --without-directfb was given.
2729 if test "${with_directfb+set}" = set; then
2730 withval="$with_directfb"
2731 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2734 # Check whether --with-microwin or --without-microwin was given.
2735 if test "${with_microwin+set}" = set; then
2736 withval="$with_microwin"
2737 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2740 # Check whether --with-x11 or --without-x11 was given.
2741 if test "${with_x11+set}" = set; then
2743 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2748 if test -z "$defaultval"; then
2749 if test x"$enablestring" = xdisable; then
2756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2757 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2758 # Check whether --enable-nanox or --disable-nanox was given.
2759 if test "${enable_nanox+set}" = set; then
2760 enableval="$enable_nanox"
2762 if test "$enableval" = yes; then
2763 wx_cv_use_nanox='wxUSE_NANOX
=yes'
2765 wx_cv_use_nanox='wxUSE_NANOX
=no
'
2771 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
2772 if test "x$LINE" != x ; then
2773 eval "DEFAULT_$LINE"
2779 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
2783 eval "$wx_cv_use_nanox"
2784 if test "x
$cache" = xyes; then
2785 echo "wxUSE_NANOX
=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
2788 if test x"$enablestring" = xdisable; then
2789 if test $wxUSE_NANOX = yes; then
2798 echo "$as_me:$LINENO: result
: $result" >&5
2799 echo "${ECHO_T}$result" >&6
2802 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2803 if test "${enable_gtk2+set}" = set; then
2804 enableval="$enable_gtk2"
2805 wxUSE_GTK2="$enableval"
2810 if test -z "$defaultval"; then
2811 if test x"$enablestring" = xdisable; then
2818 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
2819 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6
2820 # Check whether --enable-gpe or --disable-gpe was given.
2821 if test "${enable_gpe+set}" = set; then
2822 enableval="$enable_gpe"
2824 if test "$enableval" = yes; then
2825 wx_cv_use_gpe='wxUSE_GPE=yes'
2827 wx_cv_use_gpe='wxUSE_GPE=no'
2833 LINE=`grep "^wxUSE_GPE
=" ${wx_arg_cache_file}`
2834 if test "x
$LINE" != x ; then
2835 eval "DEFAULT_
$LINE"
2841 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
2845 eval "$wx_cv_use_gpe"
2846 if test "x$cache" = xyes
; then
2847 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
2850 if test x
"$enablestring" = xdisable
; then
2851 if test $wxUSE_GPE = yes; then
2860 echo "$as_me:$LINENO: result: $result" >&5
2861 echo "${ECHO_T}$result" >&6
2866 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2867 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2869 # Check whether --with-libpng or --without-libpng was given.
2870 if test "${with_libpng+set}" = set; then
2871 withval
="$with_libpng"
2873 if test "$withval" = yes; then
2874 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
2875 elif test "$withval" = no
; then
2876 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
2877 elif test "$withval" = sys
; then
2878 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
2879 elif test "$withval" = builtin; then
2880 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2882 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2883 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2884 { (exit 1); exit 1; }; }
2890 LINE
=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
2891 if test "x$LINE" != x
; then
2892 eval "DEFAULT_$LINE"
2898 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
2902 eval "$wx_cv_use_libpng"
2903 if test "x$cache" = xyes; then
2904 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
2907 if test "$wxUSE_LIBPNG" = yes; then
2908 echo "$as_me:$LINENO: result: yes" >&5
2909 echo "${ECHO_T}yes" >&6
2910 elif test "$wxUSE_LIBPNG" = no; then
2911 echo "$as_me:$LINENO: result: no" >&5
2912 echo "${ECHO_T}no" >&6
2913 elif test "$wxUSE_LIBPNG" = sys; then
2914 echo "$as_me:$LINENO: result: system version" >&5
2915 echo "${ECHO_T}system version" >&6
2916 elif test "$wxUSE_LIBPNG" = builtin; then
2917 echo "$as_me:$LINENO: result: builtin version" >&5
2918 echo "${ECHO_T}builtin version" >&6
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2926 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2927 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2929 # Check whether --with-libjpeg or --without-libjpeg was given.
2930 if test "${with_libjpeg+set}" = set; then
2931 withval="$with_libjpeg"
2933 if test "$withval" = yes; then
2934 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2935 elif test "$withval" = no; then
2936 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2937 elif test "$withval" = sys; then
2938 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2939 elif test "$withval" = builtin; then
2940 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2942 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2943 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2944 { (exit 1); exit 1; }; }
2950 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
2951 if test "x$LINE" != x ; then
2952 eval "DEFAULT_$LINE"
2958 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
2962 eval "$wx_cv_use_libjpeg"
2963 if test "x
$cache" = xyes; then
2964 echo "wxUSE_LIBJPEG
=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
2967 if test "$wxUSE_LIBJPEG" = yes; then
2968 echo "$as_me:$LINENO: result
: yes" >&5
2969 echo "${ECHO_T}yes" >&6
2970 elif test "$wxUSE_LIBJPEG" = no; then
2971 echo "$as_me:$LINENO: result
: no
" >&5
2972 echo "${ECHO_T}no
" >&6
2973 elif test "$wxUSE_LIBJPEG" = sys; then
2974 echo "$as_me:$LINENO: result
: system version
" >&5
2975 echo "${ECHO_T}system version
" >&6
2976 elif test "$wxUSE_LIBJPEG" = builtin; then
2977 echo "$as_me:$LINENO: result
: builtin version
" >&5
2978 echo "${ECHO_T}builtin version
" >&6
2980 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
2981 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
2982 { (exit 1); exit 1; }; }
2986 echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
2987 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6
2989 # Check whether --with-libtiff or --without-libtiff was given.
2990 if test "${with_libtiff+set}" = set; then
2991 withval="$with_libtiff"
2993 if test "$withval" = yes; then
2994 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2995 elif test "$withval" = no; then
2996 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
2997 elif test "$withval" = sys; then
2998 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2999 elif test "$withval" = builtin; then
3000 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3002 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3003 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3004 { (exit 1); exit 1; }; }
3010 LINE=`grep "^wxUSE_LIBTIFF
=" ${wx_arg_cache_file}`
3011 if test "x
$LINE" != x ; then
3012 eval "DEFAULT_
$LINE"
3018 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3022 eval "$wx_cv_use_libtiff"
3023 if test "x$cache" = xyes
; then
3024 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3027 if test "$wxUSE_LIBTIFF" = yes; then
3028 echo "$as_me:$LINENO: result: yes" >&5
3029 echo "${ECHO_T}yes" >&6
3030 elif test "$wxUSE_LIBTIFF" = no
; then
3031 echo "$as_me:$LINENO: result: no" >&5
3032 echo "${ECHO_T}no" >&6
3033 elif test "$wxUSE_LIBTIFF" = sys
; then
3034 echo "$as_me:$LINENO: result: system version" >&5
3035 echo "${ECHO_T}system version" >&6
3036 elif test "$wxUSE_LIBTIFF" = builtin; then
3037 echo "$as_me:$LINENO: result: builtin version" >&5
3038 echo "${ECHO_T}builtin version" >&6
3040 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3041 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3042 { (exit 1); exit 1; }; }
3046 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3047 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3049 # Check whether --with-libxpm or --without-libxpm was given.
3050 if test "${with_libxpm+set}" = set; then
3051 withval
="$with_libxpm"
3053 if test "$withval" = yes; then
3054 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3055 elif test "$withval" = no
; then
3056 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3057 elif test "$withval" = sys
; then
3058 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3059 elif test "$withval" = builtin; then
3060 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3062 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3063 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3064 { (exit 1); exit 1; }; }
3070 LINE
=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3071 if test "x$LINE" != x
; then
3072 eval "DEFAULT_$LINE"
3078 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3082 eval "$wx_cv_use_libxpm"
3083 if test "x$cache" = xyes; then
3084 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3087 if test "$wxUSE_LIBXPM" = yes; then
3088 echo "$as_me:$LINENO: result: yes" >&5
3089 echo "${ECHO_T}yes" >&6
3090 elif test "$wxUSE_LIBXPM" = no; then
3091 echo "$as_me:$LINENO: result: no" >&5
3092 echo "${ECHO_T}no" >&6
3093 elif test "$wxUSE_LIBXPM" = sys; then
3094 echo "$as_me:$LINENO: result: system version" >&5
3095 echo "${ECHO_T}system version" >&6
3096 elif test "$wxUSE_LIBXPM" = builtin; then
3097 echo "$as_me:$LINENO: result: builtin version" >&5
3098 echo "${ECHO_T}builtin version" >&6
3100 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3101 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3102 { (exit 1); exit 1; }; }
3107 defaultval=$wxUSE_ALL_FEATURES
3108 if test -z "$defaultval"; then
3109 if test x"$withstring" = xwithout; then
3115 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3116 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3118 # Check whether --with-libmspack or --without-libmspack was given.
3119 if test "${with_libmspack+set}" = set; then
3120 withval="$with_libmspack"
3122 if test "$withval" = yes; then
3123 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3125 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3131 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3132 if test "x$LINE" != x ; then
3133 eval "DEFAULT_$LINE"
3139 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3143 eval "$wx_cv_use_libmspack"
3144 if test "x
$cache" = xyes; then
3145 echo "wxUSE_LIBMSPACK
=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3148 if test x"$withstring" = xwithout; then
3149 if test $wxUSE_LIBMSPACK = yes; then
3155 result=$wxUSE_LIBMSPACK
3158 echo "$as_me:$LINENO: result
: $result" >&5
3159 echo "${ECHO_T}$result" >&6
3163 defaultval=$wxUSE_ALL_FEATURES
3164 if test -z "$defaultval"; then
3165 if test x"$withstring" = xwithout; then
3171 echo "$as_me:$LINENO: checking
for --${withstring:-with}-gtkprint" >&5
3172 echo $ECHO_N "checking
for --${withstring:-with}-gtkprint...
$ECHO_C" >&6
3174 # Check whether --with-gtkprint or --without-gtkprint was given.
3175 if test "${with_gtkprint+set}" = set; then
3176 withval="$with_gtkprint"
3178 if test "$withval" = yes; then
3179 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3181 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3187 LINE=`grep "^wxUSE_GTKPRINT
=" ${wx_arg_cache_file}`
3188 if test "x
$LINE" != x ; then
3189 eval "DEFAULT_
$LINE"
3195 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3199 eval "$wx_cv_use_gtkprint"
3200 if test "x$cache" = xyes
; then
3201 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3204 if test x
"$withstring" = xwithout
; then
3205 if test $wxUSE_GTKPRINT = yes; then
3211 result
=$wxUSE_GTKPRINT
3214 echo "$as_me:$LINENO: result: $result" >&5
3215 echo "${ECHO_T}$result" >&6
3219 defaultval
=$wxUSE_ALL_FEATURES
3220 if test -z "$defaultval"; then
3221 if test x
"$withstring" = xwithout
; then
3227 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3228 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3230 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3231 if test "${with_gnomeprint+set}" = set; then
3232 withval
="$with_gnomeprint"
3234 if test "$withval" = yes; then
3235 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3237 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3243 LINE
=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3244 if test "x$LINE" != x
; then
3245 eval "DEFAULT_$LINE"
3251 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3255 eval "$wx_cv_use_gnomeprint"
3256 if test "x$cache" = xyes; then
3257 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3260 if test x"$withstring" = xwithout; then
3261 if test $wxUSE_LIBGNOMEPRINT = yes; then
3267 result=$wxUSE_LIBGNOMEPRINT
3270 echo "$as_me:$LINENO: result: $result" >&5
3271 echo "${ECHO_T}$result" >&6
3275 defaultval=$wxUSE_ALL_FEATURES
3276 if test -z "$defaultval"; then
3277 if test x"$withstring" = xwithout; then
3283 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3284 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3286 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3287 if test "${with_gnomevfs+set}" = set; then
3288 withval="$with_gnomevfs"
3290 if test "$withval" = yes; then
3291 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
3293 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
3299 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3300 if test "x$LINE" != x ; then
3301 eval "DEFAULT_$LINE"
3307 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3311 eval "$wx_cv_use_gnomevfs"
3312 if test "x
$cache" = xyes; then
3313 echo "wxUSE_LIBGNOMEVFS
=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3316 if test x"$withstring" = xwithout; then
3317 if test $wxUSE_LIBGNOMEVFS = yes; then
3323 result=$wxUSE_LIBGNOMEVFS
3326 echo "$as_me:$LINENO: result
: $result" >&5
3327 echo "${ECHO_T}$result" >&6
3331 defaultval=$wxUSE_ALL_FEATURES
3332 if test -z "$defaultval"; then
3333 if test x"$withstring" = xwithout; then
3339 echo "$as_me:$LINENO: checking
for --${withstring:-with}-hildon" >&5
3340 echo $ECHO_N "checking
for --${withstring:-with}-hildon...
$ECHO_C" >&6
3342 # Check whether --with-hildon or --without-hildon was given.
3343 if test "${with_hildon+set}" = set; then
3344 withval="$with_hildon"
3346 if test "$withval" = yes; then
3347 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3349 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3355 LINE=`grep "^wxUSE_LIBHILDON
=" ${wx_arg_cache_file}`
3356 if test "x
$LINE" != x ; then
3357 eval "DEFAULT_
$LINE"
3363 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3367 eval "$wx_cv_use_hildon"
3368 if test "x$cache" = xyes
; then
3369 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
3372 if test x
"$withstring" = xwithout
; then
3373 if test $wxUSE_LIBHILDON = yes; then
3379 result
=$wxUSE_LIBHILDON
3382 echo "$as_me:$LINENO: result: $result" >&5
3383 echo "${ECHO_T}$result" >&6
3387 defaultval
=$wxUSE_ALL_FEATURES
3388 if test -z "$defaultval"; then
3389 if test x
"$withstring" = xwithout
; then
3395 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3396 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3398 # Check whether --with-opengl or --without-opengl was given.
3399 if test "${with_opengl+set}" = set; then
3400 withval
="$with_opengl"
3402 if test "$withval" = yes; then
3403 wx_cv_use_opengl
='wxUSE_OPENGL=yes'
3405 wx_cv_use_opengl
='wxUSE_OPENGL=no'
3411 LINE
=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
3412 if test "x$LINE" != x
; then
3413 eval "DEFAULT_$LINE"
3419 wx_cv_use_opengl
='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3423 eval "$wx_cv_use_opengl"
3424 if test "x$cache" = xyes; then
3425 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
3428 if test x"$withstring" = xwithout; then
3429 if test $wxUSE_OPENGL = yes; then
3435 result=$wxUSE_OPENGL
3438 echo "$as_me:$LINENO: result: $result" >&5
3439 echo "${ECHO_T}$result" >&6
3446 defaultval=$wxUSE_ALL_FEATURES
3447 if test -z "$defaultval"; then
3448 if test x"$withstring" = xwithout; then
3454 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3455 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3457 # Check whether --with-dmalloc or --without-dmalloc was given.
3458 if test "${with_dmalloc+set}" = set; then
3459 withval="$with_dmalloc"
3461 if test "$withval" = yes; then
3462 wx_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3464 wx_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3470 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
3471 if test "x$LINE" != x ; then
3472 eval "DEFAULT_$LINE"
3478 wx_cv_use_dmalloc='wxUSE_DMALLOC
=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
3482 eval "$wx_cv_use_dmalloc"
3483 if test "x
$cache" = xyes; then
3484 echo "wxUSE_DMALLOC
=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
3487 if test x"$withstring" = xwithout; then
3488 if test $wxUSE_DMALLOC = yes; then
3494 result=$wxUSE_DMALLOC
3497 echo "$as_me:$LINENO: result
: $result" >&5
3498 echo "${ECHO_T}$result" >&6
3502 defaultval=$wxUSE_ALL_FEATURES
3503 if test -z "$defaultval"; then
3504 if test x"$withstring" = xwithout; then
3510 echo "$as_me:$LINENO: checking
for --${withstring:-with}-sdl" >&5
3511 echo $ECHO_N "checking
for --${withstring:-with}-sdl...
$ECHO_C" >&6
3513 # Check whether --with-sdl or --without-sdl was given.
3514 if test "${with_sdl+set}" = set; then
3517 if test "$withval" = yes; then
3518 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
3520 wx_cv_use_sdl='wxUSE_LIBSDL=no'
3526 LINE=`grep "^wxUSE_LIBSDL
=" ${wx_arg_cache_file}`
3527 if test "x
$LINE" != x ; then
3528 eval "DEFAULT_
$LINE"
3534 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
3538 eval "$wx_cv_use_sdl"
3539 if test "x$cache" = xyes
; then
3540 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
3543 if test x
"$withstring" = xwithout
; then
3544 if test $wxUSE_LIBSDL = yes; then
3550 result
=$wxUSE_LIBSDL
3553 echo "$as_me:$LINENO: result: $result" >&5
3554 echo "${ECHO_T}$result" >&6
3557 echo "$as_me:$LINENO: checking for --with-regex" >&5
3558 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3560 # Check whether --with-regex or --without-regex was given.
3561 if test "${with_regex+set}" = set; then
3562 withval
="$with_regex"
3564 if test "$withval" = yes; then
3565 wx_cv_use_regex
='wxUSE_REGEX=yes'
3566 elif test "$withval" = no
; then
3567 wx_cv_use_regex
='wxUSE_REGEX=no'
3568 elif test "$withval" = sys
; then
3569 wx_cv_use_regex
='wxUSE_REGEX=sys'
3570 elif test "$withval" = builtin; then
3571 wx_cv_use_regex
='wxUSE_REGEX=builtin'
3573 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3574 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3575 { (exit 1); exit 1; }; }
3581 LINE
=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
3582 if test "x$LINE" != x
; then
3583 eval "DEFAULT_$LINE"
3589 wx_cv_use_regex
='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
3593 eval "$wx_cv_use_regex"
3594 if test "x$cache" = xyes; then
3595 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
3598 if test "$wxUSE_REGEX" = yes; then
3599 echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3601 elif test "$wxUSE_REGEX" = no; then
3602 echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6
3604 elif test "$wxUSE_REGEX" = sys; then
3605 echo "$as_me:$LINENO: result: system version" >&5
3606 echo "${ECHO_T}system version" >&6
3607 elif test "$wxUSE_REGEX" = builtin; then
3608 echo "$as_me:$LINENO: result: builtin version" >&5
3609 echo "${ECHO_T}builtin version" >&6
3611 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3612 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3613 { (exit 1); exit 1; }; }
3617 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3618 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3620 # Check whether --with-zlib or --without-zlib was given.
3621 if test "${with_zlib+set}" = set; then
3622 withval="$with_zlib"
3624 if test "$withval" = yes; then
3625 wx_cv_use_zlib='wxUSE_ZLIB
=yes'
3626 elif test "$withval" = no; then
3627 wx_cv_use_zlib='wxUSE_ZLIB
=no
'
3628 elif test "$withval" = sys; then
3629 wx_cv_use_zlib='wxUSE_ZLIB
=sys
'
3630 elif test "$withval" = builtin; then
3631 wx_cv_use_zlib='wxUSE_ZLIB
=builtin'
3633 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3634 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3635 { (exit 1); exit 1; }; }
3641 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
3642 if test "x$LINE" != x ; then
3643 eval "DEFAULT_$LINE"
3649 wx_cv_use_zlib='wxUSE_ZLIB
=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
3653 eval "$wx_cv_use_zlib"
3654 if test "x
$cache" = xyes; then
3655 echo "wxUSE_ZLIB
=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
3658 if test "$wxUSE_ZLIB" = yes; then
3659 echo "$as_me:$LINENO: result
: yes" >&5
3660 echo "${ECHO_T}yes" >&6
3661 elif test "$wxUSE_ZLIB" = no; then
3662 echo "$as_me:$LINENO: result
: no
" >&5
3663 echo "${ECHO_T}no
" >&6
3664 elif test "$wxUSE_ZLIB" = sys; then
3665 echo "$as_me:$LINENO: result
: system version
" >&5
3666 echo "${ECHO_T}system version
" >&6
3667 elif test "$wxUSE_ZLIB" = builtin; then
3668 echo "$as_me:$LINENO: result
: builtin version
" >&5
3669 echo "${ECHO_T}builtin version
" >&6
3671 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
3672 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
3673 { (exit 1); exit 1; }; }
3677 echo "$as_me:$LINENO: checking
for --with-odbc" >&5
3678 echo $ECHO_N "checking
for --with-odbc...
$ECHO_C" >&6
3680 # Check whether --with-odbc or --without-odbc was given.
3681 if test "${with_odbc+set}" = set; then
3682 withval="$with_odbc"
3684 if test "$withval" = yes; then
3685 wx_cv_use_odbc='wxUSE_ODBC=yes'
3686 elif test "$withval" = no; then
3687 wx_cv_use_odbc='wxUSE_ODBC=no'
3688 elif test "$withval" = sys; then
3689 wx_cv_use_odbc='wxUSE_ODBC=sys'
3690 elif test "$withval" = builtin; then
3691 wx_cv_use_odbc='wxUSE_ODBC=builtin'
3693 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-odbc: should be
yes, no
, sys
, or
builtin" >&5
3694 echo "$as_me: error
: Invalid value
for --with-odbc: should be
yes, no
, sys
, or
builtin" >&2;}
3695 { (exit 1); exit 1; }; }
3701 LINE=`grep "^wxUSE_ODBC
=" ${wx_arg_cache_file}`
3702 if test "x
$LINE" != x ; then
3703 eval "DEFAULT_
$LINE"
3709 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
3713 eval "$wx_cv_use_odbc"
3714 if test "x$cache" = xyes
; then
3715 echo "wxUSE_ODBC=$wxUSE_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
3740 # Check whether --with-expat or --without-expat was given.
3741 if test "${with_expat+set}" = set; then
3742 withval
="$with_expat"
3744 if test "$withval" = yes; then
3745 wx_cv_use_expat
='wxUSE_EXPAT=yes'
3746 elif test "$withval" = no
; then
3747 wx_cv_use_expat
='wxUSE_EXPAT=no'
3748 elif test "$withval" = sys
; then
3749 wx_cv_use_expat
='wxUSE_EXPAT=sys'
3750 elif test "$withval" = builtin; then
3751 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
3753 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3754 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3755 { (exit 1); exit 1; }; }
3761 LINE
=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x
; then
3763 eval "DEFAULT_$LINE"
3769 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
3773 eval "$wx_cv_use_expat"
3774 if test "x$cache" = xyes; then
3775 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
3778 if test "$wxUSE_EXPAT" = yes; then
3779 echo "$as_me:$LINENO: result: yes" >&5
3780 echo "${ECHO_T}yes" >&6
3781 elif test "$wxUSE_EXPAT" = no; then
3782 echo "$as_me:$LINENO: result: no" >&5
3783 echo "${ECHO_T}no" >&6
3784 elif test "$wxUSE_EXPAT" = sys; then
3785 echo "$as_me:$LINENO: result: system version" >&5
3786 echo "${ECHO_T}system version" >&6
3787 elif test "$wxUSE_EXPAT" = builtin; then
3788 echo "$as_me:$LINENO: result: builtin version" >&5
3789 echo "${ECHO_T}builtin version" >&6
3791 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3792 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3793 { (exit 1); exit 1; }; }
3797 echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
3798 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6
3800 # Check whether --with-macosx-sdk or --without-macosx-sdk was given.
3801 if test "${with_macosx_sdk+set}" = set; then
3802 withval="$with_macosx_sdk"
3804 wxUSE_MACOSX_SDK=$withval
3805 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
3806 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
3810 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
3811 # will override --enable-universal_binary's automatic SDK usage.
3813 LINE
=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
3814 if test "x$LINE" != x
; then
3816 echo "$LINE" >> ${wx_arg_cache_file}.tmp
3820 echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
3821 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6
3823 echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
3824 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6
3826 # Check whether --with-macosx-version-min or --without-macosx-version-min was given.
3827 if test "${with_macosx_version_min+set}" = set; then
3828 withval
="$with_macosx_version_min"
3830 wxUSE_MACOSX_VERSION_MIN
=$withval
3831 wx_cv_use_macosx_version_min
="wxUSE_MACOSX_VERSION_MIN=$withval"
3832 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
3836 # default "yes" because when not using an SDK it means the same as no
3837 # but when using an SDK it means to use the SDK version
3838 wxUSE_MACOSX_VERSION_MIN
=yes
3839 # See if there is a value in the cache
3840 LINE
=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
3841 if test "x$LINE" != x
; then
3843 echo "$LINE" >> ${wx_arg_cache_file}.tmp
3847 echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
3848 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6
3852 enablestring
=disable
3854 if test -z "$defaultval"; then
3855 if test x
"$enablestring" = xdisable
; then
3862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3863 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3864 # Check whether --enable-shared or --disable-shared was given.
3865 if test "${enable_shared+set}" = set; then
3866 enableval
="$enable_shared"
3868 if test "$enableval" = yes; then
3869 wx_cv_use_shared
='wxUSE_SHARED=yes'
3871 wx_cv_use_shared
='wxUSE_SHARED=no'
3877 LINE
=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
3878 if test "x$LINE" != x
; then
3879 eval "DEFAULT_$LINE"
3885 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
3889 eval "$wx_cv_use_shared"
3890 if test "x$cache" = xyes; then
3891 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
3894 if test x"$enablestring" = xdisable; then
3895 if test $wxUSE_SHARED = yes; then
3901 result=$wxUSE_SHARED
3904 echo "$as_me:$LINENO: result: $result" >&5
3905 echo "${ECHO_T}$result" >&6
3908 enablestring=disable
3910 if test -z "$defaultval"; then
3911 if test x"$enablestring" = xdisable; then
3918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3919 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3920 # Check whether --enable-optimise or --disable-optimise was given.
3921 if test "${enable_optimise+set}" = set; then
3922 enableval="$enable_optimise"
3924 if test "$enableval" = yes; then
3925 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3927 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3933 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
3934 if test "x$LINE" != x ; then
3935 eval "DEFAULT_$LINE"
3941 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
3945 eval "$wx_cv_use_optimise"
3946 if test "x
$cache" = xyes; then
3947 echo "wxUSE_OPTIMISE
=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
3950 if test x"$enablestring" = xdisable; then
3951 if test $wxUSE_OPTIMISE = yes; then
3957 result=$wxUSE_OPTIMISE
3960 echo "$as_me:$LINENO: result
: $result" >&5
3961 echo "${ECHO_T}$result" >&6
3966 if test -z "$defaultval"; then
3967 if test x"$enablestring" = xdisable; then
3974 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
3975 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6
3976 # Check whether --enable-debug or --disable-debug was given.
3977 if test "${enable_debug+set}" = set; then
3978 enableval="$enable_debug"
3980 if test "$enableval" = yes; then
3981 wx_cv_use_debug='wxUSE_DEBUG=yes'
3983 wx_cv_use_debug='wxUSE_DEBUG=no'
3989 LINE=`grep "^wxUSE_DEBUG
=" ${wx_arg_cache_file}`
3990 if test "x
$LINE" != x ; then
3991 eval "DEFAULT_
$LINE"
3997 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4001 eval "$wx_cv_use_debug"
4002 if test "x$cache" = xyes
; then
4003 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4006 if test x
"$enablestring" = xdisable
; then
4007 if test $wxUSE_DEBUG = yes; then
4016 echo "$as_me:$LINENO: result: $result" >&5
4017 echo "${ECHO_T}$result" >&6
4022 if test -z "$defaultval"; then
4023 if test x
"$enablestring" = xdisable
; then
4030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4031 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
4032 # Check whether --enable-stl or --disable-stl was given.
4033 if test "${enable_stl+set}" = set; then
4034 enableval
="$enable_stl"
4036 if test "$enableval" = yes; then
4037 wx_cv_use_stl
='wxUSE_STL=yes'
4039 wx_cv_use_stl
='wxUSE_STL=no'
4045 LINE
=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x
; then
4047 eval "DEFAULT_$LINE"
4053 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4057 eval "$wx_cv_use_stl"
4058 if test "x$cache" = xyes; then
4059 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4062 if test x"$enablestring" = xdisable; then
4063 if test $wxUSE_STL = yes; then
4072 echo "$as_me:$LINENO: result: $result" >&5
4073 echo "${ECHO_T}$result" >&6
4078 if test -z "$defaultval"; then
4079 if test x"$enablestring" = xdisable; then
4086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4087 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
4088 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4089 if test "${enable_std_iostreams+set}" = set; then
4090 enableval="$enable_std_iostreams"
4092 if test "$enableval" = yes; then
4093 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4095 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4101 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x ; then
4103 eval "DEFAULT_$LINE"
4109 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4113 eval "$wx_cv_use_std_iostreams"
4114 if test "x
$cache" = xyes; then
4115 echo "wxUSE_STD_IOSTREAM
=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4118 if test x"$enablestring" = xdisable; then
4119 if test $wxUSE_STD_IOSTREAM = yes; then
4125 result=$wxUSE_STD_IOSTREAM
4128 echo "$as_me:$LINENO: result
: $result" >&5
4129 echo "${ECHO_T}$result" >&6
4134 if test -z "$defaultval"; then
4135 if test x"$enablestring" = xdisable; then
4142 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4143 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6
4144 # Check whether --enable-std_string or --disable-std_string was given.
4145 if test "${enable_std_string+set}" = set; then
4146 enableval="$enable_std_string"
4148 if test "$enableval" = yes; then
4149 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4151 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4157 LINE=`grep "^wxUSE_STD_STRING
=" ${wx_arg_cache_file}`
4158 if test "x
$LINE" != x ; then
4159 eval "DEFAULT_
$LINE"
4165 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4169 eval "$wx_cv_use_std_string"
4170 if test "x$cache" = xyes
; then
4171 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4174 if test x
"$enablestring" = xdisable
; then
4175 if test $wxUSE_STD_STRING = yes; then
4181 result
=$wxUSE_STD_STRING
4184 echo "$as_me:$LINENO: result: $result" >&5
4185 echo "${ECHO_T}$result" >&6
4188 enablestring
=disable
4190 if test -z "$defaultval"; then
4191 if test x
"$enablestring" = xdisable
; then
4198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4199 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4200 # Check whether --enable-unicode or --disable-unicode was given.
4201 if test "${enable_unicode+set}" = set; then
4202 enableval
="$enable_unicode"
4204 if test "$enableval" = yes; then
4205 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4207 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4213 LINE
=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4214 if test "x$LINE" != x
; then
4215 eval "DEFAULT_$LINE"
4221 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4225 eval "$wx_cv_use_unicode"
4226 if test "x$cache" = xyes; then
4227 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4230 if test x"$enablestring" = xdisable; then
4231 if test $wxUSE_UNICODE = yes; then
4237 result=$wxUSE_UNICODE
4240 echo "$as_me:$LINENO: result: $result" >&5
4241 echo "${ECHO_T}$result" >&6
4246 if test -z "$defaultval"; then
4247 if test x"$enablestring" = xdisable; then
4254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4255 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4256 # Check whether --enable-mslu or --disable-mslu was given.
4257 if test "${enable_mslu+set}" = set; then
4258 enableval="$enable_mslu"
4260 if test "$enableval" = yes; then
4261 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4263 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4269 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4270 if test "x$LINE" != x ; then
4271 eval "DEFAULT_$LINE"
4277 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4281 eval "$wx_cv_use_mslu"
4282 if test "x
$cache" = xyes; then
4283 echo "wxUSE_UNICODE_MSLU
=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4286 if test x"$enablestring" = xdisable; then
4287 if test $wxUSE_UNICODE_MSLU = yes; then
4293 result=$wxUSE_UNICODE_MSLU
4296 echo "$as_me:$LINENO: result
: $result" >&5
4297 echo "${ECHO_T}$result" >&6
4301 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4302 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6
4303 # Check whether --enable-utf8 or --disable-utf8 was given.
4304 if test "${enable_utf8+set}" = set; then
4305 enableval="$enable_utf8"
4307 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4312 LINE=`grep "^wxUSE_UNICODE_UTF8
=" ${wx_arg_cache_file}`
4313 if test "x
$LINE" != x ; then
4314 eval "DEFAULT_
$LINE"
4320 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4324 eval "$wx_cv_use_utf8"
4325 if test "x
$cache" = xyes; then
4326 echo "wxUSE_UNICODE_UTF8
=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4329 echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4330 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6
4335 if test -z "$defaultval"; then
4336 if test x"$enablestring" = xdisable; then
4343 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4344 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6
4345 # Check whether --enable-utf8only or --disable-utf8only was given.
4346 if test "${enable_utf8only+set}" = set; then
4347 enableval="$enable_utf8only"
4349 if test "$enableval" = yes; then
4350 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4352 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4358 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE
=" ${wx_arg_cache_file}`
4359 if test "x
$LINE" != x ; then
4360 eval "DEFAULT_
$LINE"
4366 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4370 eval "$wx_cv_use_utf8only"
4371 if test "x$cache" = xyes
; then
4372 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4375 if test x
"$enablestring" = xdisable
; then
4376 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4382 result
=$wxUSE_UNICODE_UTF8_LOCALE
4385 echo "$as_me:$LINENO: result: $result" >&5
4386 echo "${ECHO_T}$result" >&6
4391 if test -z "$defaultval"; then
4392 if test x
"$enablestring" = xdisable
; then
4399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4400 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6
4401 # Check whether --enable-extended_rtti or --disable-extended_rtti was given.
4402 if test "${enable_extended_rtti+set}" = set; then
4403 enableval
="$enable_extended_rtti"
4405 if test "$enableval" = yes; then
4406 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4408 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4414 LINE
=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4415 if test "x$LINE" != x
; then
4416 eval "DEFAULT_$LINE"
4422 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4426 eval "$wx_cv_use_extended_rtti"
4427 if test "x$cache" = xyes; then
4428 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
4431 if test x"$enablestring" = xdisable; then
4432 if test $wxUSE_EXTENDED_RTTI = yes; then
4438 result=$wxUSE_EXTENDED_RTTI
4441 echo "$as_me:$LINENO: result: $result" >&5
4442 echo "${ECHO_T}$result" >&6
4444 if test "$USE_OS2" = "1"; then
4445 DEFAULT_wxUSE_OMF=no
4449 if test -z "$defaultval"; then
4450 if test x"$enablestring" = xdisable; then
4457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4458 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
4459 # Check whether --enable-omf or --disable-omf was given.
4460 if test "${enable_omf+set}" = set; then
4461 enableval="$enable_omf"
4463 if test "$enableval" = yes; then
4464 wx_cv_use_omf='wxUSE_OMF
=yes'
4466 wx_cv_use_omf='wxUSE_OMF
=no
'
4472 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4473 if test "x$LINE" != x ; then
4474 eval "DEFAULT_$LINE"
4480 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4484 eval "$wx_cv_use_omf"
4485 if test "x
$cache" = xyes; then
4486 echo "wxUSE_OMF
=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
4489 if test x"$enablestring" = xdisable; then
4490 if test $wxUSE_OMF = yes; then
4499 echo "$as_me:$LINENO: result
: $result" >&5
4500 echo "${ECHO_T}$result" >&6
4504 if test "$wxUSE_DEBUG" = "yes"; then
4505 DEFAULT_wxUSE_DEBUG_FLAG=yes
4506 DEFAULT_wxUSE_DEBUG_INFO=yes
4508 elif test "$wxUSE_DEBUG" = "no
"; then
4509 DEFAULT_wxUSE_DEBUG_FLAG=no
4510 DEFAULT_wxUSE_DEBUG_INFO=no
4517 if test -z "$defaultval"; then
4518 if test x"$enablestring" = xdisable; then
4525 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4526 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6
4527 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4528 if test "${enable_debug_flag+set}" = set; then
4529 enableval="$enable_debug_flag"
4531 if test "$enableval" = yes; then
4532 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4534 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4540 LINE=`grep "^wxUSE_DEBUG_FLAG
=" ${wx_arg_cache_file}`
4541 if test "x
$LINE" != x ; then
4542 eval "DEFAULT_
$LINE"
4548 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4552 eval "$wx_cv_use_debug_flag"
4553 if test "x$cache" = xyes
; then
4554 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
4557 if test x
"$enablestring" = xdisable
; then
4558 if test $wxUSE_DEBUG_FLAG = yes; then
4564 result
=$wxUSE_DEBUG_FLAG
4567 echo "$as_me:$LINENO: result: $result" >&5
4568 echo "${ECHO_T}$result" >&6
4573 if test -z "$defaultval"; then
4574 if test x
"$enablestring" = xdisable
; then
4581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4582 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4583 # Check whether --enable-debug_info or --disable-debug_info was given.
4584 if test "${enable_debug_info+set}" = set; then
4585 enableval
="$enable_debug_info"
4587 if test "$enableval" = yes; then
4588 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4590 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4596 LINE
=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
4597 if test "x$LINE" != x
; then
4598 eval "DEFAULT_$LINE"
4604 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4608 eval "$wx_cv_use_debug_info"
4609 if test "x$cache" = xyes; then
4610 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
4613 if test x"$enablestring" = xdisable; then
4614 if test $wxUSE_DEBUG_INFO = yes; then
4620 result=$wxUSE_DEBUG_INFO
4623 echo "$as_me:$LINENO: result: $result" >&5
4624 echo "${ECHO_T}$result" >&6
4629 if test -z "$defaultval"; then
4630 if test x"$enablestring" = xdisable; then
4637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4638 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4639 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4640 if test "${enable_debug_gdb+set}" = set; then
4641 enableval="$enable_debug_gdb"
4643 if test "$enableval" = yes; then
4644 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
4646 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
4652 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x ; then
4654 eval "DEFAULT_$LINE"
4660 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4664 eval "$wx_cv_use_debug_gdb"
4665 if test "x
$cache" = xyes; then
4666 echo "wxUSE_DEBUG_GDB
=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
4669 if test x"$enablestring" = xdisable; then
4670 if test $wxUSE_DEBUG_GDB = yes; then
4676 result=$wxUSE_DEBUG_GDB
4679 echo "$as_me:$LINENO: result
: $result" >&5
4680 echo "${ECHO_T}$result" >&6
4685 if test -z "$defaultval"; then
4686 if test x"$enablestring" = xdisable; then
4693 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_cntxt" >&5
4694 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_cntxt...
$ECHO_C" >&6
4695 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4696 if test "${enable_debug_cntxt+set}" = set; then
4697 enableval="$enable_debug_cntxt"
4699 if test "$enableval" = yes; then
4700 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4702 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4708 LINE=`grep "^wxUSE_DEBUG_CONTEXT
=" ${wx_arg_cache_file}`
4709 if test "x
$LINE" != x ; then
4710 eval "DEFAULT_
$LINE"
4716 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4720 eval "$wx_cv_use_debug_cntxt"
4721 if test "x$cache" = xyes
; then
4722 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
4725 if test x
"$enablestring" = xdisable
; then
4726 if test $wxUSE_DEBUG_CONTEXT = yes; then
4732 result
=$wxUSE_DEBUG_CONTEXT
4735 echo "$as_me:$LINENO: result: $result" >&5
4736 echo "${ECHO_T}$result" >&6
4741 if test -z "$defaultval"; then
4742 if test x
"$enablestring" = xdisable
; then
4749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4750 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4751 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4752 if test "${enable_mem_tracing+set}" = set; then
4753 enableval
="$enable_mem_tracing"
4755 if test "$enableval" = yes; then
4756 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4758 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4764 LINE
=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x
; then
4766 eval "DEFAULT_$LINE"
4772 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4776 eval "$wx_cv_use_mem_tracing"
4777 if test "x$cache" = xyes; then
4778 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
4781 if test x"$enablestring" = xdisable; then
4782 if test $wxUSE_MEM_TRACING = yes; then
4788 result=$wxUSE_MEM_TRACING
4791 echo "$as_me:$LINENO: result: $result" >&5
4792 echo "${ECHO_T}$result" >&6
4797 if test -z "$defaultval"; then
4798 if test x"$enablestring" = xdisable; then
4805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4806 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4807 # Check whether --enable-profile or --disable-profile was given.
4808 if test "${enable_profile+set}" = set; then
4809 enableval="$enable_profile"
4811 if test "$enableval" = yes; then
4812 wx_cv_use_profile='wxUSE_PROFILE
=yes'
4814 wx_cv_use_profile='wxUSE_PROFILE
=no
'
4820 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
4821 if test "x$LINE" != x ; then
4822 eval "DEFAULT_$LINE"
4828 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4832 eval "$wx_cv_use_profile"
4833 if test "x
$cache" = xyes; then
4834 echo "wxUSE_PROFILE
=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
4837 if test x"$enablestring" = xdisable; then
4838 if test $wxUSE_PROFILE = yes; then
4844 result=$wxUSE_PROFILE
4847 echo "$as_me:$LINENO: result
: $result" >&5
4848 echo "${ECHO_T}$result" >&6
4853 if test -z "$defaultval"; then
4854 if test x"$enablestring" = xdisable; then
4861 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
4862 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6
4863 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4864 if test "${enable_no_rtti+set}" = set; then
4865 enableval="$enable_no_rtti"
4867 if test "$enableval" = yes; then
4868 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4870 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4876 LINE=`grep "^wxUSE_NO_RTTI
=" ${wx_arg_cache_file}`
4877 if test "x
$LINE" != x ; then
4878 eval "DEFAULT_
$LINE"
4884 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4888 eval "$wx_cv_use_no_rtti"
4889 if test "x$cache" = xyes
; then
4890 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
4893 if test x
"$enablestring" = xdisable
; then
4894 if test $wxUSE_NO_RTTI = yes; then
4900 result
=$wxUSE_NO_RTTI
4903 echo "$as_me:$LINENO: result: $result" >&5
4904 echo "${ECHO_T}$result" >&6
4909 if test -z "$defaultval"; then
4910 if test x
"$enablestring" = xdisable
; then
4917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4918 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4919 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4920 if test "${enable_no_exceptions+set}" = set; then
4921 enableval
="$enable_no_exceptions"
4923 if test "$enableval" = yes; then
4924 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4926 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4932 LINE
=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
4933 if test "x$LINE" != x
; then
4934 eval "DEFAULT_$LINE"
4940 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
4944 eval "$wx_cv_use_no_exceptions"
4945 if test "x$cache" = xyes; then
4946 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
4949 if test x"$enablestring" = xdisable; then
4950 if test $wxUSE_NO_EXCEPTIONS = yes; then
4956 result=$wxUSE_NO_EXCEPTIONS
4959 echo "$as_me:$LINENO: result: $result" >&5
4960 echo "${ECHO_T}$result" >&6
4965 if test -z "$defaultval"; then
4966 if test x"$enablestring" = xdisable; then
4973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4974 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4975 # Check whether --enable-permissive or --disable-permissive was given.
4976 if test "${enable_permissive+set}" = set; then
4977 enableval="$enable_permissive"
4979 if test "$enableval" = yes; then
4980 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4982 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4988 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
4989 if test "x$LINE" != x ; then
4990 eval "DEFAULT_$LINE"
4996 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5000 eval "$wx_cv_use_permissive"
5001 if test "x
$cache" = xyes; then
5002 echo "wxUSE_PERMISSIVE
=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5005 if test x"$enablestring" = xdisable; then
5006 if test $wxUSE_PERMISSIVE = yes; then
5012 result=$wxUSE_PERMISSIVE
5015 echo "$as_me:$LINENO: result
: $result" >&5
5016 echo "${ECHO_T}$result" >&6
5021 if test -z "$defaultval"; then
5022 if test x"$enablestring" = xdisable; then
5029 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5030 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6
5031 # Check whether --enable-no_deps or --disable-no_deps was given.
5032 if test "${enable_no_deps+set}" = set; then
5033 enableval="$enable_no_deps"
5035 if test "$enableval" = yes; then
5036 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5038 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5044 LINE=`grep "^wxUSE_NO_DEPS
=" ${wx_arg_cache_file}`
5045 if test "x
$LINE" != x ; then
5046 eval "DEFAULT_
$LINE"
5052 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5056 eval "$wx_cv_use_no_deps"
5057 if test "x$cache" = xyes
; then
5058 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5061 if test x
"$enablestring" = xdisable
; then
5062 if test $wxUSE_NO_DEPS = yes; then
5068 result
=$wxUSE_NO_DEPS
5071 echo "$as_me:$LINENO: result: $result" >&5
5072 echo "${ECHO_T}$result" >&6
5075 enablestring
=disable
5077 if test -z "$defaultval"; then
5078 if test x
"$enablestring" = xdisable
; then
5085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5086 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
5087 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
5088 if test "${enable_vararg_macros+set}" = set; then
5089 enableval
="$enable_vararg_macros"
5091 if test "$enableval" = yes; then
5092 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5094 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5100 LINE
=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5101 if test "x$LINE" != x
; then
5102 eval "DEFAULT_$LINE"
5108 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5112 eval "$wx_cv_use_vararg_macros"
5113 if test "x$cache" = xyes; then
5114 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5117 if test x"$enablestring" = xdisable; then
5118 if test $wxUSE_VARARG_MACROS = yes; then
5124 result=$wxUSE_VARARG_MACROS
5127 echo "$as_me:$LINENO: result: $result" >&5
5128 echo "${ECHO_T}$result" >&6
5132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5133 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
5134 # Check whether --enable-universal_binary or --disable-universal_binary was given.
5135 if test "${enable_universal_binary+set}" = set; then
5136 enableval="$enable_universal_binary"
5138 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5143 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5144 if test "x$LINE" != x ; then
5145 eval "DEFAULT_$LINE"
5151 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5155 eval "$wx_cv_use_universal_binary"
5156 if test "x$cache" = xyes; then
5157 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5160 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5161 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
5167 if test -z "$defaultval"; then
5168 if test x"$enablestring" = xdisable; then
5175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
5177 # Check whether --enable-compat26 or --disable-compat26 was given.
5178 if test "${enable_compat26+set}" = set; then
5179 enableval="$enable_compat26"
5181 if test "$enableval" = yes; then
5182 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5184 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5190 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5191 if test "x$LINE" != x ; then
5192 eval "DEFAULT_$LINE"
5198 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5202 eval "$wx_cv_use_compat26"
5203 if test "x
$cache" = xyes; then
5204 echo "WXWIN_COMPATIBILITY_2_6
=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5207 if test x"$enablestring" = xdisable; then
5208 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5214 result=$WXWIN_COMPATIBILITY_2_6
5217 echo "$as_me:$LINENO: result
: $result" >&5
5218 echo "${ECHO_T}$result" >&6
5221 enablestring=disable
5223 if test -z "$defaultval"; then
5224 if test x"$enablestring" = xdisable; then
5231 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5232 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6
5233 # Check whether --enable-compat28 or --disable-compat28 was given.
5234 if test "${enable_compat28+set}" = set; then
5235 enableval="$enable_compat28"
5237 if test "$enableval" = yes; then
5238 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5240 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5246 LINE=`grep "^WXWIN_COMPATIBILITY_2_8
=" ${wx_arg_cache_file}`
5247 if test "x
$LINE" != x ; then
5248 eval "DEFAULT_
$LINE"
5254 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5258 eval "$wx_cv_use_compat28"
5259 if test "x$cache" = xyes
; then
5260 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5263 if test x
"$enablestring" = xdisable
; then
5264 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5270 result
=$WXWIN_COMPATIBILITY_2_8
5273 echo "$as_me:$LINENO: result: $result" >&5
5274 echo "${ECHO_T}$result" >&6
5278 enablestring
=disable
5280 if test -z "$defaultval"; then
5281 if test x
"$enablestring" = xdisable
; then
5288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5289 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
5290 # Check whether --enable-rpath or --disable-rpath was given.
5291 if test "${enable_rpath+set}" = set; then
5292 enableval
="$enable_rpath"
5294 if test "$enableval" = yes; then
5295 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5297 wx_cv_use_rpath
='wxUSE_RPATH=no'
5303 LINE
=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5304 if test "x$LINE" != x
; then
5305 eval "DEFAULT_$LINE"
5311 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5315 eval "$wx_cv_use_rpath"
5316 if test "x$cache" = xyes; then
5317 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5320 if test x"$enablestring" = xdisable; then
5321 if test $wxUSE_RPATH = yes; then
5330 echo "$as_me:$LINENO: result: $result" >&5
5331 echo "${ECHO_T}$result" >&6
5337 if test -z "$defaultval"; then
5338 if test x"$enablestring" = xdisable; then
5345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5346 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6
5347 # Check whether --enable-objc_uniquifying or --disable-objc_uniquifying was given.
5348 if test "${enable_objc_uniquifying+set}" = set; then
5349 enableval="$enable_objc_uniquifying"
5351 if test "$enableval" = yes; then
5352 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5354 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5360 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x ; then
5362 eval "DEFAULT_$LINE"
5368 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5372 eval "$wx_cv_use_objc_uniquifying"
5373 if test "x
$cache" = xyes; then
5374 echo "wxUSE_OBJC_UNIQUIFYING
=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5377 if test x"$enablestring" = xdisable; then
5378 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5384 result=$wxUSE_OBJC_UNIQUIFYING
5387 echo "$as_me:$LINENO: result
: $result" >&5
5388 echo "${ECHO_T}$result" >&6
5392 enablestring=disable
5394 if test -z "$defaultval"; then
5395 if test x"$enablestring" = xdisable; then
5402 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5403 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6
5404 # Check whether --enable-visibility or --disable-visibility was given.
5405 if test "${enable_visibility+set}" = set; then
5406 enableval="$enable_visibility"
5408 if test "$enableval" = yes; then
5409 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5411 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5417 LINE=`grep "^wxUSE_VISIBILITY
=" ${wx_arg_cache_file}`
5418 if test "x
$LINE" != x ; then
5419 eval "DEFAULT_
$LINE"
5425 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5429 eval "$wx_cv_use_visibility"
5430 if test "x$cache" = xyes
; then
5431 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
5434 if test x
"$enablestring" = xdisable
; then
5435 if test $wxUSE_VISIBILITY = yes; then
5441 result
=$wxUSE_VISIBILITY
5444 echo "$as_me:$LINENO: result: $result" >&5
5445 echo "${ECHO_T}$result" >&6
5451 defaultval
=$wxUSE_ALL_FEATURES
5452 if test -z "$defaultval"; then
5453 if test x
"$enablestring" = xdisable
; then
5460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5461 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
5462 # Check whether --enable-intl or --disable-intl was given.
5463 if test "${enable_intl+set}" = set; then
5464 enableval
="$enable_intl"
5466 if test "$enableval" = yes; then
5467 wx_cv_use_intl
='wxUSE_INTL=yes'
5469 wx_cv_use_intl
='wxUSE_INTL=no'
5475 LINE
=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x
; then
5477 eval "DEFAULT_$LINE"
5483 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5487 eval "$wx_cv_use_intl"
5488 if test "x$cache" = xyes; then
5489 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
5492 if test x"$enablestring" = xdisable; then
5493 if test $wxUSE_INTL = yes; then
5502 echo "$as_me:$LINENO: result: $result" >&5
5503 echo "${ECHO_T}$result" >&6
5507 defaultval=$wxUSE_ALL_FEATURES
5508 if test -z "$defaultval"; then
5509 if test x"$enablestring" = xdisable; then
5516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5517 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
5518 # Check whether --enable-config or --disable-config was given.
5519 if test "${enable_config+set}" = set; then
5520 enableval="$enable_config"
5522 if test "$enableval" = yes; then
5523 wx_cv_use_config='wxUSE_CONFIG
=yes'
5525 wx_cv_use_config='wxUSE_CONFIG
=no
'
5531 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x ; then
5533 eval "DEFAULT_$LINE"
5539 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5543 eval "$wx_cv_use_config"
5544 if test "x
$cache" = xyes; then
5545 echo "wxUSE_CONFIG
=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
5548 if test x"$enablestring" = xdisable; then
5549 if test $wxUSE_CONFIG = yes; then
5555 result=$wxUSE_CONFIG
5558 echo "$as_me:$LINENO: result
: $result" >&5
5559 echo "${ECHO_T}$result" >&6
5564 defaultval=$wxUSE_ALL_FEATURES
5565 if test -z "$defaultval"; then
5566 if test x"$enablestring" = xdisable; then
5573 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
5574 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6
5575 # Check whether --enable-protocols or --disable-protocols was given.
5576 if test "${enable_protocols+set}" = set; then
5577 enableval="$enable_protocols"
5579 if test "$enableval" = yes; then
5580 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5582 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5588 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
5589 if test "x
$LINE" != x ; then
5590 eval "DEFAULT_
$LINE"
5596 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5600 eval "$wx_cv_use_protocols"
5601 if test "x$cache" = xyes
; then
5602 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
5605 if test x
"$enablestring" = xdisable
; then
5606 if test $wxUSE_PROTOCOL = yes; then
5612 result
=$wxUSE_PROTOCOL
5615 echo "$as_me:$LINENO: result: $result" >&5
5616 echo "${ECHO_T}$result" >&6
5620 defaultval
=$wxUSE_ALL_FEATURES
5621 if test -z "$defaultval"; then
5622 if test x
"$enablestring" = xdisable
; then
5629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5630 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
5631 # Check whether --enable-ftp or --disable-ftp was given.
5632 if test "${enable_ftp+set}" = set; then
5633 enableval
="$enable_ftp"
5635 if test "$enableval" = yes; then
5636 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
5638 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
5644 LINE
=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
5645 if test "x$LINE" != x
; then
5646 eval "DEFAULT_$LINE"
5652 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5656 eval "$wx_cv_use_ftp"
5657 if test "x$cache" = xyes; then
5658 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
5661 if test x"$enablestring" = xdisable; then
5662 if test $wxUSE_PROTOCOL_FTP = yes; then
5668 result=$wxUSE_PROTOCOL_FTP
5671 echo "$as_me:$LINENO: result: $result" >&5
5672 echo "${ECHO_T}$result" >&6
5676 defaultval=$wxUSE_ALL_FEATURES
5677 if test -z "$defaultval"; then
5678 if test x"$enablestring" = xdisable; then
5685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5686 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
5687 # Check whether --enable-http or --disable-http was given.
5688 if test "${enable_http+set}" = set; then
5689 enableval="$enable_http"
5691 if test "$enableval" = yes; then
5692 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
5694 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
5700 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
5701 if test "x$LINE" != x ; then
5702 eval "DEFAULT_$LINE"
5708 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5712 eval "$wx_cv_use_http"
5713 if test "x
$cache" = xyes; then
5714 echo "wxUSE_PROTOCOL_HTTP
=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
5717 if test x"$enablestring" = xdisable; then
5718 if test $wxUSE_PROTOCOL_HTTP = yes; then
5724 result=$wxUSE_PROTOCOL_HTTP
5727 echo "$as_me:$LINENO: result
: $result" >&5
5728 echo "${ECHO_T}$result" >&6
5732 defaultval=$wxUSE_ALL_FEATURES
5733 if test -z "$defaultval"; then
5734 if test x"$enablestring" = xdisable; then
5741 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
5742 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6
5743 # Check whether --enable-fileproto or --disable-fileproto was given.
5744 if test "${enable_fileproto+set}" = set; then
5745 enableval="$enable_fileproto"
5747 if test "$enableval" = yes; then
5748 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5750 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5756 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
5757 if test "x
$LINE" != x ; then
5758 eval "DEFAULT_
$LINE"
5764 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5768 eval "$wx_cv_use_fileproto"
5769 if test "x$cache" = xyes
; then
5770 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
5773 if test x
"$enablestring" = xdisable
; then
5774 if test $wxUSE_PROTOCOL_FILE = yes; then
5780 result
=$wxUSE_PROTOCOL_FILE
5783 echo "$as_me:$LINENO: result: $result" >&5
5784 echo "${ECHO_T}$result" >&6
5788 defaultval
=$wxUSE_ALL_FEATURES
5789 if test -z "$defaultval"; then
5790 if test x
"$enablestring" = xdisable
; then
5797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5798 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
5799 # Check whether --enable-sockets or --disable-sockets was given.
5800 if test "${enable_sockets+set}" = set; then
5801 enableval
="$enable_sockets"
5803 if test "$enableval" = yes; then
5804 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
5806 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
5812 LINE
=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
5813 if test "x$LINE" != x
; then
5814 eval "DEFAULT_$LINE"
5820 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5824 eval "$wx_cv_use_sockets"
5825 if test "x$cache" = xyes; then
5826 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
5829 if test x"$enablestring" = xdisable; then
5830 if test $wxUSE_SOCKETS = yes; then
5836 result=$wxUSE_SOCKETS
5839 echo "$as_me:$LINENO: result: $result" >&5
5840 echo "${ECHO_T}$result" >&6
5844 defaultval=$wxUSE_ALL_FEATURES
5845 if test -z "$defaultval"; then
5846 if test x"$enablestring" = xdisable; then
5853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5854 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
5855 # Check whether --enable-ole or --disable-ole was given.
5856 if test "${enable_ole+set}" = set; then
5857 enableval="$enable_ole"
5859 if test "$enableval" = yes; then
5860 wx_cv_use_ole='wxUSE_OLE
=yes'
5862 wx_cv_use_ole='wxUSE_OLE
=no
'
5868 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5876 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5880 eval "$wx_cv_use_ole"
5881 if test "x
$cache" = xyes; then
5882 echo "wxUSE_OLE
=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
5885 if test x"$enablestring" = xdisable; then
5886 if test $wxUSE_OLE = yes; then
5895 echo "$as_me:$LINENO: result
: $result" >&5
5896 echo "${ECHO_T}$result" >&6
5900 defaultval=$wxUSE_ALL_FEATURES
5901 if test -z "$defaultval"; then
5902 if test x"$enablestring" = xdisable; then
5909 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
5910 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6
5911 # Check whether --enable-dataobj or --disable-dataobj was given.
5912 if test "${enable_dataobj+set}" = set; then
5913 enableval="$enable_dataobj"
5915 if test "$enableval" = yes; then
5916 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5918 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5924 LINE=`grep "^wxUSE_DATAOBJ
=" ${wx_arg_cache_file}`
5925 if test "x
$LINE" != x ; then
5926 eval "DEFAULT_
$LINE"
5932 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5936 eval "$wx_cv_use_dataobj"
5937 if test "x$cache" = xyes
; then
5938 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
5941 if test x
"$enablestring" = xdisable
; then
5942 if test $wxUSE_DATAOBJ = yes; then
5948 result
=$wxUSE_DATAOBJ
5951 echo "$as_me:$LINENO: result: $result" >&5
5952 echo "${ECHO_T}$result" >&6
5957 defaultval
=$wxUSE_ALL_FEATURES
5958 if test -z "$defaultval"; then
5959 if test x
"$enablestring" = xdisable
; then
5966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5967 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
5968 # Check whether --enable-ipc or --disable-ipc was given.
5969 if test "${enable_ipc+set}" = set; then
5970 enableval
="$enable_ipc"
5972 if test "$enableval" = yes; then
5973 wx_cv_use_ipc
='wxUSE_IPC=yes'
5975 wx_cv_use_ipc
='wxUSE_IPC=no'
5981 LINE
=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
5982 if test "x$LINE" != x
; then
5983 eval "DEFAULT_$LINE"
5989 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5993 eval "$wx_cv_use_ipc"
5994 if test "x$cache" = xyes; then
5995 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
5998 if test x"$enablestring" = xdisable; then
5999 if test $wxUSE_IPC = yes; then
6008 echo "$as_me:$LINENO: result: $result" >&5
6009 echo "${ECHO_T}$result" >&6
6014 defaultval=$wxUSE_ALL_FEATURES
6015 if test -z "$defaultval"; then
6016 if test x"$enablestring" = xdisable; then
6023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6024 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6
6025 # Check whether --enable-baseevtloop or --disable-baseevtloop was given.
6026 if test "${enable_baseevtloop+set}" = set; then
6027 enableval="$enable_baseevtloop"
6029 if test "$enableval" = yes; then
6030 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6032 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6038 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6039 if test "x$LINE" != x ; then
6040 eval "DEFAULT_$LINE"
6046 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6050 eval "$wx_cv_use_baseevtloop"
6051 if test "x
$cache" = xyes; then
6052 echo "wxUSE_CONSOLE_EVENTLOOP
=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6055 if test x"$enablestring" = xdisable; then
6056 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6062 result=$wxUSE_CONSOLE_EVENTLOOP
6065 echo "$as_me:$LINENO: result
: $result" >&5
6066 echo "${ECHO_T}$result" >&6
6070 defaultval=$wxUSE_ALL_FEATURES
6071 if test -z "$defaultval"; then
6072 if test x"$enablestring" = xdisable; then
6079 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epoolloop" >&5
6080 echo $ECHO_N "checking
for --${enablestring:-enable}-epoolloop...
$ECHO_C" >&6
6081 # Check whether --enable-epoolloop or --disable-epoolloop was given.
6082 if test "${enable_epoolloop+set}" = set; then
6083 enableval="$enable_epoolloop"
6085 if test "$enableval" = yes; then
6086 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6088 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6094 LINE=`grep "^wxUSE_EPOLL_DISPATCHER
=" ${wx_arg_cache_file}`
6095 if test "x
$LINE" != x ; then
6096 eval "DEFAULT_
$LINE"
6102 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6106 eval "$wx_cv_use_epoolloop"
6107 if test "x$cache" = xyes
; then
6108 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6111 if test x
"$enablestring" = xdisable
; then
6112 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6118 result
=$wxUSE_EPOLL_DISPATCHER
6121 echo "$as_me:$LINENO: result: $result" >&5
6122 echo "${ECHO_T}$result" >&6
6126 defaultval
=$wxUSE_ALL_FEATURES
6127 if test -z "$defaultval"; then
6128 if test x
"$enablestring" = xdisable
; then
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6
6137 # Check whether --enable-selectloop or --disable-selectloop was given.
6138 if test "${enable_selectloop+set}" = set; then
6139 enableval
="$enable_selectloop"
6141 if test "$enableval" = yes; then
6142 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6144 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6150 LINE
=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x
; then
6152 eval "DEFAULT_$LINE"
6158 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6162 eval "$wx_cv_use_selectloop"
6163 if test "x$cache" = xyes; then
6164 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6167 if test x"$enablestring" = xdisable; then
6168 if test $wxUSE_SELECT_DISPATCHER = yes; then
6174 result=$wxUSE_SELECT_DISPATCHER
6177 echo "$as_me:$LINENO: result: $result" >&5
6178 echo "${ECHO_T}$result" >&6
6183 defaultval=$wxUSE_ALL_FEATURES
6184 if test -z "$defaultval"; then
6185 if test x"$enablestring" = xdisable; then
6192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6193 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
6194 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
6195 if test "${enable_apple_ieee+set}" = set; then
6196 enableval="$enable_apple_ieee"
6198 if test "$enableval" = yes; then
6199 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6201 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6207 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6208 if test "x$LINE" != x ; then
6209 eval "DEFAULT_$LINE"
6215 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6219 eval "$wx_cv_use_apple_ieee"
6220 if test "x
$cache" = xyes; then
6221 echo "wxUSE_APPLE_IEEE
=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6224 if test x"$enablestring" = xdisable; then
6225 if test $wxUSE_APPLE_IEEE = yes; then
6231 result=$wxUSE_APPLE_IEEE
6234 echo "$as_me:$LINENO: result
: $result" >&5
6235 echo "${ECHO_T}$result" >&6
6239 defaultval=$wxUSE_ALL_FEATURES
6240 if test -z "$defaultval"; then
6241 if test x"$enablestring" = xdisable; then
6248 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6249 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6
6250 # Check whether --enable-arcstream or --disable-arcstream was given.
6251 if test "${enable_arcstream+set}" = set; then
6252 enableval="$enable_arcstream"
6254 if test "$enableval" = yes; then
6255 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6257 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6263 LINE=`grep "^wxUSE_ARCHIVE_STREAMS
=" ${wx_arg_cache_file}`
6264 if test "x
$LINE" != x ; then
6265 eval "DEFAULT_
$LINE"
6271 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6275 eval "$wx_cv_use_arcstream"
6276 if test "x$cache" = xyes
; then
6277 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6280 if test x
"$enablestring" = xdisable
; then
6281 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6287 result
=$wxUSE_ARCHIVE_STREAMS
6290 echo "$as_me:$LINENO: result: $result" >&5
6291 echo "${ECHO_T}$result" >&6
6295 defaultval
=$wxUSE_ALL_FEATURES
6296 if test -z "$defaultval"; then
6297 if test x
"$enablestring" = xdisable
; then
6304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6305 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6
6306 # Check whether --enable-base64 or --disable-base64 was given.
6307 if test "${enable_base64+set}" = set; then
6308 enableval
="$enable_base64"
6310 if test "$enableval" = yes; then
6311 wx_cv_use_base64
='wxUSE_BASE64=yes'
6313 wx_cv_use_base64
='wxUSE_BASE64=no'
6319 LINE
=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x
; then
6321 eval "DEFAULT_$LINE"
6327 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6331 eval "$wx_cv_use_base64"
6332 if test "x$cache" = xyes; then
6333 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6336 if test x"$enablestring" = xdisable; then
6337 if test $wxUSE_BASE64 = yes; then
6343 result=$wxUSE_BASE64
6346 echo "$as_me:$LINENO: result: $result" >&5
6347 echo "${ECHO_T}$result" >&6
6351 defaultval=$wxUSE_ALL_FEATURES
6352 if test -z "$defaultval"; then
6353 if test x"$enablestring" = xdisable; then
6360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6361 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
6362 # Check whether --enable-backtrace or --disable-backtrace was given.
6363 if test "${enable_backtrace+set}" = set; then
6364 enableval="$enable_backtrace"
6366 if test "$enableval" = yes; then
6367 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6369 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6375 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6376 if test "x$LINE" != x ; then
6377 eval "DEFAULT_$LINE"
6383 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6387 eval "$wx_cv_use_backtrace"
6388 if test "x
$cache" = xyes; then
6389 echo "wxUSE_STACKWALKER
=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
6392 if test x"$enablestring" = xdisable; then
6393 if test $wxUSE_STACKWALKER = yes; then
6399 result=$wxUSE_STACKWALKER
6402 echo "$as_me:$LINENO: result
: $result" >&5
6403 echo "${ECHO_T}$result" >&6
6407 defaultval=$wxUSE_ALL_FEATURES
6408 if test -z "$defaultval"; then
6409 if test x"$enablestring" = xdisable; then
6416 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6417 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6
6418 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
6419 if test "${enable_catch_segvs+set}" = set; then
6420 enableval="$enable_catch_segvs"
6422 if test "$enableval" = yes; then
6423 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6425 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6431 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION
=" ${wx_arg_cache_file}`
6432 if test "x
$LINE" != x ; then
6433 eval "DEFAULT_
$LINE"
6439 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6443 eval "$wx_cv_use_catch_segvs"
6444 if test "x$cache" = xyes
; then
6445 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
6448 if test x
"$enablestring" = xdisable
; then
6449 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6455 result
=$wxUSE_ON_FATAL_EXCEPTION
6458 echo "$as_me:$LINENO: result: $result" >&5
6459 echo "${ECHO_T}$result" >&6
6463 defaultval
=$wxUSE_ALL_FEATURES
6464 if test -z "$defaultval"; then
6465 if test x
"$enablestring" = xdisable
; then
6472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
6474 # Check whether --enable-cmdline or --disable-cmdline was given.
6475 if test "${enable_cmdline+set}" = set; then
6476 enableval
="$enable_cmdline"
6478 if test "$enableval" = yes; then
6479 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6481 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6487 LINE
=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6488 if test "x$LINE" != x
; then
6489 eval "DEFAULT_$LINE"
6495 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6499 eval "$wx_cv_use_cmdline"
6500 if test "x$cache" = xyes; then
6501 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
6504 if test x"$enablestring" = xdisable; then
6505 if test $wxUSE_CMDLINE_PARSER = yes; then
6511 result=$wxUSE_CMDLINE_PARSER
6514 echo "$as_me:$LINENO: result: $result" >&5
6515 echo "${ECHO_T}$result" >&6
6519 defaultval=$wxUSE_ALL_FEATURES
6520 if test -z "$defaultval"; then
6521 if test x"$enablestring" = xdisable; then
6528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6529 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
6530 # Check whether --enable-datetime or --disable-datetime was given.
6531 if test "${enable_datetime+set}" = set; then
6532 enableval="$enable_datetime"
6534 if test "$enableval" = yes; then
6535 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6537 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6543 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6544 if test "x$LINE" != x ; then
6545 eval "DEFAULT_$LINE"
6551 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6555 eval "$wx_cv_use_datetime"
6556 if test "x
$cache" = xyes; then
6557 echo "wxUSE_DATETIME
=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
6560 if test x"$enablestring" = xdisable; then
6561 if test $wxUSE_DATETIME = yes; then
6567 result=$wxUSE_DATETIME
6570 echo "$as_me:$LINENO: result
: $result" >&5
6571 echo "${ECHO_T}$result" >&6
6575 defaultval=$wxUSE_ALL_FEATURES
6576 if test -z "$defaultval"; then
6577 if test x"$enablestring" = xdisable; then
6584 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6585 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6
6586 # Check whether --enable-debugreport or --disable-debugreport was given.
6587 if test "${enable_debugreport+set}" = set; then
6588 enableval="$enable_debugreport"
6590 if test "$enableval" = yes; then
6591 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6593 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6599 LINE=`grep "^wxUSE_DEBUGREPORT
=" ${wx_arg_cache_file}`
6600 if test "x
$LINE" != x ; then
6601 eval "DEFAULT_
$LINE"
6607 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6611 eval "$wx_cv_use_debugreport"
6612 if test "x$cache" = xyes
; then
6613 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
6616 if test x
"$enablestring" = xdisable
; then
6617 if test $wxUSE_DEBUGREPORT = yes; then
6623 result
=$wxUSE_DEBUGREPORT
6626 echo "$as_me:$LINENO: result: $result" >&5
6627 echo "${ECHO_T}$result" >&6
6631 defaultval
=$wxUSE_ALL_FEATURES
6632 if test -z "$defaultval"; then
6633 if test x
"$enablestring" = xdisable
; then
6640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6641 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
6642 # Check whether --enable-dialupman or --disable-dialupman was given.
6643 if test "${enable_dialupman+set}" = set; then
6644 enableval
="$enable_dialupman"
6646 if test "$enableval" = yes; then
6647 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6649 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6655 LINE
=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6656 if test "x$LINE" != x
; then
6657 eval "DEFAULT_$LINE"
6663 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6667 eval "$wx_cv_use_dialupman"
6668 if test "x$cache" = xyes; then
6669 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
6672 if test x"$enablestring" = xdisable; then
6673 if test $wxUSE_DIALUP_MANAGER = yes; then
6679 result=$wxUSE_DIALUP_MANAGER
6682 echo "$as_me:$LINENO: result: $result" >&5
6683 echo "${ECHO_T}$result" >&6
6687 defaultval=$wxUSE_ALL_FEATURES
6688 if test -z "$defaultval"; then
6689 if test x"$enablestring" = xdisable; then
6696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6697 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
6698 # Check whether --enable-dynlib or --disable-dynlib was given.
6699 if test "${enable_dynlib+set}" = set; then
6700 enableval="$enable_dynlib"
6702 if test "$enableval" = yes; then
6703 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6705 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6711 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6712 if test "x$LINE" != x ; then
6713 eval "DEFAULT_$LINE"
6719 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6723 eval "$wx_cv_use_dynlib"
6724 if test "x
$cache" = xyes; then
6725 echo "wxUSE_DYNLIB_CLASS
=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
6728 if test x"$enablestring" = xdisable; then
6729 if test $wxUSE_DYNLIB_CLASS = yes; then
6735 result=$wxUSE_DYNLIB_CLASS
6738 echo "$as_me:$LINENO: result
: $result" >&5
6739 echo "${ECHO_T}$result" >&6
6743 defaultval=$wxUSE_ALL_FEATURES
6744 if test -z "$defaultval"; then
6745 if test x"$enablestring" = xdisable; then
6752 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6753 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6
6754 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
6755 if test "${enable_dynamicloader+set}" = set; then
6756 enableval="$enable_dynamicloader"
6758 if test "$enableval" = yes; then
6759 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6761 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6767 LINE=`grep "^wxUSE_DYNAMIC_LOADER
=" ${wx_arg_cache_file}`
6768 if test "x
$LINE" != x ; then
6769 eval "DEFAULT_
$LINE"
6775 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6779 eval "$wx_cv_use_dynamicloader"
6780 if test "x$cache" = xyes
; then
6781 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
6784 if test x
"$enablestring" = xdisable
; then
6785 if test $wxUSE_DYNAMIC_LOADER = yes; then
6791 result
=$wxUSE_DYNAMIC_LOADER
6794 echo "$as_me:$LINENO: result: $result" >&5
6795 echo "${ECHO_T}$result" >&6
6799 defaultval
=$wxUSE_ALL_FEATURES
6800 if test -z "$defaultval"; then
6801 if test x
"$enablestring" = xdisable
; then
6808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6809 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
6810 # Check whether --enable-exceptions or --disable-exceptions was given.
6811 if test "${enable_exceptions+set}" = set; then
6812 enableval
="$enable_exceptions"
6814 if test "$enableval" = yes; then
6815 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6817 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6823 LINE
=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
6824 if test "x$LINE" != x
; then
6825 eval "DEFAULT_$LINE"
6831 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6835 eval "$wx_cv_use_exceptions"
6836 if test "x$cache" = xyes; then
6837 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
6840 if test x"$enablestring" = xdisable; then
6841 if test $wxUSE_EXCEPTIONS = yes; then
6847 result=$wxUSE_EXCEPTIONS
6850 echo "$as_me:$LINENO: result: $result" >&5
6851 echo "${ECHO_T}$result" >&6
6855 defaultval=$wxUSE_ALL_FEATURES
6856 if test -z "$defaultval"; then
6857 if test x"$enablestring" = xdisable; then
6864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6865 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
6866 # Check whether --enable-ffile or --disable-ffile was given.
6867 if test "${enable_ffile+set}" = set; then
6868 enableval="$enable_ffile"
6870 if test "$enableval" = yes; then
6871 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6873 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6879 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
6880 if test "x$LINE" != x ; then
6881 eval "DEFAULT_$LINE"
6887 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6891 eval "$wx_cv_use_ffile"
6892 if test "x
$cache" = xyes; then
6893 echo "wxUSE_FFILE
=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
6896 if test x"$enablestring" = xdisable; then
6897 if test $wxUSE_FFILE = yes; then
6906 echo "$as_me:$LINENO: result
: $result" >&5
6907 echo "${ECHO_T}$result" >&6
6911 defaultval=$wxUSE_ALL_FEATURES
6912 if test -z "$defaultval"; then
6913 if test x"$enablestring" = xdisable; then
6920 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6921 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6
6922 # Check whether --enable-file or --disable-file was given.
6923 if test "${enable_file+set}" = set; then
6924 enableval="$enable_file"
6926 if test "$enableval" = yes; then
6927 wx_cv_use_file='wxUSE_FILE=yes'
6929 wx_cv_use_file='wxUSE_FILE=no'
6935 LINE=`grep "^wxUSE_FILE
=" ${wx_arg_cache_file}`
6936 if test "x
$LINE" != x ; then
6937 eval "DEFAULT_
$LINE"
6943 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6947 eval "$wx_cv_use_file"
6948 if test "x$cache" = xyes
; then
6949 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
6952 if test x
"$enablestring" = xdisable
; then
6953 if test $wxUSE_FILE = yes; then
6962 echo "$as_me:$LINENO: result: $result" >&5
6963 echo "${ECHO_T}$result" >&6
6967 defaultval
=$wxUSE_ALL_FEATURES
6968 if test -z "$defaultval"; then
6969 if test x
"$enablestring" = xdisable
; then
6976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6977 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
6978 # Check whether --enable-filesystem or --disable-filesystem was given.
6979 if test "${enable_filesystem+set}" = set; then
6980 enableval
="$enable_filesystem"
6982 if test "$enableval" = yes; then
6983 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6985 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6991 LINE
=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
6992 if test "x$LINE" != x
; then
6993 eval "DEFAULT_$LINE"
6999 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7003 eval "$wx_cv_use_filesystem"
7004 if test "x$cache" = xyes; then
7005 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7008 if test x"$enablestring" = xdisable; then
7009 if test $wxUSE_FILESYSTEM = yes; then
7015 result=$wxUSE_FILESYSTEM
7018 echo "$as_me:$LINENO: result: $result" >&5
7019 echo "${ECHO_T}$result" >&6
7023 defaultval=$wxUSE_ALL_FEATURES
7024 if test -z "$defaultval"; then
7025 if test x"$enablestring" = xdisable; then
7032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7033 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6
7034 # Check whether --enable-fontenum or --disable-fontenum was given.
7035 if test "${enable_fontenum+set}" = set; then
7036 enableval="$enable_fontenum"
7038 if test "$enableval" = yes; then
7039 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
7041 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
7047 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7048 if test "x$LINE" != x ; then
7049 eval "DEFAULT_$LINE"
7055 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7059 eval "$wx_cv_use_fontenum"
7060 if test "x
$cache" = xyes; then
7061 echo "wxUSE_FONTENUM
=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7064 if test x"$enablestring" = xdisable; then
7065 if test $wxUSE_FONTENUM = yes; then
7071 result=$wxUSE_FONTENUM
7074 echo "$as_me:$LINENO: result
: $result" >&5
7075 echo "${ECHO_T}$result" >&6
7079 defaultval=$wxUSE_ALL_FEATURES
7080 if test -z "$defaultval"; then
7081 if test x"$enablestring" = xdisable; then
7088 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
7089 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6
7090 # Check whether --enable-fontmap or --disable-fontmap was given.
7091 if test "${enable_fontmap+set}" = set; then
7092 enableval="$enable_fontmap"
7094 if test "$enableval" = yes; then
7095 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7097 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7103 LINE=`grep "^wxUSE_FONTMAP
=" ${wx_arg_cache_file}`
7104 if test "x
$LINE" != x ; then
7105 eval "DEFAULT_
$LINE"
7111 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7115 eval "$wx_cv_use_fontmap"
7116 if test "x$cache" = xyes
; then
7117 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7120 if test x
"$enablestring" = xdisable
; then
7121 if test $wxUSE_FONTMAP = yes; then
7127 result
=$wxUSE_FONTMAP
7130 echo "$as_me:$LINENO: result: $result" >&5
7131 echo "${ECHO_T}$result" >&6
7135 defaultval
=$wxUSE_ALL_FEATURES
7136 if test -z "$defaultval"; then
7137 if test x
"$enablestring" = xdisable
; then
7144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
7146 # Check whether --enable-fs_archive or --disable-fs_archive was given.
7147 if test "${enable_fs_archive+set}" = set; then
7148 enableval
="$enable_fs_archive"
7150 if test "$enableval" = yes; then
7151 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7153 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7159 LINE
=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x
; then
7161 eval "DEFAULT_$LINE"
7167 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7171 eval "$wx_cv_use_fs_archive"
7172 if test "x$cache" = xyes; then
7173 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7176 if test x"$enablestring" = xdisable; then
7177 if test $wxUSE_FS_ARCHIVE = yes; then
7183 result=$wxUSE_FS_ARCHIVE
7186 echo "$as_me:$LINENO: result: $result" >&5
7187 echo "${ECHO_T}$result" >&6
7191 defaultval=$wxUSE_ALL_FEATURES
7192 if test -z "$defaultval"; then
7193 if test x"$enablestring" = xdisable; then
7200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7201 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
7202 # Check whether --enable-fs_inet or --disable-fs_inet was given.
7203 if test "${enable_fs_inet+set}" = set; then
7204 enableval="$enable_fs_inet"
7206 if test "$enableval" = yes; then
7207 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7209 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7215 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7216 if test "x$LINE" != x ; then
7217 eval "DEFAULT_$LINE"
7223 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7227 eval "$wx_cv_use_fs_inet"
7228 if test "x
$cache" = xyes; then
7229 echo "wxUSE_FS_INET
=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7232 if test x"$enablestring" = xdisable; then
7233 if test $wxUSE_FS_INET = yes; then
7239 result=$wxUSE_FS_INET
7242 echo "$as_me:$LINENO: result
: $result" >&5
7243 echo "${ECHO_T}$result" >&6
7247 defaultval=$wxUSE_ALL_FEATURES
7248 if test -z "$defaultval"; then
7249 if test x"$enablestring" = xdisable; then
7256 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7257 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6
7258 # Check whether --enable-fs_zip or --disable-fs_zip was given.
7259 if test "${enable_fs_zip+set}" = set; then
7260 enableval="$enable_fs_zip"
7262 if test "$enableval" = yes; then
7263 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7265 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7271 LINE=`grep "^wxUSE_FS_ZIP
=" ${wx_arg_cache_file}`
7272 if test "x
$LINE" != x ; then
7273 eval "DEFAULT_
$LINE"
7279 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7283 eval "$wx_cv_use_fs_zip"
7284 if test "x$cache" = xyes
; then
7285 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7288 if test x
"$enablestring" = xdisable
; then
7289 if test $wxUSE_FS_ZIP = yes; then
7295 result
=$wxUSE_FS_ZIP
7298 echo "$as_me:$LINENO: result: $result" >&5
7299 echo "${ECHO_T}$result" >&6
7303 defaultval
=$wxUSE_ALL_FEATURES
7304 if test -z "$defaultval"; then
7305 if test x
"$enablestring" = xdisable
; then
7312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7313 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
7314 # Check whether --enable-geometry or --disable-geometry was given.
7315 if test "${enable_geometry+set}" = set; then
7316 enableval
="$enable_geometry"
7318 if test "$enableval" = yes; then
7319 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7321 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7327 LINE
=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7328 if test "x$LINE" != x
; then
7329 eval "DEFAULT_$LINE"
7335 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7339 eval "$wx_cv_use_geometry"
7340 if test "x$cache" = xyes; then
7341 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7344 if test x"$enablestring" = xdisable; then
7345 if test $wxUSE_GEOMETRY = yes; then
7351 result=$wxUSE_GEOMETRY
7354 echo "$as_me:$LINENO: result: $result" >&5
7355 echo "${ECHO_T}$result" >&6
7359 defaultval=$wxUSE_ALL_FEATURES
7360 if test -z "$defaultval"; then
7361 if test x"$enablestring" = xdisable; then
7368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7369 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
7370 # Check whether --enable-log or --disable-log was given.
7371 if test "${enable_log+set}" = set; then
7372 enableval="$enable_log"
7374 if test "$enableval" = yes; then
7375 wx_cv_use_log='wxUSE_LOG
=yes'
7377 wx_cv_use_log='wxUSE_LOG
=no
'
7383 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7384 if test "x$LINE" != x ; then
7385 eval "DEFAULT_$LINE"
7391 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7395 eval "$wx_cv_use_log"
7396 if test "x
$cache" = xyes; then
7397 echo "wxUSE_LOG
=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
7400 if test x"$enablestring" = xdisable; then
7401 if test $wxUSE_LOG = yes; then
7410 echo "$as_me:$LINENO: result
: $result" >&5
7411 echo "${ECHO_T}$result" >&6
7415 defaultval=$wxUSE_ALL_FEATURES
7416 if test -z "$defaultval"; then
7417 if test x"$enablestring" = xdisable; then
7424 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7425 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6
7426 # Check whether --enable-longlong or --disable-longlong was given.
7427 if test "${enable_longlong+set}" = set; then
7428 enableval="$enable_longlong"
7430 if test "$enableval" = yes; then
7431 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7433 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7439 LINE=`grep "^wxUSE_LONGLONG
=" ${wx_arg_cache_file}`
7440 if test "x
$LINE" != x ; then
7441 eval "DEFAULT_
$LINE"
7447 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7451 eval "$wx_cv_use_longlong"
7452 if test "x$cache" = xyes
; then
7453 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
7456 if test x
"$enablestring" = xdisable
; then
7457 if test $wxUSE_LONGLONG = yes; then
7463 result
=$wxUSE_LONGLONG
7466 echo "$as_me:$LINENO: result: $result" >&5
7467 echo "${ECHO_T}$result" >&6
7471 defaultval
=$wxUSE_ALL_FEATURES
7472 if test -z "$defaultval"; then
7473 if test x
"$enablestring" = xdisable
; then
7480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7481 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
7482 # Check whether --enable-mimetype or --disable-mimetype was given.
7483 if test "${enable_mimetype+set}" = set; then
7484 enableval
="$enable_mimetype"
7486 if test "$enableval" = yes; then
7487 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7489 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7495 LINE
=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7496 if test "x$LINE" != x
; then
7497 eval "DEFAULT_$LINE"
7503 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7507 eval "$wx_cv_use_mimetype"
7508 if test "x$cache" = xyes; then
7509 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
7512 if test x"$enablestring" = xdisable; then
7513 if test $wxUSE_MIMETYPE = yes; then
7519 result=$wxUSE_MIMETYPE
7522 echo "$as_me:$LINENO: result: $result" >&5
7523 echo "${ECHO_T}$result" >&6
7527 defaultval=$wxUSE_ALL_FEATURES
7528 if test -z "$defaultval"; then
7529 if test x"$enablestring" = xdisable; then
7536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7537 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
7538 # Check whether --enable-snglinst or --disable-snglinst was given.
7539 if test "${enable_snglinst+set}" = set; then
7540 enableval="$enable_snglinst"
7542 if test "$enableval" = yes; then
7543 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7545 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7551 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7552 if test "x$LINE" != x ; then
7553 eval "DEFAULT_$LINE"
7559 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7563 eval "$wx_cv_use_snglinst"
7564 if test "x
$cache" = xyes; then
7565 echo "wxUSE_SNGLINST_CHECKER
=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
7568 if test x"$enablestring" = xdisable; then
7569 if test $wxUSE_SNGLINST_CHECKER = yes; then
7575 result=$wxUSE_SNGLINST_CHECKER
7578 echo "$as_me:$LINENO: result
: $result" >&5
7579 echo "${ECHO_T}$result" >&6
7583 defaultval=$wxUSE_ALL_FEATURES
7584 if test -z "$defaultval"; then
7585 if test x"$enablestring" = xdisable; then
7592 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stdpaths" >&5
7593 echo $ECHO_N "checking
for --${enablestring:-enable}-stdpaths...
$ECHO_C" >&6
7594 # Check whether --enable-stdpaths or --disable-stdpaths was given.
7595 if test "${enable_stdpaths+set}" = set; then
7596 enableval="$enable_stdpaths"
7598 if test "$enableval" = yes; then
7599 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7601 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7607 LINE=`grep "^wxUSE_STDPATHS
=" ${wx_arg_cache_file}`
7608 if test "x
$LINE" != x ; then
7609 eval "DEFAULT_
$LINE"
7615 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7619 eval "$wx_cv_use_stdpaths"
7620 if test "x$cache" = xyes
; then
7621 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
7624 if test x
"$enablestring" = xdisable
; then
7625 if test $wxUSE_STDPATHS = yes; then
7631 result
=$wxUSE_STDPATHS
7634 echo "$as_me:$LINENO: result: $result" >&5
7635 echo "${ECHO_T}$result" >&6
7639 defaultval
=$wxUSE_ALL_FEATURES
7640 if test -z "$defaultval"; then
7641 if test x
"$enablestring" = xdisable
; then
7648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
7650 # Check whether --enable-stopwatch or --disable-stopwatch was given.
7651 if test "${enable_stopwatch+set}" = set; then
7652 enableval
="$enable_stopwatch"
7654 if test "$enableval" = yes; then
7655 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
7657 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
7663 LINE
=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7664 if test "x$LINE" != x
; then
7665 eval "DEFAULT_$LINE"
7671 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7675 eval "$wx_cv_use_stopwatch"
7676 if test "x$cache" = xyes; then
7677 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
7680 if test x"$enablestring" = xdisable; then
7681 if test $wxUSE_STOPWATCH = yes; then
7687 result=$wxUSE_STOPWATCH
7690 echo "$as_me:$LINENO: result: $result" >&5
7691 echo "${ECHO_T}$result" >&6
7695 defaultval=$wxUSE_ALL_FEATURES
7696 if test -z "$defaultval"; then
7697 if test x"$enablestring" = xdisable; then
7704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
7706 # Check whether --enable-streams or --disable-streams was given.
7707 if test "${enable_streams+set}" = set; then
7708 enableval="$enable_streams"
7710 if test "$enableval" = yes; then
7711 wx_cv_use_streams='wxUSE_STREAMS
=yes'
7713 wx_cv_use_streams='wxUSE_STREAMS
=no
'
7719 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7720 if test "x$LINE" != x ; then
7721 eval "DEFAULT_$LINE"
7727 wx_cv_use_streams='wxUSE_STREAMS
=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7731 eval "$wx_cv_use_streams"
7732 if test "x
$cache" = xyes; then
7733 echo "wxUSE_STREAMS
=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
7736 if test x"$enablestring" = xdisable; then
7737 if test $wxUSE_STREAMS = yes; then
7743 result=$wxUSE_STREAMS
7746 echo "$as_me:$LINENO: result
: $result" >&5
7747 echo "${ECHO_T}$result" >&6
7751 defaultval=$wxUSE_ALL_FEATURES
7752 if test -z "$defaultval"; then
7753 if test x"$enablestring" = xdisable; then
7760 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-system_options" >&5
7761 echo $ECHO_N "checking
for --${enablestring:-enable}-system_options...
$ECHO_C" >&6
7762 # Check whether --enable-system_options or --disable-system_options was given.
7763 if test "${enable_system_options+set}" = set; then
7764 enableval="$enable_system_options"
7766 if test "$enableval" = yes; then
7767 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7769 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7775 LINE=`grep "^wxUSE_SYSTEM_OPTIONS
=" ${wx_arg_cache_file}`
7776 if test "x
$LINE" != x ; then
7777 eval "DEFAULT_
$LINE"
7783 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7787 eval "$wx_cv_use_system_options"
7788 if test "x$cache" = xyes
; then
7789 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
7792 if test x
"$enablestring" = xdisable
; then
7793 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7799 result
=$wxUSE_SYSTEM_OPTIONS
7802 echo "$as_me:$LINENO: result: $result" >&5
7803 echo "${ECHO_T}$result" >&6
7807 defaultval
=$wxUSE_ALL_FEATURES
7808 if test -z "$defaultval"; then
7809 if test x
"$enablestring" = xdisable
; then
7816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7817 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
7818 # Check whether --enable-tarstream or --disable-tarstream was given.
7819 if test "${enable_tarstream+set}" = set; then
7820 enableval
="$enable_tarstream"
7822 if test "$enableval" = yes; then
7823 wx_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
7825 wx_cv_use_tarstream
='wxUSE_TARSTREAM=no'
7831 LINE
=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
7832 if test "x$LINE" != x
; then
7833 eval "DEFAULT_$LINE"
7839 wx_cv_use_tarstream
='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7843 eval "$wx_cv_use_tarstream"
7844 if test "x$cache" = xyes; then
7845 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
7848 if test x"$enablestring" = xdisable; then
7849 if test $wxUSE_TARSTREAM = yes; then
7855 result=$wxUSE_TARSTREAM
7858 echo "$as_me:$LINENO: result: $result" >&5
7859 echo "${ECHO_T}$result" >&6
7863 defaultval=$wxUSE_ALL_FEATURES
7864 if test -z "$defaultval"; then
7865 if test x"$enablestring" = xdisable; then
7872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
7874 # Check whether --enable-textbuf or --disable-textbuf was given.
7875 if test "${enable_textbuf+set}" = set; then
7876 enableval="$enable_textbuf"
7878 if test "$enableval" = yes; then
7879 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
7881 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
7887 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
7888 if test "x$LINE" != x ; then
7889 eval "DEFAULT_$LINE"
7895 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7899 eval "$wx_cv_use_textbuf"
7900 if test "x
$cache" = xyes; then
7901 echo "wxUSE_TEXTBUFFER
=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
7904 if test x"$enablestring" = xdisable; then
7905 if test $wxUSE_TEXTBUFFER = yes; then
7911 result=$wxUSE_TEXTBUFFER
7914 echo "$as_me:$LINENO: result
: $result" >&5
7915 echo "${ECHO_T}$result" >&6
7919 defaultval=$wxUSE_ALL_FEATURES
7920 if test -z "$defaultval"; then
7921 if test x"$enablestring" = xdisable; then
7928 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textfile" >&5
7929 echo $ECHO_N "checking
for --${enablestring:-enable}-textfile...
$ECHO_C" >&6
7930 # Check whether --enable-textfile or --disable-textfile was given.
7931 if test "${enable_textfile+set}" = set; then
7932 enableval="$enable_textfile"
7934 if test "$enableval" = yes; then
7935 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7937 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7943 LINE=`grep "^wxUSE_TEXTFILE
=" ${wx_arg_cache_file}`
7944 if test "x
$LINE" != x ; then
7945 eval "DEFAULT_
$LINE"
7951 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7955 eval "$wx_cv_use_textfile"
7956 if test "x$cache" = xyes
; then
7957 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
7960 if test x
"$enablestring" = xdisable
; then
7961 if test $wxUSE_TEXTFILE = yes; then
7967 result
=$wxUSE_TEXTFILE
7970 echo "$as_me:$LINENO: result: $result" >&5
7971 echo "${ECHO_T}$result" >&6
7975 defaultval
=$wxUSE_ALL_FEATURES
7976 if test -z "$defaultval"; then
7977 if test x
"$enablestring" = xdisable
; then
7984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7985 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
7986 # Check whether --enable-timer or --disable-timer was given.
7987 if test "${enable_timer+set}" = set; then
7988 enableval
="$enable_timer"
7990 if test "$enableval" = yes; then
7991 wx_cv_use_timer
='wxUSE_TIMER=yes'
7993 wx_cv_use_timer
='wxUSE_TIMER=no'
7999 LINE
=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8000 if test "x$LINE" != x
; then
8001 eval "DEFAULT_$LINE"
8007 wx_cv_use_timer
='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8011 eval "$wx_cv_use_timer"
8012 if test "x$cache" = xyes; then
8013 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8016 if test x"$enablestring" = xdisable; then
8017 if test $wxUSE_TIMER = yes; then
8026 echo "$as_me:$LINENO: result: $result" >&5
8027 echo "${ECHO_T}$result" >&6
8031 defaultval=$wxUSE_ALL_FEATURES
8032 if test -z "$defaultval"; then
8033 if test x"$enablestring" = xdisable; then
8040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
8042 # Check whether --enable-sound or --disable-sound was given.
8043 if test "${enable_sound+set}" = set; then
8044 enableval="$enable_sound"
8046 if test "$enableval" = yes; then
8047 wx_cv_use_sound='wxUSE_SOUND
=yes'
8049 wx_cv_use_sound='wxUSE_SOUND
=no
'
8055 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x ; then
8057 eval "DEFAULT_$LINE"
8063 wx_cv_use_sound='wxUSE_SOUND
=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8067 eval "$wx_cv_use_sound"
8068 if test "x
$cache" = xyes; then
8069 echo "wxUSE_SOUND
=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8072 if test x"$enablestring" = xdisable; then
8073 if test $wxUSE_SOUND = yes; then
8082 echo "$as_me:$LINENO: result
: $result" >&5
8083 echo "${ECHO_T}$result" >&6
8087 defaultval=$wxUSE_ALL_FEATURES
8088 if test -z "$defaultval"; then
8089 if test x"$enablestring" = xdisable; then
8096 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
8097 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6
8098 # Check whether --enable-mediactrl or --disable-mediactrl was given.
8099 if test "${enable_mediactrl+set}" = set; then
8100 enableval="$enable_mediactrl"
8102 if test "$enableval" = yes; then
8103 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8105 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8111 LINE=`grep "^wxUSE_MEDIACTRL
=" ${wx_arg_cache_file}`
8112 if test "x
$LINE" != x ; then
8113 eval "DEFAULT_
$LINE"
8119 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8123 eval "$wx_cv_use_mediactrl"
8124 if test "x$cache" = xyes
; then
8125 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8128 if test x
"$enablestring" = xdisable
; then
8129 if test $wxUSE_MEDIACTRL = yes; then
8135 result
=$wxUSE_MEDIACTRL
8138 echo "$as_me:$LINENO: result: $result" >&5
8139 echo "${ECHO_T}$result" >&6
8143 defaultval
=$wxUSE_ALL_FEATURES
8144 if test -z "$defaultval"; then
8145 if test x
"$enablestring" = xdisable
; then
8152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
8154 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
8155 if test "${enable_gstreamer8+set}" = set; then
8156 enableval
="$enable_gstreamer8"
8158 if test "$enableval" = yes; then
8159 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
8161 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
8167 LINE
=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8168 if test "x$LINE" != x
; then
8169 eval "DEFAULT_$LINE"
8175 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8179 eval "$wx_cv_use_gstreamer8"
8180 if test "x$cache" = xyes; then
8181 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8184 if test x"$enablestring" = xdisable; then
8185 if test $wxUSE_GSTREAMER8 = yes; then
8191 result=$wxUSE_GSTREAMER8
8194 echo "$as_me:$LINENO: result: $result" >&5
8195 echo "${ECHO_T}$result" >&6
8199 defaultval=$wxUSE_ALL_FEATURES
8200 if test -z "$defaultval"; then
8201 if test x"$enablestring" = xdisable; then
8208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8209 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
8210 # Check whether --enable-printfposparam or --disable-printfposparam was given.
8211 if test "${enable_printfposparam+set}" = set; then
8212 enableval="$enable_printfposparam"
8214 if test "$enableval" = yes; then
8215 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
8217 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
8223 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8224 if test "x$LINE" != x ; then
8225 eval "DEFAULT_$LINE"
8231 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8235 eval "$wx_cv_use_printfposparam"
8236 if test "x
$cache" = xyes; then
8237 echo "wxUSE_PRINTF_POS_PARAMS
=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8240 if test x"$enablestring" = xdisable; then
8241 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8247 result=$wxUSE_PRINTF_POS_PARAMS
8250 echo "$as_me:$LINENO: result
: $result" >&5
8251 echo "${ECHO_T}$result" >&6
8255 defaultval=$wxUSE_ALL_FEATURES
8256 if test -z "$defaultval"; then
8257 if test x"$enablestring" = xdisable; then
8264 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-zipstream" >&5
8265 echo $ECHO_N "checking
for --${enablestring:-enable}-zipstream...
$ECHO_C" >&6
8266 # Check whether --enable-zipstream or --disable-zipstream was given.
8267 if test "${enable_zipstream+set}" = set; then
8268 enableval="$enable_zipstream"
8270 if test "$enableval" = yes; then
8271 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8273 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8279 LINE=`grep "^wxUSE_ZIPSTREAM
=" ${wx_arg_cache_file}`
8280 if test "x
$LINE" != x ; then
8281 eval "DEFAULT_
$LINE"
8287 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8291 eval "$wx_cv_use_zipstream"
8292 if test "x$cache" = xyes
; then
8293 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8296 if test x
"$enablestring" = xdisable
; then
8297 if test $wxUSE_ZIPSTREAM = yes; then
8303 result
=$wxUSE_ZIPSTREAM
8306 echo "$as_me:$LINENO: result: $result" >&5
8307 echo "${ECHO_T}$result" >&6
8312 defaultval
=$wxUSE_ALL_FEATURES
8313 if test -z "$defaultval"; then
8314 if test x
"$enablestring" = xdisable
; then
8321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8322 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
8323 # Check whether --enable-url or --disable-url was given.
8324 if test "${enable_url+set}" = set; then
8325 enableval
="$enable_url"
8327 if test "$enableval" = yes; then
8328 wx_cv_use_url
='wxUSE_URL=yes'
8330 wx_cv_use_url
='wxUSE_URL=no'
8336 LINE
=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8337 if test "x$LINE" != x
; then
8338 eval "DEFAULT_$LINE"
8344 wx_cv_use_url
='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8348 eval "$wx_cv_use_url"
8349 if test "x$cache" = xyes; then
8350 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8353 if test x"$enablestring" = xdisable; then
8354 if test $wxUSE_URL = yes; then
8363 echo "$as_me:$LINENO: result: $result" >&5
8364 echo "${ECHO_T}$result" >&6
8368 defaultval=$wxUSE_ALL_FEATURES
8369 if test -z "$defaultval"; then
8370 if test x"$enablestring" = xdisable; then
8377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8378 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
8379 # Check whether --enable-variant or --disable-variant was given.
8380 if test "${enable_variant+set}" = set; then
8381 enableval="$enable_variant"
8383 if test "$enableval" = yes; then
8384 wx_cv_use_variant='wxUSE_VARIANT
=yes'
8386 wx_cv_use_variant='wxUSE_VARIANT
=no
'
8392 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8393 if test "x$LINE" != x ; then
8394 eval "DEFAULT_$LINE"
8400 wx_cv_use_variant='wxUSE_VARIANT
=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8404 eval "$wx_cv_use_variant"
8405 if test "x
$cache" = xyes; then
8406 echo "wxUSE_VARIANT
=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
8409 if test x"$enablestring" = xdisable; then
8410 if test $wxUSE_VARIANT = yes; then
8416 result=$wxUSE_VARIANT
8419 echo "$as_me:$LINENO: result
: $result" >&5
8420 echo "${ECHO_T}$result" >&6
8424 defaultval=$wxUSE_ALL_FEATURES
8425 if test -z "$defaultval"; then
8426 if test x"$enablestring" = xdisable; then
8433 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
8434 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6
8435 # Check whether --enable-protocol or --disable-protocol was given.
8436 if test "${enable_protocol+set}" = set; then
8437 enableval="$enable_protocol"
8439 if test "$enableval" = yes; then
8440 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8442 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8448 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
8449 if test "x
$LINE" != x ; then
8450 eval "DEFAULT_
$LINE"
8456 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8460 eval "$wx_cv_use_protocol"
8461 if test "x$cache" = xyes
; then
8462 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
8465 if test x
"$enablestring" = xdisable
; then
8466 if test $wxUSE_PROTOCOL = yes; then
8472 result
=$wxUSE_PROTOCOL
8475 echo "$as_me:$LINENO: result: $result" >&5
8476 echo "${ECHO_T}$result" >&6
8480 defaultval
=$wxUSE_ALL_FEATURES
8481 if test -z "$defaultval"; then
8482 if test x
"$enablestring" = xdisable
; then
8489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
8491 # Check whether --enable-protocol_http or --disable-protocol_http was given.
8492 if test "${enable_protocol_http+set}" = set; then
8493 enableval
="$enable_protocol_http"
8495 if test "$enableval" = yes; then
8496 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8498 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8504 LINE
=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8505 if test "x$LINE" != x
; then
8506 eval "DEFAULT_$LINE"
8512 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8516 eval "$wx_cv_use_protocol_http"
8517 if test "x$cache" = xyes; then
8518 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
8521 if test x"$enablestring" = xdisable; then
8522 if test $wxUSE_PROTOCOL_HTTP = yes; then
8528 result=$wxUSE_PROTOCOL_HTTP
8531 echo "$as_me:$LINENO: result: $result" >&5
8532 echo "${ECHO_T}$result" >&6
8536 defaultval=$wxUSE_ALL_FEATURES
8537 if test -z "$defaultval"; then
8538 if test x"$enablestring" = xdisable; then
8545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8546 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
8547 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
8548 if test "${enable_protocol_ftp+set}" = set; then
8549 enableval="$enable_protocol_ftp"
8551 if test "$enableval" = yes; then
8552 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8554 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8560 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8561 if test "x$LINE" != x ; then
8562 eval "DEFAULT_$LINE"
8568 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8572 eval "$wx_cv_use_protocol_ftp"
8573 if test "x
$cache" = xyes; then
8574 echo "wxUSE_PROTOCOL_FTP
=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
8577 if test x"$enablestring" = xdisable; then
8578 if test $wxUSE_PROTOCOL_FTP = yes; then
8584 result=$wxUSE_PROTOCOL_FTP
8587 echo "$as_me:$LINENO: result
: $result" >&5
8588 echo "${ECHO_T}$result" >&6
8592 defaultval=$wxUSE_ALL_FEATURES
8593 if test -z "$defaultval"; then
8594 if test x"$enablestring" = xdisable; then
8601 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
8602 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6
8603 # Check whether --enable-protocol_file or --disable-protocol_file was given.
8604 if test "${enable_protocol_file+set}" = set; then
8605 enableval="$enable_protocol_file"
8607 if test "$enableval" = yes; then
8608 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8610 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8616 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
8617 if test "x
$LINE" != x ; then
8618 eval "DEFAULT_
$LINE"
8624 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8628 eval "$wx_cv_use_protocol_file"
8629 if test "x$cache" = xyes
; then
8630 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
8633 if test x
"$enablestring" = xdisable
; then
8634 if test $wxUSE_PROTOCOL_FILE = yes; then
8640 result
=$wxUSE_PROTOCOL_FILE
8643 echo "$as_me:$LINENO: result: $result" >&5
8644 echo "${ECHO_T}$result" >&6
8649 defaultval
=$wxUSE_ALL_FEATURES
8650 if test -z "$defaultval"; then
8651 if test x
"$enablestring" = xdisable
; then
8658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8659 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
8660 # Check whether --enable-threads or --disable-threads was given.
8661 if test "${enable_threads+set}" = set; then
8662 enableval
="$enable_threads"
8664 if test "$enableval" = yes; then
8665 wx_cv_use_threads
='wxUSE_THREADS=yes'
8667 wx_cv_use_threads
='wxUSE_THREADS=no'
8673 LINE
=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8674 if test "x$LINE" != x
; then
8675 eval "DEFAULT_$LINE"
8681 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8685 eval "$wx_cv_use_threads"
8686 if test "x$cache" = xyes; then
8687 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
8690 if test x"$enablestring" = xdisable; then
8691 if test $wxUSE_THREADS = yes; then
8697 result=$wxUSE_THREADS
8700 echo "$as_me:$LINENO: result: $result" >&5
8701 echo "${ECHO_T}$result" >&6
8707 if test -z "$defaultval"; then
8708 if test x"$enablestring" = xdisable; then
8715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6
8717 # Check whether --enable-iniconf or --disable-iniconf was given.
8718 if test "${enable_iniconf+set}" = set; then
8719 enableval="$enable_iniconf"
8721 if test "$enableval" = yes; then
8722 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8724 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8730 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
8731 if test "x$LINE" != x ; then
8732 eval "DEFAULT_$LINE"
8738 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8742 eval "$wx_cv_use_iniconf"
8743 if test "x
$cache" = xyes; then
8744 echo "wxUSE_INICONF
=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
8747 if test x"$enablestring" = xdisable; then
8748 if test $wxUSE_INICONF = yes; then
8754 result=$wxUSE_INICONF
8757 echo "$as_me:$LINENO: result
: $result" >&5
8758 echo "${ECHO_T}$result" >&6
8762 defaultval=$wxUSE_ALL_FEATURES
8763 if test -z "$defaultval"; then
8764 if test x"$enablestring" = xdisable; then
8771 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8772 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6
8773 # Check whether --enable-regkey or --disable-regkey was given.
8774 if test "${enable_regkey+set}" = set; then
8775 enableval="$enable_regkey"
8777 if test "$enableval" = yes; then
8778 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8780 wx_cv_use_regkey='wxUSE_REGKEY=no'
8786 LINE=`grep "^wxUSE_REGKEY
=" ${wx_arg_cache_file}`
8787 if test "x
$LINE" != x ; then
8788 eval "DEFAULT_
$LINE"
8794 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8798 eval "$wx_cv_use_regkey"
8799 if test "x$cache" = xyes
; then
8800 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
8803 if test x
"$enablestring" = xdisable
; then
8804 if test $wxUSE_REGKEY = yes; then
8810 result
=$wxUSE_REGKEY
8813 echo "$as_me:$LINENO: result: $result" >&5
8814 echo "${ECHO_T}$result" >&6
8817 if test "$wxUSE_GUI" = "yes"; then
8822 defaultval
=$wxUSE_ALL_FEATURES
8823 if test -z "$defaultval"; then
8824 if test x
"$enablestring" = xdisable
; then
8831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8832 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
8833 # Check whether --enable-docview or --disable-docview was given.
8834 if test "${enable_docview+set}" = set; then
8835 enableval
="$enable_docview"
8837 if test "$enableval" = yes; then
8838 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8840 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8846 LINE
=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
8847 if test "x$LINE" != x
; then
8848 eval "DEFAULT_$LINE"
8854 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8858 eval "$wx_cv_use_docview"
8859 if test "x$cache" = xyes; then
8860 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
8863 if test x"$enablestring" = xdisable; then
8864 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8870 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8873 echo "$as_me:$LINENO: result: $result" >&5
8874 echo "${ECHO_T}$result" >&6
8878 defaultval=$wxUSE_ALL_FEATURES
8879 if test -z "$defaultval"; then
8880 if test x"$enablestring" = xdisable; then
8887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8888 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
8889 # Check whether --enable-help or --disable-help was given.
8890 if test "${enable_help+set}" = set; then
8891 enableval="$enable_help"
8893 if test "$enableval" = yes; then
8894 wx_cv_use_help='wxUSE_HELP
=yes'
8896 wx_cv_use_help='wxUSE_HELP
=no
'
8902 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
8903 if test "x$LINE" != x ; then
8904 eval "DEFAULT_$LINE"
8910 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8914 eval "$wx_cv_use_help"
8915 if test "x
$cache" = xyes; then
8916 echo "wxUSE_HELP
=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
8919 if test x"$enablestring" = xdisable; then
8920 if test $wxUSE_HELP = yes; then
8929 echo "$as_me:$LINENO: result
: $result" >&5
8930 echo "${ECHO_T}$result" >&6
8934 defaultval=$wxUSE_ALL_FEATURES
8935 if test -z "$defaultval"; then
8936 if test x"$enablestring" = xdisable; then
8943 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8944 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6
8945 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
8946 if test "${enable_mshtmlhelp+set}" = set; then
8947 enableval="$enable_mshtmlhelp"
8949 if test "$enableval" = yes; then
8950 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8952 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8958 LINE=`grep "^wxUSE_MS_HTML_HELP
=" ${wx_arg_cache_file}`
8959 if test "x
$LINE" != x ; then
8960 eval "DEFAULT_
$LINE"
8966 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8970 eval "$wx_cv_use_mshtmlhelp"
8971 if test "x$cache" = xyes
; then
8972 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
8975 if test x
"$enablestring" = xdisable
; then
8976 if test $wxUSE_MS_HTML_HELP = yes; then
8982 result
=$wxUSE_MS_HTML_HELP
8985 echo "$as_me:$LINENO: result: $result" >&5
8986 echo "${ECHO_T}$result" >&6
8990 defaultval
=$wxUSE_ALL_FEATURES
8991 if test -z "$defaultval"; then
8992 if test x
"$enablestring" = xdisable
; then
8999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9000 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
9001 # Check whether --enable-html or --disable-html was given.
9002 if test "${enable_html+set}" = set; then
9003 enableval
="$enable_html"
9005 if test "$enableval" = yes; then
9006 wx_cv_use_html
='wxUSE_HTML=yes'
9008 wx_cv_use_html
='wxUSE_HTML=no'
9014 LINE
=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9015 if test "x$LINE" != x
; then
9016 eval "DEFAULT_$LINE"
9022 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9026 eval "$wx_cv_use_html"
9027 if test "x$cache" = xyes; then
9028 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9031 if test x"$enablestring" = xdisable; then
9032 if test $wxUSE_HTML = yes; then
9041 echo "$as_me:$LINENO: result: $result" >&5
9042 echo "${ECHO_T}$result" >&6
9046 defaultval=$wxUSE_ALL_FEATURES
9047 if test -z "$defaultval"; then
9048 if test x"$enablestring" = xdisable; then
9055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9056 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
9057 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
9058 if test "${enable_htmlhelp+set}" = set; then
9059 enableval="$enable_htmlhelp"
9061 if test "$enableval" = yes; then
9062 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
9064 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
9070 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9071 if test "x$LINE" != x ; then
9072 eval "DEFAULT_$LINE"
9078 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9082 eval "$wx_cv_use_htmlhelp"
9083 if test "x
$cache" = xyes; then
9084 echo "wxUSE_WXHTML_HELP
=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9087 if test x"$enablestring" = xdisable; then
9088 if test $wxUSE_WXHTML_HELP = yes; then
9094 result=$wxUSE_WXHTML_HELP
9097 echo "$as_me:$LINENO: result
: $result" >&5
9098 echo "${ECHO_T}$result" >&6
9102 defaultval=$wxUSE_ALL_FEATURES
9103 if test -z "$defaultval"; then
9104 if test x"$enablestring" = xdisable; then
9111 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
9112 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6
9113 # Check whether --enable-xrc or --disable-xrc was given.
9114 if test "${enable_xrc+set}" = set; then
9115 enableval="$enable_xrc"
9117 if test "$enableval" = yes; then
9118 wx_cv_use_xrc='wxUSE_XRC=yes'
9120 wx_cv_use_xrc='wxUSE_XRC=no'
9126 LINE=`grep "^wxUSE_XRC
=" ${wx_arg_cache_file}`
9127 if test "x
$LINE" != x ; then
9128 eval "DEFAULT_
$LINE"
9134 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9138 eval "$wx_cv_use_xrc"
9139 if test "x$cache" = xyes
; then
9140 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9143 if test x
"$enablestring" = xdisable
; then
9144 if test $wxUSE_XRC = yes; then
9153 echo "$as_me:$LINENO: result: $result" >&5
9154 echo "${ECHO_T}$result" >&6
9158 defaultval
=$wxUSE_ALL_FEATURES
9159 if test -z "$defaultval"; then
9160 if test x
"$enablestring" = xdisable
; then
9167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
9169 # Check whether --enable-aui or --disable-aui was given.
9170 if test "${enable_aui+set}" = set; then
9171 enableval
="$enable_aui"
9173 if test "$enableval" = yes; then
9174 wx_cv_use_aui
='wxUSE_AUI=yes'
9176 wx_cv_use_aui
='wxUSE_AUI=no'
9182 LINE
=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9183 if test "x$LINE" != x
; then
9184 eval "DEFAULT_$LINE"
9190 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9194 eval "$wx_cv_use_aui"
9195 if test "x$cache" = xyes; then
9196 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9199 if test x"$enablestring" = xdisable; then
9200 if test $wxUSE_AUI = yes; then
9209 echo "$as_me:$LINENO: result: $result" >&5
9210 echo "${ECHO_T}$result" >&6
9214 defaultval=$wxUSE_ALL_FEATURES
9215 if test -z "$defaultval"; then
9216 if test x"$enablestring" = xdisable; then
9223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9224 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6
9225 # Check whether --enable-stc or --disable-stc was given.
9226 if test "${enable_stc+set}" = set; then
9227 enableval="$enable_stc"
9229 if test "$enableval" = yes; then
9230 wx_cv_use_stc='wxUSE_STC
=yes'
9232 wx_cv_use_stc='wxUSE_STC
=no
'
9238 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9239 if test "x$LINE" != x ; then
9240 eval "DEFAULT_$LINE"
9246 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
9250 eval "$wx_cv_use_stc"
9251 if test "x
$cache" = xyes; then
9252 echo "wxUSE_STC
=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9255 if test x"$enablestring" = xdisable; then
9256 if test $wxUSE_STC = yes; then
9265 echo "$as_me:$LINENO: result
: $result" >&5
9266 echo "${ECHO_T}$result" >&6
9270 defaultval=$wxUSE_ALL_FEATURES
9271 if test -z "$defaultval"; then
9272 if test x"$enablestring" = xdisable; then
9279 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
9280 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6
9281 # Check whether --enable-constraints or --disable-constraints was given.
9282 if test "${enable_constraints+set}" = set; then
9283 enableval="$enable_constraints"
9285 if test "$enableval" = yes; then
9286 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9288 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9294 LINE=`grep "^wxUSE_CONSTRAINTS
=" ${wx_arg_cache_file}`
9295 if test "x
$LINE" != x ; then
9296 eval "DEFAULT_
$LINE"
9302 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9306 eval "$wx_cv_use_constraints"
9307 if test "x$cache" = xyes
; then
9308 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9311 if test x
"$enablestring" = xdisable
; then
9312 if test $wxUSE_CONSTRAINTS = yes; then
9318 result
=$wxUSE_CONSTRAINTS
9321 echo "$as_me:$LINENO: result: $result" >&5
9322 echo "${ECHO_T}$result" >&6
9326 defaultval
=$wxUSE_ALL_FEATURES
9327 if test -z "$defaultval"; then
9328 if test x
"$enablestring" = xdisable
; then
9335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9336 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
9337 # Check whether --enable-printarch or --disable-printarch was given.
9338 if test "${enable_printarch+set}" = set; then
9339 enableval
="$enable_printarch"
9341 if test "$enableval" = yes; then
9342 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
9344 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
9350 LINE
=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9351 if test "x$LINE" != x
; then
9352 eval "DEFAULT_$LINE"
9358 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9362 eval "$wx_cv_use_printarch"
9363 if test "x$cache" = xyes; then
9364 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9367 if test x"$enablestring" = xdisable; then
9368 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9374 result=$wxUSE_PRINTING_ARCHITECTURE
9377 echo "$as_me:$LINENO: result: $result" >&5
9378 echo "${ECHO_T}$result" >&6
9382 defaultval=$wxUSE_ALL_FEATURES
9383 if test -z "$defaultval"; then
9384 if test x"$enablestring" = xdisable; then
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
9393 # Check whether --enable-mdi or --disable-mdi was given.
9394 if test "${enable_mdi+set}" = set; then
9395 enableval="$enable_mdi"
9397 if test "$enableval" = yes; then
9398 wx_cv_use_mdi='wxUSE_MDI
=yes'
9400 wx_cv_use_mdi='wxUSE_MDI
=no
'
9406 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x ; then
9408 eval "DEFAULT_$LINE"
9414 wx_cv_use_mdi='wxUSE_MDI
=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9418 eval "$wx_cv_use_mdi"
9419 if test "x
$cache" = xyes; then
9420 echo "wxUSE_MDI
=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9423 if test x"$enablestring" = xdisable; then
9424 if test $wxUSE_MDI = yes; then
9433 echo "$as_me:$LINENO: result
: $result" >&5
9434 echo "${ECHO_T}$result" >&6
9438 defaultval=$wxUSE_ALL_FEATURES
9439 if test -z "$defaultval"; then
9440 if test x"$enablestring" = xdisable; then
9447 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdidoc" >&5
9448 echo $ECHO_N "checking
for --${enablestring:-enable}-mdidoc...
$ECHO_C" >&6
9449 # Check whether --enable-mdidoc or --disable-mdidoc was given.
9450 if test "${enable_mdidoc+set}" = set; then
9451 enableval="$enable_mdidoc"
9453 if test "$enableval" = yes; then
9454 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9456 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9462 LINE=`grep "^wxUSE_MDI_ARCHITECTURE
=" ${wx_arg_cache_file}`
9463 if test "x
$LINE" != x ; then
9464 eval "DEFAULT_
$LINE"
9470 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9474 eval "$wx_cv_use_mdidoc"
9475 if test "x$cache" = xyes
; then
9476 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9479 if test x
"$enablestring" = xdisable
; then
9480 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9486 result
=$wxUSE_MDI_ARCHITECTURE
9489 echo "$as_me:$LINENO: result: $result" >&5
9490 echo "${ECHO_T}$result" >&6
9494 defaultval
=$wxUSE_ALL_FEATURES
9495 if test -z "$defaultval"; then
9496 if test x
"$enablestring" = xdisable
; then
9503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9504 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
9505 # Check whether --enable-loggui or --disable-loggui was given.
9506 if test "${enable_loggui+set}" = set; then
9507 enableval
="$enable_loggui"
9509 if test "$enableval" = yes; then
9510 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
9512 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
9518 LINE
=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9519 if test "x$LINE" != x
; then
9520 eval "DEFAULT_$LINE"
9526 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9530 eval "$wx_cv_use_loggui"
9531 if test "x$cache" = xyes; then
9532 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
9535 if test x"$enablestring" = xdisable; then
9536 if test $wxUSE_LOGGUI = yes; then
9542 result=$wxUSE_LOGGUI
9545 echo "$as_me:$LINENO: result: $result" >&5
9546 echo "${ECHO_T}$result" >&6
9550 defaultval=$wxUSE_ALL_FEATURES
9551 if test -z "$defaultval"; then
9552 if test x"$enablestring" = xdisable; then
9559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9560 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
9561 # Check whether --enable-logwin or --disable-logwin was given.
9562 if test "${enable_logwin+set}" = set; then
9563 enableval="$enable_logwin"
9565 if test "$enableval" = yes; then
9566 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
9568 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
9574 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9575 if test "x$LINE" != x ; then
9576 eval "DEFAULT_$LINE"
9582 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9586 eval "$wx_cv_use_logwin"
9587 if test "x
$cache" = xyes; then
9588 echo "wxUSE_LOGWINDOW
=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
9591 if test x"$enablestring" = xdisable; then
9592 if test $wxUSE_LOGWINDOW = yes; then
9598 result=$wxUSE_LOGWINDOW
9601 echo "$as_me:$LINENO: result
: $result" >&5
9602 echo "${ECHO_T}$result" >&6
9606 defaultval=$wxUSE_ALL_FEATURES
9607 if test -z "$defaultval"; then
9608 if test x"$enablestring" = xdisable; then
9615 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
9616 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6
9617 # Check whether --enable-logdialog or --disable-logdialog was given.
9618 if test "${enable_logdialog+set}" = set; then
9619 enableval="$enable_logdialog"
9621 if test "$enableval" = yes; then
9622 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9624 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9630 LINE=`grep "^wxUSE_LOGDIALOG
=" ${wx_arg_cache_file}`
9631 if test "x
$LINE" != x ; then
9632 eval "DEFAULT_
$LINE"
9638 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9642 eval "$wx_cv_use_logdialog"
9643 if test "x$cache" = xyes
; then
9644 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
9647 if test x
"$enablestring" = xdisable
; then
9648 if test $wxUSE_LOGDIALOG = yes; then
9654 result
=$wxUSE_LOGDIALOG
9657 echo "$as_me:$LINENO: result: $result" >&5
9658 echo "${ECHO_T}$result" >&6
9662 defaultval
=$wxUSE_ALL_FEATURES
9663 if test -z "$defaultval"; then
9664 if test x
"$enablestring" = xdisable
; then
9671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9672 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
9673 # Check whether --enable-webkit or --disable-webkit was given.
9674 if test "${enable_webkit+set}" = set; then
9675 enableval
="$enable_webkit"
9677 if test "$enableval" = yes; then
9678 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9680 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9686 LINE
=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9687 if test "x$LINE" != x
; then
9688 eval "DEFAULT_$LINE"
9694 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9698 eval "$wx_cv_use_webkit"
9699 if test "x$cache" = xyes; then
9700 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
9703 if test x"$enablestring" = xdisable; then
9704 if test $wxUSE_WEBKIT = yes; then
9710 result=$wxUSE_WEBKIT
9713 echo "$as_me:$LINENO: result: $result" >&5
9714 echo "${ECHO_T}$result" >&6
9718 defaultval=$wxUSE_ALL_FEATURES
9719 if test -z "$defaultval"; then
9720 if test x"$enablestring" = xdisable; then
9727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
9729 # Check whether --enable-richtext or --disable-richtext was given.
9730 if test "${enable_richtext+set}" = set; then
9731 enableval="$enable_richtext"
9733 if test "$enableval" = yes; then
9734 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9736 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9742 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9743 if test "x$LINE" != x ; then
9744 eval "DEFAULT_$LINE"
9750 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9754 eval "$wx_cv_use_richtext"
9755 if test "x
$cache" = xyes; then
9756 echo "wxUSE_RICHTEXT
=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
9759 if test x"$enablestring" = xdisable; then
9760 if test $wxUSE_RICHTEXT = yes; then
9766 result=$wxUSE_RICHTEXT
9769 echo "$as_me:$LINENO: result
: $result" >&5
9770 echo "${ECHO_T}$result" >&6
9774 defaultval=$wxUSE_ALL_FEATURES
9775 if test -z "$defaultval"; then
9776 if test x"$enablestring" = xdisable; then
9783 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9784 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6
9785 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
9786 if test "${enable_graphics_ctx+set}" = set; then
9787 enableval="$enable_graphics_ctx"
9789 if test "$enableval" = yes; then
9790 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9792 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9798 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT
=" ${wx_arg_cache_file}`
9799 if test "x
$LINE" != x ; then
9800 eval "DEFAULT_
$LINE"
9806 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9810 eval "$wx_cv_use_graphics_ctx"
9811 if test "x$cache" = xyes
; then
9812 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
9815 if test x
"$enablestring" = xdisable
; then
9816 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9822 result
=$wxUSE_GRAPHICS_CONTEXT
9825 echo "$as_me:$LINENO: result: $result" >&5
9826 echo "${ECHO_T}$result" >&6
9830 defaultval
=$wxUSE_ALL_FEATURES
9831 if test -z "$defaultval"; then
9832 if test x
"$enablestring" = xdisable
; then
9839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9840 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
9841 # Check whether --enable-postscript or --disable-postscript was given.
9842 if test "${enable_postscript+set}" = set; then
9843 enableval
="$enable_postscript"
9845 if test "$enableval" = yes; then
9846 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9848 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9854 LINE
=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9855 if test "x$LINE" != x
; then
9856 eval "DEFAULT_$LINE"
9862 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9866 eval "$wx_cv_use_postscript"
9867 if test "x$cache" = xyes; then
9868 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
9871 if test x"$enablestring" = xdisable; then
9872 if test $wxUSE_POSTSCRIPT = yes; then
9878 result=$wxUSE_POSTSCRIPT
9881 echo "$as_me:$LINENO: result: $result" >&5
9882 echo "${ECHO_T}$result" >&6
9886 defaultval=$wxUSE_ALL_FEATURES
9887 if test -z "$defaultval"; then
9888 if test x"$enablestring" = xdisable; then
9895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9896 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6
9897 # Check whether --enable-svg or --disable-svg was given.
9898 if test "${enable_svg+set}" = set; then
9899 enableval="$enable_svg"
9901 if test "$enableval" = yes; then
9902 wx_cv_use_svg='wxUSE_SVG
=yes'
9904 wx_cv_use_svg='wxUSE_SVG
=no
'
9910 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
9911 if test "x$LINE" != x ; then
9912 eval "DEFAULT_$LINE"
9918 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9922 eval "$wx_cv_use_svg"
9923 if test "x
$cache" = xyes; then
9924 echo "wxUSE_SVG
=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
9927 if test x"$enablestring" = xdisable; then
9928 if test $wxUSE_SVG = yes; then
9937 echo "$as_me:$LINENO: result
: $result" >&5
9938 echo "${ECHO_T}$result" >&6
9944 defaultval=$wxUSE_ALL_FEATURES
9945 if test -z "$defaultval"; then
9946 if test x"$enablestring" = xdisable; then
9953 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-clipboard" >&5
9954 echo $ECHO_N "checking
for --${enablestring:-enable}-clipboard...
$ECHO_C" >&6
9955 # Check whether --enable-clipboard or --disable-clipboard was given.
9956 if test "${enable_clipboard+set}" = set; then
9957 enableval="$enable_clipboard"
9959 if test "$enableval" = yes; then
9960 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9962 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9968 LINE=`grep "^wxUSE_CLIPBOARD
=" ${wx_arg_cache_file}`
9969 if test "x
$LINE" != x ; then
9970 eval "DEFAULT_
$LINE"
9976 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9980 eval "$wx_cv_use_clipboard"
9981 if test "x$cache" = xyes
; then
9982 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
9985 if test x
"$enablestring" = xdisable
; then
9986 if test $wxUSE_CLIPBOARD = yes; then
9992 result
=$wxUSE_CLIPBOARD
9995 echo "$as_me:$LINENO: result: $result" >&5
9996 echo "${ECHO_T}$result" >&6
10000 defaultval
=$wxUSE_ALL_FEATURES
10001 if test -z "$defaultval"; then
10002 if test x
"$enablestring" = xdisable
; then
10009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10010 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
10011 # Check whether --enable-dnd or --disable-dnd was given.
10012 if test "${enable_dnd+set}" = set; then
10013 enableval
="$enable_dnd"
10015 if test "$enableval" = yes; then
10016 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
10018 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
10024 LINE
=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10025 if test "x$LINE" != x
; then
10026 eval "DEFAULT_$LINE"
10032 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10036 eval "$wx_cv_use_dnd"
10037 if test "x$cache" = xyes; then
10038 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10041 if test x"$enablestring" = xdisable; then
10042 if test $wxUSE_DRAG_AND_DROP = yes; then
10048 result=$wxUSE_DRAG_AND_DROP
10051 echo "$as_me:$LINENO: result: $result" >&5
10052 echo "${ECHO_T}$result" >&6
10056 defaultval=$wxUSE_ALL_FEATURES
10057 if test -z "$defaultval"; then
10058 if test x"$enablestring" = xdisable; then
10065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10067 # Check whether --enable-metafile or --disable-metafile was given.
10068 if test "${enable_metafile+set}" = set; then
10069 enableval="$enable_metafile"
10071 if test "$enableval" = yes; then
10072 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
10074 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
10080 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10081 if test "x$LINE" != x ; then
10082 eval "DEFAULT_$LINE"
10088 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10092 eval "$wx_cv_use_metafile"
10093 if test "x
$cache" = xyes; then
10094 echo "wxUSE_METAFILE
=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10097 if test x"$enablestring" = xdisable; then
10098 if test $wxUSE_METAFILE = yes; then
10104 result=$wxUSE_METAFILE
10107 echo "$as_me:$LINENO: result
: $result" >&5
10108 echo "${ECHO_T}$result" >&6
10112 DEFAULT_wxUSE_CONTROLS=none
10114 enablestring=disable
10116 if test -z "$defaultval"; then
10117 if test x"$enablestring" = xdisable; then
10124 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-controls" >&5
10125 echo $ECHO_N "checking
for --${enablestring:-enable}-controls...
$ECHO_C" >&6
10126 # Check whether --enable-controls or --disable-controls was given.
10127 if test "${enable_controls+set}" = set; then
10128 enableval="$enable_controls"
10130 if test "$enableval" = yes; then
10131 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10133 wx_cv_use_controls='wxUSE_CONTROLS=no'
10139 LINE=`grep "^wxUSE_CONTROLS
=" ${wx_arg_cache_file}`
10140 if test "x
$LINE" != x ; then
10141 eval "DEFAULT_
$LINE"
10147 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10151 eval "$wx_cv_use_controls"
10152 if test "x$cache" = xyes
; then
10153 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10156 if test x
"$enablestring" = xdisable
; then
10157 if test $wxUSE_CONTROLS = yes; then
10163 result
=$wxUSE_CONTROLS
10166 echo "$as_me:$LINENO: result: $result" >&5
10167 echo "${ECHO_T}$result" >&6
10170 if test "$wxUSE_CONTROLS" = "yes"; then
10171 DEFAULT_wxUSE_ACCEL
=yes
10172 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
10173 DEFAULT_wxUSE_BMPBUTTON
=yes
10174 DEFAULT_wxUSE_BUTTON
=yes
10175 DEFAULT_wxUSE_CALCTRL
=yes
10176 DEFAULT_wxUSE_CARET
=yes
10177 DEFAULT_wxUSE_COMBOBOX
=yes
10178 DEFAULT_wxUSE_CHECKBOX
=yes
10179 DEFAULT_wxUSE_CHECKLISTBOX
=yes
10180 DEFAULT_wxUSE_CHOICE
=yes
10181 DEFAULT_wxUSE_CHOICEBOOK
=yes
10182 DEFAULT_wxUSE_COLLPANE
=yes
10183 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
10184 DEFAULT_wxUSE_COMBOBOX
=yes
10185 DEFAULT_wxUSE_DATEPICKCTRL
=yes
10186 DEFAULT_wxUSE_DISPLAY
=yes
10187 DEFAULT_wxUSE_DETECT_SM
=yes
10188 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
10189 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
10190 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
10191 DEFAULT_wxUSE_GAUGE
=yes
10192 DEFAULT_wxUSE_GRID
=yes
10193 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
10194 DEFAULT_wxUSE_DATAVIEWCTRL
=no
10195 DEFAULT_wxUSE_IMAGLIST
=yes
10196 DEFAULT_wxUSE_LISTBOOK
=yes
10197 DEFAULT_wxUSE_LISTBOX
=yes
10198 DEFAULT_wxUSE_LISTCTRL
=yes
10199 DEFAULT_wxUSE_NOTEBOOK
=yes
10200 DEFAULT_wxUSE_RADIOBOX
=yes
10201 DEFAULT_wxUSE_RADIOBTN
=yes
10202 DEFAULT_wxUSE_SASH
=yes
10203 DEFAULT_wxUSE_SCROLLBAR
=yes
10204 DEFAULT_wxUSE_SEARCHCTRL
=yes
10205 DEFAULT_wxUSE_SLIDER
=yes
10206 DEFAULT_wxUSE_SPINBTN
=yes
10207 DEFAULT_wxUSE_SPINCTRL
=yes
10208 DEFAULT_wxUSE_SPLITTER
=yes
10209 DEFAULT_wxUSE_STATBMP
=yes
10210 DEFAULT_wxUSE_STATBOX
=yes
10211 DEFAULT_wxUSE_STATLINE
=yes
10212 DEFAULT_wxUSE_STATUSBAR
=yes
10213 DEFAULT_wxUSE_TAB_DIALOG
=yes
10214 DEFAULT_wxUSE_TOGGLEBTN
=yes
10215 DEFAULT_wxUSE_TOOLBAR
=yes
10216 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
10217 DEFAULT_wxUSE_TOOLTIPS
=yes
10218 DEFAULT_wxUSE_TREEBOOK
=yes
10219 DEFAULT_wxUSE_TOOLBOOK
=yes
10220 DEFAULT_wxUSE_TREECTRL
=yes
10221 DEFAULT_wxUSE_POPUPWIN
=yes
10222 DEFAULT_wxUSE_TIPWINDOW
=yes
10223 elif test "$wxUSE_CONTROLS" = "no"; then
10224 DEFAULT_wxUSE_ACCEL
=no
10225 DEFAULT_wxUSE_ANIMATIONCTRL
=no
10226 DEFAULT_wxUSE_BMPBUTTON
=no
10227 DEFAULT_wxUSE_BUTTON
=no
10228 DEFAULT_wxUSE_CALCTRL
=no
10229 DEFAULT_wxUSE_CARET
=no
10230 DEFAULT_wxUSE_COLLPANE
=no
10231 DEFAULT_wxUSE_COMBOBOX
=no
10232 DEFAULT_wxUSE_CHECKBOX
=no
10233 DEFAULT_wxUSE_CHECKLISTBOX
=no
10234 DEFAULT_wxUSE_CHOICE
=no
10235 DEFAULT_wxUSE_CHOICEBOOK
=no
10236 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
10237 DEFAULT_wxUSE_COMBOBOX
=no
10238 DEFAULT_wxUSE_DATEPICKCTRL
=no
10239 DEFAULT_wxUSE_DISPLAY
=no
10240 DEFAULT_wxUSE_DETECT_SM
=no
10241 DEFAULT_wxUSE_DIRPICKERCTRL
=no
10242 DEFAULT_wxUSE_FILEPICKERCTRL
=no
10243 DEFAULT_wxUSE_FONTPICKERCTRL
=no
10244 DEFAULT_wxUSE_GAUGE
=no
10245 DEFAULT_wxUSE_GRID
=no
10246 DEFAULT_wxUSE_HYPERLINKCTRL
=no
10247 DEFAULT_wxUSE_DATAVIEWCTRL
=no
10248 DEFAULT_wxUSE_IMAGLIST
=no
10249 DEFAULT_wxUSE_LISTBOOK
=no
10250 DEFAULT_wxUSE_LISTBOX
=no
10251 DEFAULT_wxUSE_LISTCTRL
=no
10252 DEFAULT_wxUSE_NOTEBOOK
=no
10253 DEFAULT_wxUSE_RADIOBOX
=no
10254 DEFAULT_wxUSE_RADIOBTN
=no
10255 DEFAULT_wxUSE_SASH
=no
10256 DEFAULT_wxUSE_SCROLLBAR
=no
10257 DEFAULT_wxUSE_SEARCHCTRL
=no
10258 DEFAULT_wxUSE_SLIDER
=no
10259 DEFAULT_wxUSE_SPINBTN
=no
10260 DEFAULT_wxUSE_SPINCTRL
=no
10261 DEFAULT_wxUSE_SPLITTER
=no
10262 DEFAULT_wxUSE_STATBMP
=no
10263 DEFAULT_wxUSE_STATBOX
=no
10264 DEFAULT_wxUSE_STATLINE
=no
10265 DEFAULT_wxUSE_STATUSBAR
=no
10266 DEFAULT_wxUSE_TAB_DIALOG
=no
10267 DEFAULT_wxUSE_TOGGLEBTN
=no
10268 DEFAULT_wxUSE_TOOLBAR
=no
10269 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
10270 DEFAULT_wxUSE_TOOLTIPS
=no
10271 DEFAULT_wxUSE_TREEBOOK
=no
10272 DEFAULT_wxUSE_TOOLBOOK
=no
10273 DEFAULT_wxUSE_TREECTRL
=no
10274 DEFAULT_wxUSE_POPUPWIN
=no
10275 DEFAULT_wxUSE_TIPWINDOW
=no
10280 defaultval
=$wxUSE_ALL_FEATURES
10281 if test -z "$defaultval"; then
10282 if test x
"$enablestring" = xdisable
; then
10289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10290 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
10291 # Check whether --enable-accel or --disable-accel was given.
10292 if test "${enable_accel+set}" = set; then
10293 enableval
="$enable_accel"
10295 if test "$enableval" = yes; then
10296 wx_cv_use_accel
='wxUSE_ACCEL=yes'
10298 wx_cv_use_accel
='wxUSE_ACCEL=no'
10304 LINE
=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10305 if test "x$LINE" != x
; then
10306 eval "DEFAULT_$LINE"
10312 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10316 eval "$wx_cv_use_accel"
10317 if test "x$cache" = xyes; then
10318 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10321 if test x"$enablestring" = xdisable; then
10322 if test $wxUSE_ACCEL = yes; then
10328 result=$wxUSE_ACCEL
10331 echo "$as_me:$LINENO: result: $result" >&5
10332 echo "${ECHO_T}$result" >&6
10336 defaultval=$wxUSE_ALL_FEATURES
10337 if test -z "$defaultval"; then
10338 if test x"$enablestring" = xdisable; then
10345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10346 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
10347 # Check whether --enable-animatectrl or --disable-animatectrl was given.
10348 if test "${enable_animatectrl+set}" = set; then
10349 enableval="$enable_animatectrl"
10351 if test "$enableval" = yes; then
10352 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
10354 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
10360 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10361 if test "x$LINE" != x ; then
10362 eval "DEFAULT_$LINE"
10368 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10372 eval "$wx_cv_use_animatectrl"
10373 if test "x
$cache" = xyes; then
10374 echo "wxUSE_ANIMATIONCTRL
=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10377 if test x"$enablestring" = xdisable; then
10378 if test $wxUSE_ANIMATIONCTRL = yes; then
10384 result=$wxUSE_ANIMATIONCTRL
10387 echo "$as_me:$LINENO: result
: $result" >&5
10388 echo "${ECHO_T}$result" >&6
10392 defaultval=$wxUSE_ALL_FEATURES
10393 if test -z "$defaultval"; then
10394 if test x"$enablestring" = xdisable; then
10401 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
10402 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6
10403 # Check whether --enable-button or --disable-button was given.
10404 if test "${enable_button+set}" = set; then
10405 enableval="$enable_button"
10407 if test "$enableval" = yes; then
10408 wx_cv_use_button='wxUSE_BUTTON=yes'
10410 wx_cv_use_button='wxUSE_BUTTON=no'
10416 LINE=`grep "^wxUSE_BUTTON
=" ${wx_arg_cache_file}`
10417 if test "x
$LINE" != x ; then
10418 eval "DEFAULT_
$LINE"
10424 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10428 eval "$wx_cv_use_button"
10429 if test "x$cache" = xyes
; then
10430 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10433 if test x
"$enablestring" = xdisable
; then
10434 if test $wxUSE_BUTTON = yes; then
10440 result
=$wxUSE_BUTTON
10443 echo "$as_me:$LINENO: result: $result" >&5
10444 echo "${ECHO_T}$result" >&6
10448 defaultval
=$wxUSE_ALL_FEATURES
10449 if test -z "$defaultval"; then
10450 if test x
"$enablestring" = xdisable
; then
10457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10458 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
10459 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
10460 if test "${enable_bmpbutton+set}" = set; then
10461 enableval
="$enable_bmpbutton"
10463 if test "$enableval" = yes; then
10464 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
10466 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
10472 LINE
=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10473 if test "x$LINE" != x
; then
10474 eval "DEFAULT_$LINE"
10480 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10484 eval "$wx_cv_use_bmpbutton"
10485 if test "x$cache" = xyes; then
10486 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
10489 if test x"$enablestring" = xdisable; then
10490 if test $wxUSE_BMPBUTTON = yes; then
10496 result=$wxUSE_BMPBUTTON
10499 echo "$as_me:$LINENO: result: $result" >&5
10500 echo "${ECHO_T}$result" >&6
10504 defaultval=$wxUSE_ALL_FEATURES
10505 if test -z "$defaultval"; then
10506 if test x"$enablestring" = xdisable; then
10513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10514 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
10515 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
10516 if test "${enable_bmpcombobox+set}" = set; then
10517 enableval="$enable_bmpcombobox"
10519 if test "$enableval" = yes; then
10520 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
10522 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
10528 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10529 if test "x$LINE" != x ; then
10530 eval "DEFAULT_$LINE"
10536 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10540 eval "$wx_cv_use_bmpcombobox"
10541 if test "x
$cache" = xyes; then
10542 echo "wxUSE_BITMAPCOMBOBOX
=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
10545 if test x"$enablestring" = xdisable; then
10546 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10552 result=$wxUSE_BITMAPCOMBOBOX
10555 echo "$as_me:$LINENO: result
: $result" >&5
10556 echo "${ECHO_T}$result" >&6
10560 defaultval=$wxUSE_ALL_FEATURES
10561 if test -z "$defaultval"; then
10562 if test x"$enablestring" = xdisable; then
10569 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-calendar" >&5
10570 echo $ECHO_N "checking
for --${enablestring:-enable}-calendar...
$ECHO_C" >&6
10571 # Check whether --enable-calendar or --disable-calendar was given.
10572 if test "${enable_calendar+set}" = set; then
10573 enableval="$enable_calendar"
10575 if test "$enableval" = yes; then
10576 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10578 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10584 LINE=`grep "^wxUSE_CALCTRL
=" ${wx_arg_cache_file}`
10585 if test "x
$LINE" != x ; then
10586 eval "DEFAULT_
$LINE"
10592 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10596 eval "$wx_cv_use_calendar"
10597 if test "x$cache" = xyes
; then
10598 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
10601 if test x
"$enablestring" = xdisable
; then
10602 if test $wxUSE_CALCTRL = yes; then
10608 result
=$wxUSE_CALCTRL
10611 echo "$as_me:$LINENO: result: $result" >&5
10612 echo "${ECHO_T}$result" >&6
10616 defaultval
=$wxUSE_ALL_FEATURES
10617 if test -z "$defaultval"; then
10618 if test x
"$enablestring" = xdisable
; then
10625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10626 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
10627 # Check whether --enable-caret or --disable-caret was given.
10628 if test "${enable_caret+set}" = set; then
10629 enableval
="$enable_caret"
10631 if test "$enableval" = yes; then
10632 wx_cv_use_caret
='wxUSE_CARET=yes'
10634 wx_cv_use_caret
='wxUSE_CARET=no'
10640 LINE
=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10641 if test "x$LINE" != x
; then
10642 eval "DEFAULT_$LINE"
10648 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10652 eval "$wx_cv_use_caret"
10653 if test "x$cache" = xyes; then
10654 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
10657 if test x"$enablestring" = xdisable; then
10658 if test $wxUSE_CARET = yes; then
10664 result=$wxUSE_CARET
10667 echo "$as_me:$LINENO: result: $result" >&5
10668 echo "${ECHO_T}$result" >&6
10672 defaultval=$wxUSE_ALL_FEATURES
10673 if test -z "$defaultval"; then
10674 if test x"$enablestring" = xdisable; then
10681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10682 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
10683 # Check whether --enable-checkbox or --disable-checkbox was given.
10684 if test "${enable_checkbox+set}" = set; then
10685 enableval="$enable_checkbox"
10687 if test "$enableval" = yes; then
10688 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
10690 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
10696 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10697 if test "x$LINE" != x ; then
10698 eval "DEFAULT_$LINE"
10704 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10708 eval "$wx_cv_use_checkbox"
10709 if test "x
$cache" = xyes; then
10710 echo "wxUSE_CHECKBOX
=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
10713 if test x"$enablestring" = xdisable; then
10714 if test $wxUSE_CHECKBOX = yes; then
10720 result=$wxUSE_CHECKBOX
10723 echo "$as_me:$LINENO: result
: $result" >&5
10724 echo "${ECHO_T}$result" >&6
10728 defaultval=$wxUSE_ALL_FEATURES
10729 if test -z "$defaultval"; then
10730 if test x"$enablestring" = xdisable; then
10737 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checklst" >&5
10738 echo $ECHO_N "checking
for --${enablestring:-enable}-checklst...
$ECHO_C" >&6
10739 # Check whether --enable-checklst or --disable-checklst was given.
10740 if test "${enable_checklst+set}" = set; then
10741 enableval="$enable_checklst"
10743 if test "$enableval" = yes; then
10744 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10746 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10752 LINE=`grep "^wxUSE_CHECKLST
=" ${wx_arg_cache_file}`
10753 if test "x
$LINE" != x ; then
10754 eval "DEFAULT_
$LINE"
10760 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10764 eval "$wx_cv_use_checklst"
10765 if test "x$cache" = xyes
; then
10766 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
10769 if test x
"$enablestring" = xdisable
; then
10770 if test $wxUSE_CHECKLST = yes; then
10776 result
=$wxUSE_CHECKLST
10779 echo "$as_me:$LINENO: result: $result" >&5
10780 echo "${ECHO_T}$result" >&6
10784 defaultval
=$wxUSE_ALL_FEATURES
10785 if test -z "$defaultval"; then
10786 if test x
"$enablestring" = xdisable
; then
10793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10794 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
10795 # Check whether --enable-choice or --disable-choice was given.
10796 if test "${enable_choice+set}" = set; then
10797 enableval
="$enable_choice"
10799 if test "$enableval" = yes; then
10800 wx_cv_use_choice
='wxUSE_CHOICE=yes'
10802 wx_cv_use_choice
='wxUSE_CHOICE=no'
10808 LINE
=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10809 if test "x$LINE" != x
; then
10810 eval "DEFAULT_$LINE"
10816 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10820 eval "$wx_cv_use_choice"
10821 if test "x$cache" = xyes; then
10822 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
10825 if test x"$enablestring" = xdisable; then
10826 if test $wxUSE_CHOICE = yes; then
10832 result=$wxUSE_CHOICE
10835 echo "$as_me:$LINENO: result: $result" >&5
10836 echo "${ECHO_T}$result" >&6
10840 defaultval=$wxUSE_ALL_FEATURES
10841 if test -z "$defaultval"; then
10842 if test x"$enablestring" = xdisable; then
10849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10850 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
10851 # Check whether --enable-choicebook or --disable-choicebook was given.
10852 if test "${enable_choicebook+set}" = set; then
10853 enableval="$enable_choicebook"
10855 if test "$enableval" = yes; then
10856 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
10858 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
10864 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10865 if test "x$LINE" != x ; then
10866 eval "DEFAULT_$LINE"
10872 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10876 eval "$wx_cv_use_choicebook"
10877 if test "x
$cache" = xyes; then
10878 echo "wxUSE_CHOICEBOOK
=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
10881 if test x"$enablestring" = xdisable; then
10882 if test $wxUSE_CHOICEBOOK = yes; then
10888 result=$wxUSE_CHOICEBOOK
10891 echo "$as_me:$LINENO: result
: $result" >&5
10892 echo "${ECHO_T}$result" >&6
10896 defaultval=$wxUSE_ALL_FEATURES
10897 if test -z "$defaultval"; then
10898 if test x"$enablestring" = xdisable; then
10905 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-collpane" >&5
10906 echo $ECHO_N "checking
for --${enablestring:-enable}-collpane...
$ECHO_C" >&6
10907 # Check whether --enable-collpane or --disable-collpane was given.
10908 if test "${enable_collpane+set}" = set; then
10909 enableval="$enable_collpane"
10911 if test "$enableval" = yes; then
10912 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10914 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10920 LINE=`grep "^wxUSE_COLLPANE
=" ${wx_arg_cache_file}`
10921 if test "x
$LINE" != x ; then
10922 eval "DEFAULT_
$LINE"
10928 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10932 eval "$wx_cv_use_collpane"
10933 if test "x$cache" = xyes
; then
10934 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
10937 if test x
"$enablestring" = xdisable
; then
10938 if test $wxUSE_COLLPANE = yes; then
10944 result
=$wxUSE_COLLPANE
10947 echo "$as_me:$LINENO: result: $result" >&5
10948 echo "${ECHO_T}$result" >&6
10952 defaultval
=$wxUSE_ALL_FEATURES
10953 if test -z "$defaultval"; then
10954 if test x
"$enablestring" = xdisable
; then
10961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10962 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
10963 # Check whether --enable-colourpicker or --disable-colourpicker was given.
10964 if test "${enable_colourpicker+set}" = set; then
10965 enableval
="$enable_colourpicker"
10967 if test "$enableval" = yes; then
10968 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
10970 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
10976 LINE
=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
10977 if test "x$LINE" != x
; then
10978 eval "DEFAULT_$LINE"
10984 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10988 eval "$wx_cv_use_colourpicker"
10989 if test "x$cache" = xyes; then
10990 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
10993 if test x"$enablestring" = xdisable; then
10994 if test $wxUSE_COLOURPICKERCTRL = yes; then
11000 result=$wxUSE_COLOURPICKERCTRL
11003 echo "$as_me:$LINENO: result: $result" >&5
11004 echo "${ECHO_T}$result" >&6
11008 defaultval=$wxUSE_ALL_FEATURES
11009 if test -z "$defaultval"; then
11010 if test x"$enablestring" = xdisable; then
11017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11018 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
11019 # Check whether --enable-combobox or --disable-combobox was given.
11020 if test "${enable_combobox+set}" = set; then
11021 enableval="$enable_combobox"
11023 if test "$enableval" = yes; then
11024 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
11026 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
11032 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11033 if test "x$LINE" != x ; then
11034 eval "DEFAULT_$LINE"
11040 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11044 eval "$wx_cv_use_combobox"
11045 if test "x
$cache" = xyes; then
11046 echo "wxUSE_COMBOBOX
=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11049 if test x"$enablestring" = xdisable; then
11050 if test $wxUSE_COMBOBOX = yes; then
11056 result=$wxUSE_COMBOBOX
11059 echo "$as_me:$LINENO: result
: $result" >&5
11060 echo "${ECHO_T}$result" >&6
11064 defaultval=$wxUSE_ALL_FEATURES
11065 if test -z "$defaultval"; then
11066 if test x"$enablestring" = xdisable; then
11073 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-comboctrl" >&5
11074 echo $ECHO_N "checking
for --${enablestring:-enable}-comboctrl...
$ECHO_C" >&6
11075 # Check whether --enable-comboctrl or --disable-comboctrl was given.
11076 if test "${enable_comboctrl+set}" = set; then
11077 enableval="$enable_comboctrl"
11079 if test "$enableval" = yes; then
11080 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11082 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11088 LINE=`grep "^wxUSE_COMBOCTRL
=" ${wx_arg_cache_file}`
11089 if test "x
$LINE" != x ; then
11090 eval "DEFAULT_
$LINE"
11096 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11100 eval "$wx_cv_use_comboctrl"
11101 if test "x$cache" = xyes
; then
11102 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11105 if test x
"$enablestring" = xdisable
; then
11106 if test $wxUSE_COMBOCTRL = yes; then
11112 result
=$wxUSE_COMBOCTRL
11115 echo "$as_me:$LINENO: result: $result" >&5
11116 echo "${ECHO_T}$result" >&6
11120 defaultval
=$wxUSE_ALL_FEATURES
11121 if test -z "$defaultval"; then
11122 if test x
"$enablestring" = xdisable
; then
11129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11130 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
11131 # Check whether --enable-datepick or --disable-datepick was given.
11132 if test "${enable_datepick+set}" = set; then
11133 enableval
="$enable_datepick"
11135 if test "$enableval" = yes; then
11136 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
11138 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
11144 LINE
=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11145 if test "x$LINE" != x
; then
11146 eval "DEFAULT_$LINE"
11152 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11156 eval "$wx_cv_use_datepick"
11157 if test "x$cache" = xyes; then
11158 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11161 if test x"$enablestring" = xdisable; then
11162 if test $wxUSE_DATEPICKCTRL = yes; then
11168 result=$wxUSE_DATEPICKCTRL
11171 echo "$as_me:$LINENO: result: $result" >&5
11172 echo "${ECHO_T}$result" >&6
11176 defaultval=$wxUSE_ALL_FEATURES
11177 if test -z "$defaultval"; then
11178 if test x"$enablestring" = xdisable; then
11185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11186 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
11187 # Check whether --enable-dirpicker or --disable-dirpicker was given.
11188 if test "${enable_dirpicker+set}" = set; then
11189 enableval="$enable_dirpicker"
11191 if test "$enableval" = yes; then
11192 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
11194 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
11200 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11201 if test "x$LINE" != x ; then
11202 eval "DEFAULT_$LINE"
11208 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11212 eval "$wx_cv_use_dirpicker"
11213 if test "x
$cache" = xyes; then
11214 echo "wxUSE_DIRPICKERCTRL
=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11217 if test x"$enablestring" = xdisable; then
11218 if test $wxUSE_DIRPICKERCTRL = yes; then
11224 result=$wxUSE_DIRPICKERCTRL
11227 echo "$as_me:$LINENO: result
: $result" >&5
11228 echo "${ECHO_T}$result" >&6
11232 defaultval=$wxUSE_ALL_FEATURES
11233 if test -z "$defaultval"; then
11234 if test x"$enablestring" = xdisable; then
11241 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
11242 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6
11243 # Check whether --enable-display or --disable-display was given.
11244 if test "${enable_display+set}" = set; then
11245 enableval="$enable_display"
11247 if test "$enableval" = yes; then
11248 wx_cv_use_display='wxUSE_DISPLAY=yes'
11250 wx_cv_use_display='wxUSE_DISPLAY=no'
11256 LINE=`grep "^wxUSE_DISPLAY
=" ${wx_arg_cache_file}`
11257 if test "x
$LINE" != x ; then
11258 eval "DEFAULT_
$LINE"
11264 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11268 eval "$wx_cv_use_display"
11269 if test "x$cache" = xyes
; then
11270 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11273 if test x
"$enablestring" = xdisable
; then
11274 if test $wxUSE_DISPLAY = yes; then
11280 result
=$wxUSE_DISPLAY
11283 echo "$as_me:$LINENO: result: $result" >&5
11284 echo "${ECHO_T}$result" >&6
11288 defaultval
=$wxUSE_ALL_FEATURES
11289 if test -z "$defaultval"; then
11290 if test x
"$enablestring" = xdisable
; then
11297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11298 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
11299 # Check whether --enable-detect_sm or --disable-detect_sm was given.
11300 if test "${enable_detect_sm+set}" = set; then
11301 enableval
="$enable_detect_sm"
11303 if test "$enableval" = yes; then
11304 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
11306 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
11312 LINE
=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11313 if test "x$LINE" != x
; then
11314 eval "DEFAULT_$LINE"
11320 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11324 eval "$wx_cv_use_detect_sm"
11325 if test "x$cache" = xyes; then
11326 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11329 if test x"$enablestring" = xdisable; then
11330 if test $wxUSE_DETECT_SM = yes; then
11336 result=$wxUSE_DETECT_SM
11339 echo "$as_me:$LINENO: result: $result" >&5
11340 echo "${ECHO_T}$result" >&6
11344 defaultval=$wxUSE_ALL_FEATURES
11345 if test -z "$defaultval"; then
11346 if test x"$enablestring" = xdisable; then
11353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11354 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6
11355 # Check whether --enable-editablebox or --disable-editablebox was given.
11356 if test "${enable_editablebox+set}" = set; then
11357 enableval="$enable_editablebox"
11359 if test "$enableval" = yes; then
11360 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
11362 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
11368 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11369 if test "x$LINE" != x ; then
11370 eval "DEFAULT_$LINE"
11376 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11380 eval "$wx_cv_use_editablebox"
11381 if test "x
$cache" = xyes; then
11382 echo "wxUSE_EDITABLELISTBOX
=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11385 if test x"$enablestring" = xdisable; then
11386 if test $wxUSE_EDITABLELISTBOX = yes; then
11392 result=$wxUSE_EDITABLELISTBOX
11395 echo "$as_me:$LINENO: result
: $result" >&5
11396 echo "${ECHO_T}$result" >&6
11400 defaultval=$wxUSE_ALL_FEATURES
11401 if test -z "$defaultval"; then
11402 if test x"$enablestring" = xdisable; then
11409 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
11410 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6
11411 # Check whether --enable-filepicker or --disable-filepicker was given.
11412 if test "${enable_filepicker+set}" = set; then
11413 enableval="$enable_filepicker"
11415 if test "$enableval" = yes; then
11416 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11418 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11424 LINE=`grep "^wxUSE_FILEPICKERCTRL
=" ${wx_arg_cache_file}`
11425 if test "x
$LINE" != x ; then
11426 eval "DEFAULT_
$LINE"
11432 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11436 eval "$wx_cv_use_filepicker"
11437 if test "x$cache" = xyes
; then
11438 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11441 if test x
"$enablestring" = xdisable
; then
11442 if test $wxUSE_FILEPICKERCTRL = yes; then
11448 result
=$wxUSE_FILEPICKERCTRL
11451 echo "$as_me:$LINENO: result: $result" >&5
11452 echo "${ECHO_T}$result" >&6
11456 defaultval
=$wxUSE_ALL_FEATURES
11457 if test -z "$defaultval"; then
11458 if test x
"$enablestring" = xdisable
; then
11465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11466 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
11467 # Check whether --enable-fontpicker or --disable-fontpicker was given.
11468 if test "${enable_fontpicker+set}" = set; then
11469 enableval
="$enable_fontpicker"
11471 if test "$enableval" = yes; then
11472 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
11474 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
11480 LINE
=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11481 if test "x$LINE" != x
; then
11482 eval "DEFAULT_$LINE"
11488 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11492 eval "$wx_cv_use_fontpicker"
11493 if test "x$cache" = xyes; then
11494 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11497 if test x"$enablestring" = xdisable; then
11498 if test $wxUSE_FONTPICKERCTRL = yes; then
11504 result=$wxUSE_FONTPICKERCTRL
11507 echo "$as_me:$LINENO: result: $result" >&5
11508 echo "${ECHO_T}$result" >&6
11512 defaultval=$wxUSE_ALL_FEATURES
11513 if test -z "$defaultval"; then
11514 if test x"$enablestring" = xdisable; then
11521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11522 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
11523 # Check whether --enable-gauge or --disable-gauge was given.
11524 if test "${enable_gauge+set}" = set; then
11525 enableval="$enable_gauge"
11527 if test "$enableval" = yes; then
11528 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
11530 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
11536 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11537 if test "x$LINE" != x ; then
11538 eval "DEFAULT_$LINE"
11544 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11548 eval "$wx_cv_use_gauge"
11549 if test "x
$cache" = xyes; then
11550 echo "wxUSE_GAUGE
=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
11553 if test x"$enablestring" = xdisable; then
11554 if test $wxUSE_GAUGE = yes; then
11560 result=$wxUSE_GAUGE
11563 echo "$as_me:$LINENO: result
: $result" >&5
11564 echo "${ECHO_T}$result" >&6
11568 defaultval=$wxUSE_ALL_FEATURES
11569 if test -z "$defaultval"; then
11570 if test x"$enablestring" = xdisable; then
11577 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-grid" >&5
11578 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6
11579 # Check whether --enable-grid or --disable-grid was given.
11580 if test "${enable_grid+set}" = set; then
11581 enableval="$enable_grid"
11583 if test "$enableval" = yes; then
11584 wx_cv_use_grid='wxUSE_GRID=yes'
11586 wx_cv_use_grid='wxUSE_GRID=no'
11592 LINE=`grep "^wxUSE_GRID
=" ${wx_arg_cache_file}`
11593 if test "x
$LINE" != x ; then
11594 eval "DEFAULT_
$LINE"
11600 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11604 eval "$wx_cv_use_grid"
11605 if test "x$cache" = xyes
; then
11606 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
11609 if test x
"$enablestring" = xdisable
; then
11610 if test $wxUSE_GRID = yes; then
11619 echo "$as_me:$LINENO: result: $result" >&5
11620 echo "${ECHO_T}$result" >&6
11624 defaultval
=$wxUSE_ALL_FEATURES
11625 if test -z "$defaultval"; then
11626 if test x
"$enablestring" = xdisable
; then
11633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11634 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
11635 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
11636 if test "${enable_dataviewctrl+set}" = set; then
11637 enableval
="$enable_dataviewctrl"
11639 if test "$enableval" = yes; then
11640 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
11642 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
11648 LINE
=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11649 if test "x$LINE" != x
; then
11650 eval "DEFAULT_$LINE"
11656 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11660 eval "$wx_cv_use_dataviewctrl"
11661 if test "x$cache" = xyes; then
11662 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
11665 if test x"$enablestring" = xdisable; then
11666 if test $wxUSE_DATAVIEWCTRL = yes; then
11672 result=$wxUSE_DATAVIEWCTRL
11675 echo "$as_me:$LINENO: result: $result" >&5
11676 echo "${ECHO_T}$result" >&6
11680 defaultval=$wxUSE_ALL_FEATURES
11681 if test -z "$defaultval"; then
11682 if test x"$enablestring" = xdisable; then
11689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11690 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
11691 # Check whether --enable-hyperlink or --disable-hyperlink was given.
11692 if test "${enable_hyperlink+set}" = set; then
11693 enableval="$enable_hyperlink"
11695 if test "$enableval" = yes; then
11696 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
11698 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
11704 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11705 if test "x$LINE" != x ; then
11706 eval "DEFAULT_$LINE"
11712 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11716 eval "$wx_cv_use_hyperlink"
11717 if test "x
$cache" = xyes; then
11718 echo "wxUSE_HYPERLINKCTRL
=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
11721 if test x"$enablestring" = xdisable; then
11722 if test $wxUSE_HYPERLINKCTRL = yes; then
11728 result=$wxUSE_HYPERLINKCTRL
11731 echo "$as_me:$LINENO: result
: $result" >&5
11732 echo "${ECHO_T}$result" >&6
11736 defaultval=$wxUSE_ALL_FEATURES
11737 if test -z "$defaultval"; then
11738 if test x"$enablestring" = xdisable; then
11745 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-imaglist" >&5
11746 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6
11747 # Check whether --enable-imaglist or --disable-imaglist was given.
11748 if test "${enable_imaglist+set}" = set; then
11749 enableval="$enable_imaglist"
11751 if test "$enableval" = yes; then
11752 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11754 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11760 LINE=`grep "^wxUSE_IMAGLIST
=" ${wx_arg_cache_file}`
11761 if test "x
$LINE" != x ; then
11762 eval "DEFAULT_
$LINE"
11768 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11772 eval "$wx_cv_use_imaglist"
11773 if test "x$cache" = xyes
; then
11774 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
11777 if test x
"$enablestring" = xdisable
; then
11778 if test $wxUSE_IMAGLIST = yes; then
11784 result
=$wxUSE_IMAGLIST
11787 echo "$as_me:$LINENO: result: $result" >&5
11788 echo "${ECHO_T}$result" >&6
11792 defaultval
=$wxUSE_ALL_FEATURES
11793 if test -z "$defaultval"; then
11794 if test x
"$enablestring" = xdisable
; then
11801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11802 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
11803 # Check whether --enable-listbook or --disable-listbook was given.
11804 if test "${enable_listbook+set}" = set; then
11805 enableval
="$enable_listbook"
11807 if test "$enableval" = yes; then
11808 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
11810 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
11816 LINE
=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11817 if test "x$LINE" != x
; then
11818 eval "DEFAULT_$LINE"
11824 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11828 eval "$wx_cv_use_listbook"
11829 if test "x$cache" = xyes; then
11830 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
11833 if test x"$enablestring" = xdisable; then
11834 if test $wxUSE_LISTBOOK = yes; then
11840 result=$wxUSE_LISTBOOK
11843 echo "$as_me:$LINENO: result: $result" >&5
11844 echo "${ECHO_T}$result" >&6
11848 defaultval=$wxUSE_ALL_FEATURES
11849 if test -z "$defaultval"; then
11850 if test x"$enablestring" = xdisable; then
11857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11858 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
11859 # Check whether --enable-listbox or --disable-listbox was given.
11860 if test "${enable_listbox+set}" = set; then
11861 enableval="$enable_listbox"
11863 if test "$enableval" = yes; then
11864 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
11866 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
11872 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11873 if test "x$LINE" != x ; then
11874 eval "DEFAULT_$LINE"
11880 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11884 eval "$wx_cv_use_listbox"
11885 if test "x
$cache" = xyes; then
11886 echo "wxUSE_LISTBOX
=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
11889 if test x"$enablestring" = xdisable; then
11890 if test $wxUSE_LISTBOX = yes; then
11896 result=$wxUSE_LISTBOX
11899 echo "$as_me:$LINENO: result
: $result" >&5
11900 echo "${ECHO_T}$result" >&6
11904 defaultval=$wxUSE_ALL_FEATURES
11905 if test -z "$defaultval"; then
11906 if test x"$enablestring" = xdisable; then
11913 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
11914 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6
11915 # Check whether --enable-listctrl or --disable-listctrl was given.
11916 if test "${enable_listctrl+set}" = set; then
11917 enableval="$enable_listctrl"
11919 if test "$enableval" = yes; then
11920 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11922 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11928 LINE=`grep "^wxUSE_LISTCTRL
=" ${wx_arg_cache_file}`
11929 if test "x
$LINE" != x ; then
11930 eval "DEFAULT_
$LINE"
11936 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11940 eval "$wx_cv_use_listctrl"
11941 if test "x$cache" = xyes
; then
11942 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
11945 if test x
"$enablestring" = xdisable
; then
11946 if test $wxUSE_LISTCTRL = yes; then
11952 result
=$wxUSE_LISTCTRL
11955 echo "$as_me:$LINENO: result: $result" >&5
11956 echo "${ECHO_T}$result" >&6
11960 defaultval
=$wxUSE_ALL_FEATURES
11961 if test -z "$defaultval"; then
11962 if test x
"$enablestring" = xdisable
; then
11969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11970 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
11971 # Check whether --enable-notebook or --disable-notebook was given.
11972 if test "${enable_notebook+set}" = set; then
11973 enableval
="$enable_notebook"
11975 if test "$enableval" = yes; then
11976 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
11978 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
11984 LINE
=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
11985 if test "x$LINE" != x
; then
11986 eval "DEFAULT_$LINE"
11992 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11996 eval "$wx_cv_use_notebook"
11997 if test "x$cache" = xyes; then
11998 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12001 if test x"$enablestring" = xdisable; then
12002 if test $wxUSE_NOTEBOOK = yes; then
12008 result=$wxUSE_NOTEBOOK
12011 echo "$as_me:$LINENO: result: $result" >&5
12012 echo "${ECHO_T}$result" >&6
12016 defaultval=$wxUSE_ALL_FEATURES
12017 if test -z "$defaultval"; then
12018 if test x"$enablestring" = xdisable; then
12025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12026 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
12027 # Check whether --enable-odcombobox or --disable-odcombobox was given.
12028 if test "${enable_odcombobox+set}" = set; then
12029 enableval="$enable_odcombobox"
12031 if test "$enableval" = yes; then
12032 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
12034 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
12040 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12041 if test "x$LINE" != x ; then
12042 eval "DEFAULT_$LINE"
12048 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12052 eval "$wx_cv_use_odcombobox"
12053 if test "x
$cache" = xyes; then
12054 echo "wxUSE_ODCOMBOBOX
=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12057 if test x"$enablestring" = xdisable; then
12058 if test $wxUSE_ODCOMBOBOX = yes; then
12064 result=$wxUSE_ODCOMBOBOX
12067 echo "$as_me:$LINENO: result
: $result" >&5
12068 echo "${ECHO_T}$result" >&6
12072 defaultval=$wxUSE_ALL_FEATURES
12073 if test -z "$defaultval"; then
12074 if test x"$enablestring" = xdisable; then
12081 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
12082 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6
12083 # Check whether --enable-radiobox or --disable-radiobox was given.
12084 if test "${enable_radiobox+set}" = set; then
12085 enableval="$enable_radiobox"
12087 if test "$enableval" = yes; then
12088 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12090 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12096 LINE=`grep "^wxUSE_RADIOBOX
=" ${wx_arg_cache_file}`
12097 if test "x
$LINE" != x ; then
12098 eval "DEFAULT_
$LINE"
12104 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12108 eval "$wx_cv_use_radiobox"
12109 if test "x$cache" = xyes
; then
12110 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12113 if test x
"$enablestring" = xdisable
; then
12114 if test $wxUSE_RADIOBOX = yes; then
12120 result
=$wxUSE_RADIOBOX
12123 echo "$as_me:$LINENO: result: $result" >&5
12124 echo "${ECHO_T}$result" >&6
12128 defaultval
=$wxUSE_ALL_FEATURES
12129 if test -z "$defaultval"; then
12130 if test x
"$enablestring" = xdisable
; then
12137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12138 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
12139 # Check whether --enable-radiobtn or --disable-radiobtn was given.
12140 if test "${enable_radiobtn+set}" = set; then
12141 enableval
="$enable_radiobtn"
12143 if test "$enableval" = yes; then
12144 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
12146 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
12152 LINE
=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12153 if test "x$LINE" != x
; then
12154 eval "DEFAULT_$LINE"
12160 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12164 eval "$wx_cv_use_radiobtn"
12165 if test "x$cache" = xyes; then
12166 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12169 if test x"$enablestring" = xdisable; then
12170 if test $wxUSE_RADIOBTN = yes; then
12176 result=$wxUSE_RADIOBTN
12179 echo "$as_me:$LINENO: result: $result" >&5
12180 echo "${ECHO_T}$result" >&6
12184 defaultval=$wxUSE_ALL_FEATURES
12185 if test -z "$defaultval"; then
12186 if test x"$enablestring" = xdisable; then
12193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12194 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
12195 # Check whether --enable-sash or --disable-sash was given.
12196 if test "${enable_sash+set}" = set; then
12197 enableval="$enable_sash"
12199 if test "$enableval" = yes; then
12200 wx_cv_use_sash='wxUSE_SASH
=yes'
12202 wx_cv_use_sash='wxUSE_SASH
=no
'
12208 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12209 if test "x$LINE" != x ; then
12210 eval "DEFAULT_$LINE"
12216 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12220 eval "$wx_cv_use_sash"
12221 if test "x
$cache" = xyes; then
12222 echo "wxUSE_SASH
=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12225 if test x"$enablestring" = xdisable; then
12226 if test $wxUSE_SASH = yes; then
12235 echo "$as_me:$LINENO: result
: $result" >&5
12236 echo "${ECHO_T}$result" >&6
12240 defaultval=$wxUSE_ALL_FEATURES
12241 if test -z "$defaultval"; then
12242 if test x"$enablestring" = xdisable; then
12249 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
12250 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6
12251 # Check whether --enable-scrollbar or --disable-scrollbar was given.
12252 if test "${enable_scrollbar+set}" = set; then
12253 enableval="$enable_scrollbar"
12255 if test "$enableval" = yes; then
12256 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12258 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12264 LINE=`grep "^wxUSE_SCROLLBAR
=" ${wx_arg_cache_file}`
12265 if test "x
$LINE" != x ; then
12266 eval "DEFAULT_
$LINE"
12272 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12276 eval "$wx_cv_use_scrollbar"
12277 if test "x$cache" = xyes
; then
12278 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12281 if test x
"$enablestring" = xdisable
; then
12282 if test $wxUSE_SCROLLBAR = yes; then
12288 result
=$wxUSE_SCROLLBAR
12291 echo "$as_me:$LINENO: result: $result" >&5
12292 echo "${ECHO_T}$result" >&6
12296 defaultval
=$wxUSE_ALL_FEATURES
12297 if test -z "$defaultval"; then
12298 if test x
"$enablestring" = xdisable
; then
12305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6
12307 # Check whether --enable-searchctrl or --disable-searchctrl was given.
12308 if test "${enable_searchctrl+set}" = set; then
12309 enableval
="$enable_searchctrl"
12311 if test "$enableval" = yes; then
12312 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
12314 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
12320 LINE
=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12321 if test "x$LINE" != x
; then
12322 eval "DEFAULT_$LINE"
12328 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12332 eval "$wx_cv_use_searchctrl"
12333 if test "x$cache" = xyes; then
12334 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12337 if test x"$enablestring" = xdisable; then
12338 if test $wxUSE_SEARCHCTRL = yes; then
12344 result=$wxUSE_SEARCHCTRL
12347 echo "$as_me:$LINENO: result: $result" >&5
12348 echo "${ECHO_T}$result" >&6
12352 defaultval=$wxUSE_ALL_FEATURES
12353 if test -z "$defaultval"; then
12354 if test x"$enablestring" = xdisable; then
12361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12362 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
12363 # Check whether --enable-slider or --disable-slider was given.
12364 if test "${enable_slider+set}" = set; then
12365 enableval="$enable_slider"
12367 if test "$enableval" = yes; then
12368 wx_cv_use_slider='wxUSE_SLIDER
=yes'
12370 wx_cv_use_slider='wxUSE_SLIDER
=no
'
12376 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12377 if test "x$LINE" != x ; then
12378 eval "DEFAULT_$LINE"
12384 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12388 eval "$wx_cv_use_slider"
12389 if test "x
$cache" = xyes; then
12390 echo "wxUSE_SLIDER
=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12393 if test x"$enablestring" = xdisable; then
12394 if test $wxUSE_SLIDER = yes; then
12400 result=$wxUSE_SLIDER
12403 echo "$as_me:$LINENO: result
: $result" >&5
12404 echo "${ECHO_T}$result" >&6
12408 defaultval=$wxUSE_ALL_FEATURES
12409 if test -z "$defaultval"; then
12410 if test x"$enablestring" = xdisable; then
12417 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
12418 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6
12419 # Check whether --enable-spinbtn or --disable-spinbtn was given.
12420 if test "${enable_spinbtn+set}" = set; then
12421 enableval="$enable_spinbtn"
12423 if test "$enableval" = yes; then
12424 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12426 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12432 LINE=`grep "^wxUSE_SPINBTN
=" ${wx_arg_cache_file}`
12433 if test "x
$LINE" != x ; then
12434 eval "DEFAULT_
$LINE"
12440 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12444 eval "$wx_cv_use_spinbtn"
12445 if test "x$cache" = xyes
; then
12446 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12449 if test x
"$enablestring" = xdisable
; then
12450 if test $wxUSE_SPINBTN = yes; then
12456 result
=$wxUSE_SPINBTN
12459 echo "$as_me:$LINENO: result: $result" >&5
12460 echo "${ECHO_T}$result" >&6
12464 defaultval
=$wxUSE_ALL_FEATURES
12465 if test -z "$defaultval"; then
12466 if test x
"$enablestring" = xdisable
; then
12473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12474 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
12475 # Check whether --enable-spinctrl or --disable-spinctrl was given.
12476 if test "${enable_spinctrl+set}" = set; then
12477 enableval
="$enable_spinctrl"
12479 if test "$enableval" = yes; then
12480 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
12482 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
12488 LINE
=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12489 if test "x$LINE" != x
; then
12490 eval "DEFAULT_$LINE"
12496 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12500 eval "$wx_cv_use_spinctrl"
12501 if test "x$cache" = xyes; then
12502 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
12505 if test x"$enablestring" = xdisable; then
12506 if test $wxUSE_SPINCTRL = yes; then
12512 result=$wxUSE_SPINCTRL
12515 echo "$as_me:$LINENO: result: $result" >&5
12516 echo "${ECHO_T}$result" >&6
12520 defaultval=$wxUSE_ALL_FEATURES
12521 if test -z "$defaultval"; then
12522 if test x"$enablestring" = xdisable; then
12529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12530 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
12531 # Check whether --enable-splitter or --disable-splitter was given.
12532 if test "${enable_splitter+set}" = set; then
12533 enableval="$enable_splitter"
12535 if test "$enableval" = yes; then
12536 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
12538 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
12544 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12545 if test "x$LINE" != x ; then
12546 eval "DEFAULT_$LINE"
12552 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12556 eval "$wx_cv_use_splitter"
12557 if test "x
$cache" = xyes; then
12558 echo "wxUSE_SPLITTER
=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
12561 if test x"$enablestring" = xdisable; then
12562 if test $wxUSE_SPLITTER = yes; then
12568 result=$wxUSE_SPLITTER
12571 echo "$as_me:$LINENO: result
: $result" >&5
12572 echo "${ECHO_T}$result" >&6
12576 defaultval=$wxUSE_ALL_FEATURES
12577 if test -z "$defaultval"; then
12578 if test x"$enablestring" = xdisable; then
12585 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
12586 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6
12587 # Check whether --enable-statbmp or --disable-statbmp was given.
12588 if test "${enable_statbmp+set}" = set; then
12589 enableval="$enable_statbmp"
12591 if test "$enableval" = yes; then
12592 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12594 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12600 LINE=`grep "^wxUSE_STATBMP
=" ${wx_arg_cache_file}`
12601 if test "x
$LINE" != x ; then
12602 eval "DEFAULT_
$LINE"
12608 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12612 eval "$wx_cv_use_statbmp"
12613 if test "x$cache" = xyes
; then
12614 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
12617 if test x
"$enablestring" = xdisable
; then
12618 if test $wxUSE_STATBMP = yes; then
12624 result
=$wxUSE_STATBMP
12627 echo "$as_me:$LINENO: result: $result" >&5
12628 echo "${ECHO_T}$result" >&6
12632 defaultval
=$wxUSE_ALL_FEATURES
12633 if test -z "$defaultval"; then
12634 if test x
"$enablestring" = xdisable
; then
12641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12642 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
12643 # Check whether --enable-statbox or --disable-statbox was given.
12644 if test "${enable_statbox+set}" = set; then
12645 enableval
="$enable_statbox"
12647 if test "$enableval" = yes; then
12648 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
12650 wx_cv_use_statbox
='wxUSE_STATBOX=no'
12656 LINE
=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12657 if test "x$LINE" != x
; then
12658 eval "DEFAULT_$LINE"
12664 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12668 eval "$wx_cv_use_statbox"
12669 if test "x$cache" = xyes; then
12670 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
12673 if test x"$enablestring" = xdisable; then
12674 if test $wxUSE_STATBOX = yes; then
12680 result=$wxUSE_STATBOX
12683 echo "$as_me:$LINENO: result: $result" >&5
12684 echo "${ECHO_T}$result" >&6
12688 defaultval=$wxUSE_ALL_FEATURES
12689 if test -z "$defaultval"; then
12690 if test x"$enablestring" = xdisable; then
12697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12698 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
12699 # Check whether --enable-statline or --disable-statline was given.
12700 if test "${enable_statline+set}" = set; then
12701 enableval="$enable_statline"
12703 if test "$enableval" = yes; then
12704 wx_cv_use_statline='wxUSE_STATLINE
=yes'
12706 wx_cv_use_statline='wxUSE_STATLINE
=no
'
12712 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12713 if test "x$LINE" != x ; then
12714 eval "DEFAULT_$LINE"
12720 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12724 eval "$wx_cv_use_statline"
12725 if test "x
$cache" = xyes; then
12726 echo "wxUSE_STATLINE
=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_STATLINE = yes; then
12736 result=$wxUSE_STATLINE
12739 echo "$as_me:$LINENO: result
: $result" >&5
12740 echo "${ECHO_T}$result" >&6
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12753 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
12754 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6
12755 # Check whether --enable-stattext or --disable-stattext was given.
12756 if test "${enable_stattext+set}" = set; then
12757 enableval="$enable_stattext"
12759 if test "$enableval" = yes; then
12760 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12762 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12768 LINE=`grep "^wxUSE_STATTEXT
=" ${wx_arg_cache_file}`
12769 if test "x
$LINE" != x ; then
12770 eval "DEFAULT_
$LINE"
12776 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12780 eval "$wx_cv_use_stattext"
12781 if test "x$cache" = xyes
; then
12782 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
12785 if test x
"$enablestring" = xdisable
; then
12786 if test $wxUSE_STATTEXT = yes; then
12792 result
=$wxUSE_STATTEXT
12795 echo "$as_me:$LINENO: result: $result" >&5
12796 echo "${ECHO_T}$result" >&6
12800 defaultval
=$wxUSE_ALL_FEATURES
12801 if test -z "$defaultval"; then
12802 if test x
"$enablestring" = xdisable
; then
12809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12810 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
12811 # Check whether --enable-statusbar or --disable-statusbar was given.
12812 if test "${enable_statusbar+set}" = set; then
12813 enableval
="$enable_statusbar"
12815 if test "$enableval" = yes; then
12816 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
12818 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
12824 LINE
=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12825 if test "x$LINE" != x
; then
12826 eval "DEFAULT_$LINE"
12832 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12836 eval "$wx_cv_use_statusbar"
12837 if test "x$cache" = xyes; then
12838 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
12841 if test x"$enablestring" = xdisable; then
12842 if test $wxUSE_STATUSBAR = yes; then
12848 result=$wxUSE_STATUSBAR
12851 echo "$as_me:$LINENO: result: $result" >&5
12852 echo "${ECHO_T}$result" >&6
12856 defaultval=$wxUSE_ALL_FEATURES
12857 if test -z "$defaultval"; then
12858 if test x"$enablestring" = xdisable; then
12865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12866 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
12867 # Check whether --enable-tabdialog or --disable-tabdialog was given.
12868 if test "${enable_tabdialog+set}" = set; then
12869 enableval="$enable_tabdialog"
12871 if test "$enableval" = yes; then
12872 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
12874 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
12880 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12881 if test "x$LINE" != x ; then
12882 eval "DEFAULT_$LINE"
12888 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12892 eval "$wx_cv_use_tabdialog"
12893 if test "x
$cache" = xyes; then
12894 echo "wxUSE_TAB_DIALOG
=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
12897 if test x"$enablestring" = xdisable; then
12898 if test $wxUSE_TAB_DIALOG = yes; then
12904 result=$wxUSE_TAB_DIALOG
12907 echo "$as_me:$LINENO: result
: $result" >&5
12908 echo "${ECHO_T}$result" >&6
12912 defaultval=$wxUSE_ALL_FEATURES
12913 if test -z "$defaultval"; then
12914 if test x"$enablestring" = xdisable; then
12921 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
12922 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6
12923 # Check whether --enable-taskbaricon or --disable-taskbaricon was given.
12924 if test "${enable_taskbaricon+set}" = set; then
12925 enableval="$enable_taskbaricon"
12927 if test "$enableval" = yes; then
12928 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12930 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12936 LINE=`grep "^wxUSE_TASKBARICON
=" ${wx_arg_cache_file}`
12937 if test "x
$LINE" != x ; then
12938 eval "DEFAULT_
$LINE"
12944 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12948 eval "$wx_cv_use_taskbaricon"
12949 if test "x$cache" = xyes
; then
12950 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
12953 if test x
"$enablestring" = xdisable
; then
12954 if test $wxUSE_TASKBARICON = yes; then
12960 result
=$wxUSE_TASKBARICON
12963 echo "$as_me:$LINENO: result: $result" >&5
12964 echo "${ECHO_T}$result" >&6
12968 defaultval
=$wxUSE_ALL_FEATURES
12969 if test -z "$defaultval"; then
12970 if test x
"$enablestring" = xdisable
; then
12977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12978 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
12979 # Check whether --enable-textctrl or --disable-textctrl was given.
12980 if test "${enable_textctrl+set}" = set; then
12981 enableval
="$enable_textctrl"
12983 if test "$enableval" = yes; then
12984 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
12986 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
12992 LINE
=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12993 if test "x$LINE" != x
; then
12994 eval "DEFAULT_$LINE"
13000 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13004 eval "$wx_cv_use_textctrl"
13005 if test "x$cache" = xyes; then
13006 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13009 if test x"$enablestring" = xdisable; then
13010 if test $wxUSE_TEXTCTRL = yes; then
13016 result=$wxUSE_TEXTCTRL
13019 echo "$as_me:$LINENO: result: $result" >&5
13020 echo "${ECHO_T}$result" >&6
13024 defaultval=$wxUSE_ALL_FEATURES
13025 if test -z "$defaultval"; then
13026 if test x"$enablestring" = xdisable; then
13033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13034 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
13035 # Check whether --enable-togglebtn or --disable-togglebtn was given.
13036 if test "${enable_togglebtn+set}" = set; then
13037 enableval="$enable_togglebtn"
13039 if test "$enableval" = yes; then
13040 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
13042 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
13048 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13049 if test "x$LINE" != x ; then
13050 eval "DEFAULT_$LINE"
13056 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13060 eval "$wx_cv_use_togglebtn"
13061 if test "x
$cache" = xyes; then
13062 echo "wxUSE_TOGGLEBTN
=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13065 if test x"$enablestring" = xdisable; then
13066 if test $wxUSE_TOGGLEBTN = yes; then
13072 result=$wxUSE_TOGGLEBTN
13075 echo "$as_me:$LINENO: result
: $result" >&5
13076 echo "${ECHO_T}$result" >&6
13080 defaultval=$wxUSE_ALL_FEATURES
13081 if test -z "$defaultval"; then
13082 if test x"$enablestring" = xdisable; then
13089 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbar" >&5
13090 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6
13091 # Check whether --enable-toolbar or --disable-toolbar was given.
13092 if test "${enable_toolbar+set}" = set; then
13093 enableval="$enable_toolbar"
13095 if test "$enableval" = yes; then
13096 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13098 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13104 LINE=`grep "^wxUSE_TOOLBAR
=" ${wx_arg_cache_file}`
13105 if test "x
$LINE" != x ; then
13106 eval "DEFAULT_
$LINE"
13112 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13116 eval "$wx_cv_use_toolbar"
13117 if test "x$cache" = xyes
; then
13118 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13121 if test x
"$enablestring" = xdisable
; then
13122 if test $wxUSE_TOOLBAR = yes; then
13128 result
=$wxUSE_TOOLBAR
13131 echo "$as_me:$LINENO: result: $result" >&5
13132 echo "${ECHO_T}$result" >&6
13136 defaultval
=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x
"$enablestring" = xdisable
; then
13145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13146 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
13147 # Check whether --enable-tbarnative or --disable-tbarnative was given.
13148 if test "${enable_tbarnative+set}" = set; then
13149 enableval
="$enable_tbarnative"
13151 if test "$enableval" = yes; then
13152 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
13154 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
13160 LINE
=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13161 if test "x$LINE" != x
; then
13162 eval "DEFAULT_$LINE"
13168 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13172 eval "$wx_cv_use_tbarnative"
13173 if test "x$cache" = xyes; then
13174 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13177 if test x"$enablestring" = xdisable; then
13178 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13184 result=$wxUSE_TOOLBAR_NATIVE
13187 echo "$as_me:$LINENO: result: $result" >&5
13188 echo "${ECHO_T}$result" >&6
13192 defaultval=$wxUSE_ALL_FEATURES
13193 if test -z "$defaultval"; then
13194 if test x"$enablestring" = xdisable; then
13201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13202 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
13203 # Check whether --enable-treebook or --disable-treebook was given.
13204 if test "${enable_treebook+set}" = set; then
13205 enableval="$enable_treebook"
13207 if test "$enableval" = yes; then
13208 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
13210 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
13216 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13217 if test "x$LINE" != x ; then
13218 eval "DEFAULT_$LINE"
13224 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13228 eval "$wx_cv_use_treebook"
13229 if test "x
$cache" = xyes; then
13230 echo "wxUSE_TREEBOOK
=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13233 if test x"$enablestring" = xdisable; then
13234 if test $wxUSE_TREEBOOK = yes; then
13240 result=$wxUSE_TREEBOOK
13243 echo "$as_me:$LINENO: result
: $result" >&5
13244 echo "${ECHO_T}$result" >&6
13248 defaultval=$wxUSE_ALL_FEATURES
13249 if test -z "$defaultval"; then
13250 if test x"$enablestring" = xdisable; then
13257 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
13258 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6
13259 # Check whether --enable-toolbook or --disable-toolbook was given.
13260 if test "${enable_toolbook+set}" = set; then
13261 enableval="$enable_toolbook"
13263 if test "$enableval" = yes; then
13264 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13266 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13272 LINE=`grep "^wxUSE_TOOLBOOK
=" ${wx_arg_cache_file}`
13273 if test "x
$LINE" != x ; then
13274 eval "DEFAULT_
$LINE"
13280 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13284 eval "$wx_cv_use_toolbook"
13285 if test "x$cache" = xyes
; then
13286 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13289 if test x
"$enablestring" = xdisable
; then
13290 if test $wxUSE_TOOLBOOK = yes; then
13296 result
=$wxUSE_TOOLBOOK
13299 echo "$as_me:$LINENO: result: $result" >&5
13300 echo "${ECHO_T}$result" >&6
13304 defaultval
=$wxUSE_ALL_FEATURES
13305 if test -z "$defaultval"; then
13306 if test x
"$enablestring" = xdisable
; then
13313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13314 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
13315 # Check whether --enable-treectrl or --disable-treectrl was given.
13316 if test "${enable_treectrl+set}" = set; then
13317 enableval
="$enable_treectrl"
13319 if test "$enableval" = yes; then
13320 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
13322 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
13328 LINE
=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13329 if test "x$LINE" != x
; then
13330 eval "DEFAULT_$LINE"
13336 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13340 eval "$wx_cv_use_treectrl"
13341 if test "x$cache" = xyes; then
13342 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13345 if test x"$enablestring" = xdisable; then
13346 if test $wxUSE_TREECTRL = yes; then
13352 result=$wxUSE_TREECTRL
13355 echo "$as_me:$LINENO: result: $result" >&5
13356 echo "${ECHO_T}$result" >&6
13360 defaultval=$wxUSE_ALL_FEATURES
13361 if test -z "$defaultval"; then
13362 if test x"$enablestring" = xdisable; then
13369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13370 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
13371 # Check whether --enable-tipwindow or --disable-tipwindow was given.
13372 if test "${enable_tipwindow+set}" = set; then
13373 enableval="$enable_tipwindow"
13375 if test "$enableval" = yes; then
13376 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
13378 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
13384 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13385 if test "x$LINE" != x ; then
13386 eval "DEFAULT_$LINE"
13392 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13396 eval "$wx_cv_use_tipwindow"
13397 if test "x
$cache" = xyes; then
13398 echo "wxUSE_TIPWINDOW
=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13401 if test x"$enablestring" = xdisable; then
13402 if test $wxUSE_TIPWINDOW = yes; then
13408 result=$wxUSE_TIPWINDOW
13411 echo "$as_me:$LINENO: result
: $result" >&5
13412 echo "${ECHO_T}$result" >&6
13416 defaultval=$wxUSE_ALL_FEATURES
13417 if test -z "$defaultval"; then
13418 if test x"$enablestring" = xdisable; then
13425 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
13426 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6
13427 # Check whether --enable-popupwin or --disable-popupwin was given.
13428 if test "${enable_popupwin+set}" = set; then
13429 enableval="$enable_popupwin"
13431 if test "$enableval" = yes; then
13432 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13434 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13440 LINE=`grep "^wxUSE_POPUPWIN
=" ${wx_arg_cache_file}`
13441 if test "x
$LINE" != x ; then
13442 eval "DEFAULT_
$LINE"
13448 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13452 eval "$wx_cv_use_popupwin"
13453 if test "x$cache" = xyes
; then
13454 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
13457 if test x
"$enablestring" = xdisable
; then
13458 if test $wxUSE_POPUPWIN = yes; then
13464 result
=$wxUSE_POPUPWIN
13467 echo "$as_me:$LINENO: result: $result" >&5
13468 echo "${ECHO_T}$result" >&6
13474 defaultval
=$wxUSE_ALL_FEATURES
13475 if test -z "$defaultval"; then
13476 if test x
"$enablestring" = xdisable
; then
13483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13484 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
13485 # Check whether --enable-commondlg or --disable-commondlg was given.
13486 if test "${enable_commondlg+set}" = set; then
13487 enableval
="$enable_commondlg"
13489 if test "$enableval" = yes; then
13490 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
13492 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
13498 LINE
=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13499 if test "x$LINE" != x
; then
13500 eval "DEFAULT_$LINE"
13506 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13510 eval "$wx_cv_use_commondlg"
13511 if test "x$cache" = xyes; then
13512 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
13515 if test x"$enablestring" = xdisable; then
13516 if test $wxUSE_COMMONDLGS = yes; then
13522 result=$wxUSE_COMMONDLGS
13525 echo "$as_me:$LINENO: result: $result" >&5
13526 echo "${ECHO_T}$result" >&6
13530 defaultval=$wxUSE_ALL_FEATURES
13531 if test -z "$defaultval"; then
13532 if test x"$enablestring" = xdisable; then
13539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13540 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
13541 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
13542 if test "${enable_aboutdlg+set}" = set; then
13543 enableval="$enable_aboutdlg"
13545 if test "$enableval" = yes; then
13546 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
13548 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
13554 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13555 if test "x$LINE" != x ; then
13556 eval "DEFAULT_$LINE"
13562 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13566 eval "$wx_cv_use_aboutdlg"
13567 if test "x
$cache" = xyes; then
13568 echo "wxUSE_ABOUTDLG
=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
13571 if test x"$enablestring" = xdisable; then
13572 if test $wxUSE_ABOUTDLG = yes; then
13578 result=$wxUSE_ABOUTDLG
13581 echo "$as_me:$LINENO: result
: $result" >&5
13582 echo "${ECHO_T}$result" >&6
13586 defaultval=$wxUSE_ALL_FEATURES
13587 if test -z "$defaultval"; then
13588 if test x"$enablestring" = xdisable; then
13595 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
13596 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6
13597 # Check whether --enable-choicedlg or --disable-choicedlg was given.
13598 if test "${enable_choicedlg+set}" = set; then
13599 enableval="$enable_choicedlg"
13601 if test "$enableval" = yes; then
13602 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13604 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13610 LINE=`grep "^wxUSE_CHOICEDLG
=" ${wx_arg_cache_file}`
13611 if test "x
$LINE" != x ; then
13612 eval "DEFAULT_
$LINE"
13618 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13622 eval "$wx_cv_use_choicedlg"
13623 if test "x$cache" = xyes
; then
13624 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
13627 if test x
"$enablestring" = xdisable
; then
13628 if test $wxUSE_CHOICEDLG = yes; then
13634 result
=$wxUSE_CHOICEDLG
13637 echo "$as_me:$LINENO: result: $result" >&5
13638 echo "${ECHO_T}$result" >&6
13642 defaultval
=$wxUSE_ALL_FEATURES
13643 if test -z "$defaultval"; then
13644 if test x
"$enablestring" = xdisable
; then
13651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13652 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
13653 # Check whether --enable-coldlg or --disable-coldlg was given.
13654 if test "${enable_coldlg+set}" = set; then
13655 enableval
="$enable_coldlg"
13657 if test "$enableval" = yes; then
13658 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
13660 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
13666 LINE
=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13667 if test "x$LINE" != x
; then
13668 eval "DEFAULT_$LINE"
13674 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13678 eval "$wx_cv_use_coldlg"
13679 if test "x$cache" = xyes; then
13680 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
13683 if test x"$enablestring" = xdisable; then
13684 if test $wxUSE_COLOURDLG = yes; then
13690 result=$wxUSE_COLOURDLG
13693 echo "$as_me:$LINENO: result: $result" >&5
13694 echo "${ECHO_T}$result" >&6
13698 defaultval=$wxUSE_ALL_FEATURES
13699 if test -z "$defaultval"; then
13700 if test x"$enablestring" = xdisable; then
13707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13708 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
13709 # Check whether --enable-filedlg or --disable-filedlg was given.
13710 if test "${enable_filedlg+set}" = set; then
13711 enableval="$enable_filedlg"
13713 if test "$enableval" = yes; then
13714 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
13716 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
13722 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13723 if test "x$LINE" != x ; then
13724 eval "DEFAULT_$LINE"
13730 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13734 eval "$wx_cv_use_filedlg"
13735 if test "x
$cache" = xyes; then
13736 echo "wxUSE_FILEDLG
=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
13739 if test x"$enablestring" = xdisable; then
13740 if test $wxUSE_FILEDLG = yes; then
13746 result=$wxUSE_FILEDLG
13749 echo "$as_me:$LINENO: result
: $result" >&5
13750 echo "${ECHO_T}$result" >&6
13754 defaultval=$wxUSE_ALL_FEATURES
13755 if test -z "$defaultval"; then
13756 if test x"$enablestring" = xdisable; then
13763 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
13764 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6
13765 # Check whether --enable-finddlg or --disable-finddlg was given.
13766 if test "${enable_finddlg+set}" = set; then
13767 enableval="$enable_finddlg"
13769 if test "$enableval" = yes; then
13770 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13772 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13778 LINE=`grep "^wxUSE_FINDREPLDLG
=" ${wx_arg_cache_file}`
13779 if test "x
$LINE" != x ; then
13780 eval "DEFAULT_
$LINE"
13786 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13790 eval "$wx_cv_use_finddlg"
13791 if test "x$cache" = xyes
; then
13792 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
13795 if test x
"$enablestring" = xdisable
; then
13796 if test $wxUSE_FINDREPLDLG = yes; then
13802 result
=$wxUSE_FINDREPLDLG
13805 echo "$as_me:$LINENO: result: $result" >&5
13806 echo "${ECHO_T}$result" >&6
13810 defaultval
=$wxUSE_ALL_FEATURES
13811 if test -z "$defaultval"; then
13812 if test x
"$enablestring" = xdisable
; then
13819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13820 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
13821 # Check whether --enable-fontdlg or --disable-fontdlg was given.
13822 if test "${enable_fontdlg+set}" = set; then
13823 enableval
="$enable_fontdlg"
13825 if test "$enableval" = yes; then
13826 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
13828 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
13834 LINE
=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13835 if test "x$LINE" != x
; then
13836 eval "DEFAULT_$LINE"
13842 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13846 eval "$wx_cv_use_fontdlg"
13847 if test "x$cache" = xyes; then
13848 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
13851 if test x"$enablestring" = xdisable; then
13852 if test $wxUSE_FONTDLG = yes; then
13858 result=$wxUSE_FONTDLG
13861 echo "$as_me:$LINENO: result: $result" >&5
13862 echo "${ECHO_T}$result" >&6
13866 defaultval=$wxUSE_ALL_FEATURES
13867 if test -z "$defaultval"; then
13868 if test x"$enablestring" = xdisable; then
13875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13876 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
13877 # Check whether --enable-dirdlg or --disable-dirdlg was given.
13878 if test "${enable_dirdlg+set}" = set; then
13879 enableval="$enable_dirdlg"
13881 if test "$enableval" = yes; then
13882 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
13884 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
13890 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13891 if test "x$LINE" != x ; then
13892 eval "DEFAULT_$LINE"
13898 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13902 eval "$wx_cv_use_dirdlg"
13903 if test "x
$cache" = xyes; then
13904 echo "wxUSE_DIRDLG
=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
13907 if test x"$enablestring" = xdisable; then
13908 if test $wxUSE_DIRDLG = yes; then
13914 result=$wxUSE_DIRDLG
13917 echo "$as_me:$LINENO: result
: $result" >&5
13918 echo "${ECHO_T}$result" >&6
13922 defaultval=$wxUSE_ALL_FEATURES
13923 if test -z "$defaultval"; then
13924 if test x"$enablestring" = xdisable; then
13931 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
13932 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6
13933 # Check whether --enable-msgdlg or --disable-msgdlg was given.
13934 if test "${enable_msgdlg+set}" = set; then
13935 enableval="$enable_msgdlg"
13937 if test "$enableval" = yes; then
13938 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13940 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13946 LINE=`grep "^wxUSE_MSGDLG
=" ${wx_arg_cache_file}`
13947 if test "x
$LINE" != x ; then
13948 eval "DEFAULT_
$LINE"
13954 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13958 eval "$wx_cv_use_msgdlg"
13959 if test "x$cache" = xyes
; then
13960 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
13963 if test x
"$enablestring" = xdisable
; then
13964 if test $wxUSE_MSGDLG = yes; then
13970 result
=$wxUSE_MSGDLG
13973 echo "$as_me:$LINENO: result: $result" >&5
13974 echo "${ECHO_T}$result" >&6
13978 defaultval
=$wxUSE_ALL_FEATURES
13979 if test -z "$defaultval"; then
13980 if test x
"$enablestring" = xdisable
; then
13987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13988 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
13989 # Check whether --enable-numberdlg or --disable-numberdlg was given.
13990 if test "${enable_numberdlg+set}" = set; then
13991 enableval
="$enable_numberdlg"
13993 if test "$enableval" = yes; then
13994 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
13996 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
14002 LINE
=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14003 if test "x$LINE" != x
; then
14004 eval "DEFAULT_$LINE"
14010 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14014 eval "$wx_cv_use_numberdlg"
14015 if test "x$cache" = xyes; then
14016 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14019 if test x"$enablestring" = xdisable; then
14020 if test $wxUSE_NUMBERDLG = yes; then
14026 result=$wxUSE_NUMBERDLG
14029 echo "$as_me:$LINENO: result: $result" >&5
14030 echo "${ECHO_T}$result" >&6
14034 defaultval=$wxUSE_ALL_FEATURES
14035 if test -z "$defaultval"; then
14036 if test x"$enablestring" = xdisable; then
14043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14044 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
14045 # Check whether --enable-splash or --disable-splash was given.
14046 if test "${enable_splash+set}" = set; then
14047 enableval="$enable_splash"
14049 if test "$enableval" = yes; then
14050 wx_cv_use_splash='wxUSE_SPLASH
=yes'
14052 wx_cv_use_splash='wxUSE_SPLASH
=no
'
14058 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14059 if test "x$LINE" != x ; then
14060 eval "DEFAULT_$LINE"
14066 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14070 eval "$wx_cv_use_splash"
14071 if test "x
$cache" = xyes; then
14072 echo "wxUSE_SPLASH
=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14075 if test x"$enablestring" = xdisable; then
14076 if test $wxUSE_SPLASH = yes; then
14082 result=$wxUSE_SPLASH
14085 echo "$as_me:$LINENO: result
: $result" >&5
14086 echo "${ECHO_T}$result" >&6
14090 defaultval=$wxUSE_ALL_FEATURES
14091 if test -z "$defaultval"; then
14092 if test x"$enablestring" = xdisable; then
14099 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
14100 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6
14101 # Check whether --enable-textdlg or --disable-textdlg was given.
14102 if test "${enable_textdlg+set}" = set; then
14103 enableval="$enable_textdlg"
14105 if test "$enableval" = yes; then
14106 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14108 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14114 LINE=`grep "^wxUSE_TEXTDLG
=" ${wx_arg_cache_file}`
14115 if test "x
$LINE" != x ; then
14116 eval "DEFAULT_
$LINE"
14122 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14126 eval "$wx_cv_use_textdlg"
14127 if test "x$cache" = xyes
; then
14128 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14131 if test x
"$enablestring" = xdisable
; then
14132 if test $wxUSE_TEXTDLG = yes; then
14138 result
=$wxUSE_TEXTDLG
14141 echo "$as_me:$LINENO: result: $result" >&5
14142 echo "${ECHO_T}$result" >&6
14146 defaultval
=$wxUSE_ALL_FEATURES
14147 if test -z "$defaultval"; then
14148 if test x
"$enablestring" = xdisable
; then
14155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14156 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
14157 # Check whether --enable-tipdlg or --disable-tipdlg was given.
14158 if test "${enable_tipdlg+set}" = set; then
14159 enableval
="$enable_tipdlg"
14161 if test "$enableval" = yes; then
14162 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
14164 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
14170 LINE
=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14171 if test "x$LINE" != x
; then
14172 eval "DEFAULT_$LINE"
14178 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14182 eval "$wx_cv_use_tipdlg"
14183 if test "x$cache" = xyes; then
14184 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14187 if test x"$enablestring" = xdisable; then
14188 if test $wxUSE_STARTUP_TIPS = yes; then
14194 result=$wxUSE_STARTUP_TIPS
14197 echo "$as_me:$LINENO: result: $result" >&5
14198 echo "${ECHO_T}$result" >&6
14202 defaultval=$wxUSE_ALL_FEATURES
14203 if test -z "$defaultval"; then
14204 if test x"$enablestring" = xdisable; then
14211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14212 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
14213 # Check whether --enable-progressdlg or --disable-progressdlg was given.
14214 if test "${enable_progressdlg+set}" = set; then
14215 enableval="$enable_progressdlg"
14217 if test "$enableval" = yes; then
14218 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
14220 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
14226 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14227 if test "x$LINE" != x ; then
14228 eval "DEFAULT_$LINE"
14234 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14238 eval "$wx_cv_use_progressdlg"
14239 if test "x
$cache" = xyes; then
14240 echo "wxUSE_PROGRESSDLG
=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14243 if test x"$enablestring" = xdisable; then
14244 if test $wxUSE_PROGRESSDLG = yes; then
14250 result=$wxUSE_PROGRESSDLG
14253 echo "$as_me:$LINENO: result
: $result" >&5
14254 echo "${ECHO_T}$result" >&6
14258 defaultval=$wxUSE_ALL_FEATURES
14259 if test -z "$defaultval"; then
14260 if test x"$enablestring" = xdisable; then
14267 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
14268 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6
14269 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
14270 if test "${enable_wizarddlg+set}" = set; then
14271 enableval="$enable_wizarddlg"
14273 if test "$enableval" = yes; then
14274 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14276 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14282 LINE=`grep "^wxUSE_WIZARDDLG
=" ${wx_arg_cache_file}`
14283 if test "x
$LINE" != x ; then
14284 eval "DEFAULT_
$LINE"
14290 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14294 eval "$wx_cv_use_wizarddlg"
14295 if test "x$cache" = xyes
; then
14296 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14299 if test x
"$enablestring" = xdisable
; then
14300 if test $wxUSE_WIZARDDLG = yes; then
14306 result
=$wxUSE_WIZARDDLG
14309 echo "$as_me:$LINENO: result: $result" >&5
14310 echo "${ECHO_T}$result" >&6
14316 defaultval
=$wxUSE_ALL_FEATURES
14317 if test -z "$defaultval"; then
14318 if test x
"$enablestring" = xdisable
; then
14325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14326 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
14327 # Check whether --enable-menus or --disable-menus was given.
14328 if test "${enable_menus+set}" = set; then
14329 enableval
="$enable_menus"
14331 if test "$enableval" = yes; then
14332 wx_cv_use_menus
='wxUSE_MENUS=yes'
14334 wx_cv_use_menus
='wxUSE_MENUS=no'
14340 LINE
=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14341 if test "x$LINE" != x
; then
14342 eval "DEFAULT_$LINE"
14348 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14352 eval "$wx_cv_use_menus"
14353 if test "x$cache" = xyes; then
14354 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14357 if test x"$enablestring" = xdisable; then
14358 if test $wxUSE_MENUS = yes; then
14364 result=$wxUSE_MENUS
14367 echo "$as_me:$LINENO: result: $result" >&5
14368 echo "${ECHO_T}$result" >&6
14372 defaultval=$wxUSE_ALL_FEATURES
14373 if test -z "$defaultval"; then
14374 if test x"$enablestring" = xdisable; then
14381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14382 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
14383 # Check whether --enable-miniframe or --disable-miniframe was given.
14384 if test "${enable_miniframe+set}" = set; then
14385 enableval="$enable_miniframe"
14387 if test "$enableval" = yes; then
14388 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
14390 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
14396 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14397 if test "x$LINE" != x ; then
14398 eval "DEFAULT_$LINE"
14404 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14408 eval "$wx_cv_use_miniframe"
14409 if test "x
$cache" = xyes; then
14410 echo "wxUSE_MINIFRAME
=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14413 if test x"$enablestring" = xdisable; then
14414 if test $wxUSE_MINIFRAME = yes; then
14420 result=$wxUSE_MINIFRAME
14423 echo "$as_me:$LINENO: result
: $result" >&5
14424 echo "${ECHO_T}$result" >&6
14428 defaultval=$wxUSE_ALL_FEATURES
14429 if test -z "$defaultval"; then
14430 if test x"$enablestring" = xdisable; then
14437 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
14438 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6
14439 # Check whether --enable-tooltips or --disable-tooltips was given.
14440 if test "${enable_tooltips+set}" = set; then
14441 enableval="$enable_tooltips"
14443 if test "$enableval" = yes; then
14444 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14446 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14452 LINE=`grep "^wxUSE_TOOLTIPS
=" ${wx_arg_cache_file}`
14453 if test "x
$LINE" != x ; then
14454 eval "DEFAULT_
$LINE"
14460 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14464 eval "$wx_cv_use_tooltips"
14465 if test "x$cache" = xyes
; then
14466 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
14469 if test x
"$enablestring" = xdisable
; then
14470 if test $wxUSE_TOOLTIPS = yes; then
14476 result
=$wxUSE_TOOLTIPS
14479 echo "$as_me:$LINENO: result: $result" >&5
14480 echo "${ECHO_T}$result" >&6
14484 defaultval
=$wxUSE_ALL_FEATURES
14485 if test -z "$defaultval"; then
14486 if test x
"$enablestring" = xdisable
; then
14493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14494 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
14495 # Check whether --enable-splines or --disable-splines was given.
14496 if test "${enable_splines+set}" = set; then
14497 enableval
="$enable_splines"
14499 if test "$enableval" = yes; then
14500 wx_cv_use_splines
='wxUSE_SPLINES=yes'
14502 wx_cv_use_splines
='wxUSE_SPLINES=no'
14508 LINE
=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14509 if test "x$LINE" != x
; then
14510 eval "DEFAULT_$LINE"
14516 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14520 eval "$wx_cv_use_splines"
14521 if test "x$cache" = xyes; then
14522 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
14525 if test x"$enablestring" = xdisable; then
14526 if test $wxUSE_SPLINES = yes; then
14532 result=$wxUSE_SPLINES
14535 echo "$as_me:$LINENO: result: $result" >&5
14536 echo "${ECHO_T}$result" >&6
14540 defaultval=$wxUSE_ALL_FEATURES
14541 if test -z "$defaultval"; then
14542 if test x"$enablestring" = xdisable; then
14549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14550 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
14551 # Check whether --enable-mousewheel or --disable-mousewheel was given.
14552 if test "${enable_mousewheel+set}" = set; then
14553 enableval="$enable_mousewheel"
14555 if test "$enableval" = yes; then
14556 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
14558 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
14564 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14565 if test "x$LINE" != x ; then
14566 eval "DEFAULT_$LINE"
14572 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14576 eval "$wx_cv_use_mousewheel"
14577 if test "x
$cache" = xyes; then
14578 echo "wxUSE_MOUSEWHEEL
=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
14581 if test x"$enablestring" = xdisable; then
14582 if test $wxUSE_MOUSEWHEEL = yes; then
14588 result=$wxUSE_MOUSEWHEEL
14591 echo "$as_me:$LINENO: result
: $result" >&5
14592 echo "${ECHO_T}$result" >&6
14596 defaultval=$wxUSE_ALL_FEATURES
14597 if test -z "$defaultval"; then
14598 if test x"$enablestring" = xdisable; then
14605 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
14606 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6
14607 # Check whether --enable-validators or --disable-validators was given.
14608 if test "${enable_validators+set}" = set; then
14609 enableval="$enable_validators"
14611 if test "$enableval" = yes; then
14612 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14614 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14620 LINE=`grep "^wxUSE_VALIDATORS
=" ${wx_arg_cache_file}`
14621 if test "x
$LINE" != x ; then
14622 eval "DEFAULT_
$LINE"
14628 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14632 eval "$wx_cv_use_validators"
14633 if test "x$cache" = xyes
; then
14634 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
14637 if test x
"$enablestring" = xdisable
; then
14638 if test $wxUSE_VALIDATORS = yes; then
14644 result
=$wxUSE_VALIDATORS
14647 echo "$as_me:$LINENO: result: $result" >&5
14648 echo "${ECHO_T}$result" >&6
14652 defaultval
=$wxUSE_ALL_FEATURES
14653 if test -z "$defaultval"; then
14654 if test x
"$enablestring" = xdisable
; then
14661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14662 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
14663 # Check whether --enable-busyinfo or --disable-busyinfo was given.
14664 if test "${enable_busyinfo+set}" = set; then
14665 enableval
="$enable_busyinfo"
14667 if test "$enableval" = yes; then
14668 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
14670 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
14676 LINE
=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14677 if test "x$LINE" != x
; then
14678 eval "DEFAULT_$LINE"
14684 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14688 eval "$wx_cv_use_busyinfo"
14689 if test "x$cache" = xyes; then
14690 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
14693 if test x"$enablestring" = xdisable; then
14694 if test $wxUSE_BUSYINFO = yes; then
14700 result=$wxUSE_BUSYINFO
14703 echo "$as_me:$LINENO: result: $result" >&5
14704 echo "${ECHO_T}$result" >&6
14708 defaultval=$wxUSE_ALL_FEATURES
14709 if test -z "$defaultval"; then
14710 if test x"$enablestring" = xdisable; then
14717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14718 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
14719 # Check whether --enable-joystick or --disable-joystick was given.
14720 if test "${enable_joystick+set}" = set; then
14721 enableval="$enable_joystick"
14723 if test "$enableval" = yes; then
14724 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
14726 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
14732 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14733 if test "x$LINE" != x ; then
14734 eval "DEFAULT_$LINE"
14740 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14744 eval "$wx_cv_use_joystick"
14745 if test "x
$cache" = xyes; then
14746 echo "wxUSE_JOYSTICK
=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
14749 if test x"$enablestring" = xdisable; then
14750 if test $wxUSE_JOYSTICK = yes; then
14756 result=$wxUSE_JOYSTICK
14759 echo "$as_me:$LINENO: result
: $result" >&5
14760 echo "${ECHO_T}$result" >&6
14764 defaultval=$wxUSE_ALL_FEATURES
14765 if test -z "$defaultval"; then
14766 if test x"$enablestring" = xdisable; then
14773 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
14774 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6
14775 # Check whether --enable-metafile or --disable-metafile was given.
14776 if test "${enable_metafile+set}" = set; then
14777 enableval="$enable_metafile"
14779 if test "$enableval" = yes; then
14780 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14782 wx_cv_use_metafile='wxUSE_METAFILE=no'
14788 LINE=`grep "^wxUSE_METAFILE
=" ${wx_arg_cache_file}`
14789 if test "x
$LINE" != x ; then
14790 eval "DEFAULT_
$LINE"
14796 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14800 eval "$wx_cv_use_metafile"
14801 if test "x$cache" = xyes
; then
14802 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
14805 if test x
"$enablestring" = xdisable
; then
14806 if test $wxUSE_METAFILE = yes; then
14812 result
=$wxUSE_METAFILE
14815 echo "$as_me:$LINENO: result: $result" >&5
14816 echo "${ECHO_T}$result" >&6
14820 defaultval
=$wxUSE_ALL_FEATURES
14821 if test -z "$defaultval"; then
14822 if test x
"$enablestring" = xdisable
; then
14829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14830 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
14831 # Check whether --enable-dragimage or --disable-dragimage was given.
14832 if test "${enable_dragimage+set}" = set; then
14833 enableval
="$enable_dragimage"
14835 if test "$enableval" = yes; then
14836 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
14838 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
14844 LINE
=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14845 if test "x$LINE" != x
; then
14846 eval "DEFAULT_$LINE"
14852 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14856 eval "$wx_cv_use_dragimage"
14857 if test "x$cache" = xyes; then
14858 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
14861 if test x"$enablestring" = xdisable; then
14862 if test $wxUSE_DRAGIMAGE = yes; then
14868 result=$wxUSE_DRAGIMAGE
14871 echo "$as_me:$LINENO: result: $result" >&5
14872 echo "${ECHO_T}$result" >&6
14876 defaultval=$wxUSE_ALL_FEATURES
14877 if test -z "$defaultval"; then
14878 if test x"$enablestring" = xdisable; then
14885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14886 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
14887 # Check whether --enable-accessibility or --disable-accessibility was given.
14888 if test "${enable_accessibility+set}" = set; then
14889 enableval="$enable_accessibility"
14891 if test "$enableval" = yes; then
14892 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
14894 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
14900 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14901 if test "x$LINE" != x ; then
14902 eval "DEFAULT_$LINE"
14908 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14912 eval "$wx_cv_use_accessibility"
14913 if test "x
$cache" = xyes; then
14914 echo "wxUSE_ACCESSIBILITY
=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
14917 if test x"$enablestring" = xdisable; then
14918 if test $wxUSE_ACCESSIBILITY = yes; then
14924 result=$wxUSE_ACCESSIBILITY
14927 echo "$as_me:$LINENO: result
: $result" >&5
14928 echo "${ECHO_T}$result" >&6
14934 defaultval=$wxUSE_ALL_FEATURES
14935 if test -z "$defaultval"; then
14936 if test x"$enablestring" = xdisable; then
14943 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
14944 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6
14945 # Check whether --enable-palette or --disable-palette was given.
14946 if test "${enable_palette+set}" = set; then
14947 enableval="$enable_palette"
14949 if test "$enableval" = yes; then
14950 wx_cv_use_palette='wxUSE_PALETTE=yes'
14952 wx_cv_use_palette='wxUSE_PALETTE=no'
14958 LINE=`grep "^wxUSE_PALETTE
=" ${wx_arg_cache_file}`
14959 if test "x
$LINE" != x ; then
14960 eval "DEFAULT_
$LINE"
14966 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14970 eval "$wx_cv_use_palette"
14971 if test "x$cache" = xyes
; then
14972 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
14975 if test x
"$enablestring" = xdisable
; then
14976 if test $wxUSE_PALETTE = yes; then
14982 result
=$wxUSE_PALETTE
14985 echo "$as_me:$LINENO: result: $result" >&5
14986 echo "${ECHO_T}$result" >&6
14990 defaultval
=$wxUSE_ALL_FEATURES
14991 if test -z "$defaultval"; then
14992 if test x
"$enablestring" = xdisable
; then
14999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15000 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
15001 # Check whether --enable-image or --disable-image was given.
15002 if test "${enable_image+set}" = set; then
15003 enableval
="$enable_image"
15005 if test "$enableval" = yes; then
15006 wx_cv_use_image
='wxUSE_IMAGE=yes'
15008 wx_cv_use_image
='wxUSE_IMAGE=no'
15014 LINE
=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15015 if test "x$LINE" != x
; then
15016 eval "DEFAULT_$LINE"
15022 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15026 eval "$wx_cv_use_image"
15027 if test "x$cache" = xyes; then
15028 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15031 if test x"$enablestring" = xdisable; then
15032 if test $wxUSE_IMAGE = yes; then
15038 result=$wxUSE_IMAGE
15041 echo "$as_me:$LINENO: result: $result" >&5
15042 echo "${ECHO_T}$result" >&6
15046 defaultval=$wxUSE_ALL_FEATURES
15047 if test -z "$defaultval"; then
15048 if test x"$enablestring" = xdisable; then
15055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15056 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
15057 # Check whether --enable-gif or --disable-gif was given.
15058 if test "${enable_gif+set}" = set; then
15059 enableval="$enable_gif"
15061 if test "$enableval" = yes; then
15062 wx_cv_use_gif='wxUSE_GIF
=yes'
15064 wx_cv_use_gif='wxUSE_GIF
=no
'
15070 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15071 if test "x$LINE" != x ; then
15072 eval "DEFAULT_$LINE"
15078 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15082 eval "$wx_cv_use_gif"
15083 if test "x
$cache" = xyes; then
15084 echo "wxUSE_GIF
=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15087 if test x"$enablestring" = xdisable; then
15088 if test $wxUSE_GIF = yes; then
15097 echo "$as_me:$LINENO: result
: $result" >&5
15098 echo "${ECHO_T}$result" >&6
15102 defaultval=$wxUSE_ALL_FEATURES
15103 if test -z "$defaultval"; then
15104 if test x"$enablestring" = xdisable; then
15111 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
15112 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6
15113 # Check whether --enable-pcx or --disable-pcx was given.
15114 if test "${enable_pcx+set}" = set; then
15115 enableval="$enable_pcx"
15117 if test "$enableval" = yes; then
15118 wx_cv_use_pcx='wxUSE_PCX=yes'
15120 wx_cv_use_pcx='wxUSE_PCX=no'
15126 LINE=`grep "^wxUSE_PCX
=" ${wx_arg_cache_file}`
15127 if test "x
$LINE" != x ; then
15128 eval "DEFAULT_
$LINE"
15134 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15138 eval "$wx_cv_use_pcx"
15139 if test "x$cache" = xyes
; then
15140 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15143 if test x
"$enablestring" = xdisable
; then
15144 if test $wxUSE_PCX = yes; then
15153 echo "$as_me:$LINENO: result: $result" >&5
15154 echo "${ECHO_T}$result" >&6
15158 defaultval
=$wxUSE_ALL_FEATURES
15159 if test -z "$defaultval"; then
15160 if test x
"$enablestring" = xdisable
; then
15167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15168 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
15169 # Check whether --enable-tga or --disable-tga was given.
15170 if test "${enable_tga+set}" = set; then
15171 enableval
="$enable_tga"
15173 if test "$enableval" = yes; then
15174 wx_cv_use_tga
='wxUSE_TGA=yes'
15176 wx_cv_use_tga
='wxUSE_TGA=no'
15182 LINE
=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15183 if test "x$LINE" != x
; then
15184 eval "DEFAULT_$LINE"
15190 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15194 eval "$wx_cv_use_tga"
15195 if test "x$cache" = xyes; then
15196 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15199 if test x"$enablestring" = xdisable; then
15200 if test $wxUSE_TGA = yes; then
15209 echo "$as_me:$LINENO: result: $result" >&5
15210 echo "${ECHO_T}$result" >&6
15214 defaultval=$wxUSE_ALL_FEATURES
15215 if test -z "$defaultval"; then
15216 if test x"$enablestring" = xdisable; then
15223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15224 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
15225 # Check whether --enable-iff or --disable-iff was given.
15226 if test "${enable_iff+set}" = set; then
15227 enableval="$enable_iff"
15229 if test "$enableval" = yes; then
15230 wx_cv_use_iff='wxUSE_IFF
=yes'
15232 wx_cv_use_iff='wxUSE_IFF
=no
'
15238 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15239 if test "x$LINE" != x ; then
15240 eval "DEFAULT_$LINE"
15246 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15250 eval "$wx_cv_use_iff"
15251 if test "x
$cache" = xyes; then
15252 echo "wxUSE_IFF
=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15255 if test x"$enablestring" = xdisable; then
15256 if test $wxUSE_IFF = yes; then
15265 echo "$as_me:$LINENO: result
: $result" >&5
15266 echo "${ECHO_T}$result" >&6
15270 defaultval=$wxUSE_ALL_FEATURES
15271 if test -z "$defaultval"; then
15272 if test x"$enablestring" = xdisable; then
15279 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
15280 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6
15281 # Check whether --enable-pnm or --disable-pnm was given.
15282 if test "${enable_pnm+set}" = set; then
15283 enableval="$enable_pnm"
15285 if test "$enableval" = yes; then
15286 wx_cv_use_pnm='wxUSE_PNM=yes'
15288 wx_cv_use_pnm='wxUSE_PNM=no'
15294 LINE=`grep "^wxUSE_PNM
=" ${wx_arg_cache_file}`
15295 if test "x
$LINE" != x ; then
15296 eval "DEFAULT_
$LINE"
15302 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15306 eval "$wx_cv_use_pnm"
15307 if test "x$cache" = xyes
; then
15308 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15311 if test x
"$enablestring" = xdisable
; then
15312 if test $wxUSE_PNM = yes; then
15321 echo "$as_me:$LINENO: result: $result" >&5
15322 echo "${ECHO_T}$result" >&6
15326 defaultval
=$wxUSE_ALL_FEATURES
15327 if test -z "$defaultval"; then
15328 if test x
"$enablestring" = xdisable
; then
15335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15336 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
15337 # Check whether --enable-xpm or --disable-xpm was given.
15338 if test "${enable_xpm+set}" = set; then
15339 enableval
="$enable_xpm"
15341 if test "$enableval" = yes; then
15342 wx_cv_use_xpm
='wxUSE_XPM=yes'
15344 wx_cv_use_xpm
='wxUSE_XPM=no'
15350 LINE
=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15351 if test "x$LINE" != x
; then
15352 eval "DEFAULT_$LINE"
15358 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15362 eval "$wx_cv_use_xpm"
15363 if test "x$cache" = xyes; then
15364 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15367 if test x"$enablestring" = xdisable; then
15368 if test $wxUSE_XPM = yes; then
15377 echo "$as_me:$LINENO: result: $result" >&5
15378 echo "${ECHO_T}$result" >&6
15382 defaultval=$wxUSE_ALL_FEATURES
15383 if test -z "$defaultval"; then
15384 if test x"$enablestring" = xdisable; then
15391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15392 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
15393 # Check whether --enable-ico_cur or --disable-ico_cur was given.
15394 if test "${enable_ico_cur+set}" = set; then
15395 enableval="$enable_ico_cur"
15397 if test "$enableval" = yes; then
15398 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
15400 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
15406 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15407 if test "x$LINE" != x ; then
15408 eval "DEFAULT_$LINE"
15414 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15418 eval "$wx_cv_use_ico_cur"
15419 if test "x
$cache" = xyes; then
15420 echo "wxUSE_ICO_CUR
=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15423 if test x"$enablestring" = xdisable; then
15424 if test $wxUSE_ICO_CUR = yes; then
15430 result=$wxUSE_ICO_CUR
15433 echo "$as_me:$LINENO: result
: $result" >&5
15434 echo "${ECHO_T}$result" >&6
15440 defaultval=$wxUSE_ALL_FEATURES
15441 if test -z "$defaultval"; then
15442 if test x"$enablestring" = xdisable; then
15449 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
15450 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6
15451 # Check whether --enable-dccache or --disable-dccache was given.
15452 if test "${enable_dccache+set}" = set; then
15453 enableval="$enable_dccache"
15455 if test "$enableval" = yes; then
15456 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15458 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15464 LINE=`grep "^wxUSE_DC_CACHEING
=" ${wx_arg_cache_file}`
15465 if test "x
$LINE" != x ; then
15466 eval "DEFAULT_
$LINE"
15472 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15476 eval "$wx_cv_use_dccache"
15477 if test "x$cache" = xyes
; then
15478 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
15481 if test x
"$enablestring" = xdisable
; then
15482 if test $wxUSE_DC_CACHEING = yes; then
15488 result
=$wxUSE_DC_CACHEING
15491 echo "$as_me:$LINENO: result: $result" >&5
15492 echo "${ECHO_T}$result" >&6
15496 defaultval
=$wxUSE_ALL_FEATURES
15497 if test -z "$defaultval"; then
15498 if test x
"$enablestring" = xdisable
; then
15505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
15506 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6
15507 # Check whether --enable-ps-in-msw or --disable-ps-in-msw was given.
15508 if test "${enable_ps_in_msw+set}" = set; then
15509 enableval
="$enable_ps_in_msw"
15511 if test "$enableval" = yes; then
15512 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15514 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15520 LINE
=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
15521 if test "x$LINE" != x
; then
15522 eval "DEFAULT_$LINE"
15528 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15532 eval "$wx_cv_use_ps_in_msw"
15533 if test "x$cache" = xyes; then
15534 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
15537 if test x"$enablestring" = xdisable; then
15538 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
15544 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15547 echo "$as_me:$LINENO: result: $result" >&5
15548 echo "${ECHO_T}$result" >&6
15552 defaultval=$wxUSE_ALL_FEATURES
15553 if test -z "$defaultval"; then
15554 if test x"$enablestring" = xdisable; then
15561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
15562 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6
15563 # Check whether --enable-ownerdrawn or --disable-ownerdrawn was given.
15564 if test "${enable_ownerdrawn+set}" = set; then
15565 enableval="$enable_ownerdrawn"
15567 if test "$enableval" = yes; then
15568 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
15570 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
15576 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
15577 if test "x$LINE" != x ; then
15578 eval "DEFAULT_$LINE"
15584 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15588 eval "$wx_cv_use_ownerdrawn"
15589 if test "x
$cache" = xyes; then
15590 echo "wxUSE_OWNER_DRAWN
=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
15593 if test x"$enablestring" = xdisable; then
15594 if test $wxUSE_OWNER_DRAWN = yes; then
15600 result=$wxUSE_OWNER_DRAWN
15603 echo "$as_me:$LINENO: result
: $result" >&5
15604 echo "${ECHO_T}$result" >&6
15608 defaultval=$wxUSE_ALL_FEATURES
15609 if test -z "$defaultval"; then
15610 if test x"$enablestring" = xdisable; then
15617 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
15618 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6
15619 # Check whether --enable-uxtheme or --disable-uxtheme was given.
15620 if test "${enable_uxtheme+set}" = set; then
15621 enableval="$enable_uxtheme"
15623 if test "$enableval" = yes; then
15624 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15626 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15632 LINE=`grep "^wxUSE_UXTHEME
=" ${wx_arg_cache_file}`
15633 if test "x
$LINE" != x ; then
15634 eval "DEFAULT_
$LINE"
15640 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15644 eval "$wx_cv_use_uxtheme"
15645 if test "x$cache" = xyes
; then
15646 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
15649 if test x
"$enablestring" = xdisable
; then
15650 if test $wxUSE_UXTHEME = yes; then
15656 result
=$wxUSE_UXTHEME
15659 echo "$as_me:$LINENO: result: $result" >&5
15660 echo "${ECHO_T}$result" >&6
15664 defaultval
=$wxUSE_ALL_FEATURES
15665 if test -z "$defaultval"; then
15666 if test x
"$enablestring" = xdisable
; then
15673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
15674 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6
15675 # Check whether --enable-wxdib or --disable-wxdib was given.
15676 if test "${enable_wxdib+set}" = set; then
15677 enableval
="$enable_wxdib"
15679 if test "$enableval" = yes; then
15680 wx_cv_use_wxdib
='wxUSE_DIB=yes'
15682 wx_cv_use_wxdib
='wxUSE_DIB=no'
15688 LINE
=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
15689 if test "x$LINE" != x
; then
15690 eval "DEFAULT_$LINE"
15696 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15700 eval "$wx_cv_use_wxdib"
15701 if test "x$cache" = xyes; then
15702 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
15705 if test x"$enablestring" = xdisable; then
15706 if test $wxUSE_DIB = yes; then
15715 echo "$as_me:$LINENO: result: $result" >&5
15716 echo "${ECHO_T}$result" >&6
15722 echo "saving argument cache $wx_arg_cache_file"
15723 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15727 echo "$as_me:$LINENO: checking for toolkit" >&5
15728 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
15730 # In Wine, we need to default to MSW, not GTK or MOTIF
15731 if test "$wxUSE_WINE" = "yes"; then
15732 DEFAULT_DEFAULT_wxUSE_GTK=0
15733 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15734 DEFAULT_DEFAULT_wxUSE_MSW=1
15737 CXX=${CXX:-wineg++}
15741 if test "$wxUSE_GUI" = "yes"; then
15743 if test "$USE_BEOS" = 1; then
15744 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15745 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15746 { (exit 1); exit 1; }; }
15749 if test "$TOOLKIT_GIVEN" = 1; then
15750 for toolkit in `echo $ALL_TOOLKITS`; do
15752 eval "value=\$${var}"
15753 if test "x$value" = "xno"; then
15755 elif test "x$value" != "x"; then
15759 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15760 eval "wx${toolkit}_VERSION=$value"
15764 for toolkit in `echo $ALL_TOOLKITS`; do
15765 if test "$has_toolkit_in_cache" != 1; then
15766 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15768 var=DEFAULT_wxUSE_$toolkit
15770 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15771 if test "x$version" != "x"; then
15772 eval "wx${toolkit}_VERSION=$version"
15775 eval "wxUSE_$toolkit=\$${var}"
15779 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15780 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15781 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15784 *-pc-os2_emx | *-pc-os2-emx )
15785 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15788 case "$NUM_TOOLKITS" in
15792 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15793 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15794 { (exit 1); exit 1; }; }
15797 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15798 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15799 { (exit 1); exit 1; }; }
15802 # to be removed when --disable-gtk2 isn't needed
15803 if test "x$wxUSE_GTK2" = "xyes"; then
15805 elif test "x$wxUSE_GTK2" = "xno"; then
15809 for toolkit
in `echo $ALL_TOOLKITS`; do
15811 eval "value=\$${var}"
15812 if test "x$value" != x
; then
15813 cache_var
=CACHE_
$toolkit
15814 eval "cache=\$${cache_var}"
15815 if test "$cache" = 1; then
15816 echo "$var=$value" >> ${wx_arg_cache_file}
15817 eval "version=\$wx${toolkit}_VERSION"
15818 if test "x$version" != "x"; then
15819 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15822 if test "$value" = 1; then
15823 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15824 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15825 echo "${ECHO_T}$toolkit_echo" >&6
15830 if test "x$host_alias" != "x"; then
15831 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15832 echo "${ECHO_T}base ($host_alias hosted) only" >&6
15834 echo "$as_me:$LINENO: result: base only" >&5
15835 echo "${ECHO_T}base only" >&6
15840 cat >confcache
<<\_ACEOF
15841 # This file is a shell script that caches the results of configure
15842 # tests run on this system so they can be shared between configure
15843 # scripts and configure runs, see configure's option --config-cache.
15844 # It is not useful on other systems. If it contains results you don't
15845 # want to keep, you may remove or edit it.
15847 # config.status only pays attention to the cache file if you give it
15848 # the --recheck option to rerun configure.
15850 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15851 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15852 # following values.
15856 # The following way of writing the cache mishandles newlines in values,
15857 # but we know of no workaround that is simple, portable, and efficient.
15858 # So, don't put newlines in cache variables' values.
15859 # Ultrix sh set writes to stderr and can't be redirected directly,
15860 # and sets the high bit in the cache file unless we assign to the vars.
15863 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15865 # `set' does not quote correctly, so add quotes (double-quote
15866 # substitution turns \\\\ into \\, and sed turns \\ into \).
15869 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15872 # `set' quotes correctly as required by POSIX, so do not add quotes.
15874 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15881 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15883 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15885 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
15886 if test -w $cache_file; then
15887 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15888 cat confcache
>$cache_file
15890 echo "not updating unwritable cache $cache_file"
15900 ac_cpp
='$CPP $CPPFLAGS'
15901 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15902 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15903 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15904 if test -n "$ac_tool_prefix"; then
15905 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15906 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
15907 echo "$as_me:$LINENO: checking for $ac_word" >&5
15908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15909 if test "${ac_cv_prog_CC+set}" = set; then
15910 echo $ECHO_N "(cached) $ECHO_C" >&6
15912 if test -n "$CC"; then
15913 ac_cv_prog_CC
="$CC" # Let the user override the test.
15915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15916 for as_dir
in $PATH
15919 test -z "$as_dir" && as_dir
=.
15920 for ac_exec_ext
in '' $ac_executable_extensions; do
15921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15922 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
15923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15932 if test -n "$CC"; then
15933 echo "$as_me:$LINENO: result: $CC" >&5
15934 echo "${ECHO_T}$CC" >&6
15936 echo "$as_me:$LINENO: result: no" >&5
15937 echo "${ECHO_T}no" >&6
15941 if test -z "$ac_cv_prog_CC"; then
15943 # Extract the first word of "gcc", so it can be a program name with args.
15944 set dummy gcc
; ac_word
=$2
15945 echo "$as_me:$LINENO: checking for $ac_word" >&5
15946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15947 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15948 echo $ECHO_N "(cached) $ECHO_C" >&6
15950 if test -n "$ac_ct_CC"; then
15951 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15954 for as_dir
in $PATH
15957 test -z "$as_dir" && as_dir
=.
15958 for ac_exec_ext
in '' $ac_executable_extensions; do
15959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15960 ac_cv_prog_ac_ct_CC
="gcc"
15961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15969 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15970 if test -n "$ac_ct_CC"; then
15971 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15972 echo "${ECHO_T}$ac_ct_CC" >&6
15974 echo "$as_me:$LINENO: result: no" >&5
15975 echo "${ECHO_T}no" >&6
15980 CC
="$ac_cv_prog_CC"
15983 if test -z "$CC"; then
15984 if test -n "$ac_tool_prefix"; then
15985 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15986 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
15987 echo "$as_me:$LINENO: checking for $ac_word" >&5
15988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15989 if test "${ac_cv_prog_CC+set}" = set; then
15990 echo $ECHO_N "(cached) $ECHO_C" >&6
15992 if test -n "$CC"; then
15993 ac_cv_prog_CC
="$CC" # Let the user override the test.
15995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15996 for as_dir
in $PATH
15999 test -z "$as_dir" && as_dir
=.
16000 for ac_exec_ext
in '' $ac_executable_extensions; do
16001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16002 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16012 if test -n "$CC"; then
16013 echo "$as_me:$LINENO: result: $CC" >&5
16014 echo "${ECHO_T}$CC" >&6
16016 echo "$as_me:$LINENO: result: no" >&5
16017 echo "${ECHO_T}no" >&6
16021 if test -z "$ac_cv_prog_CC"; then
16023 # Extract the first word of "cc", so it can be a program name with args.
16024 set dummy cc
; ac_word
=$2
16025 echo "$as_me:$LINENO: checking for $ac_word" >&5
16026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16027 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16028 echo $ECHO_N "(cached) $ECHO_C" >&6
16030 if test -n "$ac_ct_CC"; then
16031 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16034 for as_dir
in $PATH
16037 test -z "$as_dir" && as_dir
=.
16038 for ac_exec_ext
in '' $ac_executable_extensions; do
16039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16040 ac_cv_prog_ac_ct_CC
="cc"
16041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16049 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16050 if test -n "$ac_ct_CC"; then
16051 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16052 echo "${ECHO_T}$ac_ct_CC" >&6
16054 echo "$as_me:$LINENO: result: no" >&5
16055 echo "${ECHO_T}no" >&6
16060 CC
="$ac_cv_prog_CC"
16064 if test -z "$CC"; then
16065 # Extract the first word of "cc", so it can be a program name with args.
16066 set dummy cc
; ac_word
=$2
16067 echo "$as_me:$LINENO: checking for $ac_word" >&5
16068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16069 if test "${ac_cv_prog_CC+set}" = set; then
16070 echo $ECHO_N "(cached) $ECHO_C" >&6
16072 if test -n "$CC"; then
16073 ac_cv_prog_CC
="$CC" # Let the user override the test.
16075 ac_prog_rejected
=no
16076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16077 for as_dir
in $PATH
16080 test -z "$as_dir" && as_dir
=.
16081 for ac_exec_ext
in '' $ac_executable_extensions; do
16082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16083 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16084 ac_prog_rejected
=yes
16088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16094 if test $ac_prog_rejected = yes; then
16095 # We found a bogon in the path, so make sure we never use it.
16096 set dummy
$ac_cv_prog_CC
16098 if test $# != 0; then
16099 # We chose a different compiler from the bogus one.
16100 # However, it has the same basename, so the bogon will be chosen
16101 # first if we set CC to just the basename; use the full file name.
16103 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16109 if test -n "$CC"; then
16110 echo "$as_me:$LINENO: result: $CC" >&5
16111 echo "${ECHO_T}$CC" >&6
16113 echo "$as_me:$LINENO: result: no" >&5
16114 echo "${ECHO_T}no" >&6
16118 if test -z "$CC"; then
16119 if test -n "$ac_tool_prefix"; then
16122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16123 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16124 echo "$as_me:$LINENO: checking for $ac_word" >&5
16125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16126 if test "${ac_cv_prog_CC+set}" = set; then
16127 echo $ECHO_N "(cached) $ECHO_C" >&6
16129 if test -n "$CC"; then
16130 ac_cv_prog_CC
="$CC" # Let the user override the test.
16132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16133 for as_dir
in $PATH
16136 test -z "$as_dir" && as_dir
=.
16137 for ac_exec_ext
in '' $ac_executable_extensions; do
16138 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16139 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16149 if test -n "$CC"; then
16150 echo "$as_me:$LINENO: result: $CC" >&5
16151 echo "${ECHO_T}$CC" >&6
16153 echo "$as_me:$LINENO: result: no" >&5
16154 echo "${ECHO_T}no" >&6
16157 test -n "$CC" && break
16160 if test -z "$CC"; then
16164 # Extract the first word of "$ac_prog", so it can be a program name with args.
16165 set dummy
$ac_prog; ac_word
=$2
16166 echo "$as_me:$LINENO: checking for $ac_word" >&5
16167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16168 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16169 echo $ECHO_N "(cached) $ECHO_C" >&6
16171 if test -n "$ac_ct_CC"; then
16172 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16175 for as_dir
in $PATH
16178 test -z "$as_dir" && as_dir
=.
16179 for ac_exec_ext
in '' $ac_executable_extensions; do
16180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16181 ac_cv_prog_ac_ct_CC
="$ac_prog"
16182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16190 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16191 if test -n "$ac_ct_CC"; then
16192 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16193 echo "${ECHO_T}$ac_ct_CC" >&6
16195 echo "$as_me:$LINENO: result: no" >&5
16196 echo "${ECHO_T}no" >&6
16199 test -n "$ac_ct_CC" && break
16208 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16209 See \`config.log' for more details." >&5
16210 echo "$as_me: error: no acceptable C compiler found in \$PATH
16211 See \`config.log' for more details." >&2;}
16212 { (exit 1); exit 1; }; }
16214 # Provide some information about the compiler.
16215 echo "$as_me:$LINENO:" \
16216 "checking for C compiler version" >&5
16217 ac_compiler
=`set X $ac_compile; echo $2`
16218 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
16219 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); }
16223 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
16224 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }
16228 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
16229 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); }
16234 cat >conftest.
$ac_ext <<_ACEOF
16237 cat confdefs.h
>>conftest.
$ac_ext
16238 cat >>conftest.
$ac_ext <<_ACEOF
16239 /* end confdefs.h. */
16249 ac_clean_files_save
=$ac_clean_files
16250 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
16251 # Try to create an executable without -o first, disregard a.out.
16252 # It will help us diagnose broken compilers, and finding out an intuition
16254 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16255 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
16256 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16257 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
16258 (eval $ac_link_default) 2>&5
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); }; then
16262 # Find the output, starting from the most likely. This scheme is
16263 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
16266 # Be careful to initialize this variable, since it used to be cached.
16267 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
16269 # b.out is created by i960 compilers.
16270 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
16272 test -f "$ac_file" || continue
16274 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
16277 # This is the source file.
16280 # We found the default executable, but exeext='' is most
16284 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16285 # FIXME: I believe we export ac_cv_exeext for Libtool,
16286 # but it would be cool to find out if it's true. Does anybody
16287 # maintain Libtool? --akim.
16288 export ac_cv_exeext
16295 echo "$as_me: failed program was:" >&5
16296 sed 's/^/| /' conftest.
$ac_ext >&5
16298 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16299 See \`config.log' for more details." >&5
16300 echo "$as_me: error: C compiler cannot create executables
16301 See \`config.log' for more details." >&2;}
16302 { (exit 77); exit 77; }; }
16305 ac_exeext
=$ac_cv_exeext
16306 echo "$as_me:$LINENO: result: $ac_file" >&5
16307 echo "${ECHO_T}$ac_file" >&6
16309 # Check the compiler produces executables we can run. If not, either
16310 # the compiler is broken, or we cross compile.
16311 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16312 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
16313 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16314 # If not cross compiling, check that we can run a simple program.
16315 if test "$cross_compiling" != yes; then
16316 if { ac_try
='./$ac_file'
16317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16318 (eval $ac_try) 2>&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); }; }; then
16324 if test "$cross_compiling" = maybe
; then
16325 cross_compiling
=yes
16327 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16328 If you meant to cross compile, use \`--host'.
16329 See \`config.log' for more details." >&5
16330 echo "$as_me: error: cannot run C compiled programs.
16331 If you meant to cross compile, use \`--host'.
16332 See \`config.log' for more details." >&2;}
16333 { (exit 1); exit 1; }; }
16337 echo "$as_me:$LINENO: result: yes" >&5
16338 echo "${ECHO_T}yes" >&6
16340 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
16341 ac_clean_files
=$ac_clean_files_save
16342 # Check the compiler produces executables we can run. If not, either
16343 # the compiler is broken, or we cross compile.
16344 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16345 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
16346 echo "$as_me:$LINENO: result: $cross_compiling" >&5
16347 echo "${ECHO_T}$cross_compiling" >&6
16349 echo "$as_me:$LINENO: checking for suffix of executables" >&5
16350 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
16351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16352 (eval $ac_link) 2>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; then
16356 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16357 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16358 # work properly (i.e., refer to `conftest.exe'), while it won't with
16360 for ac_file
in conftest.exe conftest conftest.
*; do
16361 test -f "$ac_file" || continue
16363 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
16364 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16365 export ac_cv_exeext
16371 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16372 See \`config.log' for more details." >&5
16373 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16374 See \`config.log' for more details." >&2;}
16375 { (exit 1); exit 1; }; }
16378 rm -f conftest
$ac_cv_exeext
16379 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16380 echo "${ECHO_T}$ac_cv_exeext" >&6
16382 rm -f conftest.
$ac_ext
16383 EXEEXT
=$ac_cv_exeext
16385 echo "$as_me:$LINENO: checking for suffix of object files" >&5
16386 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
16387 if test "${ac_cv_objext+set}" = set; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16390 cat >conftest.
$ac_ext <<_ACEOF
16393 cat confdefs.h
>>conftest.
$ac_ext
16394 cat >>conftest.
$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16405 rm -f conftest.o conftest.obj
16406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16407 (eval $ac_compile) 2>&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); }; then
16411 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
16413 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
16414 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
16419 echo "$as_me: failed program was:" >&5
16420 sed 's/^/| /' conftest.
$ac_ext >&5
16422 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16423 See \`config.log' for more details." >&5
16424 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16425 See \`config.log' for more details." >&2;}
16426 { (exit 1); exit 1; }; }
16429 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
16431 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16432 echo "${ECHO_T}$ac_cv_objext" >&6
16433 OBJEXT
=$ac_cv_objext
16435 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16436 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
16437 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16438 echo $ECHO_N "(cached) $ECHO_C" >&6
16440 cat >conftest.
$ac_ext <<_ACEOF
16443 cat confdefs.h
>>conftest.
$ac_ext
16444 cat >>conftest.
$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16458 rm -f conftest.
$ac_objext
16459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16460 (eval $ac_compile) 2>conftest.er1
16462 grep -v '^ *+' conftest.er1
>conftest.err
16464 cat conftest.err
>&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); } &&
16467 { ac_try
='test -z "$ac_c_werror_flag"
16468 || test ! -s conftest.err'
16469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16470 (eval $ac_try) 2>&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); }; } &&
16474 { ac_try
='test -s conftest.$ac_objext'
16475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16476 (eval $ac_try) 2>&5
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); }; }; then
16480 ac_compiler_gnu
=yes
16482 echo "$as_me: failed program was:" >&5
16483 sed 's/^/| /' conftest.
$ac_ext >&5
16487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16488 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
16491 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16492 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
16493 GCC
=`test $ac_compiler_gnu = yes && echo yes`
16494 ac_test_CFLAGS
=${CFLAGS+set}
16495 ac_save_CFLAGS
=$CFLAGS
16497 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16498 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
16499 if test "${ac_cv_prog_cc_g+set}" = set; then
16500 echo $ECHO_N "(cached) $ECHO_C" >&6
16502 cat >conftest.
$ac_ext <<_ACEOF
16505 cat confdefs.h
>>conftest.
$ac_ext
16506 cat >>conftest.
$ac_ext <<_ACEOF
16507 /* end confdefs.h. */
16517 rm -f conftest.
$ac_objext
16518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16519 (eval $ac_compile) 2>conftest.er1
16521 grep -v '^ *+' conftest.er1
>conftest.err
16523 cat conftest.err
>&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); } &&
16526 { ac_try
='test -z "$ac_c_werror_flag"
16527 || test ! -s conftest.err'
16528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16529 (eval $ac_try) 2>&5
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); }; } &&
16533 { ac_try
='test -s conftest.$ac_objext'
16534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16535 (eval $ac_try) 2>&5
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); }; }; then
16539 ac_cv_prog_cc_g
=yes
16541 echo "$as_me: failed program was:" >&5
16542 sed 's/^/| /' conftest.
$ac_ext >&5
16546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16548 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16549 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
16550 if test "$ac_test_CFLAGS" = set; then
16551 CFLAGS
=$ac_save_CFLAGS
16552 elif test $ac_cv_prog_cc_g = yes; then
16553 if test "$GCC" = yes; then
16559 if test "$GCC" = yes; then
16565 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
16566 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
16567 if test "${ac_cv_prog_cc_stdc+set}" = set; then
16568 echo $ECHO_N "(cached) $ECHO_C" >&6
16570 ac_cv_prog_cc_stdc
=no
16572 cat >conftest.
$ac_ext <<_ACEOF
16575 cat confdefs.h
>>conftest.
$ac_ext
16576 cat >>conftest.
$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16578 #include <stdarg.h>
16580 #include <sys/types.h>
16581 #include <sys/stat.h>
16582 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16583 struct buf { int x; };
16584 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16585 static char *e (p, i)
16591 static char *f (char * (*g) (char **, int), char **p, ...)
16596 s = g (p, va_arg (v,int));
16601 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16602 function prototypes and stuff, but not '\xHH' hex character constants.
16603 These don't provoke an error unfortunately, instead are silently treated
16604 as 'x'. The following induces an error, until -std1 is added to get
16605 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16606 array size at least. It's necessary to write '\x00'==0 to get something
16607 that's true only with -std1. */
16608 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16610 int test (int i, double x);
16611 struct s1 {int (*f) (int a);};
16612 struct s2 {int (*f) (double a);};
16613 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16619 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16624 # Don't try gcc -ansi; that turns off useful extensions and
16625 # breaks some systems' header files.
16626 # AIX -qlanglvl=ansi
16627 # Ultrix and OSF/1 -std1
16628 # HP-UX 10.20 and later -Ae
16629 # HP-UX older versions -Aa -D_HPUX_SOURCE
16630 # SVR4 -Xc -D__EXTENSIONS__
16631 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16633 CC
="$ac_save_CC $ac_arg"
16634 rm -f conftest.
$ac_objext
16635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16636 (eval $ac_compile) 2>conftest.er1
16638 grep -v '^ *+' conftest.er1
>conftest.err
16640 cat conftest.err
>&5
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); } &&
16643 { ac_try
='test -z "$ac_c_werror_flag"
16644 || test ! -s conftest.err'
16645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16646 (eval $ac_try) 2>&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); }; } &&
16650 { ac_try
='test -s conftest.$ac_objext'
16651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16652 (eval $ac_try) 2>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); }; }; then
16656 ac_cv_prog_cc_stdc
=$ac_arg
16659 echo "$as_me: failed program was:" >&5
16660 sed 's/^/| /' conftest.
$ac_ext >&5
16663 rm -f conftest.err conftest.
$ac_objext
16665 rm -f conftest.
$ac_ext conftest.
$ac_objext
16670 case "x$ac_cv_prog_cc_stdc" in
16672 echo "$as_me:$LINENO: result: none needed" >&5
16673 echo "${ECHO_T}none needed" >&6 ;;
16675 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
16676 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
16677 CC
="$CC $ac_cv_prog_cc_stdc" ;;
16680 # Some people use a C++ compiler to compile C. Since we use `exit',
16681 # in C++ we need to declare it. In case someone uses the same compiler
16682 # for both compiling C and C++ we need to have the C++ compiler decide
16683 # the declaration of exit, since it's the most demanding environment.
16684 cat >conftest.
$ac_ext <<_ACEOF
16685 #ifndef __cplusplus
16689 rm -f conftest.
$ac_objext
16690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16691 (eval $ac_compile) 2>conftest.er1
16693 grep -v '^ *+' conftest.er1
>conftest.err
16695 cat conftest.err
>&5
16696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697 (exit $ac_status); } &&
16698 { ac_try
='test -z "$ac_c_werror_flag"
16699 || test ! -s conftest.err'
16700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16701 (eval $ac_try) 2>&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); }; } &&
16705 { ac_try
='test -s conftest.$ac_objext'
16706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16707 (eval $ac_try) 2>&5
16709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710 (exit $ac_status); }; }; then
16711 for ac_declaration
in \
16713 'extern "C" void std::exit (int) throw (); using std::exit;' \
16714 'extern "C" void std::exit (int); using std::exit;' \
16715 'extern "C" void exit (int) throw ();' \
16716 'extern "C" void exit (int);' \
16719 cat >conftest.
$ac_ext <<_ACEOF
16722 cat confdefs.h
>>conftest.
$ac_ext
16723 cat >>conftest.
$ac_ext <<_ACEOF
16724 /* end confdefs.h. */
16726 #include <stdlib.h>
16735 rm -f conftest.
$ac_objext
16736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16737 (eval $ac_compile) 2>conftest.er1
16739 grep -v '^ *+' conftest.er1
>conftest.err
16741 cat conftest.err
>&5
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); } &&
16744 { ac_try
='test -z "$ac_c_werror_flag"
16745 || test ! -s conftest.err'
16746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16747 (eval $ac_try) 2>&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); }; } &&
16751 { ac_try
='test -s conftest.$ac_objext'
16752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16753 (eval $ac_try) 2>&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); }; }; then
16759 echo "$as_me: failed program was:" >&5
16760 sed 's/^/| /' conftest.
$ac_ext >&5
16764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16765 cat >conftest.
$ac_ext <<_ACEOF
16768 cat confdefs.h
>>conftest.
$ac_ext
16769 cat >>conftest.
$ac_ext <<_ACEOF
16770 /* end confdefs.h. */
16780 rm -f conftest.
$ac_objext
16781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16782 (eval $ac_compile) 2>conftest.er1
16784 grep -v '^ *+' conftest.er1
>conftest.err
16786 cat conftest.err
>&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); } &&
16789 { ac_try
='test -z "$ac_c_werror_flag"
16790 || test ! -s conftest.err'
16791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16792 (eval $ac_try) 2>&5
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); }; } &&
16796 { ac_try
='test -s conftest.$ac_objext'
16797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16798 (eval $ac_try) 2>&5
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); }; }; then
16804 echo "$as_me: failed program was:" >&5
16805 sed 's/^/| /' conftest.
$ac_ext >&5
16808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16811 if test -n "$ac_declaration"; then
16812 echo '#ifdef __cplusplus' >>confdefs.h
16813 echo $ac_declaration >>confdefs.h
16814 echo '#endif' >>confdefs.h
16818 echo "$as_me: failed program was:" >&5
16819 sed 's/^/| /' conftest.
$ac_ext >&5
16822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16824 ac_cpp
='$CPP $CPPFLAGS'
16825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16833 ac_cpp
='$CPP $CPPFLAGS'
16834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16838 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16839 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
16840 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16841 echo $ECHO_N "(cached) $ECHO_C" >&6
16843 cat >conftest.
$ac_ext <<_ACEOF
16846 cat confdefs.h
>>conftest.
$ac_ext
16847 cat >>conftest.
$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16854 #ifndef __INTEL_COMPILER
16862 rm -f conftest.
$ac_objext
16863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16864 (eval $ac_compile) 2>conftest.er1
16866 grep -v '^ *+' conftest.er1
>conftest.err
16868 cat conftest.err
>&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); } &&
16871 { ac_try
='test -z "$ac_c_werror_flag"
16872 || test ! -s conftest.err'
16873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16874 (eval $ac_try) 2>&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); }; } &&
16878 { ac_try
='test -s conftest.$ac_objext'
16879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16880 (eval $ac_try) 2>&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); }; }; then
16884 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
16886 echo "$as_me: failed program was:" >&5
16887 sed 's/^/| /' conftest.
$ac_ext >&5
16889 bakefile_cv_c_compiler___INTEL_COMPILER
=no
16892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16896 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16897 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
16898 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16904 ac_cpp
='$CPP $CPPFLAGS'
16905 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16906 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16907 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16912 if test "x$GCC" != "xyes"; then
16913 if test "xCC" = "xC"; then
16914 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16915 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
16916 if test "${bakefile_cv_c_exto+set}" = set; then
16917 echo $ECHO_N "(cached) $ECHO_C" >&6
16919 cat >conftest.
$ac_ext <<_ACEOF
16922 cat confdefs.h
>>conftest.
$ac_ext
16923 cat >>conftest.
$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16934 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
16935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16936 (eval $ac_compile) 2>&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); }; then
16940 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
16942 conftest.
$ac_ext.o
)
16943 bakefile_cv_c_exto
="-ext o"
16950 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16951 See \`config.log' for more details." >&5
16952 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16953 See \`config.log' for more details." >&2;}
16954 { (exit 1); exit 1; }; }
16958 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
16961 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16962 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
16963 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16964 if test "c" = "c"; then
16965 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
16967 if test "c" = "cxx"; then
16968 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
16972 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16973 unset ac_cv_prog_cc_g
16974 ac_test_CFLAGS
=${CFLAGS+set}
16975 ac_save_CFLAGS
=$CFLAGS
16977 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16978 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
16979 if test "${ac_cv_prog_cc_g+set}" = set; then
16980 echo $ECHO_N "(cached) $ECHO_C" >&6
16982 cat >conftest.
$ac_ext <<_ACEOF
16985 cat confdefs.h
>>conftest.
$ac_ext
16986 cat >>conftest.
$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16997 rm -f conftest.
$ac_objext
16998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16999 (eval $ac_compile) 2>conftest.er1
17001 grep -v '^ *+' conftest.er1
>conftest.err
17003 cat conftest.err
>&5
17004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 (exit $ac_status); } &&
17006 { ac_try
='test -z "$ac_c_werror_flag"
17007 || test ! -s conftest.err'
17008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17009 (eval $ac_try) 2>&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }; } &&
17013 { ac_try
='test -s conftest.$ac_objext'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; }; then
17019 ac_cv_prog_cc_g
=yes
17021 echo "$as_me: failed program was:" >&5
17022 sed 's/^/| /' conftest.
$ac_ext >&5
17026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17028 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17029 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
17030 if test "$ac_test_CFLAGS" = set; then
17031 CFLAGS
=$ac_save_CFLAGS
17032 elif test $ac_cv_prog_cc_g = yes; then
17033 if test "$GCC" = yes; then
17039 if test "$GCC" = yes; then
17053 ac_cpp
='$CPP $CPPFLAGS'
17054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17058 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17059 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
17060 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17061 echo $ECHO_N "(cached) $ECHO_C" >&6
17063 cat >conftest.
$ac_ext <<_ACEOF
17066 cat confdefs.h
>>conftest.
$ac_ext
17067 cat >>conftest.
$ac_ext <<_ACEOF
17068 /* end confdefs.h. */
17082 rm -f conftest.
$ac_objext
17083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17084 (eval $ac_compile) 2>conftest.er1
17086 grep -v '^ *+' conftest.er1
>conftest.err
17088 cat conftest.err
>&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); } &&
17091 { ac_try
='test -z "$ac_c_werror_flag"
17092 || test ! -s conftest.err'
17093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17094 (eval $ac_try) 2>&5
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); }; } &&
17098 { ac_try
='test -s conftest.$ac_objext'
17099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17100 (eval $ac_try) 2>&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); }; }; then
17104 bakefile_cv_c_compiler___xlC__
=yes
17106 echo "$as_me: failed program was:" >&5
17107 sed 's/^/| /' conftest.
$ac_ext >&5
17109 bakefile_cv_c_compiler___xlC__
=no
17112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17116 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17117 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6
17118 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17124 ac_cpp
='$CPP $CPPFLAGS'
17125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17137 ac_cpp
='$CPP $CPPFLAGS'
17138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17142 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17143 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
17144 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17145 echo $ECHO_N "(cached) $ECHO_C" >&6
17147 cat >conftest.
$ac_ext <<_ACEOF
17150 cat confdefs.h
>>conftest.
$ac_ext
17151 cat >>conftest.
$ac_ext <<_ACEOF
17152 /* end confdefs.h. */
17166 rm -f conftest.
$ac_objext
17167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17168 (eval $ac_compile) 2>conftest.er1
17170 grep -v '^ *+' conftest.er1
>conftest.err
17172 cat conftest.err
>&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); } &&
17175 { ac_try
='test -z "$ac_c_werror_flag"
17176 || test ! -s conftest.err'
17177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17178 (eval $ac_try) 2>&5
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); }; } &&
17182 { ac_try
='test -s conftest.$ac_objext'
17183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17184 (eval $ac_try) 2>&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); }; }; then
17188 bakefile_cv_c_compiler___MWERKS__
=yes
17190 echo "$as_me: failed program was:" >&5
17191 sed 's/^/| /' conftest.
$ac_ext >&5
17193 bakefile_cv_c_compiler___MWERKS__
=no
17196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17200 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17201 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6
17202 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17208 ac_cpp
='$CPP $CPPFLAGS'
17209 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17210 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17211 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17218 ac_cpp
='$CPP $CPPFLAGS'
17219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17223 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17224 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
17225 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17228 cat >conftest.
$ac_ext <<_ACEOF
17231 cat confdefs.h
>>conftest.
$ac_ext
17232 cat >>conftest.
$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17247 rm -f conftest.
$ac_objext
17248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17249 (eval $ac_compile) 2>conftest.er1
17251 grep -v '^ *+' conftest.er1
>conftest.err
17253 cat conftest.err
>&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); } &&
17256 { ac_try
='test -z "$ac_c_werror_flag"
17257 || test ! -s conftest.err'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; } &&
17263 { ac_try
='test -s conftest.$ac_objext'
17264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17265 (eval $ac_try) 2>&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); }; }; then
17269 bakefile_cv_c_compiler___xlC__
=yes
17271 echo "$as_me: failed program was:" >&5
17272 sed 's/^/| /' conftest.
$ac_ext >&5
17274 bakefile_cv_c_compiler___xlC__
=no
17277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17281 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17282 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6
17283 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17289 ac_cpp
='$CPP $CPPFLAGS'
17290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17302 ac_cpp
='$CPP $CPPFLAGS'
17303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17307 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17308 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
17309 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17310 echo $ECHO_N "(cached) $ECHO_C" >&6
17312 cat >conftest.
$ac_ext <<_ACEOF
17315 cat confdefs.h
>>conftest.
$ac_ext
17316 cat >>conftest.
$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17323 #ifndef _SGI_COMPILER_VERSION
17331 rm -f conftest.
$ac_objext
17332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17333 (eval $ac_compile) 2>conftest.er1
17335 grep -v '^ *+' conftest.er1
>conftest.err
17337 cat conftest.err
>&5
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); } &&
17340 { ac_try
='test -z "$ac_c_werror_flag"
17341 || test ! -s conftest.err'
17342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17343 (eval $ac_try) 2>&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); }; } &&
17347 { ac_try
='test -s conftest.$ac_objext'
17348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17349 (eval $ac_try) 2>&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); }; }; then
17353 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
17355 echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.
$ac_ext >&5
17358 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
17361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17365 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17366 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
17367 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17373 ac_cpp
='$CPP $CPPFLAGS'
17374 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17375 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17376 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17386 ac_cpp
='$CPP $CPPFLAGS'
17387 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17388 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17389 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17391 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17392 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
17393 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17394 echo $ECHO_N "(cached) $ECHO_C" >&6
17396 cat >conftest.
$ac_ext <<_ACEOF
17399 cat confdefs.h
>>conftest.
$ac_ext
17400 cat >>conftest.
$ac_ext <<_ACEOF
17401 /* end confdefs.h. */
17415 rm -f conftest.
$ac_objext
17416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17417 (eval $ac_compile) 2>conftest.er1
17419 grep -v '^ *+' conftest.er1
>conftest.err
17421 cat conftest.err
>&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); } &&
17424 { ac_try
='test -z "$ac_c_werror_flag"
17425 || test ! -s conftest.err'
17426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17427 (eval $ac_try) 2>&5
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); }; } &&
17431 { ac_try
='test -s conftest.$ac_objext'
17432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433 (eval $ac_try) 2>&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); }; }; then
17437 bakefile_cv_c_compiler___SUNPRO_C
=yes
17439 echo "$as_me: failed program was:" >&5
17440 sed 's/^/| /' conftest.
$ac_ext >&5
17442 bakefile_cv_c_compiler___SUNPRO_C
=no
17445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17449 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17450 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
17451 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17457 ac_cpp
='$CPP $CPPFLAGS'
17458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17470 ac_cpp
='$CPP $CPPFLAGS'
17471 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17472 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17473 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17475 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17476 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
17477 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17478 echo $ECHO_N "(cached) $ECHO_C" >&6
17480 cat >conftest.
$ac_ext <<_ACEOF
17483 cat confdefs.h
>>conftest.
$ac_ext
17484 cat >>conftest.
$ac_ext <<_ACEOF
17485 /* end confdefs.h. */
17499 rm -f conftest.
$ac_objext
17500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17501 (eval $ac_compile) 2>conftest.er1
17503 grep -v '^ *+' conftest.er1
>conftest.err
17505 cat conftest.err
>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); } &&
17508 { ac_try
='test -z "$ac_c_werror_flag"
17509 || test ! -s conftest.err'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; } &&
17515 { ac_try
='test -s conftest.$ac_objext'
17516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17517 (eval $ac_try) 2>&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); }; }; then
17521 bakefile_cv_c_compiler___HP_cc
=yes
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.
$ac_ext >&5
17526 bakefile_cv_c_compiler___HP_cc
=no
17529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17533 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17534 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
17535 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17541 ac_cpp
='$CPP $CPPFLAGS'
17542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17554 ac_cpp
='$CPP $CPPFLAGS'
17555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17559 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17560 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
17561 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17562 echo $ECHO_N "(cached) $ECHO_C" >&6
17564 cat >conftest.
$ac_ext <<_ACEOF
17567 cat confdefs.h
>>conftest.
$ac_ext
17568 cat >>conftest.
$ac_ext <<_ACEOF
17569 /* end confdefs.h. */
17583 rm -f conftest.
$ac_objext
17584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17585 (eval $ac_compile) 2>conftest.er1
17587 grep -v '^ *+' conftest.er1
>conftest.err
17589 cat conftest.err
>&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); } &&
17592 { ac_try
='test -z "$ac_c_werror_flag"
17593 || test ! -s conftest.err'
17594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17595 (eval $ac_try) 2>&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); }; } &&
17599 { ac_try
='test -s conftest.$ac_objext'
17600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17601 (eval $ac_try) 2>&5
17603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17604 (exit $ac_status); }; }; then
17605 bakefile_cv_c_compiler___DECC
=yes
17607 echo "$as_me: failed program was:" >&5
17608 sed 's/^/| /' conftest.
$ac_ext >&5
17610 bakefile_cv_c_compiler___DECC
=no
17613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17617 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17618 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
17619 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17625 ac_cpp
='$CPP $CPPFLAGS'
17626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17638 ac_cpp
='$CPP $CPPFLAGS'
17639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17643 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17644 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
17645 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17646 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 cat >conftest.
$ac_ext <<_ACEOF
17651 cat confdefs.h
>>conftest.
$ac_ext
17652 cat >>conftest.
$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17667 rm -f conftest.
$ac_objext
17668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17669 (eval $ac_compile) 2>conftest.er1
17671 grep -v '^ *+' conftest.er1
>conftest.err
17673 cat conftest.err
>&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); } &&
17676 { ac_try
='test -z "$ac_c_werror_flag"
17677 || test ! -s conftest.err'
17678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17679 (eval $ac_try) 2>&5
17681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682 (exit $ac_status); }; } &&
17683 { ac_try
='test -s conftest.$ac_objext'
17684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17685 (eval $ac_try) 2>&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); }; }; then
17689 bakefile_cv_c_compiler___SUNPRO_C
=yes
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.
$ac_ext >&5
17694 bakefile_cv_c_compiler___SUNPRO_C
=no
17697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17701 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17702 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
17703 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17709 ac_cpp
='$CPP $CPPFLAGS'
17710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17723 ac_cpp
='$CPP $CPPFLAGS'
17724 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17725 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17726 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17727 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17728 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
17729 # On Suns, sometimes $CPP names a directory.
17730 if test -n "$CPP" && test -d "$CPP"; then
17733 if test -z "$CPP"; then
17734 if test "${ac_cv_prog_CPP+set}" = set; then
17735 echo $ECHO_N "(cached) $ECHO_C" >&6
17737 # Double quotes because CPP needs to be expanded
17738 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17740 ac_preproc_ok
=false
17741 for ac_c_preproc_warn_flag
in '' yes
17743 # Use a header file that comes with gcc, so configuring glibc
17744 # with a fresh cross-compiler works.
17745 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17746 # <limits.h> exists even on freestanding compilers.
17747 # On the NeXT, cc -E runs the code through the compiler's parser,
17748 # not just through cpp. "Syntax error" is here to catch this case.
17749 cat >conftest.
$ac_ext <<_ACEOF
17752 cat confdefs.h
>>conftest.
$ac_ext
17753 cat >>conftest.
$ac_ext <<_ACEOF
17754 /* end confdefs.h. */
17756 # include <limits.h>
17758 # include <assert.h>
17762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17763 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17765 grep -v '^ *+' conftest.er1
>conftest.err
17767 cat conftest.err
>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); } >/dev
/null
; then
17770 if test -s conftest.err
; then
17771 ac_cpp_err
=$ac_c_preproc_warn_flag
17772 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17779 if test -z "$ac_cpp_err"; then
17782 echo "$as_me: failed program was:" >&5
17783 sed 's/^/| /' conftest.
$ac_ext >&5
17785 # Broken: fails on valid input.
17788 rm -f conftest.err conftest.
$ac_ext
17790 # OK, works on sane cases. Now check whether non-existent headers
17791 # can be detected and how.
17792 cat >conftest.
$ac_ext <<_ACEOF
17795 cat confdefs.h
>>conftest.
$ac_ext
17796 cat >>conftest.
$ac_ext <<_ACEOF
17797 /* end confdefs.h. */
17798 #include <ac_nonexistent.h>
17800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17801 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17803 grep -v '^ *+' conftest.er1
>conftest.err
17805 cat conftest.err
>&5
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); } >/dev
/null
; then
17808 if test -s conftest.err
; then
17809 ac_cpp_err
=$ac_c_preproc_warn_flag
17810 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17817 if test -z "$ac_cpp_err"; then
17818 # Broken: success on invalid input.
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.
$ac_ext >&5
17824 # Passes both tests.
17828 rm -f conftest.err conftest.
$ac_ext
17831 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17832 rm -f conftest.err conftest.
$ac_ext
17833 if $ac_preproc_ok; then
17838 ac_cv_prog_CPP
=$CPP
17841 CPP
=$ac_cv_prog_CPP
17843 ac_cv_prog_CPP
=$CPP
17845 echo "$as_me:$LINENO: result: $CPP" >&5
17846 echo "${ECHO_T}$CPP" >&6
17847 ac_preproc_ok
=false
17848 for ac_c_preproc_warn_flag
in '' yes
17850 # Use a header file that comes with gcc, so configuring glibc
17851 # with a fresh cross-compiler works.
17852 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17853 # <limits.h> exists even on freestanding compilers.
17854 # On the NeXT, cc -E runs the code through the compiler's parser,
17855 # not just through cpp. "Syntax error" is here to catch this case.
17856 cat >conftest.
$ac_ext <<_ACEOF
17859 cat confdefs.h
>>conftest.
$ac_ext
17860 cat >>conftest.
$ac_ext <<_ACEOF
17861 /* end confdefs.h. */
17863 # include <limits.h>
17865 # include <assert.h>
17869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17870 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17872 grep -v '^ *+' conftest.er1
>conftest.err
17874 cat conftest.err
>&5
17875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876 (exit $ac_status); } >/dev
/null
; then
17877 if test -s conftest.err
; then
17878 ac_cpp_err
=$ac_c_preproc_warn_flag
17879 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17886 if test -z "$ac_cpp_err"; then
17889 echo "$as_me: failed program was:" >&5
17890 sed 's/^/| /' conftest.
$ac_ext >&5
17892 # Broken: fails on valid input.
17895 rm -f conftest.err conftest.
$ac_ext
17897 # OK, works on sane cases. Now check whether non-existent headers
17898 # can be detected and how.
17899 cat >conftest.
$ac_ext <<_ACEOF
17902 cat confdefs.h
>>conftest.
$ac_ext
17903 cat >>conftest.
$ac_ext <<_ACEOF
17904 /* end confdefs.h. */
17905 #include <ac_nonexistent.h>
17907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17908 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17910 grep -v '^ *+' conftest.er1
>conftest.err
17912 cat conftest.err
>&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); } >/dev
/null
; then
17915 if test -s conftest.err
; then
17916 ac_cpp_err
=$ac_c_preproc_warn_flag
17917 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17924 if test -z "$ac_cpp_err"; then
17925 # Broken: success on invalid input.
17928 echo "$as_me: failed program was:" >&5
17929 sed 's/^/| /' conftest.
$ac_ext >&5
17931 # Passes both tests.
17935 rm -f conftest.err conftest.
$ac_ext
17938 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17939 rm -f conftest.err conftest.
$ac_ext
17940 if $ac_preproc_ok; then
17943 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17944 See \`config.log' for more details." >&5
17945 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17946 See \`config.log' for more details." >&2;}
17947 { (exit 1); exit 1; }; }
17951 ac_cpp
='$CPP $CPPFLAGS'
17952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17957 echo "$as_me:$LINENO: checking for egrep" >&5
17958 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
17959 if test "${ac_cv_prog_egrep+set}" = set; then
17960 echo $ECHO_N "(cached) $ECHO_C" >&6
17962 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
17963 then ac_cv_prog_egrep
='grep -E'
17964 else ac_cv_prog_egrep
='egrep'
17967 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
17968 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
17969 EGREP
=$ac_cv_prog_egrep
17972 if test $ac_cv_c_compiler_gnu = yes; then
17973 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17974 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
17975 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17976 echo $ECHO_N "(cached) $ECHO_C" >&6
17978 ac_pattern
="Autoconf.*'x'"
17979 cat >conftest.
$ac_ext <<_ACEOF
17982 cat confdefs.h
>>conftest.
$ac_ext
17983 cat >>conftest.
$ac_ext <<_ACEOF
17984 /* end confdefs.h. */
17988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17989 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17990 ac_cv_prog_gcc_traditional
=yes
17992 ac_cv_prog_gcc_traditional
=no
17997 if test $ac_cv_prog_gcc_traditional = no
; then
17998 cat >conftest.
$ac_ext <<_ACEOF
18001 cat confdefs.h
>>conftest.
$ac_ext
18002 cat >>conftest.
$ac_ext <<_ACEOF
18003 /* end confdefs.h. */
18004 #include <termio.h>
18007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18008 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18009 ac_cv_prog_gcc_traditional
=yes
18015 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18016 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
18017 if test $ac_cv_prog_gcc_traditional = yes; then
18018 CC
="$CC -traditional"
18023 CXXFLAGS
=${CXXFLAGS:=}
18028 ac_cpp
='$CXXCPP $CPPFLAGS'
18029 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18030 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18031 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18032 if test -n "$ac_tool_prefix"; then
18033 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
18035 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18036 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18037 echo "$as_me:$LINENO: checking for $ac_word" >&5
18038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18039 if test "${ac_cv_prog_CXX+set}" = set; then
18040 echo $ECHO_N "(cached) $ECHO_C" >&6
18042 if test -n "$CXX"; then
18043 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18046 for as_dir
in $PATH
18049 test -z "$as_dir" && as_dir
=.
18050 for ac_exec_ext
in '' $ac_executable_extensions; do
18051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18052 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18061 CXX
=$ac_cv_prog_CXX
18062 if test -n "$CXX"; then
18063 echo "$as_me:$LINENO: result: $CXX" >&5
18064 echo "${ECHO_T}$CXX" >&6
18066 echo "$as_me:$LINENO: result: no" >&5
18067 echo "${ECHO_T}no" >&6
18070 test -n "$CXX" && break
18073 if test -z "$CXX"; then
18075 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
18077 # Extract the first word of "$ac_prog", so it can be a program name with args.
18078 set dummy
$ac_prog; ac_word
=$2
18079 echo "$as_me:$LINENO: checking for $ac_word" >&5
18080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18081 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18082 echo $ECHO_N "(cached) $ECHO_C" >&6
18084 if test -n "$ac_ct_CXX"; then
18085 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18088 for as_dir
in $PATH
18091 test -z "$as_dir" && as_dir
=.
18092 for ac_exec_ext
in '' $ac_executable_extensions; do
18093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18094 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18103 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18104 if test -n "$ac_ct_CXX"; then
18105 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18106 echo "${ECHO_T}$ac_ct_CXX" >&6
18108 echo "$as_me:$LINENO: result: no" >&5
18109 echo "${ECHO_T}no" >&6
18112 test -n "$ac_ct_CXX" && break
18114 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
18120 # Provide some information about the compiler.
18121 echo "$as_me:$LINENO:" \
18122 "checking for C++ compiler version" >&5
18123 ac_compiler
=`set X $ac_compile; echo $2`
18124 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
18125 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }
18129 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
18130 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); }
18134 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
18135 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }
18140 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18141 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
18142 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18143 echo $ECHO_N "(cached) $ECHO_C" >&6
18145 cat >conftest.
$ac_ext <<_ACEOF
18148 cat confdefs.h
>>conftest.
$ac_ext
18149 cat >>conftest.
$ac_ext <<_ACEOF
18150 /* end confdefs.h. */
18163 rm -f conftest.
$ac_objext
18164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18165 (eval $ac_compile) 2>conftest.er1
18167 grep -v '^ *+' conftest.er1
>conftest.err
18169 cat conftest.err
>&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); } &&
18172 { ac_try
='test -z "$ac_cxx_werror_flag"
18173 || test ! -s conftest.err'
18174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18175 (eval $ac_try) 2>&5
18177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18178 (exit $ac_status); }; } &&
18179 { ac_try
='test -s conftest.$ac_objext'
18180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18181 (eval $ac_try) 2>&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); }; }; then
18185 ac_compiler_gnu
=yes
18187 echo "$as_me: failed program was:" >&5
18188 sed 's/^/| /' conftest.
$ac_ext >&5
18192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18193 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
18196 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18197 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
18198 GXX
=`test $ac_compiler_gnu = yes && echo yes`
18199 ac_test_CXXFLAGS
=${CXXFLAGS+set}
18200 ac_save_CXXFLAGS
=$CXXFLAGS
18202 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18203 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
18204 if test "${ac_cv_prog_cxx_g+set}" = set; then
18205 echo $ECHO_N "(cached) $ECHO_C" >&6
18207 cat >conftest.
$ac_ext <<_ACEOF
18210 cat confdefs.h
>>conftest.
$ac_ext
18211 cat >>conftest.
$ac_ext <<_ACEOF
18212 /* end confdefs.h. */
18222 rm -f conftest.
$ac_objext
18223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18224 (eval $ac_compile) 2>conftest.er1
18226 grep -v '^ *+' conftest.er1
>conftest.err
18228 cat conftest.err
>&5
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); } &&
18231 { ac_try
='test -z "$ac_cxx_werror_flag"
18232 || test ! -s conftest.err'
18233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18234 (eval $ac_try) 2>&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); }; } &&
18238 { ac_try
='test -s conftest.$ac_objext'
18239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18240 (eval $ac_try) 2>&5
18242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243 (exit $ac_status); }; }; then
18244 ac_cv_prog_cxx_g
=yes
18246 echo "$as_me: failed program was:" >&5
18247 sed 's/^/| /' conftest.
$ac_ext >&5
18249 ac_cv_prog_cxx_g
=no
18251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18253 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18254 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
18255 if test "$ac_test_CXXFLAGS" = set; then
18256 CXXFLAGS
=$ac_save_CXXFLAGS
18257 elif test $ac_cv_prog_cxx_g = yes; then
18258 if test "$GXX" = yes; then
18264 if test "$GXX" = yes; then
18270 for ac_declaration
in \
18272 'extern "C" void std::exit (int) throw (); using std::exit;' \
18273 'extern "C" void std::exit (int); using std::exit;' \
18274 'extern "C" void exit (int) throw ();' \
18275 'extern "C" void exit (int);' \
18278 cat >conftest.
$ac_ext <<_ACEOF
18281 cat confdefs.h
>>conftest.
$ac_ext
18282 cat >>conftest.
$ac_ext <<_ACEOF
18283 /* end confdefs.h. */
18285 #include <stdlib.h>
18294 rm -f conftest.
$ac_objext
18295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18296 (eval $ac_compile) 2>conftest.er1
18298 grep -v '^ *+' conftest.er1
>conftest.err
18300 cat conftest.err
>&5
18301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302 (exit $ac_status); } &&
18303 { ac_try
='test -z "$ac_cxx_werror_flag"
18304 || test ! -s conftest.err'
18305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18306 (eval $ac_try) 2>&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); }; } &&
18310 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18318 echo "$as_me: failed program was:" >&5
18319 sed 's/^/| /' conftest.
$ac_ext >&5
18323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18324 cat >conftest.
$ac_ext <<_ACEOF
18327 cat confdefs.h
>>conftest.
$ac_ext
18328 cat >>conftest.
$ac_ext <<_ACEOF
18329 /* end confdefs.h. */
18339 rm -f conftest.
$ac_objext
18340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18341 (eval $ac_compile) 2>conftest.er1
18343 grep -v '^ *+' conftest.er1
>conftest.err
18345 cat conftest.err
>&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); } &&
18348 { ac_try
='test -z "$ac_cxx_werror_flag"
18349 || test ! -s conftest.err'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; } &&
18355 { ac_try
='test -s conftest.$ac_objext'
18356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18357 (eval $ac_try) 2>&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); }; }; then
18363 echo "$as_me: failed program was:" >&5
18364 sed 's/^/| /' conftest.
$ac_ext >&5
18367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18370 if test -n "$ac_declaration"; then
18371 echo '#ifdef __cplusplus' >>confdefs.h
18372 echo $ac_declaration >>confdefs.h
18373 echo '#endif' >>confdefs.h
18377 ac_cpp
='$CPP $CPPFLAGS'
18378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18386 ac_cpp
='$CXXCPP $CPPFLAGS'
18387 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18388 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18389 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18391 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18392 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
18393 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18394 echo $ECHO_N "(cached) $ECHO_C" >&6
18396 cat >conftest.
$ac_ext <<_ACEOF
18399 cat confdefs.h
>>conftest.
$ac_ext
18400 cat >>conftest.
$ac_ext <<_ACEOF
18401 /* end confdefs.h. */
18407 #ifndef __INTEL_COMPILER
18415 rm -f conftest.
$ac_objext
18416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18417 (eval $ac_compile) 2>conftest.er1
18419 grep -v '^ *+' conftest.er1
>conftest.err
18421 cat conftest.err
>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } &&
18424 { ac_try
='test -z "$ac_cxx_werror_flag"
18425 || test ! -s conftest.err'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; } &&
18431 { ac_try
='test -s conftest.$ac_objext'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; }; then
18437 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
18439 echo "$as_me: failed program was:" >&5
18440 sed 's/^/| /' conftest.
$ac_ext >&5
18442 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
18445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18449 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18450 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
18451 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18457 ac_cpp
='$CPP $CPPFLAGS'
18458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18465 if test "x$GCXX" != "xyes"; then
18466 if test "xCXX" = "xC"; then
18467 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18468 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
18469 if test "${bakefile_cv_c_exto+set}" = set; then
18470 echo $ECHO_N "(cached) $ECHO_C" >&6
18472 cat >conftest.
$ac_ext <<_ACEOF
18475 cat confdefs.h
>>conftest.
$ac_ext
18476 cat >>conftest.
$ac_ext <<_ACEOF
18477 /* end confdefs.h. */
18487 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
18488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18489 (eval $ac_compile) 2>&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); }; then
18493 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
18495 conftest.
$ac_ext.o
)
18496 bakefile_cv_c_exto
="-ext o"
18503 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18504 See \`config.log' for more details." >&5
18505 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18506 See \`config.log' for more details." >&2;}
18507 { (exit 1); exit 1; }; }
18511 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
18514 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18515 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
18516 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18517 if test "c" = "c"; then
18518 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
18520 if test "c" = "cxx"; then
18521 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
18525 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18526 unset ac_cv_prog_cc_g
18527 ac_test_CFLAGS
=${CFLAGS+set}
18528 ac_save_CFLAGS
=$CFLAGS
18530 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18531 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
18532 if test "${ac_cv_prog_cc_g+set}" = set; then
18533 echo $ECHO_N "(cached) $ECHO_C" >&6
18535 cat >conftest.
$ac_ext <<_ACEOF
18538 cat confdefs.h
>>conftest.
$ac_ext
18539 cat >>conftest.
$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18550 rm -f conftest.
$ac_objext
18551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18552 (eval $ac_compile) 2>conftest.er1
18554 grep -v '^ *+' conftest.er1
>conftest.err
18556 cat conftest.err
>&5
18557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558 (exit $ac_status); } &&
18559 { ac_try
='test -z "$ac_c_werror_flag"
18560 || test ! -s conftest.err'
18561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18562 (eval $ac_try) 2>&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); }; } &&
18566 { ac_try
='test -s conftest.$ac_objext'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; }; then
18572 ac_cv_prog_cc_g
=yes
18574 echo "$as_me: failed program was:" >&5
18575 sed 's/^/| /' conftest.
$ac_ext >&5
18579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18581 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18582 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
18583 if test "$ac_test_CFLAGS" = set; then
18584 CFLAGS
=$ac_save_CFLAGS
18585 elif test $ac_cv_prog_cc_g = yes; then
18586 if test "$GCC" = yes; then
18592 if test "$GCC" = yes; then
18606 ac_cpp
='$CXXCPP $CPPFLAGS'
18607 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18608 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18609 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18611 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18612 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
18613 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18614 echo $ECHO_N "(cached) $ECHO_C" >&6
18616 cat >conftest.
$ac_ext <<_ACEOF
18619 cat confdefs.h
>>conftest.
$ac_ext
18620 cat >>conftest.
$ac_ext <<_ACEOF
18621 /* end confdefs.h. */
18635 rm -f conftest.
$ac_objext
18636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18637 (eval $ac_compile) 2>conftest.er1
18639 grep -v '^ *+' conftest.er1
>conftest.err
18641 cat conftest.err
>&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); } &&
18644 { ac_try
='test -z "$ac_cxx_werror_flag"
18645 || test ! -s conftest.err'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; } &&
18651 { ac_try
='test -s conftest.$ac_objext'
18652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18653 (eval $ac_try) 2>&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); }; }; then
18657 bakefile_cv_cxx_compiler___xlC__
=yes
18659 echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.
$ac_ext >&5
18662 bakefile_cv_cxx_compiler___xlC__
=no
18665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18669 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18670 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6
18671 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18677 ac_cpp
='$CPP $CPPFLAGS'
18678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18690 ac_cpp
='$CXXCPP $CPPFLAGS'
18691 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18692 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18693 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18695 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18696 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
18697 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18700 cat >conftest.
$ac_ext <<_ACEOF
18703 cat confdefs.h
>>conftest.
$ac_ext
18704 cat >>conftest.
$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18719 rm -f conftest.
$ac_objext
18720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18721 (eval $ac_compile) 2>conftest.er1
18723 grep -v '^ *+' conftest.er1
>conftest.err
18725 cat conftest.err
>&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); } &&
18728 { ac_try
='test -z "$ac_cxx_werror_flag"
18729 || test ! -s conftest.err'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; } &&
18735 { ac_try
='test -s conftest.$ac_objext'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; }; then
18741 bakefile_cv_cxx_compiler___MWERKS__
=yes
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.
$ac_ext >&5
18746 bakefile_cv_cxx_compiler___MWERKS__
=no
18749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18753 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18754 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6
18755 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18761 ac_cpp
='$CPP $CPPFLAGS'
18762 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18763 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18764 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18771 ac_cpp
='$CXXCPP $CPPFLAGS'
18772 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18773 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18774 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18776 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18777 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
18778 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18779 echo $ECHO_N "(cached) $ECHO_C" >&6
18781 cat >conftest.
$ac_ext <<_ACEOF
18784 cat confdefs.h
>>conftest.
$ac_ext
18785 cat >>conftest.
$ac_ext <<_ACEOF
18786 /* end confdefs.h. */
18800 rm -f conftest.
$ac_objext
18801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18802 (eval $ac_compile) 2>conftest.er1
18804 grep -v '^ *+' conftest.er1
>conftest.err
18806 cat conftest.err
>&5
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); } &&
18809 { ac_try
='test -z "$ac_cxx_werror_flag"
18810 || test ! -s conftest.err'
18811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18812 (eval $ac_try) 2>&5
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); }; } &&
18816 { ac_try
='test -s conftest.$ac_objext'
18817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18818 (eval $ac_try) 2>&5
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); }; }; then
18822 bakefile_cv_cxx_compiler___xlC__
=yes
18824 echo "$as_me: failed program was:" >&5
18825 sed 's/^/| /' conftest.
$ac_ext >&5
18827 bakefile_cv_cxx_compiler___xlC__
=no
18830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18834 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18835 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6
18836 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18842 ac_cpp
='$CPP $CPPFLAGS'
18843 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18844 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18845 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18855 ac_cpp
='$CXXCPP $CPPFLAGS'
18856 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18857 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18858 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18860 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18861 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
18862 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18863 echo $ECHO_N "(cached) $ECHO_C" >&6
18865 cat >conftest.
$ac_ext <<_ACEOF
18868 cat confdefs.h
>>conftest.
$ac_ext
18869 cat >>conftest.
$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18876 #ifndef _SGI_COMPILER_VERSION
18884 rm -f conftest.
$ac_objext
18885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18886 (eval $ac_compile) 2>conftest.er1
18888 grep -v '^ *+' conftest.er1
>conftest.err
18890 cat conftest.err
>&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); } &&
18893 { ac_try
='test -z "$ac_cxx_werror_flag"
18894 || test ! -s conftest.err'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; } &&
18900 { ac_try
='test -s conftest.$ac_objext'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; }; then
18906 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
18908 echo "$as_me: failed program was:" >&5
18909 sed 's/^/| /' conftest.
$ac_ext >&5
18911 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
18914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18918 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18919 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
18920 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18926 ac_cpp
='$CPP $CPPFLAGS'
18927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18939 ac_cpp
='$CXXCPP $CPPFLAGS'
18940 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18941 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18942 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18944 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18945 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
18946 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18947 echo $ECHO_N "(cached) $ECHO_C" >&6
18949 cat >conftest.
$ac_ext <<_ACEOF
18952 cat confdefs.h
>>conftest.
$ac_ext
18953 cat >>conftest.
$ac_ext <<_ACEOF
18954 /* end confdefs.h. */
18960 #ifndef __SUNPRO_CC
18968 rm -f conftest.
$ac_objext
18969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18970 (eval $ac_compile) 2>conftest.er1
18972 grep -v '^ *+' conftest.er1
>conftest.err
18974 cat conftest.err
>&5
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); } &&
18977 { ac_try
='test -z "$ac_cxx_werror_flag"
18978 || test ! -s conftest.err'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; } &&
18984 { ac_try
='test -s conftest.$ac_objext'
18985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18986 (eval $ac_try) 2>&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); }; }; then
18990 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18992 echo "$as_me: failed program was:" >&5
18993 sed 's/^/| /' conftest.
$ac_ext >&5
18995 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19002 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19003 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
19004 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19010 ac_cpp
='$CPP $CPPFLAGS'
19011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19023 ac_cpp
='$CXXCPP $CPPFLAGS'
19024 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19025 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19026 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19028 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19029 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
19030 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19031 echo $ECHO_N "(cached) $ECHO_C" >&6
19033 cat >conftest.
$ac_ext <<_ACEOF
19036 cat confdefs.h
>>conftest.
$ac_ext
19037 cat >>conftest.
$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19052 rm -f conftest.
$ac_objext
19053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19054 (eval $ac_compile) 2>conftest.er1
19056 grep -v '^ *+' conftest.er1
>conftest.err
19058 cat conftest.err
>&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); } &&
19061 { ac_try
='test -z "$ac_cxx_werror_flag"
19062 || test ! -s conftest.err'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; } &&
19068 { ac_try
='test -s conftest.$ac_objext'
19069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19070 (eval $ac_try) 2>&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); }; }; then
19074 bakefile_cv_cxx_compiler___HP_aCC
=yes
19076 echo "$as_me: failed program was:" >&5
19077 sed 's/^/| /' conftest.
$ac_ext >&5
19079 bakefile_cv_cxx_compiler___HP_aCC
=no
19082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19086 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19087 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
19088 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19094 ac_cpp
='$CPP $CPPFLAGS'
19095 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19096 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19097 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19107 ac_cpp
='$CXXCPP $CPPFLAGS'
19108 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19109 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19110 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19112 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19113 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
19114 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19115 echo $ECHO_N "(cached) $ECHO_C" >&6
19117 cat >conftest.
$ac_ext <<_ACEOF
19120 cat confdefs.h
>>conftest.
$ac_ext
19121 cat >>conftest.
$ac_ext <<_ACEOF
19122 /* end confdefs.h. */
19136 rm -f conftest.
$ac_objext
19137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19138 (eval $ac_compile) 2>conftest.er1
19140 grep -v '^ *+' conftest.er1
>conftest.err
19142 cat conftest.err
>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } &&
19145 { ac_try
='test -z "$ac_cxx_werror_flag"
19146 || test ! -s conftest.err'
19147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148 (eval $ac_try) 2>&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; } &&
19152 { ac_try
='test -s conftest.$ac_objext'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; }; then
19158 bakefile_cv_cxx_compiler___DECCXX
=yes
19160 echo "$as_me: failed program was:" >&5
19161 sed 's/^/| /' conftest.
$ac_ext >&5
19163 bakefile_cv_cxx_compiler___DECCXX
=no
19166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19170 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19171 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
19172 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19178 ac_cpp
='$CPP $CPPFLAGS'
19179 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19180 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19181 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19191 ac_cpp
='$CXXCPP $CPPFLAGS'
19192 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19193 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19194 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19196 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19197 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
19198 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19199 echo $ECHO_N "(cached) $ECHO_C" >&6
19201 cat >conftest.
$ac_ext <<_ACEOF
19204 cat confdefs.h
>>conftest.
$ac_ext
19205 cat >>conftest.
$ac_ext <<_ACEOF
19206 /* end confdefs.h. */
19212 #ifndef __SUNPRO_CC
19220 rm -f conftest.
$ac_objext
19221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19222 (eval $ac_compile) 2>conftest.er1
19224 grep -v '^ *+' conftest.er1
>conftest.err
19226 cat conftest.err
>&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); } &&
19229 { ac_try
='test -z "$ac_cxx_werror_flag"
19230 || test ! -s conftest.err'
19231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19232 (eval $ac_try) 2>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); }; } &&
19236 { ac_try
='test -s conftest.$ac_objext'
19237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19238 (eval $ac_try) 2>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); }; }; then
19242 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
19244 echo "$as_me: failed program was:" >&5
19245 sed 's/^/| /' conftest.
$ac_ext >&5
19247 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
19250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19254 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19255 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
19256 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19262 ac_cpp
='$CPP $CPPFLAGS'
19263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19275 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19276 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19277 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19278 { (exit 1); exit 1; }; }
19281 if test "x$SUNCXX" != xyes
; then
19282 if test -n "$ac_tool_prefix"; then
19283 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19284 set dummy
${ac_tool_prefix}ar; ac_word
=$2
19285 echo "$as_me:$LINENO: checking for $ac_word" >&5
19286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19287 if test "${ac_cv_prog_AR+set}" = set; then
19288 echo $ECHO_N "(cached) $ECHO_C" >&6
19290 if test -n "$AR"; then
19291 ac_cv_prog_AR
="$AR" # Let the user override the test.
19293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19294 for as_dir
in $PATH
19297 test -z "$as_dir" && as_dir
=.
19298 for ac_exec_ext
in '' $ac_executable_extensions; do
19299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19300 ac_cv_prog_AR
="${ac_tool_prefix}ar"
19301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19310 if test -n "$AR"; then
19311 echo "$as_me:$LINENO: result: $AR" >&5
19312 echo "${ECHO_T}$AR" >&6
19314 echo "$as_me:$LINENO: result: no" >&5
19315 echo "${ECHO_T}no" >&6
19319 if test -z "$ac_cv_prog_AR"; then
19321 # Extract the first word of "ar", so it can be a program name with args.
19322 set dummy
ar; ac_word
=$2
19323 echo "$as_me:$LINENO: checking for $ac_word" >&5
19324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19325 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19326 echo $ECHO_N "(cached) $ECHO_C" >&6
19328 if test -n "$ac_ct_AR"; then
19329 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
19331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19332 for as_dir
in $PATH
19335 test -z "$as_dir" && as_dir
=.
19336 for ac_exec_ext
in '' $ac_executable_extensions; do
19337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19338 ac_cv_prog_ac_ct_AR
="ar"
19339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19347 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
19348 if test -n "$ac_ct_AR"; then
19349 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19350 echo "${ECHO_T}$ac_ct_AR" >&6
19352 echo "$as_me:$LINENO: result: no" >&5
19353 echo "${ECHO_T}no" >&6
19358 AR
="$ac_cv_prog_AR"
19361 if test "x$AR" = "x" ; then
19362 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19363 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19364 { (exit 1); exit 1; }; }
19368 retest_macosx_linking
=no
19370 #if test "$wxUSE_MAC" = 1; then
19371 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
19372 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
19373 # Implicitly turn on the new --with-macosx-sdk using the default
19374 # SDK which provides the behavior this option has always had.
19375 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19376 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19377 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19378 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19379 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19380 wxUSE_MACOSX_SDK
=yes
19383 # Complain to user if he specified an argument to --enable-universal_binary
19384 # and also 1) specified --with-macosx-sdk using the default (yes) or
19385 # 2) specified --with-macosx-sdk using a path or 3) specified
19386 # --without-macosx-sdk (no).
19387 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19388 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19389 See \`config.log' for more details." >&5
19390 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19391 See \`config.log' for more details." >&2;}
19392 { (exit 1); exit 1; }; }
19394 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19395 # special-case the empty string because the below test simply
19396 # converts "no" to the empty string anyway.
19397 wxUSE_MACOSX_SDK
="$wxUSE_UNIVERSAL_BINARY"
19398 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
19399 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
19402 OSX_UNIV_OPTS
="-arch ppc -arch i386"
19403 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
19404 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
19405 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
19406 retest_macosx_linking
=yes
19408 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
19409 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19414 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19416 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19417 # TODO: Search for most recent SDK and use it.
19418 wxUSE_MACOSX_SDK
="/Developer/SDKs/MacOSX10.4u.sdk"
19422 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19423 echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19424 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6
19425 if ! test -d "$wxUSE_MACOSX_SDK"; then
19426 { { echo "$as_me:$LINENO: error: not found
19427 See \`config.log' for more details." >&5
19428 echo "$as_me: error: not found
19429 See \`config.log' for more details." >&2;}
19430 { (exit 1); exit 1; }; }
19432 echo "$as_me:$LINENO: result: exists" >&5
19433 echo "${ECHO_T}exists" >&6
19435 MACOSX_SDK_OPTS
="-isysroot $wxUSE_MACOSX_SDK"
19436 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19437 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19438 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19439 retest_macosx_linking
=yes
19442 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19443 wxUSE_MACOSX_VERSION_MIN
=
19444 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19445 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19446 echo "$as_me:$LINENO: checking SDK deployment version" >&5
19447 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6
19449 MACOSX_SDK_PLIST_VERSION_MIN
=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19451 # If that failed, try again with the new key
19452 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19454 MACOSX_SDK_PLIST_VERSION_MIN
=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19458 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19459 wxUSE_MACOSX_VERSION_MIN
=$MACOSX_SDK_PLIST_VERSION_MIN
19460 echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19461 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6
19463 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19464 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19465 wxUSE_MACOSX_VERSION_MIN
=
19468 wxUSE_MACOSX_VERSION_MIN
=
19472 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19473 MACOSX_VERSION_MIN_OPTS
="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19474 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19475 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19476 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19477 retest_macosx_linking
=yes
19480 if test "x$retest_macosx_linking" = "xyes"; then
19482 ac_cpp
='$CPP $CPPFLAGS'
19483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19487 echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19488 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6
19489 cat >conftest.
$ac_ext <<_ACEOF
19492 cat confdefs.h
>>conftest.
$ac_ext
19493 cat >>conftest.
$ac_ext <<_ACEOF
19494 /* end confdefs.h. */
19504 rm -f conftest.
$ac_objext conftest
$ac_exeext
19505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19506 (eval $ac_link) 2>conftest.er1
19508 grep -v '^ *+' conftest.er1
>conftest.err
19510 cat conftest.err
>&5
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); } &&
19513 { ac_try
='test -z "$ac_c_werror_flag"
19514 || test ! -s conftest.err'
19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516 (eval $ac_try) 2>&5
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); }; } &&
19520 { ac_try
='test -s conftest$ac_exeext'
19521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522 (eval $ac_try) 2>&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; }; then
19526 echo "$as_me:$LINENO: result: yes" >&5
19527 echo "${ECHO_T}yes" >&6
19529 echo "$as_me: failed program was:" >&5
19530 sed 's/^/| /' conftest.
$ac_ext >&5
19532 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19533 See \`config.log' for more details." >&5
19534 echo "$as_me: error: no. Try a different SDK
19535 See \`config.log' for more details." >&2;}
19536 { (exit 1); exit 1; }; }; exit 1
19538 rm -f conftest.err conftest.
$ac_objext \
19539 conftest
$ac_exeext conftest.
$ac_ext
19541 ac_cpp
='$CPP $CPPFLAGS'
19542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19548 ac_cpp
='$CXXCPP $CPPFLAGS'
19549 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19550 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19551 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19553 echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19554 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6
19555 cat >conftest.
$ac_ext <<_ACEOF
19558 cat confdefs.h
>>conftest.
$ac_ext
19559 cat >>conftest.
$ac_ext <<_ACEOF
19560 /* end confdefs.h. */
19570 rm -f conftest.
$ac_objext conftest
$ac_exeext
19571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19572 (eval $ac_link) 2>conftest.er1
19574 grep -v '^ *+' conftest.er1
>conftest.err
19576 cat conftest.err
>&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); } &&
19579 { ac_try
='test -z "$ac_cxx_werror_flag"
19580 || test ! -s conftest.err'
19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19582 (eval $ac_try) 2>&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; } &&
19586 { ac_try
='test -s conftest$ac_exeext'
19587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19588 (eval $ac_try) 2>&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); }; }; then
19592 echo "$as_me:$LINENO: result: yes" >&5
19593 echo "${ECHO_T}yes" >&6
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.
$ac_ext >&5
19598 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19599 See \`config.log' for more details." >&5
19600 echo "$as_me: error: no. Try a different SDK
19601 See \`config.log' for more details." >&2;}
19602 { (exit 1); exit 1; }; }; exit 1
19604 rm -f conftest.err conftest.
$ac_objext \
19605 conftest
$ac_exeext conftest.
$ac_ext
19607 ac_cpp
='$CPP $CPPFLAGS'
19608 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19609 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19610 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19618 INSTALL_PROGRAM
="cp -fp"
19619 INSTALL_DATA
="cp -fp"
19626 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19627 CXXFLAGS
="-qunique $CXXFLAGS"
19631 powerpc
-*-darwin* )
19632 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19633 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
19634 cat >conftest.
$ac_ext <<_ACEOF
19637 cat confdefs.h
>>conftest.
$ac_ext
19638 cat >>conftest.
$ac_ext <<_ACEOF
19639 /* end confdefs.h. */
19644 #ifndef __POWERPC__
19645 choke me for lack of PowerPC
19652 rm -f conftest.
$ac_objext
19653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19654 (eval $ac_compile) 2>conftest.er1
19656 grep -v '^ *+' conftest.er1
>conftest.err
19658 cat conftest.err
>&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } &&
19661 { ac_try
='test -z "$ac_c_werror_flag"
19662 || test ! -s conftest.err'
19663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19664 (eval $ac_try) 2>&5
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); }; } &&
19668 { ac_try
='test -s conftest.$ac_objext'
19669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670 (eval $ac_try) 2>&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); }; }; then
19674 echo "$as_me:$LINENO: result: yes" >&5
19675 echo "${ECHO_T}yes" >&6
19677 echo "$as_me: failed program was:" >&5
19678 sed 's/^/| /' conftest.
$ac_ext >&5
19680 echo "$as_me:$LINENO: result: no" >&5
19681 echo "${ECHO_T}no" >&6
19682 cat >>confdefs.h
<<\_ACEOF
19683 #define __POWERPC__ 1
19688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19694 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19695 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
19696 cat >conftest.
$ac_ext <<_ACEOF
19699 cat confdefs.h
>>conftest.
$ac_ext
19700 cat >>conftest.
$ac_ext <<_ACEOF
19701 /* end confdefs.h. */
19702 #include <CoreFoundation/CFBase.h>
19712 rm -f conftest.
$ac_objext
19713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19714 (eval $ac_compile) 2>conftest.er1
19716 grep -v '^ *+' conftest.er1
>conftest.err
19718 cat conftest.err
>&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); } &&
19721 { ac_try
='test -z "$ac_c_werror_flag"
19722 || test ! -s conftest.err'
19723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19724 (eval $ac_try) 2>&5
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); }; } &&
19728 { ac_try
='test -s conftest.$ac_objext'
19729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19730 (eval $ac_try) 2>&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); }; }; then
19734 echo "$as_me:$LINENO: result: yes" >&5
19735 echo "${ECHO_T}yes" >&6
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.
$ac_ext >&5
19740 echo "$as_me:$LINENO: result: no" >&5
19741 echo "${ECHO_T}no" >&6
19742 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19743 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
19744 cat >conftest.
$ac_ext <<_ACEOF
19747 cat confdefs.h
>>conftest.
$ac_ext
19748 cat >>conftest.
$ac_ext <<_ACEOF
19749 /* end confdefs.h. */
19750 #define __CF_USE_FRAMEWORK_INCLUDES__
19751 #include <CoreFoundation/CFBase.h>
19761 rm -f conftest.
$ac_objext
19762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19763 (eval $ac_compile) 2>conftest.er1
19765 grep -v '^ *+' conftest.er1
>conftest.err
19767 cat conftest.err
>&5
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); } &&
19770 { ac_try
='test -z "$ac_c_werror_flag"
19771 || test ! -s conftest.err'
19772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19773 (eval $ac_try) 2>&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); }; } &&
19777 { ac_try
='test -s conftest.$ac_objext'
19778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19779 (eval $ac_try) 2>&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); }; }; then
19783 echo "$as_me:$LINENO: result: yes" >&5
19784 echo "${ECHO_T}yes" >&6
19785 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.
$ac_ext >&5
19790 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19791 See \`config.log' for more details." >&5
19792 echo "$as_me: error: no. CoreFoundation not available.
19793 See \`config.log' for more details." >&2;}
19794 { (exit 1); exit 1; }; }
19797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19806 doesnt_want_win32
=0
19809 if test "$wxUSE_MSW" = 1 ; then
19812 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19813 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
19814 if test "${wx_cv_nocygwin+set}" = set; then
19815 echo $ECHO_N "(cached) $ECHO_C" >&6
19818 cat >conftest.
$ac_ext <<_ACEOF
19821 cat confdefs.h
>>conftest.
$ac_ext
19822 cat >>conftest.
$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19837 rm -f conftest.
$ac_objext
19838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19839 (eval $ac_compile) 2>conftest.er1
19841 grep -v '^ *+' conftest.er1
>conftest.err
19843 cat conftest.err
>&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); } &&
19846 { ac_try
='test -z "$ac_c_werror_flag"
19847 || test ! -s conftest.err'
19848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19849 (eval $ac_try) 2>&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); }; } &&
19853 { ac_try
='test -s conftest.$ac_objext'
19854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19855 (eval $ac_try) 2>&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); }; }; then
19861 echo "$as_me: failed program was:" >&5
19862 sed 's/^/| /' conftest.
$ac_ext >&5
19867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19871 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19872 echo "${ECHO_T}$wx_cv_nocygwin" >&6
19874 if test "$wx_cv_nocygwin" = "yes"; then
19877 doesnt_want_win32
=1
19880 if test "$wants_win32" = 1 ; then
19881 BAKEFILE_FORCE_PLATFORM
=win32
19889 if test "$wxUSE_WINE" = "yes"; then
19891 LDFLAGS_GUI
="-mwindows"
19894 if test "$wants_win32" = 1 ; then
19897 cat >>confdefs.h
<<\_ACEOF
19898 #define __WIN32__ 1
19901 cat >>confdefs.h
<<\_ACEOF
19902 #define __WIN95__ 1
19905 cat >>confdefs.h
<<\_ACEOF
19906 #define __WINDOWS__ 1
19909 cat >>confdefs.h
<<\_ACEOF
19910 #define __GNUWIN32__ 1
19913 cat >>confdefs.h
<<\_ACEOF
19918 if test "$doesnt_want_win32" = 1 ; then
19923 if test "$USE_UNIX" = 1 ; then
19925 cat >>confdefs.h
<<\_ACEOF
19932 *-pc-os2_emx | *-pc-os2-emx )
19933 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19934 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19935 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
19936 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19939 ac_check_lib_save_LIBS
=$LIBS
19940 LIBS
="-lcExt $LIBS"
19941 cat >conftest.
$ac_ext <<_ACEOF
19944 cat confdefs.h
>>conftest.
$ac_ext
19945 cat >>conftest.
$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19948 /* Override any gcc2 internal prototype to avoid an error. */
19952 /* We use char because int might match the return type of a gcc2
19953 builtin and then its argument prototype would still apply. */
19963 rm -f conftest.
$ac_objext conftest
$ac_exeext
19964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19965 (eval $ac_link) 2>conftest.er1
19967 grep -v '^ *+' conftest.er1
>conftest.err
19969 cat conftest.err
>&5
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971 (exit $ac_status); } &&
19972 { ac_try
='test -z "$ac_c_werror_flag"
19973 || test ! -s conftest.err'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; } &&
19979 { ac_try
='test -s conftest$ac_exeext'
19980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19981 (eval $ac_try) 2>&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; }; then
19985 ac_cv_lib_cExt_drand48
=yes
19987 echo "$as_me: failed program was:" >&5
19988 sed 's/^/| /' conftest.
$ac_ext >&5
19990 ac_cv_lib_cExt_drand48
=no
19992 rm -f conftest.err conftest.
$ac_objext \
19993 conftest
$ac_exeext conftest.
$ac_ext
19994 LIBS
=$ac_check_lib_save_LIBS
19996 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19997 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
19998 if test $ac_cv_lib_cExt_drand48 = yes; then
19999 LIBS
="$LIBS -lcExt"
20003 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
20005 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20006 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
20007 if test "${wx_cv_gccversion+set}" = set; then
20008 echo $ECHO_N "(cached) $ECHO_C" >&6
20011 if test "$cross_compiling" = yes; then
20012 wx_cv_gccversion
="EMX2"
20015 cat >conftest.
$ac_ext <<_ACEOF
20018 cat confdefs.h
>>conftest.
$ac_ext
20019 cat >>conftest.
$ac_ext <<_ACEOF
20020 /* end confdefs.h. */
20026 FILE *f=fopen("conftestval", "w");
20031 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20033 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20043 rm -f conftest
$ac_exeext
20044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20045 (eval $ac_link) 2>&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20050 (eval $ac_try) 2>&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); }; }; then
20054 wx_cv_gccversion
=`cat conftestval`
20056 echo "$as_me: program exited with status $ac_status" >&5
20057 echo "$as_me: failed program was:" >&5
20058 sed 's/^/| /' conftest.
$ac_ext >&5
20060 ( exit $ac_status )
20061 wx_cv_gccversion
="EMX2"
20063 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20067 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20068 echo "${ECHO_T}$wx_cv_gccversion" >&6
20069 if test "$wx_cv_gccversion" = "EMX2"; then
20070 LIBS
="$LIBS -lstdcpp"
20071 LDFLAGS
="$LDFLAGS -Zsysv-signals"
20073 if test "$wx_cv_gccversion" = "EMX3"; then
20074 LIBS
="$LIBS -lstdcxx -lgcc"
20075 LDFLAGS
="$LDFLAGS -Zsysv-signals"
20077 LIBS
="$LIBS -lstdc++"
20080 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20081 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20082 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20089 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20090 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
20091 if test "${ac_cv_string_strcasecmp+set}" = set; then
20092 echo $ECHO_N "(cached) $ECHO_C" >&6
20095 cat >conftest.
$ac_ext <<_ACEOF
20098 cat confdefs.h
>>conftest.
$ac_ext
20099 cat >>conftest.
$ac_ext <<_ACEOF
20100 /* end confdefs.h. */
20102 #include <string.h>
20108 strcasecmp("foo", "bar");
20114 rm -f conftest.
$ac_objext conftest
$ac_exeext
20115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20116 (eval $ac_link) 2>conftest.er1
20118 grep -v '^ *+' conftest.er1
>conftest.err
20120 cat conftest.err
>&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); } &&
20123 { ac_try
='test -z "$ac_c_werror_flag"
20124 || test ! -s conftest.err'
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126 (eval $ac_try) 2>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); }; } &&
20130 { ac_try
='test -s conftest$ac_exeext'
20131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20132 (eval $ac_try) 2>&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); }; }; then
20136 ac_cv_string_strcasecmp
=yes
20138 echo "$as_me: failed program was:" >&5
20139 sed 's/^/| /' conftest.
$ac_ext >&5
20141 ac_cv_string_strcasecmp
=no
20144 rm -f conftest.err conftest.
$ac_objext \
20145 conftest
$ac_exeext conftest.
$ac_ext
20148 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20149 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
20151 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
20152 cat >>confdefs.h
<<\_ACEOF
20153 #define HAVE_STRCASECMP_IN_STRING_H 1
20157 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20158 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
20159 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20160 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 cat >conftest.
$ac_ext <<_ACEOF
20166 cat confdefs.h
>>conftest.
$ac_ext
20167 cat >>conftest.
$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20170 #include <strings.h>
20176 strcasecmp("foo", "bar");
20182 rm -f conftest.
$ac_objext conftest
$ac_exeext
20183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20184 (eval $ac_link) 2>conftest.er1
20186 grep -v '^ *+' conftest.er1
>conftest.err
20188 cat conftest.err
>&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); } &&
20191 { ac_try
='test -z "$ac_c_werror_flag"
20192 || test ! -s conftest.err'
20193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20194 (eval $ac_try) 2>&5
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); }; } &&
20198 { ac_try
='test -s conftest$ac_exeext'
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; }; then
20204 ac_cv_strings_strcasecmp
=yes
20206 echo "$as_me: failed program was:" >&5
20207 sed 's/^/| /' conftest.
$ac_ext >&5
20209 ac_cv_strings_strcasecmp
=no
20212 rm -f conftest.err conftest.
$ac_objext \
20213 conftest
$ac_exeext conftest.
$ac_ext
20216 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20217 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
20219 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
20220 cat >>confdefs.h
<<\_ACEOF
20221 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20225 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20226 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20227 { (exit 1); exit 1; }; }
20235 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20236 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
20237 if test "${ac_cv_header_stdc+set}" = set; then
20238 echo $ECHO_N "(cached) $ECHO_C" >&6
20240 cat >conftest.
$ac_ext <<_ACEOF
20243 cat confdefs.h
>>conftest.
$ac_ext
20244 cat >>conftest.
$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 #include <stdlib.h>
20247 #include <stdarg.h>
20248 #include <string.h>
20259 rm -f conftest.
$ac_objext
20260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20261 (eval $ac_compile) 2>conftest.er1
20263 grep -v '^ *+' conftest.er1
>conftest.err
20265 cat conftest.err
>&5
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); } &&
20268 { ac_try
='test -z "$ac_c_werror_flag"
20269 || test ! -s conftest.err'
20270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20271 (eval $ac_try) 2>&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); }; } &&
20275 { ac_try
='test -s conftest.$ac_objext'
20276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20277 (eval $ac_try) 2>&5
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); }; }; then
20281 ac_cv_header_stdc
=yes
20283 echo "$as_me: failed program was:" >&5
20284 sed 's/^/| /' conftest.
$ac_ext >&5
20286 ac_cv_header_stdc
=no
20288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20290 if test $ac_cv_header_stdc = yes; then
20291 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20292 cat >conftest.
$ac_ext <<_ACEOF
20295 cat confdefs.h
>>conftest.
$ac_ext
20296 cat >>conftest.
$ac_ext <<_ACEOF
20297 /* end confdefs.h. */
20298 #include <string.h>
20301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20302 $EGREP "memchr" >/dev
/null
2>&1; then
20305 ac_cv_header_stdc
=no
20311 if test $ac_cv_header_stdc = yes; then
20312 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20313 cat >conftest.
$ac_ext <<_ACEOF
20316 cat confdefs.h
>>conftest.
$ac_ext
20317 cat >>conftest.
$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 #include <stdlib.h>
20322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20323 $EGREP "free" >/dev
/null
2>&1; then
20326 ac_cv_header_stdc
=no
20332 if test $ac_cv_header_stdc = yes; then
20333 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20334 if test "$cross_compiling" = yes; then
20337 cat >conftest.
$ac_ext <<_ACEOF
20340 cat confdefs.h
>>conftest.
$ac_ext
20341 cat >>conftest.
$ac_ext <<_ACEOF
20342 /* end confdefs.h. */
20344 #if ((' ' & 0x0FF) == 0x020)
20345 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20346 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20348 # define ISLOWER(c) \
20349 (('a' <= (c) && (c) <= 'i') \
20350 || ('j' <= (c) && (c) <= 'r') \
20351 || ('s' <= (c) && (c) <= 'z'))
20352 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20355 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20360 for (i = 0; i < 256; i++)
20361 if (XOR (islower (i), ISLOWER (i))
20362 || toupper (i) != TOUPPER (i))
20367 rm -f conftest
$ac_exeext
20368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20369 (eval $ac_link) 2>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20374 (eval $ac_try) 2>&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); }; }; then
20380 echo "$as_me: program exited with status $ac_status" >&5
20381 echo "$as_me: failed program was:" >&5
20382 sed 's/^/| /' conftest.
$ac_ext >&5
20384 ( exit $ac_status )
20385 ac_cv_header_stdc
=no
20387 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20391 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20392 echo "${ECHO_T}$ac_cv_header_stdc" >&6
20393 if test $ac_cv_header_stdc = yes; then
20395 cat >>confdefs.h
<<\_ACEOF
20396 #define STDC_HEADERS 1
20401 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20411 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
20412 inttypes.h stdint.h unistd.h
20414 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20415 echo "$as_me:$LINENO: checking for $ac_header" >&5
20416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20418 echo $ECHO_N "(cached) $ECHO_C" >&6
20420 cat >conftest.
$ac_ext <<_ACEOF
20423 cat confdefs.h
>>conftest.
$ac_ext
20424 cat >>conftest.
$ac_ext <<_ACEOF
20425 /* end confdefs.h. */
20426 $ac_includes_default
20428 #include <$ac_header>
20430 rm -f conftest.
$ac_objext
20431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20432 (eval $ac_compile) 2>conftest.er1
20434 grep -v '^ *+' conftest.er1
>conftest.err
20436 cat conftest.err
>&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); } &&
20439 { ac_try
='test -z "$ac_c_werror_flag"
20440 || test ! -s conftest.err'
20441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20442 (eval $ac_try) 2>&5
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); }; } &&
20446 { ac_try
='test -s conftest.$ac_objext'
20447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20448 (eval $ac_try) 2>&5
20450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451 (exit $ac_status); }; }; then
20452 eval "$as_ac_Header=yes"
20454 echo "$as_me: failed program was:" >&5
20455 sed 's/^/| /' conftest.
$ac_ext >&5
20457 eval "$as_ac_Header=no"
20459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20464 cat >>confdefs.h
<<_ACEOF
20465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20479 for ac_header
in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
20481 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20482 echo "$as_me:$LINENO: checking for $ac_header" >&5
20483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20485 echo $ECHO_N "(cached) $ECHO_C" >&6
20487 cat >conftest.
$ac_ext <<_ACEOF
20490 cat confdefs.h
>>conftest.
$ac_ext
20491 cat >>conftest.
$ac_ext <<_ACEOF
20492 /* end confdefs.h. */
20493 $ac_includes_default
20495 #include <$ac_header>
20497 rm -f conftest.
$ac_objext
20498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20499 (eval $ac_compile) 2>conftest.er1
20501 grep -v '^ *+' conftest.er1
>conftest.err
20503 cat conftest.err
>&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } &&
20506 { ac_try
='test -z "$ac_c_werror_flag"
20507 || test ! -s conftest.err'
20508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20509 (eval $ac_try) 2>&5
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); }; } &&
20513 { ac_try
='test -s conftest.$ac_objext'
20514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20515 (eval $ac_try) 2>&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); }; }; then
20519 eval "$as_ac_Header=yes"
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.
$ac_ext >&5
20524 eval "$as_ac_Header=no"
20526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20531 cat >>confdefs.h
<<_ACEOF
20532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20540 if test "$ac_cv_header_wchar_h" != "yes"; then
20542 for ac_header
in wcstr.h
20544 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20545 echo "$as_me:$LINENO: checking for $ac_header" >&5
20546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20548 echo $ECHO_N "(cached) $ECHO_C" >&6
20550 cat >conftest.
$ac_ext <<_ACEOF
20553 cat confdefs.h
>>conftest.
$ac_ext
20554 cat >>conftest.
$ac_ext <<_ACEOF
20555 /* end confdefs.h. */
20556 $ac_includes_default
20558 #include <$ac_header>
20560 rm -f conftest.
$ac_objext
20561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20562 (eval $ac_compile) 2>conftest.er1
20564 grep -v '^ *+' conftest.er1
>conftest.err
20566 cat conftest.err
>&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); } &&
20569 { ac_try
='test -z "$ac_c_werror_flag"
20570 || test ! -s conftest.err'
20571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20572 (eval $ac_try) 2>&5
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); }; } &&
20576 { ac_try
='test -s conftest.$ac_objext'
20577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20578 (eval $ac_try) 2>&5
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); }; }; then
20582 eval "$as_ac_Header=yes"
20584 echo "$as_me: failed program was:" >&5
20585 sed 's/^/| /' conftest.
$ac_ext >&5
20587 eval "$as_ac_Header=no"
20589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20594 cat >>confdefs.h
<<_ACEOF
20595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20605 *-pc-os2_emx | *-pc-os2-emx )
20606 if test $ac_cv_header_langinfo_h = "yes" \
20607 -a \
( "$wx_cv_gccversion" = "EMX2" \
20608 -o "$wx_cv_gccversion" = "EMX3" \
20609 -o "$wx_cv_gccversion" = "Innotek5" \
); then
20610 LIBS
="$LIBS -lintl"
20615 if test "$USE_UNIX" = 1 ; then
20617 for ac_header
in sys
/select.h
20619 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20620 echo "$as_me:$LINENO: checking for $ac_header" >&5
20621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20623 echo $ECHO_N "(cached) $ECHO_C" >&6
20625 cat >conftest.
$ac_ext <<_ACEOF
20628 cat confdefs.h
>>conftest.
$ac_ext
20629 cat >>conftest.
$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 $ac_includes_default
20633 #include <$ac_header>
20635 rm -f conftest.
$ac_objext
20636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20637 (eval $ac_compile) 2>conftest.er1
20639 grep -v '^ *+' conftest.er1
>conftest.err
20641 cat conftest.err
>&5
20642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); } &&
20644 { ac_try
='test -z "$ac_c_werror_flag"
20645 || test ! -s conftest.err'
20646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20647 (eval $ac_try) 2>&5
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); }; } &&
20651 { ac_try
='test -s conftest.$ac_objext'
20652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20653 (eval $ac_try) 2>&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); }; }; then
20657 eval "$as_ac_Header=yes"
20659 echo "$as_me: failed program was:" >&5
20660 sed 's/^/| /' conftest.
$ac_ext >&5
20662 eval "$as_ac_Header=no"
20664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20669 cat >>confdefs.h
<<_ACEOF
20670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20680 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20681 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20682 if test "${ac_cv_c_const+set}" = set; then
20683 echo $ECHO_N "(cached) $ECHO_C" >&6
20685 cat >conftest.
$ac_ext <<_ACEOF
20688 cat confdefs.h
>>conftest.
$ac_ext
20689 cat >>conftest.
$ac_ext <<_ACEOF
20690 /* end confdefs.h. */
20695 /* FIXME: Include the comments suggested by Paul. */
20696 #ifndef __cplusplus
20697 /* Ultrix mips cc rejects this. */
20698 typedef int charset[2];
20700 /* SunOS 4.1.1 cc rejects this. */
20701 char const *const *ccp;
20703 /* NEC SVR4.0.2 mips cc rejects this. */
20704 struct point {int x, y;};
20705 static struct point const zero = {0,0};
20706 /* AIX XL C 1.02.0.0 rejects this.
20707 It does not let you subtract one const X* pointer from another in
20708 an arm of an if-expression whose if-part is not a constant
20710 const char *g = "string";
20711 ccp = &g + (g ? g-g : 0);
20712 /* HPUX 7.0 cc rejects these. */
20715 ccp = (char const *const *) p;
20716 { /* SCO 3.2v4 cc rejects this. */
20718 char const *s = 0 ? (char *) 0 : (char const *) 0;
20722 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20723 int x[] = {25, 17};
20724 const int *foo = &x[0];
20727 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20728 typedef const int *iptr;
20732 { /* AIX XL C 1.02.0.0 rejects this saying
20733 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20734 struct s { int j; const int *ap[3]; };
20735 struct s *b; b->j = 5;
20737 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20738 const int foo = 10;
20746 rm -f conftest.
$ac_objext
20747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20748 (eval $ac_compile) 2>conftest.er1
20750 grep -v '^ *+' conftest.er1
>conftest.err
20752 cat conftest.err
>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } &&
20755 { ac_try
='test -z "$ac_c_werror_flag"
20756 || 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
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.
$ac_ext >&5
20775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20777 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20778 echo "${ECHO_T}$ac_cv_c_const" >&6
20779 if test $ac_cv_c_const = no
; then
20781 cat >>confdefs.h
<<\_ACEOF
20787 echo "$as_me:$LINENO: checking for inline" >&5
20788 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20789 if test "${ac_cv_c_inline+set}" = set; then
20790 echo $ECHO_N "(cached) $ECHO_C" >&6
20793 for ac_kw
in inline __inline__ __inline
; do
20794 cat >conftest.
$ac_ext <<_ACEOF
20797 cat confdefs.h
>>conftest.
$ac_ext
20798 cat >>conftest.
$ac_ext <<_ACEOF
20799 /* end confdefs.h. */
20800 #ifndef __cplusplus
20802 static $ac_kw foo_t static_foo () {return 0; }
20803 $ac_kw foo_t foo () {return 0; }
20807 rm -f conftest.
$ac_objext
20808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20809 (eval $ac_compile) 2>conftest.er1
20811 grep -v '^ *+' conftest.er1
>conftest.err
20813 cat conftest.err
>&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } &&
20816 { ac_try
='test -z "$ac_c_werror_flag"
20817 || test ! -s conftest.err'
20818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20819 (eval $ac_try) 2>&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); }; } &&
20823 { ac_try
='test -s conftest.$ac_objext'
20824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825 (eval $ac_try) 2>&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); }; }; then
20829 ac_cv_c_inline
=$ac_kw; break
20831 echo "$as_me: failed program was:" >&5
20832 sed 's/^/| /' conftest.
$ac_ext >&5
20835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20839 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20840 echo "${ECHO_T}$ac_cv_c_inline" >&6
20843 case $ac_cv_c_inline in
20846 case $ac_cv_c_inline in
20848 *) ac_val
=$ac_cv_c_inline;;
20850 cat >>confdefs.h
<<_ACEOF
20851 #ifndef __cplusplus
20852 #define inline $ac_val
20859 echo "$as_me:$LINENO: checking for short" >&5
20860 echo $ECHO_N "checking for short... $ECHO_C" >&6
20861 if test "${ac_cv_type_short+set}" = set; then
20862 echo $ECHO_N "(cached) $ECHO_C" >&6
20864 cat >conftest.
$ac_ext <<_ACEOF
20867 cat confdefs.h
>>conftest.
$ac_ext
20868 cat >>conftest.
$ac_ext <<_ACEOF
20869 /* end confdefs.h. */
20870 $ac_includes_default
20876 if (sizeof (short))
20882 rm -f conftest.
$ac_objext
20883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20884 (eval $ac_compile) 2>conftest.er1
20886 grep -v '^ *+' conftest.er1
>conftest.err
20888 cat conftest.err
>&5
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); } &&
20891 { ac_try
='test -z "$ac_c_werror_flag"
20892 || test ! -s conftest.err'
20893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20894 (eval $ac_try) 2>&5
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); }; } &&
20898 { ac_try
='test -s conftest.$ac_objext'
20899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20900 (eval $ac_try) 2>&5
20902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903 (exit $ac_status); }; }; then
20904 ac_cv_type_short
=yes
20906 echo "$as_me: failed program was:" >&5
20907 sed 's/^/| /' conftest.
$ac_ext >&5
20909 ac_cv_type_short
=no
20911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20913 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20914 echo "${ECHO_T}$ac_cv_type_short" >&6
20916 echo "$as_me:$LINENO: checking size of short" >&5
20917 echo $ECHO_N "checking size of short... $ECHO_C" >&6
20918 if test "${ac_cv_sizeof_short+set}" = set; then
20919 echo $ECHO_N "(cached) $ECHO_C" >&6
20921 if test "$ac_cv_type_short" = yes; then
20922 # The cast to unsigned long works around a bug in the HP C Compiler
20923 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20924 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20925 # This bug is HP SR number 8606223364.
20926 if test "$cross_compiling" = yes; then
20927 # Depending upon the size, compute the lo and hi bounds.
20928 cat >conftest.
$ac_ext <<_ACEOF
20931 cat confdefs.h
>>conftest.
$ac_ext
20932 cat >>conftest.
$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20934 $ac_includes_default
20938 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
20945 rm -f conftest.
$ac_objext
20946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20947 (eval $ac_compile) 2>conftest.er1
20949 grep -v '^ *+' conftest.er1
>conftest.err
20951 cat conftest.err
>&5
20952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953 (exit $ac_status); } &&
20954 { ac_try
='test -z "$ac_c_werror_flag"
20955 || test ! -s conftest.err'
20956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20957 (eval $ac_try) 2>&5
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); }; } &&
20961 { ac_try
='test -s conftest.$ac_objext'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; }; then
20969 cat >conftest.
$ac_ext <<_ACEOF
20972 cat confdefs.h
>>conftest.
$ac_ext
20973 cat >>conftest.
$ac_ext <<_ACEOF
20974 /* end confdefs.h. */
20975 $ac_includes_default
20979 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
20986 rm -f conftest.
$ac_objext
20987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20988 (eval $ac_compile) 2>conftest.er1
20990 grep -v '^ *+' conftest.er1
>conftest.err
20992 cat conftest.err
>&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } &&
20995 { ac_try
='test -z "$ac_c_werror_flag"
20996 || test ! -s conftest.err'
20997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20998 (eval $ac_try) 2>&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); }; } &&
21002 { ac_try
='test -s conftest.$ac_objext'
21003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21004 (eval $ac_try) 2>&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); }; }; then
21008 ac_hi
=$ac_mid; break
21010 echo "$as_me: failed program was:" >&5
21011 sed 's/^/| /' conftest.
$ac_ext >&5
21013 ac_lo
=`expr $ac_mid + 1`
21014 if test $ac_lo -le $ac_mid; then
21018 ac_mid
=`expr 2 '*' $ac_mid + 1`
21020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21023 echo "$as_me: failed program was:" >&5
21024 sed 's/^/| /' conftest.
$ac_ext >&5
21026 cat >conftest.
$ac_ext <<_ACEOF
21029 cat confdefs.h
>>conftest.
$ac_ext
21030 cat >>conftest.
$ac_ext <<_ACEOF
21031 /* end confdefs.h. */
21032 $ac_includes_default
21036 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
21043 rm -f conftest.
$ac_objext
21044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21045 (eval $ac_compile) 2>conftest.er1
21047 grep -v '^ *+' conftest.er1
>conftest.err
21049 cat conftest.err
>&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); } &&
21052 { ac_try
='test -z "$ac_c_werror_flag"
21053 || test ! -s conftest.err'
21054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21055 (eval $ac_try) 2>&5
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); }; } &&
21059 { ac_try
='test -s conftest.$ac_objext'
21060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21061 (eval $ac_try) 2>&5
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); }; }; then
21067 cat >conftest.
$ac_ext <<_ACEOF
21070 cat confdefs.h
>>conftest.
$ac_ext
21071 cat >>conftest.
$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073 $ac_includes_default
21077 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
21084 rm -f conftest.
$ac_objext
21085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21086 (eval $ac_compile) 2>conftest.er1
21088 grep -v '^ *+' conftest.er1
>conftest.err
21090 cat conftest.err
>&5
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); } &&
21093 { ac_try
='test -z "$ac_c_werror_flag"
21094 || test ! -s conftest.err'
21095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21096 (eval $ac_try) 2>&5
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); }; } &&
21100 { ac_try
='test -s conftest.$ac_objext'
21101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21102 (eval $ac_try) 2>&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); }; }; then
21106 ac_lo
=$ac_mid; break
21108 echo "$as_me: failed program was:" >&5
21109 sed 's/^/| /' conftest.
$ac_ext >&5
21111 ac_hi
=`expr '(' $ac_mid ')' - 1`
21112 if test $ac_mid -le $ac_hi; then
21116 ac_mid
=`expr 2 '*' $ac_mid`
21118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21121 echo "$as_me: failed program was:" >&5
21122 sed 's/^/| /' conftest.
$ac_ext >&5
21126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21129 # Binary search between lo and hi bounds.
21130 while test "x$ac_lo" != "x$ac_hi"; do
21131 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21132 cat >conftest.
$ac_ext <<_ACEOF
21135 cat confdefs.h
>>conftest.
$ac_ext
21136 cat >>conftest.
$ac_ext <<_ACEOF
21137 /* end confdefs.h. */
21138 $ac_includes_default
21142 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
21149 rm -f conftest.
$ac_objext
21150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21151 (eval $ac_compile) 2>conftest.er1
21153 grep -v '^ *+' conftest.er1
>conftest.err
21155 cat conftest.err
>&5
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); } &&
21158 { ac_try
='test -z "$ac_c_werror_flag"
21159 || test ! -s conftest.err'
21160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21161 (eval $ac_try) 2>&5
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); }; } &&
21165 { ac_try
='test -s conftest.$ac_objext'
21166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21167 (eval $ac_try) 2>&5
21169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170 (exit $ac_status); }; }; then
21173 echo "$as_me: failed program was:" >&5
21174 sed 's/^/| /' conftest.
$ac_ext >&5
21176 ac_lo
=`expr '(' $ac_mid ')' + 1`
21178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21181 ?
*) ac_cv_sizeof_short
=$ac_lo;;
21182 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
21183 See \`config.log' for more details." >&5
21184 echo "$as_me: error: cannot compute sizeof (short), 77
21185 See \`config.log' for more details." >&2;}
21186 { (exit 1); exit 1; }; } ;;
21189 if test "$cross_compiling" = yes; then
21190 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21191 See \`config.log' for more details." >&5
21192 echo "$as_me: error: cannot run test program while cross compiling
21193 See \`config.log' for more details." >&2;}
21194 { (exit 1); exit 1; }; }
21196 cat >conftest.
$ac_ext <<_ACEOF
21199 cat confdefs.h
>>conftest.
$ac_ext
21200 cat >>conftest.
$ac_ext <<_ACEOF
21201 /* end confdefs.h. */
21202 $ac_includes_default
21203 long longval () { return (long) (sizeof (short)); }
21204 unsigned long ulongval () { return (long) (sizeof (short)); }
21206 #include <stdlib.h>
21211 FILE *f = fopen ("conftest.val", "w");
21214 if (((long) (sizeof (short))) < 0)
21216 long i = longval ();
21217 if (i != ((long) (sizeof (short))))
21219 fprintf (f, "%ld\n", i);
21223 unsigned long i = ulongval ();
21224 if (i != ((long) (sizeof (short))))
21226 fprintf (f, "%lu\n", i);
21228 exit (ferror (f) || fclose (f) != 0);
21234 rm -f conftest
$ac_exeext
21235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21236 (eval $ac_link) 2>&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21241 (eval $ac_try) 2>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); }; }; then
21245 ac_cv_sizeof_short
=`cat conftest.val`
21247 echo "$as_me: program exited with status $ac_status" >&5
21248 echo "$as_me: failed program was:" >&5
21249 sed 's/^/| /' conftest.
$ac_ext >&5
21251 ( exit $ac_status )
21252 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
21253 See \`config.log' for more details." >&5
21254 echo "$as_me: error: cannot compute sizeof (short), 77
21255 See \`config.log' for more details." >&2;}
21256 { (exit 1); exit 1; }; }
21258 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21263 ac_cv_sizeof_short
=0
21266 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21267 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
21268 cat >>confdefs.h
<<_ACEOF
21269 #define SIZEOF_SHORT $ac_cv_sizeof_short
21273 echo "$as_me:$LINENO: checking for void *" >&5
21274 echo $ECHO_N "checking for void *... $ECHO_C" >&6
21275 if test "${ac_cv_type_void_p+set}" = set; then
21276 echo $ECHO_N "(cached) $ECHO_C" >&6
21278 cat >conftest.
$ac_ext <<_ACEOF
21281 cat confdefs.h
>>conftest.
$ac_ext
21282 cat >>conftest.
$ac_ext <<_ACEOF
21283 /* end confdefs.h. */
21284 $ac_includes_default
21290 if (sizeof (void *))
21296 rm -f conftest.
$ac_objext
21297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21298 (eval $ac_compile) 2>conftest.er1
21300 grep -v '^ *+' conftest.er1
>conftest.err
21302 cat conftest.err
>&5
21303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21304 (exit $ac_status); } &&
21305 { ac_try
='test -z "$ac_c_werror_flag"
21306 || test ! -s conftest.err'
21307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21308 (eval $ac_try) 2>&5
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); }; } &&
21312 { ac_try
='test -s conftest.$ac_objext'
21313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21314 (eval $ac_try) 2>&5
21316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21317 (exit $ac_status); }; }; then
21318 ac_cv_type_void_p
=yes
21320 echo "$as_me: failed program was:" >&5
21321 sed 's/^/| /' conftest.
$ac_ext >&5
21323 ac_cv_type_void_p
=no
21325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21327 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21328 echo "${ECHO_T}$ac_cv_type_void_p" >&6
21330 echo "$as_me:$LINENO: checking size of void *" >&5
21331 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
21332 if test "${ac_cv_sizeof_void_p+set}" = set; then
21333 echo $ECHO_N "(cached) $ECHO_C" >&6
21335 if test "$ac_cv_type_void_p" = yes; then
21336 # The cast to unsigned long works around a bug in the HP C Compiler
21337 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21338 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21339 # This bug is HP SR number 8606223364.
21340 if test "$cross_compiling" = yes; then
21341 # Depending upon the size, compute the lo and hi bounds.
21342 cat >conftest.
$ac_ext <<_ACEOF
21345 cat confdefs.h
>>conftest.
$ac_ext
21346 cat >>conftest.
$ac_ext <<_ACEOF
21347 /* end confdefs.h. */
21348 $ac_includes_default
21352 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
21359 rm -f conftest.
$ac_objext
21360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21361 (eval $ac_compile) 2>conftest.er1
21363 grep -v '^ *+' conftest.er1
>conftest.err
21365 cat conftest.err
>&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } &&
21368 { ac_try
='test -z "$ac_c_werror_flag"
21369 || test ! -s conftest.err'
21370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21371 (eval $ac_try) 2>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); }; } &&
21375 { ac_try
='test -s conftest.$ac_objext'
21376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21377 (eval $ac_try) 2>&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; }; then
21383 cat >conftest.
$ac_ext <<_ACEOF
21386 cat confdefs.h
>>conftest.
$ac_ext
21387 cat >>conftest.
$ac_ext <<_ACEOF
21388 /* end confdefs.h. */
21389 $ac_includes_default
21393 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
21400 rm -f conftest.
$ac_objext
21401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21402 (eval $ac_compile) 2>conftest.er1
21404 grep -v '^ *+' conftest.er1
>conftest.err
21406 cat conftest.err
>&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); } &&
21409 { ac_try
='test -z "$ac_c_werror_flag"
21410 || test ! -s conftest.err'
21411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21412 (eval $ac_try) 2>&5
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21415 (exit $ac_status); }; } &&
21416 { ac_try
='test -s conftest.$ac_objext'
21417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21418 (eval $ac_try) 2>&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); }; }; then
21422 ac_hi
=$ac_mid; break
21424 echo "$as_me: failed program was:" >&5
21425 sed 's/^/| /' conftest.
$ac_ext >&5
21427 ac_lo
=`expr $ac_mid + 1`
21428 if test $ac_lo -le $ac_mid; then
21432 ac_mid
=`expr 2 '*' $ac_mid + 1`
21434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21437 echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.
$ac_ext >&5
21440 cat >conftest.
$ac_ext <<_ACEOF
21443 cat confdefs.h
>>conftest.
$ac_ext
21444 cat >>conftest.
$ac_ext <<_ACEOF
21445 /* end confdefs.h. */
21446 $ac_includes_default
21450 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
21457 rm -f conftest.
$ac_objext
21458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21459 (eval $ac_compile) 2>conftest.er1
21461 grep -v '^ *+' conftest.er1
>conftest.err
21463 cat conftest.err
>&5
21464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21465 (exit $ac_status); } &&
21466 { ac_try
='test -z "$ac_c_werror_flag"
21467 || test ! -s conftest.err'
21468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21469 (eval $ac_try) 2>&5
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); }; } &&
21473 { ac_try
='test -s conftest.$ac_objext'
21474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21475 (eval $ac_try) 2>&5
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); }; }; then
21481 cat >conftest.
$ac_ext <<_ACEOF
21484 cat confdefs.h
>>conftest.
$ac_ext
21485 cat >>conftest.
$ac_ext <<_ACEOF
21486 /* end confdefs.h. */
21487 $ac_includes_default
21491 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
21498 rm -f conftest.
$ac_objext
21499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21500 (eval $ac_compile) 2>conftest.er1
21502 grep -v '^ *+' conftest.er1
>conftest.err
21504 cat conftest.err
>&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); } &&
21507 { ac_try
='test -z "$ac_c_werror_flag"
21508 || test ! -s conftest.err'
21509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21510 (eval $ac_try) 2>&5
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); }; } &&
21514 { ac_try
='test -s conftest.$ac_objext'
21515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21516 (eval $ac_try) 2>&5
21518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21519 (exit $ac_status); }; }; then
21520 ac_lo
=$ac_mid; break
21522 echo "$as_me: failed program was:" >&5
21523 sed 's/^/| /' conftest.
$ac_ext >&5
21525 ac_hi
=`expr '(' $ac_mid ')' - 1`
21526 if test $ac_mid -le $ac_hi; then
21530 ac_mid
=`expr 2 '*' $ac_mid`
21532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21535 echo "$as_me: failed program was:" >&5
21536 sed 's/^/| /' conftest.
$ac_ext >&5
21540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21543 # Binary search between lo and hi bounds.
21544 while test "x$ac_lo" != "x$ac_hi"; do
21545 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21546 cat >conftest.
$ac_ext <<_ACEOF
21549 cat confdefs.h
>>conftest.
$ac_ext
21550 cat >>conftest.
$ac_ext <<_ACEOF
21551 /* end confdefs.h. */
21552 $ac_includes_default
21556 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
21563 rm -f conftest.
$ac_objext
21564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21565 (eval $ac_compile) 2>conftest.er1
21567 grep -v '^ *+' conftest.er1
>conftest.err
21569 cat conftest.err
>&5
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); } &&
21572 { ac_try
='test -z "$ac_c_werror_flag"
21573 || test ! -s conftest.err'
21574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21575 (eval $ac_try) 2>&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); }; } &&
21579 { ac_try
='test -s conftest.$ac_objext'
21580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21581 (eval $ac_try) 2>&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); }; }; then
21587 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.
$ac_ext >&5
21590 ac_lo
=`expr '(' $ac_mid ')' + 1`
21592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21595 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
21596 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
21597 See \`config.log' for more details." >&5
21598 echo "$as_me: error: cannot compute sizeof (void *), 77
21599 See \`config.log' for more details." >&2;}
21600 { (exit 1); exit 1; }; } ;;
21603 if test "$cross_compiling" = yes; then
21604 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21605 See \`config.log' for more details." >&5
21606 echo "$as_me: error: cannot run test program while cross compiling
21607 See \`config.log' for more details." >&2;}
21608 { (exit 1); exit 1; }; }
21610 cat >conftest.
$ac_ext <<_ACEOF
21613 cat confdefs.h
>>conftest.
$ac_ext
21614 cat >>conftest.
$ac_ext <<_ACEOF
21615 /* end confdefs.h. */
21616 $ac_includes_default
21617 long longval () { return (long) (sizeof (void *)); }
21618 unsigned long ulongval () { return (long) (sizeof (void *)); }
21620 #include <stdlib.h>
21625 FILE *f = fopen ("conftest.val", "w");
21628 if (((long) (sizeof (void *))) < 0)
21630 long i = longval ();
21631 if (i != ((long) (sizeof (void *))))
21633 fprintf (f, "%ld\n", i);
21637 unsigned long i = ulongval ();
21638 if (i != ((long) (sizeof (void *))))
21640 fprintf (f, "%lu\n", i);
21642 exit (ferror (f) || fclose (f) != 0);
21648 rm -f conftest
$ac_exeext
21649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21650 (eval $ac_link) 2>&5
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; }; then
21659 ac_cv_sizeof_void_p
=`cat conftest.val`
21661 echo "$as_me: program exited with status $ac_status" >&5
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.
$ac_ext >&5
21665 ( exit $ac_status )
21666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
21667 See \`config.log' for more details." >&5
21668 echo "$as_me: error: cannot compute sizeof (void *), 77
21669 See \`config.log' for more details." >&2;}
21670 { (exit 1); exit 1; }; }
21672 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21677 ac_cv_sizeof_void_p
=0
21680 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21681 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
21682 cat >>confdefs.h
<<_ACEOF
21683 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21687 echo "$as_me:$LINENO: checking for int" >&5
21688 echo $ECHO_N "checking for int... $ECHO_C" >&6
21689 if test "${ac_cv_type_int+set}" = set; then
21690 echo $ECHO_N "(cached) $ECHO_C" >&6
21692 cat >conftest.
$ac_ext <<_ACEOF
21695 cat confdefs.h
>>conftest.
$ac_ext
21696 cat >>conftest.
$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 $ac_includes_default
21710 rm -f conftest.
$ac_objext
21711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21712 (eval $ac_compile) 2>conftest.er1
21714 grep -v '^ *+' conftest.er1
>conftest.err
21716 cat conftest.err
>&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } &&
21719 { ac_try
='test -z "$ac_c_werror_flag"
21720 || test ! -s conftest.err'
21721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21722 (eval $ac_try) 2>&5
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); }; } &&
21726 { ac_try
='test -s conftest.$ac_objext'
21727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21728 (eval $ac_try) 2>&5
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); }; }; then
21734 echo "$as_me: failed program was:" >&5
21735 sed 's/^/| /' conftest.
$ac_ext >&5
21739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21741 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21742 echo "${ECHO_T}$ac_cv_type_int" >&6
21744 echo "$as_me:$LINENO: checking size of int" >&5
21745 echo $ECHO_N "checking size of int... $ECHO_C" >&6
21746 if test "${ac_cv_sizeof_int+set}" = set; then
21747 echo $ECHO_N "(cached) $ECHO_C" >&6
21749 if test "$ac_cv_type_int" = yes; then
21750 # The cast to unsigned long works around a bug in the HP C Compiler
21751 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21752 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21753 # This bug is HP SR number 8606223364.
21754 if test "$cross_compiling" = yes; then
21755 # Depending upon the size, compute the lo and hi bounds.
21756 cat >conftest.
$ac_ext <<_ACEOF
21759 cat confdefs.h
>>conftest.
$ac_ext
21760 cat >>conftest.
$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21762 $ac_includes_default
21766 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
21773 rm -f conftest.
$ac_objext
21774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21775 (eval $ac_compile) 2>conftest.er1
21777 grep -v '^ *+' conftest.er1
>conftest.err
21779 cat conftest.err
>&5
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); } &&
21782 { ac_try
='test -z "$ac_c_werror_flag"
21783 || test ! -s conftest.err'
21784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21785 (eval $ac_try) 2>&5
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); }; } &&
21789 { ac_try
='test -s conftest.$ac_objext'
21790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21791 (eval $ac_try) 2>&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); }; }; then
21797 cat >conftest.
$ac_ext <<_ACEOF
21800 cat confdefs.h
>>conftest.
$ac_ext
21801 cat >>conftest.
$ac_ext <<_ACEOF
21802 /* end confdefs.h. */
21803 $ac_includes_default
21807 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
21814 rm -f conftest.
$ac_objext
21815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21816 (eval $ac_compile) 2>conftest.er1
21818 grep -v '^ *+' conftest.er1
>conftest.err
21820 cat conftest.err
>&5
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); } &&
21823 { ac_try
='test -z "$ac_c_werror_flag"
21824 || test ! -s conftest.err'
21825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21826 (eval $ac_try) 2>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); }; } &&
21830 { ac_try
='test -s conftest.$ac_objext'
21831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21832 (eval $ac_try) 2>&5
21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835 (exit $ac_status); }; }; then
21836 ac_hi
=$ac_mid; break
21838 echo "$as_me: failed program was:" >&5
21839 sed 's/^/| /' conftest.
$ac_ext >&5
21841 ac_lo
=`expr $ac_mid + 1`
21842 if test $ac_lo -le $ac_mid; then
21846 ac_mid
=`expr 2 '*' $ac_mid + 1`
21848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21851 echo "$as_me: failed program was:" >&5
21852 sed 's/^/| /' conftest.
$ac_ext >&5
21854 cat >conftest.
$ac_ext <<_ACEOF
21857 cat confdefs.h
>>conftest.
$ac_ext
21858 cat >>conftest.
$ac_ext <<_ACEOF
21859 /* end confdefs.h. */
21860 $ac_includes_default
21864 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
21871 rm -f conftest.
$ac_objext
21872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21873 (eval $ac_compile) 2>conftest.er1
21875 grep -v '^ *+' conftest.er1
>conftest.err
21877 cat conftest.err
>&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } &&
21880 { ac_try
='test -z "$ac_c_werror_flag"
21881 || test ! -s conftest.err'
21882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21883 (eval $ac_try) 2>&5
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); }; } &&
21887 { ac_try
='test -s conftest.$ac_objext'
21888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21889 (eval $ac_try) 2>&5
21891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892 (exit $ac_status); }; }; then
21895 cat >conftest.
$ac_ext <<_ACEOF
21898 cat confdefs.h
>>conftest.
$ac_ext
21899 cat >>conftest.
$ac_ext <<_ACEOF
21900 /* end confdefs.h. */
21901 $ac_includes_default
21905 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
21912 rm -f conftest.
$ac_objext
21913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21914 (eval $ac_compile) 2>conftest.er1
21916 grep -v '^ *+' conftest.er1
>conftest.err
21918 cat conftest.err
>&5
21919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920 (exit $ac_status); } &&
21921 { ac_try
='test -z "$ac_c_werror_flag"
21922 || test ! -s conftest.err'
21923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21924 (eval $ac_try) 2>&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); }; } &&
21928 { ac_try
='test -s conftest.$ac_objext'
21929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21930 (eval $ac_try) 2>&5
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); }; }; then
21934 ac_lo
=$ac_mid; break
21936 echo "$as_me: failed program was:" >&5
21937 sed 's/^/| /' conftest.
$ac_ext >&5
21939 ac_hi
=`expr '(' $ac_mid ')' - 1`
21940 if test $ac_mid -le $ac_hi; then
21944 ac_mid
=`expr 2 '*' $ac_mid`
21946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21949 echo "$as_me: failed program was:" >&5
21950 sed 's/^/| /' conftest.
$ac_ext >&5
21954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21957 # Binary search between lo and hi bounds.
21958 while test "x$ac_lo" != "x$ac_hi"; do
21959 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21960 cat >conftest.
$ac_ext <<_ACEOF
21963 cat confdefs.h
>>conftest.
$ac_ext
21964 cat >>conftest.
$ac_ext <<_ACEOF
21965 /* end confdefs.h. */
21966 $ac_includes_default
21970 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
21977 rm -f conftest.
$ac_objext
21978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21979 (eval $ac_compile) 2>conftest.er1
21981 grep -v '^ *+' conftest.er1
>conftest.err
21983 cat conftest.err
>&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); } &&
21986 { ac_try
='test -z "$ac_c_werror_flag"
21987 || test ! -s conftest.err'
21988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21989 (eval $ac_try) 2>&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); }; } &&
21993 { ac_try
='test -s conftest.$ac_objext'
21994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21995 (eval $ac_try) 2>&5
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); }; }; then
22001 echo "$as_me: failed program was:" >&5
22002 sed 's/^/| /' conftest.
$ac_ext >&5
22004 ac_lo
=`expr '(' $ac_mid ')' + 1`
22006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22009 ?
*) ac_cv_sizeof_int
=$ac_lo;;
22010 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
22011 See \`config.log' for more details." >&5
22012 echo "$as_me: error: cannot compute sizeof (int), 77
22013 See \`config.log' for more details." >&2;}
22014 { (exit 1); exit 1; }; } ;;
22017 if test "$cross_compiling" = yes; then
22018 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22019 See \`config.log' for more details." >&5
22020 echo "$as_me: error: cannot run test program while cross compiling
22021 See \`config.log' for more details." >&2;}
22022 { (exit 1); exit 1; }; }
22024 cat >conftest.
$ac_ext <<_ACEOF
22027 cat confdefs.h
>>conftest.
$ac_ext
22028 cat >>conftest.
$ac_ext <<_ACEOF
22029 /* end confdefs.h. */
22030 $ac_includes_default
22031 long longval () { return (long) (sizeof (int)); }
22032 unsigned long ulongval () { return (long) (sizeof (int)); }
22034 #include <stdlib.h>
22039 FILE *f = fopen ("conftest.val", "w");
22042 if (((long) (sizeof (int))) < 0)
22044 long i = longval ();
22045 if (i != ((long) (sizeof (int))))
22047 fprintf (f, "%ld\n", i);
22051 unsigned long i = ulongval ();
22052 if (i != ((long) (sizeof (int))))
22054 fprintf (f, "%lu\n", i);
22056 exit (ferror (f) || fclose (f) != 0);
22062 rm -f conftest
$ac_exeext
22063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22064 (eval $ac_link) 2>&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22069 (eval $ac_try) 2>&5
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); }; }; then
22073 ac_cv_sizeof_int
=`cat conftest.val`
22075 echo "$as_me: program exited with status $ac_status" >&5
22076 echo "$as_me: failed program was:" >&5
22077 sed 's/^/| /' conftest.
$ac_ext >&5
22079 ( exit $ac_status )
22080 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
22081 See \`config.log' for more details." >&5
22082 echo "$as_me: error: cannot compute sizeof (int), 77
22083 See \`config.log' for more details." >&2;}
22084 { (exit 1); exit 1; }; }
22086 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22094 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22095 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
22096 cat >>confdefs.h
<<_ACEOF
22097 #define SIZEOF_INT $ac_cv_sizeof_int
22101 echo "$as_me:$LINENO: checking for long" >&5
22102 echo $ECHO_N "checking for long... $ECHO_C" >&6
22103 if test "${ac_cv_type_long+set}" = set; then
22104 echo $ECHO_N "(cached) $ECHO_C" >&6
22106 cat >conftest.
$ac_ext <<_ACEOF
22109 cat confdefs.h
>>conftest.
$ac_ext
22110 cat >>conftest.
$ac_ext <<_ACEOF
22111 /* end confdefs.h. */
22112 $ac_includes_default
22124 rm -f conftest.
$ac_objext
22125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22126 (eval $ac_compile) 2>conftest.er1
22128 grep -v '^ *+' conftest.er1
>conftest.err
22130 cat conftest.err
>&5
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); } &&
22133 { ac_try
='test -z "$ac_c_werror_flag"
22134 || test ! -s conftest.err'
22135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136 (eval $ac_try) 2>&5
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; } &&
22140 { ac_try
='test -s conftest.$ac_objext'
22141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22142 (eval $ac_try) 2>&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); }; }; then
22146 ac_cv_type_long
=yes
22148 echo "$as_me: failed program was:" >&5
22149 sed 's/^/| /' conftest.
$ac_ext >&5
22153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22155 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22156 echo "${ECHO_T}$ac_cv_type_long" >&6
22158 echo "$as_me:$LINENO: checking size of long" >&5
22159 echo $ECHO_N "checking size of long... $ECHO_C" >&6
22160 if test "${ac_cv_sizeof_long+set}" = set; then
22161 echo $ECHO_N "(cached) $ECHO_C" >&6
22163 if test "$ac_cv_type_long" = yes; then
22164 # The cast to unsigned long works around a bug in the HP C Compiler
22165 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22166 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22167 # This bug is HP SR number 8606223364.
22168 if test "$cross_compiling" = yes; then
22169 # Depending upon the size, compute the lo and hi bounds.
22170 cat >conftest.
$ac_ext <<_ACEOF
22173 cat confdefs.h
>>conftest.
$ac_ext
22174 cat >>conftest.
$ac_ext <<_ACEOF
22175 /* end confdefs.h. */
22176 $ac_includes_default
22180 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
22187 rm -f conftest.
$ac_objext
22188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22189 (eval $ac_compile) 2>conftest.er1
22191 grep -v '^ *+' conftest.er1
>conftest.err
22193 cat conftest.err
>&5
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); } &&
22196 { ac_try
='test -z "$ac_c_werror_flag"
22197 || test ! -s conftest.err'
22198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22199 (eval $ac_try) 2>&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); }; } &&
22203 { ac_try
='test -s conftest.$ac_objext'
22204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22205 (eval $ac_try) 2>&5
22207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22208 (exit $ac_status); }; }; then
22211 cat >conftest.
$ac_ext <<_ACEOF
22214 cat confdefs.h
>>conftest.
$ac_ext
22215 cat >>conftest.
$ac_ext <<_ACEOF
22216 /* end confdefs.h. */
22217 $ac_includes_default
22221 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
22228 rm -f conftest.
$ac_objext
22229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22230 (eval $ac_compile) 2>conftest.er1
22232 grep -v '^ *+' conftest.er1
>conftest.err
22234 cat conftest.err
>&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); } &&
22237 { ac_try
='test -z "$ac_c_werror_flag"
22238 || test ! -s conftest.err'
22239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22240 (eval $ac_try) 2>&5
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); }; } &&
22244 { ac_try
='test -s conftest.$ac_objext'
22245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22246 (eval $ac_try) 2>&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); }; }; then
22250 ac_hi
=$ac_mid; break
22252 echo "$as_me: failed program was:" >&5
22253 sed 's/^/| /' conftest.
$ac_ext >&5
22255 ac_lo
=`expr $ac_mid + 1`
22256 if test $ac_lo -le $ac_mid; then
22260 ac_mid
=`expr 2 '*' $ac_mid + 1`
22262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22265 echo "$as_me: failed program was:" >&5
22266 sed 's/^/| /' conftest.
$ac_ext >&5
22268 cat >conftest.
$ac_ext <<_ACEOF
22271 cat confdefs.h
>>conftest.
$ac_ext
22272 cat >>conftest.
$ac_ext <<_ACEOF
22273 /* end confdefs.h. */
22274 $ac_includes_default
22278 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
22285 rm -f conftest.
$ac_objext
22286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22287 (eval $ac_compile) 2>conftest.er1
22289 grep -v '^ *+' conftest.er1
>conftest.err
22291 cat conftest.err
>&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); } &&
22294 { ac_try
='test -z "$ac_c_werror_flag"
22295 || test ! -s conftest.err'
22296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22297 (eval $ac_try) 2>&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); }; } &&
22301 { ac_try
='test -s conftest.$ac_objext'
22302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22303 (eval $ac_try) 2>&5
22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306 (exit $ac_status); }; }; then
22309 cat >conftest.
$ac_ext <<_ACEOF
22312 cat confdefs.h
>>conftest.
$ac_ext
22313 cat >>conftest.
$ac_ext <<_ACEOF
22314 /* end confdefs.h. */
22315 $ac_includes_default
22319 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
22326 rm -f conftest.
$ac_objext
22327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22328 (eval $ac_compile) 2>conftest.er1
22330 grep -v '^ *+' conftest.er1
>conftest.err
22332 cat conftest.err
>&5
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); } &&
22335 { ac_try
='test -z "$ac_c_werror_flag"
22336 || test ! -s conftest.err'
22337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22338 (eval $ac_try) 2>&5
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); }; } &&
22342 { ac_try
='test -s conftest.$ac_objext'
22343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22344 (eval $ac_try) 2>&5
22346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347 (exit $ac_status); }; }; then
22348 ac_lo
=$ac_mid; break
22350 echo "$as_me: failed program was:" >&5
22351 sed 's/^/| /' conftest.
$ac_ext >&5
22353 ac_hi
=`expr '(' $ac_mid ')' - 1`
22354 if test $ac_mid -le $ac_hi; then
22358 ac_mid
=`expr 2 '*' $ac_mid`
22360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22363 echo "$as_me: failed program was:" >&5
22364 sed 's/^/| /' conftest.
$ac_ext >&5
22368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22371 # Binary search between lo and hi bounds.
22372 while test "x$ac_lo" != "x$ac_hi"; do
22373 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22374 cat >conftest.
$ac_ext <<_ACEOF
22377 cat confdefs.h
>>conftest.
$ac_ext
22378 cat >>conftest.
$ac_ext <<_ACEOF
22379 /* end confdefs.h. */
22380 $ac_includes_default
22384 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
22391 rm -f conftest.
$ac_objext
22392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22393 (eval $ac_compile) 2>conftest.er1
22395 grep -v '^ *+' conftest.er1
>conftest.err
22397 cat conftest.err
>&5
22398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22399 (exit $ac_status); } &&
22400 { ac_try
='test -z "$ac_c_werror_flag"
22401 || test ! -s conftest.err'
22402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22403 (eval $ac_try) 2>&5
22405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22406 (exit $ac_status); }; } &&
22407 { ac_try
='test -s conftest.$ac_objext'
22408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22409 (eval $ac_try) 2>&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); }; }; then
22415 echo "$as_me: failed program was:" >&5
22416 sed 's/^/| /' conftest.
$ac_ext >&5
22418 ac_lo
=`expr '(' $ac_mid ')' + 1`
22420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22423 ?
*) ac_cv_sizeof_long
=$ac_lo;;
22424 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
22425 See \`config.log' for more details." >&5
22426 echo "$as_me: error: cannot compute sizeof (long), 77
22427 See \`config.log' for more details." >&2;}
22428 { (exit 1); exit 1; }; } ;;
22431 if test "$cross_compiling" = yes; then
22432 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22433 See \`config.log' for more details." >&5
22434 echo "$as_me: error: cannot run test program while cross compiling
22435 See \`config.log' for more details." >&2;}
22436 { (exit 1); exit 1; }; }
22438 cat >conftest.
$ac_ext <<_ACEOF
22441 cat confdefs.h
>>conftest.
$ac_ext
22442 cat >>conftest.
$ac_ext <<_ACEOF
22443 /* end confdefs.h. */
22444 $ac_includes_default
22445 long longval () { return (long) (sizeof (long)); }
22446 unsigned long ulongval () { return (long) (sizeof (long)); }
22448 #include <stdlib.h>
22453 FILE *f = fopen ("conftest.val", "w");
22456 if (((long) (sizeof (long))) < 0)
22458 long i = longval ();
22459 if (i != ((long) (sizeof (long))))
22461 fprintf (f, "%ld\n", i);
22465 unsigned long i = ulongval ();
22466 if (i != ((long) (sizeof (long))))
22468 fprintf (f, "%lu\n", i);
22470 exit (ferror (f) || fclose (f) != 0);
22476 rm -f conftest
$ac_exeext
22477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22478 (eval $ac_link) 2>&5
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22483 (eval $ac_try) 2>&5
22485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22486 (exit $ac_status); }; }; then
22487 ac_cv_sizeof_long
=`cat conftest.val`
22489 echo "$as_me: program exited with status $ac_status" >&5
22490 echo "$as_me: failed program was:" >&5
22491 sed 's/^/| /' conftest.
$ac_ext >&5
22493 ( exit $ac_status )
22494 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
22495 See \`config.log' for more details." >&5
22496 echo "$as_me: error: cannot compute sizeof (long), 77
22497 See \`config.log' for more details." >&2;}
22498 { (exit 1); exit 1; }; }
22500 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22505 ac_cv_sizeof_long
=0
22508 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22509 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
22510 cat >>confdefs.h
<<_ACEOF
22511 #define SIZEOF_LONG $ac_cv_sizeof_long
22515 echo "$as_me:$LINENO: checking for size_t" >&5
22516 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
22517 if test "${ac_cv_type_size_t+set}" = set; then
22518 echo $ECHO_N "(cached) $ECHO_C" >&6
22520 cat >conftest.
$ac_ext <<_ACEOF
22523 cat confdefs.h
>>conftest.
$ac_ext
22524 cat >>conftest.
$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22526 $ac_includes_default
22532 if (sizeof (size_t))
22538 rm -f conftest.
$ac_objext
22539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22540 (eval $ac_compile) 2>conftest.er1
22542 grep -v '^ *+' conftest.er1
>conftest.err
22544 cat conftest.err
>&5
22545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22546 (exit $ac_status); } &&
22547 { ac_try
='test -z "$ac_c_werror_flag"
22548 || test ! -s conftest.err'
22549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22550 (eval $ac_try) 2>&5
22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553 (exit $ac_status); }; } &&
22554 { ac_try
='test -s conftest.$ac_objext'
22555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22556 (eval $ac_try) 2>&5
22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22559 (exit $ac_status); }; }; then
22560 ac_cv_type_size_t
=yes
22562 echo "$as_me: failed program was:" >&5
22563 sed 's/^/| /' conftest.
$ac_ext >&5
22565 ac_cv_type_size_t
=no
22567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22569 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22570 echo "${ECHO_T}$ac_cv_type_size_t" >&6
22572 echo "$as_me:$LINENO: checking size of size_t" >&5
22573 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
22574 if test "${ac_cv_sizeof_size_t+set}" = set; then
22575 echo $ECHO_N "(cached) $ECHO_C" >&6
22577 if test "$ac_cv_type_size_t" = yes; then
22578 # The cast to unsigned long works around a bug in the HP C Compiler
22579 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22580 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22581 # This bug is HP SR number 8606223364.
22582 if test "$cross_compiling" = yes; then
22583 # Depending upon the size, compute the lo and hi bounds.
22584 cat >conftest.
$ac_ext <<_ACEOF
22587 cat confdefs.h
>>conftest.
$ac_ext
22588 cat >>conftest.
$ac_ext <<_ACEOF
22589 /* end confdefs.h. */
22590 $ac_includes_default
22594 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
22601 rm -f conftest.
$ac_objext
22602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22603 (eval $ac_compile) 2>conftest.er1
22605 grep -v '^ *+' conftest.er1
>conftest.err
22607 cat conftest.err
>&5
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); } &&
22610 { ac_try
='test -z "$ac_c_werror_flag"
22611 || test ! -s conftest.err'
22612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22613 (eval $ac_try) 2>&5
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); }; } &&
22617 { ac_try
='test -s conftest.$ac_objext'
22618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22619 (eval $ac_try) 2>&5
22621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22622 (exit $ac_status); }; }; then
22625 cat >conftest.
$ac_ext <<_ACEOF
22628 cat confdefs.h
>>conftest.
$ac_ext
22629 cat >>conftest.
$ac_ext <<_ACEOF
22630 /* end confdefs.h. */
22631 $ac_includes_default
22635 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
22642 rm -f conftest.
$ac_objext
22643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22644 (eval $ac_compile) 2>conftest.er1
22646 grep -v '^ *+' conftest.er1
>conftest.err
22648 cat conftest.err
>&5
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); } &&
22651 { ac_try
='test -z "$ac_c_werror_flag"
22652 || test ! -s conftest.err'
22653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22654 (eval $ac_try) 2>&5
22656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22657 (exit $ac_status); }; } &&
22658 { ac_try
='test -s conftest.$ac_objext'
22659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22660 (eval $ac_try) 2>&5
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); }; }; then
22664 ac_hi
=$ac_mid; break
22666 echo "$as_me: failed program was:" >&5
22667 sed 's/^/| /' conftest.
$ac_ext >&5
22669 ac_lo
=`expr $ac_mid + 1`
22670 if test $ac_lo -le $ac_mid; then
22674 ac_mid
=`expr 2 '*' $ac_mid + 1`
22676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22679 echo "$as_me: failed program was:" >&5
22680 sed 's/^/| /' conftest.
$ac_ext >&5
22682 cat >conftest.
$ac_ext <<_ACEOF
22685 cat confdefs.h
>>conftest.
$ac_ext
22686 cat >>conftest.
$ac_ext <<_ACEOF
22687 /* end confdefs.h. */
22688 $ac_includes_default
22692 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
22699 rm -f conftest.
$ac_objext
22700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22701 (eval $ac_compile) 2>conftest.er1
22703 grep -v '^ *+' conftest.er1
>conftest.err
22705 cat conftest.err
>&5
22706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22707 (exit $ac_status); } &&
22708 { ac_try
='test -z "$ac_c_werror_flag"
22709 || test ! -s conftest.err'
22710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22711 (eval $ac_try) 2>&5
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); }; } &&
22715 { ac_try
='test -s conftest.$ac_objext'
22716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22717 (eval $ac_try) 2>&5
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); }; }; then
22723 cat >conftest.
$ac_ext <<_ACEOF
22726 cat confdefs.h
>>conftest.
$ac_ext
22727 cat >>conftest.
$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22729 $ac_includes_default
22733 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
22740 rm -f conftest.
$ac_objext
22741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22742 (eval $ac_compile) 2>conftest.er1
22744 grep -v '^ *+' conftest.er1
>conftest.err
22746 cat conftest.err
>&5
22747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22748 (exit $ac_status); } &&
22749 { ac_try
='test -z "$ac_c_werror_flag"
22750 || test ! -s conftest.err'
22751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22752 (eval $ac_try) 2>&5
22754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22755 (exit $ac_status); }; } &&
22756 { ac_try
='test -s conftest.$ac_objext'
22757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22758 (eval $ac_try) 2>&5
22760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22761 (exit $ac_status); }; }; then
22762 ac_lo
=$ac_mid; break
22764 echo "$as_me: failed program was:" >&5
22765 sed 's/^/| /' conftest.
$ac_ext >&5
22767 ac_hi
=`expr '(' $ac_mid ')' - 1`
22768 if test $ac_mid -le $ac_hi; then
22772 ac_mid
=`expr 2 '*' $ac_mid`
22774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22777 echo "$as_me: failed program was:" >&5
22778 sed 's/^/| /' conftest.
$ac_ext >&5
22782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22785 # Binary search between lo and hi bounds.
22786 while test "x$ac_lo" != "x$ac_hi"; do
22787 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22788 cat >conftest.
$ac_ext <<_ACEOF
22791 cat confdefs.h
>>conftest.
$ac_ext
22792 cat >>conftest.
$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22794 $ac_includes_default
22798 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
22805 rm -f conftest.
$ac_objext
22806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22807 (eval $ac_compile) 2>conftest.er1
22809 grep -v '^ *+' conftest.er1
>conftest.err
22811 cat conftest.err
>&5
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); } &&
22814 { ac_try
='test -z "$ac_c_werror_flag"
22815 || test ! -s conftest.err'
22816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22817 (eval $ac_try) 2>&5
22819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820 (exit $ac_status); }; } &&
22821 { ac_try
='test -s conftest.$ac_objext'
22822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22823 (eval $ac_try) 2>&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); }; }; then
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.
$ac_ext >&5
22832 ac_lo
=`expr '(' $ac_mid ')' + 1`
22834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22837 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
22838 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
22839 See \`config.log' for more details." >&5
22840 echo "$as_me: error: cannot compute sizeof (size_t), 77
22841 See \`config.log' for more details." >&2;}
22842 { (exit 1); exit 1; }; } ;;
22845 if test "$cross_compiling" = yes; then
22846 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22847 See \`config.log' for more details." >&5
22848 echo "$as_me: error: cannot run test program while cross compiling
22849 See \`config.log' for more details." >&2;}
22850 { (exit 1); exit 1; }; }
22852 cat >conftest.
$ac_ext <<_ACEOF
22855 cat confdefs.h
>>conftest.
$ac_ext
22856 cat >>conftest.
$ac_ext <<_ACEOF
22857 /* end confdefs.h. */
22858 $ac_includes_default
22859 long longval () { return (long) (sizeof (size_t)); }
22860 unsigned long ulongval () { return (long) (sizeof (size_t)); }
22862 #include <stdlib.h>
22867 FILE *f = fopen ("conftest.val", "w");
22870 if (((long) (sizeof (size_t))) < 0)
22872 long i = longval ();
22873 if (i != ((long) (sizeof (size_t))))
22875 fprintf (f, "%ld\n", i);
22879 unsigned long i = ulongval ();
22880 if (i != ((long) (sizeof (size_t))))
22882 fprintf (f, "%lu\n", i);
22884 exit (ferror (f) || fclose (f) != 0);
22890 rm -f conftest
$ac_exeext
22891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22892 (eval $ac_link) 2>&5
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22897 (eval $ac_try) 2>&5
22899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22900 (exit $ac_status); }; }; then
22901 ac_cv_sizeof_size_t
=`cat conftest.val`
22903 echo "$as_me: program exited with status $ac_status" >&5
22904 echo "$as_me: failed program was:" >&5
22905 sed 's/^/| /' conftest.
$ac_ext >&5
22907 ( exit $ac_status )
22908 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
22909 See \`config.log' for more details." >&5
22910 echo "$as_me: error: cannot compute sizeof (size_t), 77
22911 See \`config.log' for more details." >&2;}
22912 { (exit 1); exit 1; }; }
22914 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22919 ac_cv_sizeof_size_t
=0
22922 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22923 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
22924 cat >>confdefs.h
<<_ACEOF
22925 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22932 echo "$as_me:$LINENO: checking for long long" >&5
22933 echo $ECHO_N "checking for long long... $ECHO_C" >&6
22934 if test "${ac_cv_type_long_long+set}" = set; then
22935 echo $ECHO_N "(cached) $ECHO_C" >&6
22937 cat >conftest.
$ac_ext <<_ACEOF
22940 cat confdefs.h
>>conftest.
$ac_ext
22941 cat >>conftest.
$ac_ext <<_ACEOF
22942 /* end confdefs.h. */
22943 $ac_includes_default
22947 if ((long long *) 0)
22949 if (sizeof (long long))
22955 rm -f conftest.
$ac_objext
22956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22957 (eval $ac_compile) 2>conftest.er1
22959 grep -v '^ *+' conftest.er1
>conftest.err
22961 cat conftest.err
>&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); } &&
22964 { ac_try
='test -z "$ac_c_werror_flag"
22965 || test ! -s conftest.err'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; } &&
22971 { ac_try
='test -s conftest.$ac_objext'
22972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973 (eval $ac_try) 2>&5
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); }; }; then
22977 ac_cv_type_long_long
=yes
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.
$ac_ext >&5
22982 ac_cv_type_long_long
=no
22984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22986 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22987 echo "${ECHO_T}$ac_cv_type_long_long" >&6
22989 echo "$as_me:$LINENO: checking size of long long" >&5
22990 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
22991 if test "${ac_cv_sizeof_long_long+set}" = set; then
22992 echo $ECHO_N "(cached) $ECHO_C" >&6
22994 if test "$ac_cv_type_long_long" = yes; then
22995 # The cast to unsigned long works around a bug in the HP C Compiler
22996 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22997 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22998 # This bug is HP SR number 8606223364.
22999 if test "$cross_compiling" = yes; then
23000 # Depending upon the size, compute the lo and hi bounds.
23001 cat >conftest.
$ac_ext <<_ACEOF
23004 cat confdefs.h
>>conftest.
$ac_ext
23005 cat >>conftest.
$ac_ext <<_ACEOF
23006 /* end confdefs.h. */
23007 $ac_includes_default
23011 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
23018 rm -f conftest.
$ac_objext
23019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23020 (eval $ac_compile) 2>conftest.er1
23022 grep -v '^ *+' conftest.er1
>conftest.err
23024 cat conftest.err
>&5
23025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026 (exit $ac_status); } &&
23027 { ac_try
='test -z "$ac_c_werror_flag"
23028 || test ! -s conftest.err'
23029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23030 (eval $ac_try) 2>&5
23032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033 (exit $ac_status); }; } &&
23034 { ac_try
='test -s conftest.$ac_objext'
23035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23036 (eval $ac_try) 2>&5
23038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23039 (exit $ac_status); }; }; then
23042 cat >conftest.
$ac_ext <<_ACEOF
23045 cat confdefs.h
>>conftest.
$ac_ext
23046 cat >>conftest.
$ac_ext <<_ACEOF
23047 /* end confdefs.h. */
23048 $ac_includes_default
23052 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23059 rm -f conftest.
$ac_objext
23060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23061 (eval $ac_compile) 2>conftest.er1
23063 grep -v '^ *+' conftest.er1
>conftest.err
23065 cat conftest.err
>&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } &&
23068 { ac_try
='test -z "$ac_c_werror_flag"
23069 || test ! -s conftest.err'
23070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23071 (eval $ac_try) 2>&5
23073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074 (exit $ac_status); }; } &&
23075 { ac_try
='test -s conftest.$ac_objext'
23076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23077 (eval $ac_try) 2>&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); }; }; then
23081 ac_hi
=$ac_mid; break
23083 echo "$as_me: failed program was:" >&5
23084 sed 's/^/| /' conftest.
$ac_ext >&5
23086 ac_lo
=`expr $ac_mid + 1`
23087 if test $ac_lo -le $ac_mid; then
23091 ac_mid
=`expr 2 '*' $ac_mid + 1`
23093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23096 echo "$as_me: failed program was:" >&5
23097 sed 's/^/| /' conftest.
$ac_ext >&5
23099 cat >conftest.
$ac_ext <<_ACEOF
23102 cat confdefs.h
>>conftest.
$ac_ext
23103 cat >>conftest.
$ac_ext <<_ACEOF
23104 /* end confdefs.h. */
23105 $ac_includes_default
23109 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
23116 rm -f conftest.
$ac_objext
23117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23118 (eval $ac_compile) 2>conftest.er1
23120 grep -v '^ *+' conftest.er1
>conftest.err
23122 cat conftest.err
>&5
23123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23124 (exit $ac_status); } &&
23125 { ac_try
='test -z "$ac_c_werror_flag"
23126 || test ! -s conftest.err'
23127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23128 (eval $ac_try) 2>&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); }; } &&
23132 { ac_try
='test -s conftest.$ac_objext'
23133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23134 (eval $ac_try) 2>&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); }; }; then
23140 cat >conftest.
$ac_ext <<_ACEOF
23143 cat confdefs.h
>>conftest.
$ac_ext
23144 cat >>conftest.
$ac_ext <<_ACEOF
23145 /* end confdefs.h. */
23146 $ac_includes_default
23150 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
23157 rm -f conftest.
$ac_objext
23158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23159 (eval $ac_compile) 2>conftest.er1
23161 grep -v '^ *+' conftest.er1
>conftest.err
23163 cat conftest.err
>&5
23164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165 (exit $ac_status); } &&
23166 { ac_try
='test -z "$ac_c_werror_flag"
23167 || test ! -s conftest.err'
23168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23169 (eval $ac_try) 2>&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); }; } &&
23173 { ac_try
='test -s conftest.$ac_objext'
23174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23175 (eval $ac_try) 2>&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); }; }; then
23179 ac_lo
=$ac_mid; break
23181 echo "$as_me: failed program was:" >&5
23182 sed 's/^/| /' conftest.
$ac_ext >&5
23184 ac_hi
=`expr '(' $ac_mid ')' - 1`
23185 if test $ac_mid -le $ac_hi; then
23189 ac_mid
=`expr 2 '*' $ac_mid`
23191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23194 echo "$as_me: failed program was:" >&5
23195 sed 's/^/| /' conftest.
$ac_ext >&5
23199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23202 # Binary search between lo and hi bounds.
23203 while test "x$ac_lo" != "x$ac_hi"; do
23204 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23205 cat >conftest.
$ac_ext <<_ACEOF
23208 cat confdefs.h
>>conftest.
$ac_ext
23209 cat >>conftest.
$ac_ext <<_ACEOF
23210 /* end confdefs.h. */
23211 $ac_includes_default
23215 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23222 rm -f conftest.
$ac_objext
23223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23224 (eval $ac_compile) 2>conftest.er1
23226 grep -v '^ *+' conftest.er1
>conftest.err
23228 cat conftest.err
>&5
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); } &&
23231 { ac_try
='test -z "$ac_c_werror_flag"
23232 || test ! -s conftest.err'
23233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23234 (eval $ac_try) 2>&5
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); }; } &&
23238 { ac_try
='test -s conftest.$ac_objext'
23239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23240 (eval $ac_try) 2>&5
23242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23243 (exit $ac_status); }; }; then
23246 echo "$as_me: failed program was:" >&5
23247 sed 's/^/| /' conftest.
$ac_ext >&5
23249 ac_lo
=`expr '(' $ac_mid ')' + 1`
23251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23254 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
23255 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23256 See \`config.log' for more details." >&5
23257 echo "$as_me: error: cannot compute sizeof (long long), 77
23258 See \`config.log' for more details." >&2;}
23259 { (exit 1); exit 1; }; } ;;
23262 if test "$cross_compiling" = yes; then
23263 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
23264 See \`config.log' for more details." >&5
23265 echo "$as_me: error: cannot run test program while cross compiling
23266 See \`config.log' for more details." >&2;}
23267 { (exit 1); exit 1; }; }
23269 cat >conftest.
$ac_ext <<_ACEOF
23272 cat confdefs.h
>>conftest.
$ac_ext
23273 cat >>conftest.
$ac_ext <<_ACEOF
23274 /* end confdefs.h. */
23275 $ac_includes_default
23276 long longval () { return (long) (sizeof (long long)); }
23277 unsigned long ulongval () { return (long) (sizeof (long long)); }
23279 #include <stdlib.h>
23284 FILE *f = fopen ("conftest.val", "w");
23287 if (((long) (sizeof (long long))) < 0)
23289 long i = longval ();
23290 if (i != ((long) (sizeof (long long))))
23292 fprintf (f, "%ld\n", i);
23296 unsigned long i = ulongval ();
23297 if (i != ((long) (sizeof (long long))))
23299 fprintf (f, "%lu\n", i);
23301 exit (ferror (f) || fclose (f) != 0);
23307 rm -f conftest
$ac_exeext
23308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23309 (eval $ac_link) 2>&5
23311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23312 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23314 (eval $ac_try) 2>&5
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); }; }; then
23318 ac_cv_sizeof_long_long
=`cat conftest.val`
23320 echo "$as_me: program exited with status $ac_status" >&5
23321 echo "$as_me: failed program was:" >&5
23322 sed 's/^/| /' conftest.
$ac_ext >&5
23324 ( exit $ac_status )
23325 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23326 See \`config.log' for more details." >&5
23327 echo "$as_me: error: cannot compute sizeof (long long), 77
23328 See \`config.log' for more details." >&2;}
23329 { (exit 1); exit 1; }; }
23331 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23336 ac_cv_sizeof_long_long
=0
23339 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23340 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
23341 cat >>confdefs.h
<<_ACEOF
23342 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23348 echo "$as_me:$LINENO: checking for long long" >&5
23349 echo $ECHO_N "checking for long long... $ECHO_C" >&6
23350 if test "${ac_cv_type_long_long+set}" = set; then
23351 echo $ECHO_N "(cached) $ECHO_C" >&6
23353 cat >conftest.
$ac_ext <<_ACEOF
23356 cat confdefs.h
>>conftest.
$ac_ext
23357 cat >>conftest.
$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23359 $ac_includes_default
23363 if ((long long *) 0)
23365 if (sizeof (long long))
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_c_werror_flag"
23381 || test ! -s conftest.err'
23382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23383 (eval $ac_try) 2>&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); }; } &&
23387 { ac_try
='test -s conftest.$ac_objext'
23388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389 (eval $ac_try) 2>&5
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); }; }; then
23393 ac_cv_type_long_long
=yes
23395 echo "$as_me: failed program was:" >&5
23396 sed 's/^/| /' conftest.
$ac_ext >&5
23398 ac_cv_type_long_long
=no
23400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23402 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23403 echo "${ECHO_T}$ac_cv_type_long_long" >&6
23405 echo "$as_me:$LINENO: checking size of long long" >&5
23406 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
23407 if test "${ac_cv_sizeof_long_long+set}" = set; then
23408 echo $ECHO_N "(cached) $ECHO_C" >&6
23410 if test "$ac_cv_type_long_long" = yes; then
23411 # The cast to unsigned long works around a bug in the HP C Compiler
23412 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23413 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23414 # This bug is HP SR number 8606223364.
23415 if test "$cross_compiling" = yes; then
23416 # Depending upon the size, compute the lo and hi bounds.
23417 cat >conftest.
$ac_ext <<_ACEOF
23420 cat confdefs.h
>>conftest.
$ac_ext
23421 cat >>conftest.
$ac_ext <<_ACEOF
23422 /* end confdefs.h. */
23423 $ac_includes_default
23427 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
23434 rm -f conftest.
$ac_objext
23435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23436 (eval $ac_compile) 2>conftest.er1
23438 grep -v '^ *+' conftest.er1
>conftest.err
23440 cat conftest.err
>&5
23441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23442 (exit $ac_status); } &&
23443 { ac_try
='test -z "$ac_c_werror_flag"
23444 || test ! -s conftest.err'
23445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23446 (eval $ac_try) 2>&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; } &&
23450 { ac_try
='test -s conftest.$ac_objext'
23451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23452 (eval $ac_try) 2>&5
23454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23455 (exit $ac_status); }; }; then
23458 cat >conftest.
$ac_ext <<_ACEOF
23461 cat confdefs.h
>>conftest.
$ac_ext
23462 cat >>conftest.
$ac_ext <<_ACEOF
23463 /* end confdefs.h. */
23464 $ac_includes_default
23468 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23475 rm -f conftest.
$ac_objext
23476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23477 (eval $ac_compile) 2>conftest.er1
23479 grep -v '^ *+' conftest.er1
>conftest.err
23481 cat conftest.err
>&5
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); } &&
23484 { ac_try
='test -z "$ac_c_werror_flag"
23485 || test ! -s conftest.err'
23486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23487 (eval $ac_try) 2>&5
23489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23490 (exit $ac_status); }; } &&
23491 { ac_try
='test -s conftest.$ac_objext'
23492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23493 (eval $ac_try) 2>&5
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); }; }; then
23497 ac_hi
=$ac_mid; break
23499 echo "$as_me: failed program was:" >&5
23500 sed 's/^/| /' conftest.
$ac_ext >&5
23502 ac_lo
=`expr $ac_mid + 1`
23503 if test $ac_lo -le $ac_mid; then
23507 ac_mid
=`expr 2 '*' $ac_mid + 1`
23509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23512 echo "$as_me: failed program was:" >&5
23513 sed 's/^/| /' conftest.
$ac_ext >&5
23515 cat >conftest.
$ac_ext <<_ACEOF
23518 cat confdefs.h
>>conftest.
$ac_ext
23519 cat >>conftest.
$ac_ext <<_ACEOF
23520 /* end confdefs.h. */
23521 $ac_includes_default
23525 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
23532 rm -f conftest.
$ac_objext
23533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23534 (eval $ac_compile) 2>conftest.er1
23536 grep -v '^ *+' conftest.er1
>conftest.err
23538 cat conftest.err
>&5
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); } &&
23541 { ac_try
='test -z "$ac_c_werror_flag"
23542 || test ! -s conftest.err'
23543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23544 (eval $ac_try) 2>&5
23546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23547 (exit $ac_status); }; } &&
23548 { ac_try
='test -s conftest.$ac_objext'
23549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23550 (eval $ac_try) 2>&5
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); }; }; then
23556 cat >conftest.
$ac_ext <<_ACEOF
23559 cat confdefs.h
>>conftest.
$ac_ext
23560 cat >>conftest.
$ac_ext <<_ACEOF
23561 /* end confdefs.h. */
23562 $ac_includes_default
23566 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
23573 rm -f conftest.
$ac_objext
23574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23575 (eval $ac_compile) 2>conftest.er1
23577 grep -v '^ *+' conftest.er1
>conftest.err
23579 cat conftest.err
>&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } &&
23582 { ac_try
='test -z "$ac_c_werror_flag"
23583 || test ! -s conftest.err'
23584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23585 (eval $ac_try) 2>&5
23587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588 (exit $ac_status); }; } &&
23589 { ac_try
='test -s conftest.$ac_objext'
23590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23591 (eval $ac_try) 2>&5
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); }; }; then
23595 ac_lo
=$ac_mid; break
23597 echo "$as_me: failed program was:" >&5
23598 sed 's/^/| /' conftest.
$ac_ext >&5
23600 ac_hi
=`expr '(' $ac_mid ')' - 1`
23601 if test $ac_mid -le $ac_hi; then
23605 ac_mid
=`expr 2 '*' $ac_mid`
23607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23610 echo "$as_me: failed program was:" >&5
23611 sed 's/^/| /' conftest.
$ac_ext >&5
23615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23618 # Binary search between lo and hi bounds.
23619 while test "x$ac_lo" != "x$ac_hi"; do
23620 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23621 cat >conftest.
$ac_ext <<_ACEOF
23624 cat confdefs.h
>>conftest.
$ac_ext
23625 cat >>conftest.
$ac_ext <<_ACEOF
23626 /* end confdefs.h. */
23627 $ac_includes_default
23631 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23638 rm -f conftest.
$ac_objext
23639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23640 (eval $ac_compile) 2>conftest.er1
23642 grep -v '^ *+' conftest.er1
>conftest.err
23644 cat conftest.err
>&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } &&
23647 { ac_try
='test -z "$ac_c_werror_flag"
23648 || test ! -s conftest.err'
23649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23650 (eval $ac_try) 2>&5
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); }; } &&
23654 { ac_try
='test -s conftest.$ac_objext'
23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656 (eval $ac_try) 2>&5
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); }; }; then
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.
$ac_ext >&5
23665 ac_lo
=`expr '(' $ac_mid ')' + 1`
23667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23670 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
23671 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23672 See \`config.log' for more details." >&5
23673 echo "$as_me: error: cannot compute sizeof (long long), 77
23674 See \`config.log' for more details." >&2;}
23675 { (exit 1); exit 1; }; } ;;
23678 if test "$cross_compiling" = yes; then
23679 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
23680 See \`config.log' for more details." >&5
23681 echo "$as_me: error: cannot run test program while cross compiling
23682 See \`config.log' for more details." >&2;}
23683 { (exit 1); exit 1; }; }
23685 cat >conftest.
$ac_ext <<_ACEOF
23688 cat confdefs.h
>>conftest.
$ac_ext
23689 cat >>conftest.
$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23691 $ac_includes_default
23692 long longval () { return (long) (sizeof (long long)); }
23693 unsigned long ulongval () { return (long) (sizeof (long long)); }
23695 #include <stdlib.h>
23700 FILE *f = fopen ("conftest.val", "w");
23703 if (((long) (sizeof (long long))) < 0)
23705 long i = longval ();
23706 if (i != ((long) (sizeof (long long))))
23708 fprintf (f, "%ld\n", i);
23712 unsigned long i = ulongval ();
23713 if (i != ((long) (sizeof (long long))))
23715 fprintf (f, "%lu\n", i);
23717 exit (ferror (f) || fclose (f) != 0);
23723 rm -f conftest
$ac_exeext
23724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23725 (eval $ac_link) 2>&5
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23730 (eval $ac_try) 2>&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); }; }; then
23734 ac_cv_sizeof_long_long
=`cat conftest.val`
23736 echo "$as_me: program exited with status $ac_status" >&5
23737 echo "$as_me: failed program was:" >&5
23738 sed 's/^/| /' conftest.
$ac_ext >&5
23740 ( exit $ac_status )
23741 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23742 See \`config.log' for more details." >&5
23743 echo "$as_me: error: cannot compute sizeof (long long), 77
23744 See \`config.log' for more details." >&2;}
23745 { (exit 1); exit 1; }; }
23747 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23752 ac_cv_sizeof_long_long
=0
23755 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23756 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
23757 cat >>confdefs.h
<<_ACEOF
23758 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23762 if test "$ac_cv_sizeof_long_long" != "0"; then
23763 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
23767 echo "$as_me:$LINENO: checking for long long" >&5
23768 echo $ECHO_N "checking for long long... $ECHO_C" >&6
23769 if test "${ac_cv_type_long_long+set}" = set; then
23770 echo $ECHO_N "(cached) $ECHO_C" >&6
23772 cat >conftest.
$ac_ext <<_ACEOF
23775 cat confdefs.h
>>conftest.
$ac_ext
23776 cat >>conftest.
$ac_ext <<_ACEOF
23777 /* end confdefs.h. */
23778 $ac_includes_default
23782 if ((long long *) 0)
23784 if (sizeof (long long))
23790 rm -f conftest.
$ac_objext
23791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23792 (eval $ac_compile) 2>conftest.er1
23794 grep -v '^ *+' conftest.er1
>conftest.err
23796 cat conftest.err
>&5
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); } &&
23799 { ac_try
='test -z "$ac_c_werror_flag"
23800 || test ! -s conftest.err'
23801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23802 (eval $ac_try) 2>&5
23804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805 (exit $ac_status); }; } &&
23806 { ac_try
='test -s conftest.$ac_objext'
23807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23808 (eval $ac_try) 2>&5
23810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23811 (exit $ac_status); }; }; then
23812 ac_cv_type_long_long
=yes
23814 echo "$as_me: failed program was:" >&5
23815 sed 's/^/| /' conftest.
$ac_ext >&5
23817 ac_cv_type_long_long
=no
23819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23821 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23822 echo "${ECHO_T}$ac_cv_type_long_long" >&6
23824 echo "$as_me:$LINENO: checking size of long long" >&5
23825 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
23826 if test "${ac_cv_sizeof_long_long+set}" = set; then
23827 echo $ECHO_N "(cached) $ECHO_C" >&6
23829 if test "$ac_cv_type_long_long" = yes; then
23830 # The cast to unsigned long works around a bug in the HP C Compiler
23831 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23832 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23833 # This bug is HP SR number 8606223364.
23834 if test "$cross_compiling" = yes; then
23835 # Depending upon the size, compute the lo and hi bounds.
23836 cat >conftest.
$ac_ext <<_ACEOF
23839 cat confdefs.h
>>conftest.
$ac_ext
23840 cat >>conftest.
$ac_ext <<_ACEOF
23841 /* end confdefs.h. */
23842 $ac_includes_default
23846 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
23853 rm -f conftest.
$ac_objext
23854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23855 (eval $ac_compile) 2>conftest.er1
23857 grep -v '^ *+' conftest.er1
>conftest.err
23859 cat conftest.err
>&5
23860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23861 (exit $ac_status); } &&
23862 { ac_try
='test -z "$ac_c_werror_flag"
23863 || test ! -s conftest.err'
23864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23865 (eval $ac_try) 2>&5
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); }; } &&
23869 { ac_try
='test -s conftest.$ac_objext'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; }; then
23877 cat >conftest.
$ac_ext <<_ACEOF
23880 cat confdefs.h
>>conftest.
$ac_ext
23881 cat >>conftest.
$ac_ext <<_ACEOF
23882 /* end confdefs.h. */
23883 $ac_includes_default
23887 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23894 rm -f conftest.
$ac_objext
23895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23896 (eval $ac_compile) 2>conftest.er1
23898 grep -v '^ *+' conftest.er1
>conftest.err
23900 cat conftest.err
>&5
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); } &&
23903 { ac_try
='test -z "$ac_c_werror_flag"
23904 || test ! -s conftest.err'
23905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23906 (eval $ac_try) 2>&5
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); }; } &&
23910 { ac_try
='test -s conftest.$ac_objext'
23911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23912 (eval $ac_try) 2>&5
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); }; }; then
23916 ac_hi
=$ac_mid; break
23918 echo "$as_me: failed program was:" >&5
23919 sed 's/^/| /' conftest.
$ac_ext >&5
23921 ac_lo
=`expr $ac_mid + 1`
23922 if test $ac_lo -le $ac_mid; then
23926 ac_mid
=`expr 2 '*' $ac_mid + 1`
23928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23931 echo "$as_me: failed program was:" >&5
23932 sed 's/^/| /' conftest.
$ac_ext >&5
23934 cat >conftest.
$ac_ext <<_ACEOF
23937 cat confdefs.h
>>conftest.
$ac_ext
23938 cat >>conftest.
$ac_ext <<_ACEOF
23939 /* end confdefs.h. */
23940 $ac_includes_default
23944 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
23951 rm -f conftest.
$ac_objext
23952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23953 (eval $ac_compile) 2>conftest.er1
23955 grep -v '^ *+' conftest.er1
>conftest.err
23957 cat conftest.err
>&5
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); } &&
23960 { ac_try
='test -z "$ac_c_werror_flag"
23961 || test ! -s conftest.err'
23962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23963 (eval $ac_try) 2>&5
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); }; } &&
23967 { ac_try
='test -s conftest.$ac_objext'
23968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23969 (eval $ac_try) 2>&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); }; }; then
23975 cat >conftest.
$ac_ext <<_ACEOF
23978 cat confdefs.h
>>conftest.
$ac_ext
23979 cat >>conftest.
$ac_ext <<_ACEOF
23980 /* end confdefs.h. */
23981 $ac_includes_default
23985 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
23992 rm -f conftest.
$ac_objext
23993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23994 (eval $ac_compile) 2>conftest.er1
23996 grep -v '^ *+' conftest.er1
>conftest.err
23998 cat conftest.err
>&5
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); } &&
24001 { ac_try
='test -z "$ac_c_werror_flag"
24002 || test ! -s conftest.err'
24003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24004 (eval $ac_try) 2>&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); }; } &&
24008 { ac_try
='test -s conftest.$ac_objext'
24009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24010 (eval $ac_try) 2>&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); }; }; then
24014 ac_lo
=$ac_mid; break
24016 echo "$as_me: failed program was:" >&5
24017 sed 's/^/| /' conftest.
$ac_ext >&5
24019 ac_hi
=`expr '(' $ac_mid ')' - 1`
24020 if test $ac_mid -le $ac_hi; then
24024 ac_mid
=`expr 2 '*' $ac_mid`
24026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24029 echo "$as_me: failed program was:" >&5
24030 sed 's/^/| /' conftest.
$ac_ext >&5
24034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24037 # Binary search between lo and hi bounds.
24038 while test "x$ac_lo" != "x$ac_hi"; do
24039 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24040 cat >conftest.
$ac_ext <<_ACEOF
24043 cat confdefs.h
>>conftest.
$ac_ext
24044 cat >>conftest.
$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24046 $ac_includes_default
24050 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
24057 rm -f conftest.
$ac_objext
24058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24059 (eval $ac_compile) 2>conftest.er1
24061 grep -v '^ *+' conftest.er1
>conftest.err
24063 cat conftest.err
>&5
24064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24065 (exit $ac_status); } &&
24066 { ac_try
='test -z "$ac_c_werror_flag"
24067 || test ! -s conftest.err'
24068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24069 (eval $ac_try) 2>&5
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); }; } &&
24073 { ac_try
='test -s conftest.$ac_objext'
24074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24075 (eval $ac_try) 2>&5
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); }; }; then
24081 echo "$as_me: failed program was:" >&5
24082 sed 's/^/| /' conftest.
$ac_ext >&5
24084 ac_lo
=`expr '(' $ac_mid ')' + 1`
24086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24089 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
24090 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
24091 See \`config.log' for more details." >&5
24092 echo "$as_me: error: cannot compute sizeof (long long), 77
24093 See \`config.log' for more details." >&2;}
24094 { (exit 1); exit 1; }; } ;;
24097 if test "$cross_compiling" = yes; then
24098 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
24099 See \`config.log' for more details." >&5
24100 echo "$as_me: error: cannot run test program while cross compiling
24101 See \`config.log' for more details." >&2;}
24102 { (exit 1); exit 1; }; }
24104 cat >conftest.
$ac_ext <<_ACEOF
24107 cat confdefs.h
>>conftest.
$ac_ext
24108 cat >>conftest.
$ac_ext <<_ACEOF
24109 /* end confdefs.h. */
24110 $ac_includes_default
24111 long longval () { return (long) (sizeof (long long)); }
24112 unsigned long ulongval () { return (long) (sizeof (long long)); }
24114 #include <stdlib.h>
24119 FILE *f = fopen ("conftest.val", "w");
24122 if (((long) (sizeof (long long))) < 0)
24124 long i = longval ();
24125 if (i != ((long) (sizeof (long long))))
24127 fprintf (f, "%ld\n", i);
24131 unsigned long i = ulongval ();
24132 if (i != ((long) (sizeof (long long))))
24134 fprintf (f, "%lu\n", i);
24136 exit (ferror (f) || fclose (f) != 0);
24142 rm -f conftest
$ac_exeext
24143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24144 (eval $ac_link) 2>&5
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24149 (eval $ac_try) 2>&5
24151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24152 (exit $ac_status); }; }; then
24153 ac_cv_sizeof_long_long
=`cat conftest.val`
24155 echo "$as_me: program exited with status $ac_status" >&5
24156 echo "$as_me: failed program was:" >&5
24157 sed 's/^/| /' conftest.
$ac_ext >&5
24159 ( exit $ac_status )
24160 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
24161 See \`config.log' for more details." >&5
24162 echo "$as_me: error: cannot compute sizeof (long long), 77
24163 See \`config.log' for more details." >&2;}
24164 { (exit 1); exit 1; }; }
24166 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24171 ac_cv_sizeof_long_long
=0
24174 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24175 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
24176 cat >>confdefs.h
<<_ACEOF
24177 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24183 echo "$as_me:$LINENO: checking for wchar_t" >&5
24184 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
24185 if test "${ac_cv_type_wchar_t+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24188 cat >conftest.
$ac_ext <<_ACEOF
24191 cat confdefs.h
>>conftest.
$ac_ext
24192 cat >>conftest.
$ac_ext <<_ACEOF
24193 /* end confdefs.h. */
24195 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24196 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24197 # error "fake wchar_t"
24199 #ifdef HAVE_WCHAR_H
24201 # include <stddef.h>
24203 # include <wchar.h>
24205 #ifdef HAVE_STDLIB_H
24206 # include <stdlib.h>
24217 if (sizeof (wchar_t))
24223 rm -f conftest.
$ac_objext
24224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24225 (eval $ac_compile) 2>conftest.er1
24227 grep -v '^ *+' conftest.er1
>conftest.err
24229 cat conftest.err
>&5
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); } &&
24232 { ac_try
='test -z "$ac_c_werror_flag"
24233 || test ! -s conftest.err'
24234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24235 (eval $ac_try) 2>&5
24237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238 (exit $ac_status); }; } &&
24239 { ac_try
='test -s conftest.$ac_objext'
24240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24241 (eval $ac_try) 2>&5
24243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24244 (exit $ac_status); }; }; then
24245 ac_cv_type_wchar_t
=yes
24247 echo "$as_me: failed program was:" >&5
24248 sed 's/^/| /' conftest.
$ac_ext >&5
24250 ac_cv_type_wchar_t
=no
24252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24254 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24255 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
24257 echo "$as_me:$LINENO: checking size of wchar_t" >&5
24258 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
24259 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24260 echo $ECHO_N "(cached) $ECHO_C" >&6
24262 if test "$ac_cv_type_wchar_t" = yes; then
24263 # The cast to unsigned long works around a bug in the HP C Compiler
24264 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24265 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24266 # This bug is HP SR number 8606223364.
24267 if test "$cross_compiling" = yes; then
24268 # Depending upon the size, compute the lo and hi bounds.
24269 cat >conftest.
$ac_ext <<_ACEOF
24272 cat confdefs.h
>>conftest.
$ac_ext
24273 cat >>conftest.
$ac_ext <<_ACEOF
24274 /* end confdefs.h. */
24276 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24277 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24278 # error "fake wchar_t"
24280 #ifdef HAVE_WCHAR_H
24282 # include <stddef.h>
24284 # include <wchar.h>
24286 #ifdef HAVE_STDLIB_H
24287 # include <stdlib.h>
24296 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
24303 rm -f conftest.
$ac_objext
24304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24305 (eval $ac_compile) 2>conftest.er1
24307 grep -v '^ *+' conftest.er1
>conftest.err
24309 cat conftest.err
>&5
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); } &&
24312 { ac_try
='test -z "$ac_c_werror_flag"
24313 || test ! -s conftest.err'
24314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24315 (eval $ac_try) 2>&5
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); }; } &&
24319 { ac_try
='test -s conftest.$ac_objext'
24320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24321 (eval $ac_try) 2>&5
24323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324 (exit $ac_status); }; }; then
24327 cat >conftest.
$ac_ext <<_ACEOF
24330 cat confdefs.h
>>conftest.
$ac_ext
24331 cat >>conftest.
$ac_ext <<_ACEOF
24332 /* end confdefs.h. */
24334 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24335 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24336 # error "fake wchar_t"
24338 #ifdef HAVE_WCHAR_H
24340 # include <stddef.h>
24342 # include <wchar.h>
24344 #ifdef HAVE_STDLIB_H
24345 # include <stdlib.h>
24354 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
24361 rm -f conftest.
$ac_objext
24362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24363 (eval $ac_compile) 2>conftest.er1
24365 grep -v '^ *+' conftest.er1
>conftest.err
24367 cat conftest.err
>&5
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); } &&
24370 { ac_try
='test -z "$ac_c_werror_flag"
24371 || test ! -s conftest.err'
24372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24373 (eval $ac_try) 2>&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); }; } &&
24377 { ac_try
='test -s conftest.$ac_objext'
24378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24379 (eval $ac_try) 2>&5
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); }; }; then
24383 ac_hi
=$ac_mid; break
24385 echo "$as_me: failed program was:" >&5
24386 sed 's/^/| /' conftest.
$ac_ext >&5
24388 ac_lo
=`expr $ac_mid + 1`
24389 if test $ac_lo -le $ac_mid; then
24393 ac_mid
=`expr 2 '*' $ac_mid + 1`
24395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24398 echo "$as_me: failed program was:" >&5
24399 sed 's/^/| /' conftest.
$ac_ext >&5
24401 cat >conftest.
$ac_ext <<_ACEOF
24404 cat confdefs.h
>>conftest.
$ac_ext
24405 cat >>conftest.
$ac_ext <<_ACEOF
24406 /* end confdefs.h. */
24408 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24409 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24410 # error "fake wchar_t"
24412 #ifdef HAVE_WCHAR_H
24414 # include <stddef.h>
24416 # include <wchar.h>
24418 #ifdef HAVE_STDLIB_H
24419 # include <stdlib.h>
24428 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
24435 rm -f conftest.
$ac_objext
24436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24437 (eval $ac_compile) 2>conftest.er1
24439 grep -v '^ *+' conftest.er1
>conftest.err
24441 cat conftest.err
>&5
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); } &&
24444 { ac_try
='test -z "$ac_c_werror_flag"
24445 || test ! -s conftest.err'
24446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24447 (eval $ac_try) 2>&5
24449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450 (exit $ac_status); }; } &&
24451 { ac_try
='test -s conftest.$ac_objext'
24452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453 (eval $ac_try) 2>&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); }; }; then
24459 cat >conftest.
$ac_ext <<_ACEOF
24462 cat confdefs.h
>>conftest.
$ac_ext
24463 cat >>conftest.
$ac_ext <<_ACEOF
24464 /* end confdefs.h. */
24466 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24467 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24468 # error "fake wchar_t"
24470 #ifdef HAVE_WCHAR_H
24472 # include <stddef.h>
24474 # include <wchar.h>
24476 #ifdef HAVE_STDLIB_H
24477 # include <stdlib.h>
24486 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
24493 rm -f conftest.
$ac_objext
24494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24495 (eval $ac_compile) 2>conftest.er1
24497 grep -v '^ *+' conftest.er1
>conftest.err
24499 cat conftest.err
>&5
24500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24501 (exit $ac_status); } &&
24502 { ac_try
='test -z "$ac_c_werror_flag"
24503 || test ! -s conftest.err'
24504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24505 (eval $ac_try) 2>&5
24507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24508 (exit $ac_status); }; } &&
24509 { ac_try
='test -s conftest.$ac_objext'
24510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24511 (eval $ac_try) 2>&5
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); }; }; then
24515 ac_lo
=$ac_mid; break
24517 echo "$as_me: failed program was:" >&5
24518 sed 's/^/| /' conftest.
$ac_ext >&5
24520 ac_hi
=`expr '(' $ac_mid ')' - 1`
24521 if test $ac_mid -le $ac_hi; then
24525 ac_mid
=`expr 2 '*' $ac_mid`
24527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24530 echo "$as_me: failed program was:" >&5
24531 sed 's/^/| /' conftest.
$ac_ext >&5
24535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24538 # Binary search between lo and hi bounds.
24539 while test "x$ac_lo" != "x$ac_hi"; do
24540 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24541 cat >conftest.
$ac_ext <<_ACEOF
24544 cat confdefs.h
>>conftest.
$ac_ext
24545 cat >>conftest.
$ac_ext <<_ACEOF
24546 /* end confdefs.h. */
24548 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24549 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24550 # error "fake wchar_t"
24552 #ifdef HAVE_WCHAR_H
24554 # include <stddef.h>
24556 # include <wchar.h>
24558 #ifdef HAVE_STDLIB_H
24559 # include <stdlib.h>
24568 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
24575 rm -f conftest.
$ac_objext
24576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24577 (eval $ac_compile) 2>conftest.er1
24579 grep -v '^ *+' conftest.er1
>conftest.err
24581 cat conftest.err
>&5
24582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24583 (exit $ac_status); } &&
24584 { ac_try
='test -z "$ac_c_werror_flag"
24585 || test ! -s conftest.err'
24586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24587 (eval $ac_try) 2>&5
24589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590 (exit $ac_status); }; } &&
24591 { ac_try
='test -s conftest.$ac_objext'
24592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24593 (eval $ac_try) 2>&5
24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596 (exit $ac_status); }; }; then
24599 echo "$as_me: failed program was:" >&5
24600 sed 's/^/| /' conftest.
$ac_ext >&5
24602 ac_lo
=`expr '(' $ac_mid ')' + 1`
24604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24607 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
24608 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
24609 See \`config.log' for more details." >&5
24610 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
24611 See \`config.log' for more details." >&2;}
24612 { (exit 1); exit 1; }; } ;;
24615 if test "$cross_compiling" = yes; then
24616 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
24617 See \`config.log' for more details." >&5
24618 echo "$as_me: error: cannot run test program while cross compiling
24619 See \`config.log' for more details." >&2;}
24620 { (exit 1); exit 1; }; }
24622 cat >conftest.
$ac_ext <<_ACEOF
24625 cat confdefs.h
>>conftest.
$ac_ext
24626 cat >>conftest.
$ac_ext <<_ACEOF
24627 /* end confdefs.h. */
24629 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24630 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24631 # error "fake wchar_t"
24633 #ifdef HAVE_WCHAR_H
24635 # include <stddef.h>
24637 # include <wchar.h>
24639 #ifdef HAVE_STDLIB_H
24640 # include <stdlib.h>
24646 long longval () { return (long) (sizeof (wchar_t)); }
24647 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
24649 #include <stdlib.h>
24654 FILE *f = fopen ("conftest.val", "w");
24657 if (((long) (sizeof (wchar_t))) < 0)
24659 long i = longval ();
24660 if (i != ((long) (sizeof (wchar_t))))
24662 fprintf (f, "%ld\n", i);
24666 unsigned long i = ulongval ();
24667 if (i != ((long) (sizeof (wchar_t))))
24669 fprintf (f, "%lu\n", i);
24671 exit (ferror (f) || fclose (f) != 0);
24677 rm -f conftest
$ac_exeext
24678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24679 (eval $ac_link) 2>&5
24681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24682 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24684 (eval $ac_try) 2>&5
24686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24687 (exit $ac_status); }; }; then
24688 ac_cv_sizeof_wchar_t
=`cat conftest.val`
24690 echo "$as_me: program exited with status $ac_status" >&5
24691 echo "$as_me: failed program was:" >&5
24692 sed 's/^/| /' conftest.
$ac_ext >&5
24694 ( exit $ac_status )
24695 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
24696 See \`config.log' for more details." >&5
24697 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
24698 See \`config.log' for more details." >&2;}
24699 { (exit 1); exit 1; }; }
24701 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24706 ac_cv_sizeof_wchar_t
=0
24709 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24710 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
24711 cat >>confdefs.h
<<_ACEOF
24712 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24716 if test "$ac_cv_sizeof_wchar_t" != "0"; then
24722 echo "$as_me:$LINENO: checking for va_copy" >&5
24723 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
24724 if test "${wx_cv_func_va_copy+set}" = set; then
24725 echo $ECHO_N "(cached) $ECHO_C" >&6
24729 ac_cpp
='$CXXCPP $CPPFLAGS'
24730 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24731 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24732 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24734 cat >conftest.
$ac_ext <<_ACEOF
24736 #include <stdarg.h>
24737 void foo(char *f, ...)
24751 rm -f conftest.
$ac_objext conftest
$ac_exeext
24752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24753 (eval $ac_link) 2>conftest.er1
24755 grep -v '^ *+' conftest.er1
>conftest.err
24757 cat conftest.err
>&5
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); } &&
24760 { ac_try
='test -z "$ac_cxx_werror_flag"
24761 || test ! -s conftest.err'
24762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24763 (eval $ac_try) 2>&5
24765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766 (exit $ac_status); }; } &&
24767 { ac_try
='test -s conftest$ac_exeext'
24768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24769 (eval $ac_try) 2>&5
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); }; }; then
24773 wx_cv_func_va_copy
=yes
24775 echo "$as_me: failed program was:" >&5
24776 sed 's/^/| /' conftest.
$ac_ext >&5
24778 wx_cv_func_va_copy
=no
24781 rm -f conftest.err conftest.
$ac_objext \
24782 conftest
$ac_exeext conftest.
$ac_ext
24784 ac_cpp
='$CPP $CPPFLAGS'
24785 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24786 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24787 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24792 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24793 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
24795 if test $wx_cv_func_va_copy = "yes"; then
24796 cat >>confdefs.h
<<\_ACEOF
24797 #define HAVE_VA_COPY 1
24801 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24802 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
24803 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24804 echo $ECHO_N "(cached) $ECHO_C" >&6
24807 if test "$cross_compiling" = yes; then
24808 wx_cv_type_va_list_lvalue
=yes
24811 cat >conftest.
$ac_ext <<_ACEOF
24813 #include <stdarg.h>
24814 int foo(char *f, ...)
24819 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24827 return foo("hi", 17);
24830 rm -f conftest
$ac_exeext
24831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24832 (eval $ac_link) 2>&5
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24837 (eval $ac_try) 2>&5
24839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24840 (exit $ac_status); }; }; then
24841 wx_cv_type_va_list_lvalue
=yes
24843 echo "$as_me: program exited with status $ac_status" >&5
24844 echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.
$ac_ext >&5
24847 ( exit $ac_status )
24848 wx_cv_type_va_list_lvalue
=no
24850 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24855 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24856 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
24858 if test $wx_cv_type_va_list_lvalue != "yes"; then
24859 cat >>confdefs.h
<<\_ACEOF
24860 #define VA_LIST_IS_ARRAY 1
24866 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24868 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24869 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
24870 if test "${wx_cv_have_variadic_macros+set}" = set; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24875 ac_cpp
='$CXXCPP $CPPFLAGS'
24876 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24877 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24878 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24880 cat >conftest.
$ac_ext <<_ACEOF
24883 cat confdefs.h
>>conftest.
$ac_ext
24884 cat >>conftest.
$ac_ext <<_ACEOF
24885 /* end confdefs.h. */
24888 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24894 test("%s %d %p", "test", 1, 0);
24901 rm -f conftest.
$ac_objext
24902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24903 (eval $ac_compile) 2>conftest.er1
24905 grep -v '^ *+' conftest.er1
>conftest.err
24907 cat conftest.err
>&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } &&
24910 { ac_try
='test -z "$ac_cxx_werror_flag"
24911 || test ! -s conftest.err'
24912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24913 (eval $ac_try) 2>&5
24915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24916 (exit $ac_status); }; } &&
24917 { ac_try
='test -s conftest.$ac_objext'
24918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24919 (eval $ac_try) 2>&5
24921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922 (exit $ac_status); }; }; then
24923 wx_cv_have_variadic_macros
=yes
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.
$ac_ext >&5
24928 wx_cv_have_variadic_macros
=no
24931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24933 ac_cpp
='$CPP $CPPFLAGS'
24934 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24935 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24936 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24941 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24942 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
24944 if test $wx_cv_have_variadic_macros = "yes"; then
24945 cat >>confdefs.h
<<\_ACEOF
24946 #define HAVE_VARIADIC_MACROS 1
24952 # Check whether --enable-largefile or --disable-largefile was given.
24953 if test "${enable_largefile+set}" = set; then
24954 enableval
="$enable_largefile"
24957 if test "$enable_largefile" != no
; then
24960 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24961 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
24962 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24963 echo $ECHO_N "(cached) $ECHO_C" >&6
24966 cat >conftest.
$ac_ext <<_ACEOF
24969 cat confdefs.h
>>conftest.
$ac_ext
24970 cat >>conftest.
$ac_ext <<_ACEOF
24971 /* end confdefs.h. */
24972 #define _FILE_OFFSET_BITS 64
24973 #include <sys/types.h>
24978 unsigned int field: sizeof(off_t) == 8;
24985 rm -f conftest.
$ac_objext
24986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24987 (eval $ac_compile) 2>conftest.er1
24989 grep -v '^ *+' conftest.er1
>conftest.err
24991 cat conftest.err
>&5
24992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993 (exit $ac_status); } &&
24994 { ac_try
='test -z "$ac_c_werror_flag"
24995 || test ! -s conftest.err'
24996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24997 (eval $ac_try) 2>&5
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); }; } &&
25001 { ac_try
='test -s conftest.$ac_objext'
25002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25003 (eval $ac_try) 2>&5
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); }; }; then
25007 ac_cv_sys_file_offset_bits
=64
25009 echo "$as_me: failed program was:" >&5
25010 sed 's/^/| /' conftest.
$ac_ext >&5
25012 ac_cv_sys_file_offset_bits
=no
25014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25018 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25019 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
25021 if test "$ac_cv_sys_file_offset_bits" != no
; then
25023 cat >>confdefs.h
<<_ACEOF
25024 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25029 if test "x$wx_largefile" != "xyes"; then
25031 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25032 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
25033 if test "${ac_cv_sys_large_files+set}" = set; then
25034 echo $ECHO_N "(cached) $ECHO_C" >&6
25037 cat >conftest.
$ac_ext <<_ACEOF
25040 cat confdefs.h
>>conftest.
$ac_ext
25041 cat >>conftest.
$ac_ext <<_ACEOF
25042 /* end confdefs.h. */
25043 #define _LARGE_FILES 1
25044 #include <sys/types.h>
25049 unsigned int field: sizeof(off_t) == 8;
25056 rm -f conftest.
$ac_objext
25057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25058 (eval $ac_compile) 2>conftest.er1
25060 grep -v '^ *+' conftest.er1
>conftest.err
25062 cat conftest.err
>&5
25063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064 (exit $ac_status); } &&
25065 { ac_try
='test -z "$ac_c_werror_flag"
25066 || test ! -s conftest.err'
25067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25068 (eval $ac_try) 2>&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); }; } &&
25072 { ac_try
='test -s conftest.$ac_objext'
25073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25074 (eval $ac_try) 2>&5
25076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077 (exit $ac_status); }; }; then
25078 ac_cv_sys_large_files
=1
25080 echo "$as_me: failed program was:" >&5
25081 sed 's/^/| /' conftest.
$ac_ext >&5
25083 ac_cv_sys_large_files
=no
25085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25089 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25090 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
25092 if test "$ac_cv_sys_large_files" != no
; then
25094 cat >>confdefs.h
<<_ACEOF
25095 #define _LARGE_FILES $ac_cv_sys_large_files
25102 echo "$as_me:$LINENO: checking if large file support is available" >&5
25103 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
25104 if test "x$wx_largefile" = "xyes"; then
25105 cat >>confdefs.h
<<\_ACEOF
25106 #define HAVE_LARGEFILE_SUPPORT 1
25110 echo "$as_me:$LINENO: result: $wx_largefile" >&5
25111 echo "${ECHO_T}$wx_largefile" >&6
25115 if test "x$wx_largefile" = "xyes"; then
25116 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25117 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25119 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25120 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25121 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
25122 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25123 echo $ECHO_N "(cached) $ECHO_C" >&6
25127 ac_cpp
='$CXXCPP $CPPFLAGS'
25128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25132 cat >conftest.
$ac_ext <<_ACEOF
25135 cat confdefs.h
>>conftest.
$ac_ext
25136 cat >>conftest.
$ac_ext <<_ACEOF
25137 /* end confdefs.h. */
25143 #ifndef __STDC_EXT__
25151 rm -f conftest.
$ac_objext
25152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25153 (eval $ac_compile) 2>conftest.er1
25155 grep -v '^ *+' conftest.er1
>conftest.err
25157 cat conftest.err
>&5
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); } &&
25160 { ac_try
='test -z "$ac_cxx_werror_flag"
25161 || test ! -s conftest.err'
25162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25163 (eval $ac_try) 2>&5
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); }; } &&
25167 { ac_try
='test -s conftest.$ac_objext'
25168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25169 (eval $ac_try) 2>&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); }; }; then
25173 wx_cv_STDC_EXT_required
=no
25175 echo "$as_me: failed program was:" >&5
25176 sed 's/^/| /' conftest.
$ac_ext >&5
25178 wx_cv_STDC_EXT_required
=yes
25181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25183 ac_cpp
='$CPP $CPPFLAGS'
25184 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25185 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25186 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25191 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25192 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
25193 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25194 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25198 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25200 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25201 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
25202 if test "${ac_cv_sys_largefile_source+set}" = set; then
25203 echo $ECHO_N "(cached) $ECHO_C" >&6
25206 ac_cv_sys_largefile_source
=no
25207 cat >conftest.
$ac_ext <<_ACEOF
25210 cat confdefs.h
>>conftest.
$ac_ext
25211 cat >>conftest.
$ac_ext <<_ACEOF
25212 /* end confdefs.h. */
25222 rm -f conftest.
$ac_objext
25223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25224 (eval $ac_compile) 2>conftest.er1
25226 grep -v '^ *+' conftest.er1
>conftest.err
25228 cat conftest.err
>&5
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); } &&
25231 { ac_try
='test -z "$ac_c_werror_flag"
25232 || test ! -s conftest.err'
25233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25234 (eval $ac_try) 2>&5
25236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237 (exit $ac_status); }; } &&
25238 { ac_try
='test -s conftest.$ac_objext'
25239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25240 (eval $ac_try) 2>&5
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); }; }; then
25246 echo "$as_me: failed program was:" >&5
25247 sed 's/^/| /' conftest.
$ac_ext >&5
25250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25251 cat >conftest.
$ac_ext <<_ACEOF
25254 cat confdefs.h
>>conftest.
$ac_ext
25255 cat >>conftest.
$ac_ext <<_ACEOF
25256 /* end confdefs.h. */
25257 #define _LARGEFILE_SOURCE 1
25267 rm -f conftest.
$ac_objext
25268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25269 (eval $ac_compile) 2>conftest.er1
25271 grep -v '^ *+' conftest.er1
>conftest.err
25273 cat conftest.err
>&5
25274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25275 (exit $ac_status); } &&
25276 { ac_try
='test -z "$ac_c_werror_flag"
25277 || test ! -s conftest.err'
25278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25279 (eval $ac_try) 2>&5
25281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25282 (exit $ac_status); }; } &&
25283 { ac_try
='test -s conftest.$ac_objext'
25284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25285 (eval $ac_try) 2>&5
25287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25288 (exit $ac_status); }; }; then
25289 ac_cv_sys_largefile_source
=1; break
25291 echo "$as_me: failed program was:" >&5
25292 sed 's/^/| /' conftest.
$ac_ext >&5
25295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25299 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25300 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
25301 if test "$ac_cv_sys_largefile_source" != no
; then
25303 cat >>confdefs.h
<<_ACEOF
25304 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25310 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25311 # in glibc 2.1.3, but that breaks too many other things.
25312 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25313 echo "$as_me:$LINENO: checking for fseeko" >&5
25314 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
25315 if test "${ac_cv_func_fseeko+set}" = set; then
25316 echo $ECHO_N "(cached) $ECHO_C" >&6
25318 cat >conftest.
$ac_ext <<_ACEOF
25321 cat confdefs.h
>>conftest.
$ac_ext
25322 cat >>conftest.
$ac_ext <<_ACEOF
25323 /* end confdefs.h. */
25328 return fseeko && fseeko (stdin, 0, 0);
25333 rm -f conftest.
$ac_objext conftest
$ac_exeext
25334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25335 (eval $ac_link) 2>conftest.er1
25337 grep -v '^ *+' conftest.er1
>conftest.err
25339 cat conftest.err
>&5
25340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341 (exit $ac_status); } &&
25342 { ac_try
='test -z "$ac_c_werror_flag"
25343 || test ! -s conftest.err'
25344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25345 (eval $ac_try) 2>&5
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); }; } &&
25349 { ac_try
='test -s conftest$ac_exeext'
25350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25351 (eval $ac_try) 2>&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); }; }; then
25355 ac_cv_func_fseeko
=yes
25357 echo "$as_me: failed program was:" >&5
25358 sed 's/^/| /' conftest.
$ac_ext >&5
25360 ac_cv_func_fseeko
=no
25362 rm -f conftest.err conftest.
$ac_objext \
25363 conftest
$ac_exeext conftest.
$ac_ext
25365 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
25366 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
25367 if test $ac_cv_func_fseeko = yes; then
25369 cat >>confdefs.h
<<\_ACEOF
25370 #define HAVE_FSEEKO 1
25375 if test "$ac_cv_sys_largefile_source" != no
; then
25376 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25380 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25381 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
25382 if test "${ac_cv_c_bigendian+set}" = set; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25385 ac_cv_c_bigendian
=unknown
25386 # See if sys/param.h defines the BYTE_ORDER macro.
25387 cat >conftest.
$ac_ext <<_ACEOF
25390 cat confdefs.h
>>conftest.
$ac_ext
25391 cat >>conftest.
$ac_ext <<_ACEOF
25392 /* end confdefs.h. */
25393 #include <sys/types.h>
25394 #include <sys/param.h>
25399 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25400 bogus endian macros
25406 rm -f conftest.
$ac_objext
25407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25408 (eval $ac_compile) 2>conftest.er1
25410 grep -v '^ *+' conftest.er1
>conftest.err
25412 cat conftest.err
>&5
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); } &&
25415 { ac_try
='test -z "$ac_c_werror_flag"
25416 || test ! -s conftest.err'
25417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25418 (eval $ac_try) 2>&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); }; } &&
25422 { ac_try
='test -s conftest.$ac_objext'
25423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25424 (eval $ac_try) 2>&5
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); }; }; then
25428 # It does; now see whether it defined to BIG_ENDIAN or not.
25429 cat >conftest.
$ac_ext <<_ACEOF
25432 cat confdefs.h
>>conftest.
$ac_ext
25433 cat >>conftest.
$ac_ext <<_ACEOF
25434 /* end confdefs.h. */
25435 #include <sys/types.h>
25436 #include <sys/param.h>
25441 #if BYTE_ORDER != BIG_ENDIAN
25448 rm -f conftest.
$ac_objext
25449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25450 (eval $ac_compile) 2>conftest.er1
25452 grep -v '^ *+' conftest.er1
>conftest.err
25454 cat conftest.err
>&5
25455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456 (exit $ac_status); } &&
25457 { ac_try
='test -z "$ac_c_werror_flag"
25458 || test ! -s conftest.err'
25459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25460 (eval $ac_try) 2>&5
25462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25463 (exit $ac_status); }; } &&
25464 { ac_try
='test -s conftest.$ac_objext'
25465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25466 (eval $ac_try) 2>&5
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); }; }; then
25470 ac_cv_c_bigendian
=yes
25472 echo "$as_me: failed program was:" >&5
25473 sed 's/^/| /' conftest.
$ac_ext >&5
25475 ac_cv_c_bigendian
=no
25477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25479 echo "$as_me: failed program was:" >&5
25480 sed 's/^/| /' conftest.
$ac_ext >&5
25483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25484 if test $ac_cv_c_bigendian = unknown
; then
25485 if test "$cross_compiling" = yes; then
25486 ac_cv_c_bigendian
=unknown
25488 cat >conftest.
$ac_ext <<_ACEOF
25491 cat confdefs.h
>>conftest.
$ac_ext
25492 cat >>conftest.
$ac_ext <<_ACEOF
25493 /* end confdefs.h. */
25495 /* Are we little or big endian? From Harbison&Steele. */
25499 char c[sizeof (long)];
25502 exit (u.c[sizeof (long) - 1] == 1);
25505 rm -f conftest
$ac_exeext
25506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25507 (eval $ac_link) 2>&5
25509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25512 (eval $ac_try) 2>&5
25514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515 (exit $ac_status); }; }; then
25516 ac_cv_c_bigendian
=no
25518 echo "$as_me: program exited with status $ac_status" >&5
25519 echo "$as_me: failed program was:" >&5
25520 sed 's/^/| /' conftest.
$ac_ext >&5
25522 ( exit $ac_status )
25523 ac_cv_c_bigendian
=yes
25525 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25529 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25530 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
25531 if test $ac_cv_c_bigendian = unknown
; then
25532 { 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
25533 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;}
25535 if test $ac_cv_c_bigendian = yes; then
25536 cat >>confdefs.h
<<\_ACEOF
25537 #define WORDS_BIGENDIAN 1
25547 ac_cpp
='$CXXCPP $CPPFLAGS'
25548 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25549 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25550 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25554 for ac_header
in iostream
25556 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25557 echo "$as_me:$LINENO: checking for $ac_header" >&5
25558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25560 echo $ECHO_N "(cached) $ECHO_C" >&6
25562 cat >conftest.
$ac_ext <<_ACEOF
25565 cat confdefs.h
>>conftest.
$ac_ext
25566 cat >>conftest.
$ac_ext <<_ACEOF
25567 /* end confdefs.h. */
25570 #include <$ac_header>
25572 rm -f conftest.
$ac_objext
25573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25574 (eval $ac_compile) 2>conftest.er1
25576 grep -v '^ *+' conftest.er1
>conftest.err
25578 cat conftest.err
>&5
25579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 (exit $ac_status); } &&
25581 { ac_try
='test -z "$ac_cxx_werror_flag"
25582 || test ! -s conftest.err'
25583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25584 (eval $ac_try) 2>&5
25586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587 (exit $ac_status); }; } &&
25588 { ac_try
='test -s conftest.$ac_objext'
25589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25590 (eval $ac_try) 2>&5
25592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25593 (exit $ac_status); }; }; then
25594 eval "$as_ac_Header=yes"
25596 echo "$as_me: failed program was:" >&5
25597 sed 's/^/| /' conftest.
$ac_ext >&5
25599 eval "$as_ac_Header=no"
25601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25606 cat >>confdefs.h
<<_ACEOF
25607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25615 if test "$ac_cv_header_iostream" = "yes" ; then
25618 cat >>confdefs.h
<<\_ACEOF
25619 #define wxUSE_IOSTREAMH 1
25625 ac_cpp
='$CPP $CPPFLAGS'
25626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25633 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25634 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
25635 if test "${wx_cv_cpp_bool+set}" = set; then
25636 echo $ECHO_N "(cached) $ECHO_C" >&6
25642 ac_cpp
='$CXXCPP $CPPFLAGS'
25643 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25644 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25645 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25648 cat >conftest.
$ac_ext <<_ACEOF
25651 cat confdefs.h
>>conftest.
$ac_ext
25652 cat >>conftest.
$ac_ext <<_ACEOF
25653 /* end confdefs.h. */
25668 rm -f conftest.
$ac_objext
25669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25670 (eval $ac_compile) 2>conftest.er1
25672 grep -v '^ *+' conftest.er1
>conftest.err
25674 cat conftest.err
>&5
25675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25676 (exit $ac_status); } &&
25677 { ac_try
='test -z "$ac_cxx_werror_flag"
25678 || test ! -s conftest.err'
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); }; } &&
25684 { ac_try
='test -s conftest.$ac_objext'
25685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25686 (eval $ac_try) 2>&5
25688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25689 (exit $ac_status); }; }; then
25694 echo "$as_me: failed program was:" >&5
25695 sed 's/^/| /' conftest.
$ac_ext >&5
25702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25705 ac_cpp
='$CPP $CPPFLAGS'
25706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25712 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
25713 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
25715 if test "$wx_cv_cpp_bool" = "yes"; then
25716 cat >>confdefs.h
<<\_ACEOF
25717 #define HAVE_BOOL 1
25724 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25725 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
25726 if test "${wx_cv_explicit+set}" = set; then
25727 echo $ECHO_N "(cached) $ECHO_C" >&6
25733 ac_cpp
='$CXXCPP $CPPFLAGS'
25734 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25735 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25736 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25739 cat >conftest.
$ac_ext <<_ACEOF
25742 cat confdefs.h
>>conftest.
$ac_ext
25743 cat >>conftest.
$ac_ext <<_ACEOF
25744 /* end confdefs.h. */
25746 class Foo { public: explicit Foo(int) {} };
25758 rm -f conftest.
$ac_objext
25759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25760 (eval $ac_compile) 2>conftest.er1
25762 grep -v '^ *+' conftest.er1
>conftest.err
25764 cat conftest.err
>&5
25765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766 (exit $ac_status); } &&
25767 { ac_try
='test -z "$ac_cxx_werror_flag"
25768 || test ! -s conftest.err'
25769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25770 (eval $ac_try) 2>&5
25772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773 (exit $ac_status); }; } &&
25774 { ac_try
='test -s conftest.$ac_objext'
25775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25776 (eval $ac_try) 2>&5
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); }; }; then
25781 cat >conftest.
$ac_ext <<_ACEOF
25784 cat confdefs.h
>>conftest.
$ac_ext
25785 cat >>conftest.
$ac_ext <<_ACEOF
25786 /* end confdefs.h. */
25788 class Foo { public: explicit Foo(int) {} };
25789 static void TakeFoo(const Foo& foo) { }
25802 rm -f conftest.
$ac_objext
25803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25804 (eval $ac_compile) 2>conftest.er1
25806 grep -v '^ *+' conftest.er1
>conftest.err
25808 cat conftest.err
>&5
25809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25810 (exit $ac_status); } &&
25811 { ac_try
='test -z "$ac_cxx_werror_flag"
25812 || test ! -s conftest.err'
25813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25814 (eval $ac_try) 2>&5
25816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25817 (exit $ac_status); }; } &&
25818 { ac_try
='test -s conftest.$ac_objext'
25819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25820 (eval $ac_try) 2>&5
25822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25823 (exit $ac_status); }; }; then
25826 echo "$as_me: failed program was:" >&5
25827 sed 's/^/| /' conftest.
$ac_ext >&5
25832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25835 echo "$as_me: failed program was:" >&5
25836 sed 's/^/| /' conftest.
$ac_ext >&5
25841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25844 ac_cpp
='$CPP $CPPFLAGS'
25845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25851 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25852 echo "${ECHO_T}$wx_cv_explicit" >&6
25854 if test "$wx_cv_explicit" = "yes"; then
25855 cat >>confdefs.h
<<\_ACEOF
25856 #define HAVE_EXPLICIT 1
25862 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
25863 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
25864 if test "${ac_cv_cxx_const_cast+set}" = set; then
25865 echo $ECHO_N "(cached) $ECHO_C" >&6
25870 ac_cpp
='$CXXCPP $CPPFLAGS'
25871 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25872 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25873 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25875 cat >conftest.
$ac_ext <<_ACEOF
25878 cat confdefs.h
>>conftest.
$ac_ext
25879 cat >>conftest.
$ac_ext <<_ACEOF
25880 /* end confdefs.h. */
25885 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
25890 rm -f conftest.
$ac_objext
25891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25892 (eval $ac_compile) 2>conftest.er1
25894 grep -v '^ *+' conftest.er1
>conftest.err
25896 cat conftest.err
>&5
25897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25898 (exit $ac_status); } &&
25899 { ac_try
='test -z "$ac_cxx_werror_flag"
25900 || test ! -s conftest.err'
25901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25902 (eval $ac_try) 2>&5
25904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25905 (exit $ac_status); }; } &&
25906 { ac_try
='test -s conftest.$ac_objext'
25907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25908 (eval $ac_try) 2>&5
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); }; }; then
25912 ac_cv_cxx_const_cast
=yes
25914 echo "$as_me: failed program was:" >&5
25915 sed 's/^/| /' conftest.
$ac_ext >&5
25917 ac_cv_cxx_const_cast
=no
25919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25921 ac_cpp
='$CPP $CPPFLAGS'
25922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25928 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
25929 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
25930 if test "$ac_cv_cxx_const_cast" = yes; then
25932 cat >>confdefs.h
<<\_ACEOF
25933 #define HAVE_CONST_CAST
25938 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
25939 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
25940 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
25941 echo $ECHO_N "(cached) $ECHO_C" >&6
25946 ac_cpp
='$CXXCPP $CPPFLAGS'
25947 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25948 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25949 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25951 cat >conftest.
$ac_ext <<_ACEOF
25954 cat confdefs.h
>>conftest.
$ac_ext
25955 cat >>conftest.
$ac_ext <<_ACEOF
25956 /* end confdefs.h. */
25957 #include <typeinfo>
25958 class Base { public : Base () {} virtual void f () = 0;};
25959 class Derived : public Base { public : Derived () {} virtual void f () {} };
25960 class Unrelated { public : Unrelated () {} };
25961 int g (Unrelated&) { return 0; }
25966 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
25971 rm -f conftest.
$ac_objext
25972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25973 (eval $ac_compile) 2>conftest.er1
25975 grep -v '^ *+' conftest.er1
>conftest.err
25977 cat conftest.err
>&5
25978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25979 (exit $ac_status); } &&
25980 { ac_try
='test -z "$ac_cxx_werror_flag"
25981 || test ! -s conftest.err'
25982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25983 (eval $ac_try) 2>&5
25985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25986 (exit $ac_status); }; } &&
25987 { ac_try
='test -s conftest.$ac_objext'
25988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25989 (eval $ac_try) 2>&5
25991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25992 (exit $ac_status); }; }; then
25993 ac_cv_cxx_reinterpret_cast
=yes
25995 echo "$as_me: failed program was:" >&5
25996 sed 's/^/| /' conftest.
$ac_ext >&5
25998 ac_cv_cxx_reinterpret_cast
=no
26000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26002 ac_cpp
='$CPP $CPPFLAGS'
26003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26009 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26010 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
26011 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26013 cat >>confdefs.h
<<\_ACEOF
26014 #define HAVE_REINTERPRET_CAST
26019 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26020 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
26021 if test "${ac_cv_cxx_static_cast+set}" = set; then
26022 echo $ECHO_N "(cached) $ECHO_C" >&6
26027 ac_cpp
='$CXXCPP $CPPFLAGS'
26028 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26029 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26030 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26032 cat >conftest.
$ac_ext <<_ACEOF
26035 cat confdefs.h
>>conftest.
$ac_ext
26036 cat >>conftest.
$ac_ext <<_ACEOF
26037 /* end confdefs.h. */
26038 #include <typeinfo>
26039 class Base { public : Base () {} virtual void f () = 0; };
26040 class Derived : public Base { public : Derived () {} virtual void f () {} };
26041 int g (Derived&) { return 0; }
26046 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26051 rm -f conftest.
$ac_objext
26052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26053 (eval $ac_compile) 2>conftest.er1
26055 grep -v '^ *+' conftest.er1
>conftest.err
26057 cat conftest.err
>&5
26058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26059 (exit $ac_status); } &&
26060 { ac_try
='test -z "$ac_cxx_werror_flag"
26061 || test ! -s conftest.err'
26062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26063 (eval $ac_try) 2>&5
26065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26066 (exit $ac_status); }; } &&
26067 { ac_try
='test -s conftest.$ac_objext'
26068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26069 (eval $ac_try) 2>&5
26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072 (exit $ac_status); }; }; then
26073 ac_cv_cxx_static_cast
=yes
26075 echo "$as_me: failed program was:" >&5
26076 sed 's/^/| /' conftest.
$ac_ext >&5
26078 ac_cv_cxx_static_cast
=no
26080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26082 ac_cpp
='$CPP $CPPFLAGS'
26083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26089 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26090 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
26091 if test "$ac_cv_cxx_static_cast" = yes; then
26093 cat >>confdefs.h
<<\_ACEOF
26094 #define HAVE_STATIC_CAST
26100 if test "x$SUNCXX" = xyes
; then
26101 CXXFLAGS
="-features=tmplife $CXXFLAGS"
26104 if test "x$SUNCC" = xyes
; then
26105 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26108 if test "x$SGICC" = "xyes"; then
26109 CFLAGS
="-woff 3970 $CFLAGS"
26111 if test "x$SGICXX" = "xyes"; then
26112 CXXFLAGS
="-woff 3970 $CXXFLAGS"
26115 if test "x$HPCC" = "xyes"; then
26116 CFLAGS
="+W 2011,2450 $CFLAGS"
26118 if test "x$HPCXX" = "xyes"; then
26119 CXXFLAGS
="+W 2340 $CXXFLAGS"
26122 if test "x$COMPAQCXX" = "xyes"; then
26123 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26127 ac_cpp
='$CXXCPP $CPPFLAGS'
26128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26133 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26134 if test "$wxUSE_UNICODE" = "yes"; then
26135 std_string
="std::wstring"
26136 char_type
="wchar_t"
26138 std_string
="std::string"
26142 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26143 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
26144 if test "${wx_cv_class_stdstring+set}" = set; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26148 cat >conftest.
$ac_ext <<_ACEOF
26151 cat confdefs.h
>>conftest.
$ac_ext
26152 cat >>conftest.
$ac_ext <<_ACEOF
26153 /* end confdefs.h. */
26163 rm -f conftest.
$ac_objext
26164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26165 (eval $ac_compile) 2>conftest.er1
26167 grep -v '^ *+' conftest.er1
>conftest.err
26169 cat conftest.err
>&5
26170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171 (exit $ac_status); } &&
26172 { ac_try
='test -z "$ac_cxx_werror_flag"
26173 || test ! -s conftest.err'
26174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26175 (eval $ac_try) 2>&5
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); }; } &&
26179 { ac_try
='test -s conftest.$ac_objext'
26180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26181 (eval $ac_try) 2>&5
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); }; }; then
26185 wx_cv_class_stdstring
=yes
26187 echo "$as_me: failed program was:" >&5
26188 sed 's/^/| /' conftest.
$ac_ext >&5
26190 wx_cv_class_stdstring
=no
26193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26197 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26198 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
26200 if test "$wx_cv_class_stdstring" = yes; then
26201 if test "$wxUSE_UNICODE" = "yes"; then
26202 cat >>confdefs.h
<<\_ACEOF
26203 #define HAVE_STD_WSTRING 1
26208 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26209 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
26210 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26211 echo $ECHO_N "(cached) $ECHO_C" >&6
26214 cat >conftest.
$ac_ext <<_ACEOF
26217 cat confdefs.h
>>conftest.
$ac_ext
26218 cat >>conftest.
$ac_ext <<_ACEOF
26219 /* end confdefs.h. */
26221 #ifdef HAVE_WCHAR_H
26223 # include <stddef.h>
26225 # include <wchar.h>
26227 #ifdef HAVE_STDLIB_H
26228 # include <stdlib.h>
26236 std::basic_string<$char_type> foo;
26237 const $char_type* dummy = foo.c_str();
26242 rm -f conftest.
$ac_objext
26243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26244 (eval $ac_compile) 2>conftest.er1
26246 grep -v '^ *+' conftest.er1
>conftest.err
26248 cat conftest.err
>&5
26249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26250 (exit $ac_status); } &&
26251 { ac_try
='test -z "$ac_cxx_werror_flag"
26252 || test ! -s conftest.err'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; } &&
26258 { ac_try
='test -s conftest.$ac_objext'
26259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26260 (eval $ac_try) 2>&5
26262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26263 (exit $ac_status); }; }; then
26264 wx_cv_class_stdbasicstring
=yes
26266 echo "$as_me: failed program was:" >&5
26267 sed 's/^/| /' conftest.
$ac_ext >&5
26269 wx_cv_class_stdbasicstring
=no
26272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26276 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26277 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
26279 if test "$wx_cv_class_stdbasicstring" != yes; then
26280 if test "$wxUSE_STL" = "yes"; then
26281 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26282 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26283 { (exit 1); exit 1; }; }
26284 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
26285 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26286 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26287 { (exit 1); exit 1; }; }
26289 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26290 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26291 wxUSE_STD_STRING
=no
26297 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26298 echo "$as_me:$LINENO: checking for std::istream" >&5
26299 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
26300 if test "${ac_cv_type_std__istream+set}" = set; then
26301 echo $ECHO_N "(cached) $ECHO_C" >&6
26303 cat >conftest.
$ac_ext <<_ACEOF
26306 cat confdefs.h
>>conftest.
$ac_ext
26307 cat >>conftest.
$ac_ext <<_ACEOF
26308 /* end confdefs.h. */
26309 #include <iostream>
26314 if ((std::istream *) 0)
26316 if (sizeof (std::istream))
26322 rm -f conftest.
$ac_objext
26323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26324 (eval $ac_compile) 2>conftest.er1
26326 grep -v '^ *+' conftest.er1
>conftest.err
26328 cat conftest.err
>&5
26329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26330 (exit $ac_status); } &&
26331 { ac_try
='test -z "$ac_cxx_werror_flag"
26332 || test ! -s conftest.err'
26333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26334 (eval $ac_try) 2>&5
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); }; } &&
26338 { ac_try
='test -s conftest.$ac_objext'
26339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26340 (eval $ac_try) 2>&5
26342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26343 (exit $ac_status); }; }; then
26344 ac_cv_type_std__istream
=yes
26346 echo "$as_me: failed program was:" >&5
26347 sed 's/^/| /' conftest.
$ac_ext >&5
26349 ac_cv_type_std__istream
=no
26351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26353 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26354 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
26355 if test $ac_cv_type_std__istream = yes; then
26357 cat >>confdefs.h
<<_ACEOF
26358 #define HAVE_STD__ISTREAM 1
26363 wxUSE_STD_IOSTREAM
=no
26365 echo "$as_me:$LINENO: checking for std::ostream" >&5
26366 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
26367 if test "${ac_cv_type_std__ostream+set}" = set; then
26368 echo $ECHO_N "(cached) $ECHO_C" >&6
26370 cat >conftest.
$ac_ext <<_ACEOF
26373 cat confdefs.h
>>conftest.
$ac_ext
26374 cat >>conftest.
$ac_ext <<_ACEOF
26375 /* end confdefs.h. */
26376 #include <iostream>
26381 if ((std::ostream *) 0)
26383 if (sizeof (std::ostream))
26389 rm -f conftest.
$ac_objext
26390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26391 (eval $ac_compile) 2>conftest.er1
26393 grep -v '^ *+' conftest.er1
>conftest.err
26395 cat conftest.err
>&5
26396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26397 (exit $ac_status); } &&
26398 { ac_try
='test -z "$ac_cxx_werror_flag"
26399 || test ! -s conftest.err'
26400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26401 (eval $ac_try) 2>&5
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); }; } &&
26405 { ac_try
='test -s conftest.$ac_objext'
26406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26407 (eval $ac_try) 2>&5
26409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26410 (exit $ac_status); }; }; then
26411 ac_cv_type_std__ostream
=yes
26413 echo "$as_me: failed program was:" >&5
26414 sed 's/^/| /' conftest.
$ac_ext >&5
26416 ac_cv_type_std__ostream
=no
26418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26420 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26421 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
26422 if test $ac_cv_type_std__ostream = yes; then
26424 cat >>confdefs.h
<<_ACEOF
26425 #define HAVE_STD__OSTREAM 1
26430 wxUSE_STD_IOSTREAM
=no
26434 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26435 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
26436 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26437 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26438 { (exit 1); exit 1; }; }
26440 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26441 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26446 if test "$wxUSE_STL" = "yes"; then
26447 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26448 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
26449 if test "${wx_cv_lib_stl+set}" = set; then
26450 echo $ECHO_N "(cached) $ECHO_C" >&6
26452 cat >conftest.
$ac_ext <<_ACEOF
26455 cat confdefs.h
>>conftest.
$ac_ext
26456 cat >>conftest.
$ac_ext <<_ACEOF
26457 /* end confdefs.h. */
26459 #include <functional>
26460 #include <algorithm>
26466 std::vector<int> moo;
26467 std::list<int> foo;
26468 std::vector<int>::iterator it =
26469 std::find_if(moo.begin(), moo.end(),
26470 std::bind2nd(std::less<int>(), 3));
26475 rm -f conftest.
$ac_objext
26476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26477 (eval $ac_compile) 2>conftest.er1
26479 grep -v '^ *+' conftest.er1
>conftest.err
26481 cat conftest.err
>&5
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); } &&
26484 { ac_try
='test -z "$ac_cxx_werror_flag"
26485 || test ! -s conftest.err'
26486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26487 (eval $ac_try) 2>&5
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); }; } &&
26491 { ac_try
='test -s conftest.$ac_objext'
26492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26493 (eval $ac_try) 2>&5
26495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496 (exit $ac_status); }; }; then
26499 echo "$as_me: failed program was:" >&5
26500 sed 's/^/| /' conftest.
$ac_ext >&5
26505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26508 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26509 echo "${ECHO_T}$wx_cv_lib_stl" >&6
26511 if test "$wx_cv_lib_stl" != yes; then
26512 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26513 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26514 { (exit 1); exit 1; }; }
26517 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26518 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
26519 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26520 echo $ECHO_N "(cached) $ECHO_C" >&6
26522 cat >conftest.
$ac_ext <<_ACEOF
26525 cat confdefs.h
>>conftest.
$ac_ext
26526 cat >>conftest.
$ac_ext <<_ACEOF
26527 /* end confdefs.h. */
26532 std::string foo, bar;
26534 foo.compare(1, 1, bar);
26535 foo.compare(1, 1, bar, 1, 1);
26537 foo.compare(1, 1, "");
26538 foo.compare(1, 1, "", 2);
26543 rm -f conftest.
$ac_objext
26544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26545 (eval $ac_compile) 2>conftest.er1
26547 grep -v '^ *+' conftest.er1
>conftest.err
26549 cat conftest.err
>&5
26550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551 (exit $ac_status); } &&
26552 { ac_try
='test -z "$ac_cxx_werror_flag"
26553 || test ! -s conftest.err'
26554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26555 (eval $ac_try) 2>&5
26557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26558 (exit $ac_status); }; } &&
26559 { ac_try
='test -s conftest.$ac_objext'
26560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26561 (eval $ac_try) 2>&5
26563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26564 (exit $ac_status); }; }; then
26565 wx_cv_func_stdstring_compare
=yes
26567 echo "$as_me: failed program was:" >&5
26568 sed 's/^/| /' conftest.
$ac_ext >&5
26570 wx_cv_func_stdstring_compare
=no
26573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26576 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26577 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
26579 if test "$wx_cv_func_stdstring_compare" = yes; then
26580 cat >>confdefs.h
<<\_ACEOF
26581 #define HAVE_STD_STRING_COMPARE 1
26586 echo "$as_me:$LINENO: checking for hash_map" >&5
26587 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
26588 if test "${ac_cv_header_hash_map+set}" = set; then
26589 echo $ECHO_N "(cached) $ECHO_C" >&6
26591 cat >conftest.
$ac_ext <<_ACEOF
26594 cat confdefs.h
>>conftest.
$ac_ext
26595 cat >>conftest.
$ac_ext <<_ACEOF
26596 /* end confdefs.h. */
26600 #include <hash_map>
26602 rm -f conftest.
$ac_objext
26603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26604 (eval $ac_compile) 2>conftest.er1
26606 grep -v '^ *+' conftest.er1
>conftest.err
26608 cat conftest.err
>&5
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); } &&
26611 { ac_try
='test -z "$ac_cxx_werror_flag"
26612 || test ! -s conftest.err'
26613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26614 (eval $ac_try) 2>&5
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); }; } &&
26618 { ac_try
='test -s conftest.$ac_objext'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); }; }; then
26624 ac_cv_header_hash_map
=yes
26626 echo "$as_me: failed program was:" >&5
26627 sed 's/^/| /' conftest.
$ac_ext >&5
26629 ac_cv_header_hash_map
=no
26631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26633 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26634 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
26635 if test $ac_cv_header_hash_map = yes; then
26636 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
26637 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
26638 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26639 echo $ECHO_N "(cached) $ECHO_C" >&6
26641 cat >conftest.
$ac_ext <<_ACEOF
26644 cat confdefs.h
>>conftest.
$ac_ext
26645 cat >>conftest.
$ac_ext <<_ACEOF
26646 /* end confdefs.h. */
26647 #include <hash_map>
26648 #include <hash_set>
26652 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26653 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26658 rm -f conftest.
$ac_objext
26659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26660 (eval $ac_compile) 2>conftest.er1
26662 grep -v '^ *+' conftest.er1
>conftest.err
26664 cat conftest.err
>&5
26665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26666 (exit $ac_status); } &&
26667 { ac_try
='test -z "$ac_cxx_werror_flag"
26668 || test ! -s conftest.err'
26669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26670 (eval $ac_try) 2>&5
26672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673 (exit $ac_status); }; } &&
26674 { ac_try
='test -s conftest.$ac_objext'
26675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26676 (eval $ac_try) 2>&5
26678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26679 (exit $ac_status); }; }; then
26680 wx_cv_class_stdhashmapset
=yes
26682 echo "$as_me: failed program was:" >&5
26683 sed 's/^/| /' conftest.
$ac_ext >&5
26685 wx_cv_class_stdhashmapset
=no
26687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26691 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26692 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
26697 if test "$wx_cv_class_stdhashmapset" = yes; then
26698 cat >>confdefs.h
<<\_ACEOF
26699 #define HAVE_HASH_MAP 1
26702 cat >>confdefs.h
<<\_ACEOF
26703 #define HAVE_STD_HASH_MAP 1
26708 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26709 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
26710 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26711 echo $ECHO_N "(cached) $ECHO_C" >&6
26713 cat >conftest.
$ac_ext <<_ACEOF
26716 cat confdefs.h
>>conftest.
$ac_ext
26717 cat >>conftest.
$ac_ext <<_ACEOF
26718 /* end confdefs.h. */
26722 #include <ext/hash_map>
26724 rm -f conftest.
$ac_objext
26725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26726 (eval $ac_compile) 2>conftest.er1
26728 grep -v '^ *+' conftest.er1
>conftest.err
26730 cat conftest.err
>&5
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); } &&
26733 { ac_try
='test -z "$ac_cxx_werror_flag"
26734 || test ! -s conftest.err'
26735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26736 (eval $ac_try) 2>&5
26738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26739 (exit $ac_status); }; } &&
26740 { ac_try
='test -s conftest.$ac_objext'
26741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26742 (eval $ac_try) 2>&5
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); }; }; then
26746 ac_cv_header_ext_hash_map
=yes
26748 echo "$as_me: failed program was:" >&5
26749 sed 's/^/| /' conftest.
$ac_ext >&5
26751 ac_cv_header_ext_hash_map
=no
26753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26755 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26756 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
26757 if test $ac_cv_header_ext_hash_map = yes; then
26758 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26759 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
26760 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26761 echo $ECHO_N "(cached) $ECHO_C" >&6
26763 cat >conftest.
$ac_ext <<_ACEOF
26766 cat confdefs.h
>>conftest.
$ac_ext
26767 cat >>conftest.
$ac_ext <<_ACEOF
26768 /* end confdefs.h. */
26769 #include <ext/hash_map>
26770 #include <ext/hash_set>
26774 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26775 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26780 rm -f conftest.
$ac_objext
26781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26782 (eval $ac_compile) 2>conftest.er1
26784 grep -v '^ *+' conftest.er1
>conftest.err
26786 cat conftest.err
>&5
26787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26788 (exit $ac_status); } &&
26789 { ac_try
='test -z "$ac_cxx_werror_flag"
26790 || test ! -s conftest.err'
26791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26792 (eval $ac_try) 2>&5
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); }; } &&
26796 { ac_try
='test -s conftest.$ac_objext'
26797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26798 (eval $ac_try) 2>&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); }; }; then
26802 wx_cv_class_gnuhashmapset
=yes
26804 echo "$as_me: failed program was:" >&5
26805 sed 's/^/| /' conftest.
$ac_ext >&5
26807 wx_cv_class_gnuhashmapset
=no
26809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26813 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26814 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
26819 if test "$wx_cv_class_gnuhashmapset" = yes; then
26820 cat >>confdefs.h
<<\_ACEOF
26821 #define HAVE_EXT_HASH_MAP 1
26824 cat >>confdefs.h
<<\_ACEOF
26825 #define HAVE_GNU_CXX_HASH_MAP 1
26832 ac_cpp
='$CPP $CPPFLAGS'
26833 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26834 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26835 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26840 /usr/local/include \
26842 /usr/Motif-2.1/include \
26843 /usr/Motif-1.2/include \
26844 /usr/include/Motif1.2 \
26847 /usr/openwin/include \
26851 /usr/X11R6/include \
26852 /usr/X11R6.4/include \
26853 /usr/X11R5/include \
26854 /usr/X11R4/include \
26856 /usr/include/X11R6 \
26857 /usr/include/X11R5 \
26858 /usr/include/X11R4 \
26860 /usr/local/X11R6/include \
26861 /usr/local/X11R5/include \
26862 /usr/local/X11R4/include \
26864 /usr/local/include/X11R6 \
26865 /usr/local/include/X11R5 \
26866 /usr/local/include/X11R4 \
26870 /usr/local/X11/include \
26871 /usr/local/include/X11 \
26873 /usr/XFree86/include/X11 \
26876 /usr/openwin/share/include"
26878 echo "$as_me:$LINENO: checking for libraries directory" >&5
26879 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
26883 if test "${wx_cv_std_libpath+set}" = set; then
26884 echo $ECHO_N "(cached) $ECHO_C" >&6
26887 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
26888 for e
in a so sl dylib dll.a
; do
26890 if test -f $libc; then
26893 cat >conftest.
$ac_ext <<_ACEOF
26894 int main() { return 0; }
26896 rm -f conftest.
$ac_objext conftest
$ac_exeext
26897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26898 (eval $ac_link) 2>conftest.er1
26900 grep -v '^ *+' conftest.er1
>conftest.err
26902 cat conftest.err
>&5
26903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904 (exit $ac_status); } &&
26905 { ac_try
='test -z "$ac_c_werror_flag"
26906 || test ! -s conftest.err'
26907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26908 (eval $ac_try) 2>&5
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); }; } &&
26912 { ac_try
='test -s conftest$ac_exeext'
26913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26914 (eval $ac_try) 2>&5
26916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); }; }; then
26918 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
26920 echo "$as_me: failed program was:" >&5
26921 sed 's/^/| /' conftest.
$ac_ext >&5
26924 rm -f conftest.err conftest.
$ac_objext \
26925 conftest
$ac_exeext conftest.
$ac_ext
26927 if test "x$wx_cv_std_libpath" != "x"; then
26933 if test "x$wx_cv_std_libpath" = "x"; then
26934 wx_cv_std_libpath
="lib"
26943 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26944 wx_cv_std_libpath
="lib/64"
26946 wx_cv_std_libpath
="lib"
26951 if test "$ac_cv_sizeof_void_p" = 8 -a \
26952 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26953 wx_cv_std_libpath
="lib64"
26955 wx_cv_std_libpath
="lib"
26960 wx_cv_std_libpath
="lib";
26964 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26965 echo "${ECHO_T}$wx_cv_std_libpath" >&6
26967 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26969 if test "$build" != "$host" -a "$GCC" = yes; then
26970 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
26971 cross_root
=`dirname $cross_root`
26972 cross_root
=`dirname $cross_root`
26974 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26975 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26976 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
26978 if test -z "$PKG_CONFIG_PATH"; then
26979 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26980 export PKG_CONFIG_PATH
26983 if test -z "$x_includes" -o "$x_includes" = NONE
; then
26986 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26988 if test -f "$ac_dir/X11/Intrinsic.h"; then
26989 ac_find_includes
=$ac_dir
26994 x_includes
=$ac_find_includes
26996 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
26999 for ac_dir
in $SEARCH_LIB;
27001 for ac_extension
in a so sl dylib dll.a
; do
27002 if test -f "$ac_dir/libXt.$ac_extension"; then
27003 ac_find_libraries
=$ac_dir
27009 x_libraries
=$ac_find_libraries
27015 cat >confcache
<<\_ACEOF
27016 # This file is a shell script that caches the results of configure
27017 # tests run on this system so they can be shared between configure
27018 # scripts and configure runs, see configure's option --config-cache.
27019 # It is not useful on other systems. If it contains results you don't
27020 # want to keep, you may remove or edit it.
27022 # config.status only pays attention to the cache file if you give it
27023 # the --recheck option to rerun configure.
27025 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27026 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27027 # following values.
27031 # The following way of writing the cache mishandles newlines in values,
27032 # but we know of no workaround that is simple, portable, and efficient.
27033 # So, don't put newlines in cache variables' values.
27034 # Ultrix sh set writes to stderr and can't be redirected directly,
27035 # and sets the high bit in the cache file unless we assign to the vars.
27038 case `(ac_space=' '; set | grep ac_space) 2>&1` in
27040 # `set' does not quote correctly, so add quotes (double-quote
27041 # substitution turns \\\\ into \\, and sed turns \\ into \).
27044 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27047 # `set' quotes correctly as required by POSIX, so do not add quotes.
27049 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
27056 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27058 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27060 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
27061 if test -w $cache_file; then
27062 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
27063 cat confcache
>$cache_file
27065 echo "not updating unwritable cache $cache_file"
27070 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27071 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27072 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
27073 if test "${wx_cv_lib_glibc21+set}" = set; then
27074 echo $ECHO_N "(cached) $ECHO_C" >&6
27077 cat >conftest.
$ac_ext <<_ACEOF
27080 cat confdefs.h
>>conftest.
$ac_ext
27081 cat >>conftest.
$ac_ext <<_ACEOF
27082 /* end confdefs.h. */
27083 #include <features.h>
27088 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27096 rm -f conftest.
$ac_objext
27097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27098 (eval $ac_compile) 2>conftest.er1
27100 grep -v '^ *+' conftest.er1
>conftest.err
27102 cat conftest.err
>&5
27103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27104 (exit $ac_status); } &&
27105 { ac_try
='test -z "$ac_c_werror_flag"
27106 || test ! -s conftest.err'
27107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27108 (eval $ac_try) 2>&5
27110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27111 (exit $ac_status); }; } &&
27112 { ac_try
='test -s conftest.$ac_objext'
27113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27114 (eval $ac_try) 2>&5
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); }; }; then
27119 wx_cv_lib_glibc21
=yes
27122 echo "$as_me: failed program was:" >&5
27123 sed 's/^/| /' conftest.
$ac_ext >&5
27126 wx_cv_lib_glibc21
=no
27130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27133 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27134 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
27135 if test "$wx_cv_lib_glibc21" = "yes"; then
27136 cat >>confdefs.h
<<\_ACEOF
27137 #define wxHAVE_GLIBC2 1
27143 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27144 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27145 cat >>confdefs.h
<<\_ACEOF
27146 #define _GNU_SOURCE 1
27157 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27158 echo "$as_me:$LINENO: checking for $ac_func" >&5
27159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27160 if eval "test \"\${$as_ac_var+set}\" = set"; then
27161 echo $ECHO_N "(cached) $ECHO_C" >&6
27163 cat >conftest.
$ac_ext <<_ACEOF
27166 cat confdefs.h
>>conftest.
$ac_ext
27167 cat >>conftest.
$ac_ext <<_ACEOF
27168 /* end confdefs.h. */
27169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27171 #define $ac_func innocuous_$ac_func
27173 /* System header to define __stub macros and hopefully few prototypes,
27174 which can conflict with char $ac_func (); below.
27175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27176 <limits.h> exists even on freestanding compilers. */
27179 # include <limits.h>
27181 # include <assert.h>
27186 /* Override any gcc2 internal prototype to avoid an error. */
27191 /* We use char because int might match the return type of a gcc2
27192 builtin and then its argument prototype would still apply. */
27194 /* The GNU C library defines this for functions which it implements
27195 to always fail with ENOSYS. Some functions are actually named
27196 something starting with __ and the normal name is an alias. */
27197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27200 char (*f) () = $ac_func;
27209 return f != $ac_func;
27214 rm -f conftest.
$ac_objext conftest
$ac_exeext
27215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27216 (eval $ac_link) 2>conftest.er1
27218 grep -v '^ *+' conftest.er1
>conftest.err
27220 cat conftest.err
>&5
27221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27222 (exit $ac_status); } &&
27223 { ac_try
='test -z "$ac_c_werror_flag"
27224 || test ! -s conftest.err'
27225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27226 (eval $ac_try) 2>&5
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); }; } &&
27230 { ac_try
='test -s conftest$ac_exeext'
27231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27232 (eval $ac_try) 2>&5
27234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27235 (exit $ac_status); }; }; then
27236 eval "$as_ac_var=yes"
27238 echo "$as_me: failed program was:" >&5
27239 sed 's/^/| /' conftest.
$ac_ext >&5
27241 eval "$as_ac_var=no"
27243 rm -f conftest.err conftest.
$ac_objext \
27244 conftest
$ac_exeext conftest.
$ac_ext
27246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27248 if test `eval echo '${'$as_ac_var'}'` = yes; then
27249 cat >>confdefs.h
<<_ACEOF
27250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27257 for ac_func
in floor
27259 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27260 echo "$as_me:$LINENO: checking for $ac_func" >&5
27261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27262 if eval "test \"\${$as_ac_var+set}\" = set"; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6
27265 cat >conftest.
$ac_ext <<_ACEOF
27268 cat confdefs.h
>>conftest.
$ac_ext
27269 cat >>conftest.
$ac_ext <<_ACEOF
27270 /* end confdefs.h. */
27271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27273 #define $ac_func innocuous_$ac_func
27275 /* System header to define __stub macros and hopefully few prototypes,
27276 which can conflict with char $ac_func (); below.
27277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27278 <limits.h> exists even on freestanding compilers. */
27281 # include <limits.h>
27283 # include <assert.h>
27288 /* Override any gcc2 internal prototype to avoid an error. */
27293 /* We use char because int might match the return type of a gcc2
27294 builtin and then its argument prototype would still apply. */
27296 /* The GNU C library defines this for functions which it implements
27297 to always fail with ENOSYS. Some functions are actually named
27298 something starting with __ and the normal name is an alias. */
27299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27302 char (*f) () = $ac_func;
27311 return f != $ac_func;
27316 rm -f conftest.
$ac_objext conftest
$ac_exeext
27317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27318 (eval $ac_link) 2>conftest.er1
27320 grep -v '^ *+' conftest.er1
>conftest.err
27322 cat conftest.err
>&5
27323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27324 (exit $ac_status); } &&
27325 { ac_try
='test -z "$ac_c_werror_flag"
27326 || test ! -s conftest.err'
27327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27328 (eval $ac_try) 2>&5
27330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27331 (exit $ac_status); }; } &&
27332 { ac_try
='test -s conftest$ac_exeext'
27333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27334 (eval $ac_try) 2>&5
27336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27337 (exit $ac_status); }; }; then
27338 eval "$as_ac_var=yes"
27340 echo "$as_me: failed program was:" >&5
27341 sed 's/^/| /' conftest.
$ac_ext >&5
27343 eval "$as_ac_var=no"
27345 rm -f conftest.err conftest.
$ac_objext \
27346 conftest
$ac_exeext conftest.
$ac_ext
27348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27350 if test `eval echo '${'$as_ac_var'}'` = yes; then
27351 cat >>confdefs.h
<<_ACEOF
27352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27358 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27359 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
27360 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27361 echo "$as_me:$LINENO: result: yes" >&5
27362 echo "${ECHO_T}yes" >&6
27364 echo "$as_me:$LINENO: result: no" >&5
27365 echo "${ECHO_T}no" >&6
27367 # use different functions to avoid configure caching
27373 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27374 echo "$as_me:$LINENO: checking for $ac_func" >&5
27375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27376 if eval "test \"\${$as_ac_var+set}\" = set"; then
27377 echo $ECHO_N "(cached) $ECHO_C" >&6
27379 cat >conftest.
$ac_ext <<_ACEOF
27382 cat confdefs.h
>>conftest.
$ac_ext
27383 cat >>conftest.
$ac_ext <<_ACEOF
27384 /* end confdefs.h. */
27385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27387 #define $ac_func innocuous_$ac_func
27389 /* System header to define __stub macros and hopefully few prototypes,
27390 which can conflict with char $ac_func (); below.
27391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27392 <limits.h> exists even on freestanding compilers. */
27395 # include <limits.h>
27397 # include <assert.h>
27402 /* Override any gcc2 internal prototype to avoid an error. */
27407 /* We use char because int might match the return type of a gcc2
27408 builtin and then its argument prototype would still apply. */
27410 /* The GNU C library defines this for functions which it implements
27411 to always fail with ENOSYS. Some functions are actually named
27412 something starting with __ and the normal name is an alias. */
27413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27416 char (*f) () = $ac_func;
27425 return f != $ac_func;
27430 rm -f conftest.
$ac_objext conftest
$ac_exeext
27431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27432 (eval $ac_link) 2>conftest.er1
27434 grep -v '^ *+' conftest.er1
>conftest.err
27436 cat conftest.err
>&5
27437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438 (exit $ac_status); } &&
27439 { ac_try
='test -z "$ac_c_werror_flag"
27440 || test ! -s conftest.err'
27441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27442 (eval $ac_try) 2>&5
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); }; } &&
27446 { ac_try
='test -s conftest$ac_exeext'
27447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27448 (eval $ac_try) 2>&5
27450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451 (exit $ac_status); }; }; then
27452 eval "$as_ac_var=yes"
27454 echo "$as_me: failed program was:" >&5
27455 sed 's/^/| /' conftest.
$ac_ext >&5
27457 eval "$as_ac_var=no"
27459 rm -f conftest.err conftest.
$ac_objext \
27460 conftest
$ac_exeext conftest.
$ac_ext
27462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27464 if test `eval echo '${'$as_ac_var'}'` = yes; then
27465 cat >>confdefs.h
<<_ACEOF
27466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27473 for ac_func
in ceil
27475 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27476 echo "$as_me:$LINENO: checking for $ac_func" >&5
27477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27478 if eval "test \"\${$as_ac_var+set}\" = set"; then
27479 echo $ECHO_N "(cached) $ECHO_C" >&6
27481 cat >conftest.
$ac_ext <<_ACEOF
27484 cat confdefs.h
>>conftest.
$ac_ext
27485 cat >>conftest.
$ac_ext <<_ACEOF
27486 /* end confdefs.h. */
27487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27489 #define $ac_func innocuous_$ac_func
27491 /* System header to define __stub macros and hopefully few prototypes,
27492 which can conflict with char $ac_func (); below.
27493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27494 <limits.h> exists even on freestanding compilers. */
27497 # include <limits.h>
27499 # include <assert.h>
27504 /* Override any gcc2 internal prototype to avoid an error. */
27509 /* We use char because int might match the return type of a gcc2
27510 builtin and then its argument prototype would still apply. */
27512 /* The GNU C library defines this for functions which it implements
27513 to always fail with ENOSYS. Some functions are actually named
27514 something starting with __ and the normal name is an alias. */
27515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27518 char (*f) () = $ac_func;
27527 return f != $ac_func;
27532 rm -f conftest.
$ac_objext conftest
$ac_exeext
27533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27534 (eval $ac_link) 2>conftest.er1
27536 grep -v '^ *+' conftest.er1
>conftest.err
27538 cat conftest.err
>&5
27539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27540 (exit $ac_status); } &&
27541 { ac_try
='test -z "$ac_c_werror_flag"
27542 || test ! -s conftest.err'
27543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27544 (eval $ac_try) 2>&5
27546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27547 (exit $ac_status); }; } &&
27548 { ac_try
='test -s conftest$ac_exeext'
27549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27550 (eval $ac_try) 2>&5
27552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27553 (exit $ac_status); }; }; then
27554 eval "$as_ac_var=yes"
27556 echo "$as_me: failed program was:" >&5
27557 sed 's/^/| /' conftest.
$ac_ext >&5
27559 eval "$as_ac_var=no"
27561 rm -f conftest.err conftest.
$ac_objext \
27562 conftest
$ac_exeext conftest.
$ac_ext
27564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27566 if test `eval echo '${'$as_ac_var'}'` = yes; then
27567 cat >>confdefs.h
<<_ACEOF
27568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27574 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27575 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
27576 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27577 echo "$as_me:$LINENO: result: yes" >&5
27578 echo "${ECHO_T}yes" >&6
27580 echo "$as_me:$LINENO: result: no" >&5
27581 echo "${ECHO_T}no" >&6
27582 # not sure we should warn the user, crash, etc.
27587 ac_cpp
='$CXXCPP $CPPFLAGS'
27588 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27589 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27590 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27592 if test "wxUSE_UNICODE" = "yes"; then
27594 for wx_func
in wcstoull
27596 echo "$as_me:$LINENO: checking for $wx_func" >&5
27597 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
27598 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
27599 echo $ECHO_N "(cached) $ECHO_C" >&6
27602 cat >conftest.
$ac_ext <<_ACEOF
27606 cat confdefs.h
>>conftest.
$ac_ext
27607 cat >>conftest.
$ac_ext <<_ACEOF
27608 /* end confdefs.h. */
27611 $ac_includes_default
27627 rm -f conftest.
$ac_objext conftest
$ac_exeext
27628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27629 (eval $ac_link) 2>conftest.er1
27631 grep -v '^ *+' conftest.er1
>conftest.err
27633 cat conftest.err
>&5
27634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27635 (exit $ac_status); } &&
27636 { ac_try
='test -z "$ac_cxx_werror_flag"
27637 || test ! -s conftest.err'
27638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27639 (eval $ac_try) 2>&5
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); }; } &&
27643 { ac_try
='test -s conftest$ac_exeext'
27644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27645 (eval $ac_try) 2>&5
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); }; }; then
27649 eval wx_cv_func_
$wx_func=yes
27651 echo "$as_me: failed program was:" >&5
27652 sed 's/^/| /' conftest.
$ac_ext >&5
27654 eval wx_cv_func_
$wx_func=no
27656 rm -f conftest.err conftest.
$ac_objext \
27657 conftest
$ac_exeext conftest.
$ac_ext
27660 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
27661 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
27663 if eval test \
$wx_cv_func_$wx_func = yes
27665 cat >>confdefs.h
<<_ACEOF
27666 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27678 for wx_func
in strtoull
27680 echo "$as_me:$LINENO: checking for $wx_func" >&5
27681 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
27682 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
27683 echo $ECHO_N "(cached) $ECHO_C" >&6
27686 cat >conftest.
$ac_ext <<_ACEOF
27690 cat confdefs.h
>>conftest.
$ac_ext
27691 cat >>conftest.
$ac_ext <<_ACEOF
27692 /* end confdefs.h. */
27695 $ac_includes_default
27711 rm -f conftest.
$ac_objext conftest
$ac_exeext
27712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27713 (eval $ac_link) 2>conftest.er1
27715 grep -v '^ *+' conftest.er1
>conftest.err
27717 cat conftest.err
>&5
27718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27719 (exit $ac_status); } &&
27720 { ac_try
='test -z "$ac_cxx_werror_flag"
27721 || test ! -s conftest.err'
27722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27723 (eval $ac_try) 2>&5
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); }; } &&
27727 { ac_try
='test -s conftest$ac_exeext'
27728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27729 (eval $ac_try) 2>&5
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); }; }; then
27733 eval wx_cv_func_
$wx_func=yes
27735 echo "$as_me: failed program was:" >&5
27736 sed 's/^/| /' conftest.
$ac_ext >&5
27738 eval wx_cv_func_
$wx_func=no
27740 rm -f conftest.err conftest.
$ac_objext \
27741 conftest
$ac_exeext conftest.
$ac_ext
27744 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
27745 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
27747 if eval test \
$wx_cv_func_$wx_func = yes
27749 cat >>confdefs.h
<<_ACEOF
27750 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27762 ac_cpp
='$CPP $CPPFLAGS'
27763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27770 if test "$wxUSE_REGEX" != "no"; then
27771 cat >>confdefs.h
<<\_ACEOF
27772 #define wxUSE_REGEX 1
27776 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27777 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
27778 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
27779 wxUSE_REGEX
=builtin
27782 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27783 echo "$as_me:$LINENO: checking for regex.h" >&5
27784 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
27785 if test "${ac_cv_header_regex_h+set}" = set; then
27786 echo $ECHO_N "(cached) $ECHO_C" >&6
27788 cat >conftest.
$ac_ext <<_ACEOF
27791 cat confdefs.h
>>conftest.
$ac_ext
27792 cat >>conftest.
$ac_ext <<_ACEOF
27793 /* end confdefs.h. */
27798 rm -f conftest.
$ac_objext
27799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27800 (eval $ac_compile) 2>conftest.er1
27802 grep -v '^ *+' conftest.er1
>conftest.err
27804 cat conftest.err
>&5
27805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27806 (exit $ac_status); } &&
27807 { ac_try
='test -z "$ac_c_werror_flag"
27808 || test ! -s conftest.err'
27809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27810 (eval $ac_try) 2>&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); }; } &&
27814 { ac_try
='test -s conftest.$ac_objext'
27815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27816 (eval $ac_try) 2>&5
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); }; }; then
27820 ac_cv_header_regex_h
=yes
27822 echo "$as_me: failed program was:" >&5
27823 sed 's/^/| /' conftest.
$ac_ext >&5
27825 ac_cv_header_regex_h
=no
27827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27829 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27830 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
27831 if test $ac_cv_header_regex_h = yes; then
27834 for ac_func
in regcomp re_search
27836 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27837 echo "$as_me:$LINENO: checking for $ac_func" >&5
27838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27839 if eval "test \"\${$as_ac_var+set}\" = set"; then
27840 echo $ECHO_N "(cached) $ECHO_C" >&6
27842 cat >conftest.
$ac_ext <<_ACEOF
27845 cat confdefs.h
>>conftest.
$ac_ext
27846 cat >>conftest.
$ac_ext <<_ACEOF
27847 /* end confdefs.h. */
27848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27850 #define $ac_func innocuous_$ac_func
27852 /* System header to define __stub macros and hopefully few prototypes,
27853 which can conflict with char $ac_func (); below.
27854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27855 <limits.h> exists even on freestanding compilers. */
27858 # include <limits.h>
27860 # include <assert.h>
27865 /* Override any gcc2 internal prototype to avoid an error. */
27870 /* We use char because int might match the return type of a gcc2
27871 builtin and then its argument prototype would still apply. */
27873 /* The GNU C library defines this for functions which it implements
27874 to always fail with ENOSYS. Some functions are actually named
27875 something starting with __ and the normal name is an alias. */
27876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27879 char (*f) () = $ac_func;
27888 return f != $ac_func;
27893 rm -f conftest.
$ac_objext conftest
$ac_exeext
27894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27895 (eval $ac_link) 2>conftest.er1
27897 grep -v '^ *+' conftest.er1
>conftest.err
27899 cat conftest.err
>&5
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); } &&
27902 { ac_try
='test -z "$ac_c_werror_flag"
27903 || test ! -s conftest.err'
27904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27905 (eval $ac_try) 2>&5
27907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27908 (exit $ac_status); }; } &&
27909 { ac_try
='test -s conftest$ac_exeext'
27910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27911 (eval $ac_try) 2>&5
27913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27914 (exit $ac_status); }; }; then
27915 eval "$as_ac_var=yes"
27917 echo "$as_me: failed program was:" >&5
27918 sed 's/^/| /' conftest.
$ac_ext >&5
27920 eval "$as_ac_var=no"
27922 rm -f conftest.err conftest.
$ac_objext \
27923 conftest
$ac_exeext conftest.
$ac_ext
27925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27927 if test `eval echo '${'$as_ac_var'}'` = yes; then
27928 cat >>confdefs.h
<<_ACEOF
27929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27939 if test "x$ac_cv_func_regcomp" != "xyes"; then
27940 if test "$wxUSE_REGEX" = "sys" ; then
27941 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27942 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27943 { (exit 1); exit 1; }; }
27945 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27946 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27947 wxUSE_REGEX
=builtin
27951 cat >>confdefs.h
<<\_ACEOF
27952 #define WX_NO_REGEX_ADVANCED 1
27961 if test "$wxUSE_ZLIB" != "no" ; then
27962 cat >>confdefs.h
<<\_ACEOF
27963 #define wxUSE_ZLIB 1
27967 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27968 if test "$USE_DARWIN" = 1; then
27969 system_zlib_h_ok
="yes"
27971 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27972 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
27973 if test "${ac_cv_header_zlib_h+set}" = set; then
27974 echo $ECHO_N "(cached) $ECHO_C" >&6
27976 if test "$cross_compiling" = yes; then
27977 unset ac_cv_header_zlib_h
27980 cat >conftest.
$ac_ext <<_ACEOF
27983 cat confdefs.h
>>conftest.
$ac_ext
27984 cat >>conftest.
$ac_ext <<_ACEOF
27985 /* end confdefs.h. */
27992 FILE *f=fopen("conftestval", "w");
27995 ZLIB_VERSION[0] == '1' &&
27996 (ZLIB_VERSION[2] > '1' ||
27997 (ZLIB_VERSION[2] == '1' &&
27998 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28003 rm -f conftest
$ac_exeext
28004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28005 (eval $ac_link) 2>&5
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28010 (eval $ac_try) 2>&5
28012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28013 (exit $ac_status); }; }; then
28014 ac_cv_header_zlib_h
=`cat conftestval`
28016 echo "$as_me: program exited with status $ac_status" >&5
28017 echo "$as_me: failed program was:" >&5
28018 sed 's/^/| /' conftest.
$ac_ext >&5
28020 ( exit $ac_status )
28021 ac_cv_header_zlib_h
=no
28023 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28027 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28028 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
28029 echo "$as_me:$LINENO: checking for zlib.h" >&5
28030 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
28031 if test "${ac_cv_header_zlib_h+set}" = set; then
28032 echo $ECHO_N "(cached) $ECHO_C" >&6
28034 cat >conftest.
$ac_ext <<_ACEOF
28037 cat confdefs.h
>>conftest.
$ac_ext
28038 cat >>conftest.
$ac_ext <<_ACEOF
28039 /* end confdefs.h. */
28044 rm -f conftest.
$ac_objext
28045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28046 (eval $ac_compile) 2>conftest.er1
28048 grep -v '^ *+' conftest.er1
>conftest.err
28050 cat conftest.err
>&5
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); } &&
28053 { ac_try
='test -z "$ac_c_werror_flag"
28054 || test ! -s conftest.err'
28055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28056 (eval $ac_try) 2>&5
28058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28059 (exit $ac_status); }; } &&
28060 { ac_try
='test -s conftest.$ac_objext'
28061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28062 (eval $ac_try) 2>&5
28064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28065 (exit $ac_status); }; }; then
28066 ac_cv_header_zlib_h
=yes
28068 echo "$as_me: failed program was:" >&5
28069 sed 's/^/| /' conftest.
$ac_ext >&5
28071 ac_cv_header_zlib_h
=no
28073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28075 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28076 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
28080 system_zlib_h_ok
=$ac_cv_header_zlib_h
28083 if test "$system_zlib_h_ok" = "yes"; then
28084 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28085 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
28086 if test "${ac_cv_lib_z_deflate+set}" = set; then
28087 echo $ECHO_N "(cached) $ECHO_C" >&6
28089 ac_check_lib_save_LIBS
=$LIBS
28091 cat >conftest.
$ac_ext <<_ACEOF
28094 cat confdefs.h
>>conftest.
$ac_ext
28095 cat >>conftest.
$ac_ext <<_ACEOF
28096 /* end confdefs.h. */
28098 /* Override any gcc2 internal prototype to avoid an error. */
28102 /* We use char because int might match the return type of a gcc2
28103 builtin and then its argument prototype would still apply. */
28113 rm -f conftest.
$ac_objext conftest
$ac_exeext
28114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28115 (eval $ac_link) 2>conftest.er1
28117 grep -v '^ *+' conftest.er1
>conftest.err
28119 cat conftest.err
>&5
28120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121 (exit $ac_status); } &&
28122 { ac_try
='test -z "$ac_c_werror_flag"
28123 || test ! -s conftest.err'
28124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28125 (eval $ac_try) 2>&5
28127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128 (exit $ac_status); }; } &&
28129 { ac_try
='test -s conftest$ac_exeext'
28130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28131 (eval $ac_try) 2>&5
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); }; }; then
28135 ac_cv_lib_z_deflate
=yes
28137 echo "$as_me: failed program was:" >&5
28138 sed 's/^/| /' conftest.
$ac_ext >&5
28140 ac_cv_lib_z_deflate
=no
28142 rm -f conftest.err conftest.
$ac_objext \
28143 conftest
$ac_exeext conftest.
$ac_ext
28144 LIBS
=$ac_check_lib_save_LIBS
28146 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28147 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
28148 if test $ac_cv_lib_z_deflate = yes; then
28154 if test "x$ZLIB_LINK" = "x" ; then
28155 if test "$wxUSE_ZLIB" = "sys" ; then
28156 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28157 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28158 { (exit 1); exit 1; }; }
28160 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28161 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28172 if test "$wxUSE_LIBPNG" != "no" ; then
28173 cat >>confdefs.h
<<\_ACEOF
28174 #define wxUSE_LIBPNG 1
28178 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28179 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28180 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28184 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28185 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28186 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28187 wxUSE_LIBPNG
=builtin
28190 if test "$wxUSE_MGL" != 1 ; then
28191 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28192 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28193 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
28194 if test "${ac_cv_header_png_h+set}" = set; then
28195 echo $ECHO_N "(cached) $ECHO_C" >&6
28197 if test "$cross_compiling" = yes; then
28198 unset ac_cv_header_png_h
28201 cat >conftest.
$ac_ext <<_ACEOF
28204 cat confdefs.h
>>conftest.
$ac_ext
28205 cat >>conftest.
$ac_ext <<_ACEOF
28206 /* end confdefs.h. */
28213 FILE *f=fopen("conftestval", "w");
28216 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28221 rm -f conftest
$ac_exeext
28222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28223 (eval $ac_link) 2>&5
28225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28226 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28228 (eval $ac_try) 2>&5
28230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231 (exit $ac_status); }; }; then
28232 ac_cv_header_png_h
=`cat conftestval`
28234 echo "$as_me: program exited with status $ac_status" >&5
28235 echo "$as_me: failed program was:" >&5
28236 sed 's/^/| /' conftest.
$ac_ext >&5
28238 ( exit $ac_status )
28239 ac_cv_header_png_h
=no
28241 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28245 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28246 echo "${ECHO_T}$ac_cv_header_png_h" >&6
28247 echo "$as_me:$LINENO: checking for png.h" >&5
28248 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
28249 if test "${ac_cv_header_png_h+set}" = set; then
28250 echo $ECHO_N "(cached) $ECHO_C" >&6
28252 cat >conftest.
$ac_ext <<_ACEOF
28255 cat confdefs.h
>>conftest.
$ac_ext
28256 cat >>conftest.
$ac_ext <<_ACEOF
28257 /* end confdefs.h. */
28262 rm -f conftest.
$ac_objext
28263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28264 (eval $ac_compile) 2>conftest.er1
28266 grep -v '^ *+' conftest.er1
>conftest.err
28268 cat conftest.err
>&5
28269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28270 (exit $ac_status); } &&
28271 { ac_try
='test -z "$ac_c_werror_flag"
28272 || test ! -s conftest.err'
28273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28274 (eval $ac_try) 2>&5
28276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28277 (exit $ac_status); }; } &&
28278 { ac_try
='test -s conftest.$ac_objext'
28279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28280 (eval $ac_try) 2>&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); }; }; then
28284 ac_cv_header_png_h
=yes
28286 echo "$as_me: failed program was:" >&5
28287 sed 's/^/| /' conftest.
$ac_ext >&5
28289 ac_cv_header_png_h
=no
28291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28293 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28294 echo "${ECHO_T}$ac_cv_header_png_h" >&6
28298 if test "$ac_cv_header_png_h" = "yes"; then
28299 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28300 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
28301 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28302 echo $ECHO_N "(cached) $ECHO_C" >&6
28304 ac_check_lib_save_LIBS
=$LIBS
28305 LIBS
="-lpng -lz -lm $LIBS"
28306 cat >conftest.
$ac_ext <<_ACEOF
28309 cat confdefs.h
>>conftest.
$ac_ext
28310 cat >>conftest.
$ac_ext <<_ACEOF
28311 /* end confdefs.h. */
28313 /* Override any gcc2 internal prototype to avoid an error. */
28317 /* We use char because int might match the return type of a gcc2
28318 builtin and then its argument prototype would still apply. */
28319 char png_check_sig ();
28328 rm -f conftest.
$ac_objext conftest
$ac_exeext
28329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28330 (eval $ac_link) 2>conftest.er1
28332 grep -v '^ *+' conftest.er1
>conftest.err
28334 cat conftest.err
>&5
28335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28336 (exit $ac_status); } &&
28337 { ac_try
='test -z "$ac_c_werror_flag"
28338 || test ! -s conftest.err'
28339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28340 (eval $ac_try) 2>&5
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); }; } &&
28344 { ac_try
='test -s conftest$ac_exeext'
28345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28346 (eval $ac_try) 2>&5
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); }; }; then
28350 ac_cv_lib_png_png_check_sig
=yes
28352 echo "$as_me: failed program was:" >&5
28353 sed 's/^/| /' conftest.
$ac_ext >&5
28355 ac_cv_lib_png_png_check_sig
=no
28357 rm -f conftest.err conftest.
$ac_objext \
28358 conftest
$ac_exeext conftest.
$ac_ext
28359 LIBS
=$ac_check_lib_save_LIBS
28361 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28362 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
28363 if test $ac_cv_lib_png_png_check_sig = yes; then
28364 PNG_LINK
=" -lpng -lz"
28369 if test "x$PNG_LINK" = "x" ; then
28370 if test "$wxUSE_LIBPNG" = "sys" ; then
28371 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28372 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28373 { (exit 1); exit 1; }; }
28375 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28376 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28377 wxUSE_LIBPNG
=builtin
28388 if test "$wxUSE_LIBJPEG" != "no" ; then
28389 cat >>confdefs.h
<<\_ACEOF
28390 #define wxUSE_LIBJPEG 1
28394 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28395 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28396 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28400 if test "$wxUSE_MGL" != 1 ; then
28401 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28402 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28403 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
28404 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28405 echo $ECHO_N "(cached) $ECHO_C" >&6
28407 cat >conftest.
$ac_ext <<_ACEOF
28410 cat confdefs.h
>>conftest.
$ac_ext
28411 cat >>conftest.
$ac_ext <<_ACEOF
28412 /* end confdefs.h. */
28414 #undef HAVE_STDLIB_H
28416 #include <jpeglib.h>
28427 rm -f conftest.
$ac_objext
28428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28429 (eval $ac_compile) 2>conftest.er1
28431 grep -v '^ *+' conftest.er1
>conftest.err
28433 cat conftest.err
>&5
28434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28435 (exit $ac_status); } &&
28436 { ac_try
='test -z "$ac_c_werror_flag"
28437 || test ! -s conftest.err'
28438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28439 (eval $ac_try) 2>&5
28441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28442 (exit $ac_status); }; } &&
28443 { ac_try
='test -s conftest.$ac_objext'
28444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28445 (eval $ac_try) 2>&5
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); }; }; then
28449 ac_cv_header_jpeglib_h
=yes
28451 echo "$as_me: failed program was:" >&5
28452 sed 's/^/| /' conftest.
$ac_ext >&5
28454 ac_cv_header_jpeglib_h
=no
28457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28461 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28462 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
28464 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28465 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28466 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
28467 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28468 echo $ECHO_N "(cached) $ECHO_C" >&6
28470 ac_check_lib_save_LIBS
=$LIBS
28471 LIBS
="-ljpeg $LIBS"
28472 cat >conftest.
$ac_ext <<_ACEOF
28475 cat confdefs.h
>>conftest.
$ac_ext
28476 cat >>conftest.
$ac_ext <<_ACEOF
28477 /* end confdefs.h. */
28479 /* Override any gcc2 internal prototype to avoid an error. */
28483 /* We use char because int might match the return type of a gcc2
28484 builtin and then its argument prototype would still apply. */
28485 char jpeg_read_header ();
28489 jpeg_read_header ();
28494 rm -f conftest.
$ac_objext conftest
$ac_exeext
28495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28496 (eval $ac_link) 2>conftest.er1
28498 grep -v '^ *+' conftest.er1
>conftest.err
28500 cat conftest.err
>&5
28501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28502 (exit $ac_status); } &&
28503 { ac_try
='test -z "$ac_c_werror_flag"
28504 || test ! -s conftest.err'
28505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28506 (eval $ac_try) 2>&5
28508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28509 (exit $ac_status); }; } &&
28510 { ac_try
='test -s conftest$ac_exeext'
28511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28512 (eval $ac_try) 2>&5
28514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28515 (exit $ac_status); }; }; then
28516 ac_cv_lib_jpeg_jpeg_read_header
=yes
28518 echo "$as_me: failed program was:" >&5
28519 sed 's/^/| /' conftest.
$ac_ext >&5
28521 ac_cv_lib_jpeg_jpeg_read_header
=no
28523 rm -f conftest.err conftest.
$ac_objext \
28524 conftest
$ac_exeext conftest.
$ac_ext
28525 LIBS
=$ac_check_lib_save_LIBS
28527 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28528 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
28529 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28530 JPEG_LINK
=" -ljpeg"
28535 if test "x$JPEG_LINK" = "x" ; then
28536 if test "$wxUSE_LIBJPEG" = "sys" ; then
28537 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28538 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28539 { (exit 1); exit 1; }; }
28541 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28542 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28543 wxUSE_LIBJPEG
=builtin
28548 if test "$wxUSE_MSW" = 1; then
28549 echo "$as_me:$LINENO: checking for boolean" >&5
28550 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
28551 if test "${ac_cv_type_boolean+set}" = set; then
28552 echo $ECHO_N "(cached) $ECHO_C" >&6
28554 cat >conftest.
$ac_ext <<_ACEOF
28557 cat confdefs.h
>>conftest.
$ac_ext
28558 cat >>conftest.
$ac_ext <<_ACEOF
28559 /* end confdefs.h. */
28560 #include <windows.h>
28567 if (sizeof (boolean))
28573 rm -f conftest.
$ac_objext
28574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28575 (eval $ac_compile) 2>conftest.er1
28577 grep -v '^ *+' conftest.er1
>conftest.err
28579 cat conftest.err
>&5
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); } &&
28582 { ac_try
='test -z "$ac_c_werror_flag"
28583 || test ! -s conftest.err'
28584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28585 (eval $ac_try) 2>&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); }; } &&
28589 { ac_try
='test -s conftest.$ac_objext'
28590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591 (eval $ac_try) 2>&5
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); }; }; then
28595 ac_cv_type_boolean
=yes
28597 echo "$as_me: failed program was:" >&5
28598 sed 's/^/| /' conftest.
$ac_ext >&5
28600 ac_cv_type_boolean
=no
28602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28604 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28605 echo "${ECHO_T}$ac_cv_type_boolean" >&6
28606 if test $ac_cv_type_boolean = yes; then
28608 cat >>confdefs.h
<<_ACEOF
28609 #define HAVE_BOOLEAN 1
28613 echo "$as_me:$LINENO: checking for boolean" >&5
28614 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
28615 if test "${ac_cv_type_boolean+set}" = set; then
28616 echo $ECHO_N "(cached) $ECHO_C" >&6
28618 cat >conftest.
$ac_ext <<_ACEOF
28621 cat confdefs.h
>>conftest.
$ac_ext
28622 cat >>conftest.
$ac_ext <<_ACEOF
28623 /* end confdefs.h. */
28625 #undef HAVE_BOOLEAN
28627 #include <jpeglib.h>
28635 if (sizeof (boolean))
28641 rm -f conftest.
$ac_objext
28642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28643 (eval $ac_compile) 2>conftest.er1
28645 grep -v '^ *+' conftest.er1
>conftest.err
28647 cat conftest.err
>&5
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); } &&
28650 { ac_try
='test -z "$ac_c_werror_flag"
28651 || test ! -s conftest.err'
28652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28653 (eval $ac_try) 2>&5
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 (exit $ac_status); }; } &&
28657 { ac_try
='test -s conftest.$ac_objext'
28658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28659 (eval $ac_try) 2>&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); }; }; then
28663 ac_cv_type_boolean
=yes
28665 echo "$as_me: failed program was:" >&5
28666 sed 's/^/| /' conftest.
$ac_ext >&5
28668 ac_cv_type_boolean
=no
28670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28672 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28673 echo "${ECHO_T}$ac_cv_type_boolean" >&6
28675 echo "$as_me:$LINENO: checking size of boolean" >&5
28676 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
28677 if test "${ac_cv_sizeof_boolean+set}" = set; then
28678 echo $ECHO_N "(cached) $ECHO_C" >&6
28680 if test "$ac_cv_type_boolean" = yes; then
28681 # The cast to unsigned long works around a bug in the HP C Compiler
28682 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28683 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28684 # This bug is HP SR number 8606223364.
28685 if test "$cross_compiling" = yes; then
28686 # Depending upon the size, compute the lo and hi bounds.
28687 cat >conftest.
$ac_ext <<_ACEOF
28690 cat confdefs.h
>>conftest.
$ac_ext
28691 cat >>conftest.
$ac_ext <<_ACEOF
28692 /* end confdefs.h. */
28694 #undef HAVE_BOOLEAN
28696 #include <jpeglib.h>
28702 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
28709 rm -f conftest.
$ac_objext
28710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28711 (eval $ac_compile) 2>conftest.er1
28713 grep -v '^ *+' conftest.er1
>conftest.err
28715 cat conftest.err
>&5
28716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717 (exit $ac_status); } &&
28718 { ac_try
='test -z "$ac_c_werror_flag"
28719 || test ! -s conftest.err'
28720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28721 (eval $ac_try) 2>&5
28723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28724 (exit $ac_status); }; } &&
28725 { ac_try
='test -s conftest.$ac_objext'
28726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28727 (eval $ac_try) 2>&5
28729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730 (exit $ac_status); }; }; then
28733 cat >conftest.
$ac_ext <<_ACEOF
28736 cat confdefs.h
>>conftest.
$ac_ext
28737 cat >>conftest.
$ac_ext <<_ACEOF
28738 /* end confdefs.h. */
28740 #undef HAVE_BOOLEAN
28742 #include <jpeglib.h>
28748 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
28755 rm -f conftest.
$ac_objext
28756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28757 (eval $ac_compile) 2>conftest.er1
28759 grep -v '^ *+' conftest.er1
>conftest.err
28761 cat conftest.err
>&5
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); } &&
28764 { ac_try
='test -z "$ac_c_werror_flag"
28765 || test ! -s conftest.err'
28766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28767 (eval $ac_try) 2>&5
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); }; } &&
28771 { ac_try
='test -s conftest.$ac_objext'
28772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28773 (eval $ac_try) 2>&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); }; }; then
28777 ac_hi
=$ac_mid; break
28779 echo "$as_me: failed program was:" >&5
28780 sed 's/^/| /' conftest.
$ac_ext >&5
28782 ac_lo
=`expr $ac_mid + 1`
28783 if test $ac_lo -le $ac_mid; then
28787 ac_mid
=`expr 2 '*' $ac_mid + 1`
28789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28792 echo "$as_me: failed program was:" >&5
28793 sed 's/^/| /' conftest.
$ac_ext >&5
28795 cat >conftest.
$ac_ext <<_ACEOF
28798 cat confdefs.h
>>conftest.
$ac_ext
28799 cat >>conftest.
$ac_ext <<_ACEOF
28800 /* end confdefs.h. */
28802 #undef HAVE_BOOLEAN
28804 #include <jpeglib.h>
28810 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
28817 rm -f conftest.
$ac_objext
28818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28819 (eval $ac_compile) 2>conftest.er1
28821 grep -v '^ *+' conftest.er1
>conftest.err
28823 cat conftest.err
>&5
28824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28825 (exit $ac_status); } &&
28826 { ac_try
='test -z "$ac_c_werror_flag"
28827 || test ! -s conftest.err'
28828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28829 (eval $ac_try) 2>&5
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); }; } &&
28833 { ac_try
='test -s conftest.$ac_objext'
28834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28835 (eval $ac_try) 2>&5
28837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28838 (exit $ac_status); }; }; then
28841 cat >conftest.
$ac_ext <<_ACEOF
28844 cat confdefs.h
>>conftest.
$ac_ext
28845 cat >>conftest.
$ac_ext <<_ACEOF
28846 /* end confdefs.h. */
28848 #undef HAVE_BOOLEAN
28850 #include <jpeglib.h>
28856 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
28863 rm -f conftest.
$ac_objext
28864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28865 (eval $ac_compile) 2>conftest.er1
28867 grep -v '^ *+' conftest.er1
>conftest.err
28869 cat conftest.err
>&5
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); } &&
28872 { ac_try
='test -z "$ac_c_werror_flag"
28873 || test ! -s conftest.err'
28874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28875 (eval $ac_try) 2>&5
28877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28878 (exit $ac_status); }; } &&
28879 { ac_try
='test -s conftest.$ac_objext'
28880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28881 (eval $ac_try) 2>&5
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); }; }; then
28885 ac_lo
=$ac_mid; break
28887 echo "$as_me: failed program was:" >&5
28888 sed 's/^/| /' conftest.
$ac_ext >&5
28890 ac_hi
=`expr '(' $ac_mid ')' - 1`
28891 if test $ac_mid -le $ac_hi; then
28895 ac_mid
=`expr 2 '*' $ac_mid`
28897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28900 echo "$as_me: failed program was:" >&5
28901 sed 's/^/| /' conftest.
$ac_ext >&5
28905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28908 # Binary search between lo and hi bounds.
28909 while test "x$ac_lo" != "x$ac_hi"; do
28910 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28911 cat >conftest.
$ac_ext <<_ACEOF
28914 cat confdefs.h
>>conftest.
$ac_ext
28915 cat >>conftest.
$ac_ext <<_ACEOF
28916 /* end confdefs.h. */
28918 #undef HAVE_BOOLEAN
28920 #include <jpeglib.h>
28926 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
28933 rm -f conftest.
$ac_objext
28934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28935 (eval $ac_compile) 2>conftest.er1
28937 grep -v '^ *+' conftest.er1
>conftest.err
28939 cat conftest.err
>&5
28940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28941 (exit $ac_status); } &&
28942 { ac_try
='test -z "$ac_c_werror_flag"
28943 || test ! -s conftest.err'
28944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28945 (eval $ac_try) 2>&5
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); }; } &&
28949 { ac_try
='test -s conftest.$ac_objext'
28950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28951 (eval $ac_try) 2>&5
28953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28954 (exit $ac_status); }; }; then
28957 echo "$as_me: failed program was:" >&5
28958 sed 's/^/| /' conftest.
$ac_ext >&5
28960 ac_lo
=`expr '(' $ac_mid ')' + 1`
28962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28965 ?
*) ac_cv_sizeof_boolean
=$ac_lo;;
28966 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
28967 See \`config.log' for more details." >&5
28968 echo "$as_me: error: cannot compute sizeof (boolean), 77
28969 See \`config.log' for more details." >&2;}
28970 { (exit 1); exit 1; }; } ;;
28973 if test "$cross_compiling" = yes; then
28974 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28975 See \`config.log' for more details." >&5
28976 echo "$as_me: error: cannot run test program while cross compiling
28977 See \`config.log' for more details." >&2;}
28978 { (exit 1); exit 1; }; }
28980 cat >conftest.
$ac_ext <<_ACEOF
28983 cat confdefs.h
>>conftest.
$ac_ext
28984 cat >>conftest.
$ac_ext <<_ACEOF
28985 /* end confdefs.h. */
28987 #undef HAVE_BOOLEAN
28989 #include <jpeglib.h>
28992 long longval () { return (long) (sizeof (boolean)); }
28993 unsigned long ulongval () { return (long) (sizeof (boolean)); }
28995 #include <stdlib.h>
29000 FILE *f = fopen ("conftest.val", "w");
29003 if (((long) (sizeof (boolean))) < 0)
29005 long i = longval ();
29006 if (i != ((long) (sizeof (boolean))))
29008 fprintf (f, "%ld\n", i);
29012 unsigned long i = ulongval ();
29013 if (i != ((long) (sizeof (boolean))))
29015 fprintf (f, "%lu\n", i);
29017 exit (ferror (f) || fclose (f) != 0);
29023 rm -f conftest
$ac_exeext
29024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29025 (eval $ac_link) 2>&5
29027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29028 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29030 (eval $ac_try) 2>&5
29032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29033 (exit $ac_status); }; }; then
29034 ac_cv_sizeof_boolean
=`cat conftest.val`
29036 echo "$as_me: program exited with status $ac_status" >&5
29037 echo "$as_me: failed program was:" >&5
29038 sed 's/^/| /' conftest.
$ac_ext >&5
29040 ( exit $ac_status )
29041 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
29042 See \`config.log' for more details." >&5
29043 echo "$as_me: error: cannot compute sizeof (boolean), 77
29044 See \`config.log' for more details." >&2;}
29045 { (exit 1); exit 1; }; }
29047 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29052 ac_cv_sizeof_boolean
=0
29055 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29056 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
29057 cat >>confdefs.h
<<_ACEOF
29058 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29062 cat >>confdefs.h
<<_ACEOF
29063 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29077 TIFF_PREREQ_LINKS
=-lm
29078 if test "$wxUSE_LIBTIFF" != "no" ; then
29079 cat >>confdefs.h
<<\_ACEOF
29080 #define wxUSE_LIBTIFF 1
29084 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29085 if test "$wxUSE_LIBJPEG" = "sys"; then
29086 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
29088 if test "$wxUSE_ZLIB" = "sys"; then
29089 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29091 echo "$as_me:$LINENO: checking for tiffio.h" >&5
29092 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
29093 if test "${ac_cv_header_tiffio_h+set}" = set; then
29094 echo $ECHO_N "(cached) $ECHO_C" >&6
29096 cat >conftest.
$ac_ext <<_ACEOF
29099 cat confdefs.h
>>conftest.
$ac_ext
29100 cat >>conftest.
$ac_ext <<_ACEOF
29101 /* end confdefs.h. */
29105 #include <tiffio.h>
29107 rm -f conftest.
$ac_objext
29108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29109 (eval $ac_compile) 2>conftest.er1
29111 grep -v '^ *+' conftest.er1
>conftest.err
29113 cat conftest.err
>&5
29114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29115 (exit $ac_status); } &&
29116 { ac_try
='test -z "$ac_c_werror_flag"
29117 || test ! -s conftest.err'
29118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29119 (eval $ac_try) 2>&5
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); }; } &&
29123 { ac_try
='test -s conftest.$ac_objext'
29124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29125 (eval $ac_try) 2>&5
29127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29128 (exit $ac_status); }; }; then
29129 ac_cv_header_tiffio_h
=yes
29131 echo "$as_me: failed program was:" >&5
29132 sed 's/^/| /' conftest.
$ac_ext >&5
29134 ac_cv_header_tiffio_h
=no
29136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29138 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29139 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
29140 if test $ac_cv_header_tiffio_h = yes; then
29142 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29143 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
29144 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29145 echo $ECHO_N "(cached) $ECHO_C" >&6
29147 ac_check_lib_save_LIBS
=$LIBS
29148 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29149 cat >conftest.
$ac_ext <<_ACEOF
29152 cat confdefs.h
>>conftest.
$ac_ext
29153 cat >>conftest.
$ac_ext <<_ACEOF
29154 /* end confdefs.h. */
29156 /* Override any gcc2 internal prototype to avoid an error. */
29160 /* We use char because int might match the return type of a gcc2
29161 builtin and then its argument prototype would still apply. */
29171 rm -f conftest.
$ac_objext conftest
$ac_exeext
29172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29173 (eval $ac_link) 2>conftest.er1
29175 grep -v '^ *+' conftest.er1
>conftest.err
29177 cat conftest.err
>&5
29178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29179 (exit $ac_status); } &&
29180 { ac_try
='test -z "$ac_c_werror_flag"
29181 || test ! -s conftest.err'
29182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29183 (eval $ac_try) 2>&5
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); }; } &&
29187 { ac_try
='test -s conftest$ac_exeext'
29188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29189 (eval $ac_try) 2>&5
29191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192 (exit $ac_status); }; }; then
29193 ac_cv_lib_tiff_TIFFError
=yes
29195 echo "$as_me: failed program was:" >&5
29196 sed 's/^/| /' conftest.
$ac_ext >&5
29198 ac_cv_lib_tiff_TIFFError
=no
29200 rm -f conftest.err conftest.
$ac_objext \
29201 conftest
$ac_exeext conftest.
$ac_ext
29202 LIBS
=$ac_check_lib_save_LIBS
29204 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29205 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
29206 if test $ac_cv_lib_tiff_TIFFError = yes; then
29207 TIFF_LINK
=" -ltiff"
29215 if test "x$TIFF_LINK" = "x" ; then
29216 if test "$wxUSE_LIBTIFF" = "sys" ; then
29217 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29218 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29219 { (exit 1); exit 1; }; }
29221 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29222 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29223 wxUSE_LIBTIFF
=builtin
29232 if test "$wxUSE_WCHAR_T" != "yes"; then
29233 if test "$wxUSE_EXPAT" != "no"; then
29234 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29235 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29238 if test "$wxUSE_XML" != "no"; then
29239 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29240 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29245 if test "$wxUSE_EXPAT" != "no"; then
29247 cat >>confdefs.h
<<\_ACEOF
29248 #define wxUSE_EXPAT 1
29251 cat >>confdefs.h
<<\_ACEOF
29252 #define wxUSE_XML 1
29256 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29257 echo "$as_me:$LINENO: checking for expat.h" >&5
29258 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
29259 if test "${ac_cv_header_expat_h+set}" = set; then
29260 echo $ECHO_N "(cached) $ECHO_C" >&6
29262 cat >conftest.
$ac_ext <<_ACEOF
29265 cat confdefs.h
>>conftest.
$ac_ext
29266 cat >>conftest.
$ac_ext <<_ACEOF
29267 /* end confdefs.h. */
29272 rm -f conftest.
$ac_objext
29273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29274 (eval $ac_compile) 2>conftest.er1
29276 grep -v '^ *+' conftest.er1
>conftest.err
29278 cat conftest.err
>&5
29279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29280 (exit $ac_status); } &&
29281 { ac_try
='test -z "$ac_c_werror_flag"
29282 || test ! -s conftest.err'
29283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29284 (eval $ac_try) 2>&5
29286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29287 (exit $ac_status); }; } &&
29288 { ac_try
='test -s conftest.$ac_objext'
29289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29290 (eval $ac_try) 2>&5
29292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29293 (exit $ac_status); }; }; then
29294 ac_cv_header_expat_h
=yes
29296 echo "$as_me: failed program was:" >&5
29297 sed 's/^/| /' conftest.
$ac_ext >&5
29299 ac_cv_header_expat_h
=no
29301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29303 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29304 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
29305 if test $ac_cv_header_expat_h = yes; then
29310 if test "x$found_expat_h" = "x1"; then
29311 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29312 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
29313 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29314 echo $ECHO_N "(cached) $ECHO_C" >&6
29318 ac_cpp
='$CXXCPP $CPPFLAGS'
29319 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29320 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29321 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29323 cat >conftest.
$ac_ext <<_ACEOF
29326 cat confdefs.h
>>conftest.
$ac_ext
29327 cat >>conftest.
$ac_ext <<_ACEOF
29328 /* end confdefs.h. */
29338 rm -f conftest.
$ac_objext
29339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29340 (eval $ac_compile) 2>conftest.er1
29342 grep -v '^ *+' conftest.er1
>conftest.err
29344 cat conftest.err
>&5
29345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346 (exit $ac_status); } &&
29347 { ac_try
='test -z "$ac_cxx_werror_flag"
29348 || test ! -s conftest.err'
29349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29350 (eval $ac_try) 2>&5
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); }; } &&
29354 { ac_try
='test -s conftest.$ac_objext'
29355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29356 (eval $ac_try) 2>&5
29358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359 (exit $ac_status); }; }; then
29360 wx_cv_expat_is_not_broken
=yes
29362 echo "$as_me: failed program was:" >&5
29363 sed 's/^/| /' conftest.
$ac_ext >&5
29365 wx_cv_expat_is_not_broken
=no
29368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29370 ac_cpp
='$CPP $CPPFLAGS'
29371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29378 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29379 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
29380 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29381 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29382 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
29383 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29384 echo $ECHO_N "(cached) $ECHO_C" >&6
29386 ac_check_lib_save_LIBS
=$LIBS
29387 LIBS
="-lexpat $LIBS"
29388 cat >conftest.
$ac_ext <<_ACEOF
29391 cat confdefs.h
>>conftest.
$ac_ext
29392 cat >>conftest.
$ac_ext <<_ACEOF
29393 /* end confdefs.h. */
29395 /* Override any gcc2 internal prototype to avoid an error. */
29399 /* We use char because int might match the return type of a gcc2
29400 builtin and then its argument prototype would still apply. */
29401 char XML_ParserCreate ();
29405 XML_ParserCreate ();
29410 rm -f conftest.
$ac_objext conftest
$ac_exeext
29411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29412 (eval $ac_link) 2>conftest.er1
29414 grep -v '^ *+' conftest.er1
>conftest.err
29416 cat conftest.err
>&5
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); } &&
29419 { ac_try
='test -z "$ac_c_werror_flag"
29420 || test ! -s conftest.err'
29421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29422 (eval $ac_try) 2>&5
29424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425 (exit $ac_status); }; } &&
29426 { ac_try
='test -s conftest$ac_exeext'
29427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29428 (eval $ac_try) 2>&5
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); }; }; then
29432 ac_cv_lib_expat_XML_ParserCreate
=yes
29434 echo "$as_me: failed program was:" >&5
29435 sed 's/^/| /' conftest.
$ac_ext >&5
29437 ac_cv_lib_expat_XML_ParserCreate
=no
29439 rm -f conftest.err conftest.
$ac_objext \
29440 conftest
$ac_exeext conftest.
$ac_ext
29441 LIBS
=$ac_check_lib_save_LIBS
29443 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29444 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
29445 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29446 EXPAT_LINK
=" -lexpat"
29451 if test "x$EXPAT_LINK" = "x" ; then
29452 if test "$wxUSE_EXPAT" = "sys" ; then
29453 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29454 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29455 { (exit 1); exit 1; }; }
29457 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29458 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29459 wxUSE_EXPAT
=builtin
29465 if test "$wxUSE_EXPAT" = "builtin" ; then
29468 subdirs
="$subdirs src/expat"
29475 if test "$wxUSE_LIBMSPACK" != "no"; then
29476 echo "$as_me:$LINENO: checking for mspack.h" >&5
29477 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
29478 if test "${ac_cv_header_mspack_h+set}" = set; then
29479 echo $ECHO_N "(cached) $ECHO_C" >&6
29481 cat >conftest.
$ac_ext <<_ACEOF
29484 cat confdefs.h
>>conftest.
$ac_ext
29485 cat >>conftest.
$ac_ext <<_ACEOF
29486 /* end confdefs.h. */
29489 #include <mspack.h>
29491 rm -f conftest.
$ac_objext
29492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29493 (eval $ac_compile) 2>conftest.er1
29495 grep -v '^ *+' conftest.er1
>conftest.err
29497 cat conftest.err
>&5
29498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499 (exit $ac_status); } &&
29500 { ac_try
='test -z "$ac_c_werror_flag"
29501 || test ! -s conftest.err'
29502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29503 (eval $ac_try) 2>&5
29505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29506 (exit $ac_status); }; } &&
29507 { ac_try
='test -s conftest.$ac_objext'
29508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29509 (eval $ac_try) 2>&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); }; }; then
29513 ac_cv_header_mspack_h
=yes
29515 echo "$as_me: failed program was:" >&5
29516 sed 's/^/| /' conftest.
$ac_ext >&5
29518 ac_cv_header_mspack_h
=no
29520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29522 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29523 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
29524 if test $ac_cv_header_mspack_h = yes; then
29529 if test "x$found_mspack_h" = "x1"; then
29530 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29531 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
29532 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29533 echo $ECHO_N "(cached) $ECHO_C" >&6
29535 ac_check_lib_save_LIBS
=$LIBS
29536 LIBS
="-lmspack $LIBS"
29537 cat >conftest.
$ac_ext <<_ACEOF
29540 cat confdefs.h
>>conftest.
$ac_ext
29541 cat >>conftest.
$ac_ext <<_ACEOF
29542 /* end confdefs.h. */
29544 /* Override any gcc2 internal prototype to avoid an error. */
29548 /* We use char because int might match the return type of a gcc2
29549 builtin and then its argument prototype would still apply. */
29550 char mspack_create_chm_decompressor ();
29554 mspack_create_chm_decompressor ();
29559 rm -f conftest.
$ac_objext conftest
$ac_exeext
29560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29561 (eval $ac_link) 2>conftest.er1
29563 grep -v '^ *+' conftest.er1
>conftest.err
29565 cat conftest.err
>&5
29566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29567 (exit $ac_status); } &&
29568 { ac_try
='test -z "$ac_c_werror_flag"
29569 || test ! -s conftest.err'
29570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29571 (eval $ac_try) 2>&5
29573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29574 (exit $ac_status); }; } &&
29575 { ac_try
='test -s conftest$ac_exeext'
29576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29577 (eval $ac_try) 2>&5
29579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29580 (exit $ac_status); }; }; then
29581 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
29583 echo "$as_me: failed program was:" >&5
29584 sed 's/^/| /' conftest.
$ac_ext >&5
29586 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
29588 rm -f conftest.err conftest.
$ac_objext \
29589 conftest
$ac_exeext conftest.
$ac_ext
29590 LIBS
=$ac_check_lib_save_LIBS
29592 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29593 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
29594 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29595 MSPACK_LINK
=" -lmspack"
29599 if test "x$MSPACK_LINK" = "x" ; then
29604 if test "$wxUSE_LIBMSPACK" != "no"; then
29605 cat >>confdefs.h
<<\_ACEOF
29606 #define wxUSE_LIBMSPACK 1
29620 if test "$USE_WIN32" = 1 ; then
29622 for ac_header
in w32api.h
29624 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29625 echo "$as_me:$LINENO: checking for $ac_header" >&5
29626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29628 echo $ECHO_N "(cached) $ECHO_C" >&6
29630 cat >conftest.
$ac_ext <<_ACEOF
29633 cat confdefs.h
>>conftest.
$ac_ext
29634 cat >>conftest.
$ac_ext <<_ACEOF
29635 /* end confdefs.h. */
29638 #include <$ac_header>
29640 rm -f conftest.
$ac_objext
29641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29642 (eval $ac_compile) 2>conftest.er1
29644 grep -v '^ *+' conftest.er1
>conftest.err
29646 cat conftest.err
>&5
29647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29648 (exit $ac_status); } &&
29649 { ac_try
='test -z "$ac_c_werror_flag"
29650 || test ! -s conftest.err'
29651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29652 (eval $ac_try) 2>&5
29654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29655 (exit $ac_status); }; } &&
29656 { ac_try
='test -s conftest.$ac_objext'
29657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29658 (eval $ac_try) 2>&5
29660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29661 (exit $ac_status); }; }; then
29662 eval "$as_ac_Header=yes"
29664 echo "$as_me: failed program was:" >&5
29665 sed 's/^/| /' conftest.
$ac_ext >&5
29667 eval "$as_ac_Header=no"
29669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29672 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29674 cat >>confdefs.h
<<_ACEOF
29675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29682 echo "$as_me:$LINENO: checking for windows.h" >&5
29683 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
29684 if test "${ac_cv_header_windows_h+set}" = set; then
29685 echo $ECHO_N "(cached) $ECHO_C" >&6
29687 cat >conftest.
$ac_ext <<_ACEOF
29690 cat confdefs.h
>>conftest.
$ac_ext
29691 cat >>conftest.
$ac_ext <<_ACEOF
29692 /* end confdefs.h. */
29695 #include <windows.h>
29697 rm -f conftest.
$ac_objext
29698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29699 (eval $ac_compile) 2>conftest.er1
29701 grep -v '^ *+' conftest.er1
>conftest.err
29703 cat conftest.err
>&5
29704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29705 (exit $ac_status); } &&
29706 { ac_try
='test -z "$ac_c_werror_flag"
29707 || test ! -s conftest.err'
29708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29709 (eval $ac_try) 2>&5
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); }; } &&
29713 { ac_try
='test -s conftest.$ac_objext'
29714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29715 (eval $ac_try) 2>&5
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); }; }; then
29719 ac_cv_header_windows_h
=yes
29721 echo "$as_me: failed program was:" >&5
29722 sed 's/^/| /' conftest.
$ac_ext >&5
29724 ac_cv_header_windows_h
=no
29726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29728 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29729 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
29730 if test $ac_cv_header_windows_h = yes; then
29734 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29735 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29736 { (exit 1); exit 1; }; }
29742 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29744 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29745 LIBS
="$LIBS -loleacc"
29750 LIBS
="$LIBS -lkernel32 -luser32"
29753 if test "$wxUSE_ODBC" = "sys" ; then
29756 if test "$wxUSE_ODBC" = "yes" ; then
29757 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
29758 cat >>confdefs.h
<<\_ACEOF
29759 #define wxUSE_ODBC 1
29764 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29765 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
29767 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29769 WIN32INSTALL
=win32install
29771 echo "$as_me:$LINENO: checking for pbt.h" >&5
29772 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6
29773 if test "${ac_cv_header_pbt_h+set}" = set; then
29774 echo $ECHO_N "(cached) $ECHO_C" >&6
29776 cat >conftest.
$ac_ext <<_ACEOF
29779 cat confdefs.h
>>conftest.
$ac_ext
29780 cat >>conftest.
$ac_ext <<_ACEOF
29781 /* end confdefs.h. */
29786 rm -f conftest.
$ac_objext
29787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29788 (eval $ac_compile) 2>conftest.er1
29790 grep -v '^ *+' conftest.er1
>conftest.err
29792 cat conftest.err
>&5
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); } &&
29795 { ac_try
='test -z "$ac_c_werror_flag"
29796 || test ! -s conftest.err'
29797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29798 (eval $ac_try) 2>&5
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); }; } &&
29802 { ac_try
='test -s conftest.$ac_objext'
29803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29804 (eval $ac_try) 2>&5
29806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29807 (exit $ac_status); }; }; then
29808 ac_cv_header_pbt_h
=yes
29810 echo "$as_me: failed program was:" >&5
29811 sed 's/^/| /' conftest.
$ac_ext >&5
29813 ac_cv_header_pbt_h
=no
29815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29817 echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29818 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6
29819 if test $ac_cv_header_pbt_h = yes; then
29822 cat >>confdefs.h
<<\_ACEOF
29823 #define NEED_PBT_H 1
29831 if test "$wxUSE_GUI" = "yes"; then
29841 if test "$wxUSE_COCOA" = 1 ; then
29842 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29843 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29844 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29845 wxUSE_PRINTING_ARCHITECTURE
=no
29847 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29848 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29849 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29850 wxUSE_DRAG_AND_DROP
=no
29852 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29853 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29854 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29859 if test "$wxUSE_MSW" = 1 ; then
29865 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29869 if test "$wxUSE_GTK" = 1; then
29870 echo "$as_me:$LINENO: checking for GTK+ version" >&5
29871 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
29873 gtk_version_cached
=1
29874 if test "${wx_cv_lib_gtk+set}" = set; then
29875 echo $ECHO_N "(cached) $ECHO_C" >&6
29878 gtk_version_cached
=0
29879 echo "$as_me:$LINENO: result: " >&5
29880 echo "${ECHO_T}" >&6
29883 if test "$wxUSE_THREADS" = "yes"; then
29884 GTK_MODULES
=gthread
29888 if test "x$wxGTK_VERSION" != "x1"
29892 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29897 # Check whether --enable-gtktest or --disable-gtktest was given.
29898 if test "${enable_gtktest+set}" = set; then
29899 enableval
="$enable_gtktest"
29905 pkg_config_args
=gtk
+-2.0
29906 for module
in .
$GTK_MODULES
29910 pkg_config_args
="$pkg_config_args gthread-2.0"
29917 # Extract the first word of "pkg-config", so it can be a program name with args.
29918 set dummy pkg
-config; ac_word
=$2
29919 echo "$as_me:$LINENO: checking for $ac_word" >&5
29920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29921 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29922 echo $ECHO_N "(cached) $ECHO_C" >&6
29924 case $PKG_CONFIG in
29926 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29930 for as_dir
in $PATH
29933 test -z "$as_dir" && as_dir
=.
29934 for ac_exec_ext
in '' $ac_executable_extensions; do
29935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29936 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29943 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29947 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29949 if test -n "$PKG_CONFIG"; then
29950 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29951 echo "${ECHO_T}$PKG_CONFIG" >&6
29953 echo "$as_me:$LINENO: result: no" >&5
29954 echo "${ECHO_T}no" >&6
29958 if test x
$PKG_CONFIG != xno
; then
29959 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
29962 echo "*** pkg-config too old; version 0.7 or better required."
29970 min_gtk_version
=2.0.0
29971 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29972 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
29974 if test x
$PKG_CONFIG != xno
; then
29975 ## don't try to run the test against uninstalled libtool libs
29976 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29977 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29981 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29988 if test x
"$no_gtk" = x
; then
29989 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
29990 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
29991 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
29992 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29993 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
29994 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29995 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
29996 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29997 if test "x$enable_gtktest" = "xyes" ; then
29998 ac_save_CFLAGS
="$CFLAGS"
29999 ac_save_LIBS
="$LIBS"
30000 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30001 LIBS
="$GTK_LIBS $LIBS"
30003 if test "$cross_compiling" = yes; then
30004 echo $ac_n "cross compiling; assumed OK... $ac_c"
30006 cat >conftest.
$ac_ext <<_ACEOF
30009 cat confdefs.h
>>conftest.
$ac_ext
30010 cat >>conftest.
$ac_ext <<_ACEOF
30011 /* end confdefs.h. */
30013 #include <gtk/gtk.h>
30015 #include <stdlib.h>
30020 int major, minor, micro;
30023 system ("touch conf.gtktest");
30025 /* HP/UX 9 (%@#!) writes to sscanf strings */
30026 tmp_version = g_strdup("$min_gtk_version");
30027 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30028 printf("%s, bad version string\n", "$min_gtk_version");
30032 if ((gtk_major_version != $gtk_config_major_version) ||
30033 (gtk_minor_version != $gtk_config_minor_version) ||
30034 (gtk_micro_version != $gtk_config_micro_version))
30036 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30037 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30038 gtk_major_version, gtk_minor_version, gtk_micro_version);
30039 printf ("*** was found! If pkg-config was correct, then it is best\n");
30040 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30041 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30042 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30043 printf("*** required on your system.\n");
30044 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30045 printf("*** to point to the correct configuration files\n");
30047 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30048 (gtk_minor_version != GTK_MINOR_VERSION) ||
30049 (gtk_micro_version != GTK_MICRO_VERSION))
30051 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30052 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30053 printf("*** library (version %d.%d.%d)\n",
30054 gtk_major_version, gtk_minor_version, gtk_micro_version);
30058 if ((gtk_major_version > major) ||
30059 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30060 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30066 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30067 gtk_major_version, gtk_minor_version, gtk_micro_version);
30068 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30069 major, minor, micro);
30070 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30072 printf("*** If you have already installed a sufficiently new version, this error\n");
30073 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30074 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30075 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30076 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30077 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30078 printf("*** so that the correct libraries are found at run-time))\n");
30085 rm -f conftest
$ac_exeext
30086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30087 (eval $ac_link) 2>&5
30089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30090 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
30091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30092 (eval $ac_try) 2>&5
30094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095 (exit $ac_status); }; }; then
30098 echo "$as_me: program exited with status $ac_status" >&5
30099 echo "$as_me: failed program was:" >&5
30100 sed 's/^/| /' conftest.
$ac_ext >&5
30102 ( exit $ac_status )
30105 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30107 CFLAGS
="$ac_save_CFLAGS"
30108 LIBS
="$ac_save_LIBS"
30111 if test "x$no_gtk" = x
; then
30112 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30113 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
30116 echo "$as_me:$LINENO: result: no" >&5
30117 echo "${ECHO_T}no" >&6
30118 if test "$PKG_CONFIG" = "no" ; then
30119 echo "*** A new enough version of pkg-config was not found."
30120 echo "*** See http://pkgconfig.sourceforge.net"
30122 if test -f conf.gtktest
; then
30125 echo "*** Could not run GTK+ test program, checking why..."
30126 ac_save_CFLAGS
="$CFLAGS"
30127 ac_save_LIBS
="$LIBS"
30128 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30129 LIBS
="$LIBS $GTK_LIBS"
30130 cat >conftest.
$ac_ext <<_ACEOF
30133 cat confdefs.h
>>conftest.
$ac_ext
30134 cat >>conftest.
$ac_ext <<_ACEOF
30135 /* end confdefs.h. */
30137 #include <gtk/gtk.h>
30143 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30148 rm -f conftest.
$ac_objext conftest
$ac_exeext
30149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30150 (eval $ac_link) 2>conftest.er1
30152 grep -v '^ *+' conftest.er1
>conftest.err
30154 cat conftest.err
>&5
30155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30156 (exit $ac_status); } &&
30157 { ac_try
='test -z "$ac_c_werror_flag"
30158 || test ! -s conftest.err'
30159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30160 (eval $ac_try) 2>&5
30162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30163 (exit $ac_status); }; } &&
30164 { ac_try
='test -s conftest$ac_exeext'
30165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30166 (eval $ac_try) 2>&5
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); }; }; then
30170 echo "*** The test program compiled, but did not run. This usually means"
30171 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30172 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30173 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30174 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30175 echo "*** is required on your system"
30177 echo "*** If you have an old version installed, it is best to remove it, although"
30178 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30180 echo "$as_me: failed program was:" >&5
30181 sed 's/^/| /' conftest.
$ac_ext >&5
30183 echo "*** The test program failed to compile or link. See the file config.log for the"
30184 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30186 rm -f conftest.err conftest.
$ac_objext \
30187 conftest
$ac_exeext conftest.
$ac_ext
30188 CFLAGS
="$ac_save_CFLAGS"
30189 LIBS
="$ac_save_LIBS"
30203 if test "$wxUSE_SHARED" != "yes"; then
30204 GTK_LIBS
="$GTK_LIBS -lX11"
30209 if test -z "$wx_cv_lib_gtk"; then
30210 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30212 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
30213 if test "${with_gtk_prefix+set}" = set; then
30214 withval
="$with_gtk_prefix"
30215 gtk_config_prefix
="$withval"
30217 gtk_config_prefix
=""
30220 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
30221 if test "${with_gtk_exec_prefix+set}" = set; then
30222 withval
="$with_gtk_exec_prefix"
30223 gtk_config_exec_prefix
="$withval"
30225 gtk_config_exec_prefix
=""
30227 # Check whether --enable-gtktest or --disable-gtktest was given.
30228 if test "${enable_gtktest+set}" = set; then
30229 enableval
="$enable_gtktest"
30235 for module
in .
$GTK_MODULES
30239 gtk_config_args
="$gtk_config_args gthread"
30244 if test x
$gtk_config_exec_prefix != x
; then
30245 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30246 if test x
${GTK_CONFIG+set} != xset
; then
30247 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
30250 if test x
$gtk_config_prefix != x
; then
30251 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
30252 if test x
${GTK_CONFIG+set} != xset
; then
30253 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
30257 # Extract the first word of "gtk-config", so it can be a program name with args.
30258 set dummy gtk
-config; ac_word
=$2
30259 echo "$as_me:$LINENO: checking for $ac_word" >&5
30260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30261 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30262 echo $ECHO_N "(cached) $ECHO_C" >&6
30264 case $GTK_CONFIG in
30266 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
30269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30270 for as_dir
in $PATH
30273 test -z "$as_dir" && as_dir
=.
30274 for ac_exec_ext
in '' $ac_executable_extensions; do
30275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30276 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30283 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
30287 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
30289 if test -n "$GTK_CONFIG"; then
30290 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30291 echo "${ECHO_T}$GTK_CONFIG" >&6
30293 echo "$as_me:$LINENO: result: no" >&5
30294 echo "${ECHO_T}no" >&6
30297 min_gtk_version
=1.2.7
30298 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30299 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
30301 if test "$GTK_CONFIG" = "no" ; then
30304 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
30305 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
30306 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
30307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30308 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
30309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30310 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
30311 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30312 if test "x$enable_gtktest" = "xyes" ; then
30313 ac_save_CFLAGS
="$CFLAGS"
30314 ac_save_LIBS
="$LIBS"
30315 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30316 LIBS
="$GTK_LIBS $LIBS"
30318 if test "$cross_compiling" = yes; then
30319 echo $ac_n "cross compiling; assumed OK... $ac_c"
30321 cat >conftest.
$ac_ext <<_ACEOF
30324 cat confdefs.h
>>conftest.
$ac_ext
30325 cat >>conftest.
$ac_ext <<_ACEOF
30326 /* end confdefs.h. */
30328 #include <gtk/gtk.h>
30330 #include <stdlib.h>
30335 int major, minor, micro;
30338 system ("touch conf.gtktest");
30340 /* HP/UX 9 (%@#!) writes to sscanf strings */
30341 tmp_version = g_strdup("$min_gtk_version");
30342 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30343 printf("%s, bad version string\n", "$min_gtk_version");
30347 if ((gtk_major_version != $gtk_config_major_version) ||
30348 (gtk_minor_version != $gtk_config_minor_version) ||
30349 (gtk_micro_version != $gtk_config_micro_version))
30351 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30352 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30353 gtk_major_version, gtk_minor_version, gtk_micro_version);
30354 printf ("*** was found! If gtk-config was correct, then it is best\n");
30355 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30356 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30357 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30358 printf("*** required on your system.\n");
30359 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30360 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30361 printf("*** before re-running configure\n");
30363 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30364 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30365 (gtk_minor_version != GTK_MINOR_VERSION) ||
30366 (gtk_micro_version != GTK_MICRO_VERSION))
30368 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30369 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30370 printf("*** library (version %d.%d.%d)\n",
30371 gtk_major_version, gtk_minor_version, gtk_micro_version);
30373 #endif /* defined (GTK_MAJOR_VERSION) ... */
30376 if ((gtk_major_version > major) ||
30377 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30378 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30384 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30385 gtk_major_version, gtk_minor_version, gtk_micro_version);
30386 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30387 major, minor, micro);
30388 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30390 printf("*** If you have already installed a sufficiently new version, this error\n");
30391 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30392 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30393 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30394 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30395 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30396 printf("*** so that the correct libraries are found at run-time))\n");
30403 rm -f conftest
$ac_exeext
30404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30405 (eval $ac_link) 2>&5
30407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30408 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
30409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30410 (eval $ac_try) 2>&5
30412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30413 (exit $ac_status); }; }; then
30416 echo "$as_me: program exited with status $ac_status" >&5
30417 echo "$as_me: failed program was:" >&5
30418 sed 's/^/| /' conftest.
$ac_ext >&5
30420 ( exit $ac_status )
30423 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30425 CFLAGS
="$ac_save_CFLAGS"
30426 LIBS
="$ac_save_LIBS"
30429 if test "x$no_gtk" = x
; then
30430 echo "$as_me:$LINENO: result: yes" >&5
30431 echo "${ECHO_T}yes" >&6
30432 wx_cv_lib_gtk
=1.2.7
30434 echo "$as_me:$LINENO: result: no" >&5
30435 echo "${ECHO_T}no" >&6
30436 if test "$GTK_CONFIG" = "no" ; then
30437 echo "*** The gtk-config script installed by GTK could not be found"
30438 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30439 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30440 echo "*** full path to gtk-config."
30442 if test -f conf.gtktest
; then
30445 echo "*** Could not run GTK test program, checking why..."
30446 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30447 LIBS
="$LIBS $GTK_LIBS"
30448 cat >conftest.
$ac_ext <<_ACEOF
30451 cat confdefs.h
>>conftest.
$ac_ext
30452 cat >>conftest.
$ac_ext <<_ACEOF
30453 /* end confdefs.h. */
30455 #include <gtk/gtk.h>
30461 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30466 rm -f conftest.
$ac_objext conftest
$ac_exeext
30467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30468 (eval $ac_link) 2>conftest.er1
30470 grep -v '^ *+' conftest.er1
>conftest.err
30472 cat conftest.err
>&5
30473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474 (exit $ac_status); } &&
30475 { ac_try
='test -z "$ac_c_werror_flag"
30476 || test ! -s conftest.err'
30477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30478 (eval $ac_try) 2>&5
30480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481 (exit $ac_status); }; } &&
30482 { ac_try
='test -s conftest$ac_exeext'
30483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30484 (eval $ac_try) 2>&5
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); }; }; then
30488 echo "*** The test program compiled, but did not run. This usually means"
30489 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30490 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30491 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30492 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30493 echo "*** is required on your system"
30495 echo "*** If you have an old version installed, it is best to remove it, although"
30496 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30498 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30499 echo "*** came with the system with the command"
30501 echo "*** rpm --erase --nodeps gtk gtk-devel"
30503 echo "$as_me: failed program was:" >&5
30504 sed 's/^/| /' conftest.
$ac_ext >&5
30506 echo "*** The test program failed to compile or link. See the file config.log for the"
30507 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30508 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30509 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30511 rm -f conftest.err conftest.
$ac_objext \
30512 conftest
$ac_exeext conftest.
$ac_ext
30513 CFLAGS
="$ac_save_CFLAGS"
30514 LIBS
="$ac_save_LIBS"
30526 if test -z "$wx_cv_lib_gtk"; then
30528 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
30529 if test "${with_gtk_prefix+set}" = set; then
30530 withval
="$with_gtk_prefix"
30531 gtk_config_prefix
="$withval"
30533 gtk_config_prefix
=""
30536 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
30537 if test "${with_gtk_exec_prefix+set}" = set; then
30538 withval
="$with_gtk_exec_prefix"
30539 gtk_config_exec_prefix
="$withval"
30541 gtk_config_exec_prefix
=""
30543 # Check whether --enable-gtktest or --disable-gtktest was given.
30544 if test "${enable_gtktest+set}" = set; then
30545 enableval
="$enable_gtktest"
30551 for module
in .
$GTK_MODULES
30555 gtk_config_args
="$gtk_config_args gthread"
30560 if test x
$gtk_config_exec_prefix != x
; then
30561 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30562 if test x
${GTK_CONFIG+set} != xset
; then
30563 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
30566 if test x
$gtk_config_prefix != x
; then
30567 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
30568 if test x
${GTK_CONFIG+set} != xset
; then
30569 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
30573 # Extract the first word of "gtk-config", so it can be a program name with args.
30574 set dummy gtk
-config; ac_word
=$2
30575 echo "$as_me:$LINENO: checking for $ac_word" >&5
30576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30577 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30578 echo $ECHO_N "(cached) $ECHO_C" >&6
30580 case $GTK_CONFIG in
30582 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
30585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30586 for as_dir
in $PATH
30589 test -z "$as_dir" && as_dir
=.
30590 for ac_exec_ext
in '' $ac_executable_extensions; do
30591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30592 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30599 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
30603 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
30605 if test -n "$GTK_CONFIG"; then
30606 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30607 echo "${ECHO_T}$GTK_CONFIG" >&6
30609 echo "$as_me:$LINENO: result: no" >&5
30610 echo "${ECHO_T}no" >&6
30613 min_gtk_version
=1.2.3
30614 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30615 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
30617 if test "$GTK_CONFIG" = "no" ; then
30620 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
30621 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
30622 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
30623 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30624 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
30625 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30626 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
30627 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30628 if test "x$enable_gtktest" = "xyes" ; then
30629 ac_save_CFLAGS
="$CFLAGS"
30630 ac_save_LIBS
="$LIBS"
30631 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30632 LIBS
="$GTK_LIBS $LIBS"
30634 if test "$cross_compiling" = yes; then
30635 echo $ac_n "cross compiling; assumed OK... $ac_c"
30637 cat >conftest.
$ac_ext <<_ACEOF
30640 cat confdefs.h
>>conftest.
$ac_ext
30641 cat >>conftest.
$ac_ext <<_ACEOF
30642 /* end confdefs.h. */
30644 #include <gtk/gtk.h>
30646 #include <stdlib.h>
30651 int major, minor, micro;
30654 system ("touch conf.gtktest");
30656 /* HP/UX 9 (%@#!) writes to sscanf strings */
30657 tmp_version = g_strdup("$min_gtk_version");
30658 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30659 printf("%s, bad version string\n", "$min_gtk_version");
30663 if ((gtk_major_version != $gtk_config_major_version) ||
30664 (gtk_minor_version != $gtk_config_minor_version) ||
30665 (gtk_micro_version != $gtk_config_micro_version))
30667 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30668 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30669 gtk_major_version, gtk_minor_version, gtk_micro_version);
30670 printf ("*** was found! If gtk-config was correct, then it is best\n");
30671 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30672 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30673 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30674 printf("*** required on your system.\n");
30675 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30676 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30677 printf("*** before re-running configure\n");
30679 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30680 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30681 (gtk_minor_version != GTK_MINOR_VERSION) ||
30682 (gtk_micro_version != GTK_MICRO_VERSION))
30684 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30685 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30686 printf("*** library (version %d.%d.%d)\n",
30687 gtk_major_version, gtk_minor_version, gtk_micro_version);
30689 #endif /* defined (GTK_MAJOR_VERSION) ... */
30692 if ((gtk_major_version > major) ||
30693 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30694 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30700 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30701 gtk_major_version, gtk_minor_version, gtk_micro_version);
30702 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30703 major, minor, micro);
30704 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30706 printf("*** If you have already installed a sufficiently new version, this error\n");
30707 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30708 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30709 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30710 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30711 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30712 printf("*** so that the correct libraries are found at run-time))\n");
30719 rm -f conftest
$ac_exeext
30720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30721 (eval $ac_link) 2>&5
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
30725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30726 (eval $ac_try) 2>&5
30728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30729 (exit $ac_status); }; }; then
30732 echo "$as_me: program exited with status $ac_status" >&5
30733 echo "$as_me: failed program was:" >&5
30734 sed 's/^/| /' conftest.
$ac_ext >&5
30736 ( exit $ac_status )
30739 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30741 CFLAGS
="$ac_save_CFLAGS"
30742 LIBS
="$ac_save_LIBS"
30745 if test "x$no_gtk" = x
; then
30746 echo "$as_me:$LINENO: result: yes" >&5
30747 echo "${ECHO_T}yes" >&6
30748 wx_cv_lib_gtk
=1.2.3
30750 echo "$as_me:$LINENO: result: no" >&5
30751 echo "${ECHO_T}no" >&6
30752 if test "$GTK_CONFIG" = "no" ; then
30753 echo "*** The gtk-config script installed by GTK could not be found"
30754 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30755 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30756 echo "*** full path to gtk-config."
30758 if test -f conf.gtktest
; then
30761 echo "*** Could not run GTK test program, checking why..."
30762 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30763 LIBS
="$LIBS $GTK_LIBS"
30764 cat >conftest.
$ac_ext <<_ACEOF
30767 cat confdefs.h
>>conftest.
$ac_ext
30768 cat >>conftest.
$ac_ext <<_ACEOF
30769 /* end confdefs.h. */
30771 #include <gtk/gtk.h>
30777 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30782 rm -f conftest.
$ac_objext conftest
$ac_exeext
30783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30784 (eval $ac_link) 2>conftest.er1
30786 grep -v '^ *+' conftest.er1
>conftest.err
30788 cat conftest.err
>&5
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); } &&
30791 { ac_try
='test -z "$ac_c_werror_flag"
30792 || test ! -s conftest.err'
30793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30794 (eval $ac_try) 2>&5
30796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30797 (exit $ac_status); }; } &&
30798 { ac_try
='test -s conftest$ac_exeext'
30799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30800 (eval $ac_try) 2>&5
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); }; }; then
30804 echo "*** The test program compiled, but did not run. This usually means"
30805 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30806 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30807 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30808 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30809 echo "*** is required on your system"
30811 echo "*** If you have an old version installed, it is best to remove it, although"
30812 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30814 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30815 echo "*** came with the system with the command"
30817 echo "*** rpm --erase --nodeps gtk gtk-devel"
30819 echo "$as_me: failed program was:" >&5
30820 sed 's/^/| /' conftest.
$ac_ext >&5
30822 echo "*** The test program failed to compile or link. See the file config.log for the"
30823 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30824 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30825 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30827 rm -f conftest.err conftest.
$ac_objext \
30828 conftest
$ac_exeext conftest.
$ac_ext
30829 CFLAGS
="$ac_save_CFLAGS"
30830 LIBS
="$ac_save_LIBS"
30845 if test -z "$wx_cv_lib_gtk"; then
30848 wx_cv_cflags_gtk
=$GTK_CFLAGS
30849 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30856 if test "$gtk_version_cached" = 1; then
30857 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30858 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
30861 case "$wx_cv_lib_gtk" in
30870 *) { { echo "$as_me:$LINENO: error:
30871 The development files for GTK+ were not found. For GTK+ 2, please
30872 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30873 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30874 and that the version is 1.2.3 or above. Also check that the
30875 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30876 --libs' are in the LD_LIBRARY_PATH or equivalent.
30878 echo "$as_me: error:
30879 The development files for GTK+ were not found. For GTK+ 2, please
30880 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30881 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30882 and that the version is 1.2.3 or above. Also check that the
30883 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30884 --libs' are in the LD_LIBRARY_PATH or equivalent.
30886 { (exit 1); exit 1; }; }
30890 if test "$WXGTK20" = 1; then
30891 save_CFLAGS
="$CFLAGS"
30893 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
30894 LIBS
="$LIBS $wx_cv_libs_gtk"
30896 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
30897 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
30898 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
30899 echo $ECHO_N "(cached) $ECHO_C" >&6
30901 cat >conftest.
$ac_ext <<_ACEOF
30904 cat confdefs.h
>>conftest.
$ac_ext
30905 cat >>conftest.
$ac_ext <<_ACEOF
30906 /* end confdefs.h. */
30907 #include <gtk/gtk.h>
30912 #ifndef gtk_icon_size_lookup
30913 char *p = (char *) gtk_icon_size_lookup;
30920 rm -f conftest.
$ac_objext
30921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30922 (eval $ac_compile) 2>conftest.er1
30924 grep -v '^ *+' conftest.er1
>conftest.err
30926 cat conftest.err
>&5
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); } &&
30929 { ac_try
='test -z "$ac_c_werror_flag"
30930 || test ! -s conftest.err'
30931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30932 (eval $ac_try) 2>&5
30934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 (exit $ac_status); }; } &&
30936 { ac_try
='test -s conftest.$ac_objext'
30937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30938 (eval $ac_try) 2>&5
30940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30941 (exit $ac_status); }; }; then
30942 ac_cv_have_decl_gtk_icon_size_lookup
=yes
30944 echo "$as_me: failed program was:" >&5
30945 sed 's/^/| /' conftest.
$ac_ext >&5
30947 ac_cv_have_decl_gtk_icon_size_lookup
=no
30949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30951 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
30952 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
30953 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
30955 cat >>confdefs.h
<<_ACEOF
30956 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
30961 cat >>confdefs.h
<<_ACEOF
30962 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
30965 cat >>confdefs.h
<<\_ACEOF
30966 #define NEED_GTK_ICON_SIZE_LOOKUP 1
30974 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30975 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6
30976 cat >conftest.
$ac_ext <<_ACEOF
30979 cat confdefs.h
>>conftest.
$ac_ext
30980 cat >>conftest.
$ac_ext <<_ACEOF
30981 /* end confdefs.h. */
30983 #include <gtk/gtk.h>
30989 #if !GTK_CHECK_VERSION(2,10,0)
30997 rm -f conftest.
$ac_objext
30998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30999 (eval $ac_compile) 2>conftest.er1
31001 grep -v '^ *+' conftest.er1
>conftest.err
31003 cat conftest.err
>&5
31004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31005 (exit $ac_status); } &&
31006 { ac_try
='test -z "$ac_c_werror_flag"
31007 || test ! -s conftest.err'
31008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31009 (eval $ac_try) 2>&5
31011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31012 (exit $ac_status); }; } &&
31013 { ac_try
='test -s conftest.$ac_objext'
31014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31015 (eval $ac_try) 2>&5
31017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018 (exit $ac_status); }; }; then
31020 cat >>confdefs.h
<<\_ACEOF
31021 #define __WXGTK210__ 1
31024 cat >>confdefs.h
<<\_ACEOF
31025 #define __WXGTK26__ 1
31028 cat >>confdefs.h
<<\_ACEOF
31029 #define __WXGTK24__ 1
31032 echo "$as_me:$LINENO: result: yes" >&5
31033 echo "${ECHO_T}yes" >&6
31037 echo "$as_me: failed program was:" >&5
31038 sed 's/^/| /' conftest.
$ac_ext >&5
31041 echo "$as_me:$LINENO: result: no" >&5
31042 echo "${ECHO_T}no" >&6
31046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31048 if test "$ac_wxgtk210" = 0; then
31049 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31050 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
31051 cat >conftest.
$ac_ext <<_ACEOF
31054 cat confdefs.h
>>conftest.
$ac_ext
31055 cat >>conftest.
$ac_ext <<_ACEOF
31056 /* end confdefs.h. */
31058 #include <gtk/gtk.h>
31064 #if !GTK_CHECK_VERSION(2,6,0)
31072 rm -f conftest.
$ac_objext
31073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31074 (eval $ac_compile) 2>conftest.er1
31076 grep -v '^ *+' conftest.er1
>conftest.err
31078 cat conftest.err
>&5
31079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31080 (exit $ac_status); } &&
31081 { ac_try
='test -z "$ac_c_werror_flag"
31082 || test ! -s conftest.err'
31083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31084 (eval $ac_try) 2>&5
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; } &&
31088 { ac_try
='test -s conftest.$ac_objext'
31089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31090 (eval $ac_try) 2>&5
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); }; }; then
31095 cat >>confdefs.h
<<\_ACEOF
31096 #define __WXGTK26__ 1
31099 cat >>confdefs.h
<<\_ACEOF
31100 #define __WXGTK24__ 1
31103 echo "$as_me:$LINENO: result: yes" >&5
31104 echo "${ECHO_T}yes" >&6
31108 echo "$as_me: failed program was:" >&5
31109 sed 's/^/| /' conftest.
$ac_ext >&5
31112 echo "$as_me:$LINENO: result: no" >&5
31113 echo "${ECHO_T}no" >&6
31117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31120 if test "$ac_wxgtk26" = 0; then
31121 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31122 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
31123 cat >conftest.
$ac_ext <<_ACEOF
31126 cat confdefs.h
>>conftest.
$ac_ext
31127 cat >>conftest.
$ac_ext <<_ACEOF
31128 /* end confdefs.h. */
31130 #include <gtk/gtk.h>
31136 #if !GTK_CHECK_VERSION(2,4,0)
31144 rm -f conftest.
$ac_objext
31145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31146 (eval $ac_compile) 2>conftest.er1
31148 grep -v '^ *+' conftest.er1
>conftest.err
31150 cat conftest.err
>&5
31151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31152 (exit $ac_status); } &&
31153 { ac_try
='test -z "$ac_c_werror_flag"
31154 || test ! -s conftest.err'
31155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31156 (eval $ac_try) 2>&5
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); }; } &&
31160 { ac_try
='test -s conftest.$ac_objext'
31161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31162 (eval $ac_try) 2>&5
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); }; }; then
31167 cat >>confdefs.h
<<\_ACEOF
31168 #define __WXGTK24__ 1
31171 echo "$as_me:$LINENO: result: yes" >&5
31172 echo "${ECHO_T}yes" >&6
31175 echo "$as_me: failed program was:" >&5
31176 sed 's/^/| /' conftest.
$ac_ext >&5
31179 echo "$as_me:$LINENO: result: no" >&5
31180 echo "${ECHO_T}no" >&6
31183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31186 CFLAGS
="$save_CFLAGS"
31189 if test "$wxUSE_UNICODE" = "yes"; then
31190 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31191 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31195 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31196 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
31197 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31198 echo $ECHO_N "(cached) $ECHO_C" >&6
31200 ac_check_lib_save_LIBS
=$LIBS
31202 cat >conftest.
$ac_ext <<_ACEOF
31205 cat confdefs.h
>>conftest.
$ac_ext
31206 cat >>conftest.
$ac_ext <<_ACEOF
31207 /* end confdefs.h. */
31209 /* Override any gcc2 internal prototype to avoid an error. */
31213 /* We use char because int might match the return type of a gcc2
31214 builtin and then its argument prototype would still apply. */
31215 char gdk_im_open ();
31224 rm -f conftest.
$ac_objext conftest
$ac_exeext
31225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31226 (eval $ac_link) 2>conftest.er1
31228 grep -v '^ *+' conftest.er1
>conftest.err
31230 cat conftest.err
>&5
31231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232 (exit $ac_status); } &&
31233 { ac_try
='test -z "$ac_c_werror_flag"
31234 || test ! -s conftest.err'
31235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31236 (eval $ac_try) 2>&5
31238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31239 (exit $ac_status); }; } &&
31240 { ac_try
='test -s conftest$ac_exeext'
31241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31242 (eval $ac_try) 2>&5
31244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31245 (exit $ac_status); }; }; then
31246 ac_cv_lib_gdk_gdk_im_open
=yes
31248 echo "$as_me: failed program was:" >&5
31249 sed 's/^/| /' conftest.
$ac_ext >&5
31251 ac_cv_lib_gdk_gdk_im_open
=no
31253 rm -f conftest.err conftest.
$ac_objext \
31254 conftest
$ac_exeext conftest.
$ac_ext
31255 LIBS
=$ac_check_lib_save_LIBS
31257 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31258 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
31259 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31260 cat >>confdefs.h
<<\_ACEOF
31267 if test "$USE_DARWIN" != 1; then
31269 for ac_func
in poll
31271 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31272 echo "$as_me:$LINENO: checking for $ac_func" >&5
31273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31274 if eval "test \"\${$as_ac_var+set}\" = set"; then
31275 echo $ECHO_N "(cached) $ECHO_C" >&6
31277 cat >conftest.
$ac_ext <<_ACEOF
31280 cat confdefs.h
>>conftest.
$ac_ext
31281 cat >>conftest.
$ac_ext <<_ACEOF
31282 /* end confdefs.h. */
31283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31285 #define $ac_func innocuous_$ac_func
31287 /* System header to define __stub macros and hopefully few prototypes,
31288 which can conflict with char $ac_func (); below.
31289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31290 <limits.h> exists even on freestanding compilers. */
31293 # include <limits.h>
31295 # include <assert.h>
31300 /* Override any gcc2 internal prototype to avoid an error. */
31305 /* We use char because int might match the return type of a gcc2
31306 builtin and then its argument prototype would still apply. */
31308 /* The GNU C library defines this for functions which it implements
31309 to always fail with ENOSYS. Some functions are actually named
31310 something starting with __ and the normal name is an alias. */
31311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31314 char (*f) () = $ac_func;
31323 return f != $ac_func;
31328 rm -f conftest.
$ac_objext conftest
$ac_exeext
31329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31330 (eval $ac_link) 2>conftest.er1
31332 grep -v '^ *+' conftest.er1
>conftest.err
31334 cat conftest.err
>&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); } &&
31337 { ac_try
='test -z "$ac_c_werror_flag"
31338 || test ! -s conftest.err'
31339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31340 (eval $ac_try) 2>&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; } &&
31344 { ac_try
='test -s conftest$ac_exeext'
31345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31346 (eval $ac_try) 2>&5
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); }; }; then
31350 eval "$as_ac_var=yes"
31352 echo "$as_me: failed program was:" >&5
31353 sed 's/^/| /' conftest.
$ac_ext >&5
31355 eval "$as_ac_var=no"
31357 rm -f conftest.err conftest.
$ac_objext \
31358 conftest
$ac_exeext conftest.
$ac_ext
31360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31362 if test `eval echo '${'$as_ac_var'}'` = yes; then
31363 cat >>confdefs.h
<<_ACEOF
31364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31373 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
31374 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31376 AFMINSTALL
=afminstall
31380 if test "$wxUSE_GPE" = "yes"; then
31381 echo "$as_me:$LINENO: checking for gpewidget library" >&5
31382 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
31385 for ac_dir
in $SEARCH_LIB;
31387 for ac_extension
in a so sl dylib dll.a
; do
31388 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31389 ac_find_libraries
=$ac_dir
31395 if test "$ac_find_libraries" != "" ; then
31397 if test "$ac_find_libraries" = "default location"; then
31400 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31402 if test $result = 0; then
31405 ac_path_to_link
=" -L$ac_find_libraries"
31409 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31411 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31412 echo "${ECHO_T}found in $ac_find_libraries" >&6
31414 echo "$as_me:$LINENO: result: not found" >&5
31415 echo "${ECHO_T}not found" >&6
31421 if test "$wxUSE_MGL" = 1; then
31422 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31423 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
31424 if test "x$MGL_ROOT" = x
; then
31425 echo "$as_me:$LINENO: result: not found" >&5
31426 echo "${ECHO_T}not found" >&6
31427 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31428 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31429 { (exit 1); exit 1; }; }
31431 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31432 echo "${ECHO_T}$MGL_ROOT" >&6
31435 echo "$as_me:$LINENO: checking for libmgl location" >&5
31436 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
31439 if test "x$wxUSE_SHARED" = xyes
; then
31440 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31442 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31446 mgl_os_candidates
="dos32/dj2"
31449 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31450 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31451 { (exit 1); exit 1; }; }
31457 for mgl_os_i
in $mgl_os_candidates ; do
31458 if test "x$mgl_os" = x
; then
31459 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31460 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
31461 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
31466 if test "x$mgl_lib_type" = x
; then
31467 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
31468 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
31469 mgl_lib_type
=release
31476 if test "x$mgl_os" = x
; then
31477 echo "$as_me:$LINENO: result: not found" >&5
31478 echo "${ECHO_T}not found" >&6
31479 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31480 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31481 { (exit 1); exit 1; }; }
31483 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31484 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
31486 wxUSE_UNIVERSAL
="yes"
31488 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
31489 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31491 AFMINSTALL
=afminstall
31496 if test "$wxUSE_DFB" = 1; then
31499 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31500 if test -n "$ac_tool_prefix"; then
31501 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31502 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31503 echo "$as_me:$LINENO: checking for $ac_word" >&5
31504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31505 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31506 echo $ECHO_N "(cached) $ECHO_C" >&6
31508 case $PKG_CONFIG in
31510 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31514 for as_dir
in $PATH
31517 test -z "$as_dir" && as_dir
=.
31518 for ac_exec_ext
in '' $ac_executable_extensions; do
31519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31520 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31530 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31532 if test -n "$PKG_CONFIG"; then
31533 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31534 echo "${ECHO_T}$PKG_CONFIG" >&6
31536 echo "$as_me:$LINENO: result: no" >&5
31537 echo "${ECHO_T}no" >&6
31541 if test -z "$ac_cv_path_PKG_CONFIG"; then
31542 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31543 # Extract the first word of "pkg-config", so it can be a program name with args.
31544 set dummy pkg
-config; ac_word
=$2
31545 echo "$as_me:$LINENO: checking for $ac_word" >&5
31546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31547 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31548 echo $ECHO_N "(cached) $ECHO_C" >&6
31550 case $ac_pt_PKG_CONFIG in
31552 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31556 for as_dir
in $PATH
31559 test -z "$as_dir" && as_dir
=.
31560 for ac_exec_ext
in '' $ac_executable_extensions; do
31561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31562 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31572 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31574 if test -n "$ac_pt_PKG_CONFIG"; then
31575 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31576 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31578 echo "$as_me:$LINENO: result: no" >&5
31579 echo "${ECHO_T}no" >&6
31582 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31584 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31588 if test -n "$PKG_CONFIG"; then
31589 _pkg_min_version
=0.9.0
31590 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31591 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31592 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31593 echo "$as_me:$LINENO: result: yes" >&5
31594 echo "${ECHO_T}yes" >&6
31596 echo "$as_me:$LINENO: result: no" >&5
31597 echo "${ECHO_T}no" >&6
31605 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31606 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
31608 if test -n "$PKG_CONFIG"; then
31609 if test -n "$DIRECTFB_CFLAGS"; then
31610 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
31612 if test -n "$PKG_CONFIG" && \
31613 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31614 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); }; then
31618 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31626 if test -n "$PKG_CONFIG"; then
31627 if test -n "$DIRECTFB_LIBS"; then
31628 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
31630 if test -n "$PKG_CONFIG" && \
31631 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31632 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); }; then
31636 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31647 if test $pkg_failed = yes; then
31649 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31650 _pkg_short_errors_supported
=yes
31652 _pkg_short_errors_supported
=no
31654 if test $_pkg_short_errors_supported = yes; then
31655 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31657 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31659 # Put the nasty error message in config.log where it belongs
31660 echo "$DIRECTFB_PKG_ERRORS" >&5
31663 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31664 echo "$as_me: error: DirectFB not found." >&2;}
31665 { (exit 1); exit 1; }; }
31668 elif test $pkg_failed = untried
; then
31670 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31671 echo "$as_me: error: DirectFB not found." >&2;}
31672 { (exit 1); exit 1; }; }
31676 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
31677 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
31678 echo "$as_me:$LINENO: result: yes" >&5
31679 echo "${ECHO_T}yes" >&6
31681 wxUSE_UNIVERSAL
="yes"
31682 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
31683 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
31690 if test "$wxUSE_MICROWIN" = 1; then
31691 echo "$as_me:$LINENO: checking for MicroWindows" >&5
31692 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
31693 if test "x$MICROWINDOWS" = x
; then
31694 echo "$as_me:$LINENO: result: not found" >&5
31695 echo "${ECHO_T}not found" >&6
31696 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31697 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31698 { (exit 1); exit 1; }; }
31700 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31701 echo "${ECHO_T}$MICROWINDOWS" >&6
31704 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
31705 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31706 echo "${ECHO_T}MicroWindows' libraries found." >&6
31708 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31709 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31710 { (exit 1); exit 1; }; }
31713 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
31714 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31716 wxUSE_UNIVERSAL
="yes"
31718 AFMINSTALL
=afminstall
31720 GUIDIST
=MICROWIN_DIST
31722 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31725 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31726 echo "$as_me:$LINENO: checking for X" >&5
31727 echo $ECHO_N "checking for X... $ECHO_C" >&6
31730 # Check whether --with-x or --without-x was given.
31731 if test "${with_x+set}" = set; then
31735 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31736 if test "x$with_x" = xno
; then
31737 # The user explicitly disabled X.
31740 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
31741 # Both variables are already set.
31744 if test "${ac_cv_have_x+set}" = set; then
31745 echo $ECHO_N "(cached) $ECHO_C" >&6
31747 # One or both of the vars are not set, and there is no cached value.
31748 ac_x_includes
=no ac_x_libraries
=no
31749 rm -fr conftest.dir
31750 if mkdir conftest.dir
; then
31752 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
31753 cat >Imakefile
<<'_ACEOF'
31755 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
31757 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
31758 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31759 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
31760 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31761 for ac_extension
in a so sl
; do
31762 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
31763 test -f $ac_im_libdir/libX11.
$ac_extension; then
31764 ac_im_usrlibdir
=$ac_im_libdir; break
31767 # Screen out bogus values from the imake configuration. They are
31768 # bogus both because they are the default anyway, and because
31769 # using them would break gcc on systems where it needs fixed includes.
31770 case $ac_im_incroot in
31772 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
31774 case $ac_im_usrlibdir in
31775 /usr
/lib
| /lib
) ;;
31776 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
31780 rm -fr conftest.dir
31783 # Standard set of common directories for X headers.
31784 # Check X11 before X11Rn because it is often a symlink to the current release.
31796 /usr/local/X11/include
31797 /usr/local/X11R6/include
31798 /usr/local/X11R5/include
31799 /usr/local/X11R4/include
31801 /usr/local/include/X11
31802 /usr/local/include/X11R6
31803 /usr/local/include/X11R5
31804 /usr/local/include/X11R4
31808 /usr/XFree86/include/X11
31812 /usr/unsupported/include
31813 /usr/athena/include
31814 /usr/local/x11r5/include
31815 /usr/lpp/Xamples/include
31817 /usr/openwin/include
31818 /usr/openwin/share/include'
31820 if test "$ac_x_includes" = no
; then
31821 # Guess where to find include files, by looking for Intrinsic.h.
31822 # First, try using that file with no special directory specified.
31823 cat >conftest.
$ac_ext <<_ACEOF
31826 cat confdefs.h
>>conftest.
$ac_ext
31827 cat >>conftest.
$ac_ext <<_ACEOF
31828 /* end confdefs.h. */
31829 #include <X11/Intrinsic.h>
31831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31832 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31834 grep -v '^ *+' conftest.er1
>conftest.err
31836 cat conftest.err
>&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); } >/dev
/null
; then
31839 if test -s conftest.err
; then
31840 ac_cpp_err
=$ac_c_preproc_warn_flag
31841 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31848 if test -z "$ac_cpp_err"; then
31849 # We can compile using X headers with no special include directory.
31852 echo "$as_me: failed program was:" >&5
31853 sed 's/^/| /' conftest.
$ac_ext >&5
31855 for ac_dir
in $ac_x_header_dirs; do
31856 if test -r "$ac_dir/X11/Intrinsic.h"; then
31857 ac_x_includes
=$ac_dir
31862 rm -f conftest.err conftest.
$ac_ext
31863 fi # $ac_x_includes = no
31865 if test "$ac_x_libraries" = no
; then
31866 # Check for the libraries.
31867 # See if we find them without any special options.
31868 # Don't add to $LIBS permanently.
31871 cat >conftest.
$ac_ext <<_ACEOF
31874 cat confdefs.h
>>conftest.
$ac_ext
31875 cat >>conftest.
$ac_ext <<_ACEOF
31876 /* end confdefs.h. */
31877 #include <X11/Intrinsic.h>
31886 rm -f conftest.
$ac_objext conftest
$ac_exeext
31887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31888 (eval $ac_link) 2>conftest.er1
31890 grep -v '^ *+' conftest.er1
>conftest.err
31892 cat conftest.err
>&5
31893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894 (exit $ac_status); } &&
31895 { ac_try
='test -z "$ac_c_werror_flag"
31896 || test ! -s conftest.err'
31897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31898 (eval $ac_try) 2>&5
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); }; } &&
31902 { ac_try
='test -s conftest$ac_exeext'
31903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31904 (eval $ac_try) 2>&5
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); }; }; then
31909 # We can link X programs with no special library path.
31912 echo "$as_me: failed program was:" >&5
31913 sed 's/^/| /' conftest.
$ac_ext >&5
31916 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31918 # Don't even attempt the hair of trying to link an X program!
31919 for ac_extension
in a so sl
; do
31920 if test -r $ac_dir/libXt.
$ac_extension; then
31921 ac_x_libraries
=$ac_dir
31927 rm -f conftest.err conftest.
$ac_objext \
31928 conftest
$ac_exeext conftest.
$ac_ext
31929 fi # $ac_x_libraries = no
31931 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
31932 # Didn't find X anywhere. Cache the known absence of X.
31933 ac_cv_have_x
="have_x=no"
31935 # Record where we found X for the cache.
31936 ac_cv_have_x
="have_x=yes \
31937 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
31942 eval "$ac_cv_have_x"
31945 if test "$have_x" != yes; then
31946 echo "$as_me:$LINENO: result: $have_x" >&5
31947 echo "${ECHO_T}$have_x" >&6
31950 # If each of the values was on the command line, it overrides each guess.
31951 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
31952 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
31953 # Update the cache value to reflect the command line values.
31954 ac_cv_have_x
="have_x=yes \
31955 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
31956 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31957 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
31960 if test "$no_x" = yes; then
31961 # Not all programs may use this symbol, but it does not hurt to define it.
31963 cat >>confdefs.h
<<\_ACEOF
31964 #define X_DISPLAY_MISSING 1
31967 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
31969 if test -n "$x_includes"; then
31970 X_CFLAGS
="$X_CFLAGS -I$x_includes"
31973 # It would also be nice to do this for all -L options, not just this one.
31974 if test -n "$x_libraries"; then
31975 X_LIBS
="$X_LIBS -L$x_libraries"
31976 # For Solaris; some versions of Sun CC require a space after -R and
31977 # others require no space. Words are not sufficient . . . .
31978 case `(uname -sr) 2>/dev/null` in
31980 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31981 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
31982 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
31983 cat >conftest.
$ac_ext <<_ACEOF
31986 cat confdefs.h
>>conftest.
$ac_ext
31987 cat >>conftest.
$ac_ext <<_ACEOF
31988 /* end confdefs.h. */
31998 rm -f conftest.
$ac_objext conftest
$ac_exeext
31999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32000 (eval $ac_link) 2>conftest.er1
32002 grep -v '^ *+' conftest.er1
>conftest.err
32004 cat conftest.err
>&5
32005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32006 (exit $ac_status); } &&
32007 { ac_try
='test -z "$ac_c_werror_flag"
32008 || test ! -s conftest.err'
32009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32010 (eval $ac_try) 2>&5
32012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32013 (exit $ac_status); }; } &&
32014 { ac_try
='test -s conftest$ac_exeext'
32015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32016 (eval $ac_try) 2>&5
32018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32019 (exit $ac_status); }; }; then
32022 echo "$as_me: failed program was:" >&5
32023 sed 's/^/| /' conftest.
$ac_ext >&5
32027 rm -f conftest.err conftest.
$ac_objext \
32028 conftest
$ac_exeext conftest.
$ac_ext
32029 if test $ac_R_nospace = yes; then
32030 echo "$as_me:$LINENO: result: no" >&5
32031 echo "${ECHO_T}no" >&6
32032 X_LIBS
="$X_LIBS -R$x_libraries"
32034 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32035 cat >conftest.
$ac_ext <<_ACEOF
32038 cat confdefs.h
>>conftest.
$ac_ext
32039 cat >>conftest.
$ac_ext <<_ACEOF
32040 /* end confdefs.h. */
32050 rm -f conftest.
$ac_objext conftest
$ac_exeext
32051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32052 (eval $ac_link) 2>conftest.er1
32054 grep -v '^ *+' conftest.er1
>conftest.err
32056 cat conftest.err
>&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); } &&
32059 { ac_try
='test -z "$ac_c_werror_flag"
32060 || test ! -s conftest.err'
32061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32062 (eval $ac_try) 2>&5
32064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32065 (exit $ac_status); }; } &&
32066 { ac_try
='test -s conftest$ac_exeext'
32067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32068 (eval $ac_try) 2>&5
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); }; }; then
32074 echo "$as_me: failed program was:" >&5
32075 sed 's/^/| /' conftest.
$ac_ext >&5
32079 rm -f conftest.err conftest.
$ac_objext \
32080 conftest
$ac_exeext conftest.
$ac_ext
32081 if test $ac_R_space = yes; then
32082 echo "$as_me:$LINENO: result: yes" >&5
32083 echo "${ECHO_T}yes" >&6
32084 X_LIBS
="$X_LIBS -R $x_libraries"
32086 echo "$as_me:$LINENO: result: neither works" >&5
32087 echo "${ECHO_T}neither works" >&6
32090 LIBS
=$ac_xsave_LIBS
32094 # Check for system-dependent libraries X programs must link with.
32095 # Do this before checking for the system-independent R6 libraries
32096 # (-lICE), since we may need -lsocket or whatever for X linking.
32098 if test "$ISC" = yes; then
32099 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
32101 # Martyn Johnson says this is needed for Ultrix, if the X
32102 # libraries were built with DECnet support. And Karl Berry says
32103 # the Alpha needs dnet_stub (dnet does not exist).
32104 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
32105 cat >conftest.
$ac_ext <<_ACEOF
32108 cat confdefs.h
>>conftest.
$ac_ext
32109 cat >>conftest.
$ac_ext <<_ACEOF
32110 /* end confdefs.h. */
32112 /* Override any gcc2 internal prototype to avoid an error. */
32116 /* We use char because int might match the return type of a gcc2
32117 builtin and then its argument prototype would still apply. */
32118 char XOpenDisplay ();
32127 rm -f conftest.
$ac_objext conftest
$ac_exeext
32128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32129 (eval $ac_link) 2>conftest.er1
32131 grep -v '^ *+' conftest.er1
>conftest.err
32133 cat conftest.err
>&5
32134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32135 (exit $ac_status); } &&
32136 { ac_try
='test -z "$ac_c_werror_flag"
32137 || test ! -s conftest.err'
32138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32139 (eval $ac_try) 2>&5
32141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32142 (exit $ac_status); }; } &&
32143 { ac_try
='test -s conftest$ac_exeext'
32144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32145 (eval $ac_try) 2>&5
32147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32148 (exit $ac_status); }; }; then
32151 echo "$as_me: failed program was:" >&5
32152 sed 's/^/| /' conftest.
$ac_ext >&5
32154 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32155 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
32156 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32157 echo $ECHO_N "(cached) $ECHO_C" >&6
32159 ac_check_lib_save_LIBS
=$LIBS
32160 LIBS
="-ldnet $LIBS"
32161 cat >conftest.
$ac_ext <<_ACEOF
32164 cat confdefs.h
>>conftest.
$ac_ext
32165 cat >>conftest.
$ac_ext <<_ACEOF
32166 /* end confdefs.h. */
32168 /* Override any gcc2 internal prototype to avoid an error. */
32172 /* We use char because int might match the return type of a gcc2
32173 builtin and then its argument prototype would still apply. */
32183 rm -f conftest.
$ac_objext conftest
$ac_exeext
32184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32185 (eval $ac_link) 2>conftest.er1
32187 grep -v '^ *+' conftest.er1
>conftest.err
32189 cat conftest.err
>&5
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); } &&
32192 { ac_try
='test -z "$ac_c_werror_flag"
32193 || test ! -s conftest.err'
32194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32195 (eval $ac_try) 2>&5
32197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32198 (exit $ac_status); }; } &&
32199 { ac_try
='test -s conftest$ac_exeext'
32200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32201 (eval $ac_try) 2>&5
32203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32204 (exit $ac_status); }; }; then
32205 ac_cv_lib_dnet_dnet_ntoa
=yes
32207 echo "$as_me: failed program was:" >&5
32208 sed 's/^/| /' conftest.
$ac_ext >&5
32210 ac_cv_lib_dnet_dnet_ntoa
=no
32212 rm -f conftest.err conftest.
$ac_objext \
32213 conftest
$ac_exeext conftest.
$ac_ext
32214 LIBS
=$ac_check_lib_save_LIBS
32216 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32217 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
32218 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32219 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
32222 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
32223 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32224 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
32225 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32226 echo $ECHO_N "(cached) $ECHO_C" >&6
32228 ac_check_lib_save_LIBS
=$LIBS
32229 LIBS
="-ldnet_stub $LIBS"
32230 cat >conftest.
$ac_ext <<_ACEOF
32233 cat confdefs.h
>>conftest.
$ac_ext
32234 cat >>conftest.
$ac_ext <<_ACEOF
32235 /* end confdefs.h. */
32237 /* Override any gcc2 internal prototype to avoid an error. */
32241 /* We use char because int might match the return type of a gcc2
32242 builtin and then its argument prototype would still apply. */
32252 rm -f conftest.
$ac_objext conftest
$ac_exeext
32253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32254 (eval $ac_link) 2>conftest.er1
32256 grep -v '^ *+' conftest.er1
>conftest.err
32258 cat conftest.err
>&5
32259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32260 (exit $ac_status); } &&
32261 { ac_try
='test -z "$ac_c_werror_flag"
32262 || test ! -s conftest.err'
32263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32264 (eval $ac_try) 2>&5
32266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32267 (exit $ac_status); }; } &&
32268 { ac_try
='test -s conftest$ac_exeext'
32269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32270 (eval $ac_try) 2>&5
32272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32273 (exit $ac_status); }; }; then
32274 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32276 echo "$as_me: failed program was:" >&5
32277 sed 's/^/| /' conftest.
$ac_ext >&5
32279 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32281 rm -f conftest.err conftest.
$ac_objext \
32282 conftest
$ac_exeext conftest.
$ac_ext
32283 LIBS
=$ac_check_lib_save_LIBS
32285 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32286 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
32287 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32288 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32293 rm -f conftest.err conftest.
$ac_objext \
32294 conftest
$ac_exeext conftest.
$ac_ext
32295 LIBS
="$ac_xsave_LIBS"
32297 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32298 # to get the SysV transport functions.
32299 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32301 # The nsl library prevents programs from opening the X display
32302 # on Irix 5.2, according to T.E. Dickey.
32303 # The functions gethostbyname, getservbyname, and inet_addr are
32304 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32305 echo "$as_me:$LINENO: checking for gethostbyname" >&5
32306 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
32307 if test "${ac_cv_func_gethostbyname+set}" = set; then
32308 echo $ECHO_N "(cached) $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. */
32316 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32318 #define gethostbyname innocuous_gethostbyname
32320 /* System header to define __stub macros and hopefully few prototypes,
32321 which can conflict with char gethostbyname (); below.
32322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32323 <limits.h> exists even on freestanding compilers. */
32326 # include <limits.h>
32328 # include <assert.h>
32331 #undef gethostbyname
32333 /* Override any gcc2 internal prototype to avoid an error. */
32338 /* We use char because int might match the return type of a gcc2
32339 builtin and then its argument prototype would still apply. */
32340 char gethostbyname ();
32341 /* The GNU C library defines this for functions which it implements
32342 to always fail with ENOSYS. Some functions are actually named
32343 something starting with __ and the normal name is an alias. */
32344 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
32347 char (*f) () = gethostbyname;
32356 return f != gethostbyname;
32361 rm -f conftest.
$ac_objext conftest
$ac_exeext
32362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32363 (eval $ac_link) 2>conftest.er1
32365 grep -v '^ *+' conftest.er1
>conftest.err
32367 cat conftest.err
>&5
32368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32369 (exit $ac_status); } &&
32370 { ac_try
='test -z "$ac_c_werror_flag"
32371 || test ! -s conftest.err'
32372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32373 (eval $ac_try) 2>&5
32375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376 (exit $ac_status); }; } &&
32377 { ac_try
='test -s conftest$ac_exeext'
32378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32379 (eval $ac_try) 2>&5
32381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32382 (exit $ac_status); }; }; then
32383 ac_cv_func_gethostbyname
=yes
32385 echo "$as_me: failed program was:" >&5
32386 sed 's/^/| /' conftest.
$ac_ext >&5
32388 ac_cv_func_gethostbyname
=no
32390 rm -f conftest.err conftest.
$ac_objext \
32391 conftest
$ac_exeext conftest.
$ac_ext
32393 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32394 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
32396 if test $ac_cv_func_gethostbyname = no
; then
32397 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32398 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
32399 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32400 echo $ECHO_N "(cached) $ECHO_C" >&6
32402 ac_check_lib_save_LIBS
=$LIBS
32404 cat >conftest.
$ac_ext <<_ACEOF
32407 cat confdefs.h
>>conftest.
$ac_ext
32408 cat >>conftest.
$ac_ext <<_ACEOF
32409 /* end confdefs.h. */
32411 /* Override any gcc2 internal prototype to avoid an error. */
32415 /* We use char because int might match the return type of a gcc2
32416 builtin and then its argument prototype would still apply. */
32417 char gethostbyname ();
32426 rm -f conftest.
$ac_objext conftest
$ac_exeext
32427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32428 (eval $ac_link) 2>conftest.er1
32430 grep -v '^ *+' conftest.er1
>conftest.err
32432 cat conftest.err
>&5
32433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32434 (exit $ac_status); } &&
32435 { ac_try
='test -z "$ac_c_werror_flag"
32436 || test ! -s conftest.err'
32437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32438 (eval $ac_try) 2>&5
32440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32441 (exit $ac_status); }; } &&
32442 { ac_try
='test -s conftest$ac_exeext'
32443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32444 (eval $ac_try) 2>&5
32446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32447 (exit $ac_status); }; }; then
32448 ac_cv_lib_nsl_gethostbyname
=yes
32450 echo "$as_me: failed program was:" >&5
32451 sed 's/^/| /' conftest.
$ac_ext >&5
32453 ac_cv_lib_nsl_gethostbyname
=no
32455 rm -f conftest.err conftest.
$ac_objext \
32456 conftest
$ac_exeext conftest.
$ac_ext
32457 LIBS
=$ac_check_lib_save_LIBS
32459 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32460 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
32461 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32462 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
32465 if test $ac_cv_lib_nsl_gethostbyname = no
; then
32466 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32467 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
32468 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32469 echo $ECHO_N "(cached) $ECHO_C" >&6
32471 ac_check_lib_save_LIBS
=$LIBS
32473 cat >conftest.
$ac_ext <<_ACEOF
32476 cat confdefs.h
>>conftest.
$ac_ext
32477 cat >>conftest.
$ac_ext <<_ACEOF
32478 /* end confdefs.h. */
32480 /* Override any gcc2 internal prototype to avoid an error. */
32484 /* We use char because int might match the return type of a gcc2
32485 builtin and then its argument prototype would still apply. */
32486 char gethostbyname ();
32495 rm -f conftest.
$ac_objext conftest
$ac_exeext
32496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32497 (eval $ac_link) 2>conftest.er1
32499 grep -v '^ *+' conftest.er1
>conftest.err
32501 cat conftest.err
>&5
32502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32503 (exit $ac_status); } &&
32504 { ac_try
='test -z "$ac_c_werror_flag"
32505 || test ! -s conftest.err'
32506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32507 (eval $ac_try) 2>&5
32509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32510 (exit $ac_status); }; } &&
32511 { ac_try
='test -s conftest$ac_exeext'
32512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32513 (eval $ac_try) 2>&5
32515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32516 (exit $ac_status); }; }; then
32517 ac_cv_lib_bsd_gethostbyname
=yes
32519 echo "$as_me: failed program was:" >&5
32520 sed 's/^/| /' conftest.
$ac_ext >&5
32522 ac_cv_lib_bsd_gethostbyname
=no
32524 rm -f conftest.err conftest.
$ac_objext \
32525 conftest
$ac_exeext conftest.
$ac_ext
32526 LIBS
=$ac_check_lib_save_LIBS
32528 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32529 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
32530 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32531 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
32537 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32538 # socket/setsockopt and other routines are undefined under SCO ODT
32539 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32540 # on later versions), says Simon Leinen: it contains gethostby*
32541 # variants that don't use the name server (or something). -lsocket
32542 # must be given before -lnsl if both are needed. We assume that
32543 # if connect needs -lnsl, so does gethostbyname.
32544 echo "$as_me:$LINENO: checking for connect" >&5
32545 echo $ECHO_N "checking for connect... $ECHO_C" >&6
32546 if test "${ac_cv_func_connect+set}" = set; then
32547 echo $ECHO_N "(cached) $ECHO_C" >&6
32549 cat >conftest.
$ac_ext <<_ACEOF
32552 cat confdefs.h
>>conftest.
$ac_ext
32553 cat >>conftest.
$ac_ext <<_ACEOF
32554 /* end confdefs.h. */
32555 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32557 #define connect innocuous_connect
32559 /* System header to define __stub macros and hopefully few prototypes,
32560 which can conflict with char connect (); below.
32561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32562 <limits.h> exists even on freestanding compilers. */
32565 # include <limits.h>
32567 # include <assert.h>
32572 /* Override any gcc2 internal prototype to avoid an error. */
32577 /* We use char because int might match the return type of a gcc2
32578 builtin and then its argument prototype would still apply. */
32580 /* The GNU C library defines this for functions which it implements
32581 to always fail with ENOSYS. Some functions are actually named
32582 something starting with __ and the normal name is an alias. */
32583 #if defined (__stub_connect) || defined (__stub___connect)
32586 char (*f) () = connect;
32595 return f != connect;
32600 rm -f conftest.
$ac_objext conftest
$ac_exeext
32601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32602 (eval $ac_link) 2>conftest.er1
32604 grep -v '^ *+' conftest.er1
>conftest.err
32606 cat conftest.err
>&5
32607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32608 (exit $ac_status); } &&
32609 { ac_try
='test -z "$ac_c_werror_flag"
32610 || test ! -s conftest.err'
32611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32612 (eval $ac_try) 2>&5
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); }; } &&
32616 { ac_try
='test -s conftest$ac_exeext'
32617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32618 (eval $ac_try) 2>&5
32620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32621 (exit $ac_status); }; }; then
32622 ac_cv_func_connect
=yes
32624 echo "$as_me: failed program was:" >&5
32625 sed 's/^/| /' conftest.
$ac_ext >&5
32627 ac_cv_func_connect
=no
32629 rm -f conftest.err conftest.
$ac_objext \
32630 conftest
$ac_exeext conftest.
$ac_ext
32632 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32633 echo "${ECHO_T}$ac_cv_func_connect" >&6
32635 if test $ac_cv_func_connect = no
; then
32636 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32637 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
32638 if test "${ac_cv_lib_socket_connect+set}" = set; then
32639 echo $ECHO_N "(cached) $ECHO_C" >&6
32641 ac_check_lib_save_LIBS
=$LIBS
32642 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
32643 cat >conftest.
$ac_ext <<_ACEOF
32646 cat confdefs.h
>>conftest.
$ac_ext
32647 cat >>conftest.
$ac_ext <<_ACEOF
32648 /* end confdefs.h. */
32650 /* Override any gcc2 internal prototype to avoid an error. */
32654 /* We use char because int might match the return type of a gcc2
32655 builtin and then its argument prototype would still apply. */
32665 rm -f conftest.
$ac_objext conftest
$ac_exeext
32666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32667 (eval $ac_link) 2>conftest.er1
32669 grep -v '^ *+' conftest.er1
>conftest.err
32671 cat conftest.err
>&5
32672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673 (exit $ac_status); } &&
32674 { ac_try
='test -z "$ac_c_werror_flag"
32675 || test ! -s conftest.err'
32676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32677 (eval $ac_try) 2>&5
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); }; } &&
32681 { ac_try
='test -s conftest$ac_exeext'
32682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32683 (eval $ac_try) 2>&5
32685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686 (exit $ac_status); }; }; then
32687 ac_cv_lib_socket_connect
=yes
32689 echo "$as_me: failed program was:" >&5
32690 sed 's/^/| /' conftest.
$ac_ext >&5
32692 ac_cv_lib_socket_connect
=no
32694 rm -f conftest.err conftest.
$ac_objext \
32695 conftest
$ac_exeext conftest.
$ac_ext
32696 LIBS
=$ac_check_lib_save_LIBS
32698 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32699 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
32700 if test $ac_cv_lib_socket_connect = yes; then
32701 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
32706 # Guillermo Gomez says -lposix is necessary on A/UX.
32707 echo "$as_me:$LINENO: checking for remove" >&5
32708 echo $ECHO_N "checking for remove... $ECHO_C" >&6
32709 if test "${ac_cv_func_remove+set}" = set; then
32710 echo $ECHO_N "(cached) $ECHO_C" >&6
32712 cat >conftest.
$ac_ext <<_ACEOF
32715 cat confdefs.h
>>conftest.
$ac_ext
32716 cat >>conftest.
$ac_ext <<_ACEOF
32717 /* end confdefs.h. */
32718 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32720 #define remove innocuous_remove
32722 /* System header to define __stub macros and hopefully few prototypes,
32723 which can conflict with char remove (); below.
32724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32725 <limits.h> exists even on freestanding compilers. */
32728 # include <limits.h>
32730 # include <assert.h>
32735 /* Override any gcc2 internal prototype to avoid an error. */
32740 /* We use char because int might match the return type of a gcc2
32741 builtin and then its argument prototype would still apply. */
32743 /* The GNU C library defines this for functions which it implements
32744 to always fail with ENOSYS. Some functions are actually named
32745 something starting with __ and the normal name is an alias. */
32746 #if defined (__stub_remove) || defined (__stub___remove)
32749 char (*f) () = remove;
32758 return f != remove;
32763 rm -f conftest.
$ac_objext conftest
$ac_exeext
32764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32765 (eval $ac_link) 2>conftest.er1
32767 grep -v '^ *+' conftest.er1
>conftest.err
32769 cat conftest.err
>&5
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); } &&
32772 { ac_try
='test -z "$ac_c_werror_flag"
32773 || test ! -s conftest.err'
32774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32775 (eval $ac_try) 2>&5
32777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32778 (exit $ac_status); }; } &&
32779 { ac_try
='test -s conftest$ac_exeext'
32780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32781 (eval $ac_try) 2>&5
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); }; }; then
32785 ac_cv_func_remove
=yes
32787 echo "$as_me: failed program was:" >&5
32788 sed 's/^/| /' conftest.
$ac_ext >&5
32790 ac_cv_func_remove
=no
32792 rm -f conftest.err conftest.
$ac_objext \
32793 conftest
$ac_exeext conftest.
$ac_ext
32795 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32796 echo "${ECHO_T}$ac_cv_func_remove" >&6
32798 if test $ac_cv_func_remove = no
; then
32799 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32800 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
32801 if test "${ac_cv_lib_posix_remove+set}" = set; then
32802 echo $ECHO_N "(cached) $ECHO_C" >&6
32804 ac_check_lib_save_LIBS
=$LIBS
32805 LIBS
="-lposix $LIBS"
32806 cat >conftest.
$ac_ext <<_ACEOF
32809 cat confdefs.h
>>conftest.
$ac_ext
32810 cat >>conftest.
$ac_ext <<_ACEOF
32811 /* end confdefs.h. */
32813 /* Override any gcc2 internal prototype to avoid an error. */
32817 /* We use char because int might match the return type of a gcc2
32818 builtin and then its argument prototype would still apply. */
32828 rm -f conftest.
$ac_objext conftest
$ac_exeext
32829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32830 (eval $ac_link) 2>conftest.er1
32832 grep -v '^ *+' conftest.er1
>conftest.err
32834 cat conftest.err
>&5
32835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32836 (exit $ac_status); } &&
32837 { ac_try
='test -z "$ac_c_werror_flag"
32838 || test ! -s conftest.err'
32839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32840 (eval $ac_try) 2>&5
32842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32843 (exit $ac_status); }; } &&
32844 { ac_try
='test -s conftest$ac_exeext'
32845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32846 (eval $ac_try) 2>&5
32848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32849 (exit $ac_status); }; }; then
32850 ac_cv_lib_posix_remove
=yes
32852 echo "$as_me: failed program was:" >&5
32853 sed 's/^/| /' conftest.
$ac_ext >&5
32855 ac_cv_lib_posix_remove
=no
32857 rm -f conftest.err conftest.
$ac_objext \
32858 conftest
$ac_exeext conftest.
$ac_ext
32859 LIBS
=$ac_check_lib_save_LIBS
32861 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32862 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
32863 if test $ac_cv_lib_posix_remove = yes; then
32864 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
32869 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32870 echo "$as_me:$LINENO: checking for shmat" >&5
32871 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
32872 if test "${ac_cv_func_shmat+set}" = set; then
32873 echo $ECHO_N "(cached) $ECHO_C" >&6
32875 cat >conftest.
$ac_ext <<_ACEOF
32878 cat confdefs.h
>>conftest.
$ac_ext
32879 cat >>conftest.
$ac_ext <<_ACEOF
32880 /* end confdefs.h. */
32881 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32883 #define shmat innocuous_shmat
32885 /* System header to define __stub macros and hopefully few prototypes,
32886 which can conflict with char shmat (); below.
32887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32888 <limits.h> exists even on freestanding compilers. */
32891 # include <limits.h>
32893 # include <assert.h>
32898 /* Override any gcc2 internal prototype to avoid an error. */
32903 /* We use char because int might match the return type of a gcc2
32904 builtin and then its argument prototype would still apply. */
32906 /* The GNU C library defines this for functions which it implements
32907 to always fail with ENOSYS. Some functions are actually named
32908 something starting with __ and the normal name is an alias. */
32909 #if defined (__stub_shmat) || defined (__stub___shmat)
32912 char (*f) () = shmat;
32926 rm -f conftest.
$ac_objext conftest
$ac_exeext
32927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32928 (eval $ac_link) 2>conftest.er1
32930 grep -v '^ *+' conftest.er1
>conftest.err
32932 cat conftest.err
>&5
32933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32934 (exit $ac_status); } &&
32935 { ac_try
='test -z "$ac_c_werror_flag"
32936 || test ! -s conftest.err'
32937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32938 (eval $ac_try) 2>&5
32940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941 (exit $ac_status); }; } &&
32942 { ac_try
='test -s conftest$ac_exeext'
32943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32944 (eval $ac_try) 2>&5
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); }; }; then
32948 ac_cv_func_shmat
=yes
32950 echo "$as_me: failed program was:" >&5
32951 sed 's/^/| /' conftest.
$ac_ext >&5
32953 ac_cv_func_shmat
=no
32955 rm -f conftest.err conftest.
$ac_objext \
32956 conftest
$ac_exeext conftest.
$ac_ext
32958 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32959 echo "${ECHO_T}$ac_cv_func_shmat" >&6
32961 if test $ac_cv_func_shmat = no
; then
32962 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32963 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
32964 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32965 echo $ECHO_N "(cached) $ECHO_C" >&6
32967 ac_check_lib_save_LIBS
=$LIBS
32969 cat >conftest.
$ac_ext <<_ACEOF
32972 cat confdefs.h
>>conftest.
$ac_ext
32973 cat >>conftest.
$ac_ext <<_ACEOF
32974 /* end confdefs.h. */
32976 /* Override any gcc2 internal prototype to avoid an error. */
32980 /* We use char because int might match the return type of a gcc2
32981 builtin and then its argument prototype would still apply. */
32991 rm -f conftest.
$ac_objext conftest
$ac_exeext
32992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32993 (eval $ac_link) 2>conftest.er1
32995 grep -v '^ *+' conftest.er1
>conftest.err
32997 cat conftest.err
>&5
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); } &&
33000 { ac_try
='test -z "$ac_c_werror_flag"
33001 || test ! -s conftest.err'
33002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33003 (eval $ac_try) 2>&5
33005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006 (exit $ac_status); }; } &&
33007 { ac_try
='test -s conftest$ac_exeext'
33008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33009 (eval $ac_try) 2>&5
33011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33012 (exit $ac_status); }; }; then
33013 ac_cv_lib_ipc_shmat
=yes
33015 echo "$as_me: failed program was:" >&5
33016 sed 's/^/| /' conftest.
$ac_ext >&5
33018 ac_cv_lib_ipc_shmat
=no
33020 rm -f conftest.err conftest.
$ac_objext \
33021 conftest
$ac_exeext conftest.
$ac_ext
33022 LIBS
=$ac_check_lib_save_LIBS
33024 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33025 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
33026 if test $ac_cv_lib_ipc_shmat = yes; then
33027 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
33033 # Check for libraries that X11R6 Xt/Xaw programs need.
33034 ac_save_LDFLAGS
=$LDFLAGS
33035 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
33036 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33037 # check for ICE first), but we must link in the order -lSM -lICE or
33038 # we get undefined symbols. So assume we have SM if we have ICE.
33039 # These have to be linked with before -lX11, unlike the other
33040 # libraries we check for below, so use a different variable.
33041 # John Interrante, Karl Berry
33042 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33043 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
33044 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33045 echo $ECHO_N "(cached) $ECHO_C" >&6
33047 ac_check_lib_save_LIBS
=$LIBS
33048 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
33049 cat >conftest.
$ac_ext <<_ACEOF
33052 cat confdefs.h
>>conftest.
$ac_ext
33053 cat >>conftest.
$ac_ext <<_ACEOF
33054 /* end confdefs.h. */
33056 /* Override any gcc2 internal prototype to avoid an error. */
33060 /* We use char because int might match the return type of a gcc2
33061 builtin and then its argument prototype would still apply. */
33062 char IceConnectionNumber ();
33066 IceConnectionNumber ();
33071 rm -f conftest.
$ac_objext conftest
$ac_exeext
33072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33073 (eval $ac_link) 2>conftest.er1
33075 grep -v '^ *+' conftest.er1
>conftest.err
33077 cat conftest.err
>&5
33078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33079 (exit $ac_status); } &&
33080 { ac_try
='test -z "$ac_c_werror_flag"
33081 || test ! -s conftest.err'
33082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33083 (eval $ac_try) 2>&5
33085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33086 (exit $ac_status); }; } &&
33087 { ac_try
='test -s conftest$ac_exeext'
33088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33089 (eval $ac_try) 2>&5
33091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33092 (exit $ac_status); }; }; then
33093 ac_cv_lib_ICE_IceConnectionNumber
=yes
33095 echo "$as_me: failed program was:" >&5
33096 sed 's/^/| /' conftest.
$ac_ext >&5
33098 ac_cv_lib_ICE_IceConnectionNumber
=no
33100 rm -f conftest.err conftest.
$ac_objext \
33101 conftest
$ac_exeext conftest.
$ac_ext
33102 LIBS
=$ac_check_lib_save_LIBS
33104 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33105 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
33106 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33107 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33110 LDFLAGS
=$ac_save_LDFLAGS
33115 if test "$no_x" = "yes"; then
33116 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33117 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33118 { (exit 1); exit 1; }; }
33121 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33122 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33123 AFMINSTALL
=afminstall
33124 COMPILED_X_PROGRAM
=0
33128 if test "$wxUSE_X11" = 1; then
33129 if test "$wxUSE_NANOX" = "yes"; then
33130 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33131 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
33132 if test "x$MICROWIN" = x
; then
33133 echo "$as_me:$LINENO: result: not found" >&5
33134 echo "${ECHO_T}not found" >&6
33135 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33136 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33137 { (exit 1); exit 1; }; }
33139 echo "$as_me:$LINENO: result: $MICROWIN" >&5
33140 echo "${ECHO_T}$MICROWIN" >&6
33141 cat >>confdefs.h
<<\_ACEOF
33142 #define wxUSE_NANOX 1
33148 if test "$wxUSE_UNICODE" = "yes"; then
33151 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33152 if test -n "$ac_tool_prefix"; then
33153 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33154 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33155 echo "$as_me:$LINENO: checking for $ac_word" >&5
33156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33157 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33158 echo $ECHO_N "(cached) $ECHO_C" >&6
33160 case $PKG_CONFIG in
33162 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33166 for as_dir
in $PATH
33169 test -z "$as_dir" && as_dir
=.
33170 for ac_exec_ext
in '' $ac_executable_extensions; do
33171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33172 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33182 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33184 if test -n "$PKG_CONFIG"; then
33185 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33186 echo "${ECHO_T}$PKG_CONFIG" >&6
33188 echo "$as_me:$LINENO: result: no" >&5
33189 echo "${ECHO_T}no" >&6
33193 if test -z "$ac_cv_path_PKG_CONFIG"; then
33194 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33195 # Extract the first word of "pkg-config", so it can be a program name with args.
33196 set dummy pkg
-config; ac_word
=$2
33197 echo "$as_me:$LINENO: checking for $ac_word" >&5
33198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33199 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33200 echo $ECHO_N "(cached) $ECHO_C" >&6
33202 case $ac_pt_PKG_CONFIG in
33204 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33208 for as_dir
in $PATH
33211 test -z "$as_dir" && as_dir
=.
33212 for ac_exec_ext
in '' $ac_executable_extensions; do
33213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33214 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33224 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33226 if test -n "$ac_pt_PKG_CONFIG"; then
33227 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33228 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
33230 echo "$as_me:$LINENO: result: no" >&5
33231 echo "${ECHO_T}no" >&6
33234 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33236 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33240 if test -n "$PKG_CONFIG"; then
33241 _pkg_min_version
=0.9.0
33242 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33243 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
33244 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33245 echo "$as_me:$LINENO: result: yes" >&5
33246 echo "${ECHO_T}yes" >&6
33248 echo "$as_me:$LINENO: result: no" >&5
33249 echo "${ECHO_T}no" >&6
33257 echo "$as_me:$LINENO: checking for PANGOX" >&5
33258 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
33260 if test -n "$PKG_CONFIG"; then
33261 if test -n "$PANGOX_CFLAGS"; then
33262 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33264 if test -n "$PKG_CONFIG" && \
33265 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33266 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33269 (exit $ac_status); }; then
33270 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33278 if test -n "$PKG_CONFIG"; then
33279 if test -n "$PANGOX_LIBS"; then
33280 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33282 if test -n "$PKG_CONFIG" && \
33283 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33284 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33287 (exit $ac_status); }; then
33288 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33299 if test $pkg_failed = yes; then
33301 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33302 _pkg_short_errors_supported
=yes
33304 _pkg_short_errors_supported
=no
33306 if test $_pkg_short_errors_supported = yes; then
33307 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33309 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33311 # Put the nasty error message in config.log where it belongs
33312 echo "$PANGOX_PKG_ERRORS" >&5
33315 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33316 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33317 { (exit 1); exit 1; }; }
33320 elif test $pkg_failed = untried
; then
33322 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33323 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33324 { (exit 1); exit 1; }; }
33328 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33329 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33330 echo "$as_me:$LINENO: result: yes" >&5
33331 echo "${ECHO_T}yes" >&6
33333 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33334 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33335 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33340 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33341 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
33343 if test -n "$PKG_CONFIG"; then
33344 if test -n "$PANGOFT2_CFLAGS"; then
33345 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33347 if test -n "$PKG_CONFIG" && \
33348 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33349 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352 (exit $ac_status); }; then
33353 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33361 if test -n "$PKG_CONFIG"; then
33362 if test -n "$PANGOFT2_LIBS"; then
33363 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33365 if test -n "$PKG_CONFIG" && \
33366 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33367 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 (exit $ac_status); }; then
33371 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33382 if test $pkg_failed = yes; then
33384 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33385 _pkg_short_errors_supported
=yes
33387 _pkg_short_errors_supported
=no
33389 if test $_pkg_short_errors_supported = yes; then
33390 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33392 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33394 # Put the nasty error message in config.log where it belongs
33395 echo "$PANGOFT2_PKG_ERRORS" >&5
33398 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33399 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33400 wxUSE_PRINTING_ARCHITECTURE
="no"
33403 elif test $pkg_failed = untried
; then
33405 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33406 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33407 wxUSE_PRINTING_ARCHITECTURE
="no"
33411 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
33412 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
33413 echo "$as_me:$LINENO: result: yes" >&5
33414 echo "${ECHO_T}yes" >&6
33416 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
33417 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
33418 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33423 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33424 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
33426 if test -n "$PKG_CONFIG"; then
33427 if test -n "$PANGOXFT_CFLAGS"; then
33428 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
33430 if test -n "$PKG_CONFIG" && \
33431 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33432 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33435 (exit $ac_status); }; then
33436 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33444 if test -n "$PKG_CONFIG"; then
33445 if test -n "$PANGOXFT_LIBS"; then
33446 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
33448 if test -n "$PKG_CONFIG" && \
33449 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33450 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); }; then
33454 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33465 if test $pkg_failed = yes; then
33467 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33468 _pkg_short_errors_supported
=yes
33470 _pkg_short_errors_supported
=no
33472 if test $_pkg_short_errors_supported = yes; then
33473 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33475 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33477 # Put the nasty error message in config.log where it belongs
33478 echo "$PANGOXFT_PKG_ERRORS" >&5
33481 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33482 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33485 elif test $pkg_failed = untried
; then
33487 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33488 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33492 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
33493 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
33494 echo "$as_me:$LINENO: result: yes" >&5
33495 echo "${ECHO_T}yes" >&6
33497 cat >>confdefs.h
<<\_ACEOF
33498 #define HAVE_PANGO_XFT 1
33501 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
33502 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
33503 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33507 LIBS
="$LIBS $PANGOX_LIBS"
33509 for ac_func
in pango_font_family_is_monospace
33511 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33512 echo "$as_me:$LINENO: checking for $ac_func" >&5
33513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33514 if eval "test \"\${$as_ac_var+set}\" = set"; then
33515 echo $ECHO_N "(cached) $ECHO_C" >&6
33517 cat >conftest.
$ac_ext <<_ACEOF
33520 cat confdefs.h
>>conftest.
$ac_ext
33521 cat >>conftest.
$ac_ext <<_ACEOF
33522 /* end confdefs.h. */
33523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33525 #define $ac_func innocuous_$ac_func
33527 /* System header to define __stub macros and hopefully few prototypes,
33528 which can conflict with char $ac_func (); below.
33529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33530 <limits.h> exists even on freestanding compilers. */
33533 # include <limits.h>
33535 # include <assert.h>
33540 /* Override any gcc2 internal prototype to avoid an error. */
33545 /* We use char because int might match the return type of a gcc2
33546 builtin and then its argument prototype would still apply. */
33548 /* The GNU C library defines this for functions which it implements
33549 to always fail with ENOSYS. Some functions are actually named
33550 something starting with __ and the normal name is an alias. */
33551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33554 char (*f) () = $ac_func;
33563 return f != $ac_func;
33568 rm -f conftest.
$ac_objext conftest
$ac_exeext
33569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33570 (eval $ac_link) 2>conftest.er1
33572 grep -v '^ *+' conftest.er1
>conftest.err
33574 cat conftest.err
>&5
33575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33576 (exit $ac_status); } &&
33577 { ac_try
='test -z "$ac_c_werror_flag"
33578 || 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_exeext'
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 eval "$as_ac_var=yes"
33592 echo "$as_me: failed program was:" >&5
33593 sed 's/^/| /' conftest.
$ac_ext >&5
33595 eval "$as_ac_var=no"
33597 rm -f conftest.err conftest.
$ac_objext \
33598 conftest
$ac_exeext conftest.
$ac_ext
33600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33602 if test `eval echo '${'$as_ac_var'}'` = yes; then
33603 cat >>confdefs.h
<<_ACEOF
33604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33613 wxUSE_UNIVERSAL
="yes"
33615 if test "$wxUSE_NANOX" = "yes"; then
33616 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33617 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"
33618 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33620 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
33627 if test "$wxUSE_MOTIF" = 1; then
33628 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33629 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
33632 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
33634 if test -f "$ac_dir/Xm/Xm.h"; then
33635 ac_find_includes
=$ac_dir
33640 if test "$ac_find_includes" != "" ; then
33641 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33642 echo "${ECHO_T}found in $ac_find_includes" >&6
33644 if test "x$ac_find_includes" = "x/usr/include"; then
33645 ac_path_to_include
=""
33647 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
33649 if test $result = 0; then
33650 ac_path_to_include
=""
33652 ac_path_to_include
=" -I$ac_find_includes"
33656 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
33658 save_CFLAGS
=$CFLAGS
33659 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33661 cat >conftest.
$ac_ext <<_ACEOF
33664 cat confdefs.h
>>conftest.
$ac_ext
33665 cat >>conftest.
$ac_ext <<_ACEOF
33666 /* end confdefs.h. */
33675 version = xmUseVersion;
33681 rm -f conftest.
$ac_objext
33682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33683 (eval $ac_compile) 2>conftest.er1
33685 grep -v '^ *+' conftest.er1
>conftest.err
33687 cat conftest.err
>&5
33688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33689 (exit $ac_status); } &&
33690 { ac_try
='test -z "$ac_c_werror_flag"
33691 || test ! -s conftest.err'
33692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33693 (eval $ac_try) 2>&5
33695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33696 (exit $ac_status); }; } &&
33697 { ac_try
='test -s conftest.$ac_objext'
33698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33699 (eval $ac_try) 2>&5
33701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33702 (exit $ac_status); }; }; then
33704 echo "$as_me:$LINENO: result: found in default search path" >&5
33705 echo "${ECHO_T}found in default search path" >&6
33706 COMPILED_X_PROGRAM
=1
33709 echo "$as_me: failed program was:" >&5
33710 sed 's/^/| /' conftest.
$ac_ext >&5
33713 echo "$as_me:$LINENO: result: no" >&5
33714 echo "${ECHO_T}no" >&6
33715 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33716 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33717 { (exit 1); exit 1; }; }
33721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33723 CFLAGS
=$save_CFLAGS
33727 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33728 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
33731 for ac_dir
in $SEARCH_LIB;
33733 for ac_extension
in a so sl dylib dll.a
; do
33734 if test -f "$ac_dir/libXm.$ac_extension"; then
33735 ac_find_libraries
=$ac_dir
33742 if test "x$ac_find_libraries" != "x" ; then
33743 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33744 echo "${ECHO_T}found in $ac_find_libraries" >&6
33747 if test "$ac_find_libraries" = "default location"; then
33750 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33752 if test $result = 0; then
33755 ac_path_to_link
=" -L$ac_find_libraries"
33759 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33761 save_CFLAGS
=$CFLAGS
33762 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33764 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33766 cat >conftest.
$ac_ext <<_ACEOF
33769 cat confdefs.h
>>conftest.
$ac_ext
33770 cat >>conftest.
$ac_ext <<_ACEOF
33771 /* end confdefs.h. */
33780 version = xmUseVersion;
33786 rm -f conftest.
$ac_objext conftest
$ac_exeext
33787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33788 (eval $ac_link) 2>conftest.er1
33790 grep -v '^ *+' conftest.er1
>conftest.err
33792 cat conftest.err
>&5
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); } &&
33795 { ac_try
='test -z "$ac_c_werror_flag"
33796 || test ! -s conftest.err'
33797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33798 (eval $ac_try) 2>&5
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); }; } &&
33802 { ac_try
='test -s conftest$ac_exeext'
33803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33804 (eval $ac_try) 2>&5
33806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33807 (exit $ac_status); }; }; then
33809 echo "$as_me:$LINENO: result: found in default search path" >&5
33810 echo "${ECHO_T}found in default search path" >&6
33811 COMPILED_X_PROGRAM
=1
33814 echo "$as_me: failed program was:" >&5
33815 sed 's/^/| /' conftest.
$ac_ext >&5
33818 echo "$as_me:$LINENO: result: no" >&5
33819 echo "${ECHO_T}no" >&6
33820 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33821 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33822 { (exit 1); exit 1; }; }
33826 rm -f conftest.err conftest.
$ac_objext \
33827 conftest
$ac_exeext conftest.
$ac_ext
33829 CFLAGS
=$save_CFLAGS
33833 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33834 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
33838 for libp
in "" " -lXp"; do
33839 if test "$libs_found" = "0"; then
33840 for libsm_ice
in "" " -lSM -lICE"; do
33841 if test "$libs_found" = "0"; then
33843 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33844 save_CFLAGS
=$CFLAGS
33845 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33847 cat >conftest.
$ac_ext <<_ACEOF
33850 cat confdefs.h
>>conftest.
$ac_ext
33851 cat >>conftest.
$ac_ext <<_ACEOF
33852 /* end confdefs.h. */
33855 #include <Xm/List.h>
33861 XmString string = NULL;
33864 XmListAddItem(w, string, position);
33870 rm -f conftest.
$ac_objext conftest
$ac_exeext
33871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33872 (eval $ac_link) 2>conftest.er1
33874 grep -v '^ *+' conftest.er1
>conftest.err
33876 cat conftest.err
>&5
33877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33878 (exit $ac_status); } &&
33879 { ac_try
='test -z "$ac_c_werror_flag"
33880 || test ! -s conftest.err'
33881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33882 (eval $ac_try) 2>&5
33884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33885 (exit $ac_status); }; } &&
33886 { ac_try
='test -s conftest$ac_exeext'
33887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33888 (eval $ac_try) 2>&5
33890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33891 (exit $ac_status); }; }; then
33894 libsm_ice_link
="$libsm_ice"
33895 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33896 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
33900 echo "$as_me: failed program was:" >&5
33901 sed 's/^/| /' conftest.
$ac_ext >&5
33906 rm -f conftest.err conftest.
$ac_objext \
33907 conftest
$ac_exeext conftest.
$ac_ext
33910 CFLAGS
=$save_CFLAGS
33916 if test "$libs_found" = "0"; then
33917 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33918 echo "${ECHO_T}can't find the right libraries" >&6
33919 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33920 echo "$as_me: error: can't link a simple motif program" >&2;}
33921 { (exit 1); exit 1; }; }
33924 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33925 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
33926 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33927 echo $ECHO_N "(cached) $ECHO_C" >&6
33929 ac_check_lib_save_LIBS
=$LIBS
33931 cat >conftest.
$ac_ext <<_ACEOF
33934 cat confdefs.h
>>conftest.
$ac_ext
33935 cat >>conftest.
$ac_ext <<_ACEOF
33936 /* end confdefs.h. */
33938 /* Override any gcc2 internal prototype to avoid an error. */
33942 /* We use char because int might match the return type of a gcc2
33943 builtin and then its argument prototype would still apply. */
33944 char SgCreateList ();
33953 rm -f conftest.
$ac_objext conftest
$ac_exeext
33954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33955 (eval $ac_link) 2>conftest.er1
33957 grep -v '^ *+' conftest.er1
>conftest.err
33959 cat conftest.err
>&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } &&
33962 { ac_try
='test -z "$ac_c_werror_flag"
33963 || test ! -s conftest.err'
33964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33965 (eval $ac_try) 2>&5
33967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33968 (exit $ac_status); }; } &&
33969 { ac_try
='test -s conftest$ac_exeext'
33970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33971 (eval $ac_try) 2>&5
33973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974 (exit $ac_status); }; }; then
33975 ac_cv_lib_Sgm_SgCreateList
=yes
33977 echo "$as_me: failed program was:" >&5
33978 sed 's/^/| /' conftest.
$ac_ext >&5
33980 ac_cv_lib_Sgm_SgCreateList
=no
33982 rm -f conftest.err conftest.
$ac_objext \
33983 conftest
$ac_exeext conftest.
$ac_ext
33984 LIBS
=$ac_check_lib_save_LIBS
33986 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33987 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
33988 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33989 libsgm_link
=" -lSgm"
33993 save_CFLAGS
=$CFLAGS
33994 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33996 echo "$as_me:$LINENO: checking for Motif 2" >&5
33997 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
33998 if test "${wx_cv_lib_motif2+set}" = set; then
33999 echo $ECHO_N "(cached) $ECHO_C" >&6
34001 cat >conftest.
$ac_ext <<_ACEOF
34004 cat confdefs.h
>>conftest.
$ac_ext
34005 cat >>conftest.
$ac_ext <<_ACEOF
34006 /* end confdefs.h. */
34014 #if XmVersion < 2000
34022 rm -f conftest.
$ac_objext
34023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34024 (eval $ac_compile) 2>conftest.er1
34026 grep -v '^ *+' conftest.er1
>conftest.err
34028 cat conftest.err
>&5
34029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34030 (exit $ac_status); } &&
34031 { ac_try
='test -z "$ac_c_werror_flag"
34032 || 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_objext'
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
34044 wx_cv_lib_motif2
="yes"
34046 echo "$as_me: failed program was:" >&5
34047 sed 's/^/| /' conftest.
$ac_ext >&5
34049 wx_cv_lib_motif2
="no"
34051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34053 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34054 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
34055 if test "$wx_cv_lib_motif2" = "yes"; then
34056 cat >>confdefs.h
<<\_ACEOF
34057 #define __WXMOTIF20__ 1
34061 cat >>confdefs.h
<<\_ACEOF
34062 #define __WXMOTIF20__ 0
34067 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34068 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
34069 if test "${wx_cv_lib_lesstif+set}" = set; then
34070 echo $ECHO_N "(cached) $ECHO_C" >&6
34072 cat >conftest.
$ac_ext <<_ACEOF
34075 cat confdefs.h
>>conftest.
$ac_ext
34076 cat >>conftest.
$ac_ext <<_ACEOF
34077 /* end confdefs.h. */
34085 #if !defined(LesstifVersion) || LesstifVersion <= 0
34093 rm -f conftest.
$ac_objext
34094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34095 (eval $ac_compile) 2>conftest.er1
34097 grep -v '^ *+' conftest.er1
>conftest.err
34099 cat conftest.err
>&5
34100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101 (exit $ac_status); } &&
34102 { ac_try
='test -z "$ac_c_werror_flag"
34103 || test ! -s conftest.err'
34104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34105 (eval $ac_try) 2>&5
34107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34108 (exit $ac_status); }; } &&
34109 { ac_try
='test -s conftest.$ac_objext'
34110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34111 (eval $ac_try) 2>&5
34113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34114 (exit $ac_status); }; }; then
34115 wx_cv_lib_lesstif
="yes"
34117 echo "$as_me: failed program was:" >&5
34118 sed 's/^/| /' conftest.
$ac_ext >&5
34120 wx_cv_lib_lesstif
="no"
34122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34125 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34126 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
34127 if test "$wx_cv_lib_lesstif" = "yes"; then
34128 cat >>confdefs.h
<<\_ACEOF
34129 #define __WXLESSTIF__ 1
34133 cat >>confdefs.h
<<\_ACEOF
34134 #define __WXLESSTIF__ 0
34139 CFLAGS
=$save_CFLAGS
34141 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34146 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34147 if test "$wxUSE_LIBXPM" = "sys"; then
34148 echo "$as_me:$LINENO: checking for Xpm library" >&5
34149 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
34152 for ac_dir
in $SEARCH_LIB;
34154 for ac_extension
in a so sl dylib dll.a
; do
34155 if test -f "$ac_dir/libXpm.$ac_extension"; then
34156 ac_find_libraries
=$ac_dir
34162 if test "$ac_find_libraries" != "" ; then
34164 if test "$ac_find_libraries" = "default location"; then
34167 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
34169 if test $result = 0; then
34172 ac_path_to_link
=" -L$ac_find_libraries"
34176 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
34177 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34178 echo "${ECHO_T}found in $ac_find_libraries" >&6
34180 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34181 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
34182 if test "${wx_cv_x11_xpm_h+set}" = set; then
34183 echo $ECHO_N "(cached) $ECHO_C" >&6
34186 save_CFLAGS
=$CFLAGS
34187 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34189 cat >conftest.
$ac_ext <<_ACEOF
34192 cat confdefs.h
>>conftest.
$ac_ext
34193 cat >>conftest.
$ac_ext <<_ACEOF
34194 /* end confdefs.h. */
34196 #include <X11/xpm.h>
34203 version = XpmLibraryVersion();
34209 rm -f conftest.
$ac_objext
34210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34211 (eval $ac_compile) 2>conftest.er1
34213 grep -v '^ *+' conftest.er1
>conftest.err
34215 cat conftest.err
>&5
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); } &&
34218 { ac_try
='test -z "$ac_c_werror_flag"
34219 || test ! -s conftest.err'
34220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34221 (eval $ac_try) 2>&5
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); }; } &&
34225 { ac_try
='test -s conftest.$ac_objext'
34226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34227 (eval $ac_try) 2>&5
34229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 (exit $ac_status); }; }; then
34231 wx_cv_x11_xpm_h
=yes
34233 echo "$as_me: failed program was:" >&5
34234 sed 's/^/| /' conftest.
$ac_ext >&5
34239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34241 CFLAGS
=$save_CFLAGS
34245 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34246 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
34248 if test $wx_cv_x11_xpm_h = "yes"; then
34249 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34250 cat >>confdefs.h
<<\_ACEOF
34251 #define wxHAVE_LIB_XPM 1
34255 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34256 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34262 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34263 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
34264 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34265 echo $ECHO_N "(cached) $ECHO_C" >&6
34267 ac_check_lib_save_LIBS
=$LIBS
34268 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34269 cat >conftest.
$ac_ext <<_ACEOF
34272 cat confdefs.h
>>conftest.
$ac_ext
34273 cat >>conftest.
$ac_ext <<_ACEOF
34274 /* end confdefs.h. */
34276 /* Override any gcc2 internal prototype to avoid an error. */
34280 /* We use char because int might match the return type of a gcc2
34281 builtin and then its argument prototype would still apply. */
34282 char XShapeQueryExtension ();
34286 XShapeQueryExtension ();
34291 rm -f conftest.
$ac_objext conftest
$ac_exeext
34292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34293 (eval $ac_link) 2>conftest.er1
34295 grep -v '^ *+' conftest.er1
>conftest.err
34297 cat conftest.err
>&5
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); } &&
34300 { ac_try
='test -z "$ac_c_werror_flag"
34301 || test ! -s conftest.err'
34302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34303 (eval $ac_try) 2>&5
34305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34306 (exit $ac_status); }; } &&
34307 { ac_try
='test -s conftest$ac_exeext'
34308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34309 (eval $ac_try) 2>&5
34311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34312 (exit $ac_status); }; }; then
34313 ac_cv_lib_Xext_XShapeQueryExtension
=yes
34315 echo "$as_me: failed program was:" >&5
34316 sed 's/^/| /' conftest.
$ac_ext >&5
34318 ac_cv_lib_Xext_XShapeQueryExtension
=no
34320 rm -f conftest.err conftest.
$ac_objext \
34321 conftest
$ac_exeext conftest.
$ac_ext
34322 LIBS
=$ac_check_lib_save_LIBS
34324 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34325 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
34326 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34328 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
34334 if test "$wxHAVE_XEXT_LIB" = 1; then
34335 save_CFLAGS
="$CFLAGS"
34336 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34338 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34339 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
34340 cat >conftest.
$ac_ext <<_ACEOF
34343 cat confdefs.h
>>conftest.
$ac_ext
34344 cat >>conftest.
$ac_ext <<_ACEOF
34345 /* end confdefs.h. */
34347 #include <X11/Xlib.h>
34348 #include <X11/extensions/shape.h>
34354 int dummy1, dummy2;
34355 XShapeQueryExtension((Display*)NULL,
34356 (int*)NULL, (int*)NULL);
34362 rm -f conftest.
$ac_objext
34363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34364 (eval $ac_compile) 2>conftest.er1
34366 grep -v '^ *+' conftest.er1
>conftest.err
34368 cat conftest.err
>&5
34369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34370 (exit $ac_status); } &&
34371 { ac_try
='test -z "$ac_c_werror_flag"
34372 || test ! -s conftest.err'
34373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34374 (eval $ac_try) 2>&5
34376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34377 (exit $ac_status); }; } &&
34378 { ac_try
='test -s conftest.$ac_objext'
34379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34380 (eval $ac_try) 2>&5
34382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34383 (exit $ac_status); }; }; then
34385 cat >>confdefs.h
<<\_ACEOF
34386 #define HAVE_XSHAPE 1
34389 echo "$as_me:$LINENO: result: found" >&5
34390 echo "${ECHO_T}found" >&6
34393 echo "$as_me: failed program was:" >&5
34394 sed 's/^/| /' conftest.
$ac_ext >&5
34397 echo "$as_me:$LINENO: result: not found" >&5
34398 echo "${ECHO_T}not found" >&6
34401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34402 CFLAGS
="$save_CFLAGS"
34407 if test "$wxUSE_MAC" = 1; then
34408 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34409 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
34410 if test "$GCC" = yes; then
34411 echo "$as_me:$LINENO: result: gcc" >&5
34412 echo "${ECHO_T}gcc" >&6
34413 CPPFLAGS_PASCAL
="-fpascal-strings"
34414 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34415 echo "$as_me:$LINENO: result: xlc" >&5
34416 echo "${ECHO_T}xlc" >&6
34417 CPPFLAGS_PASCAL
="-qmacpstr"
34419 echo "$as_me:$LINENO: result: none" >&5
34420 echo "${ECHO_T}none" >&6
34423 if test "x$wxUSE_UNIX" = "xyes"; then
34424 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34426 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34431 WXBASEPORT
="_carbon"
34434 if test "$wxUSE_COCOA" = 1; then
34439 if test "$wxUSE_PM" = 1; then
34442 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34443 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
34444 if test "${wx_cv_spbcdata+set}" = set; then
34445 echo $ECHO_N "(cached) $ECHO_C" >&6
34448 cat >conftest.
$ac_ext <<_ACEOF
34451 cat confdefs.h
>>conftest.
$ac_ext
34452 cat >>conftest.
$ac_ext <<_ACEOF
34453 /* end confdefs.h. */
34468 rm -f conftest.
$ac_objext
34469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34470 (eval $ac_compile) 2>conftest.er1
34472 grep -v '^ *+' conftest.er1
>conftest.err
34474 cat conftest.err
>&5
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); } &&
34477 { ac_try
='test -z "$ac_c_werror_flag"
34478 || test ! -s conftest.err'
34479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34480 (eval $ac_try) 2>&5
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); }; } &&
34484 { ac_try
='test -s conftest.$ac_objext'
34485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34486 (eval $ac_try) 2>&5
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); }; }; then
34492 echo "$as_me: failed program was:" >&5
34493 sed 's/^/| /' conftest.
$ac_ext >&5
34498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34502 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34503 echo "${ECHO_T}$wx_cv_spbcdata" >&6
34505 if test $wx_cv_spbcdata = "yes"; then
34506 cat >>confdefs.h
<<\_ACEOF
34507 #define HAVE_SPBCDATA 1
34513 if test "$TOOLKIT" = "PM" ; then
34516 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34519 if test "$wxUSE_UNIVERSAL" = "yes"; then
34520 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34524 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34525 DISTDIR
="wx\$(TOOLKIT)"
34531 if test "$USE_WIN32" = 1 ; then
34535 GUIDIST
="BASE_DIST"
34541 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34542 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
34543 wxUSE_UNICODE_UTF8
=yes
34544 elif test "$USE_OS2" = "1" ; then
34545 wxUSE_UNICODE_UTF8
=yes
34547 wxUSE_UNICODE_UTF8
=no
34552 if test "$wxUSE_GUI" = "yes"; then
34553 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34555 for ac_header
in X
11/Xlib.h
34557 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34558 echo "$as_me:$LINENO: checking for $ac_header" >&5
34559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34561 echo $ECHO_N "(cached) $ECHO_C" >&6
34563 cat >conftest.
$ac_ext <<_ACEOF
34566 cat confdefs.h
>>conftest.
$ac_ext
34567 cat >>conftest.
$ac_ext <<_ACEOF
34568 /* end confdefs.h. */
34571 #include <$ac_header>
34573 rm -f conftest.
$ac_objext
34574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34575 (eval $ac_compile) 2>conftest.er1
34577 grep -v '^ *+' conftest.er1
>conftest.err
34579 cat conftest.err
>&5
34580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34581 (exit $ac_status); } &&
34582 { ac_try
='test -z "$ac_c_werror_flag"
34583 || test ! -s conftest.err'
34584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34585 (eval $ac_try) 2>&5
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); }; } &&
34589 { ac_try
='test -s conftest.$ac_objext'
34590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34591 (eval $ac_try) 2>&5
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); }; }; then
34595 eval "$as_ac_Header=yes"
34597 echo "$as_me: failed program was:" >&5
34598 sed 's/^/| /' conftest.
$ac_ext >&5
34600 eval "$as_ac_Header=no"
34602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34607 cat >>confdefs.h
<<_ACEOF
34608 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34616 for ac_header
in X
11/XKBlib.h
34618 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34619 echo "$as_me:$LINENO: checking for $ac_header" >&5
34620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34622 echo $ECHO_N "(cached) $ECHO_C" >&6
34624 cat >conftest.
$ac_ext <<_ACEOF
34627 cat confdefs.h
>>conftest.
$ac_ext
34628 cat >>conftest.
$ac_ext <<_ACEOF
34629 /* end confdefs.h. */
34631 #if HAVE_X11_XLIB_H
34632 #include <X11/Xlib.h>
34636 #include <$ac_header>
34638 rm -f conftest.
$ac_objext
34639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34640 (eval $ac_compile) 2>conftest.er1
34642 grep -v '^ *+' conftest.er1
>conftest.err
34644 cat conftest.err
>&5
34645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34646 (exit $ac_status); } &&
34647 { ac_try
='test -z "$ac_c_werror_flag"
34648 || test ! -s conftest.err'
34649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34650 (eval $ac_try) 2>&5
34652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34653 (exit $ac_status); }; } &&
34654 { ac_try
='test -s conftest.$ac_objext'
34655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34656 (eval $ac_try) 2>&5
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); }; }; then
34660 eval "$as_ac_Header=yes"
34662 echo "$as_me: failed program was:" >&5
34663 sed 's/^/| /' conftest.
$ac_ext >&5
34665 eval "$as_ac_Header=no"
34667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34672 cat >>confdefs.h
<<_ACEOF
34673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34688 if test "$TOOLKIT" != "MSW" ; then
34690 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34692 echo "$as_me:$LINENO: checking for sql.h" >&5
34693 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
34694 if test "${ac_cv_header_sql_h+set}" = set; then
34695 echo $ECHO_N "(cached) $ECHO_C" >&6
34697 cat >conftest.
$ac_ext <<_ACEOF
34700 cat confdefs.h
>>conftest.
$ac_ext
34701 cat >>conftest.
$ac_ext <<_ACEOF
34702 /* end confdefs.h. */
34707 rm -f conftest.
$ac_objext
34708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34709 (eval $ac_compile) 2>conftest.er1
34711 grep -v '^ *+' conftest.er1
>conftest.err
34713 cat conftest.err
>&5
34714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34715 (exit $ac_status); } &&
34716 { ac_try
='test -z "$ac_c_werror_flag"
34717 || test ! -s conftest.err'
34718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34719 (eval $ac_try) 2>&5
34721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34722 (exit $ac_status); }; } &&
34723 { ac_try
='test -s conftest.$ac_objext'
34724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34725 (eval $ac_try) 2>&5
34727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34728 (exit $ac_status); }; }; then
34729 ac_cv_header_sql_h
=yes
34731 echo "$as_me: failed program was:" >&5
34732 sed 's/^/| /' conftest.
$ac_ext >&5
34734 ac_cv_header_sql_h
=no
34736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34738 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34739 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
34740 if test $ac_cv_header_sql_h = yes; then
34745 if test "x$found_sql_h" = "x1" ; then
34746 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34747 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
34748 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34749 echo $ECHO_N "(cached) $ECHO_C" >&6
34751 ac_check_lib_save_LIBS
=$LIBS
34752 LIBS
="-liodbc $LIBS"
34753 cat >conftest.
$ac_ext <<_ACEOF
34756 cat confdefs.h
>>conftest.
$ac_ext
34757 cat >>conftest.
$ac_ext <<_ACEOF
34758 /* end confdefs.h. */
34760 /* Override any gcc2 internal prototype to avoid an error. */
34764 /* We use char because int might match the return type of a gcc2
34765 builtin and then its argument prototype would still apply. */
34766 char SQLAllocEnv ();
34775 rm -f conftest.
$ac_objext conftest
$ac_exeext
34776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34777 (eval $ac_link) 2>conftest.er1
34779 grep -v '^ *+' conftest.er1
>conftest.err
34781 cat conftest.err
>&5
34782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34783 (exit $ac_status); } &&
34784 { ac_try
='test -z "$ac_c_werror_flag"
34785 || test ! -s conftest.err'
34786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34787 (eval $ac_try) 2>&5
34789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); }; } &&
34791 { ac_try
='test -s conftest$ac_exeext'
34792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34793 (eval $ac_try) 2>&5
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); }; }; then
34797 ac_cv_lib_iodbc_SQLAllocEnv
=yes
34799 echo "$as_me: failed program was:" >&5
34800 sed 's/^/| /' conftest.
$ac_ext >&5
34802 ac_cv_lib_iodbc_SQLAllocEnv
=no
34804 rm -f conftest.err conftest.
$ac_objext \
34805 conftest
$ac_exeext conftest.
$ac_ext
34806 LIBS
=$ac_check_lib_save_LIBS
34808 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34809 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
34810 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34811 ODBC_LINK
=" -liodbc"
34814 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34815 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
34816 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34817 echo $ECHO_N "(cached) $ECHO_C" >&6
34819 ac_check_lib_save_LIBS
=$LIBS
34820 LIBS
="-lunixodbc $LIBS"
34821 cat >conftest.
$ac_ext <<_ACEOF
34824 cat confdefs.h
>>conftest.
$ac_ext
34825 cat >>conftest.
$ac_ext <<_ACEOF
34826 /* end confdefs.h. */
34828 /* Override any gcc2 internal prototype to avoid an error. */
34832 /* We use char because int might match the return type of a gcc2
34833 builtin and then its argument prototype would still apply. */
34834 char SQLAllocEnv ();
34843 rm -f conftest.
$ac_objext conftest
$ac_exeext
34844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34845 (eval $ac_link) 2>conftest.er1
34847 grep -v '^ *+' conftest.er1
>conftest.err
34849 cat conftest.err
>&5
34850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851 (exit $ac_status); } &&
34852 { ac_try
='test -z "$ac_c_werror_flag"
34853 || test ! -s conftest.err'
34854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34855 (eval $ac_try) 2>&5
34857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34858 (exit $ac_status); }; } &&
34859 { ac_try
='test -s conftest$ac_exeext'
34860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34861 (eval $ac_try) 2>&5
34863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34864 (exit $ac_status); }; }; then
34865 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
34867 echo "$as_me: failed program was:" >&5
34868 sed 's/^/| /' conftest.
$ac_ext >&5
34870 ac_cv_lib_unixodbc_SQLAllocEnv
=no
34872 rm -f conftest.err conftest.
$ac_objext \
34873 conftest
$ac_exeext conftest.
$ac_ext
34874 LIBS
=$ac_check_lib_save_LIBS
34876 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
34877 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
34878 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
34879 ODBC_LINK
=" -lunixodbc"
34882 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34883 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
34884 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34885 echo $ECHO_N "(cached) $ECHO_C" >&6
34887 ac_check_lib_save_LIBS
=$LIBS
34888 LIBS
="-lodbc $LIBS"
34889 cat >conftest.
$ac_ext <<_ACEOF
34892 cat confdefs.h
>>conftest.
$ac_ext
34893 cat >>conftest.
$ac_ext <<_ACEOF
34894 /* end confdefs.h. */
34896 /* Override any gcc2 internal prototype to avoid an error. */
34900 /* We use char because int might match the return type of a gcc2
34901 builtin and then its argument prototype would still apply. */
34902 char SQLAllocEnv ();
34911 rm -f conftest.
$ac_objext conftest
$ac_exeext
34912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34913 (eval $ac_link) 2>conftest.er1
34915 grep -v '^ *+' conftest.er1
>conftest.err
34917 cat conftest.err
>&5
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); } &&
34920 { ac_try
='test -z "$ac_c_werror_flag"
34921 || test ! -s conftest.err'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; } &&
34927 { ac_try
='test -s conftest$ac_exeext'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; }; then
34933 ac_cv_lib_odbc_SQLAllocEnv
=yes
34935 echo "$as_me: failed program was:" >&5
34936 sed 's/^/| /' conftest.
$ac_ext >&5
34938 ac_cv_lib_odbc_SQLAllocEnv
=no
34940 rm -f conftest.err conftest.
$ac_objext \
34941 conftest
$ac_exeext conftest.
$ac_ext
34942 LIBS
=$ac_check_lib_save_LIBS
34944 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
34945 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
34946 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
34947 ODBC_LINK
=" -lodbc"
34957 if test "x$ODBC_LINK" = "x" ; then
34958 if test "$wxUSE_ODBC" = "sys" ; then
34959 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
34960 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
34961 { (exit 1); exit 1; }; }
34963 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
34964 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
34972 if test "$wxUSE_ODBC" = "builtin" ; then
34973 cat >>confdefs.h
<<\_ACEOF
34974 #define wxUSE_BUILTIN_IODBC 1
34980 if test "$wxUSE_ODBC" != "no" ; then
34981 cat >>confdefs.h
<<\_ACEOF
34982 #define wxUSE_ODBC 1
34985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
34987 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
34991 if test "$wxUSE_DISPLAY" = "yes"; then
34992 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34993 echo "$as_me:$LINENO: checking for Xinerama" >&5
34994 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
34997 for ac_dir
in $SEARCH_LIB;
34999 for ac_extension
in a so sl dylib dll.a
; do
35000 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35001 ac_find_libraries
=$ac_dir
35007 if test "$ac_find_libraries" != "" ; then
35009 if test "$ac_find_libraries" = "default location"; then
35012 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35014 if test $result = 0; then
35017 ac_path_to_link
=" -L$ac_find_libraries"
35021 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35022 LDFLAGS
="$LDFLAGS $ac_path_to_link"
35024 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
35025 echo "$as_me:$LINENO: result: yes" >&5
35026 echo "${ECHO_T}yes" >&6
35028 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35029 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
35032 for ac_dir
in $SEARCH_LIB;
35034 for ac_extension
in a so sl dylib dll.a
; do
35035 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35036 ac_find_libraries
=$ac_dir
35042 if test "$ac_find_libraries" != "" ; then
35043 echo "$as_me:$LINENO: result: yes" >&5
35044 echo "${ECHO_T}yes" >&6
35046 for ac_header
in X
11/extensions
/xf86vmode.h
35048 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35049 echo "$as_me:$LINENO: checking for $ac_header" >&5
35050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35052 echo $ECHO_N "(cached) $ECHO_C" >&6
35054 cat >conftest.
$ac_ext <<_ACEOF
35057 cat confdefs.h
>>conftest.
$ac_ext
35058 cat >>conftest.
$ac_ext <<_ACEOF
35059 /* end confdefs.h. */
35061 #if HAVE_X11_XLIB_H
35062 #include <X11/Xlib.h>
35066 #include <$ac_header>
35068 rm -f conftest.
$ac_objext
35069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35070 (eval $ac_compile) 2>conftest.er1
35072 grep -v '^ *+' conftest.er1
>conftest.err
35074 cat conftest.err
>&5
35075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076 (exit $ac_status); } &&
35077 { ac_try
='test -z "$ac_c_werror_flag"
35078 || test ! -s conftest.err'
35079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35080 (eval $ac_try) 2>&5
35082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35083 (exit $ac_status); }; } &&
35084 { ac_try
='test -s conftest.$ac_objext'
35085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35086 (eval $ac_try) 2>&5
35088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35089 (exit $ac_status); }; }; then
35090 eval "$as_ac_Header=yes"
35092 echo "$as_me: failed program was:" >&5
35093 sed 's/^/| /' conftest.
$ac_ext >&5
35095 eval "$as_ac_Header=no"
35097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35102 cat >>confdefs.h
<<_ACEOF
35103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35106 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35113 echo "$as_me:$LINENO: result: no" >&5
35114 echo "${ECHO_T}no" >&6
35118 echo "$as_me:$LINENO: result: no" >&5
35119 echo "${ECHO_T}no" >&6
35120 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35121 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35124 elif test "$wxUSE_MSW" = 1; then
35125 echo "$as_me:$LINENO: checking for ddraw.h" >&5
35126 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6
35127 if test "${ac_cv_header_ddraw_h+set}" = set; then
35128 echo $ECHO_N "(cached) $ECHO_C" >&6
35130 cat >conftest.
$ac_ext <<_ACEOF
35133 cat confdefs.h
>>conftest.
$ac_ext
35134 cat >>conftest.
$ac_ext <<_ACEOF
35135 /* end confdefs.h. */
35136 #include <windows.h>
35140 rm -f conftest.
$ac_objext
35141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35142 (eval $ac_compile) 2>conftest.er1
35144 grep -v '^ *+' conftest.er1
>conftest.err
35146 cat conftest.err
>&5
35147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35148 (exit $ac_status); } &&
35149 { ac_try
='test -z "$ac_c_werror_flag"
35150 || test ! -s conftest.err'
35151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35152 (eval $ac_try) 2>&5
35154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35155 (exit $ac_status); }; } &&
35156 { ac_try
='test -s conftest.$ac_objext'
35157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35158 (eval $ac_try) 2>&5
35160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 (exit $ac_status); }; }; then
35162 ac_cv_header_ddraw_h
=yes
35164 echo "$as_me: failed program was:" >&5
35165 sed 's/^/| /' conftest.
$ac_ext >&5
35167 ac_cv_header_ddraw_h
=no
35169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35171 echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35172 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6
35178 if test "$wxUSE_DETECT_SM" = "yes"; then
35179 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35180 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35181 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
35184 for ac_dir
in $SEARCH_LIB;
35186 for ac_extension
in a so sl dylib dll.a
; do
35187 if test -f "$ac_dir/libSM.$ac_extension"; then
35188 ac_find_libraries
=$ac_dir
35194 if test "$ac_find_libraries" != "" ; then
35196 if test "$ac_find_libraries" = "default location"; then
35199 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35201 if test $result = 0; then
35204 ac_path_to_link
=" -L$ac_find_libraries"
35208 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35209 LDFLAGS
="$LDFLAGS $ac_path_to_link"
35211 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
35212 echo "$as_me:$LINENO: result: yes" >&5
35213 echo "${ECHO_T}yes" >&6
35215 echo "$as_me:$LINENO: result: no" >&5
35216 echo "${ECHO_T}no" >&6
35217 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35218 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35219 wxUSE_DETECT_SM
="no"
35222 wxUSE_DETECT_SM
="no"
35229 if test "$wxUSE_OPENGL" = "yes"; then
35230 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35231 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35232 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35234 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35235 OPENGL_LIBS
="-framework OpenGL -framework AGL"
35236 elif test "$wxUSE_MSW" = 1; then
35237 OPENGL_LIBS
="-lopengl32 -lglu32"
35239 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35240 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
35243 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
;
35245 if test -f "$ac_dir/GL/gl.h"; then
35246 ac_find_includes
=$ac_dir
35251 if test "$ac_find_includes" != "" ; then
35252 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35253 echo "${ECHO_T}found in $ac_find_includes" >&6
35255 if test "x$ac_find_includes" = "x/usr/include"; then
35256 ac_path_to_include
=""
35258 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
35260 if test $result = 0; then
35261 ac_path_to_include
=""
35263 ac_path_to_include
=" -I$ac_find_includes"
35267 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
35269 echo "$as_me:$LINENO: result: not found" >&5
35270 echo "${ECHO_T}not found" >&6
35273 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35274 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
35275 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35276 echo $ECHO_N "(cached) $ECHO_C" >&6
35278 cat >conftest.
$ac_ext <<_ACEOF
35281 cat confdefs.h
>>conftest.
$ac_ext
35282 cat >>conftest.
$ac_ext <<_ACEOF
35283 /* end confdefs.h. */
35288 rm -f conftest.
$ac_objext
35289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35290 (eval $ac_compile) 2>conftest.er1
35292 grep -v '^ *+' conftest.er1
>conftest.err
35294 cat conftest.err
>&5
35295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296 (exit $ac_status); } &&
35297 { ac_try
='test -z "$ac_c_werror_flag"
35298 || test ! -s conftest.err'
35299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35300 (eval $ac_try) 2>&5
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); }; } &&
35304 { ac_try
='test -s conftest.$ac_objext'
35305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35306 (eval $ac_try) 2>&5
35308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309 (exit $ac_status); }; }; then
35310 ac_cv_header_GL_gl_h
=yes
35312 echo "$as_me: failed program was:" >&5
35313 sed 's/^/| /' conftest.
$ac_ext >&5
35315 ac_cv_header_GL_gl_h
=no
35317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35319 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35320 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
35321 if test $ac_cv_header_GL_gl_h = yes; then
35323 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35324 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
35325 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35326 echo $ECHO_N "(cached) $ECHO_C" >&6
35328 cat >conftest.
$ac_ext <<_ACEOF
35331 cat confdefs.h
>>conftest.
$ac_ext
35332 cat >>conftest.
$ac_ext <<_ACEOF
35333 /* end confdefs.h. */
35336 #include <GL/glu.h>
35338 rm -f conftest.
$ac_objext
35339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35340 (eval $ac_compile) 2>conftest.er1
35342 grep -v '^ *+' conftest.er1
>conftest.err
35344 cat conftest.err
>&5
35345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 (exit $ac_status); } &&
35347 { ac_try
='test -z "$ac_c_werror_flag"
35348 || test ! -s conftest.err'
35349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35350 (eval $ac_try) 2>&5
35352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35353 (exit $ac_status); }; } &&
35354 { ac_try
='test -s conftest.$ac_objext'
35355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35356 (eval $ac_try) 2>&5
35358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35359 (exit $ac_status); }; }; then
35360 ac_cv_header_GL_glu_h
=yes
35362 echo "$as_me: failed program was:" >&5
35363 sed 's/^/| /' conftest.
$ac_ext >&5
35365 ac_cv_header_GL_glu_h
=no
35367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35369 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35370 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
35371 if test $ac_cv_header_GL_glu_h = yes; then
35375 echo "$as_me:$LINENO: checking for -lGL" >&5
35376 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
35379 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
35381 for ac_extension
in a so sl dylib dll.a
; do
35382 if test -f "$ac_dir/libGL.$ac_extension"; then
35383 ac_find_libraries
=$ac_dir
35389 if test "$ac_find_libraries" != "" ; then
35390 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35391 echo "${ECHO_T}found in $ac_find_libraries" >&6
35394 if test "$ac_find_libraries" = "default location"; then
35397 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35399 if test $result = 0; then
35402 ac_path_to_link
=" -L$ac_find_libraries"
35406 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35407 LDFLAGS_GL
="$ac_path_to_link"
35410 echo "$as_me:$LINENO: checking for -lGLU" >&5
35411 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
35414 for ac_dir
in $SEARCH_LIB;
35416 for ac_extension
in a so sl dylib dll.a
; do
35417 if test -f "$ac_dir/libGLU.$ac_extension"; then
35418 ac_find_libraries
=$ac_dir
35424 if test "$ac_find_libraries" != "" ; then
35426 if test "$ac_find_libraries" = "default location"; then
35429 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35431 if test $result = 0; then
35434 ac_path_to_link
=" -L$ac_find_libraries"
35438 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35439 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35440 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
35444 OPENGL_LIBS
="-lGL -lGLU"
35445 echo "$as_me:$LINENO: result: yes" >&5
35446 echo "${ECHO_T}yes" >&6
35448 echo "$as_me:$LINENO: result: no" >&5
35449 echo "${ECHO_T}no" >&6
35452 echo "$as_me:$LINENO: result: no" >&5
35453 echo "${ECHO_T}no" >&6
35456 if test "$found_gl" != 1; then
35457 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35458 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
35461 for ac_dir
in $SEARCH_LIB;
35463 for ac_extension
in a so sl dylib dll.a
; do
35464 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35465 ac_find_libraries
=$ac_dir
35471 if test "$ac_find_libraries" != "" ; then
35473 if test "$ac_find_libraries" = "default location"; then
35476 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35478 if test $result = 0; then
35481 ac_path_to_link
=" -L$ac_find_libraries"
35485 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
35486 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
35487 echo "$as_me:$LINENO: result: yes" >&5
35488 echo "${ECHO_T}yes" >&6
35490 echo "$as_me:$LINENO: result: no" >&5
35491 echo "${ECHO_T}no" >&6
35503 if test "x$OPENGL_LIBS" = "x"; then
35504 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35505 echo "$as_me: error: OpenGL libraries not available" >&2;}
35506 { (exit 1); exit 1; }; }
35510 if test "$wxUSE_OPENGL" = "yes"; then
35512 cat >>confdefs.h
<<\_ACEOF
35513 #define wxUSE_OPENGL 1
35516 cat >>confdefs.h
<<\_ACEOF
35517 #define wxUSE_GLCANVAS 1
35520 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35525 if test -n "$TOOLKIT" ; then
35526 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35531 if test "$wxUSE_SHARED" = "yes"; then
35535 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35536 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35541 if test "$wxUSE_SHARED" = "yes"; then
35545 *-*-cygwin* | *-*-mingw* )
35546 wx_cv_version_script
=no
35550 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35551 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
35552 if test "${wx_cv_version_script+set}" = set; then
35553 echo $ECHO_N "(cached) $ECHO_C" >&6
35556 echo "VER_1 { *; };" >conftest.sym
35557 echo "int main() { return 0; }" >conftest.cpp
35560 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35561 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35563 (eval $ac_try) 2>&5
35565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 (exit $ac_status); }; } ; then
35567 if test -s conftest.stderr
; then
35568 wx_cv_version_script
=no
35570 wx_cv_version_script
=yes
35573 wx_cv_version_script
=no
35576 if test $wx_cv_version_script = yes
35578 echo "struct B { virtual ~B() { } }; \
35579 struct D : public B { }; \
35580 void F() { D d; }" > conftest.cpp
35583 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35584 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35586 (eval $ac_try) 2>&5
35588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35589 (exit $ac_status); }; } &&
35591 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35592 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35594 (eval $ac_try) 2>&5
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); }; }
35600 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35601 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35603 (eval $ac_try) 2>&5
35605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35606 (exit $ac_status); }; }
35608 wx_cv_version_script
=yes
35610 wx_cv_version_script
=no
35615 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35616 rm -f conftest1.output conftest2.output conftest3.output
35619 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35620 echo "${ECHO_T}$wx_cv_version_script" >&6
35622 if test $wx_cv_version_script = yes ; then
35623 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35629 if test "$wxUSE_VISIBILITY" != "no"; then
35632 if test -n "$GCC"; then
35633 CFLAGS_VISIBILITY
="-fvisibility=hidden"
35634 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
35635 echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35636 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6
35637 if test "${wx_cv_cc_visibility+set}" = set; then
35638 echo $ECHO_N "(cached) $ECHO_C" >&6
35641 wx_save_CXXFLAGS
="$CXXFLAGS"
35642 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35644 ac_cpp
='$CXXCPP $CPPFLAGS'
35645 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35646 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35647 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35649 cat >conftest.
$ac_ext <<_ACEOF
35652 cat confdefs.h
>>conftest.
$ac_ext
35653 cat >>conftest.
$ac_ext <<_ACEOF
35654 /* end confdefs.h. */
35656 /* we need gcc >= 4.0, older versions with visibility support
35657 didn't have class visibility: */
35658 #if defined(__GNUC__) && __GNUC__ < 4
35659 error this gcc is too old;
35662 /* visibility only makes sense for ELF shared libs: */
35663 #if !defined(__ELF__) && !defined(__APPLE__)
35664 error this platform has no visibility;
35667 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35668 extern __attribute__((__visibility__("default"))) int exportedvar;
35669 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35670 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35671 class __attribute__((__visibility__("default"))) Foo {
35683 rm -f conftest.
$ac_objext
35684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35685 (eval $ac_compile) 2>conftest.er1
35687 grep -v '^ *+' conftest.er1
>conftest.err
35689 cat conftest.err
>&5
35690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691 (exit $ac_status); } &&
35692 { ac_try
='test -z "$ac_cxx_werror_flag"
35693 || test ! -s conftest.err'
35694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35695 (eval $ac_try) 2>&5
35697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35698 (exit $ac_status); }; } &&
35699 { ac_try
='test -s conftest.$ac_objext'
35700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35701 (eval $ac_try) 2>&5
35703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35704 (exit $ac_status); }; }; then
35705 wx_cv_cc_visibility
=yes
35707 echo "$as_me: failed program was:" >&5
35708 sed 's/^/| /' conftest.
$ac_ext >&5
35710 wx_cv_cc_visibility
=no
35712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35714 ac_cpp
='$CPP $CPPFLAGS'
35715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35719 CXXFLAGS
="$wx_save_CXXFLAGS"
35722 echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35723 echo "${ECHO_T}$wx_cv_cc_visibility" >&6
35724 if test $wx_cv_cc_visibility = yes; then
35725 cat >>confdefs.h
<<\_ACEOF
35726 #define HAVE_VISIBILITY 1
35730 echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35731 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6
35732 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35733 echo $ECHO_N "(cached) $ECHO_C" >&6
35736 wx_save_CXXFLAGS
="$CXXFLAGS"
35737 wx_save_LDFLAGS
="$LDFLAGS"
35738 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35739 LDFLAGS
="$LDFLAGS -shared -fPIC"
35741 ac_cpp
='$CXXCPP $CPPFLAGS'
35742 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35743 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35744 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35746 cat >conftest.
$ac_ext <<_ACEOF
35749 cat confdefs.h
>>conftest.
$ac_ext
35750 cat >>conftest.
$ac_ext <<_ACEOF
35751 /* end confdefs.h. */
35759 std::string s("hello");
35766 rm -f conftest.
$ac_objext conftest
$ac_exeext
35767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35768 (eval $ac_link) 2>conftest.er1
35770 grep -v '^ *+' conftest.er1
>conftest.err
35772 cat conftest.err
>&5
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); } &&
35775 { ac_try
='test -z "$ac_cxx_werror_flag"
35776 || test ! -s conftest.err'
35777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35778 (eval $ac_try) 2>&5
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); }; } &&
35782 { ac_try
='test -s conftest$ac_exeext'
35783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35784 (eval $ac_try) 2>&5
35786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35787 (exit $ac_status); }; }; then
35788 wx_cv_cc_broken_libstdcxx_visibility
=no
35790 echo "$as_me: failed program was:" >&5
35791 sed 's/^/| /' conftest.
$ac_ext >&5
35793 wx_cv_cc_broken_libstdcxx_visibility
=yes
35795 rm -f conftest.err conftest.
$ac_objext \
35796 conftest
$ac_exeext conftest.
$ac_ext
35798 ac_cpp
='$CPP $CPPFLAGS'
35799 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35800 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35801 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35803 CXXFLAGS
="$wx_save_CXXFLAGS"
35804 LDFLAGS
="$wx_save_LDFLAGS"
35807 echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35808 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6
35809 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35810 cat >>confdefs.h
<<\_ACEOF
35811 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35817 CFLAGS_VISIBILITY
=""
35818 CXXFLAGS_VISIBILITY
=""
35826 if test "x$SUNCXX" = xyes
; then
35827 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
35828 WXCONFIG_RPATH
="-R\$libdir"
35831 *-*-linux* | *-*-gnu* )
35832 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
35833 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
35838 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
35840 saveLdflags
="$LDFLAGS"
35841 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
35842 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35843 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
35844 cat >conftest.
$ac_ext <<_ACEOF
35847 cat confdefs.h
>>conftest.
$ac_ext
35848 cat >>conftest.
$ac_ext <<_ACEOF
35849 /* end confdefs.h. */
35859 rm -f conftest.
$ac_objext conftest
$ac_exeext
35860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35861 (eval $ac_link) 2>conftest.er1
35863 grep -v '^ *+' conftest.er1
>conftest.err
35865 cat conftest.err
>&5
35866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35867 (exit $ac_status); } &&
35868 { ac_try
='test -z "$ac_c_werror_flag"
35869 || test ! -s conftest.err'
35870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35871 (eval $ac_try) 2>&5
35873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35874 (exit $ac_status); }; } &&
35875 { ac_try
='test -s conftest$ac_exeext'
35876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35877 (eval $ac_try) 2>&5
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); }; }; then
35882 echo "$as_me:$LINENO: result: yes" >&5
35883 echo "${ECHO_T}yes" >&6
35884 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
35885 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
35888 echo "$as_me: failed program was:" >&5
35889 sed 's/^/| /' conftest.
$ac_ext >&5
35892 echo "$as_me:$LINENO: result: no" >&5
35893 echo "${ECHO_T}no" >&6
35894 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35895 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
35896 LDFLAGS
="$saveLdflags -Wl,-R,/"
35897 cat >conftest.
$ac_ext <<_ACEOF
35900 cat confdefs.h
>>conftest.
$ac_ext
35901 cat >>conftest.
$ac_ext <<_ACEOF
35902 /* end confdefs.h. */
35912 rm -f conftest.
$ac_objext conftest
$ac_exeext
35913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35914 (eval $ac_link) 2>conftest.er1
35916 grep -v '^ *+' conftest.er1
>conftest.err
35918 cat conftest.err
>&5
35919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35920 (exit $ac_status); } &&
35921 { ac_try
='test -z "$ac_c_werror_flag"
35922 || test ! -s conftest.err'
35923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35924 (eval $ac_try) 2>&5
35926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35927 (exit $ac_status); }; } &&
35928 { ac_try
='test -s conftest$ac_exeext'
35929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35930 (eval $ac_try) 2>&5
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); }; }; then
35935 echo "$as_me:$LINENO: result: yes" >&5
35936 echo "${ECHO_T}yes" >&6
35937 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
35938 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
35941 echo "$as_me: failed program was:" >&5
35942 sed 's/^/| /' conftest.
$ac_ext >&5
35945 echo "$as_me:$LINENO: result: no" >&5
35946 echo "${ECHO_T}no" >&6
35949 rm -f conftest.err conftest.
$ac_objext \
35950 conftest
$ac_exeext conftest.
$ac_ext
35953 rm -f conftest.err conftest.
$ac_objext \
35954 conftest
$ac_exeext conftest.
$ac_ext
35955 LDFLAGS
="$saveLdflags"
35959 install_name_tool
=`which install_name_tool`
35960 if test "$install_name_tool" -a -x "$install_name_tool"; then
35961 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
35962 cat <<EOF >change-install-names
35964 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35965 inst_cmd="install_name_tool "
35966 for i in \${libnames} ; do
35967 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
35971 chmod +x change
-install-names
35975 *-*-cygwin* | *-*-mingw32* )
35976 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35980 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
35981 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
35987 if test $wxUSE_RPATH = "no"; then
35988 SAMPLES_RPATH_FLAG
=''
35989 SAMPLES_RPATH_POSTLINK
=''
35997 config_linkage_component
="-static"
36004 lib_unicode_suffix
=
36006 if test "$wxUSE_UNICODE" = "yes"; then
36007 lib_unicode_suffix
=u
36008 WX_CHARTYPE
="unicode"
36013 WX_DEBUGTYPE
="release"
36015 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36017 WX_DEBUGTYPE
="debug"
36021 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
36022 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
36025 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36029 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36031 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36033 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36035 if test "$cross_compiling" = "yes"; then
36036 HOST_SUFFIX
="-$host_alias"
36037 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
36038 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
36041 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36042 if test "${TOOLKIT_DIR}" = "os2"; then
36043 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36045 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36050 if test "$wxUSE_COCOA" = 1; then
36054 ac_cpp
='$CPP $CPPFLAGS'
36055 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36061 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36062 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
36063 cat >conftest.
$ac_ext <<_ACEOF
36066 cat confdefs.h
>>conftest.
$ac_ext
36067 cat >>conftest.
$ac_ext <<_ACEOF
36068 /* end confdefs.h. */
36069 #include <AppKit/NSEvent.h>
36070 #include <CoreFoundation/CoreFoundation.h>
36080 rm -f conftest.
$ac_objext
36081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36082 (eval $ac_compile) 2>conftest.er1
36084 grep -v '^ *+' conftest.er1
>conftest.err
36086 cat conftest.err
>&5
36087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36088 (exit $ac_status); } &&
36089 { ac_try
='test -z "$ac_c_werror_flag"
36090 || test ! -s conftest.err'
36091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36092 (eval $ac_try) 2>&5
36094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36095 (exit $ac_status); }; } &&
36096 { ac_try
='test -s conftest.$ac_objext'
36097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36098 (eval $ac_try) 2>&5
36100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36101 (exit $ac_status); }; }; then
36102 echo "$as_me:$LINENO: result: no" >&5
36103 echo "${ECHO_T}no" >&6
36105 echo "$as_me: failed program was:" >&5
36106 sed 's/^/| /' conftest.
$ac_ext >&5
36108 echo "$as_me:$LINENO: result: yes" >&5
36109 echo "${ECHO_T}yes" >&6
36110 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36111 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
36112 cat >conftest.
$ac_ext <<_ACEOF
36115 cat confdefs.h
>>conftest.
$ac_ext
36116 cat >>conftest.
$ac_ext <<_ACEOF
36117 /* end confdefs.h. */
36118 #define __Point__ 1
36119 #include <AppKit/NSEvent.h>
36120 #include <CoreFoundation/CoreFoundation.h>
36130 rm -f conftest.
$ac_objext
36131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36132 (eval $ac_compile) 2>conftest.er1
36134 grep -v '^ *+' conftest.er1
>conftest.err
36136 cat conftest.err
>&5
36137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36138 (exit $ac_status); } &&
36139 { ac_try
='test -z "$ac_c_werror_flag"
36140 || test ! -s conftest.err'
36141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36142 (eval $ac_try) 2>&5
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); }; } &&
36146 { ac_try
='test -s conftest.$ac_objext'
36147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36148 (eval $ac_try) 2>&5
36150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36151 (exit $ac_status); }; }; then
36152 echo "$as_me:$LINENO: result: yes" >&5
36153 echo "${ECHO_T}yes" >&6
36154 cat >>confdefs.h
<<\_ACEOF
36155 #define __Point__ 1
36160 echo "$as_me: failed program was:" >&5
36161 sed 's/^/| /' conftest.
$ac_ext >&5
36163 { { echo "$as_me:$LINENO: error: no
36164 See \`config.log' for more details." >&5
36165 echo "$as_me: error: no
36166 See \`config.log' for more details." >&2;}
36167 { (exit 1); exit 1; }; }
36170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36175 ac_cpp
='$CPP $CPPFLAGS'
36176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36183 echo "$as_me:$LINENO: checking for mode_t" >&5
36184 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
36185 if test "${ac_cv_type_mode_t+set}" = set; then
36186 echo $ECHO_N "(cached) $ECHO_C" >&6
36188 cat >conftest.
$ac_ext <<_ACEOF
36191 cat confdefs.h
>>conftest.
$ac_ext
36192 cat >>conftest.
$ac_ext <<_ACEOF
36193 /* end confdefs.h. */
36194 $ac_includes_default
36200 if (sizeof (mode_t))
36206 rm -f conftest.
$ac_objext
36207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36208 (eval $ac_compile) 2>conftest.er1
36210 grep -v '^ *+' conftest.er1
>conftest.err
36212 cat conftest.err
>&5
36213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36214 (exit $ac_status); } &&
36215 { ac_try
='test -z "$ac_c_werror_flag"
36216 || test ! -s conftest.err'
36217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36218 (eval $ac_try) 2>&5
36220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36221 (exit $ac_status); }; } &&
36222 { ac_try
='test -s conftest.$ac_objext'
36223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36224 (eval $ac_try) 2>&5
36226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36227 (exit $ac_status); }; }; then
36228 ac_cv_type_mode_t
=yes
36230 echo "$as_me: failed program was:" >&5
36231 sed 's/^/| /' conftest.
$ac_ext >&5
36233 ac_cv_type_mode_t
=no
36235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36237 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36238 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
36239 if test $ac_cv_type_mode_t = yes; then
36243 cat >>confdefs.h
<<_ACEOF
36249 echo "$as_me:$LINENO: checking for off_t" >&5
36250 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
36251 if test "${ac_cv_type_off_t+set}" = set; then
36252 echo $ECHO_N "(cached) $ECHO_C" >&6
36254 cat >conftest.
$ac_ext <<_ACEOF
36257 cat confdefs.h
>>conftest.
$ac_ext
36258 cat >>conftest.
$ac_ext <<_ACEOF
36259 /* end confdefs.h. */
36260 $ac_includes_default
36266 if (sizeof (off_t))
36272 rm -f conftest.
$ac_objext
36273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36274 (eval $ac_compile) 2>conftest.er1
36276 grep -v '^ *+' conftest.er1
>conftest.err
36278 cat conftest.err
>&5
36279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36280 (exit $ac_status); } &&
36281 { ac_try
='test -z "$ac_c_werror_flag"
36282 || test ! -s conftest.err'
36283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36284 (eval $ac_try) 2>&5
36286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36287 (exit $ac_status); }; } &&
36288 { ac_try
='test -s conftest.$ac_objext'
36289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36290 (eval $ac_try) 2>&5
36292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36293 (exit $ac_status); }; }; then
36294 ac_cv_type_off_t
=yes
36296 echo "$as_me: failed program was:" >&5
36297 sed 's/^/| /' conftest.
$ac_ext >&5
36299 ac_cv_type_off_t
=no
36301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36303 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36304 echo "${ECHO_T}$ac_cv_type_off_t" >&6
36305 if test $ac_cv_type_off_t = yes; then
36309 cat >>confdefs.h
<<_ACEOF
36315 echo "$as_me:$LINENO: checking for pid_t" >&5
36316 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
36317 if test "${ac_cv_type_pid_t+set}" = set; then
36318 echo $ECHO_N "(cached) $ECHO_C" >&6
36320 cat >conftest.
$ac_ext <<_ACEOF
36323 cat confdefs.h
>>conftest.
$ac_ext
36324 cat >>conftest.
$ac_ext <<_ACEOF
36325 /* end confdefs.h. */
36326 $ac_includes_default
36332 if (sizeof (pid_t))
36338 rm -f conftest.
$ac_objext
36339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36340 (eval $ac_compile) 2>conftest.er1
36342 grep -v '^ *+' conftest.er1
>conftest.err
36344 cat conftest.err
>&5
36345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36346 (exit $ac_status); } &&
36347 { ac_try
='test -z "$ac_c_werror_flag"
36348 || test ! -s conftest.err'
36349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36350 (eval $ac_try) 2>&5
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); }; } &&
36354 { ac_try
='test -s conftest.$ac_objext'
36355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36356 (eval $ac_try) 2>&5
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); }; }; then
36360 ac_cv_type_pid_t
=yes
36362 echo "$as_me: failed program was:" >&5
36363 sed 's/^/| /' conftest.
$ac_ext >&5
36365 ac_cv_type_pid_t
=no
36367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36369 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36370 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
36371 if test $ac_cv_type_pid_t = yes; then
36375 cat >>confdefs.h
<<_ACEOF
36381 echo "$as_me:$LINENO: checking for size_t" >&5
36382 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
36383 if test "${ac_cv_type_size_t+set}" = set; then
36384 echo $ECHO_N "(cached) $ECHO_C" >&6
36386 cat >conftest.
$ac_ext <<_ACEOF
36389 cat confdefs.h
>>conftest.
$ac_ext
36390 cat >>conftest.
$ac_ext <<_ACEOF
36391 /* end confdefs.h. */
36392 $ac_includes_default
36398 if (sizeof (size_t))
36404 rm -f conftest.
$ac_objext
36405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36406 (eval $ac_compile) 2>conftest.er1
36408 grep -v '^ *+' conftest.er1
>conftest.err
36410 cat conftest.err
>&5
36411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36412 (exit $ac_status); } &&
36413 { ac_try
='test -z "$ac_c_werror_flag"
36414 || test ! -s conftest.err'
36415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36416 (eval $ac_try) 2>&5
36418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36419 (exit $ac_status); }; } &&
36420 { ac_try
='test -s conftest.$ac_objext'
36421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36422 (eval $ac_try) 2>&5
36424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425 (exit $ac_status); }; }; then
36426 ac_cv_type_size_t
=yes
36428 echo "$as_me: failed program was:" >&5
36429 sed 's/^/| /' conftest.
$ac_ext >&5
36431 ac_cv_type_size_t
=no
36433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36435 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36436 echo "${ECHO_T}$ac_cv_type_size_t" >&6
36437 if test $ac_cv_type_size_t = yes; then
36441 cat >>confdefs.h
<<_ACEOF
36442 #define size_t unsigned
36447 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36448 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
36449 if test "${ac_cv_type_uid_t+set}" = set; then
36450 echo $ECHO_N "(cached) $ECHO_C" >&6
36452 cat >conftest.
$ac_ext <<_ACEOF
36455 cat confdefs.h
>>conftest.
$ac_ext
36456 cat >>conftest.
$ac_ext <<_ACEOF
36457 /* end confdefs.h. */
36458 #include <sys/types.h>
36461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36462 $EGREP "uid_t" >/dev
/null
2>&1; then
36463 ac_cv_type_uid_t
=yes
36465 ac_cv_type_uid_t
=no
36470 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36471 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
36472 if test $ac_cv_type_uid_t = no
; then
36474 cat >>confdefs.h
<<\_ACEOF
36479 cat >>confdefs.h
<<\_ACEOF
36486 echo "$as_me:$LINENO: checking for ssize_t" >&5
36487 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
36488 if test "${ac_cv_type_ssize_t+set}" = set; then
36489 echo $ECHO_N "(cached) $ECHO_C" >&6
36491 cat >conftest.
$ac_ext <<_ACEOF
36494 cat confdefs.h
>>conftest.
$ac_ext
36495 cat >>conftest.
$ac_ext <<_ACEOF
36496 /* end confdefs.h. */
36497 $ac_includes_default
36503 if (sizeof (ssize_t))
36509 rm -f conftest.
$ac_objext
36510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36511 (eval $ac_compile) 2>conftest.er1
36513 grep -v '^ *+' conftest.er1
>conftest.err
36515 cat conftest.err
>&5
36516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36517 (exit $ac_status); } &&
36518 { ac_try
='test -z "$ac_c_werror_flag"
36519 || test ! -s conftest.err'
36520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36521 (eval $ac_try) 2>&5
36523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36524 (exit $ac_status); }; } &&
36525 { ac_try
='test -s conftest.$ac_objext'
36526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36527 (eval $ac_try) 2>&5
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); }; }; then
36531 ac_cv_type_ssize_t
=yes
36533 echo "$as_me: failed program was:" >&5
36534 sed 's/^/| /' conftest.
$ac_ext >&5
36536 ac_cv_type_ssize_t
=no
36538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36540 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36541 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
36542 if test $ac_cv_type_ssize_t = yes; then
36544 cat >>confdefs.h
<<_ACEOF
36545 #define HAVE_SSIZE_T 1
36553 ac_cpp
='$CXXCPP $CPPFLAGS'
36554 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36555 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36556 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36557 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36558 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
36559 if test "${wx_cv_size_t_is_uint+set}" = set; then
36560 echo $ECHO_N "(cached) $ECHO_C" >&6
36563 cat >conftest.
$ac_ext <<_ACEOF
36566 cat confdefs.h
>>conftest.
$ac_ext
36567 cat >>conftest.
$ac_ext <<_ACEOF
36568 /* end confdefs.h. */
36569 #include <stddef.h>
36576 struct Foo { void foo(size_t); void foo(unsigned int); };
36584 rm -f conftest.
$ac_objext
36585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36586 (eval $ac_compile) 2>conftest.er1
36588 grep -v '^ *+' conftest.er1
>conftest.err
36590 cat conftest.err
>&5
36591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36592 (exit $ac_status); } &&
36593 { ac_try
='test -z "$ac_cxx_werror_flag"
36594 || test ! -s conftest.err'
36595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36596 (eval $ac_try) 2>&5
36598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36599 (exit $ac_status); }; } &&
36600 { ac_try
='test -s conftest.$ac_objext'
36601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36602 (eval $ac_try) 2>&5
36604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36605 (exit $ac_status); }; }; then
36606 wx_cv_size_t_is_uint
=no
36608 echo "$as_me: failed program was:" >&5
36609 sed 's/^/| /' conftest.
$ac_ext >&5
36611 wx_cv_size_t_is_uint
=yes
36614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36618 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36619 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
36621 if test "$wx_cv_size_t_is_uint" = "yes"; then
36622 cat >>confdefs.h
<<\_ACEOF
36623 #define wxSIZE_T_IS_UINT 1
36627 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36628 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
36629 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36630 echo $ECHO_N "(cached) $ECHO_C" >&6
36632 cat >conftest.
$ac_ext <<_ACEOF
36635 cat confdefs.h
>>conftest.
$ac_ext
36636 cat >>conftest.
$ac_ext <<_ACEOF
36637 /* end confdefs.h. */
36638 #include <stddef.h>
36645 struct Foo { void foo(size_t); void foo(unsigned long); };
36653 rm -f conftest.
$ac_objext
36654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36655 (eval $ac_compile) 2>conftest.er1
36657 grep -v '^ *+' conftest.er1
>conftest.err
36659 cat conftest.err
>&5
36660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36661 (exit $ac_status); } &&
36662 { ac_try
='test -z "$ac_cxx_werror_flag"
36663 || test ! -s conftest.err'
36664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36665 (eval $ac_try) 2>&5
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); }; } &&
36669 { ac_try
='test -s conftest.$ac_objext'
36670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36671 (eval $ac_try) 2>&5
36673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674 (exit $ac_status); }; }; then
36675 wx_cv_size_t_is_ulong
=no
36677 echo "$as_me: failed program was:" >&5
36678 sed 's/^/| /' conftest.
$ac_ext >&5
36680 wx_cv_size_t_is_ulong
=yes
36683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36686 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36687 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
36689 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36690 cat >>confdefs.h
<<\_ACEOF
36691 #define wxSIZE_T_IS_ULONG 1
36697 echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36698 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6
36699 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36700 echo $ECHO_N "(cached) $ECHO_C" >&6
36702 cat >conftest.
$ac_ext <<_ACEOF
36705 cat confdefs.h
>>conftest.
$ac_ext
36706 cat >>conftest.
$ac_ext <<_ACEOF
36707 /* end confdefs.h. */
36715 struct Foo { void foo(wchar_t);
36716 void foo(unsigned short);
36717 void foo(unsigned int);
36718 void foo(unsigned long); };
36726 rm -f conftest.
$ac_objext
36727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36728 (eval $ac_compile) 2>conftest.er1
36730 grep -v '^ *+' conftest.er1
>conftest.err
36732 cat conftest.err
>&5
36733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36734 (exit $ac_status); } &&
36735 { ac_try
='test -z "$ac_cxx_werror_flag"
36736 || test ! -s conftest.err'
36737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36738 (eval $ac_try) 2>&5
36740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36741 (exit $ac_status); }; } &&
36742 { ac_try
='test -s conftest.$ac_objext'
36743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36744 (eval $ac_try) 2>&5
36746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36747 (exit $ac_status); }; }; then
36748 wx_cv_wchar_t_is_separate_type
=yes
36750 echo "$as_me: failed program was:" >&5
36751 sed 's/^/| /' conftest.
$ac_ext >&5
36753 wx_cv_wchar_t_is_separate_type
=no
36756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36759 echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36760 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6
36762 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36763 cat >>confdefs.h
<<\_ACEOF
36764 #define wxWCHAR_T_IS_REAL_TYPE 1
36768 cat >>confdefs.h
<<\_ACEOF
36769 #define wxWCHAR_T_IS_REAL_TYPE 0
36775 ac_cpp
='$CPP $CPPFLAGS'
36776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36781 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36782 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
36783 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36784 echo $ECHO_N "(cached) $ECHO_C" >&6
36787 cat >conftest.
$ac_ext <<_ACEOF
36790 cat confdefs.h
>>conftest.
$ac_ext
36791 cat >>conftest.
$ac_ext <<_ACEOF
36792 /* end confdefs.h. */
36806 rm -f conftest.
$ac_objext
36807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36808 (eval $ac_compile) 2>conftest.er1
36810 grep -v '^ *+' conftest.er1
>conftest.err
36812 cat conftest.err
>&5
36813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36814 (exit $ac_status); } &&
36815 { ac_try
='test -z "$ac_c_werror_flag"
36816 || test ! -s conftest.err'
36817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36818 (eval $ac_try) 2>&5
36820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36821 (exit $ac_status); }; } &&
36822 { ac_try
='test -s conftest.$ac_objext'
36823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36824 (eval $ac_try) 2>&5
36826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36827 (exit $ac_status); }; }; then
36829 wx_cv_struct_pw_gecos
=yes
36832 echo "$as_me: failed program was:" >&5
36833 sed 's/^/| /' conftest.
$ac_ext >&5
36836 wx_cv_struct_pw_gecos
=no
36840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36844 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36845 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
36847 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36848 cat >>confdefs.h
<<\_ACEOF
36849 #define HAVE_PW_GECOS 1
36855 if test "$wxUSE_WCHAR_T" = "yes"; then
36856 cat >>confdefs.h
<<\_ACEOF
36857 #define wxUSE_WCHAR_T 1
36864 for ac_func
in wcslen
36866 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36867 echo "$as_me:$LINENO: checking for $ac_func" >&5
36868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36869 if eval "test \"\${$as_ac_var+set}\" = set"; then
36870 echo $ECHO_N "(cached) $ECHO_C" >&6
36872 cat >conftest.
$ac_ext <<_ACEOF
36875 cat confdefs.h
>>conftest.
$ac_ext
36876 cat >>conftest.
$ac_ext <<_ACEOF
36877 /* end confdefs.h. */
36878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36880 #define $ac_func innocuous_$ac_func
36882 /* System header to define __stub macros and hopefully few prototypes,
36883 which can conflict with char $ac_func (); below.
36884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36885 <limits.h> exists even on freestanding compilers. */
36888 # include <limits.h>
36890 # include <assert.h>
36895 /* Override any gcc2 internal prototype to avoid an error. */
36900 /* We use char because int might match the return type of a gcc2
36901 builtin and then its argument prototype would still apply. */
36903 /* The GNU C library defines this for functions which it implements
36904 to always fail with ENOSYS. Some functions are actually named
36905 something starting with __ and the normal name is an alias. */
36906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36909 char (*f) () = $ac_func;
36918 return f != $ac_func;
36923 rm -f conftest.
$ac_objext conftest
$ac_exeext
36924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36925 (eval $ac_link) 2>conftest.er1
36927 grep -v '^ *+' conftest.er1
>conftest.err
36929 cat conftest.err
>&5
36930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36931 (exit $ac_status); } &&
36932 { ac_try
='test -z "$ac_c_werror_flag"
36933 || test ! -s conftest.err'
36934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36935 (eval $ac_try) 2>&5
36937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36938 (exit $ac_status); }; } &&
36939 { ac_try
='test -s conftest$ac_exeext'
36940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36941 (eval $ac_try) 2>&5
36943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36944 (exit $ac_status); }; }; then
36945 eval "$as_ac_var=yes"
36947 echo "$as_me: failed program was:" >&5
36948 sed 's/^/| /' conftest.
$ac_ext >&5
36950 eval "$as_ac_var=no"
36952 rm -f conftest.err conftest.
$ac_objext \
36953 conftest
$ac_exeext conftest.
$ac_ext
36955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36957 if test `eval echo '${'$as_ac_var'}'` = yes; then
36958 cat >>confdefs.h
<<_ACEOF
36959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36966 if test "$WCSLEN_FOUND" = 0; then
36967 if test "$TOOLKIT" = "MSW"; then
36968 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36969 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
36970 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36971 echo $ECHO_N "(cached) $ECHO_C" >&6
36973 ac_check_lib_save_LIBS
=$LIBS
36974 LIBS
="-lmsvcrt $LIBS"
36975 cat >conftest.
$ac_ext <<_ACEOF
36978 cat confdefs.h
>>conftest.
$ac_ext
36979 cat >>conftest.
$ac_ext <<_ACEOF
36980 /* end confdefs.h. */
36982 /* Override any gcc2 internal prototype to avoid an error. */
36986 /* We use char because int might match the return type of a gcc2
36987 builtin and then its argument prototype would still apply. */
36997 rm -f conftest.
$ac_objext conftest
$ac_exeext
36998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36999 (eval $ac_link) 2>conftest.er1
37001 grep -v '^ *+' conftest.er1
>conftest.err
37003 cat conftest.err
>&5
37004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37005 (exit $ac_status); } &&
37006 { ac_try
='test -z "$ac_c_werror_flag"
37007 || test ! -s conftest.err'
37008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37009 (eval $ac_try) 2>&5
37011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37012 (exit $ac_status); }; } &&
37013 { ac_try
='test -s conftest$ac_exeext'
37014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37015 (eval $ac_try) 2>&5
37017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37018 (exit $ac_status); }; }; then
37019 ac_cv_lib_msvcrt_wcslen
=yes
37021 echo "$as_me: failed program was:" >&5
37022 sed 's/^/| /' conftest.
$ac_ext >&5
37024 ac_cv_lib_msvcrt_wcslen
=no
37026 rm -f conftest.err conftest.
$ac_objext \
37027 conftest
$ac_exeext conftest.
$ac_ext
37028 LIBS
=$ac_check_lib_save_LIBS
37030 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37031 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
37032 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37037 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37038 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
37039 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37040 echo $ECHO_N "(cached) $ECHO_C" >&6
37042 ac_check_lib_save_LIBS
=$LIBS
37044 cat >conftest.
$ac_ext <<_ACEOF
37047 cat confdefs.h
>>conftest.
$ac_ext
37048 cat >>conftest.
$ac_ext <<_ACEOF
37049 /* end confdefs.h. */
37051 /* Override any gcc2 internal prototype to avoid an error. */
37055 /* We use char because int might match the return type of a gcc2
37056 builtin and then its argument prototype would still apply. */
37066 rm -f conftest.
$ac_objext conftest
$ac_exeext
37067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37068 (eval $ac_link) 2>conftest.er1
37070 grep -v '^ *+' conftest.er1
>conftest.err
37072 cat conftest.err
>&5
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); } &&
37075 { ac_try
='test -z "$ac_c_werror_flag"
37076 || test ! -s conftest.err'
37077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37078 (eval $ac_try) 2>&5
37080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37081 (exit $ac_status); }; } &&
37082 { ac_try
='test -s conftest$ac_exeext'
37083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37084 (eval $ac_try) 2>&5
37086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37087 (exit $ac_status); }; }; then
37088 ac_cv_lib_w_wcslen
=yes
37090 echo "$as_me: failed program was:" >&5
37091 sed 's/^/| /' conftest.
$ac_ext >&5
37093 ac_cv_lib_w_wcslen
=no
37095 rm -f conftest.err conftest.
$ac_objext \
37096 conftest
$ac_exeext conftest.
$ac_ext
37097 LIBS
=$ac_check_lib_save_LIBS
37099 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37100 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
37101 if test $ac_cv_lib_w_wcslen = yes; then
37111 if test "$WCSLEN_FOUND" = 1; then
37112 cat >>confdefs.h
<<\_ACEOF
37113 #define HAVE_WCSLEN 1
37119 for ac_func
in wcsdup
37121 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37122 echo "$as_me:$LINENO: checking for $ac_func" >&5
37123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37124 if eval "test \"\${$as_ac_var+set}\" = set"; then
37125 echo $ECHO_N "(cached) $ECHO_C" >&6
37127 cat >conftest.
$ac_ext <<_ACEOF
37130 cat confdefs.h
>>conftest.
$ac_ext
37131 cat >>conftest.
$ac_ext <<_ACEOF
37132 /* end confdefs.h. */
37133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37135 #define $ac_func innocuous_$ac_func
37137 /* System header to define __stub macros and hopefully few prototypes,
37138 which can conflict with char $ac_func (); below.
37139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37140 <limits.h> exists even on freestanding compilers. */
37143 # include <limits.h>
37145 # include <assert.h>
37150 /* Override any gcc2 internal prototype to avoid an error. */
37155 /* We use char because int might match the return type of a gcc2
37156 builtin and then its argument prototype would still apply. */
37158 /* The GNU C library defines this for functions which it implements
37159 to always fail with ENOSYS. Some functions are actually named
37160 something starting with __ and the normal name is an alias. */
37161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37164 char (*f) () = $ac_func;
37173 return f != $ac_func;
37178 rm -f conftest.
$ac_objext conftest
$ac_exeext
37179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37180 (eval $ac_link) 2>conftest.er1
37182 grep -v '^ *+' conftest.er1
>conftest.err
37184 cat conftest.err
>&5
37185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37186 (exit $ac_status); } &&
37187 { ac_try
='test -z "$ac_c_werror_flag"
37188 || test ! -s conftest.err'
37189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37190 (eval $ac_try) 2>&5
37192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37193 (exit $ac_status); }; } &&
37194 { ac_try
='test -s conftest$ac_exeext'
37195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37196 (eval $ac_try) 2>&5
37198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37199 (exit $ac_status); }; }; then
37200 eval "$as_ac_var=yes"
37202 echo "$as_me: failed program was:" >&5
37203 sed 's/^/| /' conftest.
$ac_ext >&5
37205 eval "$as_ac_var=no"
37207 rm -f conftest.err conftest.
$ac_objext \
37208 conftest
$ac_exeext conftest.
$ac_ext
37210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37212 if test `eval echo '${'$as_ac_var'}'` = yes; then
37213 cat >>confdefs.h
<<_ACEOF
37214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37221 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37222 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37225 echo "$as_me:$LINENO: checking for mbstate_t" >&5
37226 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
37227 if test "${ac_cv_type_mbstate_t+set}" = set; then
37228 echo $ECHO_N "(cached) $ECHO_C" >&6
37230 cat >conftest.
$ac_ext <<_ACEOF
37233 cat confdefs.h
>>conftest.
$ac_ext
37234 cat >>conftest.
$ac_ext <<_ACEOF
37235 /* end confdefs.h. */
37241 if ((mbstate_t *) 0)
37243 if (sizeof (mbstate_t))
37249 rm -f conftest.
$ac_objext
37250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37251 (eval $ac_compile) 2>conftest.er1
37253 grep -v '^ *+' conftest.er1
>conftest.err
37255 cat conftest.err
>&5
37256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37257 (exit $ac_status); } &&
37258 { ac_try
='test -z "$ac_c_werror_flag"
37259 || test ! -s conftest.err'
37260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37261 (eval $ac_try) 2>&5
37263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37264 (exit $ac_status); }; } &&
37265 { ac_try
='test -s conftest.$ac_objext'
37266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37267 (eval $ac_try) 2>&5
37269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37270 (exit $ac_status); }; }; then
37271 ac_cv_type_mbstate_t
=yes
37273 echo "$as_me: failed program was:" >&5
37274 sed 's/^/| /' conftest.
$ac_ext >&5
37276 ac_cv_type_mbstate_t
=no
37278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37280 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37281 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
37282 if test $ac_cv_type_mbstate_t = yes; then
37284 cat >>confdefs.h
<<_ACEOF
37285 #define HAVE_MBSTATE_T 1
37289 for ac_func
in wcsrtombs
37291 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37292 echo "$as_me:$LINENO: checking for $ac_func" >&5
37293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37294 if eval "test \"\${$as_ac_var+set}\" = set"; then
37295 echo $ECHO_N "(cached) $ECHO_C" >&6
37297 cat >conftest.
$ac_ext <<_ACEOF
37300 cat confdefs.h
>>conftest.
$ac_ext
37301 cat >>conftest.
$ac_ext <<_ACEOF
37302 /* end confdefs.h. */
37303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37305 #define $ac_func innocuous_$ac_func
37307 /* System header to define __stub macros and hopefully few prototypes,
37308 which can conflict with char $ac_func (); below.
37309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37310 <limits.h> exists even on freestanding compilers. */
37313 # include <limits.h>
37315 # include <assert.h>
37320 /* Override any gcc2 internal prototype to avoid an error. */
37325 /* We use char because int might match the return type of a gcc2
37326 builtin and then its argument prototype would still apply. */
37328 /* The GNU C library defines this for functions which it implements
37329 to always fail with ENOSYS. Some functions are actually named
37330 something starting with __ and the normal name is an alias. */
37331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37334 char (*f) () = $ac_func;
37343 return f != $ac_func;
37348 rm -f conftest.
$ac_objext conftest
$ac_exeext
37349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37350 (eval $ac_link) 2>conftest.er1
37352 grep -v '^ *+' conftest.er1
>conftest.err
37354 cat conftest.err
>&5
37355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37356 (exit $ac_status); } &&
37357 { ac_try
='test -z "$ac_c_werror_flag"
37358 || test ! -s conftest.err'
37359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37360 (eval $ac_try) 2>&5
37362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363 (exit $ac_status); }; } &&
37364 { ac_try
='test -s conftest$ac_exeext'
37365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37366 (eval $ac_try) 2>&5
37368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37369 (exit $ac_status); }; }; then
37370 eval "$as_ac_var=yes"
37372 echo "$as_me: failed program was:" >&5
37373 sed 's/^/| /' conftest.
$ac_ext >&5
37375 eval "$as_ac_var=no"
37377 rm -f conftest.err conftest.
$ac_objext \
37378 conftest
$ac_exeext conftest.
$ac_ext
37380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37382 if test `eval echo '${'$as_ac_var'}'` = yes; then
37383 cat >>confdefs.h
<<_ACEOF
37384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37393 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37394 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37399 for ac_func
in snprintf vsnprintf
37401 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37402 echo "$as_me:$LINENO: checking for $ac_func" >&5
37403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37404 if eval "test \"\${$as_ac_var+set}\" = set"; then
37405 echo $ECHO_N "(cached) $ECHO_C" >&6
37407 cat >conftest.
$ac_ext <<_ACEOF
37410 cat confdefs.h
>>conftest.
$ac_ext
37411 cat >>conftest.
$ac_ext <<_ACEOF
37412 /* end confdefs.h. */
37413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37415 #define $ac_func innocuous_$ac_func
37417 /* System header to define __stub macros and hopefully few prototypes,
37418 which can conflict with char $ac_func (); below.
37419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37420 <limits.h> exists even on freestanding compilers. */
37423 # include <limits.h>
37425 # include <assert.h>
37430 /* Override any gcc2 internal prototype to avoid an error. */
37435 /* We use char because int might match the return type of a gcc2
37436 builtin and then its argument prototype would still apply. */
37438 /* The GNU C library defines this for functions which it implements
37439 to always fail with ENOSYS. Some functions are actually named
37440 something starting with __ and the normal name is an alias. */
37441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37444 char (*f) () = $ac_func;
37453 return f != $ac_func;
37458 rm -f conftest.
$ac_objext conftest
$ac_exeext
37459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37460 (eval $ac_link) 2>conftest.er1
37462 grep -v '^ *+' conftest.er1
>conftest.err
37464 cat conftest.err
>&5
37465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37466 (exit $ac_status); } &&
37467 { ac_try
='test -z "$ac_c_werror_flag"
37468 || test ! -s conftest.err'
37469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37470 (eval $ac_try) 2>&5
37472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37473 (exit $ac_status); }; } &&
37474 { ac_try
='test -s conftest$ac_exeext'
37475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37476 (eval $ac_try) 2>&5
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); }; }; then
37480 eval "$as_ac_var=yes"
37482 echo "$as_me: failed program was:" >&5
37483 sed 's/^/| /' conftest.
$ac_ext >&5
37485 eval "$as_ac_var=no"
37487 rm -f conftest.err conftest.
$ac_objext \
37488 conftest
$ac_exeext conftest.
$ac_ext
37490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37492 if test `eval echo '${'$as_ac_var'}'` = yes; then
37493 cat >>confdefs.h
<<_ACEOF
37494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37501 if test "$ac_cv_func_vsnprintf" = "yes"; then
37502 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37503 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
37504 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37505 echo $ECHO_N "(cached) $ECHO_C" >&6
37508 cat >conftest.
$ac_ext <<_ACEOF
37511 cat confdefs.h
>>conftest.
$ac_ext
37512 cat >>conftest.
$ac_ext <<_ACEOF
37513 /* end confdefs.h. */
37516 #include <stdarg.h>
37518 #if __MSL__ >= 0x6000
37520 using namespace std;
37530 vsnprintf(buf, 10u, "%s", ap);
37536 rm -f conftest.
$ac_objext
37537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37538 (eval $ac_compile) 2>conftest.er1
37540 grep -v '^ *+' conftest.er1
>conftest.err
37542 cat conftest.err
>&5
37543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37544 (exit $ac_status); } &&
37545 { ac_try
='test -z "$ac_c_werror_flag"
37546 || test ! -s conftest.err'
37547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37548 (eval $ac_try) 2>&5
37550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37551 (exit $ac_status); }; } &&
37552 { ac_try
='test -s conftest.$ac_objext'
37553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37554 (eval $ac_try) 2>&5
37556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37557 (exit $ac_status); }; }; then
37558 wx_cv_func_vsnprintf_decl
=yes
37560 echo "$as_me: failed program was:" >&5
37561 sed 's/^/| /' conftest.
$ac_ext >&5
37563 wx_cv_func_vsnprintf_decl
=no
37566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37570 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37571 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
37573 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37574 cat >>confdefs.h
<<\_ACEOF
37575 #define HAVE_VSNPRINTF_DECL 1
37579 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37580 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
37581 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37582 echo $ECHO_N "(cached) $ECHO_C" >&6
37585 cat >conftest.
$ac_ext <<_ACEOF
37588 cat confdefs.h
>>conftest.
$ac_ext
37589 cat >>conftest.
$ac_ext <<_ACEOF
37590 /* end confdefs.h. */
37593 #include <stdarg.h>
37595 #if __MSL__ >= 0x6000
37597 using namespace std;
37607 const char *fmt = "%s";
37608 vsnprintf(buf, 10u, fmt, ap);
37614 rm -f conftest.
$ac_objext
37615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37616 (eval $ac_compile) 2>conftest.er1
37618 grep -v '^ *+' conftest.er1
>conftest.err
37620 cat conftest.err
>&5
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); } &&
37623 { ac_try
='test -z "$ac_c_werror_flag"
37624 || test ! -s conftest.err'
37625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37626 (eval $ac_try) 2>&5
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); }; } &&
37630 { ac_try
='test -s conftest.$ac_objext'
37631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37632 (eval $ac_try) 2>&5
37634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37635 (exit $ac_status); }; }; then
37636 wx_cv_func_broken_vsnprintf_decl
=no
37638 echo "$as_me: failed program was:" >&5
37639 sed 's/^/| /' conftest.
$ac_ext >&5
37641 wx_cv_func_broken_vsnprintf_decl
=yes
37644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37648 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37649 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
37651 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37652 cat >>confdefs.h
<<\_ACEOF
37653 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37660 if test "$ac_cv_func_snprintf" = "yes"; then
37661 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37662 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
37663 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37664 echo $ECHO_N "(cached) $ECHO_C" >&6
37667 cat >conftest.
$ac_ext <<_ACEOF
37670 cat confdefs.h
>>conftest.
$ac_ext
37671 cat >>conftest.
$ac_ext <<_ACEOF
37672 /* end confdefs.h. */
37675 #include <stdarg.h>
37677 #if __MSL__ >= 0x6000
37679 using namespace std;
37688 snprintf(buf, 10u, "%s", "wx");
37694 rm -f conftest.
$ac_objext
37695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37696 (eval $ac_compile) 2>conftest.er1
37698 grep -v '^ *+' conftest.er1
>conftest.err
37700 cat conftest.err
>&5
37701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37702 (exit $ac_status); } &&
37703 { ac_try
='test -z "$ac_c_werror_flag"
37704 || test ! -s conftest.err'
37705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37706 (eval $ac_try) 2>&5
37708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37709 (exit $ac_status); }; } &&
37710 { ac_try
='test -s conftest.$ac_objext'
37711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37712 (eval $ac_try) 2>&5
37714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37715 (exit $ac_status); }; }; then
37716 wx_cv_func_snprintf_decl
=yes
37718 echo "$as_me: failed program was:" >&5
37719 sed 's/^/| /' conftest.
$ac_ext >&5
37721 wx_cv_func_snprintf_decl
=no
37724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37728 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37729 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
37731 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37732 cat >>confdefs.h
<<\_ACEOF
37733 #define HAVE_SNPRINTF_DECL 1
37737 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
37738 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
37739 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37740 echo $ECHO_N "(cached) $ECHO_C" >&6
37743 cat >conftest.
$ac_ext <<_ACEOF
37746 cat confdefs.h
>>conftest.
$ac_ext
37747 cat >>conftest.
$ac_ext <<_ACEOF
37748 /* end confdefs.h. */
37751 #include <stdarg.h>
37753 #if __MSL__ >= 0x6000
37755 using namespace std;
37764 const char *fmt = "%s";
37765 snprintf(buf, 10u, fmt, "wx");
37771 rm -f conftest.
$ac_objext
37772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37773 (eval $ac_compile) 2>conftest.er1
37775 grep -v '^ *+' conftest.er1
>conftest.err
37777 cat conftest.err
>&5
37778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37779 (exit $ac_status); } &&
37780 { ac_try
='test -z "$ac_c_werror_flag"
37781 || test ! -s conftest.err'
37782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37783 (eval $ac_try) 2>&5
37785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37786 (exit $ac_status); }; } &&
37787 { ac_try
='test -s conftest.$ac_objext'
37788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37789 (eval $ac_try) 2>&5
37791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37792 (exit $ac_status); }; }; then
37793 wx_cv_func_broken_snprintf_decl
=no
37795 echo "$as_me: failed program was:" >&5
37796 sed 's/^/| /' conftest.
$ac_ext >&5
37798 wx_cv_func_broken_snprintf_decl
=yes
37801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37805 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37806 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
37808 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37809 cat >>confdefs.h
<<\_ACEOF
37810 #define HAVE_BROKEN_SNPRINTF_DECL 1
37816 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37818 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37819 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
37820 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37821 echo $ECHO_N "(cached) $ECHO_C" >&6
37824 if test "$cross_compiling" = yes; then
37826 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37827 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37828 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37829 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37830 wx_cv_func_snprintf_pos_params
=no
37834 cat >conftest.
$ac_ext <<_ACEOF
37837 cat confdefs.h
>>conftest.
$ac_ext
37838 cat >>conftest.
$ac_ext <<_ACEOF
37839 /* end confdefs.h. */
37846 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37847 if (strcmp ("2 3 1", buffer) == 0)
37853 rm -f conftest
$ac_exeext
37854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37855 (eval $ac_link) 2>&5
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
37859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37860 (eval $ac_try) 2>&5
37862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37863 (exit $ac_status); }; }; then
37864 wx_cv_func_snprintf_pos_params
=no
37866 echo "$as_me: program exited with status $ac_status" >&5
37867 echo "$as_me: failed program was:" >&5
37868 sed 's/^/| /' conftest.
$ac_ext >&5
37870 ( exit $ac_status )
37871 wx_cv_func_snprintf_pos_params
=yes
37873 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
37878 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37879 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
37881 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37882 cat >>confdefs.h
<<\_ACEOF
37883 #define HAVE_UNIX98_PRINTF 1
37890 if test "$wxUSE_UNICODE" = yes; then
37893 for ac_func
in swprintf
37895 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37896 echo "$as_me:$LINENO: checking for $ac_func" >&5
37897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37898 if eval "test \"\${$as_ac_var+set}\" = set"; then
37899 echo $ECHO_N "(cached) $ECHO_C" >&6
37901 cat >conftest.
$ac_ext <<_ACEOF
37904 cat confdefs.h
>>conftest.
$ac_ext
37905 cat >>conftest.
$ac_ext <<_ACEOF
37906 /* end confdefs.h. */
37907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37909 #define $ac_func innocuous_$ac_func
37911 /* System header to define __stub macros and hopefully few prototypes,
37912 which can conflict with char $ac_func (); below.
37913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37914 <limits.h> exists even on freestanding compilers. */
37917 # include <limits.h>
37919 # include <assert.h>
37924 /* Override any gcc2 internal prototype to avoid an error. */
37929 /* We use char because int might match the return type of a gcc2
37930 builtin and then its argument prototype would still apply. */
37932 /* The GNU C library defines this for functions which it implements
37933 to always fail with ENOSYS. Some functions are actually named
37934 something starting with __ and the normal name is an alias. */
37935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37938 char (*f) () = $ac_func;
37947 return f != $ac_func;
37952 rm -f conftest.
$ac_objext conftest
$ac_exeext
37953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37954 (eval $ac_link) 2>conftest.er1
37956 grep -v '^ *+' conftest.er1
>conftest.err
37958 cat conftest.err
>&5
37959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37960 (exit $ac_status); } &&
37961 { ac_try
='test -z "$ac_c_werror_flag"
37962 || test ! -s conftest.err'
37963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37964 (eval $ac_try) 2>&5
37966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37967 (exit $ac_status); }; } &&
37968 { ac_try
='test -s conftest$ac_exeext'
37969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37970 (eval $ac_try) 2>&5
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); }; }; then
37974 eval "$as_ac_var=yes"
37976 echo "$as_me: failed program was:" >&5
37977 sed 's/^/| /' conftest.
$ac_ext >&5
37979 eval "$as_ac_var=no"
37981 rm -f conftest.err conftest.
$ac_objext \
37982 conftest
$ac_exeext conftest.
$ac_ext
37984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37986 if test `eval echo '${'$as_ac_var'}'` = yes; then
37987 cat >>confdefs.h
<<_ACEOF
37988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37995 if test "$ac_cv_func_swprintf" = "yes"; then
37996 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
37997 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
37998 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
37999 echo $ECHO_N "(cached) $ECHO_C" >&6
38002 cat >conftest.
$ac_ext <<_ACEOF
38005 cat confdefs.h
>>conftest.
$ac_ext
38006 cat >>conftest.
$ac_ext <<_ACEOF
38007 /* end confdefs.h. */
38010 #include <stdarg.h>
38018 const wchar_t *fmt = L"test";
38019 swprintf(buf, 10u, fmt);
38025 rm -f conftest.
$ac_objext
38026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38027 (eval $ac_compile) 2>conftest.er1
38029 grep -v '^ *+' conftest.er1
>conftest.err
38031 cat conftest.err
>&5
38032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38033 (exit $ac_status); } &&
38034 { ac_try
='test -z "$ac_c_werror_flag"
38035 || test ! -s conftest.err'
38036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38037 (eval $ac_try) 2>&5
38039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38040 (exit $ac_status); }; } &&
38041 { ac_try
='test -s conftest.$ac_objext'
38042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38043 (eval $ac_try) 2>&5
38045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046 (exit $ac_status); }; }; then
38047 wx_cv_func_broken_swprintf_decl
=no
38049 echo "$as_me: failed program was:" >&5
38050 sed 's/^/| /' conftest.
$ac_ext >&5
38052 wx_cv_func_broken_swprintf_decl
=yes
38055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38059 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38060 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
38062 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38063 cat >>confdefs.h
<<\_ACEOF
38064 #define HAVE_BROKEN_SWPRINTF_DECL 1
38070 wchar_headers
="#include <stdio.h>
38071 #include <wchar.h>"
38075 for ac_header
in widec.h
38077 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38078 echo "$as_me:$LINENO: checking for $ac_header" >&5
38079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38081 echo $ECHO_N "(cached) $ECHO_C" >&6
38083 cat >conftest.
$ac_ext <<_ACEOF
38086 cat confdefs.h
>>conftest.
$ac_ext
38087 cat >>conftest.
$ac_ext <<_ACEOF
38088 /* end confdefs.h. */
38089 $ac_includes_default
38091 #include <$ac_header>
38093 rm -f conftest.
$ac_objext
38094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38095 (eval $ac_compile) 2>conftest.er1
38097 grep -v '^ *+' conftest.er1
>conftest.err
38099 cat conftest.err
>&5
38100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38101 (exit $ac_status); } &&
38102 { ac_try
='test -z "$ac_c_werror_flag"
38103 || test ! -s conftest.err'
38104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38105 (eval $ac_try) 2>&5
38107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38108 (exit $ac_status); }; } &&
38109 { ac_try
='test -s conftest.$ac_objext'
38110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38111 (eval $ac_try) 2>&5
38113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38114 (exit $ac_status); }; }; then
38115 eval "$as_ac_Header=yes"
38117 echo "$as_me: failed program was:" >&5
38118 sed 's/^/| /' conftest.
$ac_ext >&5
38120 eval "$as_ac_Header=no"
38122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38126 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38127 cat >>confdefs.h
<<_ACEOF
38128 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38135 if test "$ac_cv_header_widec_h" = "yes"; then
38136 wchar_headers
="$wchar_headers
38137 #include <widec.h>"
38142 for wx_func
in wputc wputchar putws fputws wprintf vswprintf
38144 echo "$as_me:$LINENO: checking for $wx_func" >&5
38145 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38146 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38147 echo $ECHO_N "(cached) $ECHO_C" >&6
38150 cat >conftest.
$ac_ext <<_ACEOF
38154 cat confdefs.h
>>conftest.
$ac_ext
38155 cat >>conftest.
$ac_ext <<_ACEOF
38156 /* end confdefs.h. */
38159 $ac_includes_default
38175 rm -f conftest.
$ac_objext conftest
$ac_exeext
38176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38177 (eval $ac_link) 2>conftest.er1
38179 grep -v '^ *+' conftest.er1
>conftest.err
38181 cat conftest.err
>&5
38182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38183 (exit $ac_status); } &&
38184 { ac_try
='test -z "$ac_c_werror_flag"
38185 || test ! -s conftest.err'
38186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38187 (eval $ac_try) 2>&5
38189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38190 (exit $ac_status); }; } &&
38191 { ac_try
='test -s conftest$ac_exeext'
38192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38193 (eval $ac_try) 2>&5
38195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38196 (exit $ac_status); }; }; then
38197 eval wx_cv_func_
$wx_func=yes
38199 echo "$as_me: failed program was:" >&5
38200 sed 's/^/| /' conftest.
$ac_ext >&5
38202 eval wx_cv_func_
$wx_func=no
38204 rm -f conftest.err conftest.
$ac_objext \
38205 conftest
$ac_exeext conftest.
$ac_ext
38208 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38209 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38211 if eval test \
$wx_cv_func_$wx_func = yes
38213 cat >>confdefs.h
<<_ACEOF
38214 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38225 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38226 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
38227 cat >conftest.
$ac_ext <<_ACEOF
38230 cat confdefs.h
>>conftest.
$ac_ext
38231 cat >>conftest.
$ac_ext <<_ACEOF
38232 /* end confdefs.h. */
38242 rm -f conftest.
$ac_objext
38243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38244 (eval $ac_compile) 2>conftest.er1
38246 grep -v '^ *+' conftest.er1
>conftest.err
38248 cat conftest.err
>&5
38249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38250 (exit $ac_status); } &&
38251 { ac_try
='test -z "$ac_c_werror_flag"
38252 || test ! -s conftest.err'
38253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38254 (eval $ac_try) 2>&5
38256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38257 (exit $ac_status); }; } &&
38258 { ac_try
='test -s conftest.$ac_objext'
38259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38260 (eval $ac_try) 2>&5
38262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38263 (exit $ac_status); }; }; then
38264 echo "$as_me:$LINENO: result: yes" >&5
38265 echo "${ECHO_T}yes" >&6
38266 cat >>confdefs.h
<<\_ACEOF
38267 #define HAVE__VSNWPRINTF 1
38271 echo "$as_me: failed program was:" >&5
38272 sed 's/^/| /' conftest.
$ac_ext >&5
38274 echo "$as_me:$LINENO: result: no" >&5
38275 echo "${ECHO_T}no" >&6
38277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
38280 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38282 for wx_func
in fnmatch
38284 echo "$as_me:$LINENO: checking for $wx_func" >&5
38285 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38286 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38287 echo $ECHO_N "(cached) $ECHO_C" >&6
38290 cat >conftest.
$ac_ext <<_ACEOF
38294 cat confdefs.h
>>conftest.
$ac_ext
38295 cat >>conftest.
$ac_ext <<_ACEOF
38296 /* end confdefs.h. */
38298 #include <fnmatch.h>
38299 $ac_includes_default
38315 rm -f conftest.
$ac_objext conftest
$ac_exeext
38316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38317 (eval $ac_link) 2>conftest.er1
38319 grep -v '^ *+' conftest.er1
>conftest.err
38321 cat conftest.err
>&5
38322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38323 (exit $ac_status); } &&
38324 { ac_try
='test -z "$ac_c_werror_flag"
38325 || test ! -s conftest.err'
38326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38327 (eval $ac_try) 2>&5
38329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38330 (exit $ac_status); }; } &&
38331 { ac_try
='test -s conftest$ac_exeext'
38332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38333 (eval $ac_try) 2>&5
38335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38336 (exit $ac_status); }; }; then
38337 eval wx_cv_func_
$wx_func=yes
38339 echo "$as_me: failed program was:" >&5
38340 sed 's/^/| /' conftest.
$ac_ext >&5
38342 eval wx_cv_func_
$wx_func=no
38344 rm -f conftest.err conftest.
$ac_objext \
38345 conftest
$ac_exeext conftest.
$ac_ext
38348 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38349 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38351 if eval test \
$wx_cv_func_$wx_func = yes
38353 cat >>confdefs.h
<<_ACEOF
38354 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38366 if test "$wxUSE_FILE" = "yes"; then
38368 for wx_func
in fsync
38370 echo "$as_me:$LINENO: checking for $wx_func" >&5
38371 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38372 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38373 echo $ECHO_N "(cached) $ECHO_C" >&6
38376 cat >conftest.
$ac_ext <<_ACEOF
38380 cat confdefs.h
>>conftest.
$ac_ext
38381 cat >>conftest.
$ac_ext <<_ACEOF
38382 /* end confdefs.h. */
38385 $ac_includes_default
38401 rm -f conftest.
$ac_objext conftest
$ac_exeext
38402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38403 (eval $ac_link) 2>conftest.er1
38405 grep -v '^ *+' conftest.er1
>conftest.err
38407 cat conftest.err
>&5
38408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38409 (exit $ac_status); } &&
38410 { ac_try
='test -z "$ac_c_werror_flag"
38411 || test ! -s conftest.err'
38412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38413 (eval $ac_try) 2>&5
38415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38416 (exit $ac_status); }; } &&
38417 { ac_try
='test -s conftest$ac_exeext'
38418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38419 (eval $ac_try) 2>&5
38421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38422 (exit $ac_status); }; }; then
38423 eval wx_cv_func_
$wx_func=yes
38425 echo "$as_me: failed program was:" >&5
38426 sed 's/^/| /' conftest.
$ac_ext >&5
38428 eval wx_cv_func_
$wx_func=no
38430 rm -f conftest.err conftest.
$ac_objext \
38431 conftest
$ac_exeext conftest.
$ac_ext
38434 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38435 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38437 if eval test \
$wx_cv_func_$wx_func = yes
38439 cat >>confdefs.h
<<_ACEOF
38440 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38453 ac_cpp
='$CXXCPP $CPPFLAGS'
38454 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38455 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38456 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38459 for wx_func
in round
38461 echo "$as_me:$LINENO: checking for $wx_func" >&5
38462 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38463 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38464 echo $ECHO_N "(cached) $ECHO_C" >&6
38467 cat >conftest.
$ac_ext <<_ACEOF
38471 cat confdefs.h
>>conftest.
$ac_ext
38472 cat >>conftest.
$ac_ext <<_ACEOF
38473 /* end confdefs.h. */
38476 $ac_includes_default
38492 rm -f conftest.
$ac_objext conftest
$ac_exeext
38493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38494 (eval $ac_link) 2>conftest.er1
38496 grep -v '^ *+' conftest.er1
>conftest.err
38498 cat conftest.err
>&5
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); } &&
38501 { ac_try
='test -z "$ac_cxx_werror_flag"
38502 || test ! -s conftest.err'
38503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38504 (eval $ac_try) 2>&5
38506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38507 (exit $ac_status); }; } &&
38508 { ac_try
='test -s conftest$ac_exeext'
38509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38510 (eval $ac_try) 2>&5
38512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38513 (exit $ac_status); }; }; then
38514 eval wx_cv_func_
$wx_func=yes
38516 echo "$as_me: failed program was:" >&5
38517 sed 's/^/| /' conftest.
$ac_ext >&5
38519 eval wx_cv_func_
$wx_func=no
38521 rm -f conftest.err conftest.
$ac_objext \
38522 conftest
$ac_exeext conftest.
$ac_ext
38525 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38526 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38528 if eval test \
$wx_cv_func_$wx_func = yes
38530 cat >>confdefs.h
<<_ACEOF
38531 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38542 ac_cpp
='$CPP $CPPFLAGS'
38543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38548 if test "$TOOLKIT" != "MSW"; then
38554 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
38555 if test "${with_libiconv_prefix+set}" = set; then
38556 withval
="$with_libiconv_prefix"
38558 for dir
in `echo "$withval" | tr : ' '`; do
38559 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
38560 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
38565 echo "$as_me:$LINENO: checking for iconv" >&5
38566 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
38567 if test "${am_cv_func_iconv+set}" = set; then
38568 echo $ECHO_N "(cached) $ECHO_C" >&6
38571 am_cv_func_iconv
="no, consider installing GNU libiconv"
38573 cat >conftest.
$ac_ext <<_ACEOF
38576 cat confdefs.h
>>conftest.
$ac_ext
38577 cat >>conftest.
$ac_ext <<_ACEOF
38578 /* end confdefs.h. */
38579 #include <stdlib.h>
38584 iconv_t cd = iconv_open("","");
38585 iconv(cd,NULL,NULL,NULL,NULL);
38591 rm -f conftest.
$ac_objext conftest
$ac_exeext
38592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38593 (eval $ac_link) 2>conftest.er1
38595 grep -v '^ *+' conftest.er1
>conftest.err
38597 cat conftest.err
>&5
38598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38599 (exit $ac_status); } &&
38600 { ac_try
='test -z "$ac_c_werror_flag"
38601 || test ! -s conftest.err'
38602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38603 (eval $ac_try) 2>&5
38605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38606 (exit $ac_status); }; } &&
38607 { ac_try
='test -s conftest$ac_exeext'
38608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38609 (eval $ac_try) 2>&5
38611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38612 (exit $ac_status); }; }; then
38613 am_cv_func_iconv
=yes
38615 echo "$as_me: failed program was:" >&5
38616 sed 's/^/| /' conftest.
$ac_ext >&5
38619 rm -f conftest.err conftest.
$ac_objext \
38620 conftest
$ac_exeext conftest.
$ac_ext
38621 if test "$am_cv_func_iconv" != yes; then
38622 am_save_LIBS
="$LIBS"
38623 LIBS
="$LIBS -liconv"
38624 cat >conftest.
$ac_ext <<_ACEOF
38627 cat confdefs.h
>>conftest.
$ac_ext
38628 cat >>conftest.
$ac_ext <<_ACEOF
38629 /* end confdefs.h. */
38630 #include <stdlib.h>
38635 iconv_t cd = iconv_open("","");
38636 iconv(cd,NULL,NULL,NULL,NULL);
38642 rm -f conftest.
$ac_objext conftest
$ac_exeext
38643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38644 (eval $ac_link) 2>conftest.er1
38646 grep -v '^ *+' conftest.er1
>conftest.err
38648 cat conftest.err
>&5
38649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38650 (exit $ac_status); } &&
38651 { ac_try
='test -z "$ac_c_werror_flag"
38652 || test ! -s conftest.err'
38653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38654 (eval $ac_try) 2>&5
38656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38657 (exit $ac_status); }; } &&
38658 { ac_try
='test -s conftest$ac_exeext'
38659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38660 (eval $ac_try) 2>&5
38662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38663 (exit $ac_status); }; }; then
38664 am_cv_lib_iconv
=yes
38665 am_cv_func_iconv
=yes
38667 echo "$as_me: failed program was:" >&5
38668 sed 's/^/| /' conftest.
$ac_ext >&5
38671 rm -f conftest.err conftest.
$ac_objext \
38672 conftest
$ac_exeext conftest.
$ac_ext
38673 LIBS
="$am_save_LIBS"
38677 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38678 echo "${ECHO_T}$am_cv_func_iconv" >&6
38679 if test "$am_cv_func_iconv" = yes; then
38681 cat >>confdefs.h
<<\_ACEOF
38682 #define HAVE_ICONV 1
38685 echo "$as_me:$LINENO: checking if iconv needs const" >&5
38686 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
38687 if test "${wx_cv_func_iconv_const+set}" = set; then
38688 echo $ECHO_N "(cached) $ECHO_C" >&6
38690 cat >conftest.
$ac_ext <<_ACEOF
38693 cat confdefs.h
>>conftest.
$ac_ext
38694 cat >>conftest.
$ac_ext <<_ACEOF
38695 /* end confdefs.h. */
38697 #include <stdlib.h>
38703 #if defined(__STDC__) || defined(__cplusplus)
38704 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38717 rm -f conftest.
$ac_objext
38718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38719 (eval $ac_compile) 2>conftest.er1
38721 grep -v '^ *+' conftest.er1
>conftest.err
38723 cat conftest.err
>&5
38724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38725 (exit $ac_status); } &&
38726 { ac_try
='test -z "$ac_c_werror_flag"
38727 || test ! -s conftest.err'
38728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38729 (eval $ac_try) 2>&5
38731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38732 (exit $ac_status); }; } &&
38733 { ac_try
='test -s conftest.$ac_objext'
38734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38735 (eval $ac_try) 2>&5
38737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738 (exit $ac_status); }; }; then
38739 wx_cv_func_iconv_const
="no"
38741 echo "$as_me: failed program was:" >&5
38742 sed 's/^/| /' conftest.
$ac_ext >&5
38744 wx_cv_func_iconv_const
="yes"
38747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38750 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38751 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
38754 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38755 iconv_const
="const"
38759 cat >>confdefs.h
<<_ACEOF
38760 #define ICONV_CONST $iconv_const
38765 if test "$am_cv_lib_iconv" = yes; then
38770 LIBS
="$LIBICONV $LIBS"
38772 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38774 for ac_func
in sigaction
38776 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38777 echo "$as_me:$LINENO: checking for $ac_func" >&5
38778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38779 if eval "test \"\${$as_ac_var+set}\" = set"; then
38780 echo $ECHO_N "(cached) $ECHO_C" >&6
38782 cat >conftest.
$ac_ext <<_ACEOF
38785 cat confdefs.h
>>conftest.
$ac_ext
38786 cat >>conftest.
$ac_ext <<_ACEOF
38787 /* end confdefs.h. */
38788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38790 #define $ac_func innocuous_$ac_func
38792 /* System header to define __stub macros and hopefully few prototypes,
38793 which can conflict with char $ac_func (); below.
38794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38795 <limits.h> exists even on freestanding compilers. */
38798 # include <limits.h>
38800 # include <assert.h>
38805 /* Override any gcc2 internal prototype to avoid an error. */
38810 /* We use char because int might match the return type of a gcc2
38811 builtin and then its argument prototype would still apply. */
38813 /* The GNU C library defines this for functions which it implements
38814 to always fail with ENOSYS. Some functions are actually named
38815 something starting with __ and the normal name is an alias. */
38816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38819 char (*f) () = $ac_func;
38828 return f != $ac_func;
38833 rm -f conftest.
$ac_objext conftest
$ac_exeext
38834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38835 (eval $ac_link) 2>conftest.er1
38837 grep -v '^ *+' conftest.er1
>conftest.err
38839 cat conftest.err
>&5
38840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38841 (exit $ac_status); } &&
38842 { ac_try
='test -z "$ac_c_werror_flag"
38843 || test ! -s conftest.err'
38844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38845 (eval $ac_try) 2>&5
38847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38848 (exit $ac_status); }; } &&
38849 { ac_try
='test -s conftest$ac_exeext'
38850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38851 (eval $ac_try) 2>&5
38853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38854 (exit $ac_status); }; }; then
38855 eval "$as_ac_var=yes"
38857 echo "$as_me: failed program was:" >&5
38858 sed 's/^/| /' conftest.
$ac_ext >&5
38860 eval "$as_ac_var=no"
38862 rm -f conftest.err conftest.
$ac_objext \
38863 conftest
$ac_exeext conftest.
$ac_ext
38865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38867 if test `eval echo '${'$as_ac_var'}'` = yes; then
38868 cat >>confdefs.h
<<_ACEOF
38869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38876 if test "$ac_cv_func_sigaction" = "no"; then
38877 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38878 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38879 wxUSE_ON_FATAL_EXCEPTION
=no
38882 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38883 echo "$as_me:$LINENO: checking for sa_handler type" >&5
38884 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
38885 if test "${wx_cv_type_sa_handler+set}" = set; then
38886 echo $ECHO_N "(cached) $ECHO_C" >&6
38890 ac_cpp
='$CXXCPP $CPPFLAGS'
38891 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38892 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38893 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38895 cat >conftest.
$ac_ext <<_ACEOF
38898 cat confdefs.h
>>conftest.
$ac_ext
38899 cat >>conftest.
$ac_ext <<_ACEOF
38900 /* end confdefs.h. */
38901 #include <signal.h>
38906 extern void testSigHandler(int);
38908 struct sigaction sa;
38909 sa.sa_handler = testSigHandler;
38915 rm -f conftest.
$ac_objext
38916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38917 (eval $ac_compile) 2>conftest.er1
38919 grep -v '^ *+' conftest.er1
>conftest.err
38921 cat conftest.err
>&5
38922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38923 (exit $ac_status); } &&
38924 { ac_try
='test -z "$ac_cxx_werror_flag"
38925 || test ! -s conftest.err'
38926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38927 (eval $ac_try) 2>&5
38929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38930 (exit $ac_status); }; } &&
38931 { ac_try
='test -s conftest.$ac_objext'
38932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38933 (eval $ac_try) 2>&5
38935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38936 (exit $ac_status); }; }; then
38938 wx_cv_type_sa_handler
=int
38941 echo "$as_me: failed program was:" >&5
38942 sed 's/^/| /' conftest.
$ac_ext >&5
38945 wx_cv_type_sa_handler
=void
38948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38950 ac_cpp
='$CPP $CPPFLAGS'
38951 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38952 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38953 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38957 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38958 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
38960 cat >>confdefs.h
<<_ACEOF
38961 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38967 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38968 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38969 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
38970 if test "${wx_cv_func_backtrace+set}" = set; then
38971 echo $ECHO_N "(cached) $ECHO_C" >&6
38975 ac_cpp
='$CXXCPP $CPPFLAGS'
38976 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38977 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38978 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38980 cat >conftest.
$ac_ext <<_ACEOF
38983 cat confdefs.h
>>conftest.
$ac_ext
38984 cat >>conftest.
$ac_ext <<_ACEOF
38985 /* end confdefs.h. */
38986 #include <execinfo.h>
38994 backtrace(trace, 1);
38995 messages = backtrace_symbols(trace, 1);
39001 rm -f conftest.
$ac_objext
39002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39003 (eval $ac_compile) 2>conftest.er1
39005 grep -v '^ *+' conftest.er1
>conftest.err
39007 cat conftest.err
>&5
39008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39009 (exit $ac_status); } &&
39010 { ac_try
='test -z "$ac_cxx_werror_flag"
39011 || test ! -s conftest.err'
39012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39013 (eval $ac_try) 2>&5
39015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39016 (exit $ac_status); }; } &&
39017 { ac_try
='test -s conftest.$ac_objext'
39018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39019 (eval $ac_try) 2>&5
39021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39022 (exit $ac_status); }; }; then
39023 wx_cv_func_backtrace
=yes
39025 echo "$as_me: failed program was:" >&5
39026 sed 's/^/| /' conftest.
$ac_ext >&5
39028 wx_cv_func_backtrace
=no
39031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39033 ac_cpp
='$CPP $CPPFLAGS'
39034 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39035 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39036 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39041 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39042 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
39045 if test "$wx_cv_func_backtrace" = "no"; then
39046 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39047 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39048 wxUSE_STACKWALKER
=no
39050 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39051 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
39052 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39053 echo $ECHO_N "(cached) $ECHO_C" >&6
39057 ac_cpp
='$CXXCPP $CPPFLAGS'
39058 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39059 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39060 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39062 cat >conftest.
$ac_ext <<_ACEOF
39065 cat confdefs.h
>>conftest.
$ac_ext
39066 cat >>conftest.
$ac_ext <<_ACEOF
39067 /* end confdefs.h. */
39068 #include <cxxabi.h>
39074 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39080 rm -f conftest.
$ac_objext conftest
$ac_exeext
39081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39082 (eval $ac_link) 2>conftest.er1
39084 grep -v '^ *+' conftest.er1
>conftest.err
39086 cat conftest.err
>&5
39087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39088 (exit $ac_status); } &&
39089 { ac_try
='test -z "$ac_cxx_werror_flag"
39090 || test ! -s conftest.err'
39091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39092 (eval $ac_try) 2>&5
39094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); }; } &&
39096 { ac_try
='test -s conftest$ac_exeext'
39097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39098 (eval $ac_try) 2>&5
39100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39101 (exit $ac_status); }; }; then
39102 wx_cv_func_cxa_demangle
=yes
39104 echo "$as_me: failed program was:" >&5
39105 sed 's/^/| /' conftest.
$ac_ext >&5
39107 wx_cv_func_cxa_demangle
=no
39110 rm -f conftest.err conftest.
$ac_objext \
39111 conftest
$ac_exeext conftest.
$ac_ext
39113 ac_cpp
='$CPP $CPPFLAGS'
39114 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39115 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39116 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39121 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39122 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
39124 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39125 cat >>confdefs.h
<<\_ACEOF
39126 #define HAVE_CXA_DEMANGLE 1
39133 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39134 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39135 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39136 wxUSE_STACKWALKER
=no
39142 for ac_func
in mkstemp mktemp
39144 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39145 echo "$as_me:$LINENO: checking for $ac_func" >&5
39146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39147 if eval "test \"\${$as_ac_var+set}\" = set"; then
39148 echo $ECHO_N "(cached) $ECHO_C" >&6
39150 cat >conftest.
$ac_ext <<_ACEOF
39153 cat confdefs.h
>>conftest.
$ac_ext
39154 cat >>conftest.
$ac_ext <<_ACEOF
39155 /* end confdefs.h. */
39156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39158 #define $ac_func innocuous_$ac_func
39160 /* System header to define __stub macros and hopefully few prototypes,
39161 which can conflict with char $ac_func (); below.
39162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39163 <limits.h> exists even on freestanding compilers. */
39166 # include <limits.h>
39168 # include <assert.h>
39173 /* Override any gcc2 internal prototype to avoid an error. */
39178 /* We use char because int might match the return type of a gcc2
39179 builtin and then its argument prototype would still apply. */
39181 /* The GNU C library defines this for functions which it implements
39182 to always fail with ENOSYS. Some functions are actually named
39183 something starting with __ and the normal name is an alias. */
39184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39187 char (*f) () = $ac_func;
39196 return f != $ac_func;
39201 rm -f conftest.
$ac_objext conftest
$ac_exeext
39202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39203 (eval $ac_link) 2>conftest.er1
39205 grep -v '^ *+' conftest.er1
>conftest.err
39207 cat conftest.err
>&5
39208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39209 (exit $ac_status); } &&
39210 { ac_try
='test -z "$ac_c_werror_flag"
39211 || test ! -s conftest.err'
39212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39213 (eval $ac_try) 2>&5
39215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39216 (exit $ac_status); }; } &&
39217 { ac_try
='test -s conftest$ac_exeext'
39218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39219 (eval $ac_try) 2>&5
39221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222 (exit $ac_status); }; }; then
39223 eval "$as_ac_var=yes"
39225 echo "$as_me: failed program was:" >&5
39226 sed 's/^/| /' conftest.
$ac_ext >&5
39228 eval "$as_ac_var=no"
39230 rm -f conftest.err conftest.
$ac_objext \
39231 conftest
$ac_exeext conftest.
$ac_ext
39233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39235 if test `eval echo '${'$as_ac_var'}'` = yes; then
39236 cat >>confdefs.h
<<_ACEOF
39237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39244 echo "$as_me:$LINENO: checking for statfs" >&5
39245 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
39246 if test "${wx_cv_func_statfs+set}" = set; then
39247 echo $ECHO_N "(cached) $ECHO_C" >&6
39249 cat >conftest.
$ac_ext <<_ACEOF
39252 cat confdefs.h
>>conftest.
$ac_ext
39253 cat >>conftest.
$ac_ext <<_ACEOF
39254 /* end confdefs.h. */
39256 #if defined(__BSD__)
39257 #include <sys/param.h>
39258 #include <sys/mount.h>
39260 #include <sys/vfs.h>
39278 rm -f conftest.
$ac_objext
39279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39280 (eval $ac_compile) 2>conftest.er1
39282 grep -v '^ *+' conftest.er1
>conftest.err
39284 cat conftest.err
>&5
39285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39286 (exit $ac_status); } &&
39287 { ac_try
='test -z "$ac_c_werror_flag"
39288 || test ! -s conftest.err'
39289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39290 (eval $ac_try) 2>&5
39292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39293 (exit $ac_status); }; } &&
39294 { ac_try
='test -s conftest.$ac_objext'
39295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39296 (eval $ac_try) 2>&5
39298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39299 (exit $ac_status); }; }; then
39300 wx_cv_func_statfs
=yes
39302 echo "$as_me: failed program was:" >&5
39303 sed 's/^/| /' conftest.
$ac_ext >&5
39305 wx_cv_func_statfs
=no
39308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39311 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39312 echo "${ECHO_T}$wx_cv_func_statfs" >&6
39314 if test "$wx_cv_func_statfs" = "yes"; then
39315 echo "$as_me:$LINENO: checking for statfs declaration" >&5
39316 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
39317 if test "${wx_cv_func_statfs_decl+set}" = set; then
39318 echo $ECHO_N "(cached) $ECHO_C" >&6
39321 ac_cpp
='$CXXCPP $CPPFLAGS'
39322 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39323 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39324 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39326 cat >conftest.
$ac_ext <<_ACEOF
39329 cat confdefs.h
>>conftest.
$ac_ext
39330 cat >>conftest.
$ac_ext <<_ACEOF
39331 /* end confdefs.h. */
39333 #if defined(__BSD__)
39334 #include <sys/param.h>
39335 #include <sys/mount.h>
39337 #include <sys/vfs.h>
39351 rm -f conftest.
$ac_objext
39352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39353 (eval $ac_compile) 2>conftest.er1
39355 grep -v '^ *+' conftest.er1
>conftest.err
39357 cat conftest.err
>&5
39358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39359 (exit $ac_status); } &&
39360 { ac_try
='test -z "$ac_cxx_werror_flag"
39361 || test ! -s conftest.err'
39362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39363 (eval $ac_try) 2>&5
39365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39366 (exit $ac_status); }; } &&
39367 { ac_try
='test -s conftest.$ac_objext'
39368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39369 (eval $ac_try) 2>&5
39371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39372 (exit $ac_status); }; }; then
39373 wx_cv_func_statfs_decl
=yes
39375 echo "$as_me: failed program was:" >&5
39376 sed 's/^/| /' conftest.
$ac_ext >&5
39378 wx_cv_func_statfs_decl
=no
39381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39383 ac_cpp
='$CPP $CPPFLAGS'
39384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39390 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39391 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
39393 if test "$wx_cv_func_statfs_decl" = "yes"; then
39394 cat >>confdefs.h
<<\_ACEOF
39395 #define HAVE_STATFS_DECL 1
39400 wx_cv_type_statvfs_t
="struct statfs"
39401 cat >>confdefs.h
<<\_ACEOF
39402 #define HAVE_STATFS 1
39406 echo "$as_me:$LINENO: checking for statvfs" >&5
39407 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
39408 if test "${wx_cv_func_statvfs+set}" = set; then
39409 echo $ECHO_N "(cached) $ECHO_C" >&6
39411 cat >conftest.
$ac_ext <<_ACEOF
39414 cat confdefs.h
>>conftest.
$ac_ext
39415 cat >>conftest.
$ac_ext <<_ACEOF
39416 /* end confdefs.h. */
39418 #include <stddef.h>
39419 #include <sys/statvfs.h>
39425 statvfs("/", NULL);
39431 rm -f conftest.
$ac_objext
39432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39433 (eval $ac_compile) 2>conftest.er1
39435 grep -v '^ *+' conftest.er1
>conftest.err
39437 cat conftest.err
>&5
39438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39439 (exit $ac_status); } &&
39440 { ac_try
='test -z "$ac_c_werror_flag"
39441 || test ! -s conftest.err'
39442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39443 (eval $ac_try) 2>&5
39445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39446 (exit $ac_status); }; } &&
39447 { ac_try
='test -s conftest.$ac_objext'
39448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39449 (eval $ac_try) 2>&5
39451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39452 (exit $ac_status); }; }; then
39453 wx_cv_func_statvfs
=yes
39455 echo "$as_me: failed program was:" >&5
39456 sed 's/^/| /' conftest.
$ac_ext >&5
39458 wx_cv_func_statvfs
=no
39461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39464 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39465 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
39467 if test "$wx_cv_func_statvfs" = "yes"; then
39468 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39469 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
39470 if test "${wx_cv_type_statvfs_t+set}" = set; then
39471 echo $ECHO_N "(cached) $ECHO_C" >&6
39474 ac_cpp
='$CXXCPP $CPPFLAGS'
39475 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39476 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39477 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39479 cat >conftest.
$ac_ext <<_ACEOF
39482 cat confdefs.h
>>conftest.
$ac_ext
39483 cat >>conftest.
$ac_ext <<_ACEOF
39484 /* end confdefs.h. */
39486 #include <sys/statvfs.h>
39503 rm -f conftest.
$ac_objext
39504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39505 (eval $ac_compile) 2>conftest.er1
39507 grep -v '^ *+' conftest.er1
>conftest.err
39509 cat conftest.err
>&5
39510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39511 (exit $ac_status); } &&
39512 { ac_try
='test -z "$ac_cxx_werror_flag"
39513 || test ! -s conftest.err'
39514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39515 (eval $ac_try) 2>&5
39517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39518 (exit $ac_status); }; } &&
39519 { ac_try
='test -s conftest.$ac_objext'
39520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39521 (eval $ac_try) 2>&5
39523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39524 (exit $ac_status); }; }; then
39525 wx_cv_type_statvfs_t
=statvfs_t
39527 echo "$as_me: failed program was:" >&5
39528 sed 's/^/| /' conftest.
$ac_ext >&5
39531 cat >conftest.
$ac_ext <<_ACEOF
39534 cat confdefs.h
>>conftest.
$ac_ext
39535 cat >>conftest.
$ac_ext <<_ACEOF
39536 /* end confdefs.h. */
39538 #include <sys/statvfs.h>
39555 rm -f conftest.
$ac_objext
39556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39557 (eval $ac_compile) 2>conftest.er1
39559 grep -v '^ *+' conftest.er1
>conftest.err
39561 cat conftest.err
>&5
39562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39563 (exit $ac_status); } &&
39564 { ac_try
='test -z "$ac_cxx_werror_flag"
39565 || test ! -s conftest.err'
39566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39567 (eval $ac_try) 2>&5
39569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39570 (exit $ac_status); }; } &&
39571 { ac_try
='test -s conftest.$ac_objext'
39572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39573 (eval $ac_try) 2>&5
39575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39576 (exit $ac_status); }; }; then
39577 wx_cv_type_statvfs_t
="struct statvfs"
39579 echo "$as_me: failed program was:" >&5
39580 sed 's/^/| /' conftest.
$ac_ext >&5
39582 wx_cv_type_statvfs_t
="unknown"
39585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39591 ac_cpp
='$CPP $CPPFLAGS'
39592 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39593 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39594 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39598 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39599 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
39601 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39602 cat >>confdefs.h
<<\_ACEOF
39603 #define HAVE_STATVFS 1
39608 wx_cv_type_statvfs_t
="unknown"
39612 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39613 cat >>confdefs.h
<<_ACEOF
39614 #define WX_STATFS_T $wx_cv_type_statvfs_t
39618 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39619 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39622 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39625 for ac_func
in fcntl flock
39627 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39628 echo "$as_me:$LINENO: checking for $ac_func" >&5
39629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39630 if eval "test \"\${$as_ac_var+set}\" = set"; then
39631 echo $ECHO_N "(cached) $ECHO_C" >&6
39633 cat >conftest.
$ac_ext <<_ACEOF
39636 cat confdefs.h
>>conftest.
$ac_ext
39637 cat >>conftest.
$ac_ext <<_ACEOF
39638 /* end confdefs.h. */
39639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39641 #define $ac_func innocuous_$ac_func
39643 /* System header to define __stub macros and hopefully few prototypes,
39644 which can conflict with char $ac_func (); below.
39645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39646 <limits.h> exists even on freestanding compilers. */
39649 # include <limits.h>
39651 # include <assert.h>
39656 /* Override any gcc2 internal prototype to avoid an error. */
39661 /* We use char because int might match the return type of a gcc2
39662 builtin and then its argument prototype would still apply. */
39664 /* The GNU C library defines this for functions which it implements
39665 to always fail with ENOSYS. Some functions are actually named
39666 something starting with __ and the normal name is an alias. */
39667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39670 char (*f) () = $ac_func;
39679 return f != $ac_func;
39684 rm -f conftest.
$ac_objext conftest
$ac_exeext
39685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39686 (eval $ac_link) 2>conftest.er1
39688 grep -v '^ *+' conftest.er1
>conftest.err
39690 cat conftest.err
>&5
39691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39692 (exit $ac_status); } &&
39693 { ac_try
='test -z "$ac_c_werror_flag"
39694 || test ! -s conftest.err'
39695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39696 (eval $ac_try) 2>&5
39698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39699 (exit $ac_status); }; } &&
39700 { ac_try
='test -s conftest$ac_exeext'
39701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39702 (eval $ac_try) 2>&5
39704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39705 (exit $ac_status); }; }; then
39706 eval "$as_ac_var=yes"
39708 echo "$as_me: failed program was:" >&5
39709 sed 's/^/| /' conftest.
$ac_ext >&5
39711 eval "$as_ac_var=no"
39713 rm -f conftest.err conftest.
$ac_objext \
39714 conftest
$ac_exeext conftest.
$ac_ext
39716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39718 if test `eval echo '${'$as_ac_var'}'` = yes; then
39719 cat >>confdefs.h
<<_ACEOF
39720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39727 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39728 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39729 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39730 wxUSE_SNGLINST_CHECKER
=no
39735 for ac_func
in timegm
39737 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39738 echo "$as_me:$LINENO: checking for $ac_func" >&5
39739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39740 if eval "test \"\${$as_ac_var+set}\" = set"; then
39741 echo $ECHO_N "(cached) $ECHO_C" >&6
39743 cat >conftest.
$ac_ext <<_ACEOF
39746 cat confdefs.h
>>conftest.
$ac_ext
39747 cat >>conftest.
$ac_ext <<_ACEOF
39748 /* end confdefs.h. */
39749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39751 #define $ac_func innocuous_$ac_func
39753 /* System header to define __stub macros and hopefully few prototypes,
39754 which can conflict with char $ac_func (); below.
39755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39756 <limits.h> exists even on freestanding compilers. */
39759 # include <limits.h>
39761 # include <assert.h>
39766 /* Override any gcc2 internal prototype to avoid an error. */
39771 /* We use char because int might match the return type of a gcc2
39772 builtin and then its argument prototype would still apply. */
39774 /* The GNU C library defines this for functions which it implements
39775 to always fail with ENOSYS. Some functions are actually named
39776 something starting with __ and the normal name is an alias. */
39777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39780 char (*f) () = $ac_func;
39789 return f != $ac_func;
39794 rm -f conftest.
$ac_objext conftest
$ac_exeext
39795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39796 (eval $ac_link) 2>conftest.er1
39798 grep -v '^ *+' conftest.er1
>conftest.err
39800 cat conftest.err
>&5
39801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39802 (exit $ac_status); } &&
39803 { ac_try
='test -z "$ac_c_werror_flag"
39804 || test ! -s conftest.err'
39805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39806 (eval $ac_try) 2>&5
39808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39809 (exit $ac_status); }; } &&
39810 { ac_try
='test -s conftest$ac_exeext'
39811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39812 (eval $ac_try) 2>&5
39814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39815 (exit $ac_status); }; }; then
39816 eval "$as_ac_var=yes"
39818 echo "$as_me: failed program was:" >&5
39819 sed 's/^/| /' conftest.
$ac_ext >&5
39821 eval "$as_ac_var=no"
39823 rm -f conftest.err conftest.
$ac_objext \
39824 conftest
$ac_exeext conftest.
$ac_ext
39826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39828 if test `eval echo '${'$as_ac_var'}'` = yes; then
39829 cat >>confdefs.h
<<_ACEOF
39830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39839 for ac_func
in setenv putenv
39841 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39842 echo "$as_me:$LINENO: checking for $ac_func" >&5
39843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39844 if eval "test \"\${$as_ac_var+set}\" = set"; then
39845 echo $ECHO_N "(cached) $ECHO_C" >&6
39847 cat >conftest.
$ac_ext <<_ACEOF
39850 cat confdefs.h
>>conftest.
$ac_ext
39851 cat >>conftest.
$ac_ext <<_ACEOF
39852 /* end confdefs.h. */
39853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39855 #define $ac_func innocuous_$ac_func
39857 /* System header to define __stub macros and hopefully few prototypes,
39858 which can conflict with char $ac_func (); below.
39859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39860 <limits.h> exists even on freestanding compilers. */
39863 # include <limits.h>
39865 # include <assert.h>
39870 /* Override any gcc2 internal prototype to avoid an error. */
39875 /* We use char because int might match the return type of a gcc2
39876 builtin and then its argument prototype would still apply. */
39878 /* The GNU C library defines this for functions which it implements
39879 to always fail with ENOSYS. Some functions are actually named
39880 something starting with __ and the normal name is an alias. */
39881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39884 char (*f) () = $ac_func;
39893 return f != $ac_func;
39898 rm -f conftest.
$ac_objext conftest
$ac_exeext
39899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39900 (eval $ac_link) 2>conftest.er1
39902 grep -v '^ *+' conftest.er1
>conftest.err
39904 cat conftest.err
>&5
39905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39906 (exit $ac_status); } &&
39907 { ac_try
='test -z "$ac_c_werror_flag"
39908 || test ! -s conftest.err'
39909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39910 (eval $ac_try) 2>&5
39912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39913 (exit $ac_status); }; } &&
39914 { ac_try
='test -s conftest$ac_exeext'
39915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39916 (eval $ac_try) 2>&5
39918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39919 (exit $ac_status); }; }; then
39920 eval "$as_ac_var=yes"
39922 echo "$as_me: failed program was:" >&5
39923 sed 's/^/| /' conftest.
$ac_ext >&5
39925 eval "$as_ac_var=no"
39927 rm -f conftest.err conftest.
$ac_objext \
39928 conftest
$ac_exeext conftest.
$ac_ext
39930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39932 if test `eval echo '${'$as_ac_var'}'` = yes; then
39933 cat >>confdefs.h
<<_ACEOF
39934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39940 if test "$ac_cv_func_setenv" = "yes"; then
39942 for ac_func
in unsetenv
39944 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39945 echo "$as_me:$LINENO: checking for $ac_func" >&5
39946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39947 if eval "test \"\${$as_ac_var+set}\" = set"; then
39948 echo $ECHO_N "(cached) $ECHO_C" >&6
39950 cat >conftest.
$ac_ext <<_ACEOF
39953 cat confdefs.h
>>conftest.
$ac_ext
39954 cat >>conftest.
$ac_ext <<_ACEOF
39955 /* end confdefs.h. */
39956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39958 #define $ac_func innocuous_$ac_func
39960 /* System header to define __stub macros and hopefully few prototypes,
39961 which can conflict with char $ac_func (); below.
39962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39963 <limits.h> exists even on freestanding compilers. */
39966 # include <limits.h>
39968 # include <assert.h>
39973 /* Override any gcc2 internal prototype to avoid an error. */
39978 /* We use char because int might match the return type of a gcc2
39979 builtin and then its argument prototype would still apply. */
39981 /* The GNU C library defines this for functions which it implements
39982 to always fail with ENOSYS. Some functions are actually named
39983 something starting with __ and the normal name is an alias. */
39984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39987 char (*f) () = $ac_func;
39996 return f != $ac_func;
40001 rm -f conftest.
$ac_objext conftest
$ac_exeext
40002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40003 (eval $ac_link) 2>conftest.er1
40005 grep -v '^ *+' conftest.er1
>conftest.err
40007 cat conftest.err
>&5
40008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40009 (exit $ac_status); } &&
40010 { ac_try
='test -z "$ac_c_werror_flag"
40011 || test ! -s conftest.err'
40012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40013 (eval $ac_try) 2>&5
40015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40016 (exit $ac_status); }; } &&
40017 { ac_try
='test -s conftest$ac_exeext'
40018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40019 (eval $ac_try) 2>&5
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); }; }; then
40023 eval "$as_ac_var=yes"
40025 echo "$as_me: failed program was:" >&5
40026 sed 's/^/| /' conftest.
$ac_ext >&5
40028 eval "$as_ac_var=no"
40030 rm -f conftest.err conftest.
$ac_objext \
40031 conftest
$ac_exeext conftest.
$ac_ext
40033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40035 if test `eval echo '${'$as_ac_var'}'` = yes; then
40036 cat >>confdefs.h
<<_ACEOF
40037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40045 HAVE_SOME_SLEEP_FUNC
=0
40046 if test "$USE_BEOS" = 1; then
40047 cat >>confdefs.h
<<\_ACEOF
40048 #define HAVE_SLEEP 1
40051 HAVE_SOME_SLEEP_FUNC
=1
40054 if test "$USE_DARWIN" = 1; then
40055 cat >>confdefs.h
<<\_ACEOF
40056 #define HAVE_USLEEP 1
40059 HAVE_SOME_SLEEP_FUNC
=1
40062 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40065 for ac_func
in nanosleep
40067 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40068 echo "$as_me:$LINENO: checking for $ac_func" >&5
40069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40070 if eval "test \"\${$as_ac_var+set}\" = set"; then
40071 echo $ECHO_N "(cached) $ECHO_C" >&6
40073 cat >conftest.
$ac_ext <<_ACEOF
40076 cat confdefs.h
>>conftest.
$ac_ext
40077 cat >>conftest.
$ac_ext <<_ACEOF
40078 /* end confdefs.h. */
40079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40081 #define $ac_func innocuous_$ac_func
40083 /* System header to define __stub macros and hopefully few prototypes,
40084 which can conflict with char $ac_func (); below.
40085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40086 <limits.h> exists even on freestanding compilers. */
40089 # include <limits.h>
40091 # include <assert.h>
40096 /* Override any gcc2 internal prototype to avoid an error. */
40101 /* We use char because int might match the return type of a gcc2
40102 builtin and then its argument prototype would still apply. */
40104 /* The GNU C library defines this for functions which it implements
40105 to always fail with ENOSYS. Some functions are actually named
40106 something starting with __ and the normal name is an alias. */
40107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40110 char (*f) () = $ac_func;
40119 return f != $ac_func;
40124 rm -f conftest.
$ac_objext conftest
$ac_exeext
40125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40126 (eval $ac_link) 2>conftest.er1
40128 grep -v '^ *+' conftest.er1
>conftest.err
40130 cat conftest.err
>&5
40131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40132 (exit $ac_status); } &&
40133 { ac_try
='test -z "$ac_c_werror_flag"
40134 || test ! -s conftest.err'
40135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40136 (eval $ac_try) 2>&5
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); }; } &&
40140 { ac_try
='test -s conftest$ac_exeext'
40141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40142 (eval $ac_try) 2>&5
40144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40145 (exit $ac_status); }; }; then
40146 eval "$as_ac_var=yes"
40148 echo "$as_me: failed program was:" >&5
40149 sed 's/^/| /' conftest.
$ac_ext >&5
40151 eval "$as_ac_var=no"
40153 rm -f conftest.err conftest.
$ac_objext \
40154 conftest
$ac_exeext conftest.
$ac_ext
40156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40158 if test `eval echo '${'$as_ac_var'}'` = yes; then
40159 cat >>confdefs.h
<<_ACEOF
40160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40162 cat >>confdefs.h
<<\_ACEOF
40163 #define HAVE_NANOSLEEP 1
40168 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40169 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
40170 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40171 echo $ECHO_N "(cached) $ECHO_C" >&6
40173 ac_check_lib_save_LIBS
=$LIBS
40174 LIBS
="-lposix4 $LIBS"
40175 cat >conftest.
$ac_ext <<_ACEOF
40178 cat confdefs.h
>>conftest.
$ac_ext
40179 cat >>conftest.
$ac_ext <<_ACEOF
40180 /* end confdefs.h. */
40182 /* Override any gcc2 internal prototype to avoid an error. */
40186 /* We use char because int might match the return type of a gcc2
40187 builtin and then its argument prototype would still apply. */
40197 rm -f conftest.
$ac_objext conftest
$ac_exeext
40198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40199 (eval $ac_link) 2>conftest.er1
40201 grep -v '^ *+' conftest.er1
>conftest.err
40203 cat conftest.err
>&5
40204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40205 (exit $ac_status); } &&
40206 { ac_try
='test -z "$ac_c_werror_flag"
40207 || test ! -s conftest.err'
40208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40209 (eval $ac_try) 2>&5
40211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40212 (exit $ac_status); }; } &&
40213 { ac_try
='test -s conftest$ac_exeext'
40214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40215 (eval $ac_try) 2>&5
40217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40218 (exit $ac_status); }; }; then
40219 ac_cv_lib_posix4_nanosleep
=yes
40221 echo "$as_me: failed program was:" >&5
40222 sed 's/^/| /' conftest.
$ac_ext >&5
40224 ac_cv_lib_posix4_nanosleep
=no
40226 rm -f conftest.err conftest.
$ac_objext \
40227 conftest
$ac_exeext conftest.
$ac_ext
40228 LIBS
=$ac_check_lib_save_LIBS
40230 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40231 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
40232 if test $ac_cv_lib_posix4_nanosleep = yes; then
40234 cat >>confdefs.h
<<\_ACEOF
40235 #define HAVE_NANOSLEEP 1
40238 POSIX4_LINK
=" -lposix4"
40243 for wx_func
in usleep
40245 echo "$as_me:$LINENO: checking for $wx_func" >&5
40246 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
40247 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
40248 echo $ECHO_N "(cached) $ECHO_C" >&6
40251 cat >conftest.
$ac_ext <<_ACEOF
40255 cat confdefs.h
>>conftest.
$ac_ext
40256 cat >>conftest.
$ac_ext <<_ACEOF
40257 /* end confdefs.h. */
40260 $ac_includes_default
40276 rm -f conftest.
$ac_objext conftest
$ac_exeext
40277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40278 (eval $ac_link) 2>conftest.er1
40280 grep -v '^ *+' conftest.er1
>conftest.err
40282 cat conftest.err
>&5
40283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40284 (exit $ac_status); } &&
40285 { ac_try
='test -z "$ac_c_werror_flag"
40286 || test ! -s conftest.err'
40287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40288 (eval $ac_try) 2>&5
40290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40291 (exit $ac_status); }; } &&
40292 { ac_try
='test -s conftest$ac_exeext'
40293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40294 (eval $ac_try) 2>&5
40296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40297 (exit $ac_status); }; }; then
40298 eval wx_cv_func_
$wx_func=yes
40300 echo "$as_me: failed program was:" >&5
40301 sed 's/^/| /' conftest.
$ac_ext >&5
40303 eval wx_cv_func_
$wx_func=no
40305 rm -f conftest.err conftest.
$ac_objext \
40306 conftest
$ac_exeext conftest.
$ac_ext
40309 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
40310 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
40312 if eval test \
$wx_cv_func_$wx_func = yes
40314 cat >>confdefs.h
<<_ACEOF
40315 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40321 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40322 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40339 for wx_func
in uname
40341 echo "$as_me:$LINENO: checking for $wx_func" >&5
40342 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
40343 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
40344 echo $ECHO_N "(cached) $ECHO_C" >&6
40347 cat >conftest.
$ac_ext <<_ACEOF
40351 cat confdefs.h
>>conftest.
$ac_ext
40352 cat >>conftest.
$ac_ext <<_ACEOF
40353 /* end confdefs.h. */
40355 #include <sys/utsname.h>
40356 $ac_includes_default
40372 rm -f conftest.
$ac_objext conftest
$ac_exeext
40373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40374 (eval $ac_link) 2>conftest.er1
40376 grep -v '^ *+' conftest.er1
>conftest.err
40378 cat conftest.err
>&5
40379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40380 (exit $ac_status); } &&
40381 { ac_try
='test -z "$ac_c_werror_flag"
40382 || test ! -s conftest.err'
40383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40384 (eval $ac_try) 2>&5
40386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40387 (exit $ac_status); }; } &&
40388 { ac_try
='test -s conftest$ac_exeext'
40389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40390 (eval $ac_try) 2>&5
40392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40393 (exit $ac_status); }; }; then
40394 eval wx_cv_func_
$wx_func=yes
40396 echo "$as_me: failed program was:" >&5
40397 sed 's/^/| /' conftest.
$ac_ext >&5
40399 eval wx_cv_func_
$wx_func=no
40401 rm -f conftest.err conftest.
$ac_objext \
40402 conftest
$ac_exeext conftest.
$ac_ext
40405 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
40406 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
40408 if eval test \
$wx_cv_func_$wx_func = yes
40410 cat >>confdefs.h
<<_ACEOF
40411 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40421 if test "$wx_cv_func_uname" != yes; then
40423 for wx_func
in gethostname
40425 echo "$as_me:$LINENO: checking for $wx_func" >&5
40426 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
40427 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
40428 echo $ECHO_N "(cached) $ECHO_C" >&6
40431 cat >conftest.
$ac_ext <<_ACEOF
40435 cat confdefs.h
>>conftest.
$ac_ext
40436 cat >>conftest.
$ac_ext <<_ACEOF
40437 /* end confdefs.h. */
40440 $ac_includes_default
40456 rm -f conftest.
$ac_objext conftest
$ac_exeext
40457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40458 (eval $ac_link) 2>conftest.er1
40460 grep -v '^ *+' conftest.er1
>conftest.err
40462 cat conftest.err
>&5
40463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40464 (exit $ac_status); } &&
40465 { ac_try
='test -z "$ac_c_werror_flag"
40466 || test ! -s conftest.err'
40467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40468 (eval $ac_try) 2>&5
40470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40471 (exit $ac_status); }; } &&
40472 { ac_try
='test -s conftest$ac_exeext'
40473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40474 (eval $ac_try) 2>&5
40476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40477 (exit $ac_status); }; }; then
40478 eval wx_cv_func_
$wx_func=yes
40480 echo "$as_me: failed program was:" >&5
40481 sed 's/^/| /' conftest.
$ac_ext >&5
40483 eval wx_cv_func_
$wx_func=no
40485 rm -f conftest.err conftest.
$ac_objext \
40486 conftest
$ac_exeext conftest.
$ac_ext
40489 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
40490 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
40492 if eval test \
$wx_cv_func_$wx_func = yes
40494 cat >>confdefs.h
<<_ACEOF
40495 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40508 for wx_func
in strtok_r
40510 echo "$as_me:$LINENO: checking for $wx_func" >&5
40511 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
40512 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
40513 echo $ECHO_N "(cached) $ECHO_C" >&6
40516 cat >conftest.
$ac_ext <<_ACEOF
40520 cat confdefs.h
>>conftest.
$ac_ext
40521 cat >>conftest.
$ac_ext <<_ACEOF
40522 /* end confdefs.h. */
40525 $ac_includes_default
40541 rm -f conftest.
$ac_objext conftest
$ac_exeext
40542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40543 (eval $ac_link) 2>conftest.er1
40545 grep -v '^ *+' conftest.er1
>conftest.err
40547 cat conftest.err
>&5
40548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40549 (exit $ac_status); } &&
40550 { ac_try
='test -z "$ac_c_werror_flag"
40551 || test ! -s conftest.err'
40552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40553 (eval $ac_try) 2>&5
40555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40556 (exit $ac_status); }; } &&
40557 { ac_try
='test -s conftest$ac_exeext'
40558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40559 (eval $ac_try) 2>&5
40561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40562 (exit $ac_status); }; }; then
40563 eval wx_cv_func_
$wx_func=yes
40565 echo "$as_me: failed program was:" >&5
40566 sed 's/^/| /' conftest.
$ac_ext >&5
40568 eval wx_cv_func_
$wx_func=no
40570 rm -f conftest.err conftest.
$ac_objext \
40571 conftest
$ac_exeext conftest.
$ac_ext
40574 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
40575 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
40577 if eval test \
$wx_cv_func_$wx_func = yes
40579 cat >>confdefs.h
<<_ACEOF
40580 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40593 for ac_func
in inet_addr
40595 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40596 echo "$as_me:$LINENO: checking for $ac_func" >&5
40597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40598 if eval "test \"\${$as_ac_var+set}\" = set"; then
40599 echo $ECHO_N "(cached) $ECHO_C" >&6
40601 cat >conftest.
$ac_ext <<_ACEOF
40604 cat confdefs.h
>>conftest.
$ac_ext
40605 cat >>conftest.
$ac_ext <<_ACEOF
40606 /* end confdefs.h. */
40607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40609 #define $ac_func innocuous_$ac_func
40611 /* System header to define __stub macros and hopefully few prototypes,
40612 which can conflict with char $ac_func (); below.
40613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40614 <limits.h> exists even on freestanding compilers. */
40617 # include <limits.h>
40619 # include <assert.h>
40624 /* Override any gcc2 internal prototype to avoid an error. */
40629 /* We use char because int might match the return type of a gcc2
40630 builtin and then its argument prototype would still apply. */
40632 /* The GNU C library defines this for functions which it implements
40633 to always fail with ENOSYS. Some functions are actually named
40634 something starting with __ and the normal name is an alias. */
40635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40638 char (*f) () = $ac_func;
40647 return f != $ac_func;
40652 rm -f conftest.
$ac_objext conftest
$ac_exeext
40653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40654 (eval $ac_link) 2>conftest.er1
40656 grep -v '^ *+' conftest.er1
>conftest.err
40658 cat conftest.err
>&5
40659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40660 (exit $ac_status); } &&
40661 { ac_try
='test -z "$ac_c_werror_flag"
40662 || test ! -s conftest.err'
40663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40664 (eval $ac_try) 2>&5
40666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40667 (exit $ac_status); }; } &&
40668 { ac_try
='test -s conftest$ac_exeext'
40669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40670 (eval $ac_try) 2>&5
40672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40673 (exit $ac_status); }; }; then
40674 eval "$as_ac_var=yes"
40676 echo "$as_me: failed program was:" >&5
40677 sed 's/^/| /' conftest.
$ac_ext >&5
40679 eval "$as_ac_var=no"
40681 rm -f conftest.err conftest.
$ac_objext \
40682 conftest
$ac_exeext conftest.
$ac_ext
40684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40686 if test `eval echo '${'$as_ac_var'}'` = yes; then
40687 cat >>confdefs.h
<<_ACEOF
40688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40690 cat >>confdefs.h
<<\_ACEOF
40691 #define HAVE_INET_ADDR 1
40696 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40697 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
40698 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40699 echo $ECHO_N "(cached) $ECHO_C" >&6
40701 ac_check_lib_save_LIBS
=$LIBS
40703 cat >conftest.
$ac_ext <<_ACEOF
40706 cat confdefs.h
>>conftest.
$ac_ext
40707 cat >>conftest.
$ac_ext <<_ACEOF
40708 /* end confdefs.h. */
40710 /* Override any gcc2 internal prototype to avoid an error. */
40714 /* We use char because int might match the return type of a gcc2
40715 builtin and then its argument prototype would still apply. */
40725 rm -f conftest.
$ac_objext conftest
$ac_exeext
40726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40727 (eval $ac_link) 2>conftest.er1
40729 grep -v '^ *+' conftest.er1
>conftest.err
40731 cat conftest.err
>&5
40732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40733 (exit $ac_status); } &&
40734 { ac_try
='test -z "$ac_c_werror_flag"
40735 || test ! -s conftest.err'
40736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40737 (eval $ac_try) 2>&5
40739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40740 (exit $ac_status); }; } &&
40741 { ac_try
='test -s conftest$ac_exeext'
40742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40743 (eval $ac_try) 2>&5
40745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40746 (exit $ac_status); }; }; then
40747 ac_cv_lib_nsl_inet_addr
=yes
40749 echo "$as_me: failed program was:" >&5
40750 sed 's/^/| /' conftest.
$ac_ext >&5
40752 ac_cv_lib_nsl_inet_addr
=no
40754 rm -f conftest.err conftest.
$ac_objext \
40755 conftest
$ac_exeext conftest.
$ac_ext
40756 LIBS
=$ac_check_lib_save_LIBS
40758 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40759 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
40760 if test $ac_cv_lib_nsl_inet_addr = yes; then
40764 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40765 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
40766 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40767 echo $ECHO_N "(cached) $ECHO_C" >&6
40769 ac_check_lib_save_LIBS
=$LIBS
40770 LIBS
="-lresolv $LIBS"
40771 cat >conftest.
$ac_ext <<_ACEOF
40774 cat confdefs.h
>>conftest.
$ac_ext
40775 cat >>conftest.
$ac_ext <<_ACEOF
40776 /* end confdefs.h. */
40778 /* Override any gcc2 internal prototype to avoid an error. */
40782 /* We use char because int might match the return type of a gcc2
40783 builtin and then its argument prototype would still apply. */
40793 rm -f conftest.
$ac_objext conftest
$ac_exeext
40794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40795 (eval $ac_link) 2>conftest.er1
40797 grep -v '^ *+' conftest.er1
>conftest.err
40799 cat conftest.err
>&5
40800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40801 (exit $ac_status); } &&
40802 { ac_try
='test -z "$ac_c_werror_flag"
40803 || test ! -s conftest.err'
40804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40805 (eval $ac_try) 2>&5
40807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40808 (exit $ac_status); }; } &&
40809 { ac_try
='test -s conftest$ac_exeext'
40810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40811 (eval $ac_try) 2>&5
40813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40814 (exit $ac_status); }; }; then
40815 ac_cv_lib_resolv_inet_addr
=yes
40817 echo "$as_me: failed program was:" >&5
40818 sed 's/^/| /' conftest.
$ac_ext >&5
40820 ac_cv_lib_resolv_inet_addr
=no
40822 rm -f conftest.err conftest.
$ac_objext \
40823 conftest
$ac_exeext conftest.
$ac_ext
40824 LIBS
=$ac_check_lib_save_LIBS
40826 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40827 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
40828 if test $ac_cv_lib_resolv_inet_addr = yes; then
40832 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40833 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
40834 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40835 echo $ECHO_N "(cached) $ECHO_C" >&6
40837 ac_check_lib_save_LIBS
=$LIBS
40838 LIBS
="-lsocket $LIBS"
40839 cat >conftest.
$ac_ext <<_ACEOF
40842 cat confdefs.h
>>conftest.
$ac_ext
40843 cat >>conftest.
$ac_ext <<_ACEOF
40844 /* end confdefs.h. */
40846 /* Override any gcc2 internal prototype to avoid an error. */
40850 /* We use char because int might match the return type of a gcc2
40851 builtin and then its argument prototype would still apply. */
40861 rm -f conftest.
$ac_objext conftest
$ac_exeext
40862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40863 (eval $ac_link) 2>conftest.er1
40865 grep -v '^ *+' conftest.er1
>conftest.err
40867 cat conftest.err
>&5
40868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40869 (exit $ac_status); } &&
40870 { ac_try
='test -z "$ac_c_werror_flag"
40871 || test ! -s conftest.err'
40872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40873 (eval $ac_try) 2>&5
40875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40876 (exit $ac_status); }; } &&
40877 { ac_try
='test -s conftest$ac_exeext'
40878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40879 (eval $ac_try) 2>&5
40881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40882 (exit $ac_status); }; }; then
40883 ac_cv_lib_socket_inet_addr
=yes
40885 echo "$as_me: failed program was:" >&5
40886 sed 's/^/| /' conftest.
$ac_ext >&5
40888 ac_cv_lib_socket_inet_addr
=no
40890 rm -f conftest.err conftest.
$ac_objext \
40891 conftest
$ac_exeext conftest.
$ac_ext
40892 LIBS
=$ac_check_lib_save_LIBS
40894 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40895 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
40896 if test $ac_cv_lib_socket_inet_addr = yes; then
40916 for ac_func
in inet_aton
40918 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40919 echo "$as_me:$LINENO: checking for $ac_func" >&5
40920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40921 if eval "test \"\${$as_ac_var+set}\" = set"; then
40922 echo $ECHO_N "(cached) $ECHO_C" >&6
40924 cat >conftest.
$ac_ext <<_ACEOF
40927 cat confdefs.h
>>conftest.
$ac_ext
40928 cat >>conftest.
$ac_ext <<_ACEOF
40929 /* end confdefs.h. */
40930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40932 #define $ac_func innocuous_$ac_func
40934 /* System header to define __stub macros and hopefully few prototypes,
40935 which can conflict with char $ac_func (); below.
40936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40937 <limits.h> exists even on freestanding compilers. */
40940 # include <limits.h>
40942 # include <assert.h>
40947 /* Override any gcc2 internal prototype to avoid an error. */
40952 /* We use char because int might match the return type of a gcc2
40953 builtin and then its argument prototype would still apply. */
40955 /* The GNU C library defines this for functions which it implements
40956 to always fail with ENOSYS. Some functions are actually named
40957 something starting with __ and the normal name is an alias. */
40958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40961 char (*f) () = $ac_func;
40970 return f != $ac_func;
40975 rm -f conftest.
$ac_objext conftest
$ac_exeext
40976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40977 (eval $ac_link) 2>conftest.er1
40979 grep -v '^ *+' conftest.er1
>conftest.err
40981 cat conftest.err
>&5
40982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40983 (exit $ac_status); } &&
40984 { ac_try
='test -z "$ac_c_werror_flag"
40985 || test ! -s conftest.err'
40986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40987 (eval $ac_try) 2>&5
40989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40990 (exit $ac_status); }; } &&
40991 { ac_try
='test -s conftest$ac_exeext'
40992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40993 (eval $ac_try) 2>&5
40995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40996 (exit $ac_status); }; }; then
40997 eval "$as_ac_var=yes"
40999 echo "$as_me: failed program was:" >&5
41000 sed 's/^/| /' conftest.
$ac_ext >&5
41002 eval "$as_ac_var=no"
41004 rm -f conftest.err conftest.
$ac_objext \
41005 conftest
$ac_exeext conftest.
$ac_ext
41007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41009 if test `eval echo '${'$as_ac_var'}'` = yes; then
41010 cat >>confdefs.h
<<_ACEOF
41011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41013 cat >>confdefs.h
<<\_ACEOF
41014 #define HAVE_INET_ATON 1
41019 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41020 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41021 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
41022 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
41023 echo $ECHO_N "(cached) $ECHO_C" >&6
41025 ac_check_lib_save_LIBS
=$LIBS
41026 LIBS
="-l$INET_LINK $LIBS"
41027 cat >conftest.
$ac_ext <<_ACEOF
41030 cat confdefs.h
>>conftest.
$ac_ext
41031 cat >>conftest.
$ac_ext <<_ACEOF
41032 /* end confdefs.h. */
41034 /* Override any gcc2 internal prototype to avoid an error. */
41038 /* We use char because int might match the return type of a gcc2
41039 builtin and then its argument prototype would still apply. */
41049 rm -f conftest.
$ac_objext conftest
$ac_exeext
41050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41051 (eval $ac_link) 2>conftest.er1
41053 grep -v '^ *+' conftest.er1
>conftest.err
41055 cat conftest.err
>&5
41056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41057 (exit $ac_status); } &&
41058 { ac_try
='test -z "$ac_c_werror_flag"
41059 || test ! -s conftest.err'
41060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41061 (eval $ac_try) 2>&5
41063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41064 (exit $ac_status); }; } &&
41065 { ac_try
='test -s conftest$ac_exeext'
41066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41067 (eval $ac_try) 2>&5
41069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41070 (exit $ac_status); }; }; then
41071 eval "$as_ac_Lib=yes"
41073 echo "$as_me: failed program was:" >&5
41074 sed 's/^/| /' conftest.
$ac_ext >&5
41076 eval "$as_ac_Lib=no"
41078 rm -f conftest.err conftest.
$ac_objext \
41079 conftest
$ac_exeext conftest.
$ac_ext
41080 LIBS
=$ac_check_lib_save_LIBS
41082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
41083 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
41084 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41085 cat >>confdefs.h
<<\_ACEOF
41086 #define HAVE_INET_ATON 1
41096 if test "x$INET_LINK" != "x"; then
41097 cat >>confdefs.h
<<\_ACEOF
41098 #define HAVE_INET_ADDR 1
41101 INET_LINK
=" -l$INET_LINK"
41105 for wx_func
in fdopen
41107 echo "$as_me:$LINENO: checking for $wx_func" >&5
41108 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
41109 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
41110 echo $ECHO_N "(cached) $ECHO_C" >&6
41113 cat >conftest.
$ac_ext <<_ACEOF
41117 cat confdefs.h
>>conftest.
$ac_ext
41118 cat >>conftest.
$ac_ext <<_ACEOF
41119 /* end confdefs.h. */
41122 $ac_includes_default
41138 rm -f conftest.
$ac_objext conftest
$ac_exeext
41139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41140 (eval $ac_link) 2>conftest.er1
41142 grep -v '^ *+' conftest.er1
>conftest.err
41144 cat conftest.err
>&5
41145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41146 (exit $ac_status); } &&
41147 { ac_try
='test -z "$ac_c_werror_flag"
41148 || test ! -s conftest.err'
41149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41150 (eval $ac_try) 2>&5
41152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41153 (exit $ac_status); }; } &&
41154 { ac_try
='test -s conftest$ac_exeext'
41155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41156 (eval $ac_try) 2>&5
41158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41159 (exit $ac_status); }; }; then
41160 eval wx_cv_func_
$wx_func=yes
41162 echo "$as_me: failed program was:" >&5
41163 sed 's/^/| /' conftest.
$ac_ext >&5
41165 eval wx_cv_func_
$wx_func=no
41167 rm -f conftest.err conftest.
$ac_objext \
41168 conftest
$ac_exeext conftest.
$ac_ext
41171 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
41172 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
41174 if eval test \
$wx_cv_func_$wx_func = yes
41176 cat >>confdefs.h
<<_ACEOF
41177 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41192 cat >confcache
<<\_ACEOF
41193 # This file is a shell script that caches the results of configure
41194 # tests run on this system so they can be shared between configure
41195 # scripts and configure runs, see configure's option --config-cache.
41196 # It is not useful on other systems. If it contains results you don't
41197 # want to keep, you may remove or edit it.
41199 # config.status only pays attention to the cache file if you give it
41200 # the --recheck option to rerun configure.
41202 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41203 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41204 # following values.
41208 # The following way of writing the cache mishandles newlines in values,
41209 # but we know of no workaround that is simple, portable, and efficient.
41210 # So, don't put newlines in cache variables' values.
41211 # Ultrix sh set writes to stderr and can't be redirected directly,
41212 # and sets the high bit in the cache file unless we assign to the vars.
41215 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41217 # `set' does not quote correctly, so add quotes (double-quote
41218 # substitution turns \\\\ into \\, and sed turns \\ into \).
41221 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41224 # `set' quotes correctly as required by POSIX, so do not add quotes.
41226 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41233 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41235 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41237 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41238 if test -w $cache_file; then
41239 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41240 cat confcache
>$cache_file
41242 echo "not updating unwritable cache $cache_file"
41248 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41254 if test "$wxUSE_THREADS" = "yes" ; then
41255 if test "$USE_BEOS" = 1; then
41256 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41257 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41262 if test "$wxUSE_THREADS" = "yes" ; then
41265 THREAD_OPTS
="-pthread"
41266 if test "x$SUNCXX" = xyes
; then
41267 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
41271 *-*-solaris2* | *-*-sunos4* )
41272 if test "x$GCC" = "xyes"; then
41273 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41277 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41279 *-*-darwin* | *-*-cygwin* )
41283 THREAD_OPTS
="pthreads"
41286 if test "x$GCC" = "xyes"; then
41287 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
41295 if test "x$GCC" = "xyes"; then
41301 if test "x$GCC" != "xyes"; then
41302 THREAD_OPTS
="-Ethread"
41307 THREAD_OPTS
="$THREAD_OPTS pthread none"
41310 for flag
in $THREAD_OPTS; do
41313 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41314 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
41318 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41319 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
41320 THREADS_CFLAGS
="$flag"
41324 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41325 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
41326 THREADS_LINK
="-l$flag"
41331 save_CFLAGS
="$CFLAGS"
41332 LIBS
="$THREADS_LINK $LIBS"
41333 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
41335 cat >conftest.
$ac_ext <<_ACEOF
41338 cat confdefs.h
>>conftest.
$ac_ext
41339 cat >>conftest.
$ac_ext <<_ACEOF
41340 /* end confdefs.h. */
41341 #include <pthread.h>
41345 pthread_create(0,0,0,0);
41350 rm -f conftest.
$ac_objext conftest
$ac_exeext
41351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41352 (eval $ac_link) 2>conftest.er1
41354 grep -v '^ *+' conftest.er1
>conftest.err
41356 cat conftest.err
>&5
41357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41358 (exit $ac_status); } &&
41359 { ac_try
='test -z "$ac_c_werror_flag"
41360 || test ! -s conftest.err'
41361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41362 (eval $ac_try) 2>&5
41364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41365 (exit $ac_status); }; } &&
41366 { ac_try
='test -s conftest$ac_exeext'
41367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41368 (eval $ac_try) 2>&5
41370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41371 (exit $ac_status); }; }; then
41374 echo "$as_me: failed program was:" >&5
41375 sed 's/^/| /' conftest.
$ac_ext >&5
41378 rm -f conftest.err conftest.
$ac_objext \
41379 conftest
$ac_exeext conftest.
$ac_ext
41382 CFLAGS
="$save_CFLAGS"
41384 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41385 echo "${ECHO_T}$THREADS_OK" >&6
41386 if test "x$THREADS_OK" = "xyes"; then
41394 if test "x$THREADS_OK" != "xyes"; then
41396 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41397 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41399 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
41400 LIBS
="$THREADS_LINK $LIBS"
41402 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41403 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
41407 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
41408 flag
="-D_THREAD_SAFE"
41411 flag
="-D_THREAD_SAFE"
41414 flag
="-D_REENTRANT"
41415 if test "x$GCC" != "xyes"; then
41416 flag
="$flag -D_RWSTD_MULTI_THREAD"
41419 *solaris
* | alpha
*-osf*)
41420 flag
="-D_REENTRANT"
41423 echo "$as_me:$LINENO: result: ${flag}" >&5
41424 echo "${ECHO_T}${flag}" >&6
41425 if test "x$flag" != xno
; then
41426 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
41429 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41433 if test "$wxUSE_THREADS" = "yes" ; then
41435 for ac_func
in thr_setconcurrency
41437 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41438 echo "$as_me:$LINENO: checking for $ac_func" >&5
41439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41440 if eval "test \"\${$as_ac_var+set}\" = set"; then
41441 echo $ECHO_N "(cached) $ECHO_C" >&6
41443 cat >conftest.
$ac_ext <<_ACEOF
41446 cat confdefs.h
>>conftest.
$ac_ext
41447 cat >>conftest.
$ac_ext <<_ACEOF
41448 /* end confdefs.h. */
41449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41451 #define $ac_func innocuous_$ac_func
41453 /* System header to define __stub macros and hopefully few prototypes,
41454 which can conflict with char $ac_func (); below.
41455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41456 <limits.h> exists even on freestanding compilers. */
41459 # include <limits.h>
41461 # include <assert.h>
41466 /* Override any gcc2 internal prototype to avoid an error. */
41471 /* We use char because int might match the return type of a gcc2
41472 builtin and then its argument prototype would still apply. */
41474 /* The GNU C library defines this for functions which it implements
41475 to always fail with ENOSYS. Some functions are actually named
41476 something starting with __ and the normal name is an alias. */
41477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41480 char (*f) () = $ac_func;
41489 return f != $ac_func;
41494 rm -f conftest.
$ac_objext conftest
$ac_exeext
41495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41496 (eval $ac_link) 2>conftest.er1
41498 grep -v '^ *+' conftest.er1
>conftest.err
41500 cat conftest.err
>&5
41501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41502 (exit $ac_status); } &&
41503 { ac_try
='test -z "$ac_c_werror_flag"
41504 || test ! -s conftest.err'
41505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41506 (eval $ac_try) 2>&5
41508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41509 (exit $ac_status); }; } &&
41510 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
41516 eval "$as_ac_var=yes"
41518 echo "$as_me: failed program was:" >&5
41519 sed 's/^/| /' conftest.
$ac_ext >&5
41521 eval "$as_ac_var=no"
41523 rm -f conftest.err conftest.
$ac_objext \
41524 conftest
$ac_exeext conftest.
$ac_ext
41526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41528 if test `eval echo '${'$as_ac_var'}'` = yes; then
41529 cat >>confdefs.h
<<_ACEOF
41530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41537 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41538 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
41539 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41540 echo $ECHO_N "(cached) $ECHO_C" >&6
41544 ac_cpp
='$CXXCPP $CPPFLAGS'
41545 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41546 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41547 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41549 cat >conftest.
$ac_ext <<_ACEOF
41552 cat confdefs.h
>>conftest.
$ac_ext
41553 cat >>conftest.
$ac_ext <<_ACEOF
41554 /* end confdefs.h. */
41555 #include <pthread.h>
41556 void ThreadCleanupFunc(void *p);
41563 pthread_cleanup_push(ThreadCleanupFunc, p);
41564 pthread_cleanup_pop(0);
41570 rm -f conftest.
$ac_objext
41571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41572 (eval $ac_compile) 2>conftest.er1
41574 grep -v '^ *+' conftest.er1
>conftest.err
41576 cat conftest.err
>&5
41577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41578 (exit $ac_status); } &&
41579 { ac_try
='test -z "$ac_cxx_werror_flag"
41580 || test ! -s conftest.err'
41581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41582 (eval $ac_try) 2>&5
41584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41585 (exit $ac_status); }; } &&
41586 { ac_try
='test -s conftest.$ac_objext'
41587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41588 (eval $ac_try) 2>&5
41590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41591 (exit $ac_status); }; }; then
41593 wx_cv_func_pthread_cleanup
=yes
41596 echo "$as_me: failed program was:" >&5
41597 sed 's/^/| /' conftest.
$ac_ext >&5
41600 wx_cv_func_pthread_cleanup
=no
41604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41606 ac_cpp
='$CPP $CPPFLAGS'
41607 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41608 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41609 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41613 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41614 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
41615 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41616 cat >>confdefs.h
<<\_ACEOF
41617 #define wxHAVE_PTHREAD_CLEANUP 1
41623 for ac_header
in sched.h
41625 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41626 echo "$as_me:$LINENO: checking for $ac_header" >&5
41627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41629 echo $ECHO_N "(cached) $ECHO_C" >&6
41631 cat >conftest.
$ac_ext <<_ACEOF
41634 cat confdefs.h
>>conftest.
$ac_ext
41635 cat >>conftest.
$ac_ext <<_ACEOF
41636 /* end confdefs.h. */
41637 $ac_includes_default
41639 #include <$ac_header>
41641 rm -f conftest.
$ac_objext
41642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41643 (eval $ac_compile) 2>conftest.er1
41645 grep -v '^ *+' conftest.er1
>conftest.err
41647 cat conftest.err
>&5
41648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41649 (exit $ac_status); } &&
41650 { ac_try
='test -z "$ac_c_werror_flag"
41651 || test ! -s conftest.err'
41652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41653 (eval $ac_try) 2>&5
41655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41656 (exit $ac_status); }; } &&
41657 { ac_try
='test -s conftest.$ac_objext'
41658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41659 (eval $ac_try) 2>&5
41661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41662 (exit $ac_status); }; }; then
41663 eval "$as_ac_Header=yes"
41665 echo "$as_me: failed program was:" >&5
41666 sed 's/^/| /' conftest.
$ac_ext >&5
41668 eval "$as_ac_Header=no"
41670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41675 cat >>confdefs.h
<<_ACEOF
41676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41683 if test "$ac_cv_header_sched_h" = "yes"; then
41684 echo "$as_me:$LINENO: checking for sched_yield" >&5
41685 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
41686 if test "${ac_cv_func_sched_yield+set}" = set; then
41687 echo $ECHO_N "(cached) $ECHO_C" >&6
41689 cat >conftest.
$ac_ext <<_ACEOF
41692 cat confdefs.h
>>conftest.
$ac_ext
41693 cat >>conftest.
$ac_ext <<_ACEOF
41694 /* end confdefs.h. */
41695 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41697 #define sched_yield innocuous_sched_yield
41699 /* System header to define __stub macros and hopefully few prototypes,
41700 which can conflict with char sched_yield (); below.
41701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41702 <limits.h> exists even on freestanding compilers. */
41705 # include <limits.h>
41707 # include <assert.h>
41712 /* Override any gcc2 internal prototype to avoid an error. */
41717 /* We use char because int might match the return type of a gcc2
41718 builtin and then its argument prototype would still apply. */
41719 char sched_yield ();
41720 /* The GNU C library defines this for functions which it implements
41721 to always fail with ENOSYS. Some functions are actually named
41722 something starting with __ and the normal name is an alias. */
41723 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
41726 char (*f) () = sched_yield;
41735 return f != sched_yield;
41740 rm -f conftest.
$ac_objext conftest
$ac_exeext
41741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41742 (eval $ac_link) 2>conftest.er1
41744 grep -v '^ *+' conftest.er1
>conftest.err
41746 cat conftest.err
>&5
41747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41748 (exit $ac_status); } &&
41749 { ac_try
='test -z "$ac_c_werror_flag"
41750 || test ! -s conftest.err'
41751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41752 (eval $ac_try) 2>&5
41754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41755 (exit $ac_status); }; } &&
41756 { ac_try
='test -s conftest$ac_exeext'
41757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41758 (eval $ac_try) 2>&5
41760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41761 (exit $ac_status); }; }; then
41762 ac_cv_func_sched_yield
=yes
41764 echo "$as_me: failed program was:" >&5
41765 sed 's/^/| /' conftest.
$ac_ext >&5
41767 ac_cv_func_sched_yield
=no
41769 rm -f conftest.err conftest.
$ac_objext \
41770 conftest
$ac_exeext conftest.
$ac_ext
41772 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41773 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
41774 if test $ac_cv_func_sched_yield = yes; then
41775 cat >>confdefs.h
<<\_ACEOF
41776 #define HAVE_SCHED_YIELD 1
41781 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41782 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
41783 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41784 echo $ECHO_N "(cached) $ECHO_C" >&6
41786 ac_check_lib_save_LIBS
=$LIBS
41787 LIBS
="-lposix4 $LIBS"
41788 cat >conftest.
$ac_ext <<_ACEOF
41791 cat confdefs.h
>>conftest.
$ac_ext
41792 cat >>conftest.
$ac_ext <<_ACEOF
41793 /* end confdefs.h. */
41795 /* Override any gcc2 internal prototype to avoid an error. */
41799 /* We use char because int might match the return type of a gcc2
41800 builtin and then its argument prototype would still apply. */
41801 char sched_yield ();
41810 rm -f conftest.
$ac_objext conftest
$ac_exeext
41811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41812 (eval $ac_link) 2>conftest.er1
41814 grep -v '^ *+' conftest.er1
>conftest.err
41816 cat conftest.err
>&5
41817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41818 (exit $ac_status); } &&
41819 { ac_try
='test -z "$ac_c_werror_flag"
41820 || test ! -s conftest.err'
41821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41822 (eval $ac_try) 2>&5
41824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41825 (exit $ac_status); }; } &&
41826 { ac_try
='test -s conftest$ac_exeext'
41827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41828 (eval $ac_try) 2>&5
41830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41831 (exit $ac_status); }; }; then
41832 ac_cv_lib_posix4_sched_yield
=yes
41834 echo "$as_me: failed program was:" >&5
41835 sed 's/^/| /' conftest.
$ac_ext >&5
41837 ac_cv_lib_posix4_sched_yield
=no
41839 rm -f conftest.err conftest.
$ac_objext \
41840 conftest
$ac_exeext conftest.
$ac_ext
41841 LIBS
=$ac_check_lib_save_LIBS
41843 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41844 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
41845 if test $ac_cv_lib_posix4_sched_yield = yes; then
41846 cat >>confdefs.h
<<\_ACEOF
41847 #define HAVE_SCHED_YIELD 1
41849 POSIX4_LINK
=" -lposix4"
41851 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41852 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41863 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41864 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
41865 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41866 echo $ECHO_N "(cached) $ECHO_C" >&6
41868 cat >conftest.
$ac_ext <<_ACEOF
41871 cat confdefs.h
>>conftest.
$ac_ext
41872 cat >>conftest.
$ac_ext <<_ACEOF
41873 /* end confdefs.h. */
41874 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41876 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41878 /* System header to define __stub macros and hopefully few prototypes,
41879 which can conflict with char pthread_attr_getschedpolicy (); below.
41880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41881 <limits.h> exists even on freestanding compilers. */
41884 # include <limits.h>
41886 # include <assert.h>
41889 #undef pthread_attr_getschedpolicy
41891 /* Override any gcc2 internal prototype to avoid an error. */
41896 /* We use char because int might match the return type of a gcc2
41897 builtin and then its argument prototype would still apply. */
41898 char pthread_attr_getschedpolicy ();
41899 /* The GNU C library defines this for functions which it implements
41900 to always fail with ENOSYS. Some functions are actually named
41901 something starting with __ and the normal name is an alias. */
41902 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
41905 char (*f) () = pthread_attr_getschedpolicy;
41914 return f != pthread_attr_getschedpolicy;
41919 rm -f conftest.
$ac_objext conftest
$ac_exeext
41920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41921 (eval $ac_link) 2>conftest.er1
41923 grep -v '^ *+' conftest.er1
>conftest.err
41925 cat conftest.err
>&5
41926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41927 (exit $ac_status); } &&
41928 { ac_try
='test -z "$ac_c_werror_flag"
41929 || test ! -s conftest.err'
41930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41931 (eval $ac_try) 2>&5
41933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41934 (exit $ac_status); }; } &&
41935 { ac_try
='test -s conftest$ac_exeext'
41936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41937 (eval $ac_try) 2>&5
41939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41940 (exit $ac_status); }; }; then
41941 ac_cv_func_pthread_attr_getschedpolicy
=yes
41943 echo "$as_me: failed program was:" >&5
41944 sed 's/^/| /' conftest.
$ac_ext >&5
41946 ac_cv_func_pthread_attr_getschedpolicy
=no
41948 rm -f conftest.err conftest.
$ac_objext \
41949 conftest
$ac_exeext conftest.
$ac_ext
41951 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41952 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
41953 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41954 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41955 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
41956 if test "${ac_cv_func_pthread_attr_setschedparam+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 pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41967 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41969 /* System header to define __stub macros and hopefully few prototypes,
41970 which can conflict with char pthread_attr_setschedparam (); 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>
41980 #undef pthread_attr_setschedparam
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. */
41989 char pthread_attr_setschedparam ();
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_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
41996 char (*f) () = pthread_attr_setschedparam;
42005 return f != pthread_attr_setschedparam;
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"
42020 || test ! -s conftest.err'
42021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42022 (eval $ac_try) 2>&5
42024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42025 (exit $ac_status); }; } &&
42026 { ac_try
='test -s conftest$ac_exeext'
42027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42028 (eval $ac_try) 2>&5
42030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42031 (exit $ac_status); }; }; then
42032 ac_cv_func_pthread_attr_setschedparam
=yes
42034 echo "$as_me: failed program was:" >&5
42035 sed 's/^/| /' conftest.
$ac_ext >&5
42037 ac_cv_func_pthread_attr_setschedparam
=no
42039 rm -f conftest.err conftest.
$ac_objext \
42040 conftest
$ac_exeext conftest.
$ac_ext
42042 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42043 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
42044 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42045 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42046 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
42047 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42048 echo $ECHO_N "(cached) $ECHO_C" >&6
42050 cat >conftest.
$ac_ext <<_ACEOF
42053 cat confdefs.h
>>conftest.
$ac_ext
42054 cat >>conftest.
$ac_ext <<_ACEOF
42055 /* end confdefs.h. */
42056 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42058 #define sched_get_priority_max innocuous_sched_get_priority_max
42060 /* System header to define __stub macros and hopefully few prototypes,
42061 which can conflict with char sched_get_priority_max (); below.
42062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42063 <limits.h> exists even on freestanding compilers. */
42066 # include <limits.h>
42068 # include <assert.h>
42071 #undef sched_get_priority_max
42073 /* Override any gcc2 internal prototype to avoid an error. */
42078 /* We use char because int might match the return type of a gcc2
42079 builtin and then its argument prototype would still apply. */
42080 char sched_get_priority_max ();
42081 /* The GNU C library defines this for functions which it implements
42082 to always fail with ENOSYS. Some functions are actually named
42083 something starting with __ and the normal name is an alias. */
42084 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
42087 char (*f) () = sched_get_priority_max;
42096 return f != sched_get_priority_max;
42101 rm -f conftest.
$ac_objext conftest
$ac_exeext
42102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42103 (eval $ac_link) 2>conftest.er1
42105 grep -v '^ *+' conftest.er1
>conftest.err
42107 cat conftest.err
>&5
42108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42109 (exit $ac_status); } &&
42110 { ac_try
='test -z "$ac_c_werror_flag"
42111 || test ! -s conftest.err'
42112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42113 (eval $ac_try) 2>&5
42115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42116 (exit $ac_status); }; } &&
42117 { ac_try
='test -s conftest$ac_exeext'
42118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42119 (eval $ac_try) 2>&5
42121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42122 (exit $ac_status); }; }; then
42123 ac_cv_func_sched_get_priority_max
=yes
42125 echo "$as_me: failed program was:" >&5
42126 sed 's/^/| /' conftest.
$ac_ext >&5
42128 ac_cv_func_sched_get_priority_max
=no
42130 rm -f conftest.err conftest.
$ac_objext \
42131 conftest
$ac_exeext conftest.
$ac_ext
42133 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42134 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
42135 if test $ac_cv_func_sched_get_priority_max = yes; then
42138 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42139 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
42140 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42141 echo $ECHO_N "(cached) $ECHO_C" >&6
42143 ac_check_lib_save_LIBS
=$LIBS
42144 LIBS
="-lposix4 $LIBS"
42145 cat >conftest.
$ac_ext <<_ACEOF
42148 cat confdefs.h
>>conftest.
$ac_ext
42149 cat >>conftest.
$ac_ext <<_ACEOF
42150 /* end confdefs.h. */
42152 /* Override any gcc2 internal prototype to avoid an error. */
42156 /* We use char because int might match the return type of a gcc2
42157 builtin and then its argument prototype would still apply. */
42158 char sched_get_priority_max ();
42162 sched_get_priority_max ();
42167 rm -f conftest.
$ac_objext conftest
$ac_exeext
42168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42169 (eval $ac_link) 2>conftest.er1
42171 grep -v '^ *+' conftest.er1
>conftest.err
42173 cat conftest.err
>&5
42174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42175 (exit $ac_status); } &&
42176 { ac_try
='test -z "$ac_c_werror_flag"
42177 || test ! -s conftest.err'
42178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42179 (eval $ac_try) 2>&5
42181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42182 (exit $ac_status); }; } &&
42183 { ac_try
='test -s conftest$ac_exeext'
42184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42185 (eval $ac_try) 2>&5
42187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42188 (exit $ac_status); }; }; then
42189 ac_cv_lib_posix4_sched_get_priority_max
=yes
42191 echo "$as_me: failed program was:" >&5
42192 sed 's/^/| /' conftest.
$ac_ext >&5
42194 ac_cv_lib_posix4_sched_get_priority_max
=no
42196 rm -f conftest.err conftest.
$ac_objext \
42197 conftest
$ac_exeext conftest.
$ac_ext
42198 LIBS
=$ac_check_lib_save_LIBS
42200 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42201 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
42202 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42205 POSIX4_LINK
=" -lposix4"
42219 if test "$HAVE_PRIOR_FUNCS" = 1; then
42220 cat >>confdefs.h
<<\_ACEOF
42221 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42225 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42226 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42229 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42230 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
42231 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42232 echo $ECHO_N "(cached) $ECHO_C" >&6
42234 cat >conftest.
$ac_ext <<_ACEOF
42237 cat confdefs.h
>>conftest.
$ac_ext
42238 cat >>conftest.
$ac_ext <<_ACEOF
42239 /* end confdefs.h. */
42240 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42242 #define pthread_cancel innocuous_pthread_cancel
42244 /* System header to define __stub macros and hopefully few prototypes,
42245 which can conflict with char pthread_cancel (); below.
42246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42247 <limits.h> exists even on freestanding compilers. */
42250 # include <limits.h>
42252 # include <assert.h>
42255 #undef pthread_cancel
42257 /* Override any gcc2 internal prototype to avoid an error. */
42262 /* We use char because int might match the return type of a gcc2
42263 builtin and then its argument prototype would still apply. */
42264 char pthread_cancel ();
42265 /* The GNU C library defines this for functions which it implements
42266 to always fail with ENOSYS. Some functions are actually named
42267 something starting with __ and the normal name is an alias. */
42268 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
42271 char (*f) () = pthread_cancel;
42280 return f != pthread_cancel;
42285 rm -f conftest.
$ac_objext conftest
$ac_exeext
42286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42287 (eval $ac_link) 2>conftest.er1
42289 grep -v '^ *+' conftest.er1
>conftest.err
42291 cat conftest.err
>&5
42292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42293 (exit $ac_status); } &&
42294 { ac_try
='test -z "$ac_c_werror_flag"
42295 || test ! -s conftest.err'
42296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42297 (eval $ac_try) 2>&5
42299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42300 (exit $ac_status); }; } &&
42301 { ac_try
='test -s conftest$ac_exeext'
42302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42303 (eval $ac_try) 2>&5
42305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42306 (exit $ac_status); }; }; then
42307 ac_cv_func_pthread_cancel
=yes
42309 echo "$as_me: failed program was:" >&5
42310 sed 's/^/| /' conftest.
$ac_ext >&5
42312 ac_cv_func_pthread_cancel
=no
42314 rm -f conftest.err conftest.
$ac_objext \
42315 conftest
$ac_exeext conftest.
$ac_ext
42317 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42318 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
42319 if test $ac_cv_func_pthread_cancel = yes; then
42320 cat >>confdefs.h
<<\_ACEOF
42321 #define HAVE_PTHREAD_CANCEL 1
42325 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42326 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42330 echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42331 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6
42332 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42333 echo $ECHO_N "(cached) $ECHO_C" >&6
42335 cat >conftest.
$ac_ext <<_ACEOF
42338 cat confdefs.h
>>conftest.
$ac_ext
42339 cat >>conftest.
$ac_ext <<_ACEOF
42340 /* end confdefs.h. */
42341 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42343 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42345 /* System header to define __stub macros and hopefully few prototypes,
42346 which can conflict with char pthread_mutex_timedlock (); below.
42347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42348 <limits.h> exists even on freestanding compilers. */
42351 # include <limits.h>
42353 # include <assert.h>
42356 #undef pthread_mutex_timedlock
42358 /* Override any gcc2 internal prototype to avoid an error. */
42363 /* We use char because int might match the return type of a gcc2
42364 builtin and then its argument prototype would still apply. */
42365 char pthread_mutex_timedlock ();
42366 /* The GNU C library defines this for functions which it implements
42367 to always fail with ENOSYS. Some functions are actually named
42368 something starting with __ and the normal name is an alias. */
42369 #if defined (__stub_pthread_mutex_timedlock) || defined (__stub___pthread_mutex_timedlock)
42372 char (*f) () = pthread_mutex_timedlock;
42381 return f != pthread_mutex_timedlock;
42386 rm -f conftest.
$ac_objext conftest
$ac_exeext
42387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42388 (eval $ac_link) 2>conftest.er1
42390 grep -v '^ *+' conftest.er1
>conftest.err
42392 cat conftest.err
>&5
42393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42394 (exit $ac_status); } &&
42395 { ac_try
='test -z "$ac_c_werror_flag"
42396 || test ! -s conftest.err'
42397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42398 (eval $ac_try) 2>&5
42400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42401 (exit $ac_status); }; } &&
42402 { ac_try
='test -s conftest$ac_exeext'
42403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42404 (eval $ac_try) 2>&5
42406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42407 (exit $ac_status); }; }; then
42408 ac_cv_func_pthread_mutex_timedlock
=yes
42410 echo "$as_me: failed program was:" >&5
42411 sed 's/^/| /' conftest.
$ac_ext >&5
42413 ac_cv_func_pthread_mutex_timedlock
=no
42415 rm -f conftest.err conftest.
$ac_objext \
42416 conftest
$ac_exeext conftest.
$ac_ext
42418 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42419 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6
42420 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42421 cat >>confdefs.h
<<\_ACEOF
42422 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42426 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42427 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42431 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42432 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
42433 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42434 echo $ECHO_N "(cached) $ECHO_C" >&6
42436 cat >conftest.
$ac_ext <<_ACEOF
42439 cat confdefs.h
>>conftest.
$ac_ext
42440 cat >>conftest.
$ac_ext <<_ACEOF
42441 /* end confdefs.h. */
42442 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42444 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42446 /* System header to define __stub macros and hopefully few prototypes,
42447 which can conflict with char pthread_attr_setstacksize (); below.
42448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42449 <limits.h> exists even on freestanding compilers. */
42452 # include <limits.h>
42454 # include <assert.h>
42457 #undef pthread_attr_setstacksize
42459 /* Override any gcc2 internal prototype to avoid an error. */
42464 /* We use char because int might match the return type of a gcc2
42465 builtin and then its argument prototype would still apply. */
42466 char pthread_attr_setstacksize ();
42467 /* The GNU C library defines this for functions which it implements
42468 to always fail with ENOSYS. Some functions are actually named
42469 something starting with __ and the normal name is an alias. */
42470 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
42473 char (*f) () = pthread_attr_setstacksize;
42482 return f != pthread_attr_setstacksize;
42487 rm -f conftest.
$ac_objext conftest
$ac_exeext
42488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42489 (eval $ac_link) 2>conftest.er1
42491 grep -v '^ *+' conftest.er1
>conftest.err
42493 cat conftest.err
>&5
42494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42495 (exit $ac_status); } &&
42496 { ac_try
='test -z "$ac_c_werror_flag"
42497 || test ! -s conftest.err'
42498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42499 (eval $ac_try) 2>&5
42501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42502 (exit $ac_status); }; } &&
42503 { ac_try
='test -s conftest$ac_exeext'
42504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42505 (eval $ac_try) 2>&5
42507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42508 (exit $ac_status); }; }; then
42509 ac_cv_func_pthread_attr_setstacksize
=yes
42511 echo "$as_me: failed program was:" >&5
42512 sed 's/^/| /' conftest.
$ac_ext >&5
42514 ac_cv_func_pthread_attr_setstacksize
=no
42516 rm -f conftest.err conftest.
$ac_objext \
42517 conftest
$ac_exeext conftest.
$ac_ext
42519 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42520 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
42521 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42522 cat >>confdefs.h
<<\_ACEOF
42523 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42530 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42531 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
42532 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42533 echo $ECHO_N "(cached) $ECHO_C" >&6
42536 cat >conftest.
$ac_ext <<_ACEOF
42539 cat confdefs.h
>>conftest.
$ac_ext
42540 cat >>conftest.
$ac_ext <<_ACEOF
42541 /* end confdefs.h. */
42542 #include <pthread.h>
42547 pthread_mutexattr_t attr;
42548 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42554 rm -f conftest.
$ac_objext
42555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42556 (eval $ac_compile) 2>conftest.er1
42558 grep -v '^ *+' conftest.er1
>conftest.err
42560 cat conftest.err
>&5
42561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42562 (exit $ac_status); } &&
42563 { ac_try
='test -z "$ac_c_werror_flag"
42564 || test ! -s conftest.err'
42565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42566 (eval $ac_try) 2>&5
42568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42569 (exit $ac_status); }; } &&
42570 { ac_try
='test -s conftest.$ac_objext'
42571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42572 (eval $ac_try) 2>&5
42574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42575 (exit $ac_status); }; }; then
42576 wx_cv_type_pthread_mutexattr_t
=yes
42578 echo "$as_me: failed program was:" >&5
42579 sed 's/^/| /' conftest.
$ac_ext >&5
42581 wx_cv_type_pthread_mutexattr_t
=no
42584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42587 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42588 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
42590 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42591 cat >>confdefs.h
<<\_ACEOF
42592 #define HAVE_PTHREAD_MUTEXATTR_T 1
42596 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42597 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
42598 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42599 echo $ECHO_N "(cached) $ECHO_C" >&6
42602 cat >conftest.
$ac_ext <<_ACEOF
42605 cat confdefs.h
>>conftest.
$ac_ext
42606 cat >>conftest.
$ac_ext <<_ACEOF
42607 /* end confdefs.h. */
42608 #include <pthread.h>
42613 pthread_mutexattr_t attr;
42614 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42620 rm -f conftest.
$ac_objext
42621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42622 (eval $ac_compile) 2>conftest.er1
42624 grep -v '^ *+' conftest.er1
>conftest.err
42626 cat conftest.err
>&5
42627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42628 (exit $ac_status); } &&
42629 { ac_try
='test -z "$ac_c_werror_flag"
42630 || test ! -s conftest.err'
42631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42632 (eval $ac_try) 2>&5
42634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42635 (exit $ac_status); }; } &&
42636 { ac_try
='test -s conftest.$ac_objext'
42637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42638 (eval $ac_try) 2>&5
42640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42641 (exit $ac_status); }; }; then
42642 wx_cv_func_pthread_mutexattr_settype_decl
=yes
42644 echo "$as_me: failed program was:" >&5
42645 sed 's/^/| /' conftest.
$ac_ext >&5
42647 wx_cv_func_pthread_mutexattr_settype_decl
=no
42650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42653 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42654 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
42655 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42656 cat >>confdefs.h
<<\_ACEOF
42657 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42662 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42663 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
42664 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42665 echo $ECHO_N "(cached) $ECHO_C" >&6
42668 cat >conftest.
$ac_ext <<_ACEOF
42671 cat confdefs.h
>>conftest.
$ac_ext
42672 cat >>conftest.
$ac_ext <<_ACEOF
42673 /* end confdefs.h. */
42674 #include <pthread.h>
42679 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42685 rm -f conftest.
$ac_objext
42686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42687 (eval $ac_compile) 2>conftest.er1
42689 grep -v '^ *+' conftest.er1
>conftest.err
42691 cat conftest.err
>&5
42692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42693 (exit $ac_status); } &&
42694 { ac_try
='test -z "$ac_c_werror_flag"
42695 || test ! -s conftest.err'
42696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42697 (eval $ac_try) 2>&5
42699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42700 (exit $ac_status); }; } &&
42701 { ac_try
='test -s conftest.$ac_objext'
42702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42703 (eval $ac_try) 2>&5
42705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42706 (exit $ac_status); }; }; then
42708 wx_cv_type_pthread_rec_mutex_init
=yes
42711 echo "$as_me: failed program was:" >&5
42712 sed 's/^/| /' conftest.
$ac_ext >&5
42715 wx_cv_type_pthread_rec_mutex_init
=no
42719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42722 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42723 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
42724 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42725 cat >>confdefs.h
<<\_ACEOF
42726 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42730 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42731 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42737 if test "$wxUSE_THREADS" = "yes" ; then
42740 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42741 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
42742 if test "${wx_cv_cflags_mthread+set}" = set; then
42743 echo $ECHO_N "(cached) $ECHO_C" >&6
42746 CFLAGS_OLD
="$CFLAGS"
42747 CFLAGS
="-mthreads $CFLAGS"
42748 cat >conftest.
$ac_ext <<_ACEOF
42751 cat confdefs.h
>>conftest.
$ac_ext
42752 cat >>conftest.
$ac_ext <<_ACEOF
42753 /* end confdefs.h. */
42763 rm -f conftest.
$ac_objext
42764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42765 (eval $ac_compile) 2>conftest.er1
42767 grep -v '^ *+' conftest.er1
>conftest.err
42769 cat conftest.err
>&5
42770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42771 (exit $ac_status); } &&
42772 { ac_try
='test -z "$ac_c_werror_flag"
42773 || test ! -s conftest.err'
42774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42775 (eval $ac_try) 2>&5
42777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42778 (exit $ac_status); }; } &&
42779 { ac_try
='test -s conftest.$ac_objext'
42780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42781 (eval $ac_try) 2>&5
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); }; }; then
42785 wx_cv_cflags_mthread
=yes
42787 echo "$as_me: failed program was:" >&5
42788 sed 's/^/| /' conftest.
$ac_ext >&5
42790 wx_cv_cflags_mthread
=no
42793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42797 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42798 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
42800 if test "$wx_cv_cflags_mthread" = "yes"; then
42801 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
42802 LDFLAGS
="$LDFLAGS -mthreads"
42804 CFLAGS
="$CFLAGS_OLD"
42808 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42809 LDFLAGS
="$LDFLAGS -Zmt"
42815 echo "$as_me:$LINENO: checking for localtime_r" >&5
42816 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
42817 if test "${ac_cv_func_localtime_r+set}" = set; then
42818 echo $ECHO_N "(cached) $ECHO_C" >&6
42820 cat >conftest.
$ac_ext <<_ACEOF
42823 cat confdefs.h
>>conftest.
$ac_ext
42824 cat >>conftest.
$ac_ext <<_ACEOF
42825 /* end confdefs.h. */
42826 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42828 #define localtime_r innocuous_localtime_r
42830 /* System header to define __stub macros and hopefully few prototypes,
42831 which can conflict with char localtime_r (); below.
42832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42833 <limits.h> exists even on freestanding compilers. */
42836 # include <limits.h>
42838 # include <assert.h>
42843 /* Override any gcc2 internal prototype to avoid an error. */
42848 /* We use char because int might match the return type of a gcc2
42849 builtin and then its argument prototype would still apply. */
42850 char localtime_r ();
42851 /* The GNU C library defines this for functions which it implements
42852 to always fail with ENOSYS. Some functions are actually named
42853 something starting with __ and the normal name is an alias. */
42854 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
42857 char (*f) () = localtime_r;
42866 return f != localtime_r;
42871 rm -f conftest.
$ac_objext conftest
$ac_exeext
42872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42873 (eval $ac_link) 2>conftest.er1
42875 grep -v '^ *+' conftest.er1
>conftest.err
42877 cat conftest.err
>&5
42878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42879 (exit $ac_status); } &&
42880 { ac_try
='test -z "$ac_c_werror_flag"
42881 || test ! -s conftest.err'
42882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42883 (eval $ac_try) 2>&5
42885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42886 (exit $ac_status); }; } &&
42887 { ac_try
='test -s conftest$ac_exeext'
42888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42889 (eval $ac_try) 2>&5
42891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42892 (exit $ac_status); }; }; then
42893 ac_cv_func_localtime_r
=yes
42895 echo "$as_me: failed program was:" >&5
42896 sed 's/^/| /' conftest.
$ac_ext >&5
42898 ac_cv_func_localtime_r
=no
42900 rm -f conftest.err conftest.
$ac_objext \
42901 conftest
$ac_exeext conftest.
$ac_ext
42903 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42904 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
42905 if test $ac_cv_func_localtime_r = yes; then
42906 cat >>confdefs.h
<<\_ACEOF
42907 #define HAVE_LOCALTIME_R 1
42912 echo "$as_me:$LINENO: checking for gmtime_r" >&5
42913 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
42914 if test "${ac_cv_func_gmtime_r+set}" = set; then
42915 echo $ECHO_N "(cached) $ECHO_C" >&6
42917 cat >conftest.
$ac_ext <<_ACEOF
42920 cat confdefs.h
>>conftest.
$ac_ext
42921 cat >>conftest.
$ac_ext <<_ACEOF
42922 /* end confdefs.h. */
42923 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42925 #define gmtime_r innocuous_gmtime_r
42927 /* System header to define __stub macros and hopefully few prototypes,
42928 which can conflict with char gmtime_r (); below.
42929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42930 <limits.h> exists even on freestanding compilers. */
42933 # include <limits.h>
42935 # include <assert.h>
42940 /* Override any gcc2 internal prototype to avoid an error. */
42945 /* We use char because int might match the return type of a gcc2
42946 builtin and then its argument prototype would still apply. */
42948 /* The GNU C library defines this for functions which it implements
42949 to always fail with ENOSYS. Some functions are actually named
42950 something starting with __ and the normal name is an alias. */
42951 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
42954 char (*f) () = gmtime_r;
42963 return f != gmtime_r;
42968 rm -f conftest.
$ac_objext conftest
$ac_exeext
42969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42970 (eval $ac_link) 2>conftest.er1
42972 grep -v '^ *+' conftest.er1
>conftest.err
42974 cat conftest.err
>&5
42975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42976 (exit $ac_status); } &&
42977 { ac_try
='test -z "$ac_c_werror_flag"
42978 || test ! -s conftest.err'
42979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42980 (eval $ac_try) 2>&5
42982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42983 (exit $ac_status); }; } &&
42984 { ac_try
='test -s conftest$ac_exeext'
42985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42986 (eval $ac_try) 2>&5
42988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42989 (exit $ac_status); }; }; then
42990 ac_cv_func_gmtime_r
=yes
42992 echo "$as_me: failed program was:" >&5
42993 sed 's/^/| /' conftest.
$ac_ext >&5
42995 ac_cv_func_gmtime_r
=no
42997 rm -f conftest.err conftest.
$ac_objext \
42998 conftest
$ac_exeext conftest.
$ac_ext
43000 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43001 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
43002 if test $ac_cv_func_gmtime_r = yes; then
43003 cat >>confdefs.h
<<\_ACEOF
43004 #define HAVE_GMTIME_R 1
43009 echo "$as_me:$LINENO: checking for readdir_r" >&5
43010 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
43011 if test "${ac_cv_func_readdir_r+set}" = set; then
43012 echo $ECHO_N "(cached) $ECHO_C" >&6
43014 cat >conftest.
$ac_ext <<_ACEOF
43017 cat confdefs.h
>>conftest.
$ac_ext
43018 cat >>conftest.
$ac_ext <<_ACEOF
43019 /* end confdefs.h. */
43020 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43022 #define readdir_r innocuous_readdir_r
43024 /* System header to define __stub macros and hopefully few prototypes,
43025 which can conflict with char readdir_r (); below.
43026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43027 <limits.h> exists even on freestanding compilers. */
43030 # include <limits.h>
43032 # include <assert.h>
43037 /* Override any gcc2 internal prototype to avoid an error. */
43042 /* We use char because int might match the return type of a gcc2
43043 builtin and then its argument prototype would still apply. */
43045 /* The GNU C library defines this for functions which it implements
43046 to always fail with ENOSYS. Some functions are actually named
43047 something starting with __ and the normal name is an alias. */
43048 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
43051 char (*f) () = readdir_r;
43060 return f != readdir_r;
43065 rm -f conftest.
$ac_objext conftest
$ac_exeext
43066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43067 (eval $ac_link) 2>conftest.er1
43069 grep -v '^ *+' conftest.er1
>conftest.err
43071 cat conftest.err
>&5
43072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43073 (exit $ac_status); } &&
43074 { ac_try
='test -z "$ac_c_werror_flag"
43075 || test ! -s conftest.err'
43076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43077 (eval $ac_try) 2>&5
43079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43080 (exit $ac_status); }; } &&
43081 { ac_try
='test -s conftest$ac_exeext'
43082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43083 (eval $ac_try) 2>&5
43085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43086 (exit $ac_status); }; }; then
43087 ac_cv_func_readdir_r
=yes
43089 echo "$as_me: failed program was:" >&5
43090 sed 's/^/| /' conftest.
$ac_ext >&5
43092 ac_cv_func_readdir_r
=no
43094 rm -f conftest.err conftest.
$ac_objext \
43095 conftest
$ac_exeext conftest.
$ac_ext
43097 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43098 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
43099 if test $ac_cv_func_readdir_r = yes; then
43100 cat >>confdefs.h
<<\_ACEOF
43101 #define HAVE_READDIR_R 1
43110 ac_cpp
='$CPP $CPPFLAGS'
43111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43115 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43116 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
43118 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43119 echo $ECHO_N "(cached) $ECHO_C" >&6
43123 ################################################################
43125 ac_cv_func_which_gethostbyname_r
=unknown
43128 # ONE ARGUMENT (sanity check)
43131 # This should fail, as there is no variant of gethostbyname_r() that takes
43132 # a single argument. If it actually compiles, then we can assume that
43133 # netdb.h is not declaring the function, and the compiler is thereby
43134 # assuming an implicit prototype. In which case, we're out of luck.
43136 cat >conftest.
$ac_ext <<_ACEOF
43139 cat confdefs.h
>>conftest.
$ac_ext
43140 cat >>conftest.
$ac_ext <<_ACEOF
43141 /* end confdefs.h. */
43147 char *name = "www.gnu.org";
43148 (void)gethostbyname_r(name) /* ; */
43154 rm -f conftest.
$ac_objext
43155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43156 (eval $ac_compile) 2>conftest.er1
43158 grep -v '^ *+' conftest.er1
>conftest.err
43160 cat conftest.err
>&5
43161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43162 (exit $ac_status); } &&
43163 { ac_try
='test -z "$ac_c_werror_flag"
43164 || test ! -s conftest.err'
43165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43166 (eval $ac_try) 2>&5
43168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43169 (exit $ac_status); }; } &&
43170 { ac_try
='test -s conftest.$ac_objext'
43171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43172 (eval $ac_try) 2>&5
43174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43175 (exit $ac_status); }; }; then
43176 ac_cv_func_which_gethostbyname_r
=no
43178 echo "$as_me: failed program was:" >&5
43179 sed 's/^/| /' conftest.
$ac_ext >&5
43182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43189 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43191 cat >conftest.
$ac_ext <<_ACEOF
43194 cat confdefs.h
>>conftest.
$ac_ext
43195 cat >>conftest.
$ac_ext <<_ACEOF
43196 /* end confdefs.h. */
43202 char *name = "www.gnu.org";
43203 struct hostent ret, *retp;
43207 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43213 rm -f conftest.
$ac_objext
43214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43215 (eval $ac_compile) 2>conftest.er1
43217 grep -v '^ *+' conftest.er1
>conftest.err
43219 cat conftest.err
>&5
43220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43221 (exit $ac_status); } &&
43222 { ac_try
='test -z "$ac_c_werror_flag"
43223 || test ! -s conftest.err'
43224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43225 (eval $ac_try) 2>&5
43227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43228 (exit $ac_status); }; } &&
43229 { ac_try
='test -s conftest.$ac_objext'
43230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43231 (eval $ac_try) 2>&5
43233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43234 (exit $ac_status); }; }; then
43235 ac_cv_func_which_gethostbyname_r
=six
43237 echo "$as_me: failed program was:" >&5
43238 sed 's/^/| /' conftest.
$ac_ext >&5
43241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43250 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43252 cat >conftest.
$ac_ext <<_ACEOF
43255 cat confdefs.h
>>conftest.
$ac_ext
43256 cat >>conftest.
$ac_ext <<_ACEOF
43257 /* end confdefs.h. */
43263 char *name = "www.gnu.org";
43264 struct hostent ret;
43268 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43274 rm -f conftest.
$ac_objext
43275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43276 (eval $ac_compile) 2>conftest.er1
43278 grep -v '^ *+' conftest.er1
>conftest.err
43280 cat conftest.err
>&5
43281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43282 (exit $ac_status); } &&
43283 { ac_try
='test -z "$ac_c_werror_flag"
43284 || test ! -s conftest.err'
43285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43286 (eval $ac_try) 2>&5
43288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43289 (exit $ac_status); }; } &&
43290 { ac_try
='test -s conftest.$ac_objext'
43291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43292 (eval $ac_try) 2>&5
43294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43295 (exit $ac_status); }; }; then
43296 ac_cv_func_which_gethostbyname_r
=five
43298 echo "$as_me: failed program was:" >&5
43299 sed 's/^/| /' conftest.
$ac_ext >&5
43302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43308 # (e.g. AIX, HP-UX, Tru64)
43311 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43313 cat >conftest.
$ac_ext <<_ACEOF
43316 cat confdefs.h
>>conftest.
$ac_ext
43317 cat >>conftest.
$ac_ext <<_ACEOF
43318 /* end confdefs.h. */
43324 char *name = "www.gnu.org";
43325 struct hostent ret;
43326 struct hostent_data data;
43327 (void)gethostbyname_r(name, &ret, &data) /* ; */
43333 rm -f conftest.
$ac_objext
43334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43335 (eval $ac_compile) 2>conftest.er1
43337 grep -v '^ *+' conftest.er1
>conftest.err
43339 cat conftest.err
>&5
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); } &&
43342 { ac_try
='test -z "$ac_c_werror_flag"
43343 || test ! -s conftest.err'
43344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43345 (eval $ac_try) 2>&5
43347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43348 (exit $ac_status); }; } &&
43349 { ac_try
='test -s conftest.$ac_objext'
43350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43351 (eval $ac_try) 2>&5
43353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43354 (exit $ac_status); }; }; then
43355 ac_cv_func_which_gethostbyname_r
=three
43357 echo "$as_me: failed program was:" >&5
43358 sed 's/^/| /' conftest.
$ac_ext >&5
43361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43365 ################################################################
43370 case "$ac_cv_func_which_gethostbyname_r" in
43372 echo "$as_me:$LINENO: result: three" >&5
43373 echo "${ECHO_T}three" >&6
43374 cat >>confdefs.h
<<\_ACEOF
43375 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43381 echo "$as_me:$LINENO: result: five" >&5
43382 echo "${ECHO_T}five" >&6
43383 cat >>confdefs.h
<<\_ACEOF
43384 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43390 echo "$as_me:$LINENO: result: six" >&5
43391 echo "${ECHO_T}six" >&6
43392 cat >>confdefs.h
<<\_ACEOF
43393 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43399 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43400 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
43404 echo "$as_me:$LINENO: result: can't tell" >&5
43405 echo "${ECHO_T}can't tell" >&6
43409 { { echo "$as_me:$LINENO: error: internal error" >&5
43410 echo "$as_me: error: internal error" >&2;}
43411 { (exit 1); exit 1; }; }
43416 ac_cpp
='$CPP $CPPFLAGS'
43417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43423 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43424 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43425 echo "$as_me:$LINENO: checking for gethostbyname" >&5
43426 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
43427 if test "${ac_cv_func_gethostbyname+set}" = set; then
43428 echo $ECHO_N "(cached) $ECHO_C" >&6
43430 cat >conftest.
$ac_ext <<_ACEOF
43433 cat confdefs.h
>>conftest.
$ac_ext
43434 cat >>conftest.
$ac_ext <<_ACEOF
43435 /* end confdefs.h. */
43436 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43438 #define gethostbyname innocuous_gethostbyname
43440 /* System header to define __stub macros and hopefully few prototypes,
43441 which can conflict with char gethostbyname (); below.
43442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43443 <limits.h> exists even on freestanding compilers. */
43446 # include <limits.h>
43448 # include <assert.h>
43451 #undef gethostbyname
43453 /* Override any gcc2 internal prototype to avoid an error. */
43458 /* We use char because int might match the return type of a gcc2
43459 builtin and then its argument prototype would still apply. */
43460 char gethostbyname ();
43461 /* The GNU C library defines this for functions which it implements
43462 to always fail with ENOSYS. Some functions are actually named
43463 something starting with __ and the normal name is an alias. */
43464 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
43467 char (*f) () = gethostbyname;
43476 return f != gethostbyname;
43481 rm -f conftest.
$ac_objext conftest
$ac_exeext
43482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43483 (eval $ac_link) 2>conftest.er1
43485 grep -v '^ *+' conftest.er1
>conftest.err
43487 cat conftest.err
>&5
43488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43489 (exit $ac_status); } &&
43490 { ac_try
='test -z "$ac_c_werror_flag"
43491 || test ! -s conftest.err'
43492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43493 (eval $ac_try) 2>&5
43495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43496 (exit $ac_status); }; } &&
43497 { ac_try
='test -s conftest$ac_exeext'
43498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43499 (eval $ac_try) 2>&5
43501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43502 (exit $ac_status); }; }; then
43503 ac_cv_func_gethostbyname
=yes
43505 echo "$as_me: failed program was:" >&5
43506 sed 's/^/| /' conftest.
$ac_ext >&5
43508 ac_cv_func_gethostbyname
=no
43510 rm -f conftest.err conftest.
$ac_objext \
43511 conftest
$ac_exeext conftest.
$ac_ext
43513 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43514 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
43515 if test $ac_cv_func_gethostbyname = yes; then
43516 cat >>confdefs.h
<<\_ACEOF
43517 #define HAVE_GETHOSTBYNAME 1
43524 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43525 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
43526 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43527 echo $ECHO_N "(cached) $ECHO_C" >&6
43531 ac_cpp
='$CXXCPP $CPPFLAGS'
43532 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43533 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43534 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43537 cat >conftest.
$ac_ext <<_ACEOF
43540 cat confdefs.h
>>conftest.
$ac_ext
43541 cat >>conftest.
$ac_ext <<_ACEOF
43542 /* end confdefs.h. */
43550 struct servent *se, *res;
43553 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43559 rm -f conftest.
$ac_objext
43560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43561 (eval $ac_compile) 2>conftest.er1
43563 grep -v '^ *+' conftest.er1
>conftest.err
43565 cat conftest.err
>&5
43566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43567 (exit $ac_status); } &&
43568 { ac_try
='test -z "$ac_cxx_werror_flag"
43569 || test ! -s conftest.err'
43570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43571 (eval $ac_try) 2>&5
43573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43574 (exit $ac_status); }; } &&
43575 { ac_try
='test -s conftest.$ac_objext'
43576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43577 (eval $ac_try) 2>&5
43579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43580 (exit $ac_status); }; }; then
43581 ac_cv_func_which_getservbyname_r
=six
43583 echo "$as_me: failed program was:" >&5
43584 sed 's/^/| /' conftest.
$ac_ext >&5
43587 cat >conftest.
$ac_ext <<_ACEOF
43590 cat confdefs.h
>>conftest.
$ac_ext
43591 cat >>conftest.
$ac_ext <<_ACEOF
43592 /* end confdefs.h. */
43600 struct servent *se;
43603 (void) getservbyname_r(name, proto, se, buffer, buflen)
43609 rm -f conftest.
$ac_objext
43610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43611 (eval $ac_compile) 2>conftest.er1
43613 grep -v '^ *+' conftest.er1
>conftest.err
43615 cat conftest.err
>&5
43616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43617 (exit $ac_status); } &&
43618 { ac_try
='test -z "$ac_cxx_werror_flag"
43619 || test ! -s conftest.err'
43620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43621 (eval $ac_try) 2>&5
43623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43624 (exit $ac_status); }; } &&
43625 { ac_try
='test -s conftest.$ac_objext'
43626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43627 (eval $ac_try) 2>&5
43629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43630 (exit $ac_status); }; }; then
43631 ac_cv_func_which_getservbyname_r
=five
43633 echo "$as_me: failed program was:" >&5
43634 sed 's/^/| /' conftest.
$ac_ext >&5
43637 cat >conftest.
$ac_ext <<_ACEOF
43640 cat confdefs.h
>>conftest.
$ac_ext
43641 cat >>conftest.
$ac_ext <<_ACEOF
43642 /* end confdefs.h. */
43650 struct servent *se;
43651 struct servent_data data;
43652 (void) getservbyname_r(name, proto, se, &data);
43658 rm -f conftest.
$ac_objext
43659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43660 (eval $ac_compile) 2>conftest.er1
43662 grep -v '^ *+' conftest.er1
>conftest.err
43664 cat conftest.err
>&5
43665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43666 (exit $ac_status); } &&
43667 { ac_try
='test -z "$ac_cxx_werror_flag"
43668 || test ! -s conftest.err'
43669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43670 (eval $ac_try) 2>&5
43672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43673 (exit $ac_status); }; } &&
43674 { ac_try
='test -s conftest.$ac_objext'
43675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43676 (eval $ac_try) 2>&5
43678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43679 (exit $ac_status); }; }; then
43680 ac_cv_func_which_getservbyname_r
=four
43682 echo "$as_me: failed program was:" >&5
43683 sed 's/^/| /' conftest.
$ac_ext >&5
43685 ac_cv_func_which_getservbyname_r
=no
43688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43698 ac_cpp
='$CPP $CPPFLAGS'
43699 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43700 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43701 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43706 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43707 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
43709 if test $ac_cv_func_which_getservbyname_r = six
; then
43710 cat >>confdefs.h
<<\_ACEOF
43711 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43714 elif test $ac_cv_func_which_getservbyname_r = five
; then
43715 cat >>confdefs.h
<<\_ACEOF
43716 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43719 elif test $ac_cv_func_which_getservbyname_r = four
; then
43720 cat >>confdefs.h
<<\_ACEOF
43721 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43727 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43728 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43730 for ac_func
in getservbyname
43732 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43733 echo "$as_me:$LINENO: checking for $ac_func" >&5
43734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43735 if eval "test \"\${$as_ac_var+set}\" = set"; then
43736 echo $ECHO_N "(cached) $ECHO_C" >&6
43738 cat >conftest.
$ac_ext <<_ACEOF
43741 cat confdefs.h
>>conftest.
$ac_ext
43742 cat >>conftest.
$ac_ext <<_ACEOF
43743 /* end confdefs.h. */
43744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43746 #define $ac_func innocuous_$ac_func
43748 /* System header to define __stub macros and hopefully few prototypes,
43749 which can conflict with char $ac_func (); below.
43750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43751 <limits.h> exists even on freestanding compilers. */
43754 # include <limits.h>
43756 # include <assert.h>
43761 /* Override any gcc2 internal prototype to avoid an error. */
43766 /* We use char because int might match the return type of a gcc2
43767 builtin and then its argument prototype would still apply. */
43769 /* The GNU C library defines this for functions which it implements
43770 to always fail with ENOSYS. Some functions are actually named
43771 something starting with __ and the normal name is an alias. */
43772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43775 char (*f) () = $ac_func;
43784 return f != $ac_func;
43789 rm -f conftest.
$ac_objext conftest
$ac_exeext
43790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43791 (eval $ac_link) 2>conftest.er1
43793 grep -v '^ *+' conftest.er1
>conftest.err
43795 cat conftest.err
>&5
43796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43797 (exit $ac_status); } &&
43798 { ac_try
='test -z "$ac_c_werror_flag"
43799 || test ! -s conftest.err'
43800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43801 (eval $ac_try) 2>&5
43803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43804 (exit $ac_status); }; } &&
43805 { ac_try
='test -s conftest$ac_exeext'
43806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43807 (eval $ac_try) 2>&5
43809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43810 (exit $ac_status); }; }; then
43811 eval "$as_ac_var=yes"
43813 echo "$as_me: failed program was:" >&5
43814 sed 's/^/| /' conftest.
$ac_ext >&5
43816 eval "$as_ac_var=no"
43818 rm -f conftest.err conftest.
$ac_objext \
43819 conftest
$ac_exeext conftest.
$ac_ext
43821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43823 if test `eval echo '${'$as_ac_var'}'` = yes; then
43824 cat >>confdefs.h
<<_ACEOF
43825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43827 cat >>confdefs.h
<<\_ACEOF
43828 #define HAVE_GETSERVBYNAME 1
43836 if test "$wxUSE_THREADS" = "yes"; then
43837 cat >>confdefs.h
<<\_ACEOF
43838 #define wxUSE_THREADS 1
43842 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
43844 if test "$wx_cv_func_strtok_r" = "yes"; then
43845 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43846 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
43847 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43848 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43849 echo "$as_me:$LINENO: result: yes" >&5
43850 echo "${ECHO_T}yes" >&6
43852 echo "$as_me:$LINENO: result: no" >&5
43853 echo "${ECHO_T}no" >&6
43858 if test "$WXGTK20" = 1 ; then
43859 cat >>confdefs.h
<<_ACEOF
43860 #define __WXGTK20__ $WXGTK20
43866 if test "$WXGTK12" = 1 ; then
43867 cat >>confdefs.h
<<_ACEOF
43868 #define __WXGTK12__ $WXGTK12
43873 if test "$WXGTK127" = 1 ; then
43874 cat >>confdefs.h
<<_ACEOF
43875 #define __WXGTK127__ $WXGTK127
43880 if test "$WXGPE" = 1 ; then
43881 cat >>confdefs.h
<<_ACEOF
43882 #define __WXGPE__ $WXGPE
43888 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43893 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43894 wxUSE_DEBUG_INFO
=yes
43895 if test "$GCC" = yes; then
43896 DEBUG_CFLAGS
="-ggdb"
43900 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43901 cat >>confdefs.h
<<\_ACEOF
43905 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43907 if test "$wxUSE_GTK" = 1 ; then
43908 if test "x$wxGTK_VERSION" = "x1" ; then
43909 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43914 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43915 cat >>confdefs.h
<<\_ACEOF
43916 #define wxUSE_MEMORY_TRACING 1
43919 cat >>confdefs.h
<<\_ACEOF
43920 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43923 cat >>confdefs.h
<<\_ACEOF
43924 #define wxUSE_DEBUG_NEW_ALWAYS 1
43927 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
43930 if test "$wxUSE_DMALLOC" = "yes" ; then
43931 DMALLOC_LIBS
="-ldmallocthcxx"
43935 if test "$wxUSE_PROFILE" = "yes" ; then
43936 PROFILE_FLAGS
=" -pg"
43939 if test "$GCC" = "yes" ; then
43940 if test "$wxUSE_NO_RTTI" = "yes" ; then
43941 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
43943 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43944 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
43946 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43947 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
43952 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
43955 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
43961 if test "$wxUSE_OPTIMISE" = "no" ; then
43962 if test "$GCC" = yes ; then
43963 OPTIMISE_CFLAGS
="-O0"
43966 if test "$GCC" = yes ; then
43968 *-pc-os2_emx | *-pc-os2-emx )
43969 OPTIMISE_CFLAGS
="-O2"
43972 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
43976 OPTIMISE_CFLAGS
="-O"
43981 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43982 cat >>confdefs.h
<<\_ACEOF
43983 #define WXWIN_COMPATIBILITY_2_6 1
43987 WXWIN_COMPATIBILITY_2_8
="yes"
43990 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43991 cat >>confdefs.h
<<\_ACEOF
43992 #define WXWIN_COMPATIBILITY_2_8 1
43998 if test "$wxUSE_GUI" = "yes"; then
43999 cat >>confdefs.h
<<\_ACEOF
44000 #define wxUSE_GUI 1
44007 if test "$wxUSE_UNIX" = "yes"; then
44008 cat >>confdefs.h
<<\_ACEOF
44009 #define wxUSE_UNIX 1
44015 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44019 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44020 if test "$USE_DARWIN" = 1; then
44022 elif test "$USE_DOS" = 1; then
44026 for ac_func
in dlopen
44028 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44029 echo "$as_me:$LINENO: checking for $ac_func" >&5
44030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44031 if eval "test \"\${$as_ac_var+set}\" = set"; then
44032 echo $ECHO_N "(cached) $ECHO_C" >&6
44034 cat >conftest.
$ac_ext <<_ACEOF
44037 cat confdefs.h
>>conftest.
$ac_ext
44038 cat >>conftest.
$ac_ext <<_ACEOF
44039 /* end confdefs.h. */
44040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44042 #define $ac_func innocuous_$ac_func
44044 /* System header to define __stub macros and hopefully few prototypes,
44045 which can conflict with char $ac_func (); below.
44046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44047 <limits.h> exists even on freestanding compilers. */
44050 # include <limits.h>
44052 # include <assert.h>
44057 /* Override any gcc2 internal prototype to avoid an error. */
44062 /* We use char because int might match the return type of a gcc2
44063 builtin and then its argument prototype would still apply. */
44065 /* The GNU C library defines this for functions which it implements
44066 to always fail with ENOSYS. Some functions are actually named
44067 something starting with __ and the normal name is an alias. */
44068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44071 char (*f) () = $ac_func;
44080 return f != $ac_func;
44085 rm -f conftest.
$ac_objext conftest
$ac_exeext
44086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44087 (eval $ac_link) 2>conftest.er1
44089 grep -v '^ *+' conftest.er1
>conftest.err
44091 cat conftest.err
>&5
44092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44093 (exit $ac_status); } &&
44094 { ac_try
='test -z "$ac_c_werror_flag"
44095 || test ! -s conftest.err'
44096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44097 (eval $ac_try) 2>&5
44099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44100 (exit $ac_status); }; } &&
44101 { ac_try
='test -s conftest$ac_exeext'
44102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44103 (eval $ac_try) 2>&5
44105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44106 (exit $ac_status); }; }; then
44107 eval "$as_ac_var=yes"
44109 echo "$as_me: failed program was:" >&5
44110 sed 's/^/| /' conftest.
$ac_ext >&5
44112 eval "$as_ac_var=no"
44114 rm -f conftest.err conftest.
$ac_objext \
44115 conftest
$ac_exeext conftest.
$ac_ext
44117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44119 if test `eval echo '${'$as_ac_var'}'` = yes; then
44120 cat >>confdefs.h
<<_ACEOF
44121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44124 cat >>confdefs.h
<<\_ACEOF
44125 #define HAVE_DLOPEN 1
44132 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44133 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
44134 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44135 echo $ECHO_N "(cached) $ECHO_C" >&6
44137 ac_check_lib_save_LIBS
=$LIBS
44139 cat >conftest.
$ac_ext <<_ACEOF
44142 cat confdefs.h
>>conftest.
$ac_ext
44143 cat >>conftest.
$ac_ext <<_ACEOF
44144 /* end confdefs.h. */
44146 /* Override any gcc2 internal prototype to avoid an error. */
44150 /* We use char because int might match the return type of a gcc2
44151 builtin and then its argument prototype would still apply. */
44161 rm -f conftest.
$ac_objext conftest
$ac_exeext
44162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44163 (eval $ac_link) 2>conftest.er1
44165 grep -v '^ *+' conftest.er1
>conftest.err
44167 cat conftest.err
>&5
44168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44169 (exit $ac_status); } &&
44170 { ac_try
='test -z "$ac_c_werror_flag"
44171 || test ! -s conftest.err'
44172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44173 (eval $ac_try) 2>&5
44175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44176 (exit $ac_status); }; } &&
44177 { ac_try
='test -s conftest$ac_exeext'
44178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44179 (eval $ac_try) 2>&5
44181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44182 (exit $ac_status); }; }; then
44183 ac_cv_lib_dl_dlopen
=yes
44185 echo "$as_me: failed program was:" >&5
44186 sed 's/^/| /' conftest.
$ac_ext >&5
44188 ac_cv_lib_dl_dlopen
=no
44190 rm -f conftest.err conftest.
$ac_objext \
44191 conftest
$ac_exeext conftest.
$ac_ext
44192 LIBS
=$ac_check_lib_save_LIBS
44194 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44195 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
44196 if test $ac_cv_lib_dl_dlopen = yes; then
44198 cat >>confdefs.h
<<\_ACEOF
44199 #define HAVE_DLOPEN 1
44203 DL_LINK
=" -ldl$DL_LINK"
44208 for ac_func
in shl_load
44210 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44211 echo "$as_me:$LINENO: checking for $ac_func" >&5
44212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44213 if eval "test \"\${$as_ac_var+set}\" = set"; then
44214 echo $ECHO_N "(cached) $ECHO_C" >&6
44216 cat >conftest.
$ac_ext <<_ACEOF
44219 cat confdefs.h
>>conftest.
$ac_ext
44220 cat >>conftest.
$ac_ext <<_ACEOF
44221 /* end confdefs.h. */
44222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44224 #define $ac_func innocuous_$ac_func
44226 /* System header to define __stub macros and hopefully few prototypes,
44227 which can conflict with char $ac_func (); below.
44228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44229 <limits.h> exists even on freestanding compilers. */
44232 # include <limits.h>
44234 # include <assert.h>
44239 /* Override any gcc2 internal prototype to avoid an error. */
44244 /* We use char because int might match the return type of a gcc2
44245 builtin and then its argument prototype would still apply. */
44247 /* The GNU C library defines this for functions which it implements
44248 to always fail with ENOSYS. Some functions are actually named
44249 something starting with __ and the normal name is an alias. */
44250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44253 char (*f) () = $ac_func;
44262 return f != $ac_func;
44267 rm -f conftest.
$ac_objext conftest
$ac_exeext
44268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44269 (eval $ac_link) 2>conftest.er1
44271 grep -v '^ *+' conftest.er1
>conftest.err
44273 cat conftest.err
>&5
44274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44275 (exit $ac_status); } &&
44276 { ac_try
='test -z "$ac_c_werror_flag"
44277 || test ! -s conftest.err'
44278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44279 (eval $ac_try) 2>&5
44281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44282 (exit $ac_status); }; } &&
44283 { ac_try
='test -s conftest$ac_exeext'
44284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44285 (eval $ac_try) 2>&5
44287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44288 (exit $ac_status); }; }; then
44289 eval "$as_ac_var=yes"
44291 echo "$as_me: failed program was:" >&5
44292 sed 's/^/| /' conftest.
$ac_ext >&5
44294 eval "$as_ac_var=no"
44296 rm -f conftest.err conftest.
$ac_objext \
44297 conftest
$ac_exeext conftest.
$ac_ext
44299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44301 if test `eval echo '${'$as_ac_var'}'` = yes; then
44302 cat >>confdefs.h
<<_ACEOF
44303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44306 cat >>confdefs.h
<<\_ACEOF
44307 #define HAVE_SHL_LOAD 1
44314 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44315 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
44316 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44317 echo $ECHO_N "(cached) $ECHO_C" >&6
44319 ac_check_lib_save_LIBS
=$LIBS
44320 LIBS
="-lshl_load $LIBS"
44321 cat >conftest.
$ac_ext <<_ACEOF
44324 cat confdefs.h
>>conftest.
$ac_ext
44325 cat >>conftest.
$ac_ext <<_ACEOF
44326 /* end confdefs.h. */
44328 /* Override any gcc2 internal prototype to avoid an error. */
44332 /* We use char because int might match the return type of a gcc2
44333 builtin and then its argument prototype would still apply. */
44343 rm -f conftest.
$ac_objext conftest
$ac_exeext
44344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44345 (eval $ac_link) 2>conftest.er1
44347 grep -v '^ *+' conftest.er1
>conftest.err
44349 cat conftest.err
>&5
44350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44351 (exit $ac_status); } &&
44352 { ac_try
='test -z "$ac_c_werror_flag"
44353 || test ! -s conftest.err'
44354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44355 (eval $ac_try) 2>&5
44357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44358 (exit $ac_status); }; } &&
44359 { ac_try
='test -s conftest$ac_exeext'
44360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44361 (eval $ac_try) 2>&5
44363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44364 (exit $ac_status); }; }; then
44365 ac_cv_lib_shl_load_dld
=yes
44367 echo "$as_me: failed program was:" >&5
44368 sed 's/^/| /' conftest.
$ac_ext >&5
44370 ac_cv_lib_shl_load_dld
=no
44372 rm -f conftest.err conftest.
$ac_objext \
44373 conftest
$ac_exeext conftest.
$ac_ext
44374 LIBS
=$ac_check_lib_save_LIBS
44376 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44377 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
44378 if test $ac_cv_lib_shl_load_dld = yes; then
44381 DL_LINK
=" -ldld$DL_LINK"
44397 if test "$HAVE_DL_FUNCS" = 1; then
44399 for ac_func
in dlerror
44401 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44402 echo "$as_me:$LINENO: checking for $ac_func" >&5
44403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44404 if eval "test \"\${$as_ac_var+set}\" = set"; then
44405 echo $ECHO_N "(cached) $ECHO_C" >&6
44407 cat >conftest.
$ac_ext <<_ACEOF
44410 cat confdefs.h
>>conftest.
$ac_ext
44411 cat >>conftest.
$ac_ext <<_ACEOF
44412 /* end confdefs.h. */
44413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44415 #define $ac_func innocuous_$ac_func
44417 /* System header to define __stub macros and hopefully few prototypes,
44418 which can conflict with char $ac_func (); below.
44419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44420 <limits.h> exists even on freestanding compilers. */
44423 # include <limits.h>
44425 # include <assert.h>
44430 /* Override any gcc2 internal prototype to avoid an error. */
44435 /* We use char because int might match the return type of a gcc2
44436 builtin and then its argument prototype would still apply. */
44438 /* The GNU C library defines this for functions which it implements
44439 to always fail with ENOSYS. Some functions are actually named
44440 something starting with __ and the normal name is an alias. */
44441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44444 char (*f) () = $ac_func;
44453 return f != $ac_func;
44458 rm -f conftest.
$ac_objext conftest
$ac_exeext
44459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44460 (eval $ac_link) 2>conftest.er1
44462 grep -v '^ *+' conftest.er1
>conftest.err
44464 cat conftest.err
>&5
44465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44466 (exit $ac_status); } &&
44467 { ac_try
='test -z "$ac_c_werror_flag"
44468 || test ! -s conftest.err'
44469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44470 (eval $ac_try) 2>&5
44472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44473 (exit $ac_status); }; } &&
44474 { ac_try
='test -s conftest$ac_exeext'
44475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44476 (eval $ac_try) 2>&5
44478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44479 (exit $ac_status); }; }; then
44480 eval "$as_ac_var=yes"
44482 echo "$as_me: failed program was:" >&5
44483 sed 's/^/| /' conftest.
$ac_ext >&5
44485 eval "$as_ac_var=no"
44487 rm -f conftest.err conftest.
$ac_objext \
44488 conftest
$ac_exeext conftest.
$ac_ext
44490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44492 if test `eval echo '${'$as_ac_var'}'` = yes; then
44493 cat >>confdefs.h
<<_ACEOF
44494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44496 cat >>confdefs.h
<<\_ACEOF
44497 #define HAVE_DLERROR 1
44502 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44503 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
44504 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44505 echo $ECHO_N "(cached) $ECHO_C" >&6
44507 ac_check_lib_save_LIBS
=$LIBS
44509 cat >conftest.
$ac_ext <<_ACEOF
44512 cat confdefs.h
>>conftest.
$ac_ext
44513 cat >>conftest.
$ac_ext <<_ACEOF
44514 /* end confdefs.h. */
44516 /* Override any gcc2 internal prototype to avoid an error. */
44520 /* We use char because int might match the return type of a gcc2
44521 builtin and then its argument prototype would still apply. */
44531 rm -f conftest.
$ac_objext conftest
$ac_exeext
44532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44533 (eval $ac_link) 2>conftest.er1
44535 grep -v '^ *+' conftest.er1
>conftest.err
44537 cat conftest.err
>&5
44538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44539 (exit $ac_status); } &&
44540 { ac_try
='test -z "$ac_c_werror_flag"
44541 || test ! -s conftest.err'
44542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44543 (eval $ac_try) 2>&5
44545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44546 (exit $ac_status); }; } &&
44547 { ac_try
='test -s conftest$ac_exeext'
44548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44549 (eval $ac_try) 2>&5
44551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44552 (exit $ac_status); }; }; then
44553 ac_cv_lib_dl_dlerror
=yes
44555 echo "$as_me: failed program was:" >&5
44556 sed 's/^/| /' conftest.
$ac_ext >&5
44558 ac_cv_lib_dl_dlerror
=no
44560 rm -f conftest.err conftest.
$ac_objext \
44561 conftest
$ac_exeext conftest.
$ac_ext
44562 LIBS
=$ac_check_lib_save_LIBS
44564 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44565 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
44566 if test $ac_cv_lib_dl_dlerror = yes; then
44567 cat >>confdefs.h
<<\_ACEOF
44568 #define HAVE_DLERROR 1
44581 if test "$HAVE_DL_FUNCS" = 0; then
44582 if test "$HAVE_SHL_FUNCS" = 0; then
44583 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44584 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44585 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44586 wxUSE_DYNAMIC_LOADER
=no
44587 wxUSE_DYNLIB_CLASS
=no
44589 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44590 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44597 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44598 cat >>confdefs.h
<<\_ACEOF
44599 #define wxUSE_DYNAMIC_LOADER 1
44603 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44604 cat >>confdefs.h
<<\_ACEOF
44605 #define wxUSE_DYNLIB_CLASS 1
44612 if test "$wxUSE_PLUGINS" = "yes" ; then
44613 if test "$wxUSE_SHARED" = "no" ; then
44614 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44615 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44618 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44619 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44620 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44623 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44624 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44625 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44628 if test "$wxUSE_PLUGINS" = "yes" ; then
44629 cat >>confdefs.h
<<\_ACEOF
44630 #define wxUSE_PLUGINS 1
44637 if test "$wxUSE_STL" = "yes"; then
44638 cat >>confdefs.h
<<\_ACEOF
44639 #define wxUSE_STL 1
44644 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44645 cat >>confdefs.h
<<\_ACEOF
44646 #define wxUSE_EXTENDED_RTTI 1
44651 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44652 cat >>confdefs.h
<<\_ACEOF
44653 #define wxUSE_APPLE_IEEE 1
44658 if test "$wxUSE_TIMER" = "yes"; then
44659 cat >>confdefs.h
<<\_ACEOF
44660 #define wxUSE_TIMER 1
44665 if test "$USE_UNIX" = "1" ; then
44666 if test "$wxUSE_MGL" != 1; then
44667 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44668 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
44669 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44670 echo $ECHO_N "(cached) $ECHO_C" >&6
44673 cat >conftest.
$ac_ext <<_ACEOF
44676 cat confdefs.h
>>conftest.
$ac_ext
44677 cat >>conftest.
$ac_ext <<_ACEOF
44678 /* end confdefs.h. */
44680 #include <sys/ioctl.h>
44681 #include <sys/soundcard.h>
44687 ioctl(0, SNDCTL_DSP_SPEED, 0);
44693 rm -f conftest.
$ac_objext conftest
$ac_exeext
44694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44695 (eval $ac_link) 2>conftest.er1
44697 grep -v '^ *+' conftest.er1
>conftest.err
44699 cat conftest.err
>&5
44700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44701 (exit $ac_status); } &&
44702 { ac_try
='test -z "$ac_c_werror_flag"
44703 || test ! -s conftest.err'
44704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44705 (eval $ac_try) 2>&5
44707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44708 (exit $ac_status); }; } &&
44709 { ac_try
='test -s conftest$ac_exeext'
44710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44711 (eval $ac_try) 2>&5
44713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44714 (exit $ac_status); }; }; then
44715 ac_cv_header_sys_soundcard
=yes
44717 echo "$as_me: failed program was:" >&5
44718 sed 's/^/| /' conftest.
$ac_ext >&5
44722 LIBS
="$saveLibs -lossaudio"
44723 cat >conftest.
$ac_ext <<_ACEOF
44726 cat confdefs.h
>>conftest.
$ac_ext
44727 cat >>conftest.
$ac_ext <<_ACEOF
44728 /* end confdefs.h. */
44730 #include <sys/ioctl.h>
44731 #include <sys/soundcard.h>
44737 ioctl(0, SNDCTL_DSP_SPEED, 0);
44743 rm -f conftest.
$ac_objext conftest
$ac_exeext
44744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44745 (eval $ac_link) 2>conftest.er1
44747 grep -v '^ *+' conftest.er1
>conftest.err
44749 cat conftest.err
>&5
44750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44751 (exit $ac_status); } &&
44752 { ac_try
='test -z "$ac_c_werror_flag"
44753 || test ! -s conftest.err'
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); }; } &&
44759 { ac_try
='test -s conftest$ac_exeext'
44760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44761 (eval $ac_try) 2>&5
44763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44764 (exit $ac_status); }; }; then
44765 ac_cv_header_sys_soundcard
=yes
44767 echo "$as_me: failed program was:" >&5
44768 sed 's/^/| /' conftest.
$ac_ext >&5
44772 ac_cv_header_sys_soundcard
=no
44776 rm -f conftest.err conftest.
$ac_objext \
44777 conftest
$ac_exeext conftest.
$ac_ext
44781 rm -f conftest.err conftest.
$ac_objext \
44782 conftest
$ac_exeext conftest.
$ac_ext
44785 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44786 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
44789 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44790 cat >>confdefs.h
<<\_ACEOF
44791 #define HAVE_SYS_SOUNDCARD_H 1
44798 if test "$wxUSE_SOUND" = "yes"; then
44799 if test "$USE_UNIX" = "1" ; then
44800 if test "$wxUSE_LIBSDL" != "no"; then
44802 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
44803 if test "${with_sdl_prefix+set}" = set; then
44804 withval
="$with_sdl_prefix"
44805 sdl_prefix
="$withval"
44810 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
44811 if test "${with_sdl_exec_prefix+set}" = set; then
44812 withval
="$with_sdl_exec_prefix"
44813 sdl_exec_prefix
="$withval"
44817 # Check whether --enable-sdltest or --disable-sdltest was given.
44818 if test "${enable_sdltest+set}" = set; then
44819 enableval
="$enable_sdltest"
44825 if test x
$sdl_exec_prefix != x
; then
44826 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
44827 if test x
${SDL_CONFIG+set} != xset
; then
44828 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
44831 if test x
$sdl_prefix != x
; then
44832 sdl_args
="$sdl_args --prefix=$sdl_prefix"
44833 if test x
${SDL_CONFIG+set} != xset
; then
44834 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
44838 if test "x$prefix" != xNONE
; then
44839 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
44841 # Extract the first word of "sdl-config", so it can be a program name with args.
44842 set dummy sdl
-config; ac_word
=$2
44843 echo "$as_me:$LINENO: checking for $ac_word" >&5
44844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44845 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44846 echo $ECHO_N "(cached) $ECHO_C" >&6
44848 case $SDL_CONFIG in
44850 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
44853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44854 for as_dir
in $PATH
44857 test -z "$as_dir" && as_dir
=.
44858 for ac_exec_ext
in '' $ac_executable_extensions; do
44859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44860 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44867 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
44871 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
44873 if test -n "$SDL_CONFIG"; then
44874 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44875 echo "${ECHO_T}$SDL_CONFIG" >&6
44877 echo "$as_me:$LINENO: result: no" >&5
44878 echo "${ECHO_T}no" >&6
44881 min_sdl_version
=1.2.0
44882 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44883 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
44885 if test "$SDL_CONFIG" = "no" ; then
44888 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
44889 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
44891 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
44892 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44893 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
44894 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44895 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
44896 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44897 if test "x$enable_sdltest" = "xyes" ; then
44898 ac_save_CFLAGS
="$CFLAGS"
44899 ac_save_CXXFLAGS
="$CXXFLAGS"
44900 ac_save_LIBS
="$LIBS"
44901 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44902 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44903 LIBS
="$LIBS $SDL_LIBS"
44905 if test "$cross_compiling" = yes; then
44906 echo $ac_n "cross compiling; assumed OK... $ac_c"
44908 cat >conftest.
$ac_ext <<_ACEOF
44911 cat confdefs.h
>>conftest.
$ac_ext
44912 cat >>conftest.
$ac_ext <<_ACEOF
44913 /* end confdefs.h. */
44916 #include <stdlib.h>
44917 #include <string.h>
44921 my_strdup (char *str)
44927 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44928 strcpy (new_str, str);
44936 int main (int argc, char *argv[])
44938 int major, minor, micro;
44941 /* This hangs on some systems (?)
44942 system ("touch conf.sdltest");
44944 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44946 /* HP/UX 9 (%@#!) writes to sscanf strings */
44947 tmp_version = my_strdup("$min_sdl_version");
44948 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44949 printf("%s, bad version string\n", "$min_sdl_version");
44953 if (($sdl_major_version > major) ||
44954 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44955 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44961 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44962 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44963 printf("*** best to upgrade to the required version.\n");
44964 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44965 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44966 printf("*** config.cache before re-running configure\n");
44973 rm -f conftest
$ac_exeext
44974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44975 (eval $ac_link) 2>&5
44977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44978 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
44979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44980 (eval $ac_try) 2>&5
44982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44983 (exit $ac_status); }; }; then
44986 echo "$as_me: program exited with status $ac_status" >&5
44987 echo "$as_me: failed program was:" >&5
44988 sed 's/^/| /' conftest.
$ac_ext >&5
44990 ( exit $ac_status )
44993 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
44995 CFLAGS
="$ac_save_CFLAGS"
44996 CXXFLAGS
="$ac_save_CXXFLAGS"
44997 LIBS
="$ac_save_LIBS"
45000 if test "x$no_sdl" = x
; then
45001 echo "$as_me:$LINENO: result: yes" >&5
45002 echo "${ECHO_T}yes" >&6
45004 EXTRALIBS_SDL
="$SDL_LIBS"
45005 CFLAGS
="$SDL_CFLAGS $CFLAGS"
45006 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
45007 cat >>confdefs.h
<<\_ACEOF
45008 #define wxUSE_LIBSDL 1
45013 echo "$as_me:$LINENO: result: no" >&5
45014 echo "${ECHO_T}no" >&6
45015 if test "$SDL_CONFIG" = "no" ; then
45016 echo "*** The sdl-config script installed by SDL could not be found"
45017 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45018 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45019 echo "*** full path to sdl-config."
45021 if test -f conf.sdltest
; then
45024 echo "*** Could not run SDL test program, checking why..."
45025 CFLAGS
="$CFLAGS $SDL_CFLAGS"
45026 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
45027 LIBS
="$LIBS $SDL_LIBS"
45028 cat >conftest.
$ac_ext <<_ACEOF
45031 cat confdefs.h
>>conftest.
$ac_ext
45032 cat >>conftest.
$ac_ext <<_ACEOF
45033 /* end confdefs.h. */
45038 int main(int argc, char *argv[])
45041 #define main K_and_R_C_main
45051 rm -f conftest.
$ac_objext conftest
$ac_exeext
45052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45053 (eval $ac_link) 2>conftest.er1
45055 grep -v '^ *+' conftest.er1
>conftest.err
45057 cat conftest.err
>&5
45058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45059 (exit $ac_status); } &&
45060 { ac_try
='test -z "$ac_c_werror_flag"
45061 || test ! -s conftest.err'
45062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45063 (eval $ac_try) 2>&5
45065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45066 (exit $ac_status); }; } &&
45067 { ac_try
='test -s conftest$ac_exeext'
45068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45069 (eval $ac_try) 2>&5
45071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45072 (exit $ac_status); }; }; then
45073 echo "*** The test program compiled, but did not run. This usually means"
45074 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45075 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45076 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45077 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45078 echo "*** is required on your system"
45080 echo "*** If you have an old version installed, it is best to remove it, although"
45081 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45083 echo "$as_me: failed program was:" >&5
45084 sed 's/^/| /' conftest.
$ac_ext >&5
45086 echo "*** The test program failed to compile or link. See the file config.log for the"
45087 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45088 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45089 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45091 rm -f conftest.err conftest.
$ac_objext \
45092 conftest
$ac_exeext conftest.
$ac_ext
45093 CFLAGS
="$ac_save_CFLAGS"
45094 CXXFLAGS
="$ac_save_CXXFLAGS"
45095 LIBS
="$ac_save_LIBS"
45106 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45111 if test "$wxUSE_MGL" = 1; then
45112 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45113 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45119 if test "$wxUSE_SOUND" = "yes"; then
45120 cat >>confdefs.h
<<\_ACEOF
45121 #define wxUSE_SOUND 1
45124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
45127 if test "$WXGTK20" = 1; then
45130 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45131 if test -n "$ac_tool_prefix"; then
45132 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45133 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
45134 echo "$as_me:$LINENO: checking for $ac_word" >&5
45135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45136 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45137 echo $ECHO_N "(cached) $ECHO_C" >&6
45139 case $PKG_CONFIG in
45141 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
45144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45145 for as_dir
in $PATH
45148 test -z "$as_dir" && as_dir
=.
45149 for ac_exec_ext
in '' $ac_executable_extensions; do
45150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45151 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45161 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
45163 if test -n "$PKG_CONFIG"; then
45164 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45165 echo "${ECHO_T}$PKG_CONFIG" >&6
45167 echo "$as_me:$LINENO: result: no" >&5
45168 echo "${ECHO_T}no" >&6
45172 if test -z "$ac_cv_path_PKG_CONFIG"; then
45173 ac_pt_PKG_CONFIG
=$PKG_CONFIG
45174 # Extract the first word of "pkg-config", so it can be a program name with args.
45175 set dummy pkg
-config; ac_word
=$2
45176 echo "$as_me:$LINENO: checking for $ac_word" >&5
45177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45178 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45179 echo $ECHO_N "(cached) $ECHO_C" >&6
45181 case $ac_pt_PKG_CONFIG in
45183 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45187 for as_dir
in $PATH
45190 test -z "$as_dir" && as_dir
=.
45191 for ac_exec_ext
in '' $ac_executable_extensions; do
45192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45193 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45203 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
45205 if test -n "$ac_pt_PKG_CONFIG"; then
45206 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45207 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
45209 echo "$as_me:$LINENO: result: no" >&5
45210 echo "${ECHO_T}no" >&6
45213 PKG_CONFIG
=$ac_pt_PKG_CONFIG
45215 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
45219 if test -n "$PKG_CONFIG"; then
45220 _pkg_min_version
=0.9.0
45221 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45222 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
45223 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45224 echo "$as_me:$LINENO: result: yes" >&5
45225 echo "${ECHO_T}yes" >&6
45227 echo "$as_me:$LINENO: result: no" >&5
45228 echo "${ECHO_T}no" >&6
45234 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45236 if test "$wxUSE_GTKPRINT" = "yes" ; then
45240 echo "$as_me:$LINENO: checking for GTKPRINT" >&5
45241 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6
45243 if test -n "$PKG_CONFIG"; then
45244 if test -n "$GTKPRINT_CFLAGS"; then
45245 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
45247 if test -n "$PKG_CONFIG" && \
45248 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
45249 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
45251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45252 (exit $ac_status); }; then
45253 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
45261 if test -n "$PKG_CONFIG"; then
45262 if test -n "$GTKPRINT_LIBS"; then
45263 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
45265 if test -n "$PKG_CONFIG" && \
45266 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
45267 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
45269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45270 (exit $ac_status); }; then
45271 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
45282 if test $pkg_failed = yes; then
45284 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45285 _pkg_short_errors_supported
=yes
45287 _pkg_short_errors_supported
=no
45289 if test $_pkg_short_errors_supported = yes; then
45290 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45292 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45294 # Put the nasty error message in config.log where it belongs
45295 echo "$GTKPRINT_PKG_ERRORS" >&5
45298 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45299 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45300 wxUSE_GTKPRINT
="no"
45303 elif test $pkg_failed = untried
; then
45305 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45306 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45307 wxUSE_GTKPRINT
="no"
45311 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
45312 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
45313 echo "$as_me:$LINENO: result: yes" >&5
45314 echo "${ECHO_T}yes" >&6
45316 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
45317 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
45318 cat >>confdefs.h
<<\_ACEOF
45319 #define wxUSE_GTKPRINT 1
45326 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45330 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45331 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
45333 if test -n "$PKG_CONFIG"; then
45334 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45335 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
45337 if test -n "$PKG_CONFIG" && \
45338 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45339 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45342 (exit $ac_status); }; then
45343 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45351 if test -n "$PKG_CONFIG"; then
45352 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45353 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
45355 if test -n "$PKG_CONFIG" && \
45356 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45357 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45360 (exit $ac_status); }; then
45361 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45372 if test $pkg_failed = yes; then
45374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45375 _pkg_short_errors_supported
=yes
45377 _pkg_short_errors_supported
=no
45379 if test $_pkg_short_errors_supported = yes; then
45380 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45382 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45384 # Put the nasty error message in config.log where it belongs
45385 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45388 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45389 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45390 wxUSE_LIBGNOMEPRINT
="no"
45393 elif test $pkg_failed = untried
; then
45395 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45396 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45397 wxUSE_LIBGNOMEPRINT
="no"
45401 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45402 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45403 echo "$as_me:$LINENO: result: yes" >&5
45404 echo "${ECHO_T}yes" >&6
45406 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45407 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45408 cat >>confdefs.h
<<\_ACEOF
45409 #define wxUSE_LIBGNOMEPRINT 1
45417 if test "$wxUSE_MIMETYPE" = "yes" ; then
45418 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45422 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45423 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
45425 if test -n "$PKG_CONFIG"; then
45426 if test -n "$GNOMEVFS_CFLAGS"; then
45427 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
45429 if test -n "$PKG_CONFIG" && \
45430 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45431 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45434 (exit $ac_status); }; then
45435 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45443 if test -n "$PKG_CONFIG"; then
45444 if test -n "$GNOMEVFS_LIBS"; then
45445 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
45447 if test -n "$PKG_CONFIG" && \
45448 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45449 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45452 (exit $ac_status); }; then
45453 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45464 if test $pkg_failed = yes; then
45466 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45467 _pkg_short_errors_supported
=yes
45469 _pkg_short_errors_supported
=no
45471 if test $_pkg_short_errors_supported = yes; then
45472 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45474 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45476 # Put the nasty error message in config.log where it belongs
45477 echo "$GNOMEVFS_PKG_ERRORS" >&5
45480 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45481 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45482 wxUSE_LIBGNOMEVFS
="no"
45485 elif test $pkg_failed = untried
; then
45487 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45488 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45489 wxUSE_LIBGNOMEVFS
="no"
45493 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
45494 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
45495 echo "$as_me:$LINENO: result: yes" >&5
45496 echo "${ECHO_T}yes" >&6
45498 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
45499 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
45500 cat >>confdefs.h
<<\_ACEOF
45501 #define wxUSE_LIBGNOMEVFS 1
45509 if test "$wxUSE_LIBHILDON" = "yes" ; then
45512 echo "$as_me:$LINENO: checking for HILDON" >&5
45513 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
45515 if test -n "$PKG_CONFIG"; then
45516 if test -n "$HILDON_CFLAGS"; then
45517 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
45519 if test -n "$PKG_CONFIG" && \
45520 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45521 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45524 (exit $ac_status); }; then
45525 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45533 if test -n "$PKG_CONFIG"; then
45534 if test -n "$HILDON_LIBS"; then
45535 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
45537 if test -n "$PKG_CONFIG" && \
45538 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45539 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45542 (exit $ac_status); }; then
45543 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45554 if test $pkg_failed = yes; then
45556 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45557 _pkg_short_errors_supported
=yes
45559 _pkg_short_errors_supported
=no
45561 if test $_pkg_short_errors_supported = yes; then
45562 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45564 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45566 # Put the nasty error message in config.log where it belongs
45567 echo "$HILDON_PKG_ERRORS" >&5
45570 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45571 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45572 wxUSE_LIBHILDON
="no"
45575 elif test $pkg_failed = untried
; then
45577 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45578 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45579 wxUSE_LIBHILDON
="no"
45583 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
45584 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
45585 echo "$as_me:$LINENO: result: yes" >&5
45586 echo "${ECHO_T}yes" >&6
45588 EXTRALIBS_HILDON
="$HILDON_LIBS"
45589 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
45590 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
45591 cat >>confdefs.h
<<\_ACEOF
45592 #define wxUSE_LIBHILDON 1
45600 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45601 cat >>confdefs.h
<<\_ACEOF
45602 #define wxUSE_CMDLINE_PARSER 1
45607 if test "$wxUSE_STOPWATCH" = "yes"; then
45608 cat >>confdefs.h
<<\_ACEOF
45609 #define wxUSE_STOPWATCH 1
45614 if test "$wxUSE_DATETIME" = "yes"; then
45615 cat >>confdefs.h
<<\_ACEOF
45616 #define wxUSE_DATETIME 1
45621 if test "$wxUSE_FILE" = "yes"; then
45622 cat >>confdefs.h
<<\_ACEOF
45623 #define wxUSE_FILE 1
45628 if test "$wxUSE_FFILE" = "yes"; then
45629 cat >>confdefs.h
<<\_ACEOF
45630 #define wxUSE_FFILE 1
45635 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45636 if test "$wxUSE_STREAMS" != yes; then
45637 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45638 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45639 wxUSE_ARCHIVE_STREAMS
=no
45641 cat >>confdefs.h
<<\_ACEOF
45642 #define wxUSE_ARCHIVE_STREAMS 1
45648 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45649 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45650 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45651 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45652 elif test "$wxUSE_ZLIB" = "no"; then
45653 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45654 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45656 cat >>confdefs.h
<<\_ACEOF
45657 #define wxUSE_ZIPSTREAM 1
45663 if test "$wxUSE_TARSTREAM" = "yes"; then
45664 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45665 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45666 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45668 cat >>confdefs.h
<<\_ACEOF
45669 #define wxUSE_TARSTREAM 1
45675 if test "$wxUSE_FILESYSTEM" = "yes"; then
45676 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
45677 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45678 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45679 wxUSE_FILESYSTEM
=no
45681 cat >>confdefs.h
<<\_ACEOF
45682 #define wxUSE_FILESYSTEM 1
45688 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45689 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45690 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45691 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45693 cat >>confdefs.h
<<\_ACEOF
45694 #define wxUSE_FS_ARCHIVE 1
45700 if test "$wxUSE_FS_ZIP" = "yes"; then
45701 if test "$wxUSE_FS_ARCHIVE" != yes; then
45702 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45703 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45705 cat >>confdefs.h
<<\_ACEOF
45706 #define wxUSE_FS_ZIP 1
45712 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45713 if test "$USE_UNIX" != 1; then
45714 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45715 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45716 wxUSE_ON_FATAL_EXCEPTION
=no
45718 cat >>confdefs.h
<<\_ACEOF
45719 #define wxUSE_ON_FATAL_EXCEPTION 1
45725 if test "$wxUSE_STACKWALKER" = "yes"; then
45726 cat >>confdefs.h
<<\_ACEOF
45727 #define wxUSE_STACKWALKER 1
45732 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45733 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45734 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45735 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45736 wxUSE_DEBUGREPORT
=no
45738 cat >>confdefs.h
<<\_ACEOF
45739 #define wxUSE_DEBUGREPORT 1
45742 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
45748 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45749 cat >>confdefs.h
<<\_ACEOF
45750 #define wxUSE_SNGLINST_CHECKER 1
45755 if test "$wxUSE_BUSYINFO" = "yes"; then
45756 cat >>confdefs.h
<<\_ACEOF
45757 #define wxUSE_BUSYINFO 1
45762 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45763 cat >>confdefs.h
<<\_ACEOF
45764 #define wxUSE_STD_IOSTREAM 1
45769 if test "$wxUSE_STD_STRING" = "yes"; then
45770 cat >>confdefs.h
<<\_ACEOF
45771 #define wxUSE_STD_STRING 1
45776 if test "$wxUSE_STDPATHS" = "yes"; then
45777 cat >>confdefs.h
<<\_ACEOF
45778 #define wxUSE_STDPATHS 1
45783 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45784 cat >>confdefs.h
<<\_ACEOF
45785 #define wxUSE_TEXTBUFFER 1
45790 if test "$wxUSE_TEXTFILE" = "yes"; then
45791 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45792 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45793 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45795 cat >>confdefs.h
<<\_ACEOF
45796 #define wxUSE_TEXTFILE 1
45802 if test "$wxUSE_CONFIG" = "yes" ; then
45803 if test "$wxUSE_TEXTFILE" != "yes"; then
45804 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45805 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45807 cat >>confdefs.h
<<\_ACEOF
45808 #define wxUSE_CONFIG 1
45811 cat >>confdefs.h
<<\_ACEOF
45812 #define wxUSE_CONFIG_NATIVE 1
45815 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
45819 if test "$wxUSE_INTL" = "yes" ; then
45820 if test "$wxUSE_FILE" != "yes"; then
45821 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45822 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45824 cat >>confdefs.h
<<\_ACEOF
45825 #define wxUSE_INTL 1
45828 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
45829 GUIDIST
="$GUIDIST INTL_DIST"
45833 if test "$wxUSE_LOG" = "yes"; then
45834 cat >>confdefs.h
<<\_ACEOF
45835 #define wxUSE_LOG 1
45839 if test "$wxUSE_LOGGUI" = "yes"; then
45840 cat >>confdefs.h
<<\_ACEOF
45841 #define wxUSE_LOGGUI 1
45846 if test "$wxUSE_LOGWINDOW" = "yes"; then
45847 cat >>confdefs.h
<<\_ACEOF
45848 #define wxUSE_LOGWINDOW 1
45853 if test "$wxUSE_LOGDIALOG" = "yes"; then
45854 cat >>confdefs.h
<<\_ACEOF
45855 #define wxUSE_LOG_DIALOG 1
45860 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
45863 if test "$wxUSE_LONGLONG" = "yes"; then
45864 cat >>confdefs.h
<<\_ACEOF
45865 #define wxUSE_LONGLONG 1
45870 if test "$wxUSE_GEOMETRY" = "yes"; then
45871 cat >>confdefs.h
<<\_ACEOF
45872 #define wxUSE_GEOMETRY 1
45877 if test "$wxUSE_BASE64" = "yes"; then
45878 cat >>confdefs.h
<<\_ACEOF
45879 #define wxUSE_BASE64 1
45884 if test "$wxUSE_STREAMS" = "yes" ; then
45885 cat >>confdefs.h
<<\_ACEOF
45886 #define wxUSE_STREAMS 1
45891 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45892 cat >>confdefs.h
<<\_ACEOF
45893 #define wxUSE_PRINTF_POS_PARAMS 1
45898 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45899 cat >>confdefs.h
<<\_ACEOF
45900 #define wxUSE_OBJC_UNIQUIFYING 1
45906 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45907 cat >>confdefs.h
<<\_ACEOF
45908 #define wxUSE_CONSOLE_EVENTLOOP 1
45912 if test "$wxUSE_UNIX" = "yes"; then
45913 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45914 cat >>confdefs.h
<<\_ACEOF
45915 #define wxUSE_SELECT_DISPATCHER 1
45920 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45922 for ac_header
in sys
/epoll.h
45924 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45925 echo "$as_me:$LINENO: checking for $ac_header" >&5
45926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45928 echo $ECHO_N "(cached) $ECHO_C" >&6
45930 cat >conftest.
$ac_ext <<_ACEOF
45933 cat confdefs.h
>>conftest.
$ac_ext
45934 cat >>conftest.
$ac_ext <<_ACEOF
45935 /* end confdefs.h. */
45936 $ac_includes_default
45938 #include <$ac_header>
45940 rm -f conftest.
$ac_objext
45941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45942 (eval $ac_compile) 2>conftest.er1
45944 grep -v '^ *+' conftest.er1
>conftest.err
45946 cat conftest.err
>&5
45947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45948 (exit $ac_status); } &&
45949 { ac_try
='test -z "$ac_c_werror_flag"
45950 || test ! -s conftest.err'
45951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45952 (eval $ac_try) 2>&5
45954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45955 (exit $ac_status); }; } &&
45956 { ac_try
='test -s conftest.$ac_objext'
45957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45958 (eval $ac_try) 2>&5
45960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45961 (exit $ac_status); }; }; then
45962 eval "$as_ac_Header=yes"
45964 echo "$as_me: failed program was:" >&5
45965 sed 's/^/| /' conftest.
$ac_ext >&5
45967 eval "$as_ac_Header=no"
45969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45974 cat >>confdefs.h
<<_ACEOF
45975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45982 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45983 cat >>confdefs.h
<<\_ACEOF
45984 #define wxUSE_EPOLL_DISPATCHER 1
45988 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45989 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45998 for ac_func
in gettimeofday ftime
46000 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46001 echo "$as_me:$LINENO: checking for $ac_func" >&5
46002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46003 if eval "test \"\${$as_ac_var+set}\" = set"; then
46004 echo $ECHO_N "(cached) $ECHO_C" >&6
46006 cat >conftest.
$ac_ext <<_ACEOF
46009 cat confdefs.h
>>conftest.
$ac_ext
46010 cat >>conftest.
$ac_ext <<_ACEOF
46011 /* end confdefs.h. */
46012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46014 #define $ac_func innocuous_$ac_func
46016 /* System header to define __stub macros and hopefully few prototypes,
46017 which can conflict with char $ac_func (); below.
46018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46019 <limits.h> exists even on freestanding compilers. */
46022 # include <limits.h>
46024 # include <assert.h>
46029 /* Override any gcc2 internal prototype to avoid an error. */
46034 /* We use char because int might match the return type of a gcc2
46035 builtin and then its argument prototype would still apply. */
46037 /* The GNU C library defines this for functions which it implements
46038 to always fail with ENOSYS. Some functions are actually named
46039 something starting with __ and the normal name is an alias. */
46040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46043 char (*f) () = $ac_func;
46052 return f != $ac_func;
46057 rm -f conftest.
$ac_objext conftest
$ac_exeext
46058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46059 (eval $ac_link) 2>conftest.er1
46061 grep -v '^ *+' conftest.er1
>conftest.err
46063 cat conftest.err
>&5
46064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46065 (exit $ac_status); } &&
46066 { ac_try
='test -z "$ac_c_werror_flag"
46067 || test ! -s conftest.err'
46068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46069 (eval $ac_try) 2>&5
46071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46072 (exit $ac_status); }; } &&
46073 { ac_try
='test -s conftest$ac_exeext'
46074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46075 (eval $ac_try) 2>&5
46077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46078 (exit $ac_status); }; }; then
46079 eval "$as_ac_var=yes"
46081 echo "$as_me: failed program was:" >&5
46082 sed 's/^/| /' conftest.
$ac_ext >&5
46084 eval "$as_ac_var=no"
46086 rm -f conftest.err conftest.
$ac_objext \
46087 conftest
$ac_exeext conftest.
$ac_ext
46089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46091 if test `eval echo '${'$as_ac_var'}'` = yes; then
46092 cat >>confdefs.h
<<_ACEOF
46093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46100 if test "$ac_cv_func_gettimeofday" = "yes"; then
46101 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46102 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
46103 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46104 echo $ECHO_N "(cached) $ECHO_C" >&6
46107 cat >conftest.
$ac_ext <<_ACEOF
46110 cat confdefs.h
>>conftest.
$ac_ext
46111 cat >>conftest.
$ac_ext <<_ACEOF
46112 /* end confdefs.h. */
46114 #include <sys/time.h>
46115 #include <unistd.h>
46122 gettimeofday(&tv, NULL);
46128 rm -f conftest.
$ac_objext
46129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46130 (eval $ac_compile) 2>conftest.er1
46132 grep -v '^ *+' conftest.er1
>conftest.err
46134 cat conftest.err
>&5
46135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46136 (exit $ac_status); } &&
46137 { ac_try
='test -z "$ac_c_werror_flag"
46138 || test ! -s conftest.err'
46139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46140 (eval $ac_try) 2>&5
46142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46143 (exit $ac_status); }; } &&
46144 { ac_try
='test -s conftest.$ac_objext'
46145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46146 (eval $ac_try) 2>&5
46148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46149 (exit $ac_status); }; }; then
46150 wx_cv_func_gettimeofday_has_2_args
=yes
46152 echo "$as_me: failed program was:" >&5
46153 sed 's/^/| /' conftest.
$ac_ext >&5
46155 cat >conftest.
$ac_ext <<_ACEOF
46158 cat confdefs.h
>>conftest.
$ac_ext
46159 cat >>conftest.
$ac_ext <<_ACEOF
46160 /* end confdefs.h. */
46162 #include <sys/time.h>
46163 #include <unistd.h>
46176 rm -f conftest.
$ac_objext
46177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46178 (eval $ac_compile) 2>conftest.er1
46180 grep -v '^ *+' conftest.er1
>conftest.err
46182 cat conftest.err
>&5
46183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46184 (exit $ac_status); } &&
46185 { ac_try
='test -z "$ac_c_werror_flag"
46186 || test ! -s conftest.err'
46187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46188 (eval $ac_try) 2>&5
46190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46191 (exit $ac_status); }; } &&
46192 { ac_try
='test -s conftest.$ac_objext'
46193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46194 (eval $ac_try) 2>&5
46196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46197 (exit $ac_status); }; }; then
46198 wx_cv_func_gettimeofday_has_2_args
=no
46200 echo "$as_me: failed program was:" >&5
46201 sed 's/^/| /' conftest.
$ac_ext >&5
46204 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46205 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46206 wx_cv_func_gettimeofday_has_2_args
=unknown
46210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46216 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46217 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
46219 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46220 cat >>confdefs.h
<<\_ACEOF
46221 #define WX_GETTIMEOFDAY_NO_TZ 1
46227 if test "$wxUSE_DATETIME" = "yes"; then
46228 echo "$as_me:$LINENO: checking for strptime" >&5
46229 echo $ECHO_N "checking for strptime... $ECHO_C" >&6
46230 if test "${ac_cv_func_strptime+set}" = set; then
46231 echo $ECHO_N "(cached) $ECHO_C" >&6
46233 cat >conftest.
$ac_ext <<_ACEOF
46236 cat confdefs.h
>>conftest.
$ac_ext
46237 cat >>conftest.
$ac_ext <<_ACEOF
46238 /* end confdefs.h. */
46239 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46241 #define strptime innocuous_strptime
46243 /* System header to define __stub macros and hopefully few prototypes,
46244 which can conflict with char strptime (); below.
46245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46246 <limits.h> exists even on freestanding compilers. */
46249 # include <limits.h>
46251 # include <assert.h>
46256 /* Override any gcc2 internal prototype to avoid an error. */
46261 /* We use char because int might match the return type of a gcc2
46262 builtin and then its argument prototype would still apply. */
46264 /* The GNU C library defines this for functions which it implements
46265 to always fail with ENOSYS. Some functions are actually named
46266 something starting with __ and the normal name is an alias. */
46267 #if defined (__stub_strptime) || defined (__stub___strptime)
46270 char (*f) () = strptime;
46279 return f != strptime;
46284 rm -f conftest.
$ac_objext conftest
$ac_exeext
46285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46286 (eval $ac_link) 2>conftest.er1
46288 grep -v '^ *+' conftest.er1
>conftest.err
46290 cat conftest.err
>&5
46291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46292 (exit $ac_status); } &&
46293 { ac_try
='test -z "$ac_c_werror_flag"
46294 || test ! -s conftest.err'
46295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46296 (eval $ac_try) 2>&5
46298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46299 (exit $ac_status); }; } &&
46300 { ac_try
='test -s conftest$ac_exeext'
46301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46302 (eval $ac_try) 2>&5
46304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46305 (exit $ac_status); }; }; then
46306 ac_cv_func_strptime
=yes
46308 echo "$as_me: failed program was:" >&5
46309 sed 's/^/| /' conftest.
$ac_ext >&5
46311 ac_cv_func_strptime
=no
46313 rm -f conftest.err conftest.
$ac_objext \
46314 conftest
$ac_exeext conftest.
$ac_ext
46316 echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46317 echo "${ECHO_T}$ac_cv_func_strptime" >&6
46319 if test "$ac_cv_func_strptime" = "yes"; then
46320 echo "$as_me:$LINENO: checking for strptime declaration" >&5
46321 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
46322 if test "${wx_cv_func_strptime_decl+set}" = set; then
46323 echo $ECHO_N "(cached) $ECHO_C" >&6
46327 ac_cpp
='$CXXCPP $CPPFLAGS'
46328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46332 cat >conftest.
$ac_ext <<_ACEOF
46335 cat confdefs.h
>>conftest.
$ac_ext
46336 cat >>conftest.
$ac_ext <<_ACEOF
46337 /* end confdefs.h. */
46346 strptime("foo", "bar", &t);
46352 rm -f conftest.
$ac_objext
46353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46354 (eval $ac_compile) 2>conftest.er1
46356 grep -v '^ *+' conftest.er1
>conftest.err
46358 cat conftest.err
>&5
46359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46360 (exit $ac_status); } &&
46361 { ac_try
='test -z "$ac_cxx_werror_flag"
46362 || test ! -s conftest.err'
46363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46364 (eval $ac_try) 2>&5
46366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46367 (exit $ac_status); }; } &&
46368 { ac_try
='test -s conftest.$ac_objext'
46369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46370 (eval $ac_try) 2>&5
46372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46373 (exit $ac_status); }; }; then
46374 wx_cv_func_strptime_decl
=yes
46376 echo "$as_me: failed program was:" >&5
46377 sed 's/^/| /' conftest.
$ac_ext >&5
46379 wx_cv_func_strptime_decl
=no
46382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46384 ac_cpp
='$CPP $CPPFLAGS'
46385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46392 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46393 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
46395 if test "$wx_cv_func_strptime_decl" = "yes"; then
46396 cat >>confdefs.h
<<\_ACEOF
46397 #define HAVE_STRPTIME_DECL 1
46401 wx_strptime_decl
="extern char *strptime(const char *, const char *, struct tm *);"
46403 if test "$ac_cv_func_strptime" = "yes"; then
46404 echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46405 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6
46406 if test "${wx_cv_func_strptime_ok+set}" = set; then
46407 echo $ECHO_N "(cached) $ECHO_C" >&6
46409 if test "$cross_compiling" = yes; then
46410 wx_cv_func_strptime_ok
=no
46413 cat >conftest.
$ac_ext <<_ACEOF
46415 #include <stdlib.h>
46417 #include "confdefs.h"
46424 return !!strptime("", "%x", &t);
46428 rm -f conftest
$ac_exeext
46429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46430 (eval $ac_link) 2>&5
46432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46433 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
46434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46435 (eval $ac_try) 2>&5
46437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46438 (exit $ac_status); }; }; then
46439 wx_cv_func_strptime_ok
=yes
46441 echo "$as_me: program exited with status $ac_status" >&5
46442 echo "$as_me: failed program was:" >&5
46443 sed 's/^/| /' conftest.
$ac_ext >&5
46445 ( exit $ac_status )
46446 wx_cv_func_strptime_ok
=no
46448 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
46452 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46453 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6
46455 if test "$wx_cv_func_strptime_ok" = "yes"; then
46456 cat >>confdefs.h
<<\_ACEOF
46457 #define HAVE_STRPTIME 1
46463 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46464 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
46465 if test "${wx_cv_var_timezone+set}" = set; then
46466 echo $ECHO_N "(cached) $ECHO_C" >&6
46470 ac_cpp
='$CXXCPP $CPPFLAGS'
46471 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46472 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46473 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46475 cat >conftest.
$ac_ext <<_ACEOF
46478 cat confdefs.h
>>conftest.
$ac_ext
46479 cat >>conftest.
$ac_ext <<_ACEOF
46480 /* end confdefs.h. */
46495 rm -f conftest.
$ac_objext
46496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46497 (eval $ac_compile) 2>conftest.er1
46499 grep -v '^ *+' conftest.er1
>conftest.err
46501 cat conftest.err
>&5
46502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46503 (exit $ac_status); } &&
46504 { ac_try
='test -z "$ac_cxx_werror_flag"
46505 || test ! -s conftest.err'
46506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46507 (eval $ac_try) 2>&5
46509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46510 (exit $ac_status); }; } &&
46511 { ac_try
='test -s conftest.$ac_objext'
46512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46513 (eval $ac_try) 2>&5
46515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46516 (exit $ac_status); }; }; then
46518 wx_cv_var_timezone
=timezone
46521 echo "$as_me: failed program was:" >&5
46522 sed 's/^/| /' conftest.
$ac_ext >&5
46525 cat >conftest.
$ac_ext <<_ACEOF
46528 cat confdefs.h
>>conftest.
$ac_ext
46529 cat >>conftest.
$ac_ext <<_ACEOF
46530 /* end confdefs.h. */
46545 rm -f conftest.
$ac_objext
46546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46547 (eval $ac_compile) 2>conftest.er1
46549 grep -v '^ *+' conftest.er1
>conftest.err
46551 cat conftest.err
>&5
46552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46553 (exit $ac_status); } &&
46554 { ac_try
='test -z "$ac_cxx_werror_flag"
46555 || test ! -s conftest.err'
46556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46557 (eval $ac_try) 2>&5
46559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46560 (exit $ac_status); }; } &&
46561 { ac_try
='test -s conftest.$ac_objext'
46562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46563 (eval $ac_try) 2>&5
46565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46566 (exit $ac_status); }; }; then
46568 wx_cv_var_timezone
=_timezone
46571 echo "$as_me: failed program was:" >&5
46572 sed 's/^/| /' conftest.
$ac_ext >&5
46575 cat >conftest.
$ac_ext <<_ACEOF
46578 cat confdefs.h
>>conftest.
$ac_ext
46579 cat >>conftest.
$ac_ext <<_ACEOF
46580 /* end confdefs.h. */
46595 rm -f conftest.
$ac_objext
46596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46597 (eval $ac_compile) 2>conftest.er1
46599 grep -v '^ *+' conftest.er1
>conftest.err
46601 cat conftest.err
>&5
46602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46603 (exit $ac_status); } &&
46604 { ac_try
='test -z "$ac_cxx_werror_flag"
46605 || test ! -s conftest.err'
46606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46607 (eval $ac_try) 2>&5
46609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46610 (exit $ac_status); }; } &&
46611 { ac_try
='test -s conftest.$ac_objext'
46612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46613 (eval $ac_try) 2>&5
46615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46616 (exit $ac_status); }; }; then
46618 wx_cv_var_timezone
=__timezone
46621 echo "$as_me: failed program was:" >&5
46622 sed 's/^/| /' conftest.
$ac_ext >&5
46625 if test "$USE_DOS" = 0 ; then
46626 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46627 echo "$as_me: WARNING: no timezone variable" >&2;}
46632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46642 ac_cpp
='$CPP $CPPFLAGS'
46643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46650 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46651 echo "${ECHO_T}$wx_cv_var_timezone" >&6
46653 if test "x$wx_cv_var_timezone" != x
; then
46654 cat >>confdefs.h
<<_ACEOF
46655 #define WX_TIMEZONE $wx_cv_var_timezone
46661 for ac_func
in localtime
46663 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46664 echo "$as_me:$LINENO: checking for $ac_func" >&5
46665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46666 if eval "test \"\${$as_ac_var+set}\" = set"; then
46667 echo $ECHO_N "(cached) $ECHO_C" >&6
46669 cat >conftest.
$ac_ext <<_ACEOF
46672 cat confdefs.h
>>conftest.
$ac_ext
46673 cat >>conftest.
$ac_ext <<_ACEOF
46674 /* end confdefs.h. */
46675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46677 #define $ac_func innocuous_$ac_func
46679 /* System header to define __stub macros and hopefully few prototypes,
46680 which can conflict with char $ac_func (); below.
46681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46682 <limits.h> exists even on freestanding compilers. */
46685 # include <limits.h>
46687 # include <assert.h>
46692 /* Override any gcc2 internal prototype to avoid an error. */
46697 /* We use char because int might match the return type of a gcc2
46698 builtin and then its argument prototype would still apply. */
46700 /* The GNU C library defines this for functions which it implements
46701 to always fail with ENOSYS. Some functions are actually named
46702 something starting with __ and the normal name is an alias. */
46703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46706 char (*f) () = $ac_func;
46715 return f != $ac_func;
46720 rm -f conftest.
$ac_objext conftest
$ac_exeext
46721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46722 (eval $ac_link) 2>conftest.er1
46724 grep -v '^ *+' conftest.er1
>conftest.err
46726 cat conftest.err
>&5
46727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46728 (exit $ac_status); } &&
46729 { ac_try
='test -z "$ac_c_werror_flag"
46730 || test ! -s conftest.err'
46731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46732 (eval $ac_try) 2>&5
46734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46735 (exit $ac_status); }; } &&
46736 { ac_try
='test -s conftest$ac_exeext'
46737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46738 (eval $ac_try) 2>&5
46740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46741 (exit $ac_status); }; }; then
46742 eval "$as_ac_var=yes"
46744 echo "$as_me: failed program was:" >&5
46745 sed 's/^/| /' conftest.
$ac_ext >&5
46747 eval "$as_ac_var=no"
46749 rm -f conftest.err conftest.
$ac_objext \
46750 conftest
$ac_exeext conftest.
$ac_ext
46752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46754 if test `eval echo '${'$as_ac_var'}'` = yes; then
46755 cat >>confdefs.h
<<_ACEOF
46756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46763 if test "$ac_cv_func_localtime" = "yes"; then
46764 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46765 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
46766 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46767 echo $ECHO_N "(cached) $ECHO_C" >&6
46770 cat >conftest.
$ac_ext <<_ACEOF
46773 cat confdefs.h
>>conftest.
$ac_ext
46774 cat >>conftest.
$ac_ext <<_ACEOF
46775 /* end confdefs.h. */
46790 rm -f conftest.
$ac_objext
46791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46792 (eval $ac_compile) 2>conftest.er1
46794 grep -v '^ *+' conftest.er1
>conftest.err
46796 cat conftest.err
>&5
46797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46798 (exit $ac_status); } &&
46799 { ac_try
='test -z "$ac_c_werror_flag"
46800 || test ! -s conftest.err'
46801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46802 (eval $ac_try) 2>&5
46804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46805 (exit $ac_status); }; } &&
46806 { ac_try
='test -s conftest.$ac_objext'
46807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46808 (eval $ac_try) 2>&5
46810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46811 (exit $ac_status); }; }; then
46813 wx_cv_struct_tm_has_gmtoff
=yes
46816 echo "$as_me: failed program was:" >&5
46817 sed 's/^/| /' conftest.
$ac_ext >&5
46819 wx_cv_struct_tm_has_gmtoff
=no
46822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46825 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46826 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
46829 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46830 cat >>confdefs.h
<<\_ACEOF
46831 #define WX_GMTOFF_IN_TM 1
46836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46840 if test "$wxUSE_SOCKETS" = "yes"; then
46841 if test "$wxUSE_MGL" = "1"; then
46842 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46843 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46848 if test "$wxUSE_SOCKETS" = "yes"; then
46849 if test "$TOOLKIT" != "MSW"; then
46850 echo "$as_me:$LINENO: checking for socket" >&5
46851 echo $ECHO_N "checking for socket... $ECHO_C" >&6
46852 if test "${ac_cv_func_socket+set}" = set; then
46853 echo $ECHO_N "(cached) $ECHO_C" >&6
46855 cat >conftest.
$ac_ext <<_ACEOF
46858 cat confdefs.h
>>conftest.
$ac_ext
46859 cat >>conftest.
$ac_ext <<_ACEOF
46860 /* end confdefs.h. */
46861 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46863 #define socket innocuous_socket
46865 /* System header to define __stub macros and hopefully few prototypes,
46866 which can conflict with char socket (); below.
46867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46868 <limits.h> exists even on freestanding compilers. */
46871 # include <limits.h>
46873 # include <assert.h>
46878 /* Override any gcc2 internal prototype to avoid an error. */
46883 /* We use char because int might match the return type of a gcc2
46884 builtin and then its argument prototype would still apply. */
46886 /* The GNU C library defines this for functions which it implements
46887 to always fail with ENOSYS. Some functions are actually named
46888 something starting with __ and the normal name is an alias. */
46889 #if defined (__stub_socket) || defined (__stub___socket)
46892 char (*f) () = socket;
46901 return f != socket;
46906 rm -f conftest.
$ac_objext conftest
$ac_exeext
46907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46908 (eval $ac_link) 2>conftest.er1
46910 grep -v '^ *+' conftest.er1
>conftest.err
46912 cat conftest.err
>&5
46913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46914 (exit $ac_status); } &&
46915 { ac_try
='test -z "$ac_c_werror_flag"
46916 || test ! -s conftest.err'
46917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46918 (eval $ac_try) 2>&5
46920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46921 (exit $ac_status); }; } &&
46922 { ac_try
='test -s conftest$ac_exeext'
46923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46924 (eval $ac_try) 2>&5
46926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46927 (exit $ac_status); }; }; then
46928 ac_cv_func_socket
=yes
46930 echo "$as_me: failed program was:" >&5
46931 sed 's/^/| /' conftest.
$ac_ext >&5
46933 ac_cv_func_socket
=no
46935 rm -f conftest.err conftest.
$ac_objext \
46936 conftest
$ac_exeext conftest.
$ac_ext
46938 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46939 echo "${ECHO_T}$ac_cv_func_socket" >&6
46940 if test $ac_cv_func_socket = yes; then
46944 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46945 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
46946 if test "${ac_cv_lib_socket_socket+set}" = set; then
46947 echo $ECHO_N "(cached) $ECHO_C" >&6
46949 ac_check_lib_save_LIBS
=$LIBS
46950 LIBS
="-lsocket $LIBS"
46951 cat >conftest.
$ac_ext <<_ACEOF
46954 cat confdefs.h
>>conftest.
$ac_ext
46955 cat >>conftest.
$ac_ext <<_ACEOF
46956 /* end confdefs.h. */
46958 /* Override any gcc2 internal prototype to avoid an error. */
46962 /* We use char because int might match the return type of a gcc2
46963 builtin and then its argument prototype would still apply. */
46973 rm -f conftest.
$ac_objext conftest
$ac_exeext
46974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46975 (eval $ac_link) 2>conftest.er1
46977 grep -v '^ *+' conftest.er1
>conftest.err
46979 cat conftest.err
>&5
46980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46981 (exit $ac_status); } &&
46982 { ac_try
='test -z "$ac_c_werror_flag"
46983 || test ! -s conftest.err'
46984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46985 (eval $ac_try) 2>&5
46987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46988 (exit $ac_status); }; } &&
46989 { ac_try
='test -s conftest$ac_exeext'
46990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46991 (eval $ac_try) 2>&5
46993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46994 (exit $ac_status); }; }; then
46995 ac_cv_lib_socket_socket
=yes
46997 echo "$as_me: failed program was:" >&5
46998 sed 's/^/| /' conftest.
$ac_ext >&5
47000 ac_cv_lib_socket_socket
=no
47002 rm -f conftest.err conftest.
$ac_objext \
47003 conftest
$ac_exeext conftest.
$ac_ext
47004 LIBS
=$ac_check_lib_save_LIBS
47006 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
47007 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
47008 if test $ac_cv_lib_socket_socket = yes; then
47009 if test "$INET_LINK" != " -lsocket"; then
47010 INET_LINK
="$INET_LINK -lsocket"
47014 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
47015 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
47028 if test "$wxUSE_SOCKETS" = "yes" ; then
47029 if test "$TOOLKIT" != "MSW"; then
47030 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
47031 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
47032 if test "${wx_cv_type_getsockname3+set}" = set; then
47033 echo $ECHO_N "(cached) $ECHO_C" >&6
47037 ac_cpp
='$CXXCPP $CPPFLAGS'
47038 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47039 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47040 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47042 cat >conftest.
$ac_ext <<_ACEOF
47045 cat confdefs.h
>>conftest.
$ac_ext
47046 cat >>conftest.
$ac_ext <<_ACEOF
47047 /* end confdefs.h. */
47049 #include <sys/types.h>
47050 #include <sys/socket.h>
47057 getsockname(0, 0, &len);
47063 rm -f conftest.
$ac_objext
47064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47065 (eval $ac_compile) 2>conftest.er1
47067 grep -v '^ *+' conftest.er1
>conftest.err
47069 cat conftest.err
>&5
47070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47071 (exit $ac_status); } &&
47072 { ac_try
='test -z "$ac_cxx_werror_flag"
47073 || test ! -s conftest.err'
47074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47075 (eval $ac_try) 2>&5
47077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47078 (exit $ac_status); }; } &&
47079 { ac_try
='test -s conftest.$ac_objext'
47080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47081 (eval $ac_try) 2>&5
47083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47084 (exit $ac_status); }; }; then
47085 wx_cv_type_getsockname3
=socklen_t
47087 echo "$as_me: failed program was:" >&5
47088 sed 's/^/| /' conftest.
$ac_ext >&5
47091 CFLAGS_OLD
="$CFLAGS"
47092 if test "$GCC" = yes ; then
47093 CFLAGS
="-Werror $CFLAGS"
47096 cat >conftest.
$ac_ext <<_ACEOF
47099 cat confdefs.h
>>conftest.
$ac_ext
47100 cat >>conftest.
$ac_ext <<_ACEOF
47101 /* end confdefs.h. */
47103 #include <sys/types.h>
47104 #include <sys/socket.h>
47111 getsockname(0, 0, &len);
47117 rm -f conftest.
$ac_objext
47118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47119 (eval $ac_compile) 2>conftest.er1
47121 grep -v '^ *+' conftest.er1
>conftest.err
47123 cat conftest.err
>&5
47124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47125 (exit $ac_status); } &&
47126 { ac_try
='test -z "$ac_cxx_werror_flag"
47127 || test ! -s conftest.err'
47128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47129 (eval $ac_try) 2>&5
47131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47132 (exit $ac_status); }; } &&
47133 { ac_try
='test -s conftest.$ac_objext'
47134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47135 (eval $ac_try) 2>&5
47137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47138 (exit $ac_status); }; }; then
47139 wx_cv_type_getsockname3
=size_t
47141 echo "$as_me: failed program was:" >&5
47142 sed 's/^/| /' conftest.
$ac_ext >&5
47144 cat >conftest.
$ac_ext <<_ACEOF
47147 cat confdefs.h
>>conftest.
$ac_ext
47148 cat >>conftest.
$ac_ext <<_ACEOF
47149 /* end confdefs.h. */
47151 #include <sys/types.h>
47152 #include <sys/socket.h>
47159 getsockname(0, 0, &len);
47165 rm -f conftest.
$ac_objext
47166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47167 (eval $ac_compile) 2>conftest.er1
47169 grep -v '^ *+' conftest.er1
>conftest.err
47171 cat conftest.err
>&5
47172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47173 (exit $ac_status); } &&
47174 { ac_try
='test -z "$ac_cxx_werror_flag"
47175 || test ! -s conftest.err'
47176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47177 (eval $ac_try) 2>&5
47179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47180 (exit $ac_status); }; } &&
47181 { ac_try
='test -s conftest.$ac_objext'
47182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47183 (eval $ac_try) 2>&5
47185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47186 (exit $ac_status); }; }; then
47187 wx_cv_type_getsockname3
=int
47189 echo "$as_me: failed program was:" >&5
47190 sed 's/^/| /' conftest.
$ac_ext >&5
47192 wx_cv_type_getsockname3
=unknown
47195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47200 CFLAGS
="$CFLAGS_OLD"
47204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47206 ac_cpp
='$CPP $CPPFLAGS'
47207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47213 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47214 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
47216 if test "$wx_cv_type_getsockname3" = "unknown"; then
47218 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47219 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47221 cat >>confdefs.h
<<_ACEOF
47222 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47226 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47227 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
47228 if test "${wx_cv_type_getsockopt5+set}" = set; then
47229 echo $ECHO_N "(cached) $ECHO_C" >&6
47233 ac_cpp
='$CXXCPP $CPPFLAGS'
47234 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47235 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47236 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47238 cat >conftest.
$ac_ext <<_ACEOF
47241 cat confdefs.h
>>conftest.
$ac_ext
47242 cat >>conftest.
$ac_ext <<_ACEOF
47243 /* end confdefs.h. */
47245 #include <sys/types.h>
47246 #include <sys/socket.h>
47253 getsockopt(0, 0, 0, 0, &len);
47259 rm -f conftest.
$ac_objext
47260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47261 (eval $ac_compile) 2>conftest.er1
47263 grep -v '^ *+' conftest.er1
>conftest.err
47265 cat conftest.err
>&5
47266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47267 (exit $ac_status); } &&
47268 { ac_try
='test -z "$ac_cxx_werror_flag"
47269 || test ! -s conftest.err'
47270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47271 (eval $ac_try) 2>&5
47273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47274 (exit $ac_status); }; } &&
47275 { ac_try
='test -s conftest.$ac_objext'
47276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47277 (eval $ac_try) 2>&5
47279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47280 (exit $ac_status); }; }; then
47281 wx_cv_type_getsockopt5
=socklen_t
47283 echo "$as_me: failed program was:" >&5
47284 sed 's/^/| /' conftest.
$ac_ext >&5
47287 cat >conftest.
$ac_ext <<_ACEOF
47290 cat confdefs.h
>>conftest.
$ac_ext
47291 cat >>conftest.
$ac_ext <<_ACEOF
47292 /* end confdefs.h. */
47294 #include <sys/types.h>
47295 #include <sys/socket.h>
47302 getsockopt(0, 0, 0, 0, &len);
47308 rm -f conftest.
$ac_objext
47309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47310 (eval $ac_compile) 2>conftest.er1
47312 grep -v '^ *+' conftest.er1
>conftest.err
47314 cat conftest.err
>&5
47315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47316 (exit $ac_status); } &&
47317 { ac_try
='test -z "$ac_cxx_werror_flag"
47318 || test ! -s conftest.err'
47319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47320 (eval $ac_try) 2>&5
47322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47323 (exit $ac_status); }; } &&
47324 { ac_try
='test -s conftest.$ac_objext'
47325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47326 (eval $ac_try) 2>&5
47328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47329 (exit $ac_status); }; }; then
47330 wx_cv_type_getsockopt5
=size_t
47332 echo "$as_me: failed program was:" >&5
47333 sed 's/^/| /' conftest.
$ac_ext >&5
47335 cat >conftest.
$ac_ext <<_ACEOF
47338 cat confdefs.h
>>conftest.
$ac_ext
47339 cat >>conftest.
$ac_ext <<_ACEOF
47340 /* end confdefs.h. */
47342 #include <sys/types.h>
47343 #include <sys/socket.h>
47350 getsockopt(0, 0, 0, 0, &len);
47356 rm -f conftest.
$ac_objext
47357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47358 (eval $ac_compile) 2>conftest.er1
47360 grep -v '^ *+' conftest.er1
>conftest.err
47362 cat conftest.err
>&5
47363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47364 (exit $ac_status); } &&
47365 { ac_try
='test -z "$ac_cxx_werror_flag"
47366 || test ! -s conftest.err'
47367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47368 (eval $ac_try) 2>&5
47370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47371 (exit $ac_status); }; } &&
47372 { ac_try
='test -s conftest.$ac_objext'
47373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47374 (eval $ac_try) 2>&5
47376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47377 (exit $ac_status); }; }; then
47378 wx_cv_type_getsockopt5
=int
47380 echo "$as_me: failed program was:" >&5
47381 sed 's/^/| /' conftest.
$ac_ext >&5
47383 wx_cv_type_getsockopt5
=unknown
47386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47395 ac_cpp
='$CPP $CPPFLAGS'
47396 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47397 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47398 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47402 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47403 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
47405 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47407 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47408 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47410 cat >>confdefs.h
<<_ACEOF
47411 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47418 if test "$wxUSE_SOCKETS" = "yes" ; then
47419 cat >>confdefs.h
<<\_ACEOF
47420 #define wxUSE_SOCKETS 1
47423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
47426 if test "$wxUSE_PROTOCOL" = "yes"; then
47427 if test "$wxUSE_SOCKETS" != "yes"; then
47428 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47429 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47434 if test "$wxUSE_PROTOCOL" = "yes"; then
47435 cat >>confdefs.h
<<\_ACEOF
47436 #define wxUSE_PROTOCOL 1
47440 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47441 cat >>confdefs.h
<<\_ACEOF
47442 #define wxUSE_PROTOCOL_HTTP 1
47446 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47447 cat >>confdefs.h
<<\_ACEOF
47448 #define wxUSE_PROTOCOL_FTP 1
47452 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47453 cat >>confdefs.h
<<\_ACEOF
47454 #define wxUSE_PROTOCOL_FILE 1
47459 if test "$wxUSE_FS_INET" = "yes"; then
47460 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47461 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47466 if test "$wxUSE_URL" = "yes"; then
47467 if test "$wxUSE_PROTOCOL" != "yes"; then
47468 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47469 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47472 if test "$wxUSE_URL" = "yes"; then
47473 cat >>confdefs.h
<<\_ACEOF
47474 #define wxUSE_URL 1
47480 if test "$wxUSE_VARIANT" = "yes"; then
47481 cat >>confdefs.h
<<\_ACEOF
47482 #define wxUSE_VARIANT 1
47487 if test "$wxUSE_FS_INET" = "yes"; then
47488 cat >>confdefs.h
<<\_ACEOF
47489 #define wxUSE_FS_INET 1
47495 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47498 if test "$TOOLKIT" = "MSW"; then
47501 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47502 if test "$USE_DARWIN" = 1; then
47503 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47504 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
47506 ac_cpp
='$CXXCPP $CPPFLAGS'
47507 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47508 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47509 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47511 cat >conftest.
$ac_ext <<_ACEOF
47514 cat confdefs.h
>>conftest.
$ac_ext
47515 cat >>conftest.
$ac_ext <<_ACEOF
47516 /* end confdefs.h. */
47517 #include <IOKit/hid/IOHIDLib.h>
47521 IOHIDQueueInterface *qi = NULL;
47522 IOHIDCallbackFunction cb = NULL;
47523 qi->setEventCallout(NULL, cb, NULL, NULL);
47528 rm -f conftest.
$ac_objext
47529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47530 (eval $ac_compile) 2>conftest.er1
47532 grep -v '^ *+' conftest.er1
>conftest.err
47534 cat conftest.err
>&5
47535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47536 (exit $ac_status); } &&
47537 { ac_try
='test -z "$ac_cxx_werror_flag"
47538 || test ! -s conftest.err'
47539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47540 (eval $ac_try) 2>&5
47542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47543 (exit $ac_status); }; } &&
47544 { ac_try
='test -s conftest.$ac_objext'
47545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47546 (eval $ac_try) 2>&5
47548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47549 (exit $ac_status); }; }; then
47553 echo "$as_me: failed program was:" >&5
47554 sed 's/^/| /' conftest.
$ac_ext >&5
47557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47559 ac_cpp
='$CPP $CPPFLAGS'
47560 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47561 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47562 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47564 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47565 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
47569 if test "$wxUSE_MGL" != "1"; then
47571 for ac_header
in linux
/joystick.h
47573 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47574 echo "$as_me:$LINENO: checking for $ac_header" >&5
47575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47577 echo $ECHO_N "(cached) $ECHO_C" >&6
47579 cat >conftest.
$ac_ext <<_ACEOF
47582 cat confdefs.h
>>conftest.
$ac_ext
47583 cat >>conftest.
$ac_ext <<_ACEOF
47584 /* end confdefs.h. */
47585 $ac_includes_default
47587 #include <$ac_header>
47589 rm -f conftest.
$ac_objext
47590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47591 (eval $ac_compile) 2>conftest.er1
47593 grep -v '^ *+' conftest.er1
>conftest.err
47595 cat conftest.err
>&5
47596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47597 (exit $ac_status); } &&
47598 { ac_try
='test -z "$ac_c_werror_flag"
47599 || test ! -s conftest.err'
47600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47601 (eval $ac_try) 2>&5
47603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47604 (exit $ac_status); }; } &&
47605 { ac_try
='test -s conftest.$ac_objext'
47606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47607 (eval $ac_try) 2>&5
47609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47610 (exit $ac_status); }; }; then
47611 eval "$as_ac_Header=yes"
47613 echo "$as_me: failed program was:" >&5
47614 sed 's/^/| /' conftest.
$ac_ext >&5
47616 eval "$as_ac_Header=no"
47618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47623 cat >>confdefs.h
<<_ACEOF
47624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47634 if test "$wxUSE_JOYSTICK" = "yes"; then
47635 cat >>confdefs.h
<<\_ACEOF
47636 #define wxUSE_JOYSTICK 1
47639 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
47641 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47642 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47648 if test "$wxUSE_FONTENUM" = "yes" ; then
47649 cat >>confdefs.h
<<\_ACEOF
47650 #define wxUSE_FONTENUM 1
47655 if test "$wxUSE_FONTMAP" = "yes" ; then
47656 cat >>confdefs.h
<<\_ACEOF
47657 #define wxUSE_FONTMAP 1
47662 if test "$wxUSE_UNICODE" = "yes" ; then
47663 cat >>confdefs.h
<<\_ACEOF
47664 #define wxUSE_UNICODE 1
47668 if test "$USE_WIN32" != 1; then
47669 wxUSE_UNICODE_MSLU
=no
47672 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47673 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47674 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
47675 if test "${ac_cv_lib_unicows_main+set}" = set; then
47676 echo $ECHO_N "(cached) $ECHO_C" >&6
47678 ac_check_lib_save_LIBS
=$LIBS
47679 LIBS
="-lunicows $LIBS"
47680 cat >conftest.
$ac_ext <<_ACEOF
47683 cat confdefs.h
>>conftest.
$ac_ext
47684 cat >>conftest.
$ac_ext <<_ACEOF
47685 /* end confdefs.h. */
47696 rm -f conftest.
$ac_objext conftest
$ac_exeext
47697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47698 (eval $ac_link) 2>conftest.er1
47700 grep -v '^ *+' conftest.er1
>conftest.err
47702 cat conftest.err
>&5
47703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47704 (exit $ac_status); } &&
47705 { ac_try
='test -z "$ac_c_werror_flag"
47706 || test ! -s conftest.err'
47707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47708 (eval $ac_try) 2>&5
47710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47711 (exit $ac_status); }; } &&
47712 { ac_try
='test -s conftest$ac_exeext'
47713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47714 (eval $ac_try) 2>&5
47716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47717 (exit $ac_status); }; }; then
47718 ac_cv_lib_unicows_main
=yes
47720 echo "$as_me: failed program was:" >&5
47721 sed 's/^/| /' conftest.
$ac_ext >&5
47723 ac_cv_lib_unicows_main
=no
47725 rm -f conftest.err conftest.
$ac_objext \
47726 conftest
$ac_exeext conftest.
$ac_ext
47727 LIBS
=$ac_check_lib_save_LIBS
47729 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47730 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
47731 if test $ac_cv_lib_unicows_main = yes; then
47733 cat >>confdefs.h
<<\_ACEOF
47734 #define wxUSE_UNICODE_MSLU 1
47740 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47741 Applications will only run on Windows NT/2000/XP!" >&5
47742 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47743 Applications will only run on Windows NT/2000/XP!" >&2;}
47744 wxUSE_UNICODE_MSLU
=no
47751 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47752 cat >>confdefs.h
<<\_ACEOF
47753 #define wxUSE_UNICODE_UTF8 1
47757 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47758 cat >>confdefs.h
<<\_ACEOF
47759 #define wxUSE_UTF8_LOCALE_ONLY 1
47766 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47767 cat >>confdefs.h
<<\_ACEOF
47768 #define wxUSE_CONSTRAINTS 1
47771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
47774 if test "$wxUSE_MDI" = "yes"; then
47775 cat >>confdefs.h
<<\_ACEOF
47776 #define wxUSE_MDI 1
47780 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47781 cat >>confdefs.h
<<\_ACEOF
47782 #define wxUSE_MDI_ARCHITECTURE 1
47785 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
47789 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47790 cat >>confdefs.h
<<\_ACEOF
47791 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
47795 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
47800 if test "$wxUSE_HELP" = "yes"; then
47801 cat >>confdefs.h
<<\_ACEOF
47802 #define wxUSE_HELP 1
47805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
47807 if test "$wxUSE_MSW" = 1; then
47808 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47809 cat >>confdefs.h
<<\_ACEOF
47810 #define wxUSE_MS_HTML_HELP 1
47816 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47817 if test "$wxUSE_HTML" = "yes"; then
47818 cat >>confdefs.h
<<\_ACEOF
47819 #define wxUSE_WXHTML_HELP 1
47823 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47824 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47825 wxUSE_WXHTML_HELP
=no
47830 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47831 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47832 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47833 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47835 cat >>confdefs.h
<<\_ACEOF
47836 #define wxUSE_PRINTING_ARCHITECTURE 1
47840 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
47843 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47844 cat >>confdefs.h
<<\_ACEOF
47845 #define wxUSE_POSTSCRIPT 1
47850 cat >>confdefs.h
<<\_ACEOF
47851 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47855 if test "$wxUSE_SVG" = "yes"; then
47856 cat >>confdefs.h
<<\_ACEOF
47857 #define wxUSE_SVG 1
47863 if test "$wxUSE_METAFILE" = "yes"; then
47864 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47865 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47866 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47872 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
47873 -o "$wxUSE_CLIPBOARD" = "yes" \
47874 -o "$wxUSE_OLE" = "yes" \
47875 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
47876 echo "$as_me:$LINENO: checking for ole2.h" >&5
47877 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6
47878 if test "${ac_cv_header_ole2_h+set}" = set; then
47879 echo $ECHO_N "(cached) $ECHO_C" >&6
47881 cat >conftest.
$ac_ext <<_ACEOF
47884 cat confdefs.h
>>conftest.
$ac_ext
47885 cat >>conftest.
$ac_ext <<_ACEOF
47886 /* end confdefs.h. */
47891 rm -f conftest.
$ac_objext
47892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47893 (eval $ac_compile) 2>conftest.er1
47895 grep -v '^ *+' conftest.er1
>conftest.err
47897 cat conftest.err
>&5
47898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47899 (exit $ac_status); } &&
47900 { ac_try
='test -z "$ac_c_werror_flag"
47901 || test ! -s conftest.err'
47902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47903 (eval $ac_try) 2>&5
47905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47906 (exit $ac_status); }; } &&
47907 { ac_try
='test -s conftest.$ac_objext'
47908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47909 (eval $ac_try) 2>&5
47911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47912 (exit $ac_status); }; }; then
47913 ac_cv_header_ole2_h
=yes
47915 echo "$as_me: failed program was:" >&5
47916 sed 's/^/| /' conftest.
$ac_ext >&5
47918 ac_cv_header_ole2_h
=no
47920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47922 echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47923 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6
47927 if test "$ac_cv_header_ole2_h" = "yes" ; then
47928 if test "$GCC" = yes ; then
47929 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47930 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
47931 cat >conftest.
$ac_ext <<_ACEOF
47934 cat confdefs.h
>>conftest.
$ac_ext
47935 cat >>conftest.
$ac_ext <<_ACEOF
47936 /* end confdefs.h. */
47937 #include <windows.h>
47947 rm -f conftest.
$ac_objext
47948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47949 (eval $ac_compile) 2>conftest.er1
47951 grep -v '^ *+' conftest.er1
>conftest.err
47953 cat conftest.err
>&5
47954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47955 (exit $ac_status); } &&
47956 { ac_try
='test -z "$ac_c_werror_flag"
47957 || test ! -s conftest.err'
47958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47959 (eval $ac_try) 2>&5
47961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47962 (exit $ac_status); }; } &&
47963 { ac_try
='test -s conftest.$ac_objext'
47964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47965 (eval $ac_try) 2>&5
47967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47968 (exit $ac_status); }; }; then
47969 echo "$as_me:$LINENO: result: no" >&5
47970 echo "${ECHO_T}no" >&6
47972 echo "$as_me: failed program was:" >&5
47973 sed 's/^/| /' conftest.
$ac_ext >&5
47975 echo "$as_me:$LINENO: result: yes" >&5
47976 echo "${ECHO_T}yes" >&6
47977 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47980 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47981 if test "$wxUSE_OLE" = "yes" ; then
47982 cat >>confdefs.h
<<\_ACEOF
47983 #define wxUSE_OLE 1
47986 cat >>confdefs.h
<<\_ACEOF
47987 #define wxUSE_OLE_AUTOMATION 1
47990 cat >>confdefs.h
<<\_ACEOF
47991 #define wxUSE_ACTIVEX 1
47994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
47998 if test "$wxUSE_DATAOBJ" = "yes" ; then
47999 cat >>confdefs.h
<<\_ACEOF
48000 #define wxUSE_DATAOBJ 1
48005 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
48006 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
48009 wxUSE_DRAG_AND_DROP
=no
48014 if test "$wxUSE_METAFILE" = "yes"; then
48015 cat >>confdefs.h
<<\_ACEOF
48016 #define wxUSE_METAFILE 1
48020 cat >>confdefs.h
<<\_ACEOF
48021 #define wxUSE_ENH_METAFILE 1
48027 if test "$wxUSE_IPC" = "yes"; then
48028 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
48029 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
48030 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
48034 if test "$wxUSE_IPC" = "yes"; then
48035 cat >>confdefs.h
<<\_ACEOF
48036 #define wxUSE_IPC 1
48039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
48043 if test "$wxUSE_DATAOBJ" = "yes"; then
48044 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48045 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
48046 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
48049 cat >>confdefs.h
<<\_ACEOF
48050 #define wxUSE_DATAOBJ 1
48055 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
48056 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
48058 wxUSE_DRAG_AND_DROP
=no
48061 if test "$wxUSE_CLIPBOARD" = "yes"; then
48062 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48063 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
48064 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
48068 if test "$wxUSE_CLIPBOARD" = "yes"; then
48069 cat >>confdefs.h
<<\_ACEOF
48070 #define wxUSE_CLIPBOARD 1
48076 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
48077 if test "$wxUSE_GTK" = 1; then
48078 if test "$WXGTK12" != 1; then
48079 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
48080 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
48081 wxUSE_DRAG_AND_DROP
=no
48085 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
48086 "$wxUSE_DFB" = 1; then
48087 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
48088 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
48089 wxUSE_DRAG_AND_DROP
=no
48092 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
48093 cat >>confdefs.h
<<\_ACEOF
48094 #define wxUSE_DRAG_AND_DROP 1
48101 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
48102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
48105 if test "$wxUSE_SPLINES" = "yes" ; then
48106 cat >>confdefs.h
<<\_ACEOF
48107 #define wxUSE_SPLINES 1
48112 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
48113 cat >>confdefs.h
<<\_ACEOF
48114 #define wxUSE_MOUSEWHEEL 1
48121 if test "$wxUSE_CONTROLS" = "yes"; then
48125 if test "$wxUSE_ACCEL" = "yes"; then
48126 cat >>confdefs.h
<<\_ACEOF
48127 #define wxUSE_ACCEL 1
48133 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48134 cat >>confdefs.h
<<\_ACEOF
48135 #define wxUSE_ANIMATIONCTRL 1
48139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
48142 if test "$wxUSE_BUTTON" = "yes"; then
48143 cat >>confdefs.h
<<\_ACEOF
48144 #define wxUSE_BUTTON 1
48150 if test "$wxUSE_BMPBUTTON" = "yes"; then
48151 cat >>confdefs.h
<<\_ACEOF
48152 #define wxUSE_BMPBUTTON 1
48158 if test "$wxUSE_CALCTRL" = "yes"; then
48159 cat >>confdefs.h
<<\_ACEOF
48160 #define wxUSE_CALENDARCTRL 1
48164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
48167 if test "$wxUSE_CARET" = "yes"; then
48168 cat >>confdefs.h
<<\_ACEOF
48169 #define wxUSE_CARET 1
48173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
48176 if test "$wxUSE_COLLPANE" = "yes"; then
48177 cat >>confdefs.h
<<\_ACEOF
48178 #define wxUSE_COLLPANE 1
48182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
48185 if test "$wxUSE_COMBOBOX" = "yes"; then
48186 cat >>confdefs.h
<<\_ACEOF
48187 #define wxUSE_COMBOBOX 1
48193 if test "$wxUSE_COMBOCTRL" = "yes"; then
48194 cat >>confdefs.h
<<\_ACEOF
48195 #define wxUSE_COMBOCTRL 1
48201 if test "$wxUSE_CHOICE" = "yes"; then
48202 cat >>confdefs.h
<<\_ACEOF
48203 #define wxUSE_CHOICE 1
48209 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48210 cat >>confdefs.h
<<\_ACEOF
48211 #define wxUSE_CHOICEBOOK 1
48217 if test "$wxUSE_CHECKBOX" = "yes"; then
48218 cat >>confdefs.h
<<\_ACEOF
48219 #define wxUSE_CHECKBOX 1
48225 if test "$wxUSE_CHECKLST" = "yes"; then
48226 cat >>confdefs.h
<<\_ACEOF
48227 #define wxUSE_CHECKLISTBOX 1
48233 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48234 cat >>confdefs.h
<<\_ACEOF
48235 #define wxUSE_COLOURPICKERCTRL 1
48241 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48242 cat >>confdefs.h
<<\_ACEOF
48243 #define wxUSE_DATEPICKCTRL 1
48249 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48250 cat >>confdefs.h
<<\_ACEOF
48251 #define wxUSE_DIRPICKERCTRL 1
48257 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48258 cat >>confdefs.h
<<\_ACEOF
48259 #define wxUSE_FILEPICKERCTRL 1
48265 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48266 cat >>confdefs.h
<<\_ACEOF
48267 #define wxUSE_FONTPICKERCTRL 1
48273 if test "$wxUSE_DISPLAY" = "yes"; then
48274 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48275 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48276 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48279 cat >>confdefs.h
<<\_ACEOF
48280 #define wxUSE_DISPLAY 1
48283 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
48287 if test "$wxUSE_DETECT_SM" = "yes"; then
48288 cat >>confdefs.h
<<\_ACEOF
48289 #define wxUSE_DETECT_SM 1
48294 if test "$wxUSE_GAUGE" = "yes"; then
48295 cat >>confdefs.h
<<\_ACEOF
48296 #define wxUSE_GAUGE 1
48302 if test "$wxUSE_GRID" = "yes"; then
48303 cat >>confdefs.h
<<\_ACEOF
48304 #define wxUSE_GRID 1
48308 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
48311 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48312 cat >>confdefs.h
<<\_ACEOF
48313 #define wxUSE_HYPERLINKCTRL 1
48319 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48320 cat >>confdefs.h
<<\_ACEOF
48321 #define wxUSE_BITMAPCOMBOBOX 1
48327 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48328 cat >>confdefs.h
<<\_ACEOF
48329 #define wxUSE_DATAVIEWCTRL 1
48333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
48336 if test "$wxUSE_IMAGLIST" = "yes"; then
48337 cat >>confdefs.h
<<\_ACEOF
48338 #define wxUSE_IMAGLIST 1
48343 if test "$wxUSE_LISTBOOK" = "yes"; then
48344 cat >>confdefs.h
<<\_ACEOF
48345 #define wxUSE_LISTBOOK 1
48351 if test "$wxUSE_LISTBOX" = "yes"; then
48352 cat >>confdefs.h
<<\_ACEOF
48353 #define wxUSE_LISTBOX 1
48359 if test "$wxUSE_LISTCTRL" = "yes"; then
48360 if test "$wxUSE_IMAGLIST" = "yes"; then
48361 cat >>confdefs.h
<<\_ACEOF
48362 #define wxUSE_LISTCTRL 1
48366 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
48368 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48369 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48373 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48374 cat >>confdefs.h
<<\_ACEOF
48375 #define wxUSE_EDITABLELISTBOX 1
48379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
48382 if test "$wxUSE_NOTEBOOK" = "yes"; then
48383 cat >>confdefs.h
<<\_ACEOF
48384 #define wxUSE_NOTEBOOK 1
48388 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
48391 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48392 cat >>confdefs.h
<<\_ACEOF
48393 #define wxUSE_ODCOMBOBOX 1
48397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
48400 if test "$wxUSE_RADIOBOX" = "yes"; then
48401 cat >>confdefs.h
<<\_ACEOF
48402 #define wxUSE_RADIOBOX 1
48408 if test "$wxUSE_RADIOBTN" = "yes"; then
48409 cat >>confdefs.h
<<\_ACEOF
48410 #define wxUSE_RADIOBTN 1
48416 if test "$wxUSE_SASH" = "yes"; then
48417 cat >>confdefs.h
<<\_ACEOF
48418 #define wxUSE_SASH 1
48421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
48424 if test "$wxUSE_SCROLLBAR" = "yes"; then
48425 cat >>confdefs.h
<<\_ACEOF
48426 #define wxUSE_SCROLLBAR 1
48430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
48433 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48434 cat >>confdefs.h
<<\_ACEOF
48435 #define wxUSE_SEARCHCTRL 1
48441 if test "$wxUSE_SLIDER" = "yes"; then
48442 cat >>confdefs.h
<<\_ACEOF
48443 #define wxUSE_SLIDER 1
48449 if test "$wxUSE_SPINBTN" = "yes"; then
48450 cat >>confdefs.h
<<\_ACEOF
48451 #define wxUSE_SPINBTN 1
48457 if test "$wxUSE_SPINCTRL" = "yes"; then
48458 cat >>confdefs.h
<<\_ACEOF
48459 #define wxUSE_SPINCTRL 1
48465 if test "$wxUSE_SPLITTER" = "yes"; then
48466 cat >>confdefs.h
<<\_ACEOF
48467 #define wxUSE_SPLITTER 1
48470 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
48473 if test "$wxUSE_STATBMP" = "yes"; then
48474 cat >>confdefs.h
<<\_ACEOF
48475 #define wxUSE_STATBMP 1
48481 if test "$wxUSE_STATBOX" = "yes"; then
48482 cat >>confdefs.h
<<\_ACEOF
48483 #define wxUSE_STATBOX 1
48489 if test "$wxUSE_STATTEXT" = "yes"; then
48490 cat >>confdefs.h
<<\_ACEOF
48491 #define wxUSE_STATTEXT 1
48497 if test "$wxUSE_STATLINE" = "yes"; then
48498 cat >>confdefs.h
<<\_ACEOF
48499 #define wxUSE_STATLINE 1
48505 if test "$wxUSE_STATUSBAR" = "yes"; then
48506 cat >>confdefs.h
<<\_ACEOF
48507 #define wxUSE_NATIVE_STATUSBAR 1
48510 cat >>confdefs.h
<<\_ACEOF
48511 #define wxUSE_STATUSBAR 1
48516 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
48519 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48520 cat >>confdefs.h
<<\_ACEOF
48521 #define wxUSE_TAB_DIALOG 1
48526 if test "$wxUSE_TEXTCTRL" = "yes"; then
48527 cat >>confdefs.h
<<\_ACEOF
48528 #define wxUSE_TEXTCTRL 1
48532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
48535 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48536 if test "$wxUSE_COCOA" = 1 ; then
48537 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48538 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48542 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48543 cat >>confdefs.h
<<\_ACEOF
48544 #define wxUSE_TOGGLEBTN 1
48551 if test "$wxUSE_TOOLBAR" = "yes"; then
48552 cat >>confdefs.h
<<\_ACEOF
48553 #define wxUSE_TOOLBAR 1
48558 if test "$wxUSE_UNIVERSAL" = "yes"; then
48559 wxUSE_TOOLBAR_NATIVE
="no"
48561 wxUSE_TOOLBAR_NATIVE
="yes"
48562 cat >>confdefs.h
<<\_ACEOF
48563 #define wxUSE_TOOLBAR_NATIVE 1
48568 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
48571 if test "$wxUSE_TOOLTIPS" = "yes"; then
48572 if test "$wxUSE_MOTIF" = 1; then
48573 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48574 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48576 if test "$wxUSE_UNIVERSAL" = "yes"; then
48577 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48578 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48580 cat >>confdefs.h
<<\_ACEOF
48581 #define wxUSE_TOOLTIPS 1
48588 if test "$wxUSE_TREEBOOK" = "yes"; then
48589 cat >>confdefs.h
<<\_ACEOF
48590 #define wxUSE_TREEBOOK 1
48596 if test "$wxUSE_TOOLBOOK" = "yes"; then
48597 cat >>confdefs.h
<<\_ACEOF
48598 #define wxUSE_TOOLBOOK 1
48604 if test "$wxUSE_TREECTRL" = "yes"; then
48605 if test "$wxUSE_IMAGLIST" = "yes"; then
48606 cat >>confdefs.h
<<\_ACEOF
48607 #define wxUSE_TREECTRL 1
48611 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
48613 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48614 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48618 if test "$wxUSE_POPUPWIN" = "yes"; then
48619 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48620 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48621 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48623 if test "$wxUSE_PM" = 1; then
48624 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48625 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48627 cat >>confdefs.h
<<\_ACEOF
48628 #define wxUSE_POPUPWIN 1
48631 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
48638 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48639 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48640 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48641 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48643 cat >>confdefs.h
<<\_ACEOF
48644 #define wxUSE_DIALUP_MANAGER 1
48647 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
48651 if test "$wxUSE_TIPWINDOW" = "yes"; then
48652 if test "$wxUSE_PM" = 1; then
48653 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48654 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48656 cat >>confdefs.h
<<\_ACEOF
48657 #define wxUSE_TIPWINDOW 1
48663 if test "$USES_CONTROLS" = 1; then
48664 cat >>confdefs.h
<<\_ACEOF
48665 #define wxUSE_CONTROLS 1
48671 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48672 cat >>confdefs.h
<<\_ACEOF
48673 #define wxUSE_ACCESSIBILITY 1
48676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
48679 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48680 cat >>confdefs.h
<<\_ACEOF
48681 #define wxUSE_DRAGIMAGE 1
48684 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
48687 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48688 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48689 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48690 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48692 cat >>confdefs.h
<<\_ACEOF
48693 #define wxUSE_EXCEPTIONS 1
48696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
48701 if test "$wxUSE_HTML" = "yes"; then
48702 cat >>confdefs.h
<<\_ACEOF
48703 #define wxUSE_HTML 1
48707 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48708 if test "$wxUSE_MAC" = 1; then
48709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
48712 if test "$wxUSE_WEBKIT" = "yes"; then
48713 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48714 old_CPPFLAGS
="$CPPFLAGS"
48715 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
48716 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48717 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
48718 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48719 echo $ECHO_N "(cached) $ECHO_C" >&6
48721 cat >conftest.
$ac_ext <<_ACEOF
48724 cat confdefs.h
>>conftest.
$ac_ext
48725 cat >>conftest.
$ac_ext <<_ACEOF
48726 /* end confdefs.h. */
48728 #include <Carbon/Carbon.h>
48729 #include <WebKit/WebKit.h>
48732 #include <WebKit/HIWebView.h>
48734 rm -f conftest.
$ac_objext
48735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48736 (eval $ac_compile) 2>conftest.er1
48738 grep -v '^ *+' conftest.er1
>conftest.err
48740 cat conftest.err
>&5
48741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48742 (exit $ac_status); } &&
48743 { ac_try
='test -z "$ac_c_werror_flag"
48744 || test ! -s conftest.err'
48745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48746 (eval $ac_try) 2>&5
48748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48749 (exit $ac_status); }; } &&
48750 { ac_try
='test -s conftest.$ac_objext'
48751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48752 (eval $ac_try) 2>&5
48754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48755 (exit $ac_status); }; }; then
48756 ac_cv_header_WebKit_HIWebView_h
=yes
48758 echo "$as_me: failed program was:" >&5
48759 sed 's/^/| /' conftest.
$ac_ext >&5
48761 ac_cv_header_WebKit_HIWebView_h
=no
48763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48765 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48766 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
48767 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48769 cat >>confdefs.h
<<\_ACEOF
48770 #define wxUSE_WEBKIT 1
48773 WEBKIT_LINK
="-framework WebKit"
48777 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48778 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48784 CPPFLAGS
="$old_CPPFLAGS"
48785 elif test "$wxUSE_COCOA" = 1; then
48786 cat >>confdefs.h
<<\_ACEOF
48787 #define wxUSE_WEBKIT 1
48796 if test "$wxUSE_XRC" = "yes"; then
48797 if test "$wxUSE_XML" != "yes"; then
48798 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48799 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48802 cat >>confdefs.h
<<\_ACEOF
48803 #define wxUSE_XRC 1
48807 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
48812 if test "$wxUSE_AUI" = "yes"; then
48813 cat >>confdefs.h
<<\_ACEOF
48814 #define wxUSE_AUI 1
48818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
48822 if test "$wxUSE_STC" = "yes"; then
48823 cat >>confdefs.h
<<\_ACEOF
48824 #define wxUSE_STC 1
48828 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
48831 if test "$wxUSE_MENUS" = "yes"; then
48832 cat >>confdefs.h
<<\_ACEOF
48833 #define wxUSE_MENUS 1
48836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
48839 if test "$wxUSE_METAFILE" = "yes"; then
48840 cat >>confdefs.h
<<\_ACEOF
48841 #define wxUSE_METAFILE 1
48846 if test "$wxUSE_MIMETYPE" = "yes"; then
48847 cat >>confdefs.h
<<\_ACEOF
48848 #define wxUSE_MIMETYPE 1
48853 if test "$wxUSE_MINIFRAME" = "yes"; then
48854 cat >>confdefs.h
<<\_ACEOF
48855 #define wxUSE_MINIFRAME 1
48860 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48861 cat >>confdefs.h
<<\_ACEOF
48862 #define wxUSE_SYSTEM_OPTIONS 1
48867 if test "$wxUSE_TASKBARICON" = "yes"; then
48868 cat >>confdefs.h
<<\_ACEOF
48869 #define wxUSE_TASKBARICON 1
48872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
48876 if test "$wxUSE_VALIDATORS" = "yes"; then
48877 cat >>confdefs.h
<<\_ACEOF
48878 #define wxUSE_VALIDATORS 1
48881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
48884 if test "$wxUSE_PALETTE" = "yes" ; then
48885 if test "$wxUSE_DFB" = 1; then
48886 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48887 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48890 cat >>confdefs.h
<<\_ACEOF
48891 #define wxUSE_PALETTE 1
48897 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48898 LIBS
=" -lunicows $LIBS"
48902 if test "$wxUSE_RICHTEXT" = "yes"; then
48903 cat >>confdefs.h
<<\_ACEOF
48904 #define wxUSE_RICHTEXT 1
48908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
48912 if test "$wxUSE_IMAGE" = "yes" ; then
48913 cat >>confdefs.h
<<\_ACEOF
48914 #define wxUSE_IMAGE 1
48918 if test "$wxUSE_GIF" = "yes" ; then
48919 cat >>confdefs.h
<<\_ACEOF
48920 #define wxUSE_GIF 1
48925 if test "$wxUSE_PCX" = "yes" ; then
48926 cat >>confdefs.h
<<\_ACEOF
48927 #define wxUSE_PCX 1
48932 if test "$wxUSE_TGA" = "yes" ; then
48933 cat >>confdefs.h
<<\_ACEOF
48934 #define wxUSE_TGA 1
48939 if test "$wxUSE_IFF" = "yes" ; then
48940 cat >>confdefs.h
<<\_ACEOF
48941 #define wxUSE_IFF 1
48946 if test "$wxUSE_PNM" = "yes" ; then
48947 cat >>confdefs.h
<<\_ACEOF
48948 #define wxUSE_PNM 1
48953 if test "$wxUSE_XPM" = "yes" ; then
48954 cat >>confdefs.h
<<\_ACEOF
48955 #define wxUSE_XPM 1
48960 if test "$wxUSE_ICO_CUR" = "yes" ; then
48961 cat >>confdefs.h
<<\_ACEOF
48962 #define wxUSE_ICO_CUR 1
48969 if test "$wxUSE_ABOUTDLG" = "yes"; then
48970 cat >>confdefs.h
<<\_ACEOF
48971 #define wxUSE_ABOUTDLG 1
48976 if test "$wxUSE_CHOICEDLG" = "yes"; then
48977 cat >>confdefs.h
<<\_ACEOF
48978 #define wxUSE_CHOICEDLG 1
48983 if test "$wxUSE_COLOURDLG" = "yes"; then
48984 cat >>confdefs.h
<<\_ACEOF
48985 #define wxUSE_COLOURDLG 1
48990 if test "$wxUSE_FILEDLG" = "yes"; then
48991 cat >>confdefs.h
<<\_ACEOF
48992 #define wxUSE_FILEDLG 1
48997 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48998 cat >>confdefs.h
<<\_ACEOF
48999 #define wxUSE_FINDREPLDLG 1
49004 if test "$wxUSE_FONTDLG" = "yes"; then
49005 cat >>confdefs.h
<<\_ACEOF
49006 #define wxUSE_FONTDLG 1
49011 if test "$wxUSE_DIRDLG" = "yes"; then
49012 if test "$wxUSE_TREECTRL" != "yes"; then
49013 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
49014 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
49016 cat >>confdefs.h
<<\_ACEOF
49017 #define wxUSE_DIRDLG 1
49023 if test "$wxUSE_MSGDLG" = "yes"; then
49024 cat >>confdefs.h
<<\_ACEOF
49025 #define wxUSE_MSGDLG 1
49030 if test "$wxUSE_NUMBERDLG" = "yes"; then
49031 cat >>confdefs.h
<<\_ACEOF
49032 #define wxUSE_NUMBERDLG 1
49037 if test "$wxUSE_PROGRESSDLG" = "yes"; then
49038 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49039 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
49040 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
49042 cat >>confdefs.h
<<\_ACEOF
49043 #define wxUSE_PROGRESSDLG 1
49049 if test "$wxUSE_SPLASH" = "yes"; then
49050 cat >>confdefs.h
<<\_ACEOF
49051 #define wxUSE_SPLASH 1
49054 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
49057 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
49058 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49059 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
49060 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
49062 cat >>confdefs.h
<<\_ACEOF
49063 #define wxUSE_STARTUP_TIPS 1
49069 if test "$wxUSE_TEXTDLG" = "yes"; then
49070 cat >>confdefs.h
<<\_ACEOF
49071 #define wxUSE_TEXTDLG 1
49076 if test "$wxUSE_WIZARDDLG" = "yes"; then
49077 cat >>confdefs.h
<<\_ACEOF
49078 #define wxUSE_WIZARDDLG 1
49081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
49085 if test "$wxUSE_MSW" = 1 ; then
49087 if test "$wxUSE_DC_CACHEING" = "yes"; then
49088 cat >>confdefs.h
<<\_ACEOF
49089 #define wxUSE_DC_CACHEING 1
49094 if test "$wxUSE_DIB" = "yes"; then
49095 cat >>confdefs.h
<<\_ACEOF
49096 #define wxUSE_WXDIB 1
49101 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
49102 cat >>confdefs.h
<<\_ACEOF
49103 #define wxUSE_OWNER_DRAWN 1
49108 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
49109 cat >>confdefs.h
<<\_ACEOF
49110 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
49115 if test "$wxUSE_UXTHEME" = "yes"; then
49116 cat >>confdefs.h
<<\_ACEOF
49117 #define wxUSE_UXTHEME 1
49125 if test "$USE_WIN32" = 1 ; then
49126 if test "$wxUSE_INICONF" = "yes"; then
49127 cat >>confdefs.h
<<\_ACEOF
49128 #define wxUSE_INICONF 1
49133 if test "$wxUSE_REGKEY" = "yes"; then
49134 cat >>confdefs.h
<<\_ACEOF
49135 #define wxUSE_REGKEY 1
49142 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49143 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49144 cat >>confdefs.h
<<\_ACEOF
49145 #define wxUSE_GRAPHICS_CONTEXT 1
49148 elif test "$wxUSE_GTK" != 1; then
49149 cat >>confdefs.h
<<\_ACEOF
49150 #define wxUSE_GRAPHICS_CONTEXT 1
49156 echo "$as_me:$LINENO: checking for CAIRO" >&5
49157 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
49159 if test -n "$PKG_CONFIG"; then
49160 if test -n "$CAIRO_CFLAGS"; then
49161 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
49163 if test -n "$PKG_CONFIG" && \
49164 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49165 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49168 (exit $ac_status); }; then
49169 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49177 if test -n "$PKG_CONFIG"; then
49178 if test -n "$CAIRO_LIBS"; then
49179 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
49181 if test -n "$PKG_CONFIG" && \
49182 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49183 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49186 (exit $ac_status); }; then
49187 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49198 if test $pkg_failed = yes; then
49200 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49201 _pkg_short_errors_supported
=yes
49203 _pkg_short_errors_supported
=no
49205 if test $_pkg_short_errors_supported = yes; then
49206 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49208 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49210 # Put the nasty error message in config.log where it belongs
49211 echo "$CAIRO_PKG_ERRORS" >&5
49213 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49214 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49216 elif test $pkg_failed = untried
; then
49217 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49218 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49221 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
49222 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
49223 echo "$as_me:$LINENO: result: yes" >&5
49224 echo "${ECHO_T}yes" >&6
49225 cat >>confdefs.h
<<\_ACEOF
49226 #define wxUSE_GRAPHICS_CONTEXT 1
49236 if test "$wxUSE_MEDIACTRL" = "yes"; then
49239 if test "$wxUSE_GTK" = 1; then
49240 wxUSE_GSTREAMER
="no"
49242 GST_VERSION_MAJOR
=0
49243 GST_VERSION_MINOR
=10
49244 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
49246 if test "$wxUSE_GSTREAMER8" = "no"; then
49249 echo "$as_me:$LINENO: checking for GST" >&5
49250 echo $ECHO_N "checking for GST... $ECHO_C" >&6
49252 if test -n "$PKG_CONFIG"; then
49253 if test -n "$GST_CFLAGS"; then
49254 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
49256 if test -n "$PKG_CONFIG" && \
49257 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49258 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49261 (exit $ac_status); }; then
49262 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49270 if test -n "$PKG_CONFIG"; then
49271 if test -n "$GST_LIBS"; then
49272 pkg_cv_GST_LIBS
="$GST_LIBS"
49274 if test -n "$PKG_CONFIG" && \
49275 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49276 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49279 (exit $ac_status); }; then
49280 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49291 if test $pkg_failed = yes; then
49293 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49294 _pkg_short_errors_supported
=yes
49296 _pkg_short_errors_supported
=no
49298 if test $_pkg_short_errors_supported = yes; then
49299 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49301 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49303 # Put the nasty error message in config.log where it belongs
49304 echo "$GST_PKG_ERRORS" >&5
49307 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49308 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49309 GST_VERSION_MINOR
=8
49312 elif test $pkg_failed = untried
; then
49314 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49315 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49316 GST_VERSION_MINOR
=8
49320 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
49321 GST_LIBS
=$pkg_cv_GST_LIBS
49322 echo "$as_me:$LINENO: result: yes" >&5
49323 echo "${ECHO_T}yes" >&6
49325 wxUSE_GSTREAMER
="yes"
49326 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49330 GST_VERSION_MINOR
=8
49333 if test $GST_VERSION_MINOR = "8"; then
49334 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
49337 echo "$as_me:$LINENO: checking for GST" >&5
49338 echo $ECHO_N "checking for GST... $ECHO_C" >&6
49340 if test -n "$PKG_CONFIG"; then
49341 if test -n "$GST_CFLAGS"; then
49342 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
49344 if test -n "$PKG_CONFIG" && \
49345 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49346 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49349 (exit $ac_status); }; then
49350 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49358 if test -n "$PKG_CONFIG"; then
49359 if test -n "$GST_LIBS"; then
49360 pkg_cv_GST_LIBS
="$GST_LIBS"
49362 if test -n "$PKG_CONFIG" && \
49363 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49364 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49367 (exit $ac_status); }; then
49368 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49379 if test $pkg_failed = yes; then
49381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49382 _pkg_short_errors_supported
=yes
49384 _pkg_short_errors_supported
=no
49386 if test $_pkg_short_errors_supported = yes; then
49387 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49389 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49391 # Put the nasty error message in config.log where it belongs
49392 echo "$GST_PKG_ERRORS" >&5
49395 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49396 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49398 elif test $pkg_failed = untried
; then
49400 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49401 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49404 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
49405 GST_LIBS
=$pkg_cv_GST_LIBS
49406 echo "$as_me:$LINENO: result: yes" >&5
49407 echo "${ECHO_T}yes" >&6
49408 wxUSE_GSTREAMER
="yes"
49413 if test "$wxUSE_GSTREAMER" = "yes"; then
49414 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
49415 LIBS
="$GST_LIBS $LIBS"
49417 cat >>confdefs.h
<<\_ACEOF
49418 #define wxUSE_GSTREAMER 1
49426 if test $USE_MEDIA = 1; then
49427 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
49428 cat >>confdefs.h
<<\_ACEOF
49429 #define wxUSE_MEDIACTRL 1
49436 if test "$cross_compiling" = "yes"; then
49439 OSINFO
=`uname -s -r -m`
49440 OSINFO
="\"$OSINFO\""
49443 cat >>confdefs.h
<<_ACEOF
49444 #define WXWIN_OS_DESCRIPTION $OSINFO
49449 if test "x$prefix" != "xNONE"; then
49452 wxPREFIX
=$ac_default_prefix
49455 cat >>confdefs.h
<<_ACEOF
49456 #define wxINSTALL_PREFIX "$wxPREFIX"
49462 STD_BASE_LIBS
="base"
49464 BUILT_WX_LIBS
="base"
49465 ALL_WX_LIBS
="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49467 if test "$wxUSE_SOCKETS" = "yes" ; then
49468 STD_BASE_LIBS
="net $STD_BASE_LIBS"
49469 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
49471 if test "$wxUSE_ODBC" != "no" ; then
49472 BUILT_WX_LIBS
="odbc $BUILT_WX_LIBS"
49474 if test "$wxUSE_XML" = "yes" ; then
49475 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
49476 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
49479 if test "$wxUSE_GUI" = "yes"; then
49480 STD_GUI_LIBS
="adv core"
49481 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
49483 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49484 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
49485 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
49487 if test "$wxUSE_ODBC" != "no" ; then
49488 BUILT_WX_LIBS
="dbgrid $BUILT_WX_LIBS"
49490 if test "$wxUSE_HTML" = "yes" ; then
49491 STD_GUI_LIBS
="html $STD_GUI_LIBS"
49492 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
49494 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49495 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
49497 if test "$wxUSE_OPENGL" = "yes" ; then
49498 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
49500 if test "$wxUSE_AUI" = "yes" ; then
49501 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
49503 if test "$wxUSE_STC" = "yes" ; then
49504 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
49506 if test "$wxUSE_XRC" = "yes" ; then
49507 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
49508 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
49519 if test "$wxUSE_MAC" = 1 ; then
49520 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49521 if test "$USE_DARWIN" = 1; then
49522 LDFLAGS
="$LDFLAGS -framework QuickTime"
49524 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
49527 if test "$USE_DARWIN" = 1; then
49528 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49530 LDFLAGS
="$LDFLAGS -lCarbonLib"
49533 if test "$wxUSE_COCOA" = 1 ; then
49534 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
49535 if test "$wxUSE_MEDIACTRL" = "yes"; then
49536 LDFLAGS
="$LDFLAGS -framework QuickTime"
49539 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49540 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49543 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49545 if test "$wxUSE_GUI" = "yes"; then
49548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49549 erase event exec font image minimal mobile \
49550 mobile/wxedit mobile/styles render \
49551 shaped svg taborder vscroll widgets"
49553 if test "$wxUSE_MONOLITHIC" != "yes"; then
49554 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
49556 if test "$TOOLKIT" = "MSW"; then
49557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
49558 if test "$wxUSE_UNIVERSAL" != "yes"; then
49559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49562 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49563 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
49566 SAMPLES_SUBDIRS
="console"
49570 if test "x$INTELCC" = "xyes" ; then
49571 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
49572 elif test "$GCC" = yes ; then
49573 CWARNINGS
="-Wall -Wundef"
49576 if test "x$INTELCXX" = "xyes" ; then
49577 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
49578 elif test "$GXX" = yes ; then
49579 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
49583 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
49584 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49587 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
49588 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49589 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49592 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49593 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49594 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49596 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49599 if test "x$MWCC" = "xyes"; then
49601 CC
="$CC -cwd source -I-"
49602 CXX
="$CXX -cwd source -I-"
49607 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49608 EXTRALIBS_XML
="$EXPAT_LINK"
49609 EXTRALIBS_HTML
="$MSPACK_LINK"
49610 EXTRALIBS_ODBC
="$ODBC_LINK"
49611 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49612 if test "$wxUSE_GUI" = "yes"; then
49613 # EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT $EXTRALIBS_GTKPRINT`
49614 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49616 if test "$wxUSE_OPENGL" = "yes"; then
49617 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49620 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49622 WXCONFIG_LIBS
="$LIBS"
49624 if test "$wxUSE_REGEX" = "builtin" ; then
49625 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49627 if test "$wxUSE_EXPAT" = "builtin" ; then
49628 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49630 if test "$wxUSE_ODBC" = "builtin" ; then
49631 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
49633 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49634 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49636 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49637 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49639 if test "$wxUSE_LIBPNG" = "builtin" ; then
49640 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49642 if test "$wxUSE_ZLIB" = "builtin" ; then
49643 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49646 for i
in $wxconfig_3rdparty ; do
49647 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49651 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49654 case "$wxUNIV_THEMES" in
49656 cat >>confdefs.h
<<\_ACEOF
49657 #define wxUSE_ALL_THEMES 1
49663 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49664 cat >>confdefs.h
<<_ACEOF
49665 #define wxUSE_THEME_$t 1
49682 if test $wxUSE_MONOLITHIC = "yes" ; then
49688 if test $wxUSE_PLUGINS = "yes" ; then
49694 if test $wxUSE_ODBC != "no" ; then
49700 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49706 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49738 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49749 TOOLKIT_DESC
="GTK+"
49750 if test "$WXGTK20" = 1; then
49751 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49752 if test "$wxUSE_GTKPRINT" = "yes" ; then
49753 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
49755 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49756 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49758 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49759 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49761 if test "$wxUSE_LIBHILDON" = "yes"; then
49762 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49765 if test "$TOOLKIT_EXTRA" != ""; then
49766 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49772 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49776 TOOLKIT_DESC
="base only"
49780 if test "$wxUSE_WINE" = "yes"; then
49781 BAKEFILE_FORCE_PLATFORM
=win32
49784 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49786 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49787 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
49788 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49789 echo $ECHO_N "(cached) $ECHO_C" >&6
49792 echo '#include <stdio.h>
49793 const wchar_t test_var[] = L"awidetest";' > conftest.h
49795 echo '#include "conftest.h"
49798 printf("%ls", test_var);
49802 wx_cv_gcc_pch_bug
="pch not supported"
49804 if $CXX conftest.h
>/dev
/null
2>&1
49808 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49810 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
49811 grep awidetest
>/dev
/null
49813 wx_cv_gcc_pch_bug
=no
49815 wx_cv_gcc_pch_bug
=yes
49820 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49823 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49824 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
49826 if test "$wx_cv_gcc_pch_bug" = yes; then
49834 if test "x$BAKEFILE_HOST" = "x"; then
49835 if test "x${host}" = "x" ; then
49836 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49837 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49838 { (exit 1); exit 1; }; }
49841 BAKEFILE_HOST
="${host}"
49844 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49846 if test -n "$ac_tool_prefix"; then
49847 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49848 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49849 echo "$as_me:$LINENO: checking for $ac_word" >&5
49850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49851 if test "${ac_cv_prog_RANLIB+set}" = set; then
49852 echo $ECHO_N "(cached) $ECHO_C" >&6
49854 if test -n "$RANLIB"; then
49855 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49858 for as_dir
in $PATH
49861 test -z "$as_dir" && as_dir
=.
49862 for ac_exec_ext
in '' $ac_executable_extensions; do
49863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49864 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49873 RANLIB
=$ac_cv_prog_RANLIB
49874 if test -n "$RANLIB"; then
49875 echo "$as_me:$LINENO: result: $RANLIB" >&5
49876 echo "${ECHO_T}$RANLIB" >&6
49878 echo "$as_me:$LINENO: result: no" >&5
49879 echo "${ECHO_T}no" >&6
49883 if test -z "$ac_cv_prog_RANLIB"; then
49884 ac_ct_RANLIB
=$RANLIB
49885 # Extract the first word of "ranlib", so it can be a program name with args.
49886 set dummy ranlib
; ac_word
=$2
49887 echo "$as_me:$LINENO: checking for $ac_word" >&5
49888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49889 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49890 echo $ECHO_N "(cached) $ECHO_C" >&6
49892 if test -n "$ac_ct_RANLIB"; then
49893 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49896 for as_dir
in $PATH
49899 test -z "$as_dir" && as_dir
=.
49900 for ac_exec_ext
in '' $ac_executable_extensions; do
49901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49902 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49909 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
49912 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49913 if test -n "$ac_ct_RANLIB"; then
49914 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49915 echo "${ECHO_T}$ac_ct_RANLIB" >&6
49917 echo "$as_me:$LINENO: result: no" >&5
49918 echo "${ECHO_T}no" >&6
49921 RANLIB
=$ac_ct_RANLIB
49923 RANLIB
="$ac_cv_prog_RANLIB"
49926 # Find a good install program. We prefer a C program (faster),
49927 # so one script is as good as another. But avoid the broken or
49928 # incompatible versions:
49929 # SysV /etc/install, /usr/sbin/install
49930 # SunOS /usr/etc/install
49931 # IRIX /sbin/install
49933 # AmigaOS /C/install, which installs bootblocks on floppy discs
49934 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49935 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49936 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49937 # OS/2's system install, which has a completely different semantic
49938 # ./install, which can be erroneously created by make from ./install.sh.
49939 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49940 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
49941 if test -z "$INSTALL"; then
49942 if test "${ac_cv_path_install+set}" = set; then
49943 echo $ECHO_N "(cached) $ECHO_C" >&6
49945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49946 for as_dir
in $PATH
49949 test -z "$as_dir" && as_dir
=.
49950 # Account for people who put trailing slashes in PATH elements.
49952 .
/ | .
// | /cC
/* | \
49953 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49954 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49957 # OSF1 and SCO ODT 3.0 have their own names for install.
49958 # Don't use installbsd from OSF since it installs stuff as root
49960 for ac_prog
in ginstall scoinst
install; do
49961 for ac_exec_ext
in '' $ac_executable_extensions; do
49962 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
49963 if test $ac_prog = install &&
49964 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49965 # AIX install. It has an incompatible calling convention.
49967 elif test $ac_prog = install &&
49968 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49969 # program-specific install script used by HP pwplus--don't use.
49972 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49984 if test "${ac_cv_path_install+set}" = set; then
49985 INSTALL
=$ac_cv_path_install
49987 # As a last resort, use the slow shell script. We don't cache a
49988 # path for INSTALL within a source directory, because that will
49989 # break other packages using the cache if that directory is
49990 # removed, or if the path is relative.
49991 INSTALL
=$ac_install_sh
49994 echo "$as_me:$LINENO: result: $INSTALL" >&5
49995 echo "${ECHO_T}$INSTALL" >&6
49997 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49998 # It thinks the first close brace ends the variable substitution.
49999 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
50001 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
50003 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
50005 echo "$as_me:$LINENO: checking whether ln -s works" >&5
50006 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
50008 if test "$LN_S" = "ln -s"; then
50009 echo "$as_me:$LINENO: result: yes" >&5
50010 echo "${ECHO_T}yes" >&6
50012 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
50013 echo "${ECHO_T}no, using $LN_S" >&6
50017 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50018 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50019 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
50020 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50021 echo $ECHO_N "(cached) $ECHO_C" >&6
50023 cat >conftest.
make <<\_ACEOF
50025 @
echo 'ac_maketemp="$(MAKE)"'
50027 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50028 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50029 if test -n "$ac_maketemp"; then
50030 eval ac_cv_prog_make_
${ac_make}_set
=yes
50032 eval ac_cv_prog_make_
${ac_make}_set
=no
50034 rm -f conftest.
make
50036 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50037 echo "$as_me:$LINENO: result: yes" >&5
50038 echo "${ECHO_T}yes" >&6
50041 echo "$as_me:$LINENO: result: no" >&5
50042 echo "${ECHO_T}no" >&6
50043 SET_MAKE
="MAKE=${MAKE-make}"
50048 if test "x$SUNCXX" = "xyes"; then
50050 AROPTIONS
="-xar -o"
50052 elif test "x$SGICC" = "xyes"; then
50057 if test -n "$ac_tool_prefix"; then
50058 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
50059 set dummy
${ac_tool_prefix}ar; ac_word
=$2
50060 echo "$as_me:$LINENO: checking for $ac_word" >&5
50061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50062 if test "${ac_cv_prog_AR+set}" = set; then
50063 echo $ECHO_N "(cached) $ECHO_C" >&6
50065 if test -n "$AR"; then
50066 ac_cv_prog_AR
="$AR" # Let the user override the test.
50068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50069 for as_dir
in $PATH
50072 test -z "$as_dir" && as_dir
=.
50073 for ac_exec_ext
in '' $ac_executable_extensions; do
50074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50075 ac_cv_prog_AR
="${ac_tool_prefix}ar"
50076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50085 if test -n "$AR"; then
50086 echo "$as_me:$LINENO: result: $AR" >&5
50087 echo "${ECHO_T}$AR" >&6
50089 echo "$as_me:$LINENO: result: no" >&5
50090 echo "${ECHO_T}no" >&6
50094 if test -z "$ac_cv_prog_AR"; then
50096 # Extract the first word of "ar", so it can be a program name with args.
50097 set dummy
ar; ac_word
=$2
50098 echo "$as_me:$LINENO: checking for $ac_word" >&5
50099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50100 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
50101 echo $ECHO_N "(cached) $ECHO_C" >&6
50103 if test -n "$ac_ct_AR"; then
50104 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
50106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50107 for as_dir
in $PATH
50110 test -z "$as_dir" && as_dir
=.
50111 for ac_exec_ext
in '' $ac_executable_extensions; do
50112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50113 ac_cv_prog_ac_ct_AR
="ar"
50114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50120 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
50123 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
50124 if test -n "$ac_ct_AR"; then
50125 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50126 echo "${ECHO_T}$ac_ct_AR" >&6
50128 echo "$as_me:$LINENO: result: no" >&5
50129 echo "${ECHO_T}no" >&6
50134 AR
="$ac_cv_prog_AR"
50141 if test -n "$ac_tool_prefix"; then
50142 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50143 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
50144 echo "$as_me:$LINENO: checking for $ac_word" >&5
50145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50146 if test "${ac_cv_prog_STRIP+set}" = set; then
50147 echo $ECHO_N "(cached) $ECHO_C" >&6
50149 if test -n "$STRIP"; then
50150 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
50152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50153 for as_dir
in $PATH
50156 test -z "$as_dir" && as_dir
=.
50157 for ac_exec_ext
in '' $ac_executable_extensions; do
50158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50159 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
50160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50168 STRIP
=$ac_cv_prog_STRIP
50169 if test -n "$STRIP"; then
50170 echo "$as_me:$LINENO: result: $STRIP" >&5
50171 echo "${ECHO_T}$STRIP" >&6
50173 echo "$as_me:$LINENO: result: no" >&5
50174 echo "${ECHO_T}no" >&6
50178 if test -z "$ac_cv_prog_STRIP"; then
50180 # Extract the first word of "strip", so it can be a program name with args.
50181 set dummy strip
; ac_word
=$2
50182 echo "$as_me:$LINENO: checking for $ac_word" >&5
50183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50184 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50185 echo $ECHO_N "(cached) $ECHO_C" >&6
50187 if test -n "$ac_ct_STRIP"; then
50188 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
50190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50191 for as_dir
in $PATH
50194 test -z "$as_dir" && as_dir
=.
50195 for ac_exec_ext
in '' $ac_executable_extensions; do
50196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50197 ac_cv_prog_ac_ct_STRIP
="strip"
50198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50204 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
50207 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
50208 if test -n "$ac_ct_STRIP"; then
50209 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50210 echo "${ECHO_T}$ac_ct_STRIP" >&6
50212 echo "$as_me:$LINENO: result: no" >&5
50213 echo "${ECHO_T}no" >&6
50218 STRIP
="$ac_cv_prog_STRIP"
50221 if test -n "$ac_tool_prefix"; then
50222 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50223 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
50224 echo "$as_me:$LINENO: checking for $ac_word" >&5
50225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50226 if test "${ac_cv_prog_NM+set}" = set; then
50227 echo $ECHO_N "(cached) $ECHO_C" >&6
50229 if test -n "$NM"; then
50230 ac_cv_prog_NM
="$NM" # Let the user override the test.
50232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50233 for as_dir
in $PATH
50236 test -z "$as_dir" && as_dir
=.
50237 for ac_exec_ext
in '' $ac_executable_extensions; do
50238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50239 ac_cv_prog_NM
="${ac_tool_prefix}nm"
50240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50249 if test -n "$NM"; then
50250 echo "$as_me:$LINENO: result: $NM" >&5
50251 echo "${ECHO_T}$NM" >&6
50253 echo "$as_me:$LINENO: result: no" >&5
50254 echo "${ECHO_T}no" >&6
50258 if test -z "$ac_cv_prog_NM"; then
50260 # Extract the first word of "nm", so it can be a program name with args.
50261 set dummy nm
; ac_word
=$2
50262 echo "$as_me:$LINENO: checking for $ac_word" >&5
50263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50264 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50265 echo $ECHO_N "(cached) $ECHO_C" >&6
50267 if test -n "$ac_ct_NM"; then
50268 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
50270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50271 for as_dir
in $PATH
50274 test -z "$as_dir" && as_dir
=.
50275 for ac_exec_ext
in '' $ac_executable_extensions; do
50276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50277 ac_cv_prog_ac_ct_NM
="nm"
50278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50284 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
50287 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
50288 if test -n "$ac_ct_NM"; then
50289 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50290 echo "${ECHO_T}$ac_ct_NM" >&6
50292 echo "$as_me:$LINENO: result: no" >&5
50293 echo "${ECHO_T}no" >&6
50298 NM
="$ac_cv_prog_NM"
50302 case ${BAKEFILE_HOST} in
50304 INSTALL_DIR
="mkdir -p"
50307 INSTALL_DIR
='$(INSTALL) -d'
50313 case ${BAKEFILE_HOST} in
50314 *-*-cygwin* | *-*-mingw32* )
50315 LDFLAGS_GUI
="-mwindows"
50321 echo "$as_me:$LINENO: checking if make is GNU make" >&5
50322 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
50323 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50324 echo $ECHO_N "(cached) $ECHO_C" >&6
50327 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
50328 egrep -s GNU
> /dev
/null
); then
50329 bakefile_cv_prog_makeisgnu
="yes"
50331 bakefile_cv_prog_makeisgnu
="no"
50335 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50336 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
50338 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50355 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50356 case "${BAKEFILE_HOST}" in
50363 *-pc-os2_emx | *-pc-os2-emx )
50373 powerpc
-apple-macos* )
50382 case "$BAKEFILE_FORCE_PLATFORM" in
50417 # Check whether --enable-omf or --disable-omf was given.
50418 if test "${enable_omf+set}" = set; then
50419 enableval
="$enable_omf"
50420 bk_os2_use_omf
="$enableval"
50423 case "${BAKEFILE_HOST}" in
50425 if test "x$GCC" = "xyes"; then
50426 CFLAGS
="$CFLAGS -fno-common"
50427 CXXFLAGS
="$CXXFLAGS -fno-common"
50429 if test "x$XLCC" = "xyes"; then
50430 CFLAGS
="$CFLAGS -qnocommon"
50431 CXXFLAGS
="$CXXFLAGS -qnocommon"
50435 *-pc-os2_emx | *-pc-os2-emx )
50436 if test "x$bk_os2_use_omf" = "xyes" ; then
50439 LDFLAGS
="-Zomf $LDFLAGS"
50440 CFLAGS
="-Zomf $CFLAGS"
50441 CXXFLAGS
="-Zomf $CXXFLAGS"
50449 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
50455 SO_SUFFIX_MODULE
="so"
50460 DLLPREFIX_MODULE
=""
50464 case "${BAKEFILE_HOST}" in
50467 SO_SUFFIX_MODULE
="sl"
50471 SO_SUFFIX_MODULE
="a"
50475 SO_SUFFIX_MODULE
="dll"
50476 DLLIMP_SUFFIX
="dll.a"
50483 SO_SUFFIX_MODULE
="dll"
50484 DLLIMP_SUFFIX
="dll.a"
50494 *-pc-os2_emx | *-pc-os2-emx )
50496 SO_SUFFIX_MODULE
="dll"
50497 DLLIMP_SUFFIX
=$OS2_LIBEXT
50501 LIBEXT
=".$OS2_LIBEXT"
50506 SO_SUFFIX_MODULE
="bundle"
50510 if test "x$DLLIMP_SUFFIX" = "x" ; then
50511 DLLIMP_SUFFIX
="$SO_SUFFIX"
50526 if test "x$GCC" = "xyes"; then
50530 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
50531 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
50534 case "${BAKEFILE_HOST}" in
50536 if test "x$GCC" != "xyes"; then
50537 LDFLAGS
="$LDFLAGS -L/usr/lib"
50539 SHARED_LD_CC
="${CC} -b -o"
50540 SHARED_LD_CXX
="${CXX} -b -o"
50546 if test "$INTELCC" = "yes"; then
50548 elif test "x$SUNCXX" = "xyes"; then
50549 SHARED_LD_CC
="${CC} -G -o"
50550 SHARED_LD_CXX
="${CXX} -G -o"
50556 if test "x$SUNCXX" = xyes
; then
50557 SHARED_LD_CC
="${CC} -G -o"
50558 SHARED_LD_CXX
="${CXX} -G -o"
50566 cat <<EOF >shared-ld-sh
50568 #-----------------------------------------------------------------------------
50569 #-- Name: distrib/mac/shared-ld-sh
50570 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50571 #-- Author: Gilles Depeyrot
50572 #-- Copyright: (c) 2002 Gilles Depeyrot
50573 #-- Licence: any use permitted
50574 #-----------------------------------------------------------------------------
50579 linking_flag="-dynamiclib"
50580 ldargs="-r -keep_private_externs -nostdlib"
50582 while test ${D}# -gt 0; do
50589 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50590 # collect these options and values
50591 args="${D}{args} ${D}1 ${D}2"
50596 # collect these load args
50597 ldargs="${D}{ldargs} ${D}1"
50600 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50601 # collect these options
50602 args="${D}{args} ${D}1"
50605 -dynamiclib|-bundle)
50606 linking_flag="${D}1"
50610 echo "shared-ld: unhandled option '${D}1'"
50614 *.o | *.a | *.dylib)
50615 # collect object files
50616 objects="${D}{objects} ${D}1"
50620 echo "shared-ld: unhandled argument '${D}1'"
50631 # Link one module containing all the others
50633 if test ${D}{verbose} = 1; then
50634 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50636 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50640 # Link the shared library from the single module created, but only if the
50641 # previous command didn't fail:
50643 if test ${D}{status} = 0; then
50644 if test ${D}{verbose} = 1; then
50645 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50647 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50652 # Remove intermediate module
50654 rm -f master.${D}${D}.o
50659 chmod +x shared
-ld-sh
50661 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50662 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
50665 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50666 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
50667 if test "${bakefile_cv_gcc31+set}" = set; then
50668 echo $ECHO_N "(cached) $ECHO_C" >&6
50671 cat >conftest.
$ac_ext <<_ACEOF
50674 cat confdefs.h
>>conftest.
$ac_ext
50675 cat >>conftest.
$ac_ext <<_ACEOF
50676 /* end confdefs.h. */
50682 #if (__GNUC__ < 3) || \
50683 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50691 rm -f conftest.
$ac_objext
50692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50693 (eval $ac_compile) 2>conftest.er1
50695 grep -v '^ *+' conftest.er1
>conftest.err
50697 cat conftest.err
>&5
50698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50699 (exit $ac_status); } &&
50700 { ac_try
='test -z "$ac_c_werror_flag"
50701 || test ! -s conftest.err'
50702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50703 (eval $ac_try) 2>&5
50705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50706 (exit $ac_status); }; } &&
50707 { ac_try
='test -s conftest.$ac_objext'
50708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50709 (eval $ac_try) 2>&5
50711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50712 (exit $ac_status); }; }; then
50714 bakefile_cv_gcc31
=yes
50717 echo "$as_me: failed program was:" >&5
50718 sed 's/^/| /' conftest.
$ac_ext >&5
50721 bakefile_cv_gcc31
=no
50725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
50728 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50729 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
50730 if test "$bakefile_cv_gcc31" = "no"; then
50731 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50732 SHARED_LD_CXX
="$SHARED_LD_CC"
50734 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50735 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50738 if test "x$GCC" == "xyes"; then
50739 PIC_FLAG
="-dynamic -fPIC"
50741 if test "x$XLCC" = "xyes"; then
50742 PIC_FLAG
="-dynamic -DPIC"
50747 if test "x$GCC" = "xyes"; then
50750 case "${BAKEFILE_HOST}" in
50752 LD_EXPFULL
="-Wl,-bexpfull"
50756 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
50757 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
50759 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50760 set dummy makeC
++SharedLib
; ac_word
=$2
50761 echo "$as_me:$LINENO: checking for $ac_word" >&5
50762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50763 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50764 echo $ECHO_N "(cached) $ECHO_C" >&6
50766 if test -n "$AIX_CXX_LD"; then
50767 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
50769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50770 for as_dir
in $PATH
50773 test -z "$as_dir" && as_dir
=.
50774 for ac_exec_ext
in '' $ac_executable_extensions; do
50775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50776 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
50777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50783 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
50786 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
50787 if test -n "$AIX_CXX_LD"; then
50788 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50789 echo "${ECHO_T}$AIX_CXX_LD" >&6
50791 echo "$as_me:$LINENO: result: no" >&5
50792 echo "${ECHO_T}no" >&6
50795 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
50796 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
50801 SHARED_LD_CC
="${LD} -nostart -o"
50802 SHARED_LD_CXX
="${LD} -nostart -o"
50806 if test "x$GCC" != "xyes"; then
50811 *-*-cygwin* | *-*-mingw32* )
50813 SHARED_LD_CC
="\$(CC) -shared -o"
50814 SHARED_LD_CXX
="\$(CXX) -shared -o"
50818 *-pc-os2_emx | *-pc-os2-emx )
50819 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50820 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50824 cat <<EOF >dllar.sh
50827 # dllar - a tool to build both a .dll and an .a file
50828 # from a set of object (.o) files for EMX/OS2.
50830 # Written by Andrew Zabolotny, bit@freya.etu.ru
50831 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50833 # This script will accept a set of files on the command line.
50834 # All the public symbols from the .o files will be exported into
50835 # a .DEF file, then linker will be run (through gcc) against them to
50836 # build a shared library consisting of all given .o files. All libraries
50837 # (.a) will be first decompressed into component .o files then act as
50838 # described above. You can optionally give a description (-d "description")
50839 # which will be put into .DLL. To see the list of accepted options (as well
50840 # as command-line format) simply run this program without options. The .DLL
50841 # is built to be imported by name (there is no guarantee that new versions
50842 # of the library you build will have same ordinals for same symbols).
50844 # dllar is free software; you can redistribute it and/or modify
50845 # it under the terms of the GNU General Public License as published by
50846 # the Free Software Foundation; either version 2, or (at your option)
50847 # any later version.
50849 # dllar is distributed in the hope that it will be useful,
50850 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50851 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50852 # GNU General Public License for more details.
50854 # You should have received a copy of the GNU General Public License
50855 # along with dllar; see the file COPYING. If not, write to the Free
50856 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50859 # To successfuly run this program you will need:
50860 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50861 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50863 # (used to build the .dll)
50865 # (used to create .def file from .o files)
50867 # (used to create .a file from .def file)
50868 # - GNU text utilites (cat, sort, uniq)
50869 # used to process emxexp output
50870 # - GNU file utilities (mv, rm)
50872 # - lxlite (optional, see flag below)
50873 # (used for general .dll cleanup)
50880 # basnam, variant of basename, which does _not_ remove the path, _iff_
50881 # second argument (suffix to remove) is given
50885 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50888 echo ${D}1 | sed 's/'${D}2'${D}//'
50891 echo "error in basnam ${D}*"
50897 # Cleanup temporary files and output
50900 for i in ${D}inputFiles ; do
50903 rm -rf \`basnam ${D}i !\`
50910 # Kill result in case of failure as there is just to many stupid make/nmake
50911 # things out there which doesn't do this.
50912 if [ ${D}# -eq 0 ]; then
50913 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50917 # Print usage and exit script with rc=1.
50919 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50920 echo ' [-name-mangler-script script.sh]'
50921 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50922 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50923 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50924 echo ' [*.o] [*.a]'
50925 echo '*> "output_file" should have no extension.'
50926 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50927 echo ' The import library name is derived from this and is set to "name".a,'
50928 echo ' unless overridden by -import'
50929 echo '*> "importlib_name" should have no extension.'
50930 echo ' If it has the .o, or .a extension, it is automatically removed.'
50931 echo ' This name is used as the import library name and may be longer and'
50932 echo ' more descriptive than the DLL name which has to follow the old '
50933 echo ' 8.3 convention of FAT.'
50934 echo '*> "script.sh may be given to override the output_file name by a'
50935 echo ' different name. It is mainly useful if the regular make process'
50936 echo ' of some package does not take into account OS/2 restriction of'
50937 echo ' DLL name lengths. It takes the importlib name as input and is'
50938 echo ' supposed to procude a shorter name as output. The script should'
50939 echo ' expect to get importlib_name without extension and should produce'
50940 echo ' a (max.) 8 letter name without extension.'
50941 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50942 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50943 echo ' These flags will be put at the start of GCC command line.'
50944 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50945 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50946 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50947 echo ' If the last character of a symbol is "*", all symbols beginning'
50948 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50949 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50950 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50951 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50952 echo ' C runtime DLLs.'
50953 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50954 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50955 echo ' unchanged to GCC at the end of command line.'
50956 echo '*> If you create a DLL from a library and you do not specify -o,'
50957 echo ' the basename for DLL and import library will be set to library name,'
50958 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50959 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50960 echo ' library will be renamed into gcc_s.a.'
50963 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50964 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50969 # Execute a command.
50970 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50971 # @Uses Whatever CleanUp() uses.
50977 if [ ${D}rcCmd -ne 0 ]; then
50978 echo "command failed, exit code="${D}rcCmd
50993 CFLAGS="-s -Zcrtdll"
50995 EXPORT_BY_ORDINALS=0
51000 case ${D}curDirS in
51004 curDirS=${D}{curDirS}"/"
51007 # Parse commandline
51010 while [ ${D}1 ]; do
51013 EXPORT_BY_ORDINALS=1;
51023 -name-mangler-script)
51044 exclude_symbols=${D}{exclude_symbols}${D}1" "
51048 library_flags=${D}{library_flags}${D}1" "
51067 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51070 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51071 if [ ${D}omfLinking -eq 1 ]; then
51072 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51074 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51079 if [ ${D}libsToLink -ne 0 ]; then
51080 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51082 for file in ${D}1 ; do
51083 if [ -f ${D}file ]; then
51084 inputFiles="${D}{inputFiles} ${D}file"
51088 if [ ${D}found -eq 0 ]; then
51089 echo "ERROR: No file(s) found: "${D}1
51096 done # iterate cmdline words
51099 if [ -z "${D}inputFiles" ]; then
51100 echo "dllar: no input files"
51104 # Now extract all .o files from .a files
51106 for file in ${D}inputFiles ; do
51117 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51122 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51124 if [ ${D}? -ne 0 ]; then
51125 echo "Failed to create subdirectory ./${D}dirname"
51129 # Append '!' to indicate archive
51130 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51131 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51134 for subfile in ${D}dirname/*.o* ; do
51135 if [ -f ${D}subfile ]; then
51137 if [ -s ${D}subfile ]; then
51138 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51139 newInputFiles="${D}newInputFiles ${D}subfile"
51143 if [ ${D}found -eq 0 ]; then
51144 echo "WARNING: there are no files in archive \\'${D}file\\'"
51148 newInputFiles="${D}{newInputFiles} ${D}file"
51152 inputFiles="${D}newInputFiles"
51154 # Output filename(s).
51156 if [ -z ${D}outFile ]; then
51158 set outFile ${D}inputFiles; outFile=${D}2
51161 # If it is an archive, remove the '!' and the '_%' suffixes
51162 case ${D}outFile in
51164 outFile=\`basnam ${D}outFile _%!\`
51169 case ${D}outFile in
51171 outFile=\`basnam ${D}outFile .dll\`
51174 outFile=\`basnam ${D}outFile .DLL\`
51177 outFile=\`basnam ${D}outFile .o\`
51180 outFile=\`basnam ${D}outFile .obj\`
51183 outFile=\`basnam ${D}outFile .a\`
51186 outFile=\`basnam ${D}outFile .lib\`
51191 case ${D}outimpFile in
51193 outimpFile=\`basnam ${D}outimpFile .a\`
51196 outimpFile=\`basnam ${D}outimpFile .lib\`
51201 if [ -z ${D}outimpFile ]; then
51202 outimpFile=${D}outFile
51204 defFile="${D}{outFile}.def"
51205 arcFile="${D}{outimpFile}.a"
51206 arcFile2="${D}{outimpFile}.lib"
51208 #create ${D}dllFile as something matching 8.3 restrictions,
51209 if [ -z ${D}renameScript ] ; then
51210 dllFile="${D}outFile"
51212 dllFile=\`${D}renameScript ${D}outimpFile\`
51215 if [ ${D}do_backup -ne 0 ] ; then
51216 if [ -f ${D}arcFile ] ; then
51217 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51219 if [ -f ${D}arcFile2 ] ; then
51220 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51224 # Extract public symbols from all the object files.
51225 tmpdefFile=${D}{defFile}_%
51226 rm -f ${D}tmpdefFile
51227 for file in ${D}inputFiles ; do
51232 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51237 # Create the def file.
51239 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51240 dllFile="${D}{dllFile}.dll"
51241 if [ ! -z ${D}description ]; then
51242 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51244 echo "EXPORTS" >> ${D}defFile
51246 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51247 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51249 # Checks if the export is ok or not.
51250 for word in ${D}exclude_symbols; do
51251 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51252 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51256 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51257 sed "=" < ${D}tmpdefFile | \\
51261 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51263 ' > ${D}{tmpdefFile}%
51264 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51266 rm -f ${D}{tmpdefFile}%
51268 cat ${D}tmpdefFile >> ${D}defFile
51269 rm -f ${D}tmpdefFile
51271 # Do linking, create implib, and apply lxlite.
51273 for file in ${D}inputFiles ; do
51278 gccCmdl="${D}gccCmdl ${D}file"
51282 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51283 touch "${D}{outFile}.dll"
51285 doCommand "emximp -o ${D}arcFile ${D}defFile"
51286 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51288 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51291 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51293 doCommand "emxomf -s -l ${D}arcFile"
51303 powerpc
-apple-macos* | \
51304 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
51314 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51315 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51316 { (exit 1); exit 1; }; }
51319 if test "x$PIC_FLAG" != "x" ; then
51320 PIC_FLAG
="$PIC_FLAG -DPIC"
51323 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51324 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
51326 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51327 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
51346 case "${BAKEFILE_HOST}" in
51347 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
51348 if test "x$SUNCXX" = "xyes"; then
51351 SONAME_FLAG
="-Wl,-soname,"
51386 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
51387 if test "${enable_dependency_tracking+set}" = set; then
51388 enableval
="$enable_dependency_tracking"
51389 bk_use_trackdeps
="$enableval"
51392 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51393 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
51396 if test "x$bk_use_trackdeps" = "xno" ; then
51398 echo "$as_me:$LINENO: result: disabled" >&5
51399 echo "${ECHO_T}disabled" >&6
51403 if test "x$GCC" = "xyes"; then
51405 case "${BAKEFILE_HOST}" in
51407 DEPSFLAG
="-no-cpp-precomp -MMD"
51413 echo "$as_me:$LINENO: result: gcc" >&5
51414 echo "${ECHO_T}gcc" >&6
51415 elif test "x$MWCC" = "xyes"; then
51418 echo "$as_me:$LINENO: result: mwcc" >&5
51419 echo "${ECHO_T}mwcc" >&6
51420 elif test "x$SUNCC" = "xyes"; then
51423 echo "$as_me:$LINENO: result: Sun cc" >&5
51424 echo "${ECHO_T}Sun cc" >&6
51425 elif test "x$SGICC" = "xyes"; then
51428 echo "$as_me:$LINENO: result: SGI cc" >&5
51429 echo "${ECHO_T}SGI cc" >&6
51430 elif test "x$HPCC" = "xyes"; then
51433 echo "$as_me:$LINENO: result: HP cc" >&5
51434 echo "${ECHO_T}HP cc" >&6
51435 elif test "x$COMPAQCC" = "xyes"; then
51438 echo "$as_me:$LINENO: result: Compaq cc" >&5
51439 echo "${ECHO_T}Compaq cc" >&6
51442 echo "$as_me:$LINENO: result: none" >&5
51443 echo "${ECHO_T}none" >&6
51446 if test $DEPS_TRACKING = 1 ; then
51452 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51453 # script. It is used to track C/C++ files dependencies in portable way.
51455 # Permission is given to use this file in any way.
51457 DEPSMODE=${DEPSMODE}
51459 DEPSFLAG="${DEPSFLAG}"
51461 mkdir -p ${D}DEPSDIR
51463 if test ${D}DEPSMODE = gcc ; then
51464 ${D}* ${D}{DEPSFLAG}
51466 if test ${D}{status} != 0 ; then
51469 # move created file to the location we want it in:
51470 while test ${D}# -gt 0; do
51484 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51485 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51486 if test -f ${D}depfile ; then
51487 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51490 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51491 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51492 if test ! -f ${D}depfile ; then
51493 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51494 depfile="${D}objfile.d"
51496 if test -f ${D}depfile ; then
51497 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51502 elif test ${D}DEPSMODE = mwcc ; then
51503 ${D}* || exit ${D}?
51504 # Run mwcc again with -MM and redirect into the dep file we want
51505 # NOTE: We can't use shift here because we need ${D}* to be valid
51507 for arg in ${D}* ; do
51508 if test "${D}prevarg" = "-o"; then
51521 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51523 elif test ${D}DEPSMODE = unixcc; then
51524 ${D}* || exit ${D}?
51525 # Run compiler again with deps flag and redirect into the dep file.
51526 # It doesn't work if the '-o FILE' option is used, but without it the
51527 # dependency file will contain the wrong name for the object. So it is
51528 # removed from the command line, and the dep file is fixed with sed.
51530 while test ${D}# -gt 0; do
51537 eval arg${D}#=\\${D}1
51538 cmd="${D}cmd \\${D}arg${D}#"
51543 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51552 BK_DEPS
="`pwd`/bk-deps"
51560 case ${BAKEFILE_HOST} in
51561 *-*-cygwin* | *-*-mingw32* )
51562 if test -n "$ac_tool_prefix"; then
51563 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51564 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
51565 echo "$as_me:$LINENO: checking for $ac_word" >&5
51566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
51567 if test "${ac_cv_prog_WINDRES+set}" = set; then
51568 echo $ECHO_N "(cached) $ECHO_C" >&6
51570 if test -n "$WINDRES"; then
51571 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
51573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51574 for as_dir
in $PATH
51577 test -z "$as_dir" && as_dir
=.
51578 for ac_exec_ext
in '' $ac_executable_extensions; do
51579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51580 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
51581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51589 WINDRES
=$ac_cv_prog_WINDRES
51590 if test -n "$WINDRES"; then
51591 echo "$as_me:$LINENO: result: $WINDRES" >&5
51592 echo "${ECHO_T}$WINDRES" >&6
51594 echo "$as_me:$LINENO: result: no" >&5
51595 echo "${ECHO_T}no" >&6
51599 if test -z "$ac_cv_prog_WINDRES"; then
51600 ac_ct_WINDRES
=$WINDRES
51601 # Extract the first word of "windres", so it can be a program name with args.
51602 set dummy windres
; ac_word
=$2
51603 echo "$as_me:$LINENO: checking for $ac_word" >&5
51604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
51605 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51606 echo $ECHO_N "(cached) $ECHO_C" >&6
51608 if test -n "$ac_ct_WINDRES"; then
51609 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
51611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51612 for as_dir
in $PATH
51615 test -z "$as_dir" && as_dir
=.
51616 for ac_exec_ext
in '' $ac_executable_extensions; do
51617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51618 ac_cv_prog_ac_ct_WINDRES
="windres"
51619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51627 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
51628 if test -n "$ac_ct_WINDRES"; then
51629 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51630 echo "${ECHO_T}$ac_ct_WINDRES" >&6
51632 echo "$as_me:$LINENO: result: no" >&5
51633 echo "${ECHO_T}no" >&6
51636 WINDRES
=$ac_ct_WINDRES
51638 WINDRES
="$ac_cv_prog_WINDRES"
51643 *-*-darwin* | powerpc
-apple-macos* )
51644 # Extract the first word of "Rez", so it can be a program name with args.
51645 set dummy Rez
; ac_word
=$2
51646 echo "$as_me:$LINENO: checking for $ac_word" >&5
51647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
51648 if test "${ac_cv_prog_REZ+set}" = set; then
51649 echo $ECHO_N "(cached) $ECHO_C" >&6
51651 if test -n "$REZ"; then
51652 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
51654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51655 for as_dir
in $PATH
51658 test -z "$as_dir" && as_dir
=.
51659 for ac_exec_ext
in '' $ac_executable_extensions; do
51660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51661 ac_cv_prog_REZ
="Rez"
51662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51668 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
51671 REZ
=$ac_cv_prog_REZ
51672 if test -n "$REZ"; then
51673 echo "$as_me:$LINENO: result: $REZ" >&5
51674 echo "${ECHO_T}$REZ" >&6
51676 echo "$as_me:$LINENO: result: no" >&5
51677 echo "${ECHO_T}no" >&6
51680 # Extract the first word of "SetFile", so it can be a program name with args.
51681 set dummy SetFile
; ac_word
=$2
51682 echo "$as_me:$LINENO: checking for $ac_word" >&5
51683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
51684 if test "${ac_cv_prog_SETFILE+set}" = set; then
51685 echo $ECHO_N "(cached) $ECHO_C" >&6
51687 if test -n "$SETFILE"; then
51688 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
51690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51691 for as_dir
in $PATH
51694 test -z "$as_dir" && as_dir
=.
51695 for ac_exec_ext
in '' $ac_executable_extensions; do
51696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51697 ac_cv_prog_SETFILE
="SetFile"
51698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51704 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
51707 SETFILE
=$ac_cv_prog_SETFILE
51708 if test -n "$SETFILE"; then
51709 echo "$as_me:$LINENO: result: $SETFILE" >&5
51710 echo "${ECHO_T}$SETFILE" >&6
51712 echo "$as_me:$LINENO: result: no" >&5
51713 echo "${ECHO_T}no" >&6
51724 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
51727 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
51731 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
51732 if test "${enable_precomp_headers+set}" = set; then
51733 enableval
="$enable_precomp_headers"
51734 bk_use_pch
="$enableval"
51742 case ${BAKEFILE_HOST} in
51748 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51749 if test "x$GCC" = "xyes"; then
51750 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51751 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
51752 cat >conftest.
$ac_ext <<_ACEOF
51755 cat confdefs.h
>>conftest.
$ac_ext
51756 cat >>conftest.
$ac_ext <<_ACEOF
51757 /* end confdefs.h. */
51763 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51764 There is no PCH support
51767 There is no PCH support
51769 #if (__GNUC__ == 3) && \
51770 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51771 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51772 ( defined(__INTEL_COMPILER) )
51773 There is no PCH support
51780 rm -f conftest.
$ac_objext
51781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51782 (eval $ac_compile) 2>conftest.er1
51784 grep -v '^ *+' conftest.er1
>conftest.err
51786 cat conftest.err
>&5
51787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51788 (exit $ac_status); } &&
51789 { ac_try
='test -z "$ac_c_werror_flag"
51790 || test ! -s conftest.err'
51791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51792 (eval $ac_try) 2>&5
51794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51795 (exit $ac_status); }; } &&
51796 { ac_try
='test -s conftest.$ac_objext'
51797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51798 (eval $ac_try) 2>&5
51800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51801 (exit $ac_status); }; }; then
51803 echo "$as_me:$LINENO: result: yes" >&5
51804 echo "${ECHO_T}yes" >&6
51808 echo "$as_me: failed program was:" >&5
51809 sed 's/^/| /' conftest.
$ac_ext >&5
51812 cat >conftest.
$ac_ext <<_ACEOF
51815 cat confdefs.h
>>conftest.
$ac_ext
51816 cat >>conftest.
$ac_ext <<_ACEOF
51817 /* end confdefs.h. */
51823 #if !defined(__INTEL_COMPILER) || \
51824 (__INTEL_COMPILER < 800)
51825 There is no PCH support
51832 rm -f conftest.
$ac_objext
51833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51834 (eval $ac_compile) 2>conftest.er1
51836 grep -v '^ *+' conftest.er1
>conftest.err
51838 cat conftest.err
>&5
51839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51840 (exit $ac_status); } &&
51841 { ac_try
='test -z "$ac_c_werror_flag"
51842 || test ! -s conftest.err'
51843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51844 (eval $ac_try) 2>&5
51846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51847 (exit $ac_status); }; } &&
51848 { ac_try
='test -s conftest.$ac_objext'
51849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51850 (eval $ac_try) 2>&5
51852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51853 (exit $ac_status); }; }; then
51855 echo "$as_me:$LINENO: result: yes" >&5
51856 echo "${ECHO_T}yes" >&6
51860 echo "$as_me: failed program was:" >&5
51861 sed 's/^/| /' conftest.
$ac_ext >&5
51864 echo "$as_me:$LINENO: result: no" >&5
51865 echo "${ECHO_T}no" >&6
51868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
51871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
51872 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51876 cat <<EOF >bk-make-pch
51879 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51880 # script. It is used to generated precompiled headers.
51882 # Permission is given to use this file in any way.
51892 while test ${D}{#} -gt 0; do
51896 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51897 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51898 headerfile="${D}{incdir}/${D}{header}"
51901 -use-pch|-use_pch )
51906 if test ${D}add_to_cmdline = 1 ; then
51907 compiler="${D}{compiler} ${D}{1}"
51912 if test "x${D}{headerfile}" = "x" ; then
51913 echo "error: can't find header ${D}{header} in include paths" >&2
51915 if test -f ${D}{outfile} ; then
51916 rm -f ${D}{outfile}
51918 mkdir -p \`dirname ${D}{outfile}\`
51920 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51922 if test "x${GCC_PCH}" = "x1" ; then
51923 # can do this because gcc is >= 3.4:
51924 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51925 elif test "x${ICC_PCH}" = "x1" ; then
51926 filename=pch_gen-${D}${D}
51927 file=${D}{filename}.c
51928 dfile=${D}{filename}.d
51929 cat > ${D}file <<EOT
51930 #include "${D}header"
51932 # using -MF icc complains about differing command lines in creation/use
51933 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51934 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51935 rm -f ${D}file ${D}dfile ${D}{filename}.o
51941 chmod +x bk
-make-pch
51942 BK_MAKE_PCH
="`pwd`/bk-make-pch"
51951 COND_BUILD_DEBUG
="#"
51952 if test "x$BUILD" = "xdebug" ; then
51953 COND_BUILD_DEBUG
=""
51956 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
51957 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51958 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
51961 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
51962 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51963 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
51966 COND_BUILD_DEBUG_UNICODE_0
="#"
51967 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51968 COND_BUILD_DEBUG_UNICODE_0
=""
51971 COND_BUILD_DEBUG_UNICODE_1
="#"
51972 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51973 COND_BUILD_DEBUG_UNICODE_1
=""
51976 COND_BUILD_RELEASE
="#"
51977 if test "x$BUILD" = "xrelease" ; then
51978 COND_BUILD_RELEASE
=""
51981 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
51982 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51983 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
51986 COND_BUILD_RELEASE_UNICODE_0
="#"
51987 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51988 COND_BUILD_RELEASE_UNICODE_0
=""
51991 COND_BUILD_RELEASE_UNICODE_1
="#"
51992 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51993 COND_BUILD_RELEASE_UNICODE_1
=""
51996 COND_DEBUG_FLAG_1
="#"
51997 if test "x$DEBUG_FLAG" = "x1" ; then
51998 COND_DEBUG_FLAG_1
=""
52001 COND_DEBUG_INFO_0
="#"
52002 if test "x$DEBUG_INFO" = "x0" ; then
52003 COND_DEBUG_INFO_0
=""
52006 COND_DEBUG_INFO_1
="#"
52007 if test "x$DEBUG_INFO" = "x1" ; then
52008 COND_DEBUG_INFO_1
=""
52011 COND_DEPS_TRACKING_0
="#"
52012 if test "x$DEPS_TRACKING" = "x0" ; then
52013 COND_DEPS_TRACKING_0
=""
52016 COND_DEPS_TRACKING_1
="#"
52017 if test "x$DEPS_TRACKING" = "x1" ; then
52018 COND_DEPS_TRACKING_1
=""
52022 if test "x$GCC_PCH" = "x1" ; then
52027 if test "x$ICC_PCH" = "x1" ; then
52031 COND_MONOLITHIC_0
="#"
52032 if test "x$MONOLITHIC" = "x0" ; then
52033 COND_MONOLITHIC_0
=""
52036 COND_MONOLITHIC_0_SHARED_0
="#"
52037 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52038 COND_MONOLITHIC_0_SHARED_0
=""
52041 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
52042 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52043 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
52046 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
52047 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52048 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
52051 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
52052 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52053 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
52056 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
52057 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52058 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
52061 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
52062 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52063 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
52066 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
52067 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52068 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
52071 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
52072 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52073 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
52076 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
52077 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52078 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
52081 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
52082 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52083 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
52086 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
52087 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52088 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
52091 COND_MONOLITHIC_0_SHARED_1
="#"
52092 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52093 COND_MONOLITHIC_0_SHARED_1
=""
52096 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
52097 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52098 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
52101 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
52102 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52103 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
52106 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
52107 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52108 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
52111 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
52112 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52113 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
52116 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
52117 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52118 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
52121 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
52122 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52123 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
52126 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
52127 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52128 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
52131 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
52132 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52133 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
52136 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
52137 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52138 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
52141 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
52142 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52143 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
52146 COND_MONOLITHIC_0_USE_AUI_1
="#"
52147 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52148 COND_MONOLITHIC_0_USE_AUI_1
=""
52151 COND_MONOLITHIC_0_USE_GUI_1
="#"
52152 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52153 COND_MONOLITHIC_0_USE_GUI_1
=""
52156 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
52157 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52158 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
52161 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
="#"
52162 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52163 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
=""
52166 COND_MONOLITHIC_0_USE_HTML_1
="#"
52167 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52168 COND_MONOLITHIC_0_USE_HTML_1
=""
52171 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
52172 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52173 COND_MONOLITHIC_0_USE_MEDIA_1
=""
52176 COND_MONOLITHIC_0_USE_ODBC_1
="#"
52177 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52178 COND_MONOLITHIC_0_USE_ODBC_1
=""
52181 COND_MONOLITHIC_0_USE_QA_1
="#"
52182 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52183 COND_MONOLITHIC_0_USE_QA_1
=""
52186 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
52187 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52188 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
52191 COND_MONOLITHIC_0_USE_STC_1
="#"
52192 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52193 COND_MONOLITHIC_0_USE_STC_1
=""
52196 COND_MONOLITHIC_0_USE_XRC_1
="#"
52197 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52198 COND_MONOLITHIC_0_USE_XRC_1
=""
52201 COND_MONOLITHIC_1
="#"
52202 if test "x$MONOLITHIC" = "x1" ; then
52203 COND_MONOLITHIC_1
=""
52206 COND_MONOLITHIC_1_SHARED_0
="#"
52207 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52208 COND_MONOLITHIC_1_SHARED_0
=""
52211 COND_MONOLITHIC_1_SHARED_1
="#"
52212 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52213 COND_MONOLITHIC_1_SHARED_1
=""
52216 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
52217 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52218 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
52221 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
52222 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52223 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
52226 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
52227 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52228 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
52231 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
52232 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52233 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
52236 COND_PLATFORM_MACOSX_1
="#"
52237 if test "x$PLATFORM_MACOSX" = "x1" ; then
52238 COND_PLATFORM_MACOSX_1
=""
52241 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
52242 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52243 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
52246 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
52247 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52248 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
52251 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
52252 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52253 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
52256 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
52257 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52258 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
52261 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
52262 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52263 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
52266 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
52267 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52268 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
52271 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
52272 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52273 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
52276 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
52277 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52278 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
52281 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
52282 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52283 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
52286 COND_PLATFORM_MACOS_1
="#"
52287 if test "x$PLATFORM_MACOS" = "x1" ; then
52288 COND_PLATFORM_MACOS_1
=""
52291 COND_PLATFORM_MAC_1
="#"
52292 if test "x$PLATFORM_MAC" = "x1" ; then
52293 COND_PLATFORM_MAC_1
=""
52296 COND_PLATFORM_MSDOS_0
="#"
52297 if test "x$PLATFORM_MSDOS" = "x0" ; then
52298 COND_PLATFORM_MSDOS_0
=""
52301 COND_PLATFORM_MSDOS_1
="#"
52302 if test "x$PLATFORM_MSDOS" = "x1" ; then
52303 COND_PLATFORM_MSDOS_1
=""
52306 COND_PLATFORM_OS2_1
="#"
52307 if test "x$PLATFORM_OS2" = "x1" ; then
52308 COND_PLATFORM_OS2_1
=""
52311 COND_PLATFORM_UNIX_0
="#"
52312 if test "x$PLATFORM_UNIX" = "x0" ; then
52313 COND_PLATFORM_UNIX_0
=""
52316 COND_PLATFORM_UNIX_1
="#"
52317 if test "x$PLATFORM_UNIX" = "x1" ; then
52318 COND_PLATFORM_UNIX_1
=""
52321 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
52322 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52323 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
52326 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
52327 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52328 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
52331 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
52332 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52333 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
52336 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
52337 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52338 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
52341 COND_PLATFORM_WIN32_0
="#"
52342 if test "x$PLATFORM_WIN32" = "x0" ; then
52343 COND_PLATFORM_WIN32_0
=""
52346 COND_PLATFORM_WIN32_1
="#"
52347 if test "x$PLATFORM_WIN32" = "x1" ; then
52348 COND_PLATFORM_WIN32_1
=""
52352 if test "x$SHARED" = "x0" ; then
52356 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
52357 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52358 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
52361 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
52362 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52363 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
52366 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
52367 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52368 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
52371 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
52372 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52373 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
52376 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
52377 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52378 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
52381 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
52382 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52383 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
52386 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
52387 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52388 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
52391 COND_SHARED_0_USE_STC_1
="#"
52392 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52393 COND_SHARED_0_USE_STC_1
=""
52396 COND_SHARED_0_USE_XRC_1
="#"
52397 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52398 COND_SHARED_0_USE_XRC_1
=""
52401 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
52402 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52403 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
52406 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
52407 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52408 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
52411 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
52412 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52413 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
52416 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
52417 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52418 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
52422 if test "x$SHARED" = "x1" ; then
52426 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
52427 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52428 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
52431 COND_SHARED_1_USE_XRC_1
="#"
52432 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52433 COND_SHARED_1_USE_XRC_1
=""
52437 if test "x$TOOLKIT" = "x" ; then
52441 COND_TOOLKIT_COCOA
="#"
52442 if test "x$TOOLKIT" = "xCOCOA" ; then
52443 COND_TOOLKIT_COCOA
=""
52446 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
52447 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52448 COND_TOOLKIT_COCOA_USE_GUI_1
=""
52451 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
52452 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52453 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
52456 COND_TOOLKIT_DFB
="#"
52457 if test "x$TOOLKIT" = "xDFB" ; then
52458 COND_TOOLKIT_DFB
=""
52461 COND_TOOLKIT_DFB_USE_GUI_1
="#"
52462 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52463 COND_TOOLKIT_DFB_USE_GUI_1
=""
52466 COND_TOOLKIT_GTK
="#"
52467 if test "x$TOOLKIT" = "xGTK" ; then
52468 COND_TOOLKIT_GTK
=""
52471 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
52472 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52473 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
52476 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
52477 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52478 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
52481 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
52482 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52483 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
52486 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
52487 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52488 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
52491 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
52492 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52493 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
52496 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
52497 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52498 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
52501 COND_TOOLKIT_GTK_USE_GUI_1
="#"
52502 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52503 COND_TOOLKIT_GTK_USE_GUI_1
=""
52506 COND_TOOLKIT_MAC
="#"
52507 if test "x$TOOLKIT" = "xMAC" ; then
52508 COND_TOOLKIT_MAC
=""
52511 COND_TOOLKIT_MAC_USE_GUI_1
="#"
52512 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52513 COND_TOOLKIT_MAC_USE_GUI_1
=""
52516 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
52517 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52518 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
52521 COND_TOOLKIT_MGL
="#"
52522 if test "x$TOOLKIT" = "xMGL" ; then
52523 COND_TOOLKIT_MGL
=""
52526 COND_TOOLKIT_MGL_USE_GUI_1
="#"
52527 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52528 COND_TOOLKIT_MGL_USE_GUI_1
=""
52531 COND_TOOLKIT_MOTIF
="#"
52532 if test "x$TOOLKIT" = "xMOTIF" ; then
52533 COND_TOOLKIT_MOTIF
=""
52536 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
52537 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52538 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
52541 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
52542 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52543 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
52546 COND_TOOLKIT_MSW
="#"
52547 if test "x$TOOLKIT" = "xMSW" ; then
52548 COND_TOOLKIT_MSW
=""
52551 COND_TOOLKIT_MSW_USE_GUI_1
="#"
52552 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52553 COND_TOOLKIT_MSW_USE_GUI_1
=""
52556 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
52557 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52558 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
52561 COND_TOOLKIT_MSW_WXUNIV_0
="#"
52562 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52563 COND_TOOLKIT_MSW_WXUNIV_0
=""
52566 COND_TOOLKIT_PM
="#"
52567 if test "x$TOOLKIT" = "xPM" ; then
52571 COND_TOOLKIT_PM_USE_GUI_1
="#"
52572 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52573 COND_TOOLKIT_PM_USE_GUI_1
=""
52576 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
52577 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52578 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
52581 COND_TOOLKIT_WINCE
="#"
52582 if test "x$TOOLKIT" = "xWINCE" ; then
52583 COND_TOOLKIT_WINCE
=""
52586 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
52587 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52588 COND_TOOLKIT_WINCE_USE_GUI_1
=""
52591 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
52592 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52593 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
52596 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
52597 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52598 COND_TOOLKIT_WINCE_WXUNIV_0
=""
52601 COND_TOOLKIT_X11
="#"
52602 if test "x$TOOLKIT" = "xX11" ; then
52603 COND_TOOLKIT_X11
=""
52606 COND_TOOLKIT_X11_USE_GUI_1
="#"
52607 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52608 COND_TOOLKIT_X11_USE_GUI_1
=""
52612 if test "x$UNICODE" = "x1" ; then
52616 COND_USE_EXCEPTIONS_0
="#"
52617 if test "x$USE_EXCEPTIONS" = "x0" ; then
52618 COND_USE_EXCEPTIONS_0
=""
52621 COND_USE_EXCEPTIONS_1
="#"
52622 if test "x$USE_EXCEPTIONS" = "x1" ; then
52623 COND_USE_EXCEPTIONS_1
=""
52627 if test "x$USE_GUI" = "x0" ; then
52632 if test "x$USE_GUI" = "x1" ; then
52636 COND_USE_GUI_1_USE_OPENGL_1
="#"
52637 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52638 COND_USE_GUI_1_USE_OPENGL_1
=""
52641 COND_USE_GUI_1_WXUNIV_0
="#"
52642 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52643 COND_USE_GUI_1_WXUNIV_0
=""
52646 COND_USE_GUI_1_WXUNIV_1
="#"
52647 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52648 COND_USE_GUI_1_WXUNIV_1
=""
52651 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
52652 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52653 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
52656 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
52657 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52658 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
52661 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
52662 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52663 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
52666 COND_USE_ODBC_1
="#"
52667 if test "x$USE_ODBC" = "x1" ; then
52671 COND_USE_OPENGL_1
="#"
52672 if test "x$USE_OPENGL" = "x1" ; then
52673 COND_USE_OPENGL_1
=""
52677 if test "x$USE_PCH" = "x1" ; then
52681 COND_USE_PLUGINS_0
="#"
52682 if test "x$USE_PLUGINS" = "x0" ; then
52683 COND_USE_PLUGINS_0
=""
52686 COND_USE_RTTI_0
="#"
52687 if test "x$USE_RTTI" = "x0" ; then
52691 COND_USE_RTTI_1
="#"
52692 if test "x$USE_RTTI" = "x1" ; then
52696 COND_USE_SOSYMLINKS_1
="#"
52697 if test "x$USE_SOSYMLINKS" = "x1" ; then
52698 COND_USE_SOSYMLINKS_1
=""
52701 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
52702 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52703 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
52706 COND_USE_SOVERLINUX_1
="#"
52707 if test "x$USE_SOVERLINUX" = "x1" ; then
52708 COND_USE_SOVERLINUX_1
=""
52711 COND_USE_SOVERSION_0
="#"
52712 if test "x$USE_SOVERSION" = "x0" ; then
52713 COND_USE_SOVERSION_0
=""
52716 COND_USE_SOVERSOLARIS_1
="#"
52717 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52718 COND_USE_SOVERSOLARIS_1
=""
52722 if test "x$USE_STC" = "x1" ; then
52726 COND_USE_THREADS_0
="#"
52727 if test "x$USE_THREADS" = "x0" ; then
52728 COND_USE_THREADS_0
=""
52731 COND_USE_THREADS_1
="#"
52732 if test "x$USE_THREADS" = "x1" ; then
52733 COND_USE_THREADS_1
=""
52737 if test "x$USE_XRC" = "x1" ; then
52741 COND_WINDOWS_IMPLIB_1
="#"
52742 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52743 COND_WINDOWS_IMPLIB_1
=""
52746 COND_WITH_PLUGIN_SDL_1
="#"
52747 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52748 COND_WITH_PLUGIN_SDL_1
=""
52752 if test "x$WXUNIV" = "x0" ; then
52757 if test "x$WXUNIV" = "x1" ; then
52761 COND_WXUSE_EXPAT_BUILTIN
="#"
52762 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52763 COND_WXUSE_EXPAT_BUILTIN
=""
52766 COND_WXUSE_LIBJPEG_BUILTIN
="#"
52767 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52768 COND_WXUSE_LIBJPEG_BUILTIN
=""
52771 COND_WXUSE_LIBPNG_BUILTIN
="#"
52772 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52773 COND_WXUSE_LIBPNG_BUILTIN
=""
52776 COND_WXUSE_LIBTIFF_BUILTIN
="#"
52777 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52778 COND_WXUSE_LIBTIFF_BUILTIN
=""
52781 COND_WXUSE_ODBC_BUILTIN
="#"
52782 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52783 COND_WXUSE_ODBC_BUILTIN
=""
52786 COND_WXUSE_REGEX_BUILTIN
="#"
52787 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52788 COND_WXUSE_REGEX_BUILTIN
=""
52791 COND_WXUSE_ZLIB_BUILTIN
="#"
52792 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52793 COND_WXUSE_ZLIB_BUILTIN
=""
52798 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52799 { { 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
52800 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;}
52801 { (exit 1); exit 1; }; }
52804 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52805 { { 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
52806 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;}
52807 { (exit 1); exit 1; }; }
52814 ?
:* ) # Drive letter, considered as absolute.
52817 INSTALL
=`pwd`/${INSTALL} ;;
52820 if test "$wxUSE_GUI" = "yes"; then
52822 if test "$wxUSE_MSW" = 1 ; then
52823 if test "x$WINDRES" = "x"; then
52824 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52825 echo "$as_me: error: Required windres program not found" >&2;}
52826 { (exit 1); exit 1; }; }
52832 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52833 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52834 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52836 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52838 # Extract the first word of "DeRez", so it can be a program name with args.
52839 set dummy DeRez
; ac_word
=$2
52840 echo "$as_me:$LINENO: checking for $ac_word" >&5
52841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
52842 if test "${ac_cv_prog_DEREZ+set}" = set; then
52843 echo $ECHO_N "(cached) $ECHO_C" >&6
52845 if test -n "$DEREZ"; then
52846 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
52848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52849 for as_dir
in $PATH
52852 test -z "$as_dir" && as_dir
=.
52853 for ac_exec_ext
in '' $ac_executable_extensions; do
52854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
52855 ac_cv_prog_DEREZ
="DeRez"
52856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52862 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
52865 DEREZ
=$ac_cv_prog_DEREZ
52866 if test -n "$DEREZ"; then
52867 echo "$as_me:$LINENO: result: $DEREZ" >&5
52868 echo "${ECHO_T}$DEREZ" >&6
52870 echo "$as_me:$LINENO: result: no" >&5
52871 echo "${ECHO_T}no" >&6
52875 MACSETFILE
="\$(SETFILE)"
52877 if test "$wxUSE_MAC" = 1; then
52878 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52880 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
52882 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52883 RESCOMP
="cat /dev/null \| $REZ"
52884 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52890 if test "$wxUSE_PM" = 1; then
52892 WXCONFIG_RESFLAGS
="-ep"
52894 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
52896 POSTLINK_COMMAND
="@true"
52903 if test $GCC_PCH = 1
52905 if test "$wx_cv_gcc_pch_bug" = yes; then
52906 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52907 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52908 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52909 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52910 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52911 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52914 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
52918 if test "$wxUSE_MAC" = 1 ; then
52919 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52920 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
52926 if test "$wxUSE_SHARED" = "yes"; then
52928 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
52929 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
52932 *-pc-os2_emx | *-pc-os2-emx )
52933 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52934 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52935 cp -p ${srcdir}/src
/os
2/dllnames.sh .
52936 cp -p ${srcdir}/src
/os
2/dllar.sh .
52941 EXE_LINKER
="$CXX -o"
52944 if test "$wxUSE_OMF" = "yes"; then
52946 *-pc-os2_emx | *-pc-os2-emx )
52947 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
52948 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52949 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52954 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52959 if "$GCC" = yes; then
52960 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
52961 LIBS
=`echo $LIBS | sed 's/-mt//'`
52962 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52967 if test "x$SUNCXX" = xyes
; then
52968 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
52969 LIBS
=`echo $LIBS | sed 's/-pthread//'`
52970 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52975 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
52976 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52978 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
53040 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
53041 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
53042 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
53043 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
53044 echo $ECHO_N "(cached) $ECHO_C" >&6
53046 cat >conftest.
make <<\_ACEOF
53048 @
echo 'ac_maketemp="$(MAKE)"'
53050 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53051 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
53052 if test -n "$ac_maketemp"; then
53053 eval ac_cv_prog_make_
${ac_make}_set
=yes
53055 eval ac_cv_prog_make_
${ac_make}_set
=no
53057 rm -f conftest.
make
53059 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
53060 echo "$as_me:$LINENO: result: yes" >&5
53061 echo "${ECHO_T}yes" >&6
53064 echo "$as_me:$LINENO: result: no" >&5
53065 echo "${ECHO_T}no" >&6
53066 SET_MAKE
="MAKE=${MAKE-make}"
53071 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53074 if test "$USE_WIN32" = 1; then
53075 ac_config_commands
="$ac_config_commands
53081 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53084 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53087 if test "$wx_cv_version_script" = "yes"; then
53088 ac_config_files
="$ac_config_files version-script"
53091 ac_config_files
="$ac_config_files Makefile"
53094 ac_config_commands
="$ac_config_commands wx-config"
53098 if test "$wxWITH_SUBDIRS" != "no"; then
53099 if test "$wxUSE_GUI" = "yes"; then
53100 SUBDIRS
="samples demos utils"
53101 else SUBDIRS
="samples utils"
53106 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
53107 if test "${with_cppunit_prefix+set}" = set; then
53108 withval
="$with_cppunit_prefix"
53109 cppunit_config_prefix
="$withval"
53111 cppunit_config_prefix
=""
53114 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
53115 if test "${with_cppunit_exec_prefix+set}" = set; then
53116 withval
="$with_cppunit_exec_prefix"
53117 cppunit_config_exec_prefix
="$withval"
53119 cppunit_config_exec_prefix
=""
53122 if test x
$cppunit_config_exec_prefix != x
; then
53123 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53124 if test x
${CPPUNIT_CONFIG+set} != xset
; then
53125 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
53128 if test x
$cppunit_config_prefix != x
; then
53129 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
53130 if test x
${CPPUNIT_CONFIG+set} != xset
; then
53131 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
53135 # Extract the first word of "cppunit-config", so it can be a program name with args.
53136 set dummy cppunit
-config; ac_word
=$2
53137 echo "$as_me:$LINENO: checking for $ac_word" >&5
53138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
53139 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53140 echo $ECHO_N "(cached) $ECHO_C" >&6
53142 case $CPPUNIT_CONFIG in
53144 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53148 for as_dir
in $PATH
53151 test -z "$as_dir" && as_dir
=.
53152 for ac_exec_ext
in '' $ac_executable_extensions; do
53153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
53154 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
53155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53161 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
53165 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
53167 if test -n "$CPPUNIT_CONFIG"; then
53168 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53169 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
53171 echo "$as_me:$LINENO: result: no" >&5
53172 echo "${ECHO_T}no" >&6
53175 cppunit_version_min
=1.8.0
53177 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53178 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
53180 if test "$CPPUNIT_CONFIG" = "no" ; then
53181 echo "$as_me:$LINENO: result: no" >&5
53182 echo "${ECHO_T}no" >&6
53185 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
53186 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
53187 cppunit_version
=`$CPPUNIT_CONFIG --version`
53189 cppunit_major_version
=`echo $cppunit_version | \
53190 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53191 cppunit_minor_version
=`echo $cppunit_version | \
53192 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53193 cppunit_micro_version
=`echo $cppunit_version | \
53194 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53196 cppunit_major_min
=`echo $cppunit_version_min | \
53197 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53198 cppunit_minor_min
=`echo $cppunit_version_min | \
53199 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53200 cppunit_micro_min
=`echo $cppunit_version_min | \
53201 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53203 cppunit_version_proper
=`expr \
53204 $cppunit_major_version \> $cppunit_major_min \| \
53205 $cppunit_major_version \= $cppunit_major_min \& \
53206 $cppunit_minor_version \> $cppunit_minor_min \| \
53207 $cppunit_major_version \= $cppunit_major_min \& \
53208 $cppunit_minor_version \= $cppunit_minor_min \& \
53209 $cppunit_micro_version \>= $cppunit_micro_min `
53211 if test "$cppunit_version_proper" = "1" ; then
53212 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53213 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
53215 echo "$as_me:$LINENO: result: no" >&5
53216 echo "${ECHO_T}no" >&6
53221 if test "x$no_cppunit" = x
; then
53222 SUBDIRS
="$SUBDIRS tests"
53233 for subdir
in `echo $SUBDIRS`; do
53234 if test -d ${srcdir}/${subdir} ; then
53235 if test "$wxUSE_GUI" = "yes"; then
53236 if test ${subdir} = "samples"; then
53237 makefiles
="samples/Makefile.in $makefiles"
53238 for sample
in `echo $SAMPLES_SUBDIRS`; do
53239 if test -d $srcdir/samples
/$sample; then
53240 makefiles
="samples/$sample/Makefile.in $makefiles"
53244 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
53245 eval "disabled=\$$disabled_var"
53246 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
53247 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53249 else if test ${subdir} = "samples"; then
53250 makefiles
="samples/Makefile.in samples/console/Makefile.in"
53251 elif test ${subdir} = "utils"; then
53253 for util
in HelpGen tex2rtf
; do
53254 if test -d $srcdir/utils
/$util ; then
53255 makefiles
="utils/$util/Makefile.in \
53256 utils/$util/src/Makefile.in \
53260 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
53264 for mkin
in $makefiles ; do
53265 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53266 ac_config_files
="$ac_config_files $mk"
53272 cat >confcache
<<\_ACEOF
53273 # This file is a shell script that caches the results of configure
53274 # tests run on this system so they can be shared between configure
53275 # scripts and configure runs, see configure's option --config-cache.
53276 # It is not useful on other systems. If it contains results you don't
53277 # want to keep, you may remove or edit it.
53279 # config.status only pays attention to the cache file if you give it
53280 # the --recheck option to rerun configure.
53282 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53283 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53284 # following values.
53288 # The following way of writing the cache mishandles newlines in values,
53289 # but we know of no workaround that is simple, portable, and efficient.
53290 # So, don't put newlines in cache variables' values.
53291 # Ultrix sh set writes to stderr and can't be redirected directly,
53292 # and sets the high bit in the cache file unless we assign to the vars.
53295 case `(ac_space=' '; set | grep ac_space) 2>&1` in
53297 # `set' does not quote correctly, so add quotes (double-quote
53298 # substitution turns \\\\ into \\, and sed turns \\ into \).
53301 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53304 # `set' quotes correctly as required by POSIX, so do not add quotes.
53306 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
53313 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53315 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53317 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
53318 if test -w $cache_file; then
53319 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
53320 cat confcache
>$cache_file
53322 echo "not updating unwritable cache $cache_file"
53327 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
53328 # Let make expand exec_prefix.
53329 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
53331 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53332 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53333 # trailing colons and then remove the whole line if VPATH becomes empty
53334 # (actually we leave an empty line to preserve line numbers).
53335 if test "x$srcdir" = x.
; then
53336 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
53337 s/:*\$(srcdir):*/:/;
53338 s/:*\${srcdir}:*/:/;
53340 s/^\([^=]*=[ ]*\):*/\1/;
53346 DEFS
=-DHAVE_CONFIG_H
53350 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
53351 # 1. Remove the extension, and $U if already installed.
53352 ac_i
=`echo "$ac_i" |
53353 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
53355 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
53356 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
53358 LIBOBJS
=$ac_libobjs
53360 LTLIBOBJS
=$ac_ltlibobjs
53364 : ${CONFIG_STATUS=./config.status}
53365 ac_clean_files_save
=$ac_clean_files
53366 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53367 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53368 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53369 cat >$CONFIG_STATUS <<_ACEOF
53371 # Generated by $as_me.
53372 # Run this file to recreate the current configuration.
53373 # Compiler output produced by configure, useful for debugging
53374 # configure, is in config.log if it exists.
53377 ac_cs_recheck=false
53379 SHELL=\${CONFIG_SHELL-$SHELL}
53382 cat >>$CONFIG_STATUS <<\_ACEOF
53383 ## --------------------- ##
53384 ## M4sh Initialization. ##
53385 ## --------------------- ##
53387 # Be Bourne compatible
53388 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53391 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53392 # is contrary to our usage. Disable this feature.
53393 alias -g '${1+"$@"}'='"$@"'
53394 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
53397 DUALCASE
=1; export DUALCASE
# for MKS sh
53399 # Support unset when possible.
53400 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53407 # Work around bugs in pre-3.0 UWIN ksh.
53408 $as_unset ENV MAIL MAILPATH
53415 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53416 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53417 LC_TELEPHONE LC_TIME
53419 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53420 eval $as_var=C
; export $as_var
53426 # Required to use basename.
53427 if expr a
: '\(a\)' >/dev
/null
2>&1; then
53433 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
53434 as_basename
=basename
53440 # Name of the executable.
53441 as_me
=`$as_basename "$0" ||
53442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53443 X"$0" : 'X\(//\)$' \| \
53444 X"$0" : 'X\(/\)$' \| \
53445 . : '\(.\)' 2>/dev/null ||
53447 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
53448 /^X\/\(\/\/\)$/{ s//\1/; q; }
53449 /^X\/\(\/\).*/{ s//\1/; q; }
53453 # PATH needs CR, and LINENO needs CR and PATH.
53454 # Avoid depending upon Character Ranges.
53455 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53456 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53457 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53458 as_cr_digits
='0123456789'
53459 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53461 # The user is always right.
53462 if test "${PATH_SEPARATOR+set}" != set; then
53463 echo "#! /bin/sh" >conf$$.sh
53464 echo "exit 0" >>conf$$.sh
53466 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53475 as_lineno_1
=$LINENO
53476 as_lineno_2
=$LINENO
53477 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
53478 test "x$as_lineno_1" != "x$as_lineno_2" &&
53479 test "x$as_lineno_3" = "x$as_lineno_2" || {
53480 # Find who we are. Look in the path if we contain no path at all
53483 *[\\/]* ) as_myself
=$0 ;;
53484 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53485 for as_dir
in $PATH
53488 test -z "$as_dir" && as_dir
=.
53489 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53494 # We did not find ourselves, most probably we were run as `sh COMMAND'
53495 # in which case we are not to be found in the path.
53496 if test "x$as_myself" = x
; then
53499 if test ! -f "$as_myself"; then
53500 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
53501 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
53502 { (exit 1); exit 1; }; }
53504 case $CONFIG_SHELL in
53506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53507 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
53510 test -z "$as_dir" && as_dir
=.
53511 for as_base
in sh bash ksh sh5
; do
53514 if ("$as_dir/$as_base" -c '
53515 as_lineno_1=$LINENO
53516 as_lineno_2=$LINENO
53517 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
53518 test "x$as_lineno_1" != "x$as_lineno_2" &&
53519 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
53520 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
53521 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
53522 CONFIG_SHELL
=$as_dir/$as_base
53523 export CONFIG_SHELL
53524 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
53532 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53533 # uniformly replaced by the line number. The first 'sed' inserts a
53534 # line-number line before each line; the second 'sed' does the real
53535 # work. The second script uses 'N' to pair each line-number line
53536 # with the numbered line, and appends trailing '-' during
53537 # substitution so that $LINENO is not a special case at line end.
53538 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53539 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
53540 sed '=' <$as_myself |
53545 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
53548 s,^['$as_cr_digits']*\n,,
53549 ' >$as_me.lineno
&&
53550 chmod +x
$as_me.lineno
||
53551 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
53552 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
53553 { (exit 1); exit 1; }; }
53555 # Don't try to exec as it changes $[0], causing all sort of problems
53556 # (the dirname of $[0] is not the place where we might find the
53557 # original and so on. Autoconf is especially sensible to this).
53559 # Exit status is that of the last command.
53564 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
53565 *c
*,-n*) ECHO_N
= ECHO_C
='
53567 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
53568 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
53571 if expr a
: '\(a\)' >/dev
/null
2>&1; then
53577 rm -f conf$$ conf$$.exe conf$$.
file
53579 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53580 # We could just check for DJGPP; but this test a) works b) is more generic
53581 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
53582 if test -f conf$$.exe
; then
53583 # Don't use ln at all; we don't have any links
53588 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53593 rm -f conf$$ conf$$.exe conf$$.
file
53595 if mkdir -p .
2>/dev
/null
; then
53598 test -d .
/-p && rmdir .
/-p
53602 as_executable_p
="test -f"
53604 # Sed expression to map a string onto a valid CPP name.
53605 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53607 # Sed expression to map a string onto a valid variable name.
53608 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53612 # We need space, tab and new line, in precisely that order.
53622 # Open the log real soon, to keep \$[0] and so on meaningful, and to
53623 # report actual input values of CONFIG_FILES etc. instead of their
53624 # values after options handling. Logging --version etc. is OK.
53628 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53629 ## Running $as_me. ##
53634 This file was extended by wxWidgets $as_me 2.9.0, which was
53635 generated by GNU Autoconf 2.59. Invocation command line was
53637 CONFIG_FILES = $CONFIG_FILES
53638 CONFIG_HEADERS = $CONFIG_HEADERS
53639 CONFIG_LINKS = $CONFIG_LINKS
53640 CONFIG_COMMANDS = $CONFIG_COMMANDS
53644 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
53648 # Files that config.status was made for.
53649 if test -n "$ac_config_files"; then
53650 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
53653 if test -n "$ac_config_headers"; then
53654 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
53657 if test -n "$ac_config_links"; then
53658 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
53661 if test -n "$ac_config_commands"; then
53662 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
53665 cat >>$CONFIG_STATUS <<\_ACEOF
53668 \`$as_me' instantiates files from templates according to the
53669 current configuration.
53671 Usage: $0 [OPTIONS] [FILE]...
53673 -h, --help print this help, then exit
53674 -V, --version print version number, then exit
53675 -q, --quiet do not print progress messages
53676 -d, --debug don't remove temporary files
53677 --recheck update $as_me by reconfiguring in the same conditions
53678 --file=FILE[:TEMPLATE]
53679 instantiate the configuration file FILE
53680 --header=FILE[:TEMPLATE]
53681 instantiate the configuration header FILE
53683 Configuration files:
53686 Configuration headers:
53689 Configuration commands:
53692 Report bugs to <bug-autoconf@gnu.org>."
53695 cat >>$CONFIG_STATUS <<_ACEOF
53697 wxWidgets config.status 2.9.0
53698 configured by $0, generated by GNU Autoconf 2.59,
53699 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
53701 Copyright (C) 2003 Free Software Foundation, Inc.
53702 This config.status script is free software; the Free Software Foundation
53703 gives unlimited permission to copy, distribute and modify it."
53708 cat >>$CONFIG_STATUS <<\_ACEOF
53709 # If no file are specified by the user, then we need to provide default
53710 # value. By we need to know if files were specified by the user.
53716 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
53717 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
53725 *) # This is not an option, so the user has probably given explicit
53728 ac_need_defaults
=false
;;
53732 # Handling of the options.
53734 cat >>$CONFIG_STATUS <<\_ACEOF
53735 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53737 --version | --vers* | -V )
53738 echo "$ac_cs_version"; exit 0 ;;
53740 # Conflict between --help and --header
53741 { { echo "$as_me:$LINENO: error: ambiguous option: $1
53742 Try \`$0 --help' for more information." >&5
53743 echo "$as_me: error: ambiguous option: $1
53744 Try \`$0 --help' for more information." >&2;}
53745 { (exit 1); exit 1; }; };;
53746 --help | --hel | -h )
53747 echo "$ac_cs_usage"; exit 0 ;;
53748 --debug | --d* | -d )
53750 --file | --fil | --fi | --f )
53752 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53753 ac_need_defaults
=false
;;
53754 --header | --heade | --head | --hea )
53756 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53757 ac_need_defaults
=false
;;
53758 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53759 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53762 # This is an error.
53763 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
53764 Try \`$0 --help' for more information." >&5
53765 echo "$as_me: error: unrecognized option: $1
53766 Try \`$0 --help' for more information." >&2;}
53767 { (exit 1); exit 1; }; } ;;
53769 *) ac_config_targets
="$ac_config_targets $1" ;;
53775 ac_configure_extra_args
=
53777 if $ac_cs_silent; then
53779 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53783 cat >>$CONFIG_STATUS <<_ACEOF
53784 if \$ac_cs_recheck; then
53785 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53786 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53791 cat >>$CONFIG_STATUS <<_ACEOF
53793 # INIT-COMMANDS section.
53798 infile="$srcdir/include/wx/msw/genrcdefs.h"
53799 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53802 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53803 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53804 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53812 cat >>$CONFIG_STATUS <<\_ACEOF
53813 for ac_config_target
in $ac_config_targets
53815 case "$ac_config_target" in
53816 # Handling of arguments.
53817 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53818 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53819 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53820 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53821 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53822 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53823 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53824 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53825 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53826 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53827 { (exit 1); exit 1; }; };;
53831 # If the user did not use the arguments to specify the items to instantiate,
53832 # then the envvar interface is used. Set only those that are not.
53833 # We use the long form for the default assignment because of an extremely
53834 # bizarre bug on SunOS 4.1.3.
53835 if $ac_need_defaults; then
53836 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53837 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53838 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53841 # Have a temporary directory for convenience. Make it in the build tree
53842 # simply because there is no reason to put it here, and in addition,
53843 # creating and moving files from /tmp can sometimes cause problems.
53844 # Create a temporary directory, and hook for its removal unless debugging.
53847 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
53848 trap '{ (exit 1); exit 1; }' 1 2 13 15
53851 # Create a (secure) tmp directory for tmp files.
53854 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
53855 test -n "$tmp" && test -d "$tmp"
53858 tmp
=.
/confstat$$
-$RANDOM
53859 (umask 077 && mkdir $tmp)
53862 echo "$me: cannot create a temporary directory in ." >&2
53863 { (exit 1); exit 1; }
53868 cat >>$CONFIG_STATUS <<_ACEOF
53871 # CONFIG_FILES section.
53874 # No need to generate the scripts if there are no CONFIG_FILES.
53875 # This happens for instance when ./config.status config.h
53876 if test -n "\$CONFIG_FILES"; then
53877 # Protect against being on the right side of a sed subst in config.status.
53878 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
53879 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
53880 s,@SHELL@,$SHELL,;t t
53881 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
53882 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
53883 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
53884 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
53885 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
53886 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
53887 s,@exec_prefix@,$exec_prefix,;t t
53888 s,@prefix@,$prefix,;t t
53889 s,@program_transform_name@,$program_transform_name,;t t
53890 s,@bindir@,$bindir,;t t
53891 s,@sbindir@,$sbindir,;t t
53892 s,@libexecdir@,$libexecdir,;t t
53893 s,@datadir@,$datadir,;t t
53894 s,@sysconfdir@,$sysconfdir,;t t
53895 s,@sharedstatedir@,$sharedstatedir,;t t
53896 s,@localstatedir@,$localstatedir,;t t
53897 s,@libdir@,$libdir,;t t
53898 s,@includedir@,$includedir,;t t
53899 s,@oldincludedir@,$oldincludedir,;t t
53900 s,@infodir@,$infodir,;t t
53901 s,@mandir@,$mandir,;t t
53902 s,@build_alias@,$build_alias,;t t
53903 s,@host_alias@,$host_alias,;t t
53904 s,@target_alias@,$target_alias,;t t
53905 s,@DEFS@,$DEFS,;t t
53906 s,@ECHO_C@,$ECHO_C,;t t
53907 s,@ECHO_N@,$ECHO_N,;t t
53908 s,@ECHO_T@,$ECHO_T,;t t
53909 s,@LIBS@,$LIBS,;t t
53910 s,@build@,$build,;t t
53911 s,@build_cpu@,$build_cpu,;t t
53912 s,@build_vendor@,$build_vendor,;t t
53913 s,@build_os@,$build_os,;t t
53914 s,@host@,$host,;t t
53915 s,@host_cpu@,$host_cpu,;t t
53916 s,@host_vendor@,$host_vendor,;t t
53917 s,@host_os@,$host_os,;t t
53918 s,@target@,$target,;t t
53919 s,@target_cpu@,$target_cpu,;t t
53920 s,@target_vendor@,$target_vendor,;t t
53921 s,@target_os@,$target_os,;t t
53922 s,@wx_top_builddir@,$wx_top_builddir,;t t
53924 s,@CFLAGS@,$CFLAGS,;t t
53925 s,@LDFLAGS@,$LDFLAGS,;t t
53926 s,@CPPFLAGS@,$CPPFLAGS,;t t
53927 s,@ac_ct_CC@,$ac_ct_CC,;t t
53928 s,@EXEEXT@,$EXEEXT,;t t
53929 s,@OBJEXT@,$OBJEXT,;t t
53931 s,@EGREP@,$EGREP,;t t
53933 s,@CXXFLAGS@,$CXXFLAGS,;t t
53934 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
53936 s,@ac_ct_AR@,$ac_ct_AR,;t t
53937 s,@subdirs@,$subdirs,;t t
53938 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
53939 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
53940 s,@GTK_LIBS@,$GTK_LIBS,;t t
53941 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
53942 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
53943 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
53944 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
53945 s,@X_CFLAGS@,$X_CFLAGS,;t t
53946 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
53947 s,@X_LIBS@,$X_LIBS,;t t
53948 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
53949 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
53950 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
53951 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
53952 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
53953 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
53954 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
53955 s,@CFLAGS_VISIBILITY@,$CFLAGS_VISIBILITY,;t t
53956 s,@CXXFLAGS_VISIBILITY@,$CXXFLAGS_VISIBILITY,;t t
53957 s,@LIBICONV@,$LIBICONV,;t t
53958 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
53959 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
53960 s,@SDL_LIBS@,$SDL_LIBS,;t t
53961 s,@GTKPRINT_CFLAGS@,$GTKPRINT_CFLAGS,;t t
53962 s,@GTKPRINT_LIBS@,$GTKPRINT_LIBS,;t t
53963 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
53964 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
53965 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
53966 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
53967 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
53968 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
53969 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
53970 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
53971 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
53972 s,@GST_LIBS@,$GST_LIBS,;t t
53973 s,@ALL_WX_LIBS@,$ALL_WX_LIBS,;t t
53974 s,@BUILT_WX_LIBS@,$BUILT_WX_LIBS,;t t
53975 s,@STD_BASE_LIBS@,$STD_BASE_LIBS,;t t
53976 s,@STD_GUI_LIBS@,$STD_GUI_LIBS,;t t
53977 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
53978 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
53979 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
53980 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
53981 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
53982 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
53983 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
53984 s,@VENDOR@,$VENDOR,;t t
53985 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
53986 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
53987 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
53988 s,@WXUNIV@,$WXUNIV,;t t
53989 s,@MONOLITHIC@,$MONOLITHIC,;t t
53990 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
53991 s,@CXXWARNINGS@,$CXXWARNINGS,;t t
53992 s,@EXTRALIBS@,$EXTRALIBS,;t t
53993 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
53994 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
53995 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
53996 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
53997 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
53998 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
53999 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
54000 s,@EXTRALIBS_GTKPRINT@,$EXTRALIBS_GTKPRINT,;t t
54001 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
54002 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
54003 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
54004 s,@UNICODE@,$UNICODE,;t t
54005 s,@BUILD@,$BUILD,;t t
54006 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
54007 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
54008 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
54009 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
54010 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
54011 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
54012 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
54013 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
54014 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
54015 s,@RANLIB@,$RANLIB,;t t
54016 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
54017 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
54018 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
54019 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
54020 s,@LN_S@,$LN_S,;t t
54021 s,@SET_MAKE@,$SET_MAKE,;t t
54022 s,@MAKE_SET@,$MAKE_SET,;t t
54023 s,@AROPTIONS@,$AROPTIONS,;t t
54024 s,@STRIP@,$STRIP,;t t
54025 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
54027 s,@ac_ct_NM@,$ac_ct_NM,;t t
54028 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
54029 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
54030 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
54031 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
54032 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
54033 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
54034 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
54035 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
54036 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
54037 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
54038 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
54039 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
54040 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
54041 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
54042 s,@LIBPREFIX@,$LIBPREFIX,;t t
54043 s,@LIBEXT@,$LIBEXT,;t t
54044 s,@DLLPREFIX@,$DLLPREFIX,;t t
54045 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
54046 s,@dlldir@,$dlldir,;t t
54047 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
54048 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
54049 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
54050 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
54051 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
54052 s,@PIC_FLAG@,$PIC_FLAG,;t t
54053 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
54054 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
54055 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
54056 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
54057 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
54058 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
54059 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
54060 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
54061 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
54062 s,@BK_DEPS@,$BK_DEPS,;t t
54063 s,@WINDRES@,$WINDRES,;t t
54064 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
54066 s,@SETFILE@,$SETFILE,;t t
54067 s,@GCC_PCH@,$GCC_PCH,;t t
54068 s,@ICC_PCH@,$ICC_PCH,;t t
54069 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
54070 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
54071 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
54072 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
54073 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
54074 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
54075 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
54076 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
54077 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
54078 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
54079 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
54080 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
54081 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
54082 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
54083 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
54084 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
54085 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
54086 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
54087 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
54088 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
54089 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
54090 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
54091 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
54092 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
54093 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
54094 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
54095 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
54096 s,@COND_MONOLITHIC_0_SHARED_0_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_STC_1,;t t
54097 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
54098 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
54099 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
54100 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
54101 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
54102 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
54103 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
54104 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
54105 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
54106 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
54107 s,@COND_MONOLITHIC_0_SHARED_1_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_STC_1,;t t
54108 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
54109 s,@COND_MONOLITHIC_0_USE_AUI_1@,$COND_MONOLITHIC_0_USE_AUI_1,;t t
54110 s,@COND_MONOLITHIC_0_USE_GUI_1@,$COND_MONOLITHIC_0_USE_GUI_1,;t t
54111 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1,;t t
54112 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1,;t t
54113 s,@COND_MONOLITHIC_0_USE_HTML_1@,$COND_MONOLITHIC_0_USE_HTML_1,;t t
54114 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
54115 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
54116 s,@COND_MONOLITHIC_0_USE_QA_1@,$COND_MONOLITHIC_0_USE_QA_1,;t t
54117 s,@COND_MONOLITHIC_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_USE_RICHTEXT_1,;t t
54118 s,@COND_MONOLITHIC_0_USE_STC_1@,$COND_MONOLITHIC_0_USE_STC_1,;t t
54119 s,@COND_MONOLITHIC_0_USE_XRC_1@,$COND_MONOLITHIC_0_USE_XRC_1,;t t
54120 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
54121 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
54122 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
54123 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
54124 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
54125 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
54126 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
54127 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
54128 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
54129 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
54130 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
54131 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
54132 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
54133 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
54134 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
54135 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
54136 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
54137 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
54138 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
54139 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
54140 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
54141 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
54142 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
54143 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
54144 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
54145 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
54146 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
54147 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
54148 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
54149 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
54150 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
54151 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
54152 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
54153 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
54154 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
54155 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
54156 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
54157 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
54158 s,@COND_SHARED_0_USE_STC_1@,$COND_SHARED_0_USE_STC_1,;t t
54159 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
54160 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
54161 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
54162 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
54163 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
54164 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
54165 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
54166 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
54167 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
54168 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
54169 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
54170 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
54171 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
54172 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
54173 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
54174 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
54175 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
54176 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
54177 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
54178 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
54179 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
54180 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
54181 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
54182 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
54183 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
54184 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
54185 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
54186 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
54187 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
54188 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
54189 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
54190 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
54191 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
54192 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
54193 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
54194 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
54195 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
54196 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
54197 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
54198 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
54199 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
54200 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
54201 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
54202 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
54203 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
54204 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
54205 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
54206 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
54207 s,@COND_USE_GUI_1_USE_OPENGL_1@,$COND_USE_GUI_1_USE_OPENGL_1,;t t
54208 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
54209 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
54210 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
54211 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
54212 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
54213 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
54214 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
54215 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
54216 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
54217 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
54218 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
54219 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
54220 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
54221 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
54222 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
54223 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
54224 s,@COND_USE_STC_1@,$COND_USE_STC_1,;t t
54225 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
54226 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
54227 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
54228 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
54229 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
54230 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
54231 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
54232 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
54233 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
54234 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
54235 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
54236 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
54237 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
54238 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
54239 s,@DEREZ@,$DEREZ,;t t
54240 s,@SHARED@,$SHARED,;t t
54241 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
54242 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
54243 s,@USE_GUI@,$USE_GUI,;t t
54244 s,@AFMINSTALL@,$AFMINSTALL,;t t
54245 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
54246 s,@TOOLKIT@,$TOOLKIT,;t t
54247 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
54248 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
54249 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
54250 s,@cross_compiling@,$cross_compiling,;t t
54251 s,@WIDGET_SET@,$WIDGET_SET,;t t
54252 s,@WX_RELEASE@,$WX_RELEASE,;t t
54253 s,@WX_VERSION@,$WX_VERSION,;t t
54254 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
54255 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
54256 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
54257 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
54258 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
54259 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
54260 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
54261 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
54262 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
54263 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
54264 s,@EXE_LINKER@,$EXE_LINKER,;t t
54265 s,@GUIDIST@,$GUIDIST,;t t
54266 s,@DISTDIR@,$DISTDIR,;t t
54267 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
54268 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
54269 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
54270 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
54271 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
54272 s,@RESCOMP@,$RESCOMP,;t t
54273 s,@RESFLAGS@,$RESFLAGS,;t t
54274 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
54275 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
54276 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
54277 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
54278 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
54279 s,@MACSETFILE@,$MACSETFILE,;t t
54281 s,@DLLTOOL@,$DLLTOOL,;t t
54282 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
54283 s,@LIBOBJS@,$LIBOBJS,;t t
54284 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
54289 cat >>$CONFIG_STATUS <<\_ACEOF
54290 # Split the substitutions into bite-sized pieces for seds with
54291 # small command number limits, like on Digital OSF/1 and HP-UX.
54292 ac_max_sed_lines
=48
54293 ac_sed_frag
=1 # Number of current file.
54294 ac_beg
=1 # First line for current file.
54295 ac_end
=$ac_max_sed_lines # Line after last line for current file.
54298 while $ac_more_lines; do
54299 if test $ac_beg -gt 1; then
54300 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
54302 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
54304 if test ! -s $tmp/subs.frag
; then
54305 ac_more_lines
=false
54307 # The purpose of the label and of the branching condition is to
54308 # speed up the sed processing (if there are no `@' at all, there
54309 # is no need to browse any of the substitutions).
54310 # These are the two extra sed commands mentioned above.
54312 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
54313 if test -z "$ac_sed_cmds"; then
54314 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
54316 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
54318 ac_sed_frag
=`expr $ac_sed_frag + 1`
54320 ac_end
=`expr $ac_end + $ac_max_sed_lines`
54323 if test -z "$ac_sed_cmds"; then
54326 fi # test -n "$CONFIG_FILES"
54329 cat >>$CONFIG_STATUS <<\_ACEOF
54330 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
54331 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
54333 - | *:- | *:-:* ) # input from stdin
54335 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
54336 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
54337 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
54338 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
54339 * ) ac_file_in
=$ac_file.
in ;;
54342 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
54343 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
54344 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54345 X"$ac_file" : 'X\(//\)[^/]' \| \
54346 X"$ac_file" : 'X\(//\)$' \| \
54347 X"$ac_file" : 'X\(/\)' \| \
54348 . : '\(.\)' 2>/dev/null ||
54350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54351 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54352 /^X\(\/\/\)$/{ s//\1/; q; }
54353 /^X\(\/\).*/{ s//\1/; q; }
54355 { if $as_mkdir_p; then
54360 while test ! -d "$as_dir"; do
54361 as_dirs
="$as_dir $as_dirs"
54362 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
54363 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54364 X"$as_dir" : 'X\(//\)[^/]' \| \
54365 X"$as_dir" : 'X\(//\)$' \| \
54366 X"$as_dir" : 'X\(/\)' \| \
54367 . : '\(.\)' 2>/dev/null ||
54369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54370 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54371 /^X\(\/\/\)$/{ s//\1/; q; }
54372 /^X\(\/\).*/{ s//\1/; q; }
54375 test ! -n "$as_dirs" || mkdir $as_dirs
54376 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
54377 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
54378 { (exit 1); exit 1; }; }; }
54382 if test "$ac_dir" != .
; then
54383 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54384 # A "../" for each directory in $ac_dir_suffix.
54385 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
54387 ac_dir_suffix
= ac_top_builddir
=
54391 .
) # No --srcdir option. We are building in place.
54393 if test -z "$ac_top_builddir"; then
54396 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
54398 [\\/]* | ?
:[\\/]* ) # Absolute path.
54399 ac_srcdir
=$srcdir$ac_dir_suffix;
54400 ac_top_srcdir
=$srcdir ;;
54401 *) # Relative path.
54402 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
54403 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
54406 # Do not use `cd foo && pwd` to compute absolute paths, because
54407 # the directories may not exist.
54409 .
) ac_abs_builddir
="$ac_dir";;
54412 .
) ac_abs_builddir
=`pwd`;;
54413 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
54414 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
54417 case $ac_abs_builddir in
54418 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
54420 case ${ac_top_builddir}.
in
54421 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
54422 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
54423 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
54426 case $ac_abs_builddir in
54427 .
) ac_abs_srcdir
=$ac_srcdir;;
54430 .
) ac_abs_srcdir
=$ac_abs_builddir;;
54431 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
54432 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
54435 case $ac_abs_builddir in
54436 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
54438 case $ac_top_srcdir in
54439 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
54440 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
54441 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
54447 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54448 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
54451 if test x
"$ac_file" != x
-; then
54452 { echo "$as_me:$LINENO: creating $ac_file" >&5
54453 echo "$as_me: creating $ac_file" >&6;}
54456 # Let's still pretend it is `configure' which instantiates (i.e., don't
54457 # use $as_me), people would be surprised to read:
54458 # /* config.h. Generated by config.status. */
54459 if test x
"$ac_file" = x
-; then
54462 configure_input
="$ac_file. "
54464 configure_input
=$configure_input"Generated from `echo $ac_file_in |
54465 sed 's,.*/,,'` by configure."
54467 # First look for the input files in the build tree, otherwise in the
54469 ac_file_inputs
=`IFS=:
54470 for f in $ac_file_in; do
54472 -) echo $tmp/stdin ;;
54474 # Absolute (can't be DOS-style, as IFS=:)
54475 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
54476 echo "$as_me: error: cannot find input file: $f" >&2;}
54477 { (exit 1); exit 1; }; }
54480 if test -f "$f"; then
54483 elif test -f "$srcdir/$f"; then
54488 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
54489 echo "$as_me: error: cannot find input file: $f" >&2;}
54490 { (exit 1); exit 1; }; }
54493 done` || { (exit 1); exit 1; }
54495 cat >>$CONFIG_STATUS <<_ACEOF
54499 cat >>$CONFIG_STATUS <<\_ACEOF
54501 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54502 s
,@configure_input@
,$configure_input,;t t
54503 s
,@srcdir@
,$ac_srcdir,;t t
54504 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
54505 s
,@top_srcdir@
,$ac_top_srcdir,;t t
54506 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
54507 s
,@builddir@
,$ac_builddir,;t t
54508 s
,@abs_builddir@
,$ac_abs_builddir,;t t
54509 s
,@top_builddir@
,$ac_top_builddir,;t t
54510 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
54511 s
,@INSTALL@
,$ac_INSTALL,;t t
54512 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
54514 if test x"$ac_file" != x-; then
54515 mv $tmp/out $ac_file
54521 # Run the commands associated with the file.
54523 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54524 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54528 cat >>$CONFIG_STATUS <<\_ACEOF
54531 # CONFIG_HEADER section.
54534 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
54535 # NAME is the cpp macro being defined and VALUE is the value it is being given.
54537 # ac_d sets the value in "#define NAME VALUE" lines.
54538 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
54539 ac_dB
='[ ].*$,\1#\2'
54542 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
54543 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
54544 ac_uB
='$,\1#\2define\3'
54548 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
54549 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
54551 - | *:- | *:-:* ) # input from stdin
54553 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
54554 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
54555 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
54556 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
54557 * ) ac_file_in
=$ac_file.
in ;;
54560 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
54561 echo "$as_me: creating $ac_file" >&6;}
54563 # First look for the input files in the build tree, otherwise in the
54565 ac_file_inputs
=`IFS=:
54566 for f in $ac_file_in; do
54568 -) echo $tmp/stdin ;;
54570 # Absolute (can't be DOS-style, as IFS=:)
54571 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
54572 echo "$as_me: error: cannot find input file: $f" >&2;}
54573 { (exit 1); exit 1; }; }
54574 # Do quote $f, to prevent DOS paths from being IFS'd.
54577 if test -f "$f"; then
54580 elif test -f "$srcdir/$f"; then
54585 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
54586 echo "$as_me: error: cannot find input file: $f" >&2;}
54587 { (exit 1); exit 1; }; }
54590 done` || { (exit 1); exit 1; }
54591 # Remove the trailing spaces.
54592 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
54596 # Transform confdefs.h into two sed scripts, `conftest.defines' and
54597 # `conftest.undefs', that substitutes the proper values into
54598 # config.h.in to produce config.h. The first handles `#define'
54599 # templates, and the second `#undef' templates.
54600 # And first: Protect against being on the right side of a sed subst in
54601 # config.status. Protect against being in an unquoted here document
54602 # in config.status.
54603 rm -f conftest.defines conftest.undefs
54604 # Using a here document instead of a string reduces the quoting nightmare.
54605 # Putting comments in sed scripts is not portable.
54607 # `end' is used to avoid that the second main sed command (meant for
54608 # 0-ary CPP macros) applies to n-ary macro definitions.
54609 # See the Autoconf documentation for `clear'.
54610 cat >confdef2sed.
sed <<\_ACEOF
54615 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
54617 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
54620 # If some macros were called several times there might be several times
54621 # the same #defines, which is useless. Nevertheless, we may not want to
54622 # sort them, since we want the *last* AC-DEFINE to be honored.
54623 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
54624 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
54625 rm -f confdef2sed.sed
54627 # This sed command replaces #undef with comments. This is necessary, for
54628 # example, in the case of _POSIX_SOURCE, which is predefined and required
54629 # on some systems where configure will not decide to define it.
54630 cat >>conftest.undefs <<\_ACEOF
54631 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
54634 # Break up conftest.defines because some shells have a limit on the size
54635 # of here documents, and old seds have small limits too (100 cmds).
54636 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
54637 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
54638 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
54639 echo ' :' >>$CONFIG_STATUS
54640 rm -f conftest.tail
54641 while grep . conftest.defines >/dev/null
54643 # Write a limited-size here document to $tmp/defines.sed.
54644 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
54645 # Speed up: don't consider the non `#define' lines.
54646 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
54647 # Work around the forget-to-reset-the-flag bug.
54648 echo 't clr' >>$CONFIG_STATUS
54649 echo ': clr' >>$CONFIG_STATUS
54650 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
54652 sed -f $tmp/defines.sed $tmp/in >$tmp/out
54654 mv $tmp/out $tmp/in
54656 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
54657 rm -f conftest.defines
54658 mv conftest.
tail conftest.defines
54660 rm -f conftest.defines
54661 echo ' fi # grep' >>$CONFIG_STATUS
54662 echo >>$CONFIG_STATUS
54664 # Break up conftest.undefs because some shells have a limit on the size
54665 # of here documents, and old seds have small limits too (100 cmds).
54666 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
54667 rm -f conftest.
tail
54668 while grep . conftest.undefs
>/dev
/null
54670 # Write a limited-size here document to $tmp/undefs.sed.
54671 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
54672 # Speed up: don't consider the non
`#undef'
54673 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
54674 # Work around the forget-to-reset-the-flag bug.
54675 echo 't clr' >>$CONFIG_STATUS
54676 echo ': clr' >>$CONFIG_STATUS
54677 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
54679 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
54681 mv $tmp/out $tmp/in
54683 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
54684 rm -f conftest.undefs
54685 mv conftest.tail conftest.undefs
54687 rm -f conftest.undefs
54689 cat >>$CONFIG_STATUS <<\_ACEOF
54690 # Let's still pretend it is `configure
' which instantiates (i.e., don't
54691 # use $as_me), people would be surprised to read:
54692 # /* config.h. Generated by config.status. */
54693 if test x
"$ac_file" = x
-; then
54694 echo "/* Generated by configure. */" >$tmp/config.h
54696 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
54698 cat $tmp/in >>$tmp/config.h
54700 if test x
"$ac_file" != x
-; then
54701 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
54702 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54703 echo "$as_me: $ac_file is unchanged" >&6;}
54705 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
54706 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54707 X"$ac_file" : 'X\(//\)[^/]' \| \
54708 X"$ac_file" : 'X\(//\)$' \| \
54709 X"$ac_file" : 'X\(/\)' \| \
54710 . : '\(.\)' 2>/dev/null ||
54712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54713 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54714 /^X\(\/\/\)$/{ s//\1/; q; }
54715 /^X\(\/\).*/{ s//\1/; q; }
54717 { if $as_mkdir_p; then
54722 while test ! -d "$as_dir"; do
54723 as_dirs
="$as_dir $as_dirs"
54724 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
54725 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54726 X"$as_dir" : 'X\(//\)[^/]' \| \
54727 X"$as_dir" : 'X\(//\)$' \| \
54728 X"$as_dir" : 'X\(/\)' \| \
54729 . : '\(.\)' 2>/dev/null ||
54731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54732 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54733 /^X\(\/\/\)$/{ s//\1/; q; }
54734 /^X\(\/\).*/{ s//\1/; q; }
54737 test ! -n "$as_dirs" || mkdir $as_dirs
54738 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
54739 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
54740 { (exit 1); exit 1; }; }; }
54743 mv $tmp/config.h
$ac_file
54747 rm -f $tmp/config.h
54751 cat >>$CONFIG_STATUS <<\_ACEOF
54754 # CONFIG_COMMANDS section.
54756 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
54757 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
54758 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
54759 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
54760 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54761 X"$ac_dest" : 'X\(//\)[^/]' \| \
54762 X"$ac_dest" : 'X\(//\)$' \| \
54763 X"$ac_dest" : 'X\(/\)' \| \
54764 . : '\(.\)' 2>/dev/null ||
54766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54767 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54768 /^X\(\/\/\)$/{ s//\1/; q; }
54769 /^X\(\/\).*/{ s//\1/; q; }
54771 { if $as_mkdir_p; then
54776 while test ! -d "$as_dir"; do
54777 as_dirs
="$as_dir $as_dirs"
54778 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
54779 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54780 X"$as_dir" : 'X\(//\)[^/]' \| \
54781 X"$as_dir" : 'X\(//\)$' \| \
54782 X"$as_dir" : 'X\(/\)' \| \
54783 . : '\(.\)' 2>/dev/null ||
54785 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54786 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54787 /^X\(\/\/\)$/{ s//\1/; q; }
54788 /^X\(\/\).*/{ s//\1/; q; }
54791 test ! -n "$as_dirs" || mkdir $as_dirs
54792 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
54793 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
54794 { (exit 1); exit 1; }; }; }
54798 if test "$ac_dir" != .
; then
54799 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54800 # A "../" for each directory in $ac_dir_suffix.
54801 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
54803 ac_dir_suffix
= ac_top_builddir
=
54807 .
) # No --srcdir option. We are building in place.
54809 if test -z "$ac_top_builddir"; then
54812 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
54814 [\\/]* | ?
:[\\/]* ) # Absolute path.
54815 ac_srcdir
=$srcdir$ac_dir_suffix;
54816 ac_top_srcdir
=$srcdir ;;
54817 *) # Relative path.
54818 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
54819 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
54822 # Do not use `cd foo && pwd` to compute absolute paths, because
54823 # the directories may not exist.
54825 .
) ac_abs_builddir
="$ac_dir";;
54828 .
) ac_abs_builddir
=`pwd`;;
54829 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
54830 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
54833 case $ac_abs_builddir in
54834 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
54836 case ${ac_top_builddir}.
in
54837 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
54838 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
54839 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
54842 case $ac_abs_builddir in
54843 .
) ac_abs_srcdir
=$ac_srcdir;;
54846 .
) ac_abs_srcdir
=$ac_abs_builddir;;
54847 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
54848 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
54851 case $ac_abs_builddir in
54852 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
54854 case $ac_top_srcdir in
54855 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
54856 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
54857 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
54862 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
54863 echo "$as_me: executing $ac_dest commands" >&6;}
54866 mkdir -p $outdir &&
54867 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54869 wx
-config ) rm -f wx
-config
54870 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54876 cat >>$CONFIG_STATUS <<\_ACEOF
54878 { (exit 0); exit 0; }
54880 chmod +x
$CONFIG_STATUS
54881 ac_clean_files
=$ac_clean_files_save
54884 # configure is writing to config.log, and then calls config.status.
54885 # config.status does its own redirection, appending to config.log.
54886 # Unfortunately, on DOS this fails, as config.log is still kept open
54887 # by configure, so config.status won't be able to write to it; its
54888 # output is simply discarded. So we exec the FD to /dev/null,
54889 # effectively closing config.log, so it can be properly (re)opened and
54890 # appended to by config.status. When coming back to configure, we
54891 # need to make the FD available again.
54892 if test "$no_create" != yes; then
54894 ac_config_status_args
=
54895 test "$silent" = yes &&
54896 ac_config_status_args
="$ac_config_status_args --quiet"
54898 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54900 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54901 # would make configure fail if this is the last instruction.
54902 $ac_cs_success || { (exit 1); exit 1; }
54906 # CONFIG_SUBDIRS section.
54908 if test "$no_recursion" != yes; then
54910 # Remove --cache-file and --srcdir arguments so they do not pile up.
54911 ac_sub_configure_args
=
54913 for ac_arg
in $ac_configure_args; do
54914 if test -n "$ac_prev"; then
54919 -cache-file | --cache-file | --cache-fil | --cache-fi \
54920 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54921 ac_prev
=cache_file
;;
54922 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54923 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54926 --config-cache | -C)
54928 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54930 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54932 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54934 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54936 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
54940 # Always prepend --prefix to ensure using the same prefix
54941 # in subdir configurations.
54942 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
54945 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54947 # Do not complain, so a configure script can configure whichever
54948 # parts of a large source tree are present.
54949 test -d $srcdir/$ac_dir || continue
54951 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
54952 echo "$as_me: configuring in $ac_dir" >&6;}
54953 { if $as_mkdir_p; then
54958 while test ! -d "$as_dir"; do
54959 as_dirs
="$as_dir $as_dirs"
54960 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
54961 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54962 X"$as_dir" : 'X\(//\)[^/]' \| \
54963 X"$as_dir" : 'X\(//\)$' \| \
54964 X"$as_dir" : 'X\(/\)' \| \
54965 . : '\(.\)' 2>/dev/null ||
54967 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54968 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54969 /^X\(\/\/\)$/{ s//\1/; q; }
54970 /^X\(\/\).*/{ s//\1/; q; }
54973 test ! -n "$as_dirs" || mkdir $as_dirs
54974 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
54975 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
54976 { (exit 1); exit 1; }; }; }
54980 if test "$ac_dir" != .
; then
54981 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54982 # A "../" for each directory in $ac_dir_suffix.
54983 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
54985 ac_dir_suffix
= ac_top_builddir
=
54989 .
) # No --srcdir option. We are building in place.
54991 if test -z "$ac_top_builddir"; then
54994 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
54996 [\\/]* | ?
:[\\/]* ) # Absolute path.
54997 ac_srcdir
=$srcdir$ac_dir_suffix;
54998 ac_top_srcdir
=$srcdir ;;
54999 *) # Relative path.
55000 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
55001 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
55004 # Do not use `cd foo && pwd` to compute absolute paths, because
55005 # the directories may not exist.
55007 .
) ac_abs_builddir
="$ac_dir";;
55010 .
) ac_abs_builddir
=`pwd`;;
55011 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
55012 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
55015 case $ac_abs_builddir in
55016 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
55018 case ${ac_top_builddir}.
in
55019 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
55020 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
55021 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
55024 case $ac_abs_builddir in
55025 .
) ac_abs_srcdir
=$ac_srcdir;;
55028 .
) ac_abs_srcdir
=$ac_abs_builddir;;
55029 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
55030 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
55033 case $ac_abs_builddir in
55034 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
55036 case $ac_top_srcdir in
55037 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
55038 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
55039 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
55046 # Check for guested configure; otherwise get Cygnus style configure.
55047 if test -f $ac_srcdir/configure.gnu
; then
55048 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
55049 elif test -f $ac_srcdir/configure
; then
55050 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
55051 elif test -f $ac_srcdir/configure.
in; then
55052 ac_sub_configure
=$ac_configure
55054 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55055 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55059 # The recursion is here.
55060 if test -n "$ac_sub_configure"; then
55061 # Make the cache file name correct relative to the subdirectory.
55062 case $cache_file in
55063 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
55064 *) # Relative path.
55065 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
55068 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55069 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55070 # The eval makes quoting arguments work.
55071 eval $ac_sub_configure $ac_sub_configure_args \
55072 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
55073 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55074 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55075 { (exit 1); exit 1; }; }
55084 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55086 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55087 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55089 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55090 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55091 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55092 if test "$wxUSE_UNICODE" = "yes"; then
55093 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55094 echo " (using UTF-8)"
55096 echo " (using wchar_t)"
55102 echo " What level of wxWidgets compatibility should be enabled?"
55103 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55104 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55106 echo " Which libraries should wxWidgets use?"
55107 echo " STL ${wxUSE_STL}"
55108 echo " jpeg ${wxUSE_LIBJPEG-none}"
55109 echo " png ${wxUSE_LIBPNG-none}"
55110 echo " regex ${wxUSE_REGEX}"
55111 echo " tiff ${wxUSE_LIBTIFF-none}"
55112 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55113 echo " xpm ${wxUSE_LIBXPM-none}"
55115 echo " zlib ${wxUSE_ZLIB}"
55116 echo " odbc ${wxUSE_ODBC}"
55117 echo " expat ${wxUSE_EXPAT}"
55118 echo " libmspack ${wxUSE_LIBMSPACK}"
55119 echo " sdl ${wxUSE_LIBSDL}"