2 # From configure.in Id: configure.in 47342 2007-07-11 20:52:41Z VZ .
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 RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S 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 REZ DEREZ SETFILE LIBICONV SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS 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_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET AROPTIONS NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING BK_DEPS GCC_PCH ICC_PCH BK_MAKE_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_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 SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_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_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
822 ac_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
823 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
824 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
825 ac_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
826 ac_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
827 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
829 ac_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
830 ac_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
831 ac_cv_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
832 ac_cv_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
833 ac_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
834 ac_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
835 ac_cv_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
836 ac_cv_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
837 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
838 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
839 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
840 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
841 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
842 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
843 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
844 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
845 ac_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
846 ac_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
847 ac_cv_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
848 ac_cv_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
849 ac_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
850 ac_env_CAIRO_LIBS_value
=$CAIRO_LIBS
851 ac_cv_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
852 ac_cv_env_CAIRO_LIBS_value
=$CAIRO_LIBS
853 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
854 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
855 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
856 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
857 ac_env_GST_LIBS_set
=${GST_LIBS+set}
858 ac_env_GST_LIBS_value
=$GST_LIBS
859 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
860 ac_cv_env_GST_LIBS_value
=$GST_LIBS
863 # Report the --help message.
865 if test "$ac_init_help" = "long"; then
866 # Omit some internal or obsolete options to make the list less imposing.
867 # This message is too long to be a string in the A/UX 3.1 sh.
869 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
871 Usage: $0 [OPTION]... [VAR=VALUE]...
873 To assign environment variables (e.g., CC, CFLAGS...), specify them as
874 VAR=VALUE. See below for descriptions of some of the useful variables.
876 Defaults for the options are specified in brackets.
879 -h, --help display this help and exit
880 --help=short display options specific to this package
881 --help=recursive display the short help of all the included packages
882 -V, --version display version information and exit
883 -q, --quiet, --silent do not print \`checking...' messages
884 --cache-file=FILE cache test results in FILE [disabled]
885 -C, --config-cache alias for \`--cache-file=config.cache'
886 -n, --no-create do not create output files
887 --srcdir=DIR find the sources in DIR [configure dir or \`..']
892 Installation directories:
893 --prefix=PREFIX install architecture-independent files in PREFIX
895 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
898 By default, \`make install' will install all the files in
899 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
900 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
901 for instance \`--prefix=\$HOME'.
903 For better control, use the options below.
905 Fine tuning of the installation directories:
906 --bindir=DIR user executables [EPREFIX/bin]
907 --sbindir=DIR system admin executables [EPREFIX/sbin]
908 --libexecdir=DIR program executables [EPREFIX/libexec]
909 --datadir=DIR read-only architecture-independent data [PREFIX/share]
910 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
911 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
912 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
913 --libdir=DIR object code libraries [EPREFIX/lib]
914 --includedir=DIR C header files [PREFIX/include]
915 --oldincludedir=DIR C header files for non-gcc [/usr/include]
916 --infodir=DIR info documentation [PREFIX/info]
917 --mandir=DIR man documentation [PREFIX/man]
923 --x-includes=DIR X include files are
in DIR
924 --x-libraries=DIR X library files are
in DIR
927 --build=BUILD configure
for building on BUILD
[guessed
]
928 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
929 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
933 if test -n "$ac_init_help"; then
934 case $ac_init_help in
935 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
940 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
941 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
942 --disable-gui don
't build GUI parts of the library
943 --enable-monolithic build wxWidgets as single library
944 --enable-plugins build parts of wxWidgets as loadable components
945 --enable-official_build official build of wxWidgets (win32 DLL only)
946 --enable-vendor=VENDOR vendor name (win32 DLL only)
947 --disable-all_features disable all optional features to build minimal library
948 --enable-universal use wxWidgets GUI controls instead of native ones
949 --enable-nanox use NanoX
950 --disable-gtk2 use GTK+ 1.2 instead of 2.0
951 --enable-gpe use GNOME PDA Environment features if possible
952 --disable-shared create static library instead of shared
953 --enable-optimise create optimised code
954 --enable-debug same as debug_flag and debug_info
955 --enable-stl use STL for containers
956 --enable-std_iostreams use standard C++ stream classes
957 --enable-std_string use standard C++ string classes
958 --disable-unicode compile without Unicode support
959 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
960 --enable-utf8 use UTF-8 representation for strings (Unix only)
961 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
962 --enable-extended_rtti use extended RTTI (XTI)
963 --enable-omf use OMF object format
964 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
965 --enable-debug_info create code with debugging information
966 --enable-debug_gdb create code with extra GDB debugging information
967 --enable-debug_cntxt use wxDebugContext
968 --enable-mem_tracing create code with memory tracing
969 --enable-profile create code with profiling information
970 --enable-no_rtti create code without RTTI information
971 --enable-no_exceptions create code without C++ exceptions handling
972 --enable-permissive compile code disregarding strict ANSI
973 --enable-no_deps create code without dependency information
974 --disable-vararg_macros don't use vararg macros
, even
if they are supported
975 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
976 --enable-compat26 enable wxWidgets
2.6 compatibility
977 --disable-compat28 disable wxWidgets
2.8 compatibility
978 --disable-rpath disable use of rpath
for uninstalled builds
979 --enable-objc_uniquifying enable Objective
-C class name uniquifying
980 --enable-intl use internationalization system
981 --enable-config use wxConfig
(and derived
) classes
982 --enable-protocols use wxProtocol and derived classes
983 --enable-ftp use wxFTP
(requires wxProtocol
984 --enable-http use wxHTTP
(requires wxProtocol
985 --enable-fileproto use wxFileProto class
(requires wxProtocol
986 --enable-sockets use socket
/network classes
987 --enable-ole use OLE classes
(Win32 only
)
988 --enable-dataobj use data object classes
989 --enable-ipc use interprocess communication
(wxSocket etc.
)
990 --enable-apple_ieee use the Apple IEEE codec
991 --enable-arcstream use wxArchive streams
992 --enable-base64 use base64 encoding
/decoding functions
993 --enable-backtrace use wxStackWalker class
for getting backtraces
994 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
995 --enable-cmdline use wxCmdLineParser class
996 --enable-datetime use wxDateTime class
997 --enable-debugreport use wxDebugReport class
998 --enable-dialupman use dialup network classes
999 --enable-dynlib use wxLibrary class
for DLL loading
1000 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1001 --enable-exceptions build exception
-safe library
1002 --enable-ffile use wxFFile class
1003 --enable-file use wxFile class
1004 --enable-filesystem use virtual
file systems classes
1005 --enable-fontmap use font encodings conversion classes
1006 --enable-fs_archive use virtual archive filesystems
1007 --enable-fs_inet use virtual HTTP
/FTP filesystems
1008 --enable-fs_zip now replaced by fs_archive
1009 --enable-geometry use geometry class
1010 --enable-log use logging system
1011 --enable-longlong use wxLongLong class
1012 --enable-mimetype use wxMimeTypesManager
1013 --enable-snglinst use wxSingleInstanceChecker class
1014 --enable-stdpaths use wxStandardPaths class
1015 --enable-stopwatch use wxStopWatch class
1016 --enable-streams use wxStream etc classes
1017 --enable-sysoptions use wxSystemOptions
1018 --enable-tarstream use wxTar streams
1019 --enable-textbuf use wxTextBuffer class
1020 --enable-textfile use wxTextFile class
1021 --enable-timer use wxTimer class
1022 --enable-sound use wxSound class
1023 --enable-mediactrl use wxMediaCtrl class
1024 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1025 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1026 --enable-zipstream use wxZip streams
1027 --enable-url use wxURL class
1028 --enable-variant use wxVariant class
1029 --enable-protocol use wxProtocol class
1030 --enable-protocol-http HTTP support
in wxProtocol
1031 --enable-protocol-ftp FTP support
in wxProtocol
1032 --enable-protocol-file FILE support
in wxProtocol
1033 --enable-threads use threads
1034 --enable-docview use document view architecture
1035 --enable-help use
help subsystem
1036 --enable-mshtmlhelp use MS HTML Help
(win32
)
1037 --enable-html use wxHTML sub
-library
1038 --enable-htmlhelp use wxHTML
-based help
1039 --enable-xrc use XRC resources sub
-library
1040 --enable-aui use AUI docking library
1041 --enable-stc use wxStyledTextCtrl library
1042 --enable-constraints use layout
-constraints system
1043 --enable-printarch use printing architecture
1044 --enable-mdi use multiple document interface architecture
1045 --enable-mdidoc use docview architecture with MDI
1046 --enable-loggui use standard GUI logger
1047 --enable-logwin use wxLogWindow
1048 --enable-logdialog use wxLogDialog
1049 --enable-webkit use wxWebKitCtrl
(Mac
)
1050 --enable-richtext use wxRichTextCtrl
1051 --enable-graphics_ctx use graphics context
2D drawing API
1052 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1053 --enable-svg use wxSVGFileDC device context
1054 --enable-clipboard use wxClipboard class
1055 --enable-dnd use Drag
'n'Drop classes
1056 --enable-metafile use win32 metafiles
1057 --enable-controls use all usual controls
1058 --enable-accel use accelerators
1059 --enable-animatectrl use wxAnimationCtrl class
1060 --enable-button use wxButton class
1061 --enable-bmpbutton use wxBitmapButton class
1062 --enable-bmpcombobox use wxBitmapComboBox class
1063 --enable-calendar use wxCalendarCtrl class
1064 --enable-caret use wxCaret class
1065 --enable-checkbox use wxCheckBox class
1066 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1067 --enable-choice use wxChoice class
1068 --enable-choicebook use wxChoicebook class
1069 --enable-collpane use wxCollapsiblePane class
1070 --enable-colourpicker use wxColourPickerCtrl class
1071 --enable-combobox use wxComboBox class
1072 --enable-comboctrl use wxComboCtrl class
1073 --enable-datepick use wxDatePickerCtrl class
1074 --enable-dirpicker use wxDirPickerCtrl class
1075 --enable-display use wxDisplay class
1076 --enable-detect_sm use code to detect X11 session manager
1077 --enable-editablebox use wxEditableListBox class
1078 --enable-filepicker use wxFilePickerCtrl class
1079 --enable-fontpicker use wxFontPickerCtrl class
1080 --enable-gauge use wxGauge class
1081 --enable-grid use wxGrid class
1082 --enable-dataviewctrl use wxDataViewCtrl class
1083 --enable-hyperlink use wxHyperlinkCtrl class
1084 --enable-imaglist use wxImageList class
1085 --enable-listbook use wxListbook class
1086 --enable-listbox use wxListBox class
1087 --enable-listctrl use wxListCtrl class
1088 --enable-notebook use wxNotebook class
1089 --enable-odcombobox use wxOwnerDrawnComboBox class
1090 --enable-radiobox use wxRadioBox class
1091 --enable-radiobtn use wxRadioButton class
1092 --enable-sash use wxSashWindow class
1093 --enable-scrollbar use wxScrollBar class and scrollable windows
1094 --enable-searchctrl use wxSearchCtrl class
1095 --enable-slider use wxSlider class
1096 --enable-spinbtn use wxSpinButton class
1097 --enable-spinctrl use wxSpinCtrl class
1098 --enable-splitter use wxSplitterWindow class
1099 --enable-statbmp use wxStaticBitmap class
1100 --enable-statbox use wxStaticBox class
1101 --enable-statline use wxStaticLine class
1102 --enable-stattext use wxStaticText class
1103 --enable-statusbar use wxStatusBar class
1104 --enable-tabdialog use wxTabControl class
1105 --enable-textctrl use wxTextCtrl class
1106 --enable-togglebtn use wxToggleButton class
1107 --enable-toolbar use wxToolBar class
1108 --enable-tbarnative use native wxToolBar class
1109 --enable-treebook use wxTreebook class
1110 --enable-toolbook use wxToolbook class
1111 --enable-treectrl use wxTreeCtrl class
1112 --enable-tipwindow use wxTipWindow class
1113 --enable-popupwin use wxPopUpWindow class
1114 --enable-commondlg use all common dialogs
1115 --enable-aboutdlg use wxAboutBox
1116 --enable-choicedlg use wxChoiceDialog
1117 --enable-coldlg use wxColourDialog
1118 --enable-filedlg use wxFileDialog
1119 --enable-finddlg use wxFindReplaceDialog
1120 --enable-fontdlg use wxFontDialog
1121 --enable-dirdlg use wxDirDialog
1122 --enable-msgdlg use wxMessageDialog
1123 --enable-numberdlg use wxNumberEntryDialog
1124 --enable-splash use wxSplashScreen
1125 --enable-textdlg use wxTextDialog
1126 --enable-tipdlg use startup tips
1127 --enable-progressdlg use wxProgressDialog
1128 --enable-wizarddlg use wxWizard
1129 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1130 --enable-miniframe use wxMiniFrame class
1131 --enable-tooltips use wxToolTip class
1132 --enable-splines use spline drawing code
1133 --enable-mousewheel use mousewheel
1134 --enable-validators use wxValidator and derived classes
1135 --enable-busyinfo use wxBusyInfo
1136 --enable-joystick use wxJoystick
1137 --enable-metafiles use wxMetaFile
(Win32 only
)
1138 --enable-dragimage use wxDragImage
1139 --enable-accessibility enable accessibility support
1140 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1141 --enable-palette use wxPalette class
1142 --enable-image use wxImage class
1143 --enable-gif use gif images
(GIF
file format
)
1144 --enable-pcx use pcx images
(PCX
file format
)
1145 --enable-tga use tga images
(TGA
file format
)
1146 --enable-iff use iff images
(IFF
file format
)
1147 --enable-pnm use pnm images
(PNM
file format
)
1148 --enable-xpm use xpm images
(XPM
file format
)
1149 --enable-icocur use Windows ICO and CUR formats
1150 --disable-largefile omit support
for large files
1151 --disable-gtktest do not try to compile and run a
test GTK
+ program
1152 --disable-gtktest Do not try to compile and run a
test GTK program
1153 --disable-sdltest Do not try to compile and run a
test SDL program
1154 --enable-omf use OMF object format
(OS
/2)
1155 --disable-dependency-tracking
1156 don
't use dependency tracking even if the compiler
1158 --disable-precomp-headers
1159 don't use precompiled headers even
if compiler can
1162 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1163 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1164 --without-subdirs don
't generate makefiles for samples/demos/...
1165 --with-flavour=NAME specify a name to identify this build
1166 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1167 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1168 --with-motif use Motif/Lesstif
1169 --with-mac use Mac OS X
1170 --with-cocoa use Cocoa
1171 --with-wine use Wine
1172 --with-msw use MS-Windows
1173 --with-pm use OS/2 Presentation Manager
1174 --with-mgl use SciTech MGL
1175 --with-directfb use DirectFB
1176 --with-microwin use MicroWindows
1178 --with-libpng use libpng (PNG image format)
1179 --with-libjpeg use libjpeg (JPEG file format)
1180 --with-libtiff use libtiff (TIFF file format)
1181 --with-libxpm use libxpm (XPM file format)
1182 --with-libmspack use libmspack (CHM help files loading)
1183 --with-sdl use SDL for audio on Unix
1184 --without-gnomeprint don't use GNOME printing libraries
1185 --with-gnomevfs use GNOME VFS
for associating MIME types
1186 --with-hildon use Hildon framework
for Nokia
770
1187 --with-opengl use OpenGL
(or Mesa
)
1188 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1189 --with-regex enable support
for wxRegEx class
1190 --with-zlib use zlib
for LZW compression
1191 --with-odbc use the IODBC and wxODBC classes
1192 --with-expat enable XML support using expat parser
1193 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1194 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1195 --with-x use the X Window System
1196 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1197 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1198 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1199 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1200 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1202 Some influential environment variables
:
1203 CC C compiler
command
1204 CFLAGS C compiler flags
1205 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1206 nonstandard directory
<lib dir
>
1207 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1208 headers
in a nonstandard directory
<include dir
>
1210 CXX C
++ compiler
command
1211 CXXFLAGS C
++ compiler flags
1212 PKG_CONFIG path to pkg
-config utility
1214 C compiler flags
for DIRECTFB
, overriding pkg
-config
1216 linker flags
for DIRECTFB
, overriding pkg
-config
1218 C compiler flags
for PANGOX
, overriding pkg
-config
1219 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1221 C compiler flags
for PANGOFT2
, overriding pkg
-config
1223 linker flags
for PANGOFT2
, overriding pkg
-config
1225 C compiler flags
for PANGOXFT
, overriding pkg
-config
1227 linker flags
for PANGOXFT
, overriding pkg
-config
1228 LIBGNOMEPRINTUI_CFLAGS
1229 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1230 LIBGNOMEPRINTUI_LIBS
1231 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1233 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1235 linker flags
for GNOMEVFS
, overriding pkg
-config
1237 C compiler flags
for HILDON
, overriding pkg
-config
1238 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1240 C compiler flags
for CAIRO
, overriding pkg
-config
1241 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1242 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1243 GST_LIBS linker flags
for GST
, overriding pkg
-config
1245 Use these variables to override the choices made by
`configure' or to help
1246 it to find libraries and programs with nonstandard names/locations.
1248 Report bugs to <wx-dev@lists.wxwidgets.org>.
1252 if test "$ac_init_help" = "recursive"; then
1253 # If there are subdirs, report their specific --help.
1255 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1256 test -d $ac_dir || continue
1259 if test "$ac_dir" != .; then
1260 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1261 # A "../" for each directory in $ac_dir_suffix.
1262 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1264 ac_dir_suffix= ac_top_builddir=
1268 .) # No --srcdir option. We are building in place.
1270 if test -z "$ac_top_builddir"; then
1273 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1275 [\\/]* | ?:[\\/]* ) # Absolute path.
1276 ac_srcdir=$srcdir$ac_dir_suffix;
1277 ac_top_srcdir=$srcdir ;;
1279 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1280 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1283 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1284 # the directories may not exist.
1286 .) ac_abs_builddir="$ac_dir";;
1289 .) ac_abs_builddir=`pwd`;;
1290 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1291 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1294 case $ac_abs_builddir in
1295 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1297 case ${ac_top_builddir}. in
1298 .) ac_abs_top_builddir=$ac_abs_builddir;;
1299 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1300 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1303 case $ac_abs_builddir in
1304 .) ac_abs_srcdir=$ac_srcdir;;
1307 .) ac_abs_srcdir=$ac_abs_builddir;;
1308 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1309 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1312 case $ac_abs_builddir in
1313 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1315 case $ac_top_srcdir in
1316 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1317 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1318 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1323 # Check for guested configure; otherwise get Cygnus style configure.
1324 if test -f $ac_srcdir/configure.gnu; then
1326 $SHELL $ac_srcdir/configure.gnu --help=recursive
1327 elif test -f $ac_srcdir/configure; then
1329 $SHELL $ac_srcdir/configure --help=recursive
1330 elif test -f $ac_srcdir/configure.ac ||
1331 test -f $ac_srcdir/configure.in; then
1333 $ac_configure --help
1335 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1341 test -n "$ac_init_help" && exit 0
1342 if $ac_init_version; then
1344 wxWidgets configure 2.9.0
1345 generated by GNU Autoconf 2.59
1347 Copyright (C) 2003 Free Software Foundation, Inc.
1348 This configure script is free software; the Free Software Foundation
1349 gives unlimited permission to copy, distribute and modify it.
1355 This file contains any messages produced by compilers while
1356 running configure, to aid debugging if configure makes a mistake.
1358 It was created by wxWidgets $as_me 2.9.0, which was
1359 generated by GNU Autoconf 2.59. Invocation command line was
1370 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1371 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1372 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1373 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1374 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1376 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1377 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1379 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1380 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1381 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1382 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1383 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1384 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1385 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1393 test -z "$as_dir" && as_dir=.
1394 echo "PATH: $as_dir"
1409 # Keep a trace of the command line.
1410 # Strip out --no-create and --no-recursion so they do not pile up.
1411 # Strip out --silent because we don't want to record it for future runs.
1412 # Also quote any args containing shell meta-characters.
1413 # Make two passes to allow for proper duplicate-argument suppression.
1418 ac_must_keep_next=false
1424 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1425 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1426 | -silent | --silent | --silen | --sile | --sil)
1428 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1429 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1432 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1434 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1435 if test $ac_must_keep_next = true; then
1436 ac_must_keep_next=false # Got value, back to normal.
1439 *=* | --config-cache | -C | -disable-* | --disable-* \
1440 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1441 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1442 | -with-* | --with-* | -without-* | --without-* | --x)
1443 case "$ac_configure_args0 " in
1444 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1447 -* ) ac_must_keep_next=true ;;
1450 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1451 # Get rid of the leading space.
1457 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1458 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1460 # When interrupted or exit'd, cleanup temporary files, and complete
1461 # config.log. We remove comments because anyway the quotes in there
1462 # would cause problems or look ugly.
1463 # WARNING: Be sure not to use single quotes in there, as some shells,
1464 # such as our DU 5.0 friend, will then `close
' the trap.
1465 trap 'exit_status
=$?
1466 # Save into config.log some information that might help in debugging.
1471 ## ---------------- ##
1472 ## Cache variables. ##
1473 ## ---------------- ##
1476 # The following way of writing the cache mishandles newlines in values,
1479 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1482 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1483 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1487 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1494 ## ----------------- ##
1495 ## Output variables. ##
1496 ## ----------------- ##
1499 for ac_var
in $ac_subst_vars
1501 eval ac_val
=$
`echo $ac_var`
1502 echo "$ac_var='"'"'$ac_val'"'"'"
1506 if test -n "$ac_subst_files"; then
1513 for ac_var
in $ac_subst_files
1515 eval ac_val
=$
`echo $ac_var`
1516 echo "$ac_var='"'"'$ac_val'"'"'"
1521 if test -s confdefs.h
; then
1528 sed "/^$/d" confdefs.h
| sort
1531 test "$ac_signal" != 0 &&
1532 echo "$as_me: caught signal $ac_signal"
1533 echo "$as_me: exit $exit_status"
1535 rm -f core
*.core
&&
1536 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1539 for ac_signal in 1 2 13 15; do
1540 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1544 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1545 rm -rf conftest* confdefs.h
1546 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1549 # Predefined preprocessor variables.
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_NAME "$PACKAGE_NAME"
1556 cat >>confdefs.h <<_ACEOF
1557 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1561 cat >>confdefs.h <<_ACEOF
1562 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_STRING "$PACKAGE_STRING"
1571 cat >>confdefs.h <<_ACEOF
1572 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1576 # Let the site file select an alternate cache file if it wants to.
1577 # Prefer explicitly selected file to automatically selected ones.
1578 if test -z "$CONFIG_SITE"; then
1579 if test "x$prefix" != xNONE; then
1580 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1582 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1585 for ac_site_file in $CONFIG_SITE; do
1586 if test -r "$ac_site_file"; then
1587 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1588 echo "$as_me: loading site script $ac_site_file" >&6;}
1589 sed 's
/^
/| /' "$ac_site_file" >&5
1594 if test -r "$cache_file"; then
1595 # Some versions of bash will fail to source /dev/null (special
1596 # files actually), so we avoid doing that.
1597 if test -f "$cache_file"; then
1598 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1599 echo "$as_me: loading cache $cache_file" >&6;}
1601 [\\/]* | ?:[\\/]* ) . $cache_file;;
1602 *) . ./$cache_file;;
1606 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1607 echo "$as_me: creating cache $cache_file" >&6;}
1611 # Check that the precious variables saved in the cache have kept the same
1613 ac_cache_corrupted=false
1614 for ac_var in `(set) 2>&1 |
1615 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1616 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1617 eval ac_new_set=\$ac_env_${ac_var}_set
1618 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1619 eval ac_new_val="\$ac_env_${ac_var}_value"
1620 case $ac_old_set,$ac_new_set in
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1624 ac_cache_corrupted=: ;;
1626 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1627 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1628 ac_cache_corrupted=: ;;
1631 if test "x$ac_old_val" != "x$ac_new_val"; then
1632 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1633 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1634 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1635 echo "$as_me: former value: $ac_old_val" >&2;}
1636 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1637 echo "$as_me: current value: $ac_new_val" >&2;}
1638 ac_cache_corrupted=:
1641 # Pass precious variables to config.status.
1642 if test "$ac_new_set" = set; then
1644 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1645 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1646 *) ac_arg=$ac_var=$ac_new_val ;;
1648 case " $ac_configure_args " in
1649 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1650 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1654 if $ac_cache_corrupted; then
1655 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1656 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1657 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1658 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1659 { (exit 1); exit 1; }; }
1663 ac_cpp='$CPP $CPPFLAGS'
1664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1665 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1698 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1699 if test -f $ac_dir/install-sh; then
1701 ac_install_sh="$ac_aux_dir/install-sh -c"
1703 elif test -f $ac_dir/install.sh; then
1705 ac_install_sh="$ac_aux_dir/install.sh -c"
1707 elif test -f $ac_dir/shtool; then
1709 ac_install_sh="$ac_aux_dir/shtool install -c"
1713 if test -z "$ac_aux_dir"; then
1714 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1715 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1716 { (exit 1); exit 1; }; }
1718 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1719 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1720 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1722 # Make sure we can run config.sub.
1723 $ac_config_sub sun4 >/dev/null 2>&1 ||
1724 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1725 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1726 { (exit 1); exit 1; }; }
1728 echo "$as_me:$LINENO: checking build system type" >&5
1729 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1730 if test "${ac_cv_build+set}" = set; then
1731 echo $ECHO_N "(cached) $ECHO_C" >&6
1733 ac_cv_build_alias=$build_alias
1734 test -z "$ac_cv_build_alias" &&
1735 ac_cv_build_alias=`$ac_config_guess`
1736 test -z "$ac_cv_build_alias" &&
1737 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1738 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1739 { (exit 1); exit 1; }; }
1740 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1741 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1742 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1743 { (exit 1); exit 1; }; }
1746 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1747 echo "${ECHO_T}$ac_cv_build" >&6
1749 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1750 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1751 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1754 echo "$as_me:$LINENO: checking host system type" >&5
1755 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1756 if test "${ac_cv_host+set}" = set; then
1757 echo $ECHO_N "(cached) $ECHO_C" >&6
1759 ac_cv_host_alias=$host_alias
1760 test -z "$ac_cv_host_alias" &&
1761 ac_cv_host_alias=$ac_cv_build_alias
1762 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1763 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1764 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1765 { (exit 1); exit 1; }; }
1768 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1769 echo "${ECHO_T}$ac_cv_host" >&6
1771 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1772 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1773 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1776 echo "$as_me:$LINENO: checking target system type" >&5
1777 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1778 if test "${ac_cv_target+set}" = set; then
1779 echo $ECHO_N "(cached) $ECHO_C" >&6
1781 ac_cv_target_alias=$target_alias
1782 test "x$ac_cv_target_alias" = "x" &&
1783 ac_cv_target_alias=$ac_cv_host_alias
1784 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1785 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1786 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1787 { (exit 1); exit 1; }; }
1790 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1791 echo "${ECHO_T}$ac_cv_target" >&6
1792 target=$ac_cv_target
1793 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1794 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1795 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1798 # The aliases save the names the user supplied, while $host etc.
1799 # will get canonicalized.
1800 test -n "$target_alias" &&
1801 test "$program_prefix$program_suffix$program_transform_name" = \
1803 program_prefix=${target_alias}-
1807 wx_major_version_number=2
1808 wx_minor_version_number=9
1810 wx_subrelease_number=0
1812 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1813 WX_VERSION=$WX_RELEASE.$wx_release_number
1814 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1816 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1819 wx_top_builddir="`pwd`"
1832 USE_BSD= USE_DARWIN= USE_FREEBSD=
1838 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1844 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1846 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1848 DEFAULT_wxUSE_COCOA=0
1852 DEFAULT_wxUSE_MICROWIN=0
1853 DEFAULT_wxUSE_MOTIF=0
1859 DEFAULT_DEFAULT_wxUSE_COCOA=0
1860 DEFAULT_DEFAULT_wxUSE_GTK=0
1861 DEFAULT_DEFAULT_wxUSE_MAC=0
1862 DEFAULT_DEFAULT_wxUSE_MGL=0
1863 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1864 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1865 DEFAULT_DEFAULT_wxUSE_MSW=0
1866 DEFAULT_DEFAULT_wxUSE_PM=0
1867 DEFAULT_DEFAULT_wxUSE_X11=0
1868 DEFAULT_DEFAULT_wxUSE_DFB=0
1873 SAMPLES_RPATH_POSTLINK=
1875 DEFAULT_STD_FLAG=yes
1880 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1881 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1883 cat >>confdefs.h <<\_ACEOF
1888 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1892 cat >>confdefs.h <<\_ACEOF
1897 if test "x$TMP" = "xalpha"; then
1899 cat >>confdefs.h <<\_ACEOF
1904 DEFAULT_DEFAULT_wxUSE_GTK=1
1906 *-*-gnu* | *-*-k*bsd*-gnu )
1909 if test "x$TMP" = "xalpha"; then
1911 cat >>confdefs.h <<\_ACEOF
1916 DEFAULT_DEFAULT_wxUSE_GTK=1
1918 *-*-irix5* | *-*-irix6* )
1921 cat >>confdefs.h <<\_ACEOF
1925 cat >>confdefs.h <<\_ACEOF
1929 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1935 cat >>confdefs.h <<\_ACEOF
1939 cat >>confdefs.h <<\_ACEOF
1940 #define __SOLARIS__ 1
1943 cat >>confdefs.h <<\_ACEOF
1947 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1948 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1954 cat >>confdefs.h <<\_ACEOF
1958 cat >>confdefs.h <<\_ACEOF
1962 cat >>confdefs.h <<\_ACEOF
1966 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1971 cat >>confdefs.h <<\_ACEOF
1972 #define __FREEBSD__ 1
1975 cat >>confdefs.h <<\_ACEOF
1979 DEFAULT_DEFAULT_wxUSE_GTK=1
1981 *-*-openbsd*|*-*-mirbsd*)
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __OPENBSD__ 1
1988 cat >>confdefs.h <<\_ACEOF
1992 DEFAULT_DEFAULT_wxUSE_GTK=1
1997 cat >>confdefs.h <<\_ACEOF
1998 #define __NETBSD__ 1
2001 cat >>confdefs.h <<\_ACEOF
2005 DEFAULT_DEFAULT_wxUSE_GTK=1
2006 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2008 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2013 cat >>confdefs.h <<\_ACEOF
2017 cat >>confdefs.h <<\_ACEOF
2021 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2022 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2027 cat >>confdefs.h <<\_ACEOF
2031 cat >>confdefs.h <<\_ACEOF
2035 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2040 cat >>confdefs.h <<\_ACEOF
2044 cat >>confdefs.h <<\_ACEOF
2048 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2055 cat >>confdefs.h <<\_ACEOF
2059 cat >>confdefs.h <<\_ACEOF
2063 cat >>confdefs.h <<\_ACEOF
2067 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2074 cat >>confdefs.h <<\_ACEOF
2075 #define __UNIXWARE__ 1
2080 *-*-cygwin* | *-*-mingw32* )
2083 DEFAULT_DEFAULT_wxUSE_MSW=1
2089 cat >>confdefs.h <<\_ACEOF
2094 DEFAULT_DEFAULT_wxUSE_MGL=1
2097 *-pc-os2_emx | *-pc-os2-emx )
2098 cat >>confdefs.h <<\_ACEOF
2103 cat >>confdefs.h <<\_ACEOF
2108 DEFAULT_DEFAULT_wxUSE_PM=1
2110 LDFLAGS="$LDFLAGS -Zcrtdll"
2111 ac_executable_extensions=".exe"
2112 export ac_executable_extensions
2116 for ac_dir in $PATH; do
2118 if test -z "$ac_TEMP_PATH"; then
2119 ac_TEMP_PATH="$ac_dir"
2121 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2124 export PATH="$ac_TEMP_PATH"
2133 cat >>confdefs.h <<\_ACEOF
2137 cat >>confdefs.h <<\_ACEOF
2138 #define __DARWIN__ 1
2141 cat >>confdefs.h <<\_ACEOF
2142 #define TARGET_CARBON 1
2145 DEFAULT_DEFAULT_wxUSE_MAC=1
2148 powerpc-apple-macos* )
2150 ac_cv_c_bigendian=yes
2152 DEFAULT_DEFAULT_wxUSE_MAC=1
2158 cat >>confdefs.h <<\_ACEOF
2165 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2166 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2167 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2168 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2170 DEFAULT_DEFAULT_wxUSE_X11=1
2171 DEFAULT_wxUSE_SHARED=no
2177 wx_arg_cache_file="configarg.cache"
2178 echo "loading argument cache $wx_arg_cache_file"
2179 rm -f ${wx_arg_cache_file}.tmp
2180 touch ${wx_arg_cache_file}.tmp
2181 touch ${wx_arg_cache_file}
2184 DEFAULT_wxUSE_ALL_FEATURES=yes
2186 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2187 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2189 DEFAULT_wxUSE_DMALLOC=no
2190 DEFAULT_wxUSE_LIBGNOMEVFS=no
2191 DEFAULT_wxUSE_LIBHILDON=no
2192 DEFAULT_wxUSE_LIBMSPACK=no
2193 DEFAULT_wxUSE_LIBSDL=no
2194 DEFAULT_wxUSE_ODBC=no
2195 DEFAULT_wxUSE_OPENGL=no
2197 DEFAULT_wxUSE_ACCESSIBILITY=no
2198 DEFAULT_wxUSE_DATAVIEWCTRL=no
2199 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2200 DEFAULT_wxUSE_MEDIACTRL=no
2201 DEFAULT_wxUSE_TAB_DIALOG=no
2203 DEFAULT_wxUSE_UNICODE_UTF8=auto
2204 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2206 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2208 DEFAULT_wxUSE_GTK2=yes
2210 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2213 for toolkit in `echo $ALL_TOOLKITS`; do
2214 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2215 if test "x$LINE" != "x" ; then
2216 has_toolkit_in_cache=1
2217 eval "DEFAULT_$LINE"
2218 eval "CACHE_$toolkit=1"
2220 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2221 if test "x$LINE" != "x" ; then
2222 eval "DEFAULT_$LINE"
2231 enablestring=disable
2233 if test -z "$defaultval"; then
2234 if test x"$enablestring" = xdisable; then
2241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2242 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2244 # Check whether --enable-gui or --disable-gui was given.
2245 if test "${enable_gui+set}" = set; then
2246 enableval="$enable_gui"
2248 if test "$enableval" = yes; then
2249 ac_cv_use_gui='wxUSE_GUI
=yes'
2251 ac_cv_use_gui='wxUSE_GUI
=no
'
2256 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2257 if test "x$LINE" != x ; then
2258 eval "DEFAULT_$LINE"
2263 ac_cv_use_gui='wxUSE_GUI
=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2267 eval "$ac_cv_use_gui"
2268 if test "$no_cache" != 1; then
2269 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2272 if test x"$enablestring" = xdisable; then
2273 if test $wxUSE_GUI = yes; then
2282 echo "$as_me:$LINENO: result
: $result" >&5
2283 echo "${ECHO_T}$result" >&6
2288 if test -z "$defaultval"; then
2289 if test x"$enablestring" = xdisable; then
2296 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-monolithic" >&5
2297 echo $ECHO_N "checking
for --${enablestring:-enable}-monolithic...
$ECHO_C" >&6
2299 # Check whether --enable-monolithic or --disable-monolithic was given.
2300 if test "${enable_monolithic+set}" = set; then
2301 enableval="$enable_monolithic"
2303 if test "$enableval" = yes; then
2304 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2306 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2311 LINE=`grep "^wxUSE_MONOLITHIC
=" ${wx_arg_cache_file}`
2312 if test "x
$LINE" != x ; then
2313 eval "DEFAULT_
$LINE"
2318 ac_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
2322 eval "$ac_cv_use_monolithic"
2323 if test "$no_cache" != 1; then
2324 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2327 if test x
"$enablestring" = xdisable
; then
2328 if test $wxUSE_MONOLITHIC = yes; then
2334 result
=$wxUSE_MONOLITHIC
2337 echo "$as_me:$LINENO: result: $result" >&5
2338 echo "${ECHO_T}$result" >&6
2343 if test -z "$defaultval"; then
2344 if test x
"$enablestring" = xdisable
; then
2351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2352 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2354 # Check whether --enable-plugins or --disable-plugins was given.
2355 if test "${enable_plugins+set}" = set; then
2356 enableval
="$enable_plugins"
2358 if test "$enableval" = yes; then
2359 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2361 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2366 LINE
=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
2367 if test "x$LINE" != x
; then
2368 eval "DEFAULT_$LINE"
2373 ac_cv_use_plugins
='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
2377 eval "$ac_cv_use_plugins"
2378 if test "$no_cache" != 1; then
2379 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2382 if test x"$enablestring" = xdisable; then
2383 if test $wxUSE_PLUGINS = yes; then
2389 result=$wxUSE_PLUGINS
2392 echo "$as_me:$LINENO: result: $result" >&5
2393 echo "${ECHO_T}$result" >&6
2397 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2398 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2401 # Check whether --with-subdirs or --without-subdirs was given.
2402 if test "${with_subdirs+set}" = set; then
2403 withval="$with_subdirs"
2405 if test "$withval" = yes; then
2406 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2408 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2413 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
2414 if test "x$LINE" != x ; then
2415 eval "DEFAULT_$LINE"
2420 ac_cv_use_subdirs='wxWITH_SUBDIRS
=${'DEFAULT_wxWITH_SUBDIRS":-$wxUSE_ALL_FEATURES}"
2424 eval "$ac_cv_use_subdirs"
2425 if test "$no_cache" != 1; then
2426 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2429 if test x"$withstring" = xwithout; then
2430 if test $wxWITH_SUBDIRS = yes; then
2436 result=$wxWITH_SUBDIRS
2439 echo "$as_me:$LINENO: result
: $result" >&5
2440 echo "${ECHO_T}$result" >&6
2443 # Check whether --with-flavour or --without-flavour was given.
2444 if test "${with_flavour+set}" = set; then
2445 withval="$with_flavour"
2446 WX_FLAVOUR="$withval"
2451 if test -z "$defaultval"; then
2452 if test x"$enablestring" = xdisable; then
2459 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-official_build" >&5
2460 echo $ECHO_N "checking
for --${enablestring:-enable}-official_build...
$ECHO_C" >&6
2462 # Check whether --enable-official_build or --disable-official_build was given.
2463 if test "${enable_official_build+set}" = set; then
2464 enableval="$enable_official_build"
2466 if test "$enableval" = yes; then
2467 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
2469 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
2474 LINE=`grep "^wxUSE_OFFICIAL_BUILD
=" ${wx_arg_cache_file}`
2475 if test "x
$LINE" != x ; then
2476 eval "DEFAULT_
$LINE"
2481 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
2485 eval "$ac_cv_use_official_build"
2486 if test "$no_cache" != 1; then
2487 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
2490 if test x
"$enablestring" = xdisable
; then
2491 if test $wxUSE_OFFICIAL_BUILD = yes; then
2497 result
=$wxUSE_OFFICIAL_BUILD
2500 echo "$as_me:$LINENO: result: $result" >&5
2501 echo "${ECHO_T}$result" >&6
2503 # Check whether --enable-vendor or --disable-vendor was given.
2504 if test "${enable_vendor+set}" = set; then
2505 enableval
="$enable_vendor"
2508 if test "x$VENDOR" = "x"; then
2513 enablestring
=disable
2515 if test -z "$defaultval"; then
2516 if test x
"$enablestring" = xdisable
; then
2523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all_features" >&5
2524 echo $ECHO_N "checking for --${enablestring:-enable}-all_features... $ECHO_C" >&6
2526 # Check whether --enable-all_features or --disable-all_features was given.
2527 if test "${enable_all_features+set}" = set; then
2528 enableval
="$enable_all_features"
2530 if test "$enableval" = yes; then
2531 ac_cv_use_all_features
='wxUSE_ALL_FEATURES=yes'
2533 ac_cv_use_all_features
='wxUSE_ALL_FEATURES=no'
2538 LINE
=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
2539 if test "x$LINE" != x
; then
2540 eval "DEFAULT_$LINE"
2545 ac_cv_use_all_features
='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
2549 eval "$ac_cv_use_all_features"
2550 if test "$no_cache" != 1; then
2551 echo $ac_cv_use_all_features >> ${wx_arg_cache_file}.tmp
2554 if test x"$enablestring" = xdisable; then
2555 if test $wxUSE_ALL_FEATURES = yes; then
2561 result=$wxUSE_ALL_FEATURES
2564 echo "$as_me:$LINENO: result: $result" >&5
2565 echo "${ECHO_T}$result" >&6
2569 if test "$wxUSE_GUI" = "yes"; then
2574 if test -z "$defaultval"; then
2575 if test x"$enablestring" = xdisable; then
2582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2583 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2585 # Check whether --enable-universal or --disable-universal was given.
2586 if test "${enable_universal+set}" = set; then
2587 enableval="$enable_universal"
2589 if test "$enableval" = yes; then
2590 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2592 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2597 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
2598 if test "x$LINE" != x ; then
2599 eval "DEFAULT_$LINE"
2604 ac_cv_use_universal='wxUSE_UNIVERSAL
=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
2608 eval "$ac_cv_use_universal"
2609 if test "$no_cache" != 1; then
2610 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2613 if test x"$enablestring" = xdisable; then
2614 if test $wxUSE_UNIVERSAL = yes; then
2620 result=$wxUSE_UNIVERSAL
2623 echo "$as_me:$LINENO: result
: $result" >&5
2624 echo "${ECHO_T}$result" >&6
2626 if test "$wxUSE_UNIVERSAL" = "yes"; then
2628 # Check whether --with-themes or --without-themes was given.
2629 if test "${with_themes+set}" = set; then
2630 withval="$with_themes"
2631 wxUNIV_THEMES="$withval"
2636 # Check whether --with-gtk or --without-gtk was given.
2637 if test "${with_gtk+set}" = set; then
2639 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2642 # Check whether --with-motif or --without-motif was given.
2643 if test "${with_motif+set}" = set; then
2644 withval="$with_motif"
2645 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2648 # Check whether --with-mac or --without-mac was given.
2649 if test "${with_mac+set}" = set; then
2651 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2654 # Check whether --with-cocoa or --without-cocoa was given.
2655 if test "${with_cocoa+set}" = set; then
2656 withval="$with_cocoa"
2657 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2660 # Check whether --with-wine or --without-wine was given.
2661 if test "${with_wine+set}" = set; then
2662 withval="$with_wine"
2663 wxUSE_WINE="$withval" CACHE_WINE=1
2666 # Check whether --with-msw or --without-msw was given.
2667 if test "${with_msw+set}" = set; then
2669 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2672 # Check whether --with-pm or --without-pm was given.
2673 if test "${with_pm+set}" = set; then
2675 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2678 # Check whether --with-mgl or --without-mgl was given.
2679 if test "${with_mgl+set}" = set; then
2681 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2684 # Check whether --with-directfb or --without-directfb was given.
2685 if test "${with_directfb+set}" = set; then
2686 withval="$with_directfb"
2687 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2690 # Check whether --with-microwin or --without-microwin was given.
2691 if test "${with_microwin+set}" = set; then
2692 withval="$with_microwin"
2693 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2696 # Check whether --with-x11 or --without-x11 was given.
2697 if test "${with_x11+set}" = set; then
2699 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2704 if test -z "$defaultval"; then
2705 if test x"$enablestring" = xdisable; then
2712 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-nanox" >&5
2713 echo $ECHO_N "checking
for --${enablestring:-enable}-nanox...
$ECHO_C" >&6
2715 # Check whether --enable-nanox or --disable-nanox was given.
2716 if test "${enable_nanox+set}" = set; then
2717 enableval="$enable_nanox"
2719 if test "$enableval" = yes; then
2720 ac_cv_use_nanox='wxUSE_NANOX=yes'
2722 ac_cv_use_nanox='wxUSE_NANOX=no'
2727 LINE=`grep "^wxUSE_NANOX
=" ${wx_arg_cache_file}`
2728 if test "x
$LINE" != x ; then
2729 eval "DEFAULT_
$LINE"
2734 ac_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
2738 eval "$ac_cv_use_nanox"
2739 if test "$no_cache" != 1; then
2740 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2743 if test x
"$enablestring" = xdisable
; then
2744 if test $wxUSE_NANOX = yes; then
2753 echo "$as_me:$LINENO: result: $result" >&5
2754 echo "${ECHO_T}$result" >&6
2757 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2758 if test "${enable_gtk2+set}" = set; then
2759 enableval
="$enable_gtk2"
2760 wxUSE_GTK2
="$enableval"
2765 if test -z "$defaultval"; then
2766 if test x
"$enablestring" = xdisable
; then
2773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2774 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2776 # Check whether --enable-gpe or --disable-gpe was given.
2777 if test "${enable_gpe+set}" = set; then
2778 enableval
="$enable_gpe"
2780 if test "$enableval" = yes; then
2781 ac_cv_use_gpe
='wxUSE_GPE=yes'
2783 ac_cv_use_gpe
='wxUSE_GPE=no'
2788 LINE
=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x
; then
2790 eval "DEFAULT_$LINE"
2795 ac_cv_use_gpe
='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
2799 eval "$ac_cv_use_gpe"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2804 if test x"$enablestring" = xdisable; then
2805 if test $wxUSE_GPE = yes; then
2814 echo "$as_me:$LINENO: result: $result" >&5
2815 echo "${ECHO_T}$result" >&6
2820 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2821 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2824 # Check whether --with-libpng or --without-libpng was given.
2825 if test "${with_libpng+set}" = set; then
2826 withval="$with_libpng"
2828 if test "$withval" = yes; then
2829 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2830 elif test "$withval" = no; then
2831 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2832 elif test "$withval" = sys; then
2833 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2834 elif test "$withval" = builtin; then
2835 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2837 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2838 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2839 { (exit 1); exit 1; }; }
2844 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
2845 if test "x$LINE" != x ; then
2846 eval "DEFAULT_$LINE"
2851 ac_cv_use_libpng='wxUSE_LIBPNG
=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
2855 eval "$ac_cv_use_libpng"
2856 if test "$no_cache" != 1; then
2857 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2860 if test "$wxUSE_LIBPNG" = yes; then
2861 echo "$as_me:$LINENO: result
: yes" >&5
2862 echo "${ECHO_T}yes" >&6
2863 elif test "$wxUSE_LIBPNG" = no; then
2864 echo "$as_me:$LINENO: result
: no
" >&5
2865 echo "${ECHO_T}no
" >&6
2866 elif test "$wxUSE_LIBPNG" = sys; then
2867 echo "$as_me:$LINENO: result
: system version
" >&5
2868 echo "${ECHO_T}system version
" >&6
2869 elif test "$wxUSE_LIBPNG" = builtin; then
2870 echo "$as_me:$LINENO: result
: builtin version
" >&5
2871 echo "${ECHO_T}builtin version
" >&6
2873 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libpng: should be
yes, no
, sys
, or
builtin" >&5
2874 echo "$as_me: error
: Invalid value
for --with-libpng: should be
yes, no
, sys
, or
builtin" >&2;}
2875 { (exit 1); exit 1; }; }
2879 echo "$as_me:$LINENO: checking
for --with-libjpeg" >&5
2880 echo $ECHO_N "checking
for --with-libjpeg...
$ECHO_C" >&6
2883 # Check whether --with-libjpeg or --without-libjpeg was given.
2884 if test "${with_libjpeg+set}" = set; then
2885 withval="$with_libjpeg"
2887 if test "$withval" = yes; then
2888 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2889 elif test "$withval" = no; then
2890 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2891 elif test "$withval" = sys; then
2892 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2893 elif test "$withval" = builtin; then
2894 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2896 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
2897 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
2898 { (exit 1); exit 1; }; }
2903 LINE=`grep "^wxUSE_LIBJPEG
=" ${wx_arg_cache_file}`
2904 if test "x
$LINE" != x ; then
2905 eval "DEFAULT_
$LINE"
2910 ac_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
2914 eval "$ac_cv_use_libjpeg"
2915 if test "$no_cache" != 1; then
2916 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2919 if test "$wxUSE_LIBJPEG" = yes; then
2920 echo "$as_me:$LINENO: result: yes" >&5
2921 echo "${ECHO_T}yes" >&6
2922 elif test "$wxUSE_LIBJPEG" = no
; then
2923 echo "$as_me:$LINENO: result: no" >&5
2924 echo "${ECHO_T}no" >&6
2925 elif test "$wxUSE_LIBJPEG" = sys
; then
2926 echo "$as_me:$LINENO: result: system version" >&5
2927 echo "${ECHO_T}system version" >&6
2928 elif test "$wxUSE_LIBJPEG" = builtin; then
2929 echo "$as_me:$LINENO: result: builtin version" >&5
2930 echo "${ECHO_T}builtin version" >&6
2932 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2933 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2934 { (exit 1); exit 1; }; }
2938 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2939 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2942 # Check whether --with-libtiff or --without-libtiff was given.
2943 if test "${with_libtiff+set}" = set; then
2944 withval
="$with_libtiff"
2946 if test "$withval" = yes; then
2947 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2948 elif test "$withval" = no
; then
2949 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2950 elif test "$withval" = sys
; then
2951 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2952 elif test "$withval" = builtin; then
2953 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2955 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2956 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2957 { (exit 1); exit 1; }; }
2962 LINE
=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
2963 if test "x$LINE" != x
; then
2964 eval "DEFAULT_$LINE"
2969 ac_cv_use_libtiff
='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
2973 eval "$ac_cv_use_libtiff"
2974 if test "$no_cache" != 1; then
2975 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2978 if test "$wxUSE_LIBTIFF" = yes; then
2979 echo "$as_me:$LINENO: result: yes" >&5
2980 echo "${ECHO_T}yes" >&6
2981 elif test "$wxUSE_LIBTIFF" = no; then
2982 echo "$as_me:$LINENO: result: no" >&5
2983 echo "${ECHO_T}no" >&6
2984 elif test "$wxUSE_LIBTIFF" = sys; then
2985 echo "$as_me:$LINENO: result: system version" >&5
2986 echo "${ECHO_T}system version" >&6
2987 elif test "$wxUSE_LIBTIFF" = builtin; then
2988 echo "$as_me:$LINENO: result: builtin version" >&5
2989 echo "${ECHO_T}builtin version" >&6
2991 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2992 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2993 { (exit 1); exit 1; }; }
2997 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2998 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3001 # Check whether --with-libxpm or --without-libxpm was given.
3002 if test "${with_libxpm+set}" = set; then
3003 withval="$with_libxpm"
3005 if test "$withval" = yes; then
3006 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
3007 elif test "$withval" = no; then
3008 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
3009 elif test "$withval" = sys; then
3010 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
3011 elif test "$withval" = builtin; then
3012 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
3014 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3015 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3016 { (exit 1); exit 1; }; }
3021 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3022 if test "x$LINE" != x ; then
3023 eval "DEFAULT_$LINE"
3028 ac_cv_use_libxpm='wxUSE_LIBXPM
=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3032 eval "$ac_cv_use_libxpm"
3033 if test "$no_cache" != 1; then
3034 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3037 if test "$wxUSE_LIBXPM" = yes; then
3038 echo "$as_me:$LINENO: result
: yes" >&5
3039 echo "${ECHO_T}yes" >&6
3040 elif test "$wxUSE_LIBXPM" = no; then
3041 echo "$as_me:$LINENO: result
: no
" >&5
3042 echo "${ECHO_T}no
" >&6
3043 elif test "$wxUSE_LIBXPM" = sys; then
3044 echo "$as_me:$LINENO: result
: system version
" >&5
3045 echo "${ECHO_T}system version
" >&6
3046 elif test "$wxUSE_LIBXPM" = builtin; then
3047 echo "$as_me:$LINENO: result
: builtin version
" >&5
3048 echo "${ECHO_T}builtin version
" >&6
3050 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libxpm: should be
yes, no
, sys
, or
builtin" >&5
3051 echo "$as_me: error
: Invalid value
for --with-libxpm: should be
yes, no
, sys
, or
builtin" >&2;}
3052 { (exit 1); exit 1; }; }
3057 echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3058 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6
3061 # Check whether --with-libmspack or --without-libmspack was given.
3062 if test "${with_libmspack+set}" = set; then
3063 withval="$with_libmspack"
3065 if test "$withval" = yes; then
3066 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3068 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3073 LINE=`grep "^wxUSE_LIBMSPACK
=" ${wx_arg_cache_file}`
3074 if test "x
$LINE" != x ; then
3075 eval "DEFAULT_
$LINE"
3080 ac_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$wxUSE_ALL_FEATURES}"
3084 eval "$ac_cv_use_libmspack"
3085 if test "$no_cache" != 1; then
3086 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3089 if test x
"$withstring" = xwithout
; then
3090 if test $wxUSE_LIBMSPACK = yes; then
3096 result
=$wxUSE_LIBMSPACK
3099 echo "$as_me:$LINENO: result: $result" >&5
3100 echo "${ECHO_T}$result" >&6
3104 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3105 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3108 # Check whether --with-sdl or --without-sdl was given.
3109 if test "${with_sdl+set}" = set; then
3112 if test "$withval" = yes; then
3113 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3115 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3120 LINE
=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
3121 if test "x$LINE" != x
; then
3122 eval "DEFAULT_$LINE"
3127 ac_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$wxUSE_ALL_FEATURES}"
3131 eval "$ac_cv_use_sdl"
3132 if test "$no_cache" != 1; then
3133 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3136 if test x"$withstring" = xwithout; then
3137 if test $wxUSE_LIBSDL = yes; then
3143 result=$wxUSE_LIBSDL
3146 echo "$as_me:$LINENO: result: $result" >&5
3147 echo "${ECHO_T}$result" >&6
3151 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3152 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3155 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3156 if test "${with_gnomeprint+set}" = set; then
3157 withval="$with_gnomeprint"
3159 if test "$withval" = yes; then
3160 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3162 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3167 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3168 if test "x$LINE" != x ; then
3169 eval "DEFAULT_$LINE"
3174 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$wxUSE_ALL_FEATURES}"
3178 eval "$ac_cv_use_gnomeprint"
3179 if test "$no_cache" != 1; then
3180 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3183 if test x"$withstring" = xwithout; then
3184 if test $wxUSE_LIBGNOMEPRINT = yes; then
3190 result=$wxUSE_LIBGNOMEPRINT
3193 echo "$as_me:$LINENO: result
: $result" >&5
3194 echo "${ECHO_T}$result" >&6
3198 echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3199 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6
3202 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3203 if test "${with_gnomevfs+set}" = set; then
3204 withval="$with_gnomevfs"
3206 if test "$withval" = yes; then
3207 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3209 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3214 LINE=`grep "^wxUSE_LIBGNOMEVFS
=" ${wx_arg_cache_file}`
3215 if test "x
$LINE" != x ; then
3216 eval "DEFAULT_
$LINE"
3221 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$wxUSE_ALL_FEATURES}"
3225 eval "$ac_cv_use_gnomevfs"
3226 if test "$no_cache" != 1; then
3227 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3230 if test x
"$withstring" = xwithout
; then
3231 if test $wxUSE_LIBGNOMEVFS = yes; then
3237 result
=$wxUSE_LIBGNOMEVFS
3240 echo "$as_me:$LINENO: result: $result" >&5
3241 echo "${ECHO_T}$result" >&6
3245 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3246 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3249 # Check whether --with-hildon or --without-hildon was given.
3250 if test "${with_hildon+set}" = set; then
3251 withval
="$with_hildon"
3253 if test "$withval" = yes; then
3254 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3256 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3261 LINE
=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3262 if test "x$LINE" != x
; then
3263 eval "DEFAULT_$LINE"
3268 ac_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$wxUSE_ALL_FEATURES}"
3272 eval "$ac_cv_use_hildon"
3273 if test "$no_cache" != 1; then
3274 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3277 if test x"$withstring" = xwithout; then
3278 if test $wxUSE_LIBHILDON = yes; then
3284 result=$wxUSE_LIBHILDON
3287 echo "$as_me:$LINENO: result: $result" >&5
3288 echo "${ECHO_T}$result" >&6
3292 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3293 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3296 # Check whether --with-opengl or --without-opengl was given.
3297 if test "${with_opengl+set}" = set; then
3298 withval="$with_opengl"
3300 if test "$withval" = yes; then
3301 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3303 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3308 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
3309 if test "x$LINE" != x ; then
3310 eval "DEFAULT_$LINE"
3315 ac_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$wxUSE_ALL_FEATURES}"
3319 eval "$ac_cv_use_opengl"
3320 if test "$no_cache" != 1; then
3321 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3324 if test x"$withstring" = xwithout; then
3325 if test $wxUSE_OPENGL = yes; then
3331 result=$wxUSE_OPENGL
3334 echo "$as_me:$LINENO: result
: $result" >&5
3335 echo "${ECHO_T}$result" >&6
3342 echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
3343 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6
3346 # Check whether --with-dmalloc or --without-dmalloc was given.
3347 if test "${with_dmalloc+set}" = set; then
3348 withval="$with_dmalloc"
3350 if test "$withval" = yes; then
3351 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3353 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3358 LINE=`grep "^wxUSE_DMALLOC
=" ${wx_arg_cache_file}`
3359 if test "x
$LINE" != x ; then
3360 eval "DEFAULT_
$LINE"
3365 ac_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$wxUSE_ALL_FEATURES}"
3369 eval "$ac_cv_use_dmalloc"
3370 if test "$no_cache" != 1; then
3371 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3374 if test x
"$withstring" = xwithout
; then
3375 if test $wxUSE_DMALLOC = yes; then
3381 result
=$wxUSE_DMALLOC
3384 echo "$as_me:$LINENO: result: $result" >&5
3385 echo "${ECHO_T}$result" >&6
3388 echo "$as_me:$LINENO: checking for --with-regex" >&5
3389 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3392 # Check whether --with-regex or --without-regex was given.
3393 if test "${with_regex+set}" = set; then
3394 withval
="$with_regex"
3396 if test "$withval" = yes; then
3397 ac_cv_use_regex
='wxUSE_REGEX=yes'
3398 elif test "$withval" = no
; then
3399 ac_cv_use_regex
='wxUSE_REGEX=no'
3400 elif test "$withval" = sys
; then
3401 ac_cv_use_regex
='wxUSE_REGEX=sys'
3402 elif test "$withval" = builtin; then
3403 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3405 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3406 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3407 { (exit 1); exit 1; }; }
3412 LINE
=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
3413 if test "x$LINE" != x
; then
3414 eval "DEFAULT_$LINE"
3419 ac_cv_use_regex
='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
3423 eval "$ac_cv_use_regex"
3424 if test "$no_cache" != 1; then
3425 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3428 if test "$wxUSE_REGEX" = yes; then
3429 echo "$as_me:$LINENO: result: yes" >&5
3430 echo "${ECHO_T}yes" >&6
3431 elif test "$wxUSE_REGEX" = no; then
3432 echo "$as_me:$LINENO: result: no" >&5
3433 echo "${ECHO_T}no" >&6
3434 elif test "$wxUSE_REGEX" = sys; then
3435 echo "$as_me:$LINENO: result: system version" >&5
3436 echo "${ECHO_T}system version" >&6
3437 elif test "$wxUSE_REGEX" = builtin; then
3438 echo "$as_me:$LINENO: result: builtin version" >&5
3439 echo "${ECHO_T}builtin version" >&6
3441 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3442 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3443 { (exit 1); exit 1; }; }
3447 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3448 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3451 # Check whether --with-zlib or --without-zlib was given.
3452 if test "${with_zlib+set}" = set; then
3453 withval="$with_zlib"
3455 if test "$withval" = yes; then
3456 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3457 elif test "$withval" = no; then
3458 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3459 elif test "$withval" = sys; then
3460 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3461 elif test "$withval" = builtin; then
3462 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3464 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3465 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3466 { (exit 1); exit 1; }; }
3471 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
3472 if test "x$LINE" != x ; then
3473 eval "DEFAULT_$LINE"
3478 ac_cv_use_zlib='wxUSE_ZLIB
=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
3482 eval "$ac_cv_use_zlib"
3483 if test "$no_cache" != 1; then
3484 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3487 if test "$wxUSE_ZLIB" = yes; then
3488 echo "$as_me:$LINENO: result
: yes" >&5
3489 echo "${ECHO_T}yes" >&6
3490 elif test "$wxUSE_ZLIB" = no; then
3491 echo "$as_me:$LINENO: result
: no
" >&5
3492 echo "${ECHO_T}no
" >&6
3493 elif test "$wxUSE_ZLIB" = sys; then
3494 echo "$as_me:$LINENO: result
: system version
" >&5
3495 echo "${ECHO_T}system version
" >&6
3496 elif test "$wxUSE_ZLIB" = builtin; then
3497 echo "$as_me:$LINENO: result
: builtin version
" >&5
3498 echo "${ECHO_T}builtin version
" >&6
3500 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
3501 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
3502 { (exit 1); exit 1; }; }
3506 echo "$as_me:$LINENO: checking
for --with-odbc" >&5
3507 echo $ECHO_N "checking
for --with-odbc...
$ECHO_C" >&6
3510 # Check whether --with-odbc or --without-odbc was given.
3511 if test "${with_odbc+set}" = set; then
3512 withval="$with_odbc"
3514 if test "$withval" = yes; then
3515 ac_cv_use_odbc='wxUSE_ODBC=yes'
3516 elif test "$withval" = no; then
3517 ac_cv_use_odbc='wxUSE_ODBC=no'
3518 elif test "$withval" = sys; then
3519 ac_cv_use_odbc='wxUSE_ODBC=sys'
3520 elif test "$withval" = builtin; then
3521 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3523 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-odbc: should be
yes, no
, sys
, or
builtin" >&5
3524 echo "$as_me: error
: Invalid value
for --with-odbc: should be
yes, no
, sys
, or
builtin" >&2;}
3525 { (exit 1); exit 1; }; }
3530 LINE=`grep "^wxUSE_ODBC
=" ${wx_arg_cache_file}`
3531 if test "x
$LINE" != x ; then
3532 eval "DEFAULT_
$LINE"
3537 ac_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
3541 eval "$ac_cv_use_odbc"
3542 if test "$no_cache" != 1; then
3543 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3546 if test "$wxUSE_ODBC" = yes; then
3547 echo "$as_me:$LINENO: result: yes" >&5
3548 echo "${ECHO_T}yes" >&6
3549 elif test "$wxUSE_ODBC" = no
; then
3550 echo "$as_me:$LINENO: result: no" >&5
3551 echo "${ECHO_T}no" >&6
3552 elif test "$wxUSE_ODBC" = sys
; then
3553 echo "$as_me:$LINENO: result: system version" >&5
3554 echo "${ECHO_T}system version" >&6
3555 elif test "$wxUSE_ODBC" = builtin; then
3556 echo "$as_me:$LINENO: result: builtin version" >&5
3557 echo "${ECHO_T}builtin version" >&6
3559 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3560 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3561 { (exit 1); exit 1; }; }
3565 echo "$as_me:$LINENO: checking for --with-expat" >&5
3566 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3569 # Check whether --with-expat or --without-expat was given.
3570 if test "${with_expat+set}" = set; then
3571 withval
="$with_expat"
3573 if test "$withval" = yes; then
3574 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3575 elif test "$withval" = no
; then
3576 ac_cv_use_expat
='wxUSE_EXPAT=no'
3577 elif test "$withval" = sys
; then
3578 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3579 elif test "$withval" = builtin; then
3580 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3582 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3583 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3584 { (exit 1); exit 1; }; }
3589 LINE
=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
3590 if test "x$LINE" != x
; then
3591 eval "DEFAULT_$LINE"
3596 ac_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
3600 eval "$ac_cv_use_expat"
3601 if test "$no_cache" != 1; then
3602 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3605 if test "$wxUSE_EXPAT" = yes; then
3606 echo "$as_me:$LINENO: result: yes" >&5
3607 echo "${ECHO_T}yes" >&6
3608 elif test "$wxUSE_EXPAT" = no; then
3609 echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6
3611 elif test "$wxUSE_EXPAT" = sys; then
3612 echo "$as_me:$LINENO: result: system version" >&5
3613 echo "${ECHO_T}system version" >&6
3614 elif test "$wxUSE_EXPAT" = builtin; then
3615 echo "$as_me:$LINENO: result: builtin version" >&5
3616 echo "${ECHO_T}builtin version" >&6
3618 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3619 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3620 { (exit 1); exit 1; }; }
3626 enablestring=disable
3628 if test -z "$defaultval"; then
3629 if test x"$enablestring" = xdisable; then
3636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3637 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3639 # Check whether --enable-shared or --disable-shared was given.
3640 if test "${enable_shared+set}" = set; then
3641 enableval="$enable_shared"
3643 if test "$enableval" = yes; then
3644 ac_cv_use_shared='wxUSE_SHARED
=yes'
3646 ac_cv_use_shared='wxUSE_SHARED
=no
'
3651 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
3652 if test "x$LINE" != x ; then
3653 eval "DEFAULT_$LINE"
3658 ac_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
3662 eval "$ac_cv_use_shared"
3663 if test "$no_cache" != 1; then
3664 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3667 if test x"$enablestring" = xdisable; then
3668 if test $wxUSE_SHARED = yes; then
3674 result=$wxUSE_SHARED
3677 echo "$as_me:$LINENO: result
: $result" >&5
3678 echo "${ECHO_T}$result" >&6
3683 if test -z "$defaultval"; then
3684 if test x"$enablestring" = xdisable; then
3691 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-optimise" >&5
3692 echo $ECHO_N "checking
for --${enablestring:-enable}-optimise...
$ECHO_C" >&6
3694 # Check whether --enable-optimise or --disable-optimise was given.
3695 if test "${enable_optimise+set}" = set; then
3696 enableval="$enable_optimise"
3698 if test "$enableval" = yes; then
3699 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3701 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3706 LINE=`grep "^wxUSE_OPTIMISE
=" ${wx_arg_cache_file}`
3707 if test "x
$LINE" != x ; then
3708 eval "DEFAULT_
$LINE"
3713 ac_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
3717 eval "$ac_cv_use_optimise"
3718 if test "$no_cache" != 1; then
3719 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3722 if test x
"$enablestring" = xdisable
; then
3723 if test $wxUSE_OPTIMISE = yes; then
3729 result
=$wxUSE_OPTIMISE
3732 echo "$as_me:$LINENO: result: $result" >&5
3733 echo "${ECHO_T}$result" >&6
3738 if test -z "$defaultval"; then
3739 if test x
"$enablestring" = xdisable
; then
3746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3747 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3749 # Check whether --enable-debug or --disable-debug was given.
3750 if test "${enable_debug+set}" = set; then
3751 enableval
="$enable_debug"
3753 if test "$enableval" = yes; then
3754 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3756 ac_cv_use_debug
='wxUSE_DEBUG=no'
3761 LINE
=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x
; then
3763 eval "DEFAULT_$LINE"
3768 ac_cv_use_debug
='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
3772 eval "$ac_cv_use_debug"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3777 if test x"$enablestring" = xdisable; then
3778 if test $wxUSE_DEBUG = yes; then
3787 echo "$as_me:$LINENO: result: $result" >&5
3788 echo "${ECHO_T}$result" >&6
3793 if test -z "$defaultval"; then
3794 if test x"$enablestring" = xdisable; then
3801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3802 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3804 # Check whether --enable-stl or --disable-stl was given.
3805 if test "${enable_stl+set}" = set; then
3806 enableval="$enable_stl"
3808 if test "$enableval" = yes; then
3809 ac_cv_use_stl='wxUSE_STL
=yes'
3811 ac_cv_use_stl='wxUSE_STL
=no
'
3816 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x ; then
3818 eval "DEFAULT_$LINE"
3823 ac_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
3827 eval "$ac_cv_use_stl"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3832 if test x"$enablestring" = xdisable; then
3833 if test $wxUSE_STL = yes; then
3842 echo "$as_me:$LINENO: result
: $result" >&5
3843 echo "${ECHO_T}$result" >&6
3848 if test -z "$defaultval"; then
3849 if test x"$enablestring" = xdisable; then
3856 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
3857 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6
3859 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3860 if test "${enable_std_iostreams+set}" = set; then
3861 enableval="$enable_std_iostreams"
3863 if test "$enableval" = yes; then
3864 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
3866 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
3871 LINE=`grep "^wxUSE_STD_IOSTREAM
=" ${wx_arg_cache_file}`
3872 if test "x
$LINE" != x ; then
3873 eval "DEFAULT_
$LINE"
3878 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
3882 eval "$ac_cv_use_std_iostreams"
3883 if test "$no_cache" != 1; then
3884 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3887 if test x
"$enablestring" = xdisable
; then
3888 if test $wxUSE_STD_IOSTREAM = yes; then
3894 result
=$wxUSE_STD_IOSTREAM
3897 echo "$as_me:$LINENO: result: $result" >&5
3898 echo "${ECHO_T}$result" >&6
3903 if test -z "$defaultval"; then
3904 if test x
"$enablestring" = xdisable
; then
3911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
3912 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
3914 # Check whether --enable-std_string or --disable-std_string was given.
3915 if test "${enable_std_string+set}" = set; then
3916 enableval
="$enable_std_string"
3918 if test "$enableval" = yes; then
3919 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
3921 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
3926 LINE
=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
3927 if test "x$LINE" != x
; then
3928 eval "DEFAULT_$LINE"
3933 ac_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
3937 eval "$ac_cv_use_std_string"
3938 if test "$no_cache" != 1; then
3939 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
3942 if test x"$enablestring" = xdisable; then
3943 if test $wxUSE_STD_STRING = yes; then
3949 result=$wxUSE_STD_STRING
3952 echo "$as_me:$LINENO: result: $result" >&5
3953 echo "${ECHO_T}$result" >&6
3956 enablestring=disable
3958 if test -z "$defaultval"; then
3959 if test x"$enablestring" = xdisable; then
3966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
3967 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
3969 # Check whether --enable-unicode or --disable-unicode was given.
3970 if test "${enable_unicode+set}" = set; then
3971 enableval="$enable_unicode"
3973 if test "$enableval" = yes; then
3974 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
3976 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
3981 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
3982 if test "x$LINE" != x ; then
3983 eval "DEFAULT_$LINE"
3988 ac_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
3992 eval "$ac_cv_use_unicode"
3993 if test "$no_cache" != 1; then
3994 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3997 if test x"$enablestring" = xdisable; then
3998 if test $wxUSE_UNICODE = yes; then
4004 result=$wxUSE_UNICODE
4007 echo "$as_me:$LINENO: result
: $result" >&5
4008 echo "${ECHO_T}$result" >&6
4013 if test -z "$defaultval"; then
4014 if test x"$enablestring" = xdisable; then
4021 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4022 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6
4024 # Check whether --enable-mslu or --disable-mslu was given.
4025 if test "${enable_mslu+set}" = set; then
4026 enableval="$enable_mslu"
4028 if test "$enableval" = yes; then
4029 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4031 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4036 LINE=`grep "^wxUSE_UNICODE_MSLU
=" ${wx_arg_cache_file}`
4037 if test "x
$LINE" != x ; then
4038 eval "DEFAULT_
$LINE"
4043 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4047 eval "$ac_cv_use_mslu"
4048 if test "$no_cache" != 1; then
4049 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4052 if test x
"$enablestring" = xdisable
; then
4053 if test $wxUSE_UNICODE_MSLU = yes; then
4059 result
=$wxUSE_UNICODE_MSLU
4062 echo "$as_me:$LINENO: result: $result" >&5
4063 echo "${ECHO_T}$result" >&6
4067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4068 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6
4070 # Check whether --enable-utf8 or --disable-utf8 was given.
4071 if test "${enable_utf8+set}" = set; then
4072 enableval
="$enable_utf8"
4074 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4078 LINE
=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4079 if test "x$LINE" != x
; then
4080 eval "DEFAULT_$LINE"
4085 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4089 eval "$wx_cv_use_utf8"
4090 if test "$no_cache" != 1; then
4091 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
4094 echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4095 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6
4100 if test -z "$defaultval"; then
4101 if test x
"$enablestring" = xdisable
; then
4108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4109 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6
4111 # Check whether --enable-utf8only or --disable-utf8only was given.
4112 if test "${enable_utf8only+set}" = set; then
4113 enableval
="$enable_utf8only"
4115 if test "$enableval" = yes; then
4116 ac_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4118 ac_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4123 LINE
=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x
; then
4125 eval "DEFAULT_$LINE"
4130 ac_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4134 eval "$ac_cv_use_utf8only"
4135 if test "$no_cache" != 1; then
4136 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
4139 if test x"$enablestring" = xdisable; then
4140 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4146 result=$wxUSE_UNICODE_UTF8_LOCALE
4149 echo "$as_me:$LINENO: result: $result" >&5
4150 echo "${ECHO_T}$result" >&6
4155 if test -z "$defaultval"; then
4156 if test x"$enablestring" = xdisable; then
4163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4164 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6
4166 # Check whether --enable-extended_rtti or --disable-extended_rtti was given.
4167 if test "${enable_extended_rtti+set}" = set; then
4168 enableval="$enable_extended_rtti"
4170 if test "$enableval" = yes; then
4171 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
4173 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
4178 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4179 if test "x$LINE" != x ; then
4180 eval "DEFAULT_$LINE"
4185 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4189 eval "$ac_cv_use_extended_rtti"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4194 if test x"$enablestring" = xdisable; then
4195 if test $wxUSE_EXTENDED_RTTI = yes; then
4201 result=$wxUSE_EXTENDED_RTTI
4204 echo "$as_me:$LINENO: result
: $result" >&5
4205 echo "${ECHO_T}$result" >&6
4207 if test "$USE_OS2" = "1"; then
4208 DEFAULT_wxUSE_OMF=no
4212 if test -z "$defaultval"; then
4213 if test x"$enablestring" = xdisable; then
4220 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
4221 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6
4223 # Check whether --enable-omf or --disable-omf was given.
4224 if test "${enable_omf+set}" = set; then
4225 enableval="$enable_omf"
4227 if test "$enableval" = yes; then
4228 ac_cv_use_omf='wxUSE_OMF=yes'
4230 ac_cv_use_omf='wxUSE_OMF=no'
4235 LINE=`grep "^wxUSE_OMF
=" ${wx_arg_cache_file}`
4236 if test "x
$LINE" != x ; then
4237 eval "DEFAULT_
$LINE"
4242 ac_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4246 eval "$ac_cv_use_omf"
4247 if test "$no_cache" != 1; then
4248 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4251 if test x
"$enablestring" = xdisable
; then
4252 if test $wxUSE_OMF = yes; then
4261 echo "$as_me:$LINENO: result: $result" >&5
4262 echo "${ECHO_T}$result" >&6
4266 if test "$wxUSE_DEBUG" = "yes"; then
4267 DEFAULT_wxUSE_DEBUG_FLAG
=yes
4268 DEFAULT_wxUSE_DEBUG_INFO
=yes
4270 elif test "$wxUSE_DEBUG" = "no"; then
4271 DEFAULT_wxUSE_DEBUG_FLAG
=no
4272 DEFAULT_wxUSE_DEBUG_INFO
=no
4279 if test -z "$defaultval"; then
4280 if test x
"$enablestring" = xdisable
; then
4287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4288 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4290 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4291 if test "${enable_debug_flag+set}" = set; then
4292 enableval
="$enable_debug_flag"
4294 if test "$enableval" = yes; then
4295 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
4297 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4302 LINE
=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x
; then
4304 eval "DEFAULT_$LINE"
4309 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4313 eval "$ac_cv_use_debug_flag"
4314 if test "$no_cache" != 1; then
4315 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4318 if test x"$enablestring" = xdisable; then
4319 if test $wxUSE_DEBUG_FLAG = yes; then
4325 result=$wxUSE_DEBUG_FLAG
4328 echo "$as_me:$LINENO: result: $result" >&5
4329 echo "${ECHO_T}$result" >&6
4334 if test -z "$defaultval"; then
4335 if test x"$enablestring" = xdisable; then
4342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4343 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4345 # Check whether --enable-debug_info or --disable-debug_info was given.
4346 if test "${enable_debug_info+set}" = set; then
4347 enableval="$enable_debug_info"
4349 if test "$enableval" = yes; then
4350 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
4352 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
4357 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
4358 if test "x$LINE" != x ; then
4359 eval "DEFAULT_$LINE"
4364 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4368 eval "$ac_cv_use_debug_info"
4369 if test "$no_cache" != 1; then
4370 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4373 if test x"$enablestring" = xdisable; then
4374 if test $wxUSE_DEBUG_INFO = yes; then
4380 result=$wxUSE_DEBUG_INFO
4383 echo "$as_me:$LINENO: result
: $result" >&5
4384 echo "${ECHO_T}$result" >&6
4389 if test -z "$defaultval"; then
4390 if test x"$enablestring" = xdisable; then
4397 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4398 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6
4400 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4401 if test "${enable_debug_gdb+set}" = set; then
4402 enableval="$enable_debug_gdb"
4404 if test "$enableval" = yes; then
4405 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4407 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4412 LINE=`grep "^wxUSE_DEBUG_GDB
=" ${wx_arg_cache_file}`
4413 if test "x
$LINE" != x ; then
4414 eval "DEFAULT_
$LINE"
4419 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4423 eval "$ac_cv_use_debug_gdb"
4424 if test "$no_cache" != 1; then
4425 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4428 if test x
"$enablestring" = xdisable
; then
4429 if test $wxUSE_DEBUG_GDB = yes; then
4435 result
=$wxUSE_DEBUG_GDB
4438 echo "$as_me:$LINENO: result: $result" >&5
4439 echo "${ECHO_T}$result" >&6
4444 if test -z "$defaultval"; then
4445 if test x
"$enablestring" = xdisable
; then
4452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4453 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4455 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4456 if test "${enable_debug_cntxt+set}" = set; then
4457 enableval
="$enable_debug_cntxt"
4459 if test "$enableval" = yes; then
4460 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4462 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4467 LINE
=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
4468 if test "x$LINE" != x
; then
4469 eval "DEFAULT_$LINE"
4474 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4478 eval "$ac_cv_use_debug_cntxt"
4479 if test "$no_cache" != 1; then
4480 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4483 if test x"$enablestring" = xdisable; then
4484 if test $wxUSE_DEBUG_CONTEXT = yes; then
4490 result=$wxUSE_DEBUG_CONTEXT
4493 echo "$as_me:$LINENO: result: $result" >&5
4494 echo "${ECHO_T}$result" >&6
4499 if test -z "$defaultval"; then
4500 if test x"$enablestring" = xdisable; then
4507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4508 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4510 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4511 if test "${enable_mem_tracing+set}" = set; then
4512 enableval="$enable_mem_tracing"
4514 if test "$enableval" = yes; then
4515 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
4517 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
4522 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
4523 if test "x$LINE" != x ; then
4524 eval "DEFAULT_$LINE"
4529 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4533 eval "$ac_cv_use_mem_tracing"
4534 if test "$no_cache" != 1; then
4535 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4538 if test x"$enablestring" = xdisable; then
4539 if test $wxUSE_MEM_TRACING = yes; then
4545 result=$wxUSE_MEM_TRACING
4548 echo "$as_me:$LINENO: result
: $result" >&5
4549 echo "${ECHO_T}$result" >&6
4554 if test -z "$defaultval"; then
4555 if test x"$enablestring" = xdisable; then
4562 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
4563 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6
4565 # Check whether --enable-profile or --disable-profile was given.
4566 if test "${enable_profile+set}" = set; then
4567 enableval="$enable_profile"
4569 if test "$enableval" = yes; then
4570 ac_cv_use_profile='wxUSE_PROFILE=yes'
4572 ac_cv_use_profile='wxUSE_PROFILE=no'
4577 LINE=`grep "^wxUSE_PROFILE
=" ${wx_arg_cache_file}`
4578 if test "x
$LINE" != x ; then
4579 eval "DEFAULT_
$LINE"
4584 ac_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4588 eval "$ac_cv_use_profile"
4589 if test "$no_cache" != 1; then
4590 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4593 if test x
"$enablestring" = xdisable
; then
4594 if test $wxUSE_PROFILE = yes; then
4600 result
=$wxUSE_PROFILE
4603 echo "$as_me:$LINENO: result: $result" >&5
4604 echo "${ECHO_T}$result" >&6
4609 if test -z "$defaultval"; then
4610 if test x
"$enablestring" = xdisable
; then
4617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4618 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4620 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4621 if test "${enable_no_rtti+set}" = set; then
4622 enableval
="$enable_no_rtti"
4624 if test "$enableval" = yes; then
4625 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4627 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4632 LINE
=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x
; then
4634 eval "DEFAULT_$LINE"
4639 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4643 eval "$ac_cv_use_no_rtti"
4644 if test "$no_cache" != 1; then
4645 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4648 if test x"$enablestring" = xdisable; then
4649 if test $wxUSE_NO_RTTI = yes; then
4655 result=$wxUSE_NO_RTTI
4658 echo "$as_me:$LINENO: result: $result" >&5
4659 echo "${ECHO_T}$result" >&6
4664 if test -z "$defaultval"; then
4665 if test x"$enablestring" = xdisable; then
4672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4673 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4675 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4676 if test "${enable_no_exceptions+set}" = set; then
4677 enableval="$enable_no_exceptions"
4679 if test "$enableval" = yes; then
4680 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4682 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4687 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
4688 if test "x$LINE" != x ; then
4689 eval "DEFAULT_$LINE"
4694 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
4698 eval "$ac_cv_use_no_exceptions"
4699 if test "$no_cache" != 1; then
4700 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4703 if test x"$enablestring" = xdisable; then
4704 if test $wxUSE_NO_EXCEPTIONS = yes; then
4710 result=$wxUSE_NO_EXCEPTIONS
4713 echo "$as_me:$LINENO: result
: $result" >&5
4714 echo "${ECHO_T}$result" >&6
4719 if test -z "$defaultval"; then
4720 if test x"$enablestring" = xdisable; then
4727 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
4728 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6
4730 # Check whether --enable-permissive or --disable-permissive was given.
4731 if test "${enable_permissive+set}" = set; then
4732 enableval="$enable_permissive"
4734 if test "$enableval" = yes; then
4735 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4737 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4742 LINE=`grep "^wxUSE_PERMISSIVE
=" ${wx_arg_cache_file}`
4743 if test "x
$LINE" != x ; then
4744 eval "DEFAULT_
$LINE"
4749 ac_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
4753 eval "$ac_cv_use_permissive"
4754 if test "$no_cache" != 1; then
4755 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4758 if test x
"$enablestring" = xdisable
; then
4759 if test $wxUSE_PERMISSIVE = yes; then
4765 result
=$wxUSE_PERMISSIVE
4768 echo "$as_me:$LINENO: result: $result" >&5
4769 echo "${ECHO_T}$result" >&6
4774 if test -z "$defaultval"; then
4775 if test x
"$enablestring" = xdisable
; then
4782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4783 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4785 # Check whether --enable-no_deps or --disable-no_deps was given.
4786 if test "${enable_no_deps+set}" = set; then
4787 enableval
="$enable_no_deps"
4789 if test "$enableval" = yes; then
4790 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4792 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4797 LINE
=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
4798 if test "x$LINE" != x
; then
4799 eval "DEFAULT_$LINE"
4804 ac_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
4808 eval "$ac_cv_use_no_deps"
4809 if test "$no_cache" != 1; then
4810 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4813 if test x"$enablestring" = xdisable; then
4814 if test $wxUSE_NO_DEPS = yes; then
4820 result=$wxUSE_NO_DEPS
4823 echo "$as_me:$LINENO: result: $result" >&5
4824 echo "${ECHO_T}$result" >&6
4827 enablestring=disable
4829 if test -z "$defaultval"; then
4830 if test x"$enablestring" = xdisable; then
4837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
4838 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
4840 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
4841 if test "${enable_vararg_macros+set}" = set; then
4842 enableval="$enable_vararg_macros"
4844 if test "$enableval" = yes; then
4845 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
4847 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
4852 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
4853 if test "x$LINE" != x ; then
4854 eval "DEFAULT_$LINE"
4859 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
4863 eval "$ac_cv_use_vararg_macros"
4864 if test "$no_cache" != 1; then
4865 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
4868 if test x"$enablestring" = xdisable; then
4869 if test $wxUSE_VARARG_MACROS = yes; then
4875 result=$wxUSE_VARARG_MACROS
4878 echo "$as_me:$LINENO: result
: $result" >&5
4879 echo "${ECHO_T}$result" >&6
4883 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
4884 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6
4886 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4887 if test "${enable_universal_binary+set}" = set; then
4888 enableval="$enable_universal_binary"
4890 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
4894 LINE=`grep "^wxUSE_UNIVERSAL_BINARY
=" ${wx_arg_cache_file}`
4895 if test "x
$LINE" != x ; then
4896 eval "DEFAULT_
$LINE"
4901 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4905 eval "$wx_cv_use_universal_binary"
4906 if test "$no_cache" != 1; then
4907 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4910 echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
4911 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4917 if test -z "$defaultval"; then
4918 if test x"$enablestring" = xdisable; then
4925 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
4926 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6
4928 # Check whether --enable-compat26 or --disable-compat26 was given.
4929 if test "${enable_compat26+set}" = set; then
4930 enableval="$enable_compat26"
4932 if test "$enableval" = yes; then
4933 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4935 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4940 LINE=`grep "^WXWIN_COMPATIBILITY_2_6
=" ${wx_arg_cache_file}`
4941 if test "x
$LINE" != x ; then
4942 eval "DEFAULT_
$LINE"
4947 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
4951 eval "$ac_cv_use_compat26"
4952 if test "$no_cache" != 1; then
4953 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4956 if test x
"$enablestring" = xdisable
; then
4957 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
4963 result
=$WXWIN_COMPATIBILITY_2_6
4966 echo "$as_me:$LINENO: result: $result" >&5
4967 echo "${ECHO_T}$result" >&6
4970 enablestring
=disable
4972 if test -z "$defaultval"; then
4973 if test x
"$enablestring" = xdisable
; then
4980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
4981 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6
4983 # Check whether --enable-compat28 or --disable-compat28 was given.
4984 if test "${enable_compat28+set}" = set; then
4985 enableval
="$enable_compat28"
4987 if test "$enableval" = yes; then
4988 ac_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
4990 ac_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
4995 LINE
=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
4996 if test "x$LINE" != x
; then
4997 eval "DEFAULT_$LINE"
5002 ac_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5006 eval "$ac_cv_use_compat28"
5007 if test "$no_cache" != 1; then
5008 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5011 if test x"$enablestring" = xdisable; then
5012 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5018 result=$WXWIN_COMPATIBILITY_2_8
5021 echo "$as_me:$LINENO: result: $result" >&5
5022 echo "${ECHO_T}$result" >&6
5026 enablestring=disable
5028 if test -z "$defaultval"; then
5029 if test x"$enablestring" = xdisable; then
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
5039 # Check whether --enable-rpath or --disable-rpath was given.
5040 if test "${enable_rpath+set}" = set; then
5041 enableval="$enable_rpath"
5043 if test "$enableval" = yes; then
5044 ac_cv_use_rpath='wxUSE_RPATH
=yes'
5046 ac_cv_use_rpath='wxUSE_RPATH
=no
'
5051 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x ; then
5053 eval "DEFAULT_$LINE"
5058 ac_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5062 eval "$ac_cv_use_rpath"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5067 if test x"$enablestring" = xdisable; then
5068 if test $wxUSE_RPATH = yes; then
5077 echo "$as_me:$LINENO: result
: $result" >&5
5078 echo "${ECHO_T}$result" >&6
5084 if test -z "$defaultval"; then
5085 if test x"$enablestring" = xdisable; then
5092 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5093 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6
5095 # Check whether --enable-objc_uniquifying or --disable-objc_uniquifying was given.
5096 if test "${enable_objc_uniquifying+set}" = set; then
5097 enableval="$enable_objc_uniquifying"
5099 if test "$enableval" = yes; then
5100 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5102 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5107 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING
=" ${wx_arg_cache_file}`
5108 if test "x
$LINE" != x ; then
5109 eval "DEFAULT_
$LINE"
5114 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5118 eval "$ac_cv_use_objc_uniquifying"
5119 if test "$no_cache" != 1; then
5120 echo $ac_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5123 if test x
"$enablestring" = xdisable
; then
5124 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5130 result
=$wxUSE_OBJC_UNIQUIFYING
5133 echo "$as_me:$LINENO: result: $result" >&5
5134 echo "${ECHO_T}$result" >&6
5140 defaultval
=$wxUSE_ALL_FEATURES
5141 if test -z "$defaultval"; then
5142 if test x
"$enablestring" = xdisable
; then
5149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5150 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
5152 # Check whether --enable-intl or --disable-intl was given.
5153 if test "${enable_intl+set}" = set; then
5154 enableval
="$enable_intl"
5156 if test "$enableval" = yes; then
5157 ac_cv_use_intl
='wxUSE_INTL=yes'
5159 ac_cv_use_intl
='wxUSE_INTL=no'
5164 LINE
=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5165 if test "x$LINE" != x
; then
5166 eval "DEFAULT_$LINE"
5171 ac_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5175 eval "$ac_cv_use_intl"
5176 if test "$no_cache" != 1; then
5177 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5180 if test x"$enablestring" = xdisable; then
5181 if test $wxUSE_INTL = yes; then
5190 echo "$as_me:$LINENO: result: $result" >&5
5191 echo "${ECHO_T}$result" >&6
5195 defaultval=$wxUSE_ALL_FEATURES
5196 if test -z "$defaultval"; then
5197 if test x"$enablestring" = xdisable; then
5204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5205 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
5207 # Check whether --enable-config or --disable-config was given.
5208 if test "${enable_config+set}" = set; then
5209 enableval="$enable_config"
5211 if test "$enableval" = yes; then
5212 ac_cv_use_config='wxUSE_CONFIG
=yes'
5214 ac_cv_use_config='wxUSE_CONFIG
=no
'
5219 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5220 if test "x$LINE" != x ; then
5221 eval "DEFAULT_$LINE"
5226 ac_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5230 eval "$ac_cv_use_config"
5231 if test "$no_cache" != 1; then
5232 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5235 if test x"$enablestring" = xdisable; then
5236 if test $wxUSE_CONFIG = yes; then
5242 result=$wxUSE_CONFIG
5245 echo "$as_me:$LINENO: result
: $result" >&5
5246 echo "${ECHO_T}$result" >&6
5251 defaultval=$wxUSE_ALL_FEATURES
5252 if test -z "$defaultval"; then
5253 if test x"$enablestring" = xdisable; then
5260 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
5261 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6
5263 # Check whether --enable-protocols or --disable-protocols was given.
5264 if test "${enable_protocols+set}" = set; then
5265 enableval="$enable_protocols"
5267 if test "$enableval" = yes; then
5268 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5270 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5275 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
5276 if test "x
$LINE" != x ; then
5277 eval "DEFAULT_
$LINE"
5282 ac_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5286 eval "$ac_cv_use_protocols"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5291 if test x
"$enablestring" = xdisable
; then
5292 if test $wxUSE_PROTOCOL = yes; then
5298 result
=$wxUSE_PROTOCOL
5301 echo "$as_me:$LINENO: result: $result" >&5
5302 echo "${ECHO_T}$result" >&6
5306 defaultval
=$wxUSE_ALL_FEATURES
5307 if test -z "$defaultval"; then
5308 if test x
"$enablestring" = xdisable
; then
5315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5316 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
5318 # Check whether --enable-ftp or --disable-ftp was given.
5319 if test "${enable_ftp+set}" = set; then
5320 enableval
="$enable_ftp"
5322 if test "$enableval" = yes; then
5323 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
5325 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
5330 LINE
=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
5331 if test "x$LINE" != x
; then
5332 eval "DEFAULT_$LINE"
5337 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5341 eval "$ac_cv_use_ftp"
5342 if test "$no_cache" != 1; then
5343 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5346 if test x"$enablestring" = xdisable; then
5347 if test $wxUSE_PROTOCOL_FTP = yes; then
5353 result=$wxUSE_PROTOCOL_FTP
5356 echo "$as_me:$LINENO: result: $result" >&5
5357 echo "${ECHO_T}$result" >&6
5361 defaultval=$wxUSE_ALL_FEATURES
5362 if test -z "$defaultval"; then
5363 if test x"$enablestring" = xdisable; then
5370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5371 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
5373 # Check whether --enable-http or --disable-http was given.
5374 if test "${enable_http+set}" = set; then
5375 enableval="$enable_http"
5377 if test "$enableval" = yes; then
5378 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
5380 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
5385 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
5386 if test "x$LINE" != x ; then
5387 eval "DEFAULT_$LINE"
5392 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5396 eval "$ac_cv_use_http"
5397 if test "$no_cache" != 1; then
5398 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5401 if test x"$enablestring" = xdisable; then
5402 if test $wxUSE_PROTOCOL_HTTP = yes; then
5408 result=$wxUSE_PROTOCOL_HTTP
5411 echo "$as_me:$LINENO: result
: $result" >&5
5412 echo "${ECHO_T}$result" >&6
5416 defaultval=$wxUSE_ALL_FEATURES
5417 if test -z "$defaultval"; then
5418 if test x"$enablestring" = xdisable; then
5425 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
5426 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6
5428 # Check whether --enable-fileproto or --disable-fileproto was given.
5429 if test "${enable_fileproto+set}" = set; then
5430 enableval="$enable_fileproto"
5432 if test "$enableval" = yes; then
5433 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5435 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5440 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
5441 if test "x
$LINE" != x ; then
5442 eval "DEFAULT_
$LINE"
5447 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5451 eval "$ac_cv_use_fileproto"
5452 if test "$no_cache" != 1; then
5453 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5456 if test x
"$enablestring" = xdisable
; then
5457 if test $wxUSE_PROTOCOL_FILE = yes; then
5463 result
=$wxUSE_PROTOCOL_FILE
5466 echo "$as_me:$LINENO: result: $result" >&5
5467 echo "${ECHO_T}$result" >&6
5471 defaultval
=$wxUSE_ALL_FEATURES
5472 if test -z "$defaultval"; then
5473 if test x
"$enablestring" = xdisable
; then
5480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5481 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
5483 # Check whether --enable-sockets or --disable-sockets was given.
5484 if test "${enable_sockets+set}" = set; then
5485 enableval
="$enable_sockets"
5487 if test "$enableval" = yes; then
5488 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
5490 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
5495 LINE
=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
5496 if test "x$LINE" != x
; then
5497 eval "DEFAULT_$LINE"
5502 ac_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5506 eval "$ac_cv_use_sockets"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5511 if test x"$enablestring" = xdisable; then
5512 if test $wxUSE_SOCKETS = yes; then
5518 result=$wxUSE_SOCKETS
5521 echo "$as_me:$LINENO: result: $result" >&5
5522 echo "${ECHO_T}$result" >&6
5526 defaultval=$wxUSE_ALL_FEATURES
5527 if test -z "$defaultval"; then
5528 if test x"$enablestring" = xdisable; then
5535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5536 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
5538 # Check whether --enable-ole or --disable-ole was given.
5539 if test "${enable_ole+set}" = set; then
5540 enableval="$enable_ole"
5542 if test "$enableval" = yes; then
5543 ac_cv_use_ole='wxUSE_OLE
=yes'
5545 ac_cv_use_ole='wxUSE_OLE
=no
'
5550 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
5551 if test "x$LINE" != x ; then
5552 eval "DEFAULT_$LINE"
5557 ac_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5561 eval "$ac_cv_use_ole"
5562 if test "$no_cache" != 1; then
5563 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5566 if test x"$enablestring" = xdisable; then
5567 if test $wxUSE_OLE = yes; then
5576 echo "$as_me:$LINENO: result
: $result" >&5
5577 echo "${ECHO_T}$result" >&6
5581 defaultval=$wxUSE_ALL_FEATURES
5582 if test -z "$defaultval"; then
5583 if test x"$enablestring" = xdisable; then
5590 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
5591 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6
5593 # Check whether --enable-dataobj or --disable-dataobj was given.
5594 if test "${enable_dataobj+set}" = set; then
5595 enableval="$enable_dataobj"
5597 if test "$enableval" = yes; then
5598 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5600 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5605 LINE=`grep "^wxUSE_DATAOBJ
=" ${wx_arg_cache_file}`
5606 if test "x
$LINE" != x ; then
5607 eval "DEFAULT_
$LINE"
5612 ac_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5616 eval "$ac_cv_use_dataobj"
5617 if test "$no_cache" != 1; then
5618 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5621 if test x
"$enablestring" = xdisable
; then
5622 if test $wxUSE_DATAOBJ = yes; then
5628 result
=$wxUSE_DATAOBJ
5631 echo "$as_me:$LINENO: result: $result" >&5
5632 echo "${ECHO_T}$result" >&6
5637 defaultval
=$wxUSE_ALL_FEATURES
5638 if test -z "$defaultval"; then
5639 if test x
"$enablestring" = xdisable
; then
5646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5647 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
5649 # Check whether --enable-ipc or --disable-ipc was given.
5650 if test "${enable_ipc+set}" = set; then
5651 enableval
="$enable_ipc"
5653 if test "$enableval" = yes; then
5654 ac_cv_use_ipc
='wxUSE_IPC=yes'
5656 ac_cv_use_ipc
='wxUSE_IPC=no'
5661 LINE
=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x
; then
5663 eval "DEFAULT_$LINE"
5668 ac_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5672 eval "$ac_cv_use_ipc"
5673 if test "$no_cache" != 1; then
5674 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5677 if test x"$enablestring" = xdisable; then
5678 if test $wxUSE_IPC = yes; then
5687 echo "$as_me:$LINENO: result: $result" >&5
5688 echo "${ECHO_T}$result" >&6
5693 defaultval=$wxUSE_ALL_FEATURES
5694 if test -z "$defaultval"; then
5695 if test x"$enablestring" = xdisable; then
5702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5703 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
5705 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
5706 if test "${enable_apple_ieee+set}" = set; then
5707 enableval="$enable_apple_ieee"
5709 if test "$enableval" = yes; then
5710 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
5712 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
5717 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
5718 if test "x$LINE" != x ; then
5719 eval "DEFAULT_$LINE"
5724 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
5728 eval "$ac_cv_use_apple_ieee"
5729 if test "$no_cache" != 1; then
5730 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5733 if test x"$enablestring" = xdisable; then
5734 if test $wxUSE_APPLE_IEEE = yes; then
5740 result=$wxUSE_APPLE_IEEE
5743 echo "$as_me:$LINENO: result
: $result" >&5
5744 echo "${ECHO_T}$result" >&6
5748 defaultval=$wxUSE_ALL_FEATURES
5749 if test -z "$defaultval"; then
5750 if test x"$enablestring" = xdisable; then
5757 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
5758 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6
5760 # Check whether --enable-arcstream or --disable-arcstream was given.
5761 if test "${enable_arcstream+set}" = set; then
5762 enableval="$enable_arcstream"
5764 if test "$enableval" = yes; then
5765 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5767 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5772 LINE=`grep "^wxUSE_ARCHIVE_STREAMS
=" ${wx_arg_cache_file}`
5773 if test "x
$LINE" != x ; then
5774 eval "DEFAULT_
$LINE"
5779 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
5783 eval "$ac_cv_use_arcstream"
5784 if test "$no_cache" != 1; then
5785 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5788 if test x
"$enablestring" = xdisable
; then
5789 if test $wxUSE_ARCHIVE_STREAMS = yes; then
5795 result
=$wxUSE_ARCHIVE_STREAMS
5798 echo "$as_me:$LINENO: result: $result" >&5
5799 echo "${ECHO_T}$result" >&6
5803 defaultval
=$wxUSE_ALL_FEATURES
5804 if test -z "$defaultval"; then
5805 if test x
"$enablestring" = xdisable
; then
5812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
5813 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6
5815 # Check whether --enable-base64 or --disable-base64 was given.
5816 if test "${enable_base64+set}" = set; then
5817 enableval
="$enable_base64"
5819 if test "$enableval" = yes; then
5820 ac_cv_use_base64
='wxUSE_BASE64=yes'
5822 ac_cv_use_base64
='wxUSE_BASE64=no'
5827 LINE
=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x
; then
5829 eval "DEFAULT_$LINE"
5834 ac_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
5838 eval "$ac_cv_use_base64"
5839 if test "$no_cache" != 1; then
5840 echo $ac_cv_use_base64 >> ${wx_arg_cache_file}.tmp
5843 if test x"$enablestring" = xdisable; then
5844 if test $wxUSE_BASE64 = yes; then
5850 result=$wxUSE_BASE64
5853 echo "$as_me:$LINENO: result: $result" >&5
5854 echo "${ECHO_T}$result" >&6
5858 defaultval=$wxUSE_ALL_FEATURES
5859 if test -z "$defaultval"; then
5860 if test x"$enablestring" = xdisable; then
5867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5870 # Check whether --enable-backtrace or --disable-backtrace was given.
5871 if test "${enable_backtrace+set}" = set; then
5872 enableval="$enable_backtrace"
5874 if test "$enableval" = yes; then
5875 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
5877 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
5882 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x ; then
5884 eval "DEFAULT_$LINE"
5889 ac_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
5893 eval "$ac_cv_use_backtrace"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5898 if test x"$enablestring" = xdisable; then
5899 if test $wxUSE_STACKWALKER = yes; then
5905 result=$wxUSE_STACKWALKER
5908 echo "$as_me:$LINENO: result
: $result" >&5
5909 echo "${ECHO_T}$result" >&6
5913 defaultval=$wxUSE_ALL_FEATURES
5914 if test -z "$defaultval"; then
5915 if test x"$enablestring" = xdisable; then
5922 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
5923 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6
5925 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5926 if test "${enable_catch_segvs+set}" = set; then
5927 enableval="$enable_catch_segvs"
5929 if test "$enableval" = yes; then
5930 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5932 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5937 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION
=" ${wx_arg_cache_file}`
5938 if test "x
$LINE" != x ; then
5939 eval "DEFAULT_
$LINE"
5944 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
5948 eval "$ac_cv_use_catch_segvs"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5953 if test x
"$enablestring" = xdisable
; then
5954 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
5960 result
=$wxUSE_ON_FATAL_EXCEPTION
5963 echo "$as_me:$LINENO: result: $result" >&5
5964 echo "${ECHO_T}$result" >&6
5968 defaultval
=$wxUSE_ALL_FEATURES
5969 if test -z "$defaultval"; then
5970 if test x
"$enablestring" = xdisable
; then
5977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5978 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5980 # Check whether --enable-cmdline or --disable-cmdline was given.
5981 if test "${enable_cmdline+set}" = set; then
5982 enableval
="$enable_cmdline"
5984 if test "$enableval" = yes; then
5985 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5987 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5992 LINE
=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
5993 if test "x$LINE" != x
; then
5994 eval "DEFAULT_$LINE"
5999 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6003 eval "$ac_cv_use_cmdline"
6004 if test "$no_cache" != 1; then
6005 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6008 if test x"$enablestring" = xdisable; then
6009 if test $wxUSE_CMDLINE_PARSER = yes; then
6015 result=$wxUSE_CMDLINE_PARSER
6018 echo "$as_me:$LINENO: result: $result" >&5
6019 echo "${ECHO_T}$result" >&6
6023 defaultval=$wxUSE_ALL_FEATURES
6024 if test -z "$defaultval"; then
6025 if test x"$enablestring" = xdisable; then
6032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6033 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
6035 # Check whether --enable-datetime or --disable-datetime was given.
6036 if test "${enable_datetime+set}" = set; then
6037 enableval="$enable_datetime"
6039 if test "$enableval" = yes; then
6040 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
6042 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
6047 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6048 if test "x$LINE" != x ; then
6049 eval "DEFAULT_$LINE"
6054 ac_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6058 eval "$ac_cv_use_datetime"
6059 if test "$no_cache" != 1; then
6060 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6063 if test x"$enablestring" = xdisable; then
6064 if test $wxUSE_DATETIME = yes; then
6070 result=$wxUSE_DATETIME
6073 echo "$as_me:$LINENO: result
: $result" >&5
6074 echo "${ECHO_T}$result" >&6
6078 defaultval=$wxUSE_ALL_FEATURES
6079 if test -z "$defaultval"; then
6080 if test x"$enablestring" = xdisable; then
6087 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6088 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6
6090 # Check whether --enable-debugreport or --disable-debugreport was given.
6091 if test "${enable_debugreport+set}" = set; then
6092 enableval="$enable_debugreport"
6094 if test "$enableval" = yes; then
6095 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6097 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6102 LINE=`grep "^wxUSE_DEBUGREPORT
=" ${wx_arg_cache_file}`
6103 if test "x
$LINE" != x ; then
6104 eval "DEFAULT_
$LINE"
6109 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6113 eval "$ac_cv_use_debugreport"
6114 if test "$no_cache" != 1; then
6115 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6118 if test x
"$enablestring" = xdisable
; then
6119 if test $wxUSE_DEBUGREPORT = yes; then
6125 result
=$wxUSE_DEBUGREPORT
6128 echo "$as_me:$LINENO: result: $result" >&5
6129 echo "${ECHO_T}$result" >&6
6133 defaultval
=$wxUSE_ALL_FEATURES
6134 if test -z "$defaultval"; then
6135 if test x
"$enablestring" = xdisable
; then
6142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6143 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
6145 # Check whether --enable-dialupman or --disable-dialupman was given.
6146 if test "${enable_dialupman+set}" = set; then
6147 enableval
="$enable_dialupman"
6149 if test "$enableval" = yes; then
6150 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6152 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6157 LINE
=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6158 if test "x$LINE" != x
; then
6159 eval "DEFAULT_$LINE"
6164 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6168 eval "$ac_cv_use_dialupman"
6169 if test "$no_cache" != 1; then
6170 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6173 if test x"$enablestring" = xdisable; then
6174 if test $wxUSE_DIALUP_MANAGER = yes; then
6180 result=$wxUSE_DIALUP_MANAGER
6183 echo "$as_me:$LINENO: result: $result" >&5
6184 echo "${ECHO_T}$result" >&6
6188 defaultval=$wxUSE_ALL_FEATURES
6189 if test -z "$defaultval"; then
6190 if test x"$enablestring" = xdisable; then
6197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6198 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
6200 # Check whether --enable-dynlib or --disable-dynlib was given.
6201 if test "${enable_dynlib+set}" = set; then
6202 enableval="$enable_dynlib"
6204 if test "$enableval" = yes; then
6205 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6207 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6212 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6213 if test "x$LINE" != x ; then
6214 eval "DEFAULT_$LINE"
6219 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6223 eval "$ac_cv_use_dynlib"
6224 if test "$no_cache" != 1; then
6225 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6228 if test x"$enablestring" = xdisable; then
6229 if test $wxUSE_DYNLIB_CLASS = yes; then
6235 result=$wxUSE_DYNLIB_CLASS
6238 echo "$as_me:$LINENO: result
: $result" >&5
6239 echo "${ECHO_T}$result" >&6
6243 defaultval=$wxUSE_ALL_FEATURES
6244 if test -z "$defaultval"; then
6245 if test x"$enablestring" = xdisable; then
6252 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6253 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6
6255 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
6256 if test "${enable_dynamicloader+set}" = set; then
6257 enableval="$enable_dynamicloader"
6259 if test "$enableval" = yes; then
6260 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6262 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6267 LINE=`grep "^wxUSE_DYNAMIC_LOADER
=" ${wx_arg_cache_file}`
6268 if test "x
$LINE" != x ; then
6269 eval "DEFAULT_
$LINE"
6274 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6278 eval "$ac_cv_use_dynamicloader"
6279 if test "$no_cache" != 1; then
6280 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6283 if test x
"$enablestring" = xdisable
; then
6284 if test $wxUSE_DYNAMIC_LOADER = yes; then
6290 result
=$wxUSE_DYNAMIC_LOADER
6293 echo "$as_me:$LINENO: result: $result" >&5
6294 echo "${ECHO_T}$result" >&6
6298 defaultval
=$wxUSE_ALL_FEATURES
6299 if test -z "$defaultval"; then
6300 if test x
"$enablestring" = xdisable
; then
6307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6308 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
6310 # Check whether --enable-exceptions or --disable-exceptions was given.
6311 if test "${enable_exceptions+set}" = set; then
6312 enableval
="$enable_exceptions"
6314 if test "$enableval" = yes; then
6315 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6317 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6322 LINE
=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x
; then
6324 eval "DEFAULT_$LINE"
6329 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6333 eval "$ac_cv_use_exceptions"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6338 if test x"$enablestring" = xdisable; then
6339 if test $wxUSE_EXCEPTIONS = yes; then
6345 result=$wxUSE_EXCEPTIONS
6348 echo "$as_me:$LINENO: result: $result" >&5
6349 echo "${ECHO_T}$result" >&6
6353 defaultval=$wxUSE_ALL_FEATURES
6354 if test -z "$defaultval"; then
6355 if test x"$enablestring" = xdisable; then
6362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
6365 # Check whether --enable-ffile or --disable-ffile was given.
6366 if test "${enable_ffile+set}" = set; then
6367 enableval="$enable_ffile"
6369 if test "$enableval" = yes; then
6370 ac_cv_use_ffile='wxUSE_FFILE
=yes'
6372 ac_cv_use_ffile='wxUSE_FFILE
=no
'
6377 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
6378 if test "x$LINE" != x ; then
6379 eval "DEFAULT_$LINE"
6384 ac_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6388 eval "$ac_cv_use_ffile"
6389 if test "$no_cache" != 1; then
6390 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6393 if test x"$enablestring" = xdisable; then
6394 if test $wxUSE_FFILE = yes; then
6403 echo "$as_me:$LINENO: result
: $result" >&5
6404 echo "${ECHO_T}$result" >&6
6408 defaultval=$wxUSE_ALL_FEATURES
6409 if test -z "$defaultval"; then
6410 if test x"$enablestring" = xdisable; then
6417 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6418 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6
6420 # Check whether --enable-file or --disable-file was given.
6421 if test "${enable_file+set}" = set; then
6422 enableval="$enable_file"
6424 if test "$enableval" = yes; then
6425 ac_cv_use_file='wxUSE_FILE=yes'
6427 ac_cv_use_file='wxUSE_FILE=no'
6432 LINE=`grep "^wxUSE_FILE
=" ${wx_arg_cache_file}`
6433 if test "x
$LINE" != x ; then
6434 eval "DEFAULT_
$LINE"
6439 ac_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6443 eval "$ac_cv_use_file"
6444 if test "$no_cache" != 1; then
6445 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6448 if test x
"$enablestring" = xdisable
; then
6449 if test $wxUSE_FILE = yes; then
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}-filesystem" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
6475 # Check whether --enable-filesystem or --disable-filesystem was given.
6476 if test "${enable_filesystem+set}" = set; then
6477 enableval
="$enable_filesystem"
6479 if test "$enableval" = yes; then
6480 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6482 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6487 LINE
=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
6488 if test "x$LINE" != x
; then
6489 eval "DEFAULT_$LINE"
6494 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6498 eval "$ac_cv_use_filesystem"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6503 if test x"$enablestring" = xdisable; then
6504 if test $wxUSE_FILESYSTEM = yes; then
6510 result=$wxUSE_FILESYSTEM
6513 echo "$as_me:$LINENO: result: $result" >&5
6514 echo "${ECHO_T}$result" >&6
6518 defaultval=$wxUSE_ALL_FEATURES
6519 if test -z "$defaultval"; then
6520 if test x"$enablestring" = xdisable; then
6527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6528 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
6530 # Check whether --enable-fontmap or --disable-fontmap was given.
6531 if test "${enable_fontmap+set}" = set; then
6532 enableval="$enable_fontmap"
6534 if test "$enableval" = yes; then
6535 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
6537 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
6542 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
6543 if test "x$LINE" != x ; then
6544 eval "DEFAULT_$LINE"
6549 ac_cv_use_fontmap='wxUSE_FONTMAP
=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6553 eval "$ac_cv_use_fontmap"
6554 if test "$no_cache" != 1; then
6555 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6558 if test x"$enablestring" = xdisable; then
6559 if test $wxUSE_FONTMAP = yes; then
6565 result=$wxUSE_FONTMAP
6568 echo "$as_me:$LINENO: result
: $result" >&5
6569 echo "${ECHO_T}$result" >&6
6573 defaultval=$wxUSE_ALL_FEATURES
6574 if test -z "$defaultval"; then
6575 if test x"$enablestring" = xdisable; then
6582 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_archive" >&5
6583 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_archive...
$ECHO_C" >&6
6585 # Check whether --enable-fs_archive or --disable-fs_archive was given.
6586 if test "${enable_fs_archive+set}" = set; then
6587 enableval="$enable_fs_archive"
6589 if test "$enableval" = yes; then
6590 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6592 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6597 LINE=`grep "^wxUSE_FS_ARCHIVE
=" ${wx_arg_cache_file}`
6598 if test "x
$LINE" != x ; then
6599 eval "DEFAULT_
$LINE"
6604 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6608 eval "$ac_cv_use_fs_archive"
6609 if test "$no_cache" != 1; then
6610 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6613 if test x
"$enablestring" = xdisable
; then
6614 if test $wxUSE_FS_ARCHIVE = yes; then
6620 result
=$wxUSE_FS_ARCHIVE
6623 echo "$as_me:$LINENO: result: $result" >&5
6624 echo "${ECHO_T}$result" >&6
6628 defaultval
=$wxUSE_ALL_FEATURES
6629 if test -z "$defaultval"; then
6630 if test x
"$enablestring" = xdisable
; then
6637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6638 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
6640 # Check whether --enable-fs_inet or --disable-fs_inet was given.
6641 if test "${enable_fs_inet+set}" = set; then
6642 enableval
="$enable_fs_inet"
6644 if test "$enableval" = yes; then
6645 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
6647 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
6652 LINE
=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
6653 if test "x$LINE" != x
; then
6654 eval "DEFAULT_$LINE"
6659 ac_cv_use_fs_inet
='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6663 eval "$ac_cv_use_fs_inet"
6664 if test "$no_cache" != 1; then
6665 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6668 if test x"$enablestring" = xdisable; then
6669 if test $wxUSE_FS_INET = yes; then
6675 result=$wxUSE_FS_INET
6678 echo "$as_me:$LINENO: result: $result" >&5
6679 echo "${ECHO_T}$result" >&6
6683 defaultval=$wxUSE_ALL_FEATURES
6684 if test -z "$defaultval"; then
6685 if test x"$enablestring" = xdisable; then
6692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6693 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
6695 # Check whether --enable-fs_zip or --disable-fs_zip was given.
6696 if test "${enable_fs_zip+set}" = set; then
6697 enableval="$enable_fs_zip"
6699 if test "$enableval" = yes; then
6700 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
6702 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
6707 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
6708 if test "x$LINE" != x ; then
6709 eval "DEFAULT_$LINE"
6714 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6718 eval "$ac_cv_use_fs_zip"
6719 if test "$no_cache" != 1; then
6720 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6723 if test x"$enablestring" = xdisable; then
6724 if test $wxUSE_FS_ZIP = yes; then
6730 result=$wxUSE_FS_ZIP
6733 echo "$as_me:$LINENO: result
: $result" >&5
6734 echo "${ECHO_T}$result" >&6
6738 defaultval=$wxUSE_ALL_FEATURES
6739 if test -z "$defaultval"; then
6740 if test x"$enablestring" = xdisable; then
6747 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
6748 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6
6750 # Check whether --enable-geometry or --disable-geometry was given.
6751 if test "${enable_geometry+set}" = set; then
6752 enableval="$enable_geometry"
6754 if test "$enableval" = yes; then
6755 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6757 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6762 LINE=`grep "^wxUSE_GEOMETRY
=" ${wx_arg_cache_file}`
6763 if test "x
$LINE" != x ; then
6764 eval "DEFAULT_
$LINE"
6769 ac_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6773 eval "$ac_cv_use_geometry"
6774 if test "$no_cache" != 1; then
6775 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6778 if test x
"$enablestring" = xdisable
; then
6779 if test $wxUSE_GEOMETRY = yes; then
6785 result
=$wxUSE_GEOMETRY
6788 echo "$as_me:$LINENO: result: $result" >&5
6789 echo "${ECHO_T}$result" >&6
6793 defaultval
=$wxUSE_ALL_FEATURES
6794 if test -z "$defaultval"; then
6795 if test x
"$enablestring" = xdisable
; then
6802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6803 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
6805 # Check whether --enable-log or --disable-log was given.
6806 if test "${enable_log+set}" = set; then
6807 enableval
="$enable_log"
6809 if test "$enableval" = yes; then
6810 ac_cv_use_log
='wxUSE_LOG=yes'
6812 ac_cv_use_log
='wxUSE_LOG=no'
6817 LINE
=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x
; then
6819 eval "DEFAULT_$LINE"
6824 ac_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6828 eval "$ac_cv_use_log"
6829 if test "$no_cache" != 1; then
6830 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6833 if test x"$enablestring" = xdisable; then
6834 if test $wxUSE_LOG = yes; then
6843 echo "$as_me:$LINENO: result: $result" >&5
6844 echo "${ECHO_T}$result" >&6
6848 defaultval=$wxUSE_ALL_FEATURES
6849 if test -z "$defaultval"; then
6850 if test x"$enablestring" = xdisable; then
6857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6858 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
6860 # Check whether --enable-longlong or --disable-longlong was given.
6861 if test "${enable_longlong+set}" = set; then
6862 enableval="$enable_longlong"
6864 if test "$enableval" = yes; then
6865 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
6867 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
6872 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x ; then
6874 eval "DEFAULT_$LINE"
6879 ac_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
6883 eval "$ac_cv_use_longlong"
6884 if test "$no_cache" != 1; then
6885 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6888 if test x"$enablestring" = xdisable; then
6889 if test $wxUSE_LONGLONG = yes; then
6895 result=$wxUSE_LONGLONG
6898 echo "$as_me:$LINENO: result
: $result" >&5
6899 echo "${ECHO_T}$result" >&6
6903 defaultval=$wxUSE_ALL_FEATURES
6904 if test -z "$defaultval"; then
6905 if test x"$enablestring" = xdisable; then
6912 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
6913 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6
6915 # Check whether --enable-mimetype or --disable-mimetype was given.
6916 if test "${enable_mimetype+set}" = set; then
6917 enableval="$enable_mimetype"
6919 if test "$enableval" = yes; then
6920 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6922 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6927 LINE=`grep "^wxUSE_MIMETYPE
=" ${wx_arg_cache_file}`
6928 if test "x
$LINE" != x ; then
6929 eval "DEFAULT_
$LINE"
6934 ac_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
6938 eval "$ac_cv_use_mimetype"
6939 if test "$no_cache" != 1; then
6940 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6943 if test x
"$enablestring" = xdisable
; then
6944 if test $wxUSE_MIMETYPE = yes; then
6950 result
=$wxUSE_MIMETYPE
6953 echo "$as_me:$LINENO: result: $result" >&5
6954 echo "${ECHO_T}$result" >&6
6958 defaultval
=$wxUSE_ALL_FEATURES
6959 if test -z "$defaultval"; then
6960 if test x
"$enablestring" = xdisable
; then
6967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6968 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
6970 # Check whether --enable-snglinst or --disable-snglinst was given.
6971 if test "${enable_snglinst+set}" = set; then
6972 enableval
="$enable_snglinst"
6974 if test "$enableval" = yes; then
6975 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
6977 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
6982 LINE
=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
6983 if test "x$LINE" != x
; then
6984 eval "DEFAULT_$LINE"
6989 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
6993 eval "$ac_cv_use_snglinst"
6994 if test "$no_cache" != 1; then
6995 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6998 if test x"$enablestring" = xdisable; then
6999 if test $wxUSE_SNGLINST_CHECKER = yes; then
7005 result=$wxUSE_SNGLINST_CHECKER
7008 echo "$as_me:$LINENO: result: $result" >&5
7009 echo "${ECHO_T}$result" >&6
7013 defaultval=$wxUSE_ALL_FEATURES
7014 if test -z "$defaultval"; then
7015 if test x"$enablestring" = xdisable; then
7022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7023 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
7025 # Check whether --enable-stdpaths or --disable-stdpaths was given.
7026 if test "${enable_stdpaths+set}" = set; then
7027 enableval="$enable_stdpaths"
7029 if test "$enableval" = yes; then
7030 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7032 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7037 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7038 if test "x$LINE" != x ; then
7039 eval "DEFAULT_$LINE"
7044 ac_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7048 eval "$ac_cv_use_stdpaths"
7049 if test "$no_cache" != 1; then
7050 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
7053 if test x"$enablestring" = xdisable; then
7054 if test $wxUSE_STDPATHS = yes; then
7060 result=$wxUSE_STDPATHS
7063 echo "$as_me:$LINENO: result
: $result" >&5
7064 echo "${ECHO_T}$result" >&6
7068 defaultval=$wxUSE_ALL_FEATURES
7069 if test -z "$defaultval"; then
7070 if test x"$enablestring" = xdisable; then
7077 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7078 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6
7080 # Check whether --enable-stopwatch or --disable-stopwatch was given.
7081 if test "${enable_stopwatch+set}" = set; then
7082 enableval="$enable_stopwatch"
7084 if test "$enableval" = yes; then
7085 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7087 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7092 LINE=`grep "^wxUSE_STOPWATCH
=" ${wx_arg_cache_file}`
7093 if test "x
$LINE" != x ; then
7094 eval "DEFAULT_
$LINE"
7099 ac_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7103 eval "$ac_cv_use_stopwatch"
7104 if test "$no_cache" != 1; then
7105 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7108 if test x
"$enablestring" = xdisable
; then
7109 if test $wxUSE_STOPWATCH = yes; then
7115 result
=$wxUSE_STOPWATCH
7118 echo "$as_me:$LINENO: result: $result" >&5
7119 echo "${ECHO_T}$result" >&6
7123 defaultval
=$wxUSE_ALL_FEATURES
7124 if test -z "$defaultval"; then
7125 if test x
"$enablestring" = xdisable
; then
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
7135 # Check whether --enable-streams or --disable-streams was given.
7136 if test "${enable_streams+set}" = set; then
7137 enableval
="$enable_streams"
7139 if test "$enableval" = yes; then
7140 ac_cv_use_streams
='wxUSE_STREAMS=yes'
7142 ac_cv_use_streams
='wxUSE_STREAMS=no'
7147 LINE
=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x
; then
7149 eval "DEFAULT_$LINE"
7154 ac_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7158 eval "$ac_cv_use_streams"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7163 if test x"$enablestring" = xdisable; then
7164 if test $wxUSE_STREAMS = yes; then
7170 result=$wxUSE_STREAMS
7173 echo "$as_me:$LINENO: result: $result" >&5
7174 echo "${ECHO_T}$result" >&6
7178 defaultval=$wxUSE_ALL_FEATURES
7179 if test -z "$defaultval"; then
7180 if test x"$enablestring" = xdisable; then
7187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
7190 # Check whether --enable-system_options or --disable-system_options was given.
7191 if test "${enable_system_options+set}" = set; then
7192 enableval="$enable_system_options"
7194 if test "$enableval" = yes; then
7195 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7197 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7202 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7203 if test "x$LINE" != x ; then
7204 eval "DEFAULT_$LINE"
7209 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7213 eval "$ac_cv_use_system_options"
7214 if test "$no_cache" != 1; then
7215 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7218 if test x"$enablestring" = xdisable; then
7219 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7225 result=$wxUSE_SYSTEM_OPTIONS
7228 echo "$as_me:$LINENO: result
: $result" >&5
7229 echo "${ECHO_T}$result" >&6
7233 defaultval=$wxUSE_ALL_FEATURES
7234 if test -z "$defaultval"; then
7235 if test x"$enablestring" = xdisable; then
7242 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7243 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6
7245 # Check whether --enable-tarstream or --disable-tarstream was given.
7246 if test "${enable_tarstream+set}" = set; then
7247 enableval="$enable_tarstream"
7249 if test "$enableval" = yes; then
7250 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7252 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7257 LINE=`grep "^wxUSE_TARSTREAM
=" ${wx_arg_cache_file}`
7258 if test "x
$LINE" != x ; then
7259 eval "DEFAULT_
$LINE"
7264 ac_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7268 eval "$ac_cv_use_tarstream"
7269 if test "$no_cache" != 1; then
7270 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7273 if test x
"$enablestring" = xdisable
; then
7274 if test $wxUSE_TARSTREAM = yes; then
7280 result
=$wxUSE_TARSTREAM
7283 echo "$as_me:$LINENO: result: $result" >&5
7284 echo "${ECHO_T}$result" >&6
7288 defaultval
=$wxUSE_ALL_FEATURES
7289 if test -z "$defaultval"; then
7290 if test x
"$enablestring" = xdisable
; then
7297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7298 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
7300 # Check whether --enable-textbuf or --disable-textbuf was given.
7301 if test "${enable_textbuf+set}" = set; then
7302 enableval
="$enable_textbuf"
7304 if test "$enableval" = yes; then
7305 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7307 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7312 LINE
=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
7313 if test "x$LINE" != x
; then
7314 eval "DEFAULT_$LINE"
7319 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7323 eval "$ac_cv_use_textbuf"
7324 if test "$no_cache" != 1; then
7325 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7328 if test x"$enablestring" = xdisable; then
7329 if test $wxUSE_TEXTBUFFER = yes; then
7335 result=$wxUSE_TEXTBUFFER
7338 echo "$as_me:$LINENO: result: $result" >&5
7339 echo "${ECHO_T}$result" >&6
7343 defaultval=$wxUSE_ALL_FEATURES
7344 if test -z "$defaultval"; then
7345 if test x"$enablestring" = xdisable; then
7352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7353 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
7355 # Check whether --enable-textfile or --disable-textfile was given.
7356 if test "${enable_textfile+set}" = set; then
7357 enableval="$enable_textfile"
7359 if test "$enableval" = yes; then
7360 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7362 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7367 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
7368 if test "x$LINE" != x ; then
7369 eval "DEFAULT_$LINE"
7374 ac_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7378 eval "$ac_cv_use_textfile"
7379 if test "$no_cache" != 1; then
7380 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7383 if test x"$enablestring" = xdisable; then
7384 if test $wxUSE_TEXTFILE = yes; then
7390 result=$wxUSE_TEXTFILE
7393 echo "$as_me:$LINENO: result
: $result" >&5
7394 echo "${ECHO_T}$result" >&6
7398 defaultval=$wxUSE_ALL_FEATURES
7399 if test -z "$defaultval"; then
7400 if test x"$enablestring" = xdisable; then
7407 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7408 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6
7410 # Check whether --enable-timer or --disable-timer was given.
7411 if test "${enable_timer+set}" = set; then
7412 enableval="$enable_timer"
7414 if test "$enableval" = yes; then
7415 ac_cv_use_timer='wxUSE_TIMER=yes'
7417 ac_cv_use_timer='wxUSE_TIMER=no'
7422 LINE=`grep "^wxUSE_TIMER
=" ${wx_arg_cache_file}`
7423 if test "x
$LINE" != x ; then
7424 eval "DEFAULT_
$LINE"
7429 ac_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7433 eval "$ac_cv_use_timer"
7434 if test "$no_cache" != 1; then
7435 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7438 if test x
"$enablestring" = xdisable
; then
7439 if test $wxUSE_TIMER = yes; then
7448 echo "$as_me:$LINENO: result: $result" >&5
7449 echo "${ECHO_T}$result" >&6
7453 defaultval
=$wxUSE_ALL_FEATURES
7454 if test -z "$defaultval"; then
7455 if test x
"$enablestring" = xdisable
; then
7462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7463 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
7465 # Check whether --enable-sound or --disable-sound was given.
7466 if test "${enable_sound+set}" = set; then
7467 enableval
="$enable_sound"
7469 if test "$enableval" = yes; then
7470 ac_cv_use_sound
='wxUSE_SOUND=yes'
7472 ac_cv_use_sound
='wxUSE_SOUND=no'
7477 LINE
=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
7478 if test "x$LINE" != x
; then
7479 eval "DEFAULT_$LINE"
7484 ac_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7488 eval "$ac_cv_use_sound"
7489 if test "$no_cache" != 1; then
7490 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7493 if test x"$enablestring" = xdisable; then
7494 if test $wxUSE_SOUND = yes; then
7503 echo "$as_me:$LINENO: result: $result" >&5
7504 echo "${ECHO_T}$result" >&6
7508 defaultval=$wxUSE_ALL_FEATURES
7509 if test -z "$defaultval"; then
7510 if test x"$enablestring" = xdisable; then
7517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7518 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
7520 # Check whether --enable-mediactrl or --disable-mediactrl was given.
7521 if test "${enable_mediactrl+set}" = set; then
7522 enableval="$enable_mediactrl"
7524 if test "$enableval" = yes; then
7525 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
7527 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
7532 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
7533 if test "x$LINE" != x ; then
7534 eval "DEFAULT_$LINE"
7539 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7543 eval "$ac_cv_use_mediactrl"
7544 if test "$no_cache" != 1; then
7545 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7548 if test x"$enablestring" = xdisable; then
7549 if test $wxUSE_MEDIACTRL = yes; then
7555 result=$wxUSE_MEDIACTRL
7558 echo "$as_me:$LINENO: result
: $result" >&5
7559 echo "${ECHO_T}$result" >&6
7563 defaultval=$wxUSE_ALL_FEATURES
7564 if test -z "$defaultval"; then
7565 if test x"$enablestring" = xdisable; then
7572 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
7573 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6
7575 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
7576 if test "${enable_gstreamer8+set}" = set; then
7577 enableval="$enable_gstreamer8"
7579 if test "$enableval" = yes; then
7580 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7582 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7587 LINE=`grep "^wxUSE_GSTREAMER8
=" ${wx_arg_cache_file}`
7588 if test "x
$LINE" != x ; then
7589 eval "DEFAULT_
$LINE"
7594 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7598 eval "$ac_cv_use_gstreamer8"
7599 if test "$no_cache" != 1; then
7600 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7603 if test x
"$enablestring" = xdisable
; then
7604 if test $wxUSE_GSTREAMER8 = yes; then
7610 result
=$wxUSE_GSTREAMER8
7613 echo "$as_me:$LINENO: result: $result" >&5
7614 echo "${ECHO_T}$result" >&6
7618 defaultval
=$wxUSE_ALL_FEATURES
7619 if test -z "$defaultval"; then
7620 if test x
"$enablestring" = xdisable
; then
7627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7628 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
7630 # Check whether --enable-printfposparam or --disable-printfposparam was given.
7631 if test "${enable_printfposparam+set}" = set; then
7632 enableval
="$enable_printfposparam"
7634 if test "$enableval" = yes; then
7635 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7637 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7642 LINE
=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
7643 if test "x$LINE" != x
; then
7644 eval "DEFAULT_$LINE"
7649 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7653 eval "$ac_cv_use_printfposparam"
7654 if test "$no_cache" != 1; then
7655 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7658 if test x"$enablestring" = xdisable; then
7659 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7665 result=$wxUSE_PRINTF_POS_PARAMS
7668 echo "$as_me:$LINENO: result: $result" >&5
7669 echo "${ECHO_T}$result" >&6
7673 defaultval=$wxUSE_ALL_FEATURES
7674 if test -z "$defaultval"; then
7675 if test x"$enablestring" = xdisable; then
7682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7683 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
7685 # Check whether --enable-zipstream or --disable-zipstream was given.
7686 if test "${enable_zipstream+set}" = set; then
7687 enableval="$enable_zipstream"
7689 if test "$enableval" = yes; then
7690 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7692 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7697 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
7698 if test "x$LINE" != x ; then
7699 eval "DEFAULT_$LINE"
7704 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7708 eval "$ac_cv_use_zipstream"
7709 if test "$no_cache" != 1; then
7710 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7713 if test x"$enablestring" = xdisable; then
7714 if test $wxUSE_ZIPSTREAM = yes; then
7720 result=$wxUSE_ZIPSTREAM
7723 echo "$as_me:$LINENO: result
: $result" >&5
7724 echo "${ECHO_T}$result" >&6
7729 defaultval=$wxUSE_ALL_FEATURES
7730 if test -z "$defaultval"; then
7731 if test x"$enablestring" = xdisable; then
7738 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7739 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6
7741 # Check whether --enable-url or --disable-url was given.
7742 if test "${enable_url+set}" = set; then
7743 enableval="$enable_url"
7745 if test "$enableval" = yes; then
7746 ac_cv_use_url='wxUSE_URL=yes'
7748 ac_cv_use_url='wxUSE_URL=no'
7753 LINE=`grep "^wxUSE_URL
=" ${wx_arg_cache_file}`
7754 if test "x
$LINE" != x ; then
7755 eval "DEFAULT_
$LINE"
7760 ac_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7764 eval "$ac_cv_use_url"
7765 if test "$no_cache" != 1; then
7766 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7769 if test x
"$enablestring" = xdisable
; then
7770 if test $wxUSE_URL = yes; then
7779 echo "$as_me:$LINENO: result: $result" >&5
7780 echo "${ECHO_T}$result" >&6
7784 defaultval
=$wxUSE_ALL_FEATURES
7785 if test -z "$defaultval"; then
7786 if test x
"$enablestring" = xdisable
; then
7793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7794 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
7796 # Check whether --enable-variant or --disable-variant was given.
7797 if test "${enable_variant+set}" = set; then
7798 enableval
="$enable_variant"
7800 if test "$enableval" = yes; then
7801 ac_cv_use_variant
='wxUSE_VARIANT=yes'
7803 ac_cv_use_variant
='wxUSE_VARIANT=no'
7808 LINE
=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
7809 if test "x$LINE" != x
; then
7810 eval "DEFAULT_$LINE"
7815 ac_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7819 eval "$ac_cv_use_variant"
7820 if test "$no_cache" != 1; then
7821 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7824 if test x"$enablestring" = xdisable; then
7825 if test $wxUSE_VARIANT = yes; then
7831 result=$wxUSE_VARIANT
7834 echo "$as_me:$LINENO: result: $result" >&5
7835 echo "${ECHO_T}$result" >&6
7839 defaultval=$wxUSE_ALL_FEATURES
7840 if test -z "$defaultval"; then
7841 if test x"$enablestring" = xdisable; then
7848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7849 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
7851 # Check whether --enable-protocol or --disable-protocol was given.
7852 if test "${enable_protocol+set}" = set; then
7853 enableval="$enable_protocol"
7855 if test "$enableval" = yes; then
7856 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
7858 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
7863 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
7864 if test "x$LINE" != x ; then
7865 eval "DEFAULT_$LINE"
7870 ac_cv_use_protocol='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7874 eval "$ac_cv_use_protocol"
7875 if test "$no_cache" != 1; then
7876 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7879 if test x"$enablestring" = xdisable; then
7880 if test $wxUSE_PROTOCOL = yes; then
7886 result=$wxUSE_PROTOCOL
7889 echo "$as_me:$LINENO: result
: $result" >&5
7890 echo "${ECHO_T}$result" >&6
7894 defaultval=$wxUSE_ALL_FEATURES
7895 if test -z "$defaultval"; then
7896 if test x"$enablestring" = xdisable; then
7903 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_http" >&5
7904 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_http...
$ECHO_C" >&6
7906 # Check whether --enable-protocol_http or --disable-protocol_http was given.
7907 if test "${enable_protocol_http+set}" = set; then
7908 enableval="$enable_protocol_http"
7910 if test "$enableval" = yes; then
7911 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7913 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7918 LINE=`grep "^wxUSE_PROTOCOL_HTTP
=" ${wx_arg_cache_file}`
7919 if test "x
$LINE" != x ; then
7920 eval "DEFAULT_
$LINE"
7925 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7929 eval "$ac_cv_use_protocol_http"
7930 if test "$no_cache" != 1; then
7931 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7934 if test x
"$enablestring" = xdisable
; then
7935 if test $wxUSE_PROTOCOL_HTTP = yes; then
7941 result
=$wxUSE_PROTOCOL_HTTP
7944 echo "$as_me:$LINENO: result: $result" >&5
7945 echo "${ECHO_T}$result" >&6
7949 defaultval
=$wxUSE_ALL_FEATURES
7950 if test -z "$defaultval"; then
7951 if test x
"$enablestring" = xdisable
; then
7958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7959 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
7961 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
7962 if test "${enable_protocol_ftp+set}" = set; then
7963 enableval
="$enable_protocol_ftp"
7965 if test "$enableval" = yes; then
7966 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
7968 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
7973 LINE
=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
7974 if test "x$LINE" != x
; then
7975 eval "DEFAULT_$LINE"
7980 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7984 eval "$ac_cv_use_protocol_ftp"
7985 if test "$no_cache" != 1; then
7986 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7989 if test x"$enablestring" = xdisable; then
7990 if test $wxUSE_PROTOCOL_FTP = yes; then
7996 result=$wxUSE_PROTOCOL_FTP
7999 echo "$as_me:$LINENO: result: $result" >&5
8000 echo "${ECHO_T}$result" >&6
8004 defaultval=$wxUSE_ALL_FEATURES
8005 if test -z "$defaultval"; then
8006 if test x"$enablestring" = xdisable; then
8013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8014 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
8016 # Check whether --enable-protocol_file or --disable-protocol_file was given.
8017 if test "${enable_protocol_file+set}" = set; then
8018 enableval="$enable_protocol_file"
8020 if test "$enableval" = yes; then
8021 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
8023 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
8028 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8029 if test "x$LINE" != x ; then
8030 eval "DEFAULT_$LINE"
8035 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8039 eval "$ac_cv_use_protocol_file"
8040 if test "$no_cache" != 1; then
8041 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
8044 if test x"$enablestring" = xdisable; then
8045 if test $wxUSE_PROTOCOL_FILE = yes; then
8051 result=$wxUSE_PROTOCOL_FILE
8054 echo "$as_me:$LINENO: result
: $result" >&5
8055 echo "${ECHO_T}$result" >&6
8060 defaultval=$wxUSE_ALL_FEATURES
8061 if test -z "$defaultval"; then
8062 if test x"$enablestring" = xdisable; then
8069 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-threads" >&5
8070 echo $ECHO_N "checking
for --${enablestring:-enable}-threads...
$ECHO_C" >&6
8072 # Check whether --enable-threads or --disable-threads was given.
8073 if test "${enable_threads+set}" = set; then
8074 enableval="$enable_threads"
8076 if test "$enableval" = yes; then
8077 ac_cv_use_threads='wxUSE_THREADS=yes'
8079 ac_cv_use_threads='wxUSE_THREADS=no'
8084 LINE=`grep "^wxUSE_THREADS
=" ${wx_arg_cache_file}`
8085 if test "x
$LINE" != x ; then
8086 eval "DEFAULT_
$LINE"
8091 ac_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8095 eval "$ac_cv_use_threads"
8096 if test "$no_cache" != 1; then
8097 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
8100 if test x
"$enablestring" = xdisable
; then
8101 if test $wxUSE_THREADS = yes; then
8107 result
=$wxUSE_THREADS
8110 echo "$as_me:$LINENO: result: $result" >&5
8111 echo "${ECHO_T}$result" >&6
8114 if test "$wxUSE_GUI" = "yes"; then
8119 defaultval
=$wxUSE_ALL_FEATURES
8120 if test -z "$defaultval"; then
8121 if test x
"$enablestring" = xdisable
; then
8128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8129 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
8131 # Check whether --enable-docview or --disable-docview was given.
8132 if test "${enable_docview+set}" = set; then
8133 enableval
="$enable_docview"
8135 if test "$enableval" = yes; then
8136 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8138 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8143 LINE
=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
8144 if test "x$LINE" != x
; then
8145 eval "DEFAULT_$LINE"
8150 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8154 eval "$ac_cv_use_docview"
8155 if test "$no_cache" != 1; then
8156 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
8159 if test x"$enablestring" = xdisable; then
8160 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8166 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8169 echo "$as_me:$LINENO: result: $result" >&5
8170 echo "${ECHO_T}$result" >&6
8174 defaultval=$wxUSE_ALL_FEATURES
8175 if test -z "$defaultval"; then
8176 if test x"$enablestring" = xdisable; then
8183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8184 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
8186 # Check whether --enable-help or --disable-help was given.
8187 if test "${enable_help+set}" = set; then
8188 enableval="$enable_help"
8190 if test "$enableval" = yes; then
8191 ac_cv_use_help='wxUSE_HELP
=yes'
8193 ac_cv_use_help='wxUSE_HELP
=no
'
8198 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
8199 if test "x$LINE" != x ; then
8200 eval "DEFAULT_$LINE"
8205 ac_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8209 eval "$ac_cv_use_help"
8210 if test "$no_cache" != 1; then
8211 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
8214 if test x"$enablestring" = xdisable; then
8215 if test $wxUSE_HELP = yes; then
8224 echo "$as_me:$LINENO: result
: $result" >&5
8225 echo "${ECHO_T}$result" >&6
8229 defaultval=$wxUSE_ALL_FEATURES
8230 if test -z "$defaultval"; then
8231 if test x"$enablestring" = xdisable; then
8238 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8239 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6
8241 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
8242 if test "${enable_mshtmlhelp+set}" = set; then
8243 enableval="$enable_mshtmlhelp"
8245 if test "$enableval" = yes; then
8246 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8248 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8253 LINE=`grep "^wxUSE_MS_HTML_HELP
=" ${wx_arg_cache_file}`
8254 if test "x
$LINE" != x ; then
8255 eval "DEFAULT_
$LINE"
8260 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8264 eval "$ac_cv_use_mshtmlhelp"
8265 if test "$no_cache" != 1; then
8266 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
8269 if test x
"$enablestring" = xdisable
; then
8270 if test $wxUSE_MS_HTML_HELP = yes; then
8276 result
=$wxUSE_MS_HTML_HELP
8279 echo "$as_me:$LINENO: result: $result" >&5
8280 echo "${ECHO_T}$result" >&6
8284 defaultval
=$wxUSE_ALL_FEATURES
8285 if test -z "$defaultval"; then
8286 if test x
"$enablestring" = xdisable
; then
8293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8294 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
8296 # Check whether --enable-html or --disable-html was given.
8297 if test "${enable_html+set}" = set; then
8298 enableval
="$enable_html"
8300 if test "$enableval" = yes; then
8301 ac_cv_use_html
='wxUSE_HTML=yes'
8303 ac_cv_use_html
='wxUSE_HTML=no'
8308 LINE
=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
8309 if test "x$LINE" != x
; then
8310 eval "DEFAULT_$LINE"
8315 ac_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8319 eval "$ac_cv_use_html"
8320 if test "$no_cache" != 1; then
8321 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
8324 if test x"$enablestring" = xdisable; then
8325 if test $wxUSE_HTML = yes; then
8334 echo "$as_me:$LINENO: result: $result" >&5
8335 echo "${ECHO_T}$result" >&6
8339 defaultval=$wxUSE_ALL_FEATURES
8340 if test -z "$defaultval"; then
8341 if test x"$enablestring" = xdisable; then
8348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8349 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
8351 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
8352 if test "${enable_htmlhelp+set}" = set; then
8353 enableval="$enable_htmlhelp"
8355 if test "$enableval" = yes; then
8356 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8358 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8363 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
8364 if test "x$LINE" != x ; then
8365 eval "DEFAULT_$LINE"
8370 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8374 eval "$ac_cv_use_htmlhelp"
8375 if test "$no_cache" != 1; then
8376 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
8379 if test x"$enablestring" = xdisable; then
8380 if test $wxUSE_WXHTML_HELP = yes; then
8386 result=$wxUSE_WXHTML_HELP
8389 echo "$as_me:$LINENO: result
: $result" >&5
8390 echo "${ECHO_T}$result" >&6
8394 defaultval=$wxUSE_ALL_FEATURES
8395 if test -z "$defaultval"; then
8396 if test x"$enablestring" = xdisable; then
8403 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
8404 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6
8406 # Check whether --enable-xrc or --disable-xrc was given.
8407 if test "${enable_xrc+set}" = set; then
8408 enableval="$enable_xrc"
8410 if test "$enableval" = yes; then
8411 ac_cv_use_xrc='wxUSE_XRC=yes'
8413 ac_cv_use_xrc='wxUSE_XRC=no'
8418 LINE=`grep "^wxUSE_XRC
=" ${wx_arg_cache_file}`
8419 if test "x
$LINE" != x ; then
8420 eval "DEFAULT_
$LINE"
8425 ac_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8429 eval "$ac_cv_use_xrc"
8430 if test "$no_cache" != 1; then
8431 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8434 if test x
"$enablestring" = xdisable
; then
8435 if test $wxUSE_XRC = yes; then
8444 echo "$as_me:$LINENO: result: $result" >&5
8445 echo "${ECHO_T}$result" >&6
8449 defaultval
=$wxUSE_ALL_FEATURES
8450 if test -z "$defaultval"; then
8451 if test x
"$enablestring" = xdisable
; then
8458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8459 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
8461 # Check whether --enable-aui or --disable-aui was given.
8462 if test "${enable_aui+set}" = set; then
8463 enableval
="$enable_aui"
8465 if test "$enableval" = yes; then
8466 ac_cv_use_aui
='wxUSE_AUI=yes'
8468 ac_cv_use_aui
='wxUSE_AUI=no'
8473 LINE
=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
8474 if test "x$LINE" != x
; then
8475 eval "DEFAULT_$LINE"
8480 ac_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8484 eval "$ac_cv_use_aui"
8485 if test "$no_cache" != 1; then
8486 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8489 if test x"$enablestring" = xdisable; then
8490 if test $wxUSE_AUI = yes; then
8499 echo "$as_me:$LINENO: result: $result" >&5
8500 echo "${ECHO_T}$result" >&6
8504 defaultval=$wxUSE_ALL_FEATURES
8505 if test -z "$defaultval"; then
8506 if test x"$enablestring" = xdisable; then
8513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8514 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6
8516 # Check whether --enable-stc or --disable-stc was given.
8517 if test "${enable_stc+set}" = set; then
8518 enableval="$enable_stc"
8520 if test "$enableval" = yes; then
8521 ac_cv_use_stc='wxUSE_STC
=yes'
8523 ac_cv_use_stc='wxUSE_STC
=no
'
8528 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
8529 if test "x$LINE" != x ; then
8530 eval "DEFAULT_$LINE"
8535 ac_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
8539 eval "$ac_cv_use_stc"
8540 if test "$no_cache" != 1; then
8541 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8544 if test x"$enablestring" = xdisable; then
8545 if test $wxUSE_STC = yes; then
8554 echo "$as_me:$LINENO: result
: $result" >&5
8555 echo "${ECHO_T}$result" >&6
8559 defaultval=$wxUSE_ALL_FEATURES
8560 if test -z "$defaultval"; then
8561 if test x"$enablestring" = xdisable; then
8568 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
8569 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6
8571 # Check whether --enable-constraints or --disable-constraints was given.
8572 if test "${enable_constraints+set}" = set; then
8573 enableval="$enable_constraints"
8575 if test "$enableval" = yes; then
8576 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8578 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8583 LINE=`grep "^wxUSE_CONSTRAINTS
=" ${wx_arg_cache_file}`
8584 if test "x
$LINE" != x ; then
8585 eval "DEFAULT_
$LINE"
8590 ac_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8594 eval "$ac_cv_use_constraints"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8599 if test x
"$enablestring" = xdisable
; then
8600 if test $wxUSE_CONSTRAINTS = yes; then
8606 result
=$wxUSE_CONSTRAINTS
8609 echo "$as_me:$LINENO: result: $result" >&5
8610 echo "${ECHO_T}$result" >&6
8614 defaultval
=$wxUSE_ALL_FEATURES
8615 if test -z "$defaultval"; then
8616 if test x
"$enablestring" = xdisable
; then
8623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8624 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
8626 # Check whether --enable-printarch or --disable-printarch was given.
8627 if test "${enable_printarch+set}" = set; then
8628 enableval
="$enable_printarch"
8630 if test "$enableval" = yes; then
8631 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
8633 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
8638 LINE
=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
8639 if test "x$LINE" != x
; then
8640 eval "DEFAULT_$LINE"
8645 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8649 eval "$ac_cv_use_printarch"
8650 if test "$no_cache" != 1; then
8651 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8654 if test x"$enablestring" = xdisable; then
8655 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8661 result=$wxUSE_PRINTING_ARCHITECTURE
8664 echo "$as_me:$LINENO: result: $result" >&5
8665 echo "${ECHO_T}$result" >&6
8669 defaultval=$wxUSE_ALL_FEATURES
8670 if test -z "$defaultval"; then
8671 if test x"$enablestring" = xdisable; then
8678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8679 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
8681 # Check whether --enable-mdi or --disable-mdi was given.
8682 if test "${enable_mdi+set}" = set; then
8683 enableval="$enable_mdi"
8685 if test "$enableval" = yes; then
8686 ac_cv_use_mdi='wxUSE_MDI
=yes'
8688 ac_cv_use_mdi='wxUSE_MDI
=no
'
8693 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
8694 if test "x$LINE" != x ; then
8695 eval "DEFAULT_$LINE"
8700 ac_cv_use_mdi='wxUSE_MDI
=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8704 eval "$ac_cv_use_mdi"
8705 if test "$no_cache" != 1; then
8706 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8709 if test x"$enablestring" = xdisable; then
8710 if test $wxUSE_MDI = yes; then
8719 echo "$as_me:$LINENO: result
: $result" >&5
8720 echo "${ECHO_T}$result" >&6
8724 defaultval=$wxUSE_ALL_FEATURES
8725 if test -z "$defaultval"; then
8726 if test x"$enablestring" = xdisable; then
8733 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdidoc" >&5
8734 echo $ECHO_N "checking
for --${enablestring:-enable}-mdidoc...
$ECHO_C" >&6
8736 # Check whether --enable-mdidoc or --disable-mdidoc was given.
8737 if test "${enable_mdidoc+set}" = set; then
8738 enableval="$enable_mdidoc"
8740 if test "$enableval" = yes; then
8741 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8743 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8748 LINE=`grep "^wxUSE_MDI_ARCHITECTURE
=" ${wx_arg_cache_file}`
8749 if test "x
$LINE" != x ; then
8750 eval "DEFAULT_
$LINE"
8755 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8759 eval "$ac_cv_use_mdidoc"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8764 if test x
"$enablestring" = xdisable
; then
8765 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8771 result
=$wxUSE_MDI_ARCHITECTURE
8774 echo "$as_me:$LINENO: result: $result" >&5
8775 echo "${ECHO_T}$result" >&6
8779 defaultval
=$wxUSE_ALL_FEATURES
8780 if test -z "$defaultval"; then
8781 if test x
"$enablestring" = xdisable
; then
8788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8789 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
8791 # Check whether --enable-loggui or --disable-loggui was given.
8792 if test "${enable_loggui+set}" = set; then
8793 enableval
="$enable_loggui"
8795 if test "$enableval" = yes; then
8796 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
8798 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
8803 LINE
=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
8804 if test "x$LINE" != x
; then
8805 eval "DEFAULT_$LINE"
8810 ac_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8814 eval "$ac_cv_use_loggui"
8815 if test "$no_cache" != 1; then
8816 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8819 if test x"$enablestring" = xdisable; then
8820 if test $wxUSE_LOGGUI = yes; then
8826 result=$wxUSE_LOGGUI
8829 echo "$as_me:$LINENO: result: $result" >&5
8830 echo "${ECHO_T}$result" >&6
8834 defaultval=$wxUSE_ALL_FEATURES
8835 if test -z "$defaultval"; then
8836 if test x"$enablestring" = xdisable; then
8843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8844 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
8846 # Check whether --enable-logwin or --disable-logwin was given.
8847 if test "${enable_logwin+set}" = set; then
8848 enableval="$enable_logwin"
8850 if test "$enableval" = yes; then
8851 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
8853 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
8858 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
8859 if test "x$LINE" != x ; then
8860 eval "DEFAULT_$LINE"
8865 ac_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8869 eval "$ac_cv_use_logwin"
8870 if test "$no_cache" != 1; then
8871 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8874 if test x"$enablestring" = xdisable; then
8875 if test $wxUSE_LOGWINDOW = yes; then
8881 result=$wxUSE_LOGWINDOW
8884 echo "$as_me:$LINENO: result
: $result" >&5
8885 echo "${ECHO_T}$result" >&6
8889 defaultval=$wxUSE_ALL_FEATURES
8890 if test -z "$defaultval"; then
8891 if test x"$enablestring" = xdisable; then
8898 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
8899 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6
8901 # Check whether --enable-logdialog or --disable-logdialog was given.
8902 if test "${enable_logdialog+set}" = set; then
8903 enableval="$enable_logdialog"
8905 if test "$enableval" = yes; then
8906 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8908 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8913 LINE=`grep "^wxUSE_LOGDIALOG
=" ${wx_arg_cache_file}`
8914 if test "x
$LINE" != x ; then
8915 eval "DEFAULT_
$LINE"
8920 ac_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8924 eval "$ac_cv_use_logdialog"
8925 if test "$no_cache" != 1; then
8926 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8929 if test x
"$enablestring" = xdisable
; then
8930 if test $wxUSE_LOGDIALOG = yes; then
8936 result
=$wxUSE_LOGDIALOG
8939 echo "$as_me:$LINENO: result: $result" >&5
8940 echo "${ECHO_T}$result" >&6
8944 defaultval
=$wxUSE_ALL_FEATURES
8945 if test -z "$defaultval"; then
8946 if test x
"$enablestring" = xdisable
; then
8953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8954 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
8956 # Check whether --enable-webkit or --disable-webkit was given.
8957 if test "${enable_webkit+set}" = set; then
8958 enableval
="$enable_webkit"
8960 if test "$enableval" = yes; then
8961 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
8963 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
8968 LINE
=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
8969 if test "x$LINE" != x
; then
8970 eval "DEFAULT_$LINE"
8975 ac_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8979 eval "$ac_cv_use_webkit"
8980 if test "$no_cache" != 1; then
8981 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8984 if test x"$enablestring" = xdisable; then
8985 if test $wxUSE_WEBKIT = yes; then
8991 result=$wxUSE_WEBKIT
8994 echo "$as_me:$LINENO: result: $result" >&5
8995 echo "${ECHO_T}$result" >&6
8999 defaultval=$wxUSE_ALL_FEATURES
9000 if test -z "$defaultval"; then
9001 if test x"$enablestring" = xdisable; then
9008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9009 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
9011 # Check whether --enable-richtext or --disable-richtext was given.
9012 if test "${enable_richtext+set}" = set; then
9013 enableval="$enable_richtext"
9015 if test "$enableval" = yes; then
9016 ac_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9018 ac_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9023 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9024 if test "x$LINE" != x ; then
9025 eval "DEFAULT_$LINE"
9030 ac_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9034 eval "$ac_cv_use_richtext"
9035 if test "$no_cache" != 1; then
9036 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
9039 if test x"$enablestring" = xdisable; then
9040 if test $wxUSE_RICHTEXT = yes; then
9046 result=$wxUSE_RICHTEXT
9049 echo "$as_me:$LINENO: result
: $result" >&5
9050 echo "${ECHO_T}$result" >&6
9054 defaultval=$wxUSE_ALL_FEATURES
9055 if test -z "$defaultval"; then
9056 if test x"$enablestring" = xdisable; then
9063 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9064 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6
9066 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
9067 if test "${enable_graphics_ctx+set}" = set; then
9068 enableval="$enable_graphics_ctx"
9070 if test "$enableval" = yes; then
9071 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9073 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9078 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT
=" ${wx_arg_cache_file}`
9079 if test "x
$LINE" != x ; then
9080 eval "DEFAULT_
$LINE"
9085 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9089 eval "$ac_cv_use_graphics_ctx"
9090 if test "$no_cache" != 1; then
9091 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
9094 if test x
"$enablestring" = xdisable
; then
9095 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9101 result
=$wxUSE_GRAPHICS_CONTEXT
9104 echo "$as_me:$LINENO: result: $result" >&5
9105 echo "${ECHO_T}$result" >&6
9109 defaultval
=$wxUSE_ALL_FEATURES
9110 if test -z "$defaultval"; then
9111 if test x
"$enablestring" = xdisable
; then
9118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9119 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
9121 # Check whether --enable-postscript or --disable-postscript was given.
9122 if test "${enable_postscript+set}" = set; then
9123 enableval
="$enable_postscript"
9125 if test "$enableval" = yes; then
9126 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9128 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9133 LINE
=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9134 if test "x$LINE" != x
; then
9135 eval "DEFAULT_$LINE"
9140 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9144 eval "$ac_cv_use_postscript"
9145 if test "$no_cache" != 1; then
9146 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
9149 if test x"$enablestring" = xdisable; then
9150 if test $wxUSE_POSTSCRIPT = yes; then
9156 result=$wxUSE_POSTSCRIPT
9159 echo "$as_me:$LINENO: result: $result" >&5
9160 echo "${ECHO_T}$result" >&6
9164 defaultval=$wxUSE_ALL_FEATURES
9165 if test -z "$defaultval"; then
9166 if test x"$enablestring" = xdisable; then
9173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9174 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6
9176 # Check whether --enable-svg or --disable-svg was given.
9177 if test "${enable_svg+set}" = set; then
9178 enableval="$enable_svg"
9180 if test "$enableval" = yes; then
9181 ac_cv_use_svg='wxUSE_SVG
=yes'
9183 ac_cv_use_svg='wxUSE_SVG
=no
'
9188 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
9189 if test "x$LINE" != x ; then
9190 eval "DEFAULT_$LINE"
9195 ac_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9199 eval "$ac_cv_use_svg"
9200 if test "$no_cache" != 1; then
9201 echo $ac_cv_use_svg >> ${wx_arg_cache_file}.tmp
9204 if test x"$enablestring" = xdisable; then
9205 if test $wxUSE_SVG = yes; then
9214 echo "$as_me:$LINENO: result
: $result" >&5
9215 echo "${ECHO_T}$result" >&6
9221 defaultval=$wxUSE_ALL_FEATURES
9222 if test -z "$defaultval"; then
9223 if test x"$enablestring" = xdisable; then
9230 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-clipboard" >&5
9231 echo $ECHO_N "checking
for --${enablestring:-enable}-clipboard...
$ECHO_C" >&6
9233 # Check whether --enable-clipboard or --disable-clipboard was given.
9234 if test "${enable_clipboard+set}" = set; then
9235 enableval="$enable_clipboard"
9237 if test "$enableval" = yes; then
9238 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9240 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9245 LINE=`grep "^wxUSE_CLIPBOARD
=" ${wx_arg_cache_file}`
9246 if test "x
$LINE" != x ; then
9247 eval "DEFAULT_
$LINE"
9252 ac_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9256 eval "$ac_cv_use_clipboard"
9257 if test "$no_cache" != 1; then
9258 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
9261 if test x
"$enablestring" = xdisable
; then
9262 if test $wxUSE_CLIPBOARD = yes; then
9268 result
=$wxUSE_CLIPBOARD
9271 echo "$as_me:$LINENO: result: $result" >&5
9272 echo "${ECHO_T}$result" >&6
9276 defaultval
=$wxUSE_ALL_FEATURES
9277 if test -z "$defaultval"; then
9278 if test x
"$enablestring" = xdisable
; then
9285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9286 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
9288 # Check whether --enable-dnd or --disable-dnd was given.
9289 if test "${enable_dnd+set}" = set; then
9290 enableval
="$enable_dnd"
9292 if test "$enableval" = yes; then
9293 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
9295 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
9300 LINE
=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
9301 if test "x$LINE" != x
; then
9302 eval "DEFAULT_$LINE"
9307 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9311 eval "$ac_cv_use_dnd"
9312 if test "$no_cache" != 1; then
9313 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
9316 if test x"$enablestring" = xdisable; then
9317 if test $wxUSE_DRAG_AND_DROP = yes; then
9323 result=$wxUSE_DRAG_AND_DROP
9326 echo "$as_me:$LINENO: result: $result" >&5
9327 echo "${ECHO_T}$result" >&6
9331 defaultval=$wxUSE_ALL_FEATURES
9332 if test -z "$defaultval"; then
9333 if test x"$enablestring" = xdisable; then
9340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9341 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9343 # Check whether --enable-metafile or --disable-metafile was given.
9344 if test "${enable_metafile+set}" = set; then
9345 enableval="$enable_metafile"
9347 if test "$enableval" = yes; then
9348 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9350 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9355 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
9356 if test "x$LINE" != x ; then
9357 eval "DEFAULT_$LINE"
9362 ac_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9366 eval "$ac_cv_use_metafile"
9367 if test "$no_cache" != 1; then
9368 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9371 if test x"$enablestring" = xdisable; then
9372 if test $wxUSE_METAFILE = yes; then
9378 result=$wxUSE_METAFILE
9381 echo "$as_me:$LINENO: result
: $result" >&5
9382 echo "${ECHO_T}$result" >&6
9388 defaultval=$wxUSE_ALL_FEATURES
9389 if test -z "$defaultval"; then
9390 if test x"$enablestring" = xdisable; then
9397 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-controls" >&5
9398 echo $ECHO_N "checking
for --${enablestring:-enable}-controls...
$ECHO_C" >&6
9400 # Check whether --enable-controls or --disable-controls was given.
9401 if test "${enable_controls+set}" = set; then
9402 enableval="$enable_controls"
9404 if test "$enableval" = yes; then
9405 ac_cv_use_controls='wxUSE_CONTROLS=yes'
9407 ac_cv_use_controls='wxUSE_CONTROLS=no'
9412 LINE=`grep "^wxUSE_CONTROLS
=" ${wx_arg_cache_file}`
9413 if test "x
$LINE" != x ; then
9414 eval "DEFAULT_
$LINE"
9419 ac_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9423 eval "$ac_cv_use_controls"
9424 if test "$no_cache" != 1; then
9425 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
9428 if test x
"$enablestring" = xdisable
; then
9429 if test $wxUSE_CONTROLS = yes; then
9435 result
=$wxUSE_CONTROLS
9438 echo "$as_me:$LINENO: result: $result" >&5
9439 echo "${ECHO_T}$result" >&6
9442 if test "$wxUSE_CONTROLS" = "yes"; then
9443 DEFAULT_wxUSE_ACCEL
=yes
9444 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
9445 DEFAULT_wxUSE_BMPBUTTON
=yes
9446 DEFAULT_wxUSE_BUTTON
=yes
9447 DEFAULT_wxUSE_CALCTRL
=yes
9448 DEFAULT_wxUSE_CARET
=yes
9449 DEFAULT_wxUSE_COMBOBOX
=yes
9450 DEFAULT_wxUSE_CHECKBOX
=yes
9451 DEFAULT_wxUSE_CHECKLISTBOX
=yes
9452 DEFAULT_wxUSE_CHOICE
=yes
9453 DEFAULT_wxUSE_CHOICEBOOK
=yes
9454 DEFAULT_wxUSE_COLLPANE
=yes
9455 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
9456 DEFAULT_wxUSE_COMBOBOX
=yes
9457 DEFAULT_wxUSE_DATEPICKCTRL
=yes
9458 DEFAULT_wxUSE_DISPLAY
=yes
9459 DEFAULT_wxUSE_DETECT_SM
=yes
9460 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
9461 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
9462 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
9463 DEFAULT_wxUSE_GAUGE
=yes
9464 DEFAULT_wxUSE_GRID
=yes
9465 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
9466 DEFAULT_wxUSE_DATAVIEWCTRL
=no
9467 DEFAULT_wxUSE_IMAGLIST
=yes
9468 DEFAULT_wxUSE_LISTBOOK
=yes
9469 DEFAULT_wxUSE_LISTBOX
=yes
9470 DEFAULT_wxUSE_LISTCTRL
=yes
9471 DEFAULT_wxUSE_NOTEBOOK
=yes
9472 DEFAULT_wxUSE_RADIOBOX
=yes
9473 DEFAULT_wxUSE_RADIOBTN
=yes
9474 DEFAULT_wxUSE_SASH
=yes
9475 DEFAULT_wxUSE_SCROLLBAR
=yes
9476 DEFAULT_wxUSE_SEARCHCTRL
=yes
9477 DEFAULT_wxUSE_SLIDER
=yes
9478 DEFAULT_wxUSE_SPINBTN
=yes
9479 DEFAULT_wxUSE_SPINCTRL
=yes
9480 DEFAULT_wxUSE_SPLITTER
=yes
9481 DEFAULT_wxUSE_STATBMP
=yes
9482 DEFAULT_wxUSE_STATBOX
=yes
9483 DEFAULT_wxUSE_STATLINE
=yes
9484 DEFAULT_wxUSE_STATUSBAR
=yes
9485 DEFAULT_wxUSE_TAB_DIALOG
=yes
9486 DEFAULT_wxUSE_TOGGLEBTN
=yes
9487 DEFAULT_wxUSE_TOOLBAR
=yes
9488 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
9489 DEFAULT_wxUSE_TOOLTIPS
=yes
9490 DEFAULT_wxUSE_TREEBOOK
=yes
9491 DEFAULT_wxUSE_TOOLBOOK
=yes
9492 DEFAULT_wxUSE_TREECTRL
=yes
9493 DEFAULT_wxUSE_POPUPWIN
=yes
9494 DEFAULT_wxUSE_TIPWINDOW
=yes
9495 elif test "$wxUSE_CONTROLS" = "no"; then
9496 DEFAULT_wxUSE_ACCEL
=no
9497 DEFAULT_wxUSE_ANIMATIONCTRL
=no
9498 DEFAULT_wxUSE_BMPBUTTON
=no
9499 DEFAULT_wxUSE_BUTTON
=no
9500 DEFAULT_wxUSE_CALCTRL
=no
9501 DEFAULT_wxUSE_CARET
=no
9502 DEFAULT_wxUSE_COLLPANE
=no
9503 DEFAULT_wxUSE_COMBOBOX
=no
9504 DEFAULT_wxUSE_CHECKBOX
=no
9505 DEFAULT_wxUSE_CHECKLISTBOX
=no
9506 DEFAULT_wxUSE_CHOICE
=no
9507 DEFAULT_wxUSE_CHOICEBOOK
=no
9508 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
9509 DEFAULT_wxUSE_COMBOBOX
=no
9510 DEFAULT_wxUSE_DATEPICKCTRL
=no
9511 DEFAULT_wxUSE_DISPLAY
=no
9512 DEFAULT_wxUSE_DETECT_SM
=no
9513 DEFAULT_wxUSE_DIRPICKERCTRL
=no
9514 DEFAULT_wxUSE_FILEPICKERCTRL
=no
9515 DEFAULT_wxUSE_FONTPICKERCTRL
=no
9516 DEFAULT_wxUSE_GAUGE
=no
9517 DEFAULT_wxUSE_GRID
=no
9518 DEFAULT_wxUSE_HYPERLINKCTRL
=no
9519 DEFAULT_wxUSE_DATAVIEWCTRL
=no
9520 DEFAULT_wxUSE_IMAGLIST
=no
9521 DEFAULT_wxUSE_LISTBOOK
=no
9522 DEFAULT_wxUSE_LISTBOX
=no
9523 DEFAULT_wxUSE_LISTCTRL
=no
9524 DEFAULT_wxUSE_NOTEBOOK
=no
9525 DEFAULT_wxUSE_RADIOBOX
=no
9526 DEFAULT_wxUSE_RADIOBTN
=no
9527 DEFAULT_wxUSE_SASH
=no
9528 DEFAULT_wxUSE_SCROLLBAR
=no
9529 DEFAULT_wxUSE_SEARCHCTRL
=no
9530 DEFAULT_wxUSE_SLIDER
=no
9531 DEFAULT_wxUSE_SPINBTN
=no
9532 DEFAULT_wxUSE_SPINCTRL
=no
9533 DEFAULT_wxUSE_SPLITTER
=no
9534 DEFAULT_wxUSE_STATBMP
=no
9535 DEFAULT_wxUSE_STATBOX
=no
9536 DEFAULT_wxUSE_STATLINE
=no
9537 DEFAULT_wxUSE_STATUSBAR
=no
9538 DEFAULT_wxUSE_TAB_DIALOG
=no
9539 DEFAULT_wxUSE_TOGGLEBTN
=no
9540 DEFAULT_wxUSE_TOOLBAR
=no
9541 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
9542 DEFAULT_wxUSE_TOOLTIPS
=no
9543 DEFAULT_wxUSE_TREEBOOK
=no
9544 DEFAULT_wxUSE_TOOLBOOK
=no
9545 DEFAULT_wxUSE_TREECTRL
=no
9546 DEFAULT_wxUSE_POPUPWIN
=no
9547 DEFAULT_wxUSE_TIPWINDOW
=no
9552 defaultval
=$wxUSE_ALL_FEATURES
9553 if test -z "$defaultval"; then
9554 if test x
"$enablestring" = xdisable
; then
9561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9562 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
9564 # Check whether --enable-accel or --disable-accel was given.
9565 if test "${enable_accel+set}" = set; then
9566 enableval
="$enable_accel"
9568 if test "$enableval" = yes; then
9569 ac_cv_use_accel
='wxUSE_ACCEL=yes'
9571 ac_cv_use_accel
='wxUSE_ACCEL=no'
9576 LINE
=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
9577 if test "x$LINE" != x
; then
9578 eval "DEFAULT_$LINE"
9583 ac_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9587 eval "$ac_cv_use_accel"
9588 if test "$no_cache" != 1; then
9589 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
9592 if test x"$enablestring" = xdisable; then
9593 if test $wxUSE_ACCEL = yes; then
9602 echo "$as_me:$LINENO: result: $result" >&5
9603 echo "${ECHO_T}$result" >&6
9607 defaultval=$wxUSE_ALL_FEATURES
9608 if test -z "$defaultval"; then
9609 if test x"$enablestring" = xdisable; then
9616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9617 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
9619 # Check whether --enable-animatectrl or --disable-animatectrl was given.
9620 if test "${enable_animatectrl+set}" = set; then
9621 enableval="$enable_animatectrl"
9623 if test "$enableval" = yes; then
9624 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
9626 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
9631 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
9632 if test "x$LINE" != x ; then
9633 eval "DEFAULT_$LINE"
9638 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9642 eval "$ac_cv_use_animatectrl"
9643 if test "$no_cache" != 1; then
9644 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
9647 if test x"$enablestring" = xdisable; then
9648 if test $wxUSE_ANIMATIONCTRL = yes; then
9654 result=$wxUSE_ANIMATIONCTRL
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}-button" >&5
9672 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6
9674 # Check whether --enable-button or --disable-button was given.
9675 if test "${enable_button+set}" = set; then
9676 enableval="$enable_button"
9678 if test "$enableval" = yes; then
9679 ac_cv_use_button='wxUSE_BUTTON=yes'
9681 ac_cv_use_button='wxUSE_BUTTON=no'
9686 LINE=`grep "^wxUSE_BUTTON
=" ${wx_arg_cache_file}`
9687 if test "x
$LINE" != x ; then
9688 eval "DEFAULT_
$LINE"
9693 ac_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9697 eval "$ac_cv_use_button"
9698 if test "$no_cache" != 1; then
9699 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
9702 if test x
"$enablestring" = xdisable
; then
9703 if test $wxUSE_BUTTON = yes; then
9709 result
=$wxUSE_BUTTON
9712 echo "$as_me:$LINENO: result: $result" >&5
9713 echo "${ECHO_T}$result" >&6
9717 defaultval
=$wxUSE_ALL_FEATURES
9718 if test -z "$defaultval"; then
9719 if test x
"$enablestring" = xdisable
; then
9726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9727 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
9729 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
9730 if test "${enable_bmpbutton+set}" = set; then
9731 enableval
="$enable_bmpbutton"
9733 if test "$enableval" = yes; then
9734 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9736 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9741 LINE
=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
9742 if test "x$LINE" != x
; then
9743 eval "DEFAULT_$LINE"
9748 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9752 eval "$ac_cv_use_bmpbutton"
9753 if test "$no_cache" != 1; then
9754 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
9757 if test x"$enablestring" = xdisable; then
9758 if test $wxUSE_BMPBUTTON = yes; then
9764 result=$wxUSE_BMPBUTTON
9767 echo "$as_me:$LINENO: result: $result" >&5
9768 echo "${ECHO_T}$result" >&6
9772 defaultval=$wxUSE_ALL_FEATURES
9773 if test -z "$defaultval"; then
9774 if test x"$enablestring" = xdisable; then
9781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9782 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
9784 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
9785 if test "${enable_bmpcombobox+set}" = set; then
9786 enableval="$enable_bmpcombobox"
9788 if test "$enableval" = yes; then
9789 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
9791 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
9796 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
9797 if test "x$LINE" != x ; then
9798 eval "DEFAULT_$LINE"
9803 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9807 eval "$ac_cv_use_bmpcombobox"
9808 if test "$no_cache" != 1; then
9809 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9812 if test x"$enablestring" = xdisable; then
9813 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9819 result=$wxUSE_BITMAPCOMBOBOX
9822 echo "$as_me:$LINENO: result
: $result" >&5
9823 echo "${ECHO_T}$result" >&6
9827 defaultval=$wxUSE_ALL_FEATURES
9828 if test -z "$defaultval"; then
9829 if test x"$enablestring" = xdisable; then
9836 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-calendar" >&5
9837 echo $ECHO_N "checking
for --${enablestring:-enable}-calendar...
$ECHO_C" >&6
9839 # Check whether --enable-calendar or --disable-calendar was given.
9840 if test "${enable_calendar+set}" = set; then
9841 enableval="$enable_calendar"
9843 if test "$enableval" = yes; then
9844 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9846 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9851 LINE=`grep "^wxUSE_CALCTRL
=" ${wx_arg_cache_file}`
9852 if test "x
$LINE" != x ; then
9853 eval "DEFAULT_
$LINE"
9858 ac_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9862 eval "$ac_cv_use_calendar"
9863 if test "$no_cache" != 1; then
9864 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9867 if test x
"$enablestring" = xdisable
; then
9868 if test $wxUSE_CALCTRL = yes; then
9874 result
=$wxUSE_CALCTRL
9877 echo "$as_me:$LINENO: result: $result" >&5
9878 echo "${ECHO_T}$result" >&6
9882 defaultval
=$wxUSE_ALL_FEATURES
9883 if test -z "$defaultval"; then
9884 if test x
"$enablestring" = xdisable
; then
9891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
9894 # Check whether --enable-caret or --disable-caret was given.
9895 if test "${enable_caret+set}" = set; then
9896 enableval
="$enable_caret"
9898 if test "$enableval" = yes; then
9899 ac_cv_use_caret
='wxUSE_CARET=yes'
9901 ac_cv_use_caret
='wxUSE_CARET=no'
9906 LINE
=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
9907 if test "x$LINE" != x
; then
9908 eval "DEFAULT_$LINE"
9913 ac_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9917 eval "$ac_cv_use_caret"
9918 if test "$no_cache" != 1; then
9919 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9922 if test x"$enablestring" = xdisable; then
9923 if test $wxUSE_CARET = yes; then
9932 echo "$as_me:$LINENO: result: $result" >&5
9933 echo "${ECHO_T}$result" >&6
9937 defaultval=$wxUSE_ALL_FEATURES
9938 if test -z "$defaultval"; then
9939 if test x"$enablestring" = xdisable; then
9946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9947 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
9949 # Check whether --enable-checkbox or --disable-checkbox was given.
9950 if test "${enable_checkbox+set}" = set; then
9951 enableval="$enable_checkbox"
9953 if test "$enableval" = yes; then
9954 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
9956 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
9961 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
9962 if test "x$LINE" != x ; then
9963 eval "DEFAULT_$LINE"
9968 ac_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9972 eval "$ac_cv_use_checkbox"
9973 if test "$no_cache" != 1; then
9974 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9977 if test x"$enablestring" = xdisable; then
9978 if test $wxUSE_CHECKBOX = yes; then
9984 result=$wxUSE_CHECKBOX
9987 echo "$as_me:$LINENO: result
: $result" >&5
9988 echo "${ECHO_T}$result" >&6
9992 defaultval=$wxUSE_ALL_FEATURES
9993 if test -z "$defaultval"; then
9994 if test x"$enablestring" = xdisable; then
10001 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checklst" >&5
10002 echo $ECHO_N "checking
for --${enablestring:-enable}-checklst...
$ECHO_C" >&6
10004 # Check whether --enable-checklst or --disable-checklst was given.
10005 if test "${enable_checklst+set}" = set; then
10006 enableval="$enable_checklst"
10008 if test "$enableval" = yes; then
10009 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
10011 ac_cv_use_checklst='wxUSE_CHECKLST=no'
10016 LINE=`grep "^wxUSE_CHECKLST
=" ${wx_arg_cache_file}`
10017 if test "x
$LINE" != x ; then
10018 eval "DEFAULT_
$LINE"
10023 ac_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10027 eval "$ac_cv_use_checklst"
10028 if test "$no_cache" != 1; then
10029 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
10032 if test x
"$enablestring" = xdisable
; then
10033 if test $wxUSE_CHECKLST = yes; then
10039 result
=$wxUSE_CHECKLST
10042 echo "$as_me:$LINENO: result: $result" >&5
10043 echo "${ECHO_T}$result" >&6
10047 defaultval
=$wxUSE_ALL_FEATURES
10048 if test -z "$defaultval"; then
10049 if test x
"$enablestring" = xdisable
; then
10056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10057 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
10059 # Check whether --enable-choice or --disable-choice was given.
10060 if test "${enable_choice+set}" = set; then
10061 enableval
="$enable_choice"
10063 if test "$enableval" = yes; then
10064 ac_cv_use_choice
='wxUSE_CHOICE=yes'
10066 ac_cv_use_choice
='wxUSE_CHOICE=no'
10071 LINE
=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10072 if test "x$LINE" != x
; then
10073 eval "DEFAULT_$LINE"
10078 ac_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10082 eval "$ac_cv_use_choice"
10083 if test "$no_cache" != 1; then
10084 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
10087 if test x"$enablestring" = xdisable; then
10088 if test $wxUSE_CHOICE = yes; then
10094 result=$wxUSE_CHOICE
10097 echo "$as_me:$LINENO: result: $result" >&5
10098 echo "${ECHO_T}$result" >&6
10102 defaultval=$wxUSE_ALL_FEATURES
10103 if test -z "$defaultval"; then
10104 if test x"$enablestring" = xdisable; then
10111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10112 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
10114 # Check whether --enable-choicebook or --disable-choicebook was given.
10115 if test "${enable_choicebook+set}" = set; then
10116 enableval="$enable_choicebook"
10118 if test "$enableval" = yes; then
10119 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
10121 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
10126 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10127 if test "x$LINE" != x ; then
10128 eval "DEFAULT_$LINE"
10133 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10137 eval "$ac_cv_use_choicebook"
10138 if test "$no_cache" != 1; then
10139 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
10142 if test x"$enablestring" = xdisable; then
10143 if test $wxUSE_CHOICEBOOK = yes; then
10149 result=$wxUSE_CHOICEBOOK
10152 echo "$as_me:$LINENO: result
: $result" >&5
10153 echo "${ECHO_T}$result" >&6
10157 defaultval=$wxUSE_ALL_FEATURES
10158 if test -z "$defaultval"; then
10159 if test x"$enablestring" = xdisable; then
10166 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-collpane" >&5
10167 echo $ECHO_N "checking
for --${enablestring:-enable}-collpane...
$ECHO_C" >&6
10169 # Check whether --enable-collpane or --disable-collpane was given.
10170 if test "${enable_collpane+set}" = set; then
10171 enableval="$enable_collpane"
10173 if test "$enableval" = yes; then
10174 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
10176 ac_cv_use_collpane='wxUSE_COLLPANE=no'
10181 LINE=`grep "^wxUSE_COLLPANE
=" ${wx_arg_cache_file}`
10182 if test "x
$LINE" != x ; then
10183 eval "DEFAULT_
$LINE"
10188 ac_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10192 eval "$ac_cv_use_collpane"
10193 if test "$no_cache" != 1; then
10194 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
10197 if test x
"$enablestring" = xdisable
; then
10198 if test $wxUSE_COLLPANE = yes; then
10204 result
=$wxUSE_COLLPANE
10207 echo "$as_me:$LINENO: result: $result" >&5
10208 echo "${ECHO_T}$result" >&6
10212 defaultval
=$wxUSE_ALL_FEATURES
10213 if test -z "$defaultval"; then
10214 if test x
"$enablestring" = xdisable
; then
10221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10222 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
10224 # Check whether --enable-colourpicker or --disable-colourpicker was given.
10225 if test "${enable_colourpicker+set}" = set; then
10226 enableval
="$enable_colourpicker"
10228 if test "$enableval" = yes; then
10229 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
10231 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
10236 LINE
=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
10237 if test "x$LINE" != x
; then
10238 eval "DEFAULT_$LINE"
10243 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10247 eval "$ac_cv_use_colourpicker"
10248 if test "$no_cache" != 1; then
10249 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
10252 if test x"$enablestring" = xdisable; then
10253 if test $wxUSE_COLOURPICKERCTRL = yes; then
10259 result=$wxUSE_COLOURPICKERCTRL
10262 echo "$as_me:$LINENO: result: $result" >&5
10263 echo "${ECHO_T}$result" >&6
10267 defaultval=$wxUSE_ALL_FEATURES
10268 if test -z "$defaultval"; then
10269 if test x"$enablestring" = xdisable; then
10276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10277 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
10279 # Check whether --enable-combobox or --disable-combobox was given.
10280 if test "${enable_combobox+set}" = set; then
10281 enableval="$enable_combobox"
10283 if test "$enableval" = yes; then
10284 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
10286 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
10291 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
10292 if test "x$LINE" != x ; then
10293 eval "DEFAULT_$LINE"
10298 ac_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10302 eval "$ac_cv_use_combobox"
10303 if test "$no_cache" != 1; then
10304 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
10307 if test x"$enablestring" = xdisable; then
10308 if test $wxUSE_COMBOBOX = yes; then
10314 result=$wxUSE_COMBOBOX
10317 echo "$as_me:$LINENO: result
: $result" >&5
10318 echo "${ECHO_T}$result" >&6
10322 defaultval=$wxUSE_ALL_FEATURES
10323 if test -z "$defaultval"; then
10324 if test x"$enablestring" = xdisable; then
10331 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-comboctrl" >&5
10332 echo $ECHO_N "checking
for --${enablestring:-enable}-comboctrl...
$ECHO_C" >&6
10334 # Check whether --enable-comboctrl or --disable-comboctrl was given.
10335 if test "${enable_comboctrl+set}" = set; then
10336 enableval="$enable_comboctrl"
10338 if test "$enableval" = yes; then
10339 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10341 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10346 LINE=`grep "^wxUSE_COMBOCTRL
=" ${wx_arg_cache_file}`
10347 if test "x
$LINE" != x ; then
10348 eval "DEFAULT_
$LINE"
10353 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10357 eval "$ac_cv_use_comboctrl"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
10362 if test x
"$enablestring" = xdisable
; then
10363 if test $wxUSE_COMBOCTRL = yes; then
10369 result
=$wxUSE_COMBOCTRL
10372 echo "$as_me:$LINENO: result: $result" >&5
10373 echo "${ECHO_T}$result" >&6
10377 defaultval
=$wxUSE_ALL_FEATURES
10378 if test -z "$defaultval"; then
10379 if test x
"$enablestring" = xdisable
; then
10386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10387 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
10389 # Check whether --enable-datepick or --disable-datepick was given.
10390 if test "${enable_datepick+set}" = set; then
10391 enableval
="$enable_datepick"
10393 if test "$enableval" = yes; then
10394 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
10396 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
10401 LINE
=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
10402 if test "x$LINE" != x
; then
10403 eval "DEFAULT_$LINE"
10408 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10412 eval "$ac_cv_use_datepick"
10413 if test "$no_cache" != 1; then
10414 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
10417 if test x"$enablestring" = xdisable; then
10418 if test $wxUSE_DATEPICKCTRL = yes; then
10424 result=$wxUSE_DATEPICKCTRL
10427 echo "$as_me:$LINENO: result: $result" >&5
10428 echo "${ECHO_T}$result" >&6
10432 defaultval=$wxUSE_ALL_FEATURES
10433 if test -z "$defaultval"; then
10434 if test x"$enablestring" = xdisable; then
10441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
10444 # Check whether --enable-dirpicker or --disable-dirpicker was given.
10445 if test "${enable_dirpicker+set}" = set; then
10446 enableval="$enable_dirpicker"
10448 if test "$enableval" = yes; then
10449 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10451 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10456 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
10457 if test "x$LINE" != x ; then
10458 eval "DEFAULT_$LINE"
10463 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10467 eval "$ac_cv_use_dirpicker"
10468 if test "$no_cache" != 1; then
10469 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
10472 if test x"$enablestring" = xdisable; then
10473 if test $wxUSE_DIRPICKERCTRL = yes; then
10479 result=$wxUSE_DIRPICKERCTRL
10482 echo "$as_me:$LINENO: result
: $result" >&5
10483 echo "${ECHO_T}$result" >&6
10487 defaultval=$wxUSE_ALL_FEATURES
10488 if test -z "$defaultval"; then
10489 if test x"$enablestring" = xdisable; then
10496 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
10497 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6
10499 # Check whether --enable-display or --disable-display was given.
10500 if test "${enable_display+set}" = set; then
10501 enableval="$enable_display"
10503 if test "$enableval" = yes; then
10504 ac_cv_use_display='wxUSE_DISPLAY=yes'
10506 ac_cv_use_display='wxUSE_DISPLAY=no'
10511 LINE=`grep "^wxUSE_DISPLAY
=" ${wx_arg_cache_file}`
10512 if test "x
$LINE" != x ; then
10513 eval "DEFAULT_
$LINE"
10518 ac_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10522 eval "$ac_cv_use_display"
10523 if test "$no_cache" != 1; then
10524 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
10527 if test x
"$enablestring" = xdisable
; then
10528 if test $wxUSE_DISPLAY = yes; then
10534 result
=$wxUSE_DISPLAY
10537 echo "$as_me:$LINENO: result: $result" >&5
10538 echo "${ECHO_T}$result" >&6
10542 defaultval
=$wxUSE_ALL_FEATURES
10543 if test -z "$defaultval"; then
10544 if test x
"$enablestring" = xdisable
; then
10551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10552 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
10554 # Check whether --enable-detect_sm or --disable-detect_sm was given.
10555 if test "${enable_detect_sm+set}" = set; then
10556 enableval
="$enable_detect_sm"
10558 if test "$enableval" = yes; then
10559 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10561 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10566 LINE
=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
10567 if test "x$LINE" != x
; then
10568 eval "DEFAULT_$LINE"
10573 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10577 eval "$ac_cv_use_detect_sm"
10578 if test "$no_cache" != 1; then
10579 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
10582 if test x"$enablestring" = xdisable; then
10583 if test $wxUSE_DETECT_SM = yes; then
10589 result=$wxUSE_DETECT_SM
10592 echo "$as_me:$LINENO: result: $result" >&5
10593 echo "${ECHO_T}$result" >&6
10597 defaultval=$wxUSE_ALL_FEATURES
10598 if test -z "$defaultval"; then
10599 if test x"$enablestring" = xdisable; then
10606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10607 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6
10609 # Check whether --enable-editablebox or --disable-editablebox was given.
10610 if test "${enable_editablebox+set}" = set; then
10611 enableval="$enable_editablebox"
10613 if test "$enableval" = yes; then
10614 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
10616 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
10621 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
10622 if test "x$LINE" != x ; then
10623 eval "DEFAULT_$LINE"
10628 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10632 eval "$ac_cv_use_editablebox"
10633 if test "$no_cache" != 1; then
10634 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
10637 if test x"$enablestring" = xdisable; then
10638 if test $wxUSE_EDITABLELISTBOX = yes; then
10644 result=$wxUSE_EDITABLELISTBOX
10647 echo "$as_me:$LINENO: result
: $result" >&5
10648 echo "${ECHO_T}$result" >&6
10652 defaultval=$wxUSE_ALL_FEATURES
10653 if test -z "$defaultval"; then
10654 if test x"$enablestring" = xdisable; then
10661 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
10662 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6
10664 # Check whether --enable-filepicker or --disable-filepicker was given.
10665 if test "${enable_filepicker+set}" = set; then
10666 enableval="$enable_filepicker"
10668 if test "$enableval" = yes; then
10669 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10671 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10676 LINE=`grep "^wxUSE_FILEPICKERCTRL
=" ${wx_arg_cache_file}`
10677 if test "x
$LINE" != x ; then
10678 eval "DEFAULT_
$LINE"
10683 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10687 eval "$ac_cv_use_filepicker"
10688 if test "$no_cache" != 1; then
10689 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
10692 if test x
"$enablestring" = xdisable
; then
10693 if test $wxUSE_FILEPICKERCTRL = yes; then
10699 result
=$wxUSE_FILEPICKERCTRL
10702 echo "$as_me:$LINENO: result: $result" >&5
10703 echo "${ECHO_T}$result" >&6
10707 defaultval
=$wxUSE_ALL_FEATURES
10708 if test -z "$defaultval"; then
10709 if test x
"$enablestring" = xdisable
; then
10716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10717 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
10719 # Check whether --enable-fontpicker or --disable-fontpicker was given.
10720 if test "${enable_fontpicker+set}" = set; then
10721 enableval
="$enable_fontpicker"
10723 if test "$enableval" = yes; then
10724 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
10726 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
10731 LINE
=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
10732 if test "x$LINE" != x
; then
10733 eval "DEFAULT_$LINE"
10738 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10742 eval "$ac_cv_use_fontpicker"
10743 if test "$no_cache" != 1; then
10744 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
10747 if test x"$enablestring" = xdisable; then
10748 if test $wxUSE_FONTPICKERCTRL = yes; then
10754 result=$wxUSE_FONTPICKERCTRL
10757 echo "$as_me:$LINENO: result: $result" >&5
10758 echo "${ECHO_T}$result" >&6
10762 defaultval=$wxUSE_ALL_FEATURES
10763 if test -z "$defaultval"; then
10764 if test x"$enablestring" = xdisable; then
10771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10772 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
10774 # Check whether --enable-gauge or --disable-gauge was given.
10775 if test "${enable_gauge+set}" = set; then
10776 enableval="$enable_gauge"
10778 if test "$enableval" = yes; then
10779 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
10781 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
10786 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
10787 if test "x$LINE" != x ; then
10788 eval "DEFAULT_$LINE"
10793 ac_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10797 eval "$ac_cv_use_gauge"
10798 if test "$no_cache" != 1; then
10799 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
10802 if test x"$enablestring" = xdisable; then
10803 if test $wxUSE_GAUGE = yes; then
10809 result=$wxUSE_GAUGE
10812 echo "$as_me:$LINENO: result
: $result" >&5
10813 echo "${ECHO_T}$result" >&6
10817 defaultval=$wxUSE_ALL_FEATURES
10818 if test -z "$defaultval"; then
10819 if test x"$enablestring" = xdisable; then
10826 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-grid" >&5
10827 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6
10829 # Check whether --enable-grid or --disable-grid was given.
10830 if test "${enable_grid+set}" = set; then
10831 enableval="$enable_grid"
10833 if test "$enableval" = yes; then
10834 ac_cv_use_grid='wxUSE_GRID=yes'
10836 ac_cv_use_grid='wxUSE_GRID=no'
10841 LINE=`grep "^wxUSE_GRID
=" ${wx_arg_cache_file}`
10842 if test "x
$LINE" != x ; then
10843 eval "DEFAULT_
$LINE"
10848 ac_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10852 eval "$ac_cv_use_grid"
10853 if test "$no_cache" != 1; then
10854 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
10857 if test x
"$enablestring" = xdisable
; then
10858 if test $wxUSE_GRID = yes; then
10867 echo "$as_me:$LINENO: result: $result" >&5
10868 echo "${ECHO_T}$result" >&6
10872 defaultval
=$wxUSE_ALL_FEATURES
10873 if test -z "$defaultval"; then
10874 if test x
"$enablestring" = xdisable
; then
10881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10882 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
10884 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
10885 if test "${enable_dataviewctrl+set}" = set; then
10886 enableval
="$enable_dataviewctrl"
10888 if test "$enableval" = yes; then
10889 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
10891 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
10896 LINE
=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
10897 if test "x$LINE" != x
; then
10898 eval "DEFAULT_$LINE"
10903 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10907 eval "$ac_cv_use_dataviewctrl"
10908 if test "$no_cache" != 1; then
10909 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
10912 if test x"$enablestring" = xdisable; then
10913 if test $wxUSE_DATAVIEWCTRL = yes; then
10919 result=$wxUSE_DATAVIEWCTRL
10922 echo "$as_me:$LINENO: result: $result" >&5
10923 echo "${ECHO_T}$result" >&6
10927 defaultval=$wxUSE_ALL_FEATURES
10928 if test -z "$defaultval"; then
10929 if test x"$enablestring" = xdisable; then
10936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10937 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
10939 # Check whether --enable-hyperlink or --disable-hyperlink was given.
10940 if test "${enable_hyperlink+set}" = set; then
10941 enableval="$enable_hyperlink"
10943 if test "$enableval" = yes; then
10944 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
10946 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
10951 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
10952 if test "x$LINE" != x ; then
10953 eval "DEFAULT_$LINE"
10958 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10962 eval "$ac_cv_use_hyperlink"
10963 if test "$no_cache" != 1; then
10964 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
10967 if test x"$enablestring" = xdisable; then
10968 if test $wxUSE_HYPERLINKCTRL = yes; then
10974 result=$wxUSE_HYPERLINKCTRL
10977 echo "$as_me:$LINENO: result
: $result" >&5
10978 echo "${ECHO_T}$result" >&6
10982 defaultval=$wxUSE_ALL_FEATURES
10983 if test -z "$defaultval"; then
10984 if test x"$enablestring" = xdisable; then
10991 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-imaglist" >&5
10992 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6
10994 # Check whether --enable-imaglist or --disable-imaglist was given.
10995 if test "${enable_imaglist+set}" = set; then
10996 enableval="$enable_imaglist"
10998 if test "$enableval" = yes; then
10999 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11001 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
11006 LINE=`grep "^wxUSE_IMAGLIST
=" ${wx_arg_cache_file}`
11007 if test "x
$LINE" != x ; then
11008 eval "DEFAULT_
$LINE"
11013 ac_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11017 eval "$ac_cv_use_imaglist"
11018 if test "$no_cache" != 1; then
11019 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
11022 if test x
"$enablestring" = xdisable
; then
11023 if test $wxUSE_IMAGLIST = yes; then
11029 result
=$wxUSE_IMAGLIST
11032 echo "$as_me:$LINENO: result: $result" >&5
11033 echo "${ECHO_T}$result" >&6
11037 defaultval
=$wxUSE_ALL_FEATURES
11038 if test -z "$defaultval"; then
11039 if test x
"$enablestring" = xdisable
; then
11046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11047 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
11049 # Check whether --enable-listbook or --disable-listbook was given.
11050 if test "${enable_listbook+set}" = set; then
11051 enableval
="$enable_listbook"
11053 if test "$enableval" = yes; then
11054 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
11056 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
11061 LINE
=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11062 if test "x$LINE" != x
; then
11063 eval "DEFAULT_$LINE"
11068 ac_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11072 eval "$ac_cv_use_listbook"
11073 if test "$no_cache" != 1; then
11074 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
11077 if test x"$enablestring" = xdisable; then
11078 if test $wxUSE_LISTBOOK = yes; then
11084 result=$wxUSE_LISTBOOK
11087 echo "$as_me:$LINENO: result: $result" >&5
11088 echo "${ECHO_T}$result" >&6
11092 defaultval=$wxUSE_ALL_FEATURES
11093 if test -z "$defaultval"; then
11094 if test x"$enablestring" = xdisable; then
11101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11102 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
11104 # Check whether --enable-listbox or --disable-listbox was given.
11105 if test "${enable_listbox+set}" = set; then
11106 enableval="$enable_listbox"
11108 if test "$enableval" = yes; then
11109 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
11111 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
11116 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11117 if test "x$LINE" != x ; then
11118 eval "DEFAULT_$LINE"
11123 ac_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11127 eval "$ac_cv_use_listbox"
11128 if test "$no_cache" != 1; then
11129 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
11132 if test x"$enablestring" = xdisable; then
11133 if test $wxUSE_LISTBOX = yes; then
11139 result=$wxUSE_LISTBOX
11142 echo "$as_me:$LINENO: result
: $result" >&5
11143 echo "${ECHO_T}$result" >&6
11147 defaultval=$wxUSE_ALL_FEATURES
11148 if test -z "$defaultval"; then
11149 if test x"$enablestring" = xdisable; then
11156 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
11157 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6
11159 # Check whether --enable-listctrl or --disable-listctrl was given.
11160 if test "${enable_listctrl+set}" = set; then
11161 enableval="$enable_listctrl"
11163 if test "$enableval" = yes; then
11164 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11166 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
11171 LINE=`grep "^wxUSE_LISTCTRL
=" ${wx_arg_cache_file}`
11172 if test "x
$LINE" != x ; then
11173 eval "DEFAULT_
$LINE"
11178 ac_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11182 eval "$ac_cv_use_listctrl"
11183 if test "$no_cache" != 1; then
11184 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
11187 if test x
"$enablestring" = xdisable
; then
11188 if test $wxUSE_LISTCTRL = yes; then
11194 result
=$wxUSE_LISTCTRL
11197 echo "$as_me:$LINENO: result: $result" >&5
11198 echo "${ECHO_T}$result" >&6
11202 defaultval
=$wxUSE_ALL_FEATURES
11203 if test -z "$defaultval"; then
11204 if test x
"$enablestring" = xdisable
; then
11211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11212 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
11214 # Check whether --enable-notebook or --disable-notebook was given.
11215 if test "${enable_notebook+set}" = set; then
11216 enableval
="$enable_notebook"
11218 if test "$enableval" = yes; then
11219 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
11221 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
11226 LINE
=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
11227 if test "x$LINE" != x
; then
11228 eval "DEFAULT_$LINE"
11233 ac_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11237 eval "$ac_cv_use_notebook"
11238 if test "$no_cache" != 1; then
11239 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
11242 if test x"$enablestring" = xdisable; then
11243 if test $wxUSE_NOTEBOOK = yes; then
11249 result=$wxUSE_NOTEBOOK
11252 echo "$as_me:$LINENO: result: $result" >&5
11253 echo "${ECHO_T}$result" >&6
11257 defaultval=$wxUSE_ALL_FEATURES
11258 if test -z "$defaultval"; then
11259 if test x"$enablestring" = xdisable; then
11266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11267 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
11269 # Check whether --enable-odcombobox or --disable-odcombobox was given.
11270 if test "${enable_odcombobox+set}" = set; then
11271 enableval="$enable_odcombobox"
11273 if test "$enableval" = yes; then
11274 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
11276 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
11281 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
11282 if test "x$LINE" != x ; then
11283 eval "DEFAULT_$LINE"
11288 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11292 eval "$ac_cv_use_odcombobox"
11293 if test "$no_cache" != 1; then
11294 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
11297 if test x"$enablestring" = xdisable; then
11298 if test $wxUSE_ODCOMBOBOX = yes; then
11304 result=$wxUSE_ODCOMBOBOX
11307 echo "$as_me:$LINENO: result
: $result" >&5
11308 echo "${ECHO_T}$result" >&6
11312 defaultval=$wxUSE_ALL_FEATURES
11313 if test -z "$defaultval"; then
11314 if test x"$enablestring" = xdisable; then
11321 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
11322 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6
11324 # Check whether --enable-radiobox or --disable-radiobox was given.
11325 if test "${enable_radiobox+set}" = set; then
11326 enableval="$enable_radiobox"
11328 if test "$enableval" = yes; then
11329 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11331 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
11336 LINE=`grep "^wxUSE_RADIOBOX
=" ${wx_arg_cache_file}`
11337 if test "x
$LINE" != x ; then
11338 eval "DEFAULT_
$LINE"
11343 ac_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11347 eval "$ac_cv_use_radiobox"
11348 if test "$no_cache" != 1; then
11349 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
11352 if test x
"$enablestring" = xdisable
; then
11353 if test $wxUSE_RADIOBOX = yes; then
11359 result
=$wxUSE_RADIOBOX
11362 echo "$as_me:$LINENO: result: $result" >&5
11363 echo "${ECHO_T}$result" >&6
11367 defaultval
=$wxUSE_ALL_FEATURES
11368 if test -z "$defaultval"; then
11369 if test x
"$enablestring" = xdisable
; then
11376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11377 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
11379 # Check whether --enable-radiobtn or --disable-radiobtn was given.
11380 if test "${enable_radiobtn+set}" = set; then
11381 enableval
="$enable_radiobtn"
11383 if test "$enableval" = yes; then
11384 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11386 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11391 LINE
=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
11392 if test "x$LINE" != x
; then
11393 eval "DEFAULT_$LINE"
11398 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11402 eval "$ac_cv_use_radiobtn"
11403 if test "$no_cache" != 1; then
11404 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
11407 if test x"$enablestring" = xdisable; then
11408 if test $wxUSE_RADIOBTN = yes; then
11414 result=$wxUSE_RADIOBTN
11417 echo "$as_me:$LINENO: result: $result" >&5
11418 echo "${ECHO_T}$result" >&6
11422 defaultval=$wxUSE_ALL_FEATURES
11423 if test -z "$defaultval"; then
11424 if test x"$enablestring" = xdisable; then
11431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11432 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
11434 # Check whether --enable-sash or --disable-sash was given.
11435 if test "${enable_sash+set}" = set; then
11436 enableval="$enable_sash"
11438 if test "$enableval" = yes; then
11439 ac_cv_use_sash='wxUSE_SASH
=yes'
11441 ac_cv_use_sash='wxUSE_SASH
=no
'
11446 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
11447 if test "x$LINE" != x ; then
11448 eval "DEFAULT_$LINE"
11453 ac_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11457 eval "$ac_cv_use_sash"
11458 if test "$no_cache" != 1; then
11459 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
11462 if test x"$enablestring" = xdisable; then
11463 if test $wxUSE_SASH = yes; then
11472 echo "$as_me:$LINENO: result
: $result" >&5
11473 echo "${ECHO_T}$result" >&6
11477 defaultval=$wxUSE_ALL_FEATURES
11478 if test -z "$defaultval"; then
11479 if test x"$enablestring" = xdisable; then
11486 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11487 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6
11489 # Check whether --enable-scrollbar or --disable-scrollbar was given.
11490 if test "${enable_scrollbar+set}" = set; then
11491 enableval="$enable_scrollbar"
11493 if test "$enableval" = yes; then
11494 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11496 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11501 LINE=`grep "^wxUSE_SCROLLBAR
=" ${wx_arg_cache_file}`
11502 if test "x
$LINE" != x ; then
11503 eval "DEFAULT_
$LINE"
11508 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11512 eval "$ac_cv_use_scrollbar"
11513 if test "$no_cache" != 1; then
11514 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
11517 if test x
"$enablestring" = xdisable
; then
11518 if test $wxUSE_SCROLLBAR = yes; then
11524 result
=$wxUSE_SCROLLBAR
11527 echo "$as_me:$LINENO: result: $result" >&5
11528 echo "${ECHO_T}$result" >&6
11532 defaultval
=$wxUSE_ALL_FEATURES
11533 if test -z "$defaultval"; then
11534 if test x
"$enablestring" = xdisable
; then
11541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11542 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6
11544 # Check whether --enable-searchctrl or --disable-searchctrl was given.
11545 if test "${enable_searchctrl+set}" = set; then
11546 enableval
="$enable_searchctrl"
11548 if test "$enableval" = yes; then
11549 ac_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11551 ac_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11556 LINE
=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
11557 if test "x$LINE" != x
; then
11558 eval "DEFAULT_$LINE"
11563 ac_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11567 eval "$ac_cv_use_searchctrl"
11568 if test "$no_cache" != 1; then
11569 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
11572 if test x"$enablestring" = xdisable; then
11573 if test $wxUSE_SEARCHCTRL = yes; then
11579 result=$wxUSE_SEARCHCTRL
11582 echo "$as_me:$LINENO: result: $result" >&5
11583 echo "${ECHO_T}$result" >&6
11587 defaultval=$wxUSE_ALL_FEATURES
11588 if test -z "$defaultval"; then
11589 if test x"$enablestring" = xdisable; then
11596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11597 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
11599 # Check whether --enable-slider or --disable-slider was given.
11600 if test "${enable_slider+set}" = set; then
11601 enableval="$enable_slider"
11603 if test "$enableval" = yes; then
11604 ac_cv_use_slider='wxUSE_SLIDER
=yes'
11606 ac_cv_use_slider='wxUSE_SLIDER
=no
'
11611 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
11612 if test "x$LINE" != x ; then
11613 eval "DEFAULT_$LINE"
11618 ac_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11622 eval "$ac_cv_use_slider"
11623 if test "$no_cache" != 1; then
11624 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
11627 if test x"$enablestring" = xdisable; then
11628 if test $wxUSE_SLIDER = yes; then
11634 result=$wxUSE_SLIDER
11637 echo "$as_me:$LINENO: result
: $result" >&5
11638 echo "${ECHO_T}$result" >&6
11642 defaultval=$wxUSE_ALL_FEATURES
11643 if test -z "$defaultval"; then
11644 if test x"$enablestring" = xdisable; then
11651 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11652 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6
11654 # Check whether --enable-spinbtn or --disable-spinbtn was given.
11655 if test "${enable_spinbtn+set}" = set; then
11656 enableval="$enable_spinbtn"
11658 if test "$enableval" = yes; then
11659 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11661 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
11666 LINE=`grep "^wxUSE_SPINBTN
=" ${wx_arg_cache_file}`
11667 if test "x
$LINE" != x ; then
11668 eval "DEFAULT_
$LINE"
11673 ac_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11677 eval "$ac_cv_use_spinbtn"
11678 if test "$no_cache" != 1; then
11679 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
11682 if test x
"$enablestring" = xdisable
; then
11683 if test $wxUSE_SPINBTN = yes; then
11689 result
=$wxUSE_SPINBTN
11692 echo "$as_me:$LINENO: result: $result" >&5
11693 echo "${ECHO_T}$result" >&6
11697 defaultval
=$wxUSE_ALL_FEATURES
11698 if test -z "$defaultval"; then
11699 if test x
"$enablestring" = xdisable
; then
11706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11707 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
11709 # Check whether --enable-spinctrl or --disable-spinctrl was given.
11710 if test "${enable_spinctrl+set}" = set; then
11711 enableval
="$enable_spinctrl"
11713 if test "$enableval" = yes; then
11714 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11716 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11721 LINE
=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
11722 if test "x$LINE" != x
; then
11723 eval "DEFAULT_$LINE"
11728 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11732 eval "$ac_cv_use_spinctrl"
11733 if test "$no_cache" != 1; then
11734 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
11737 if test x"$enablestring" = xdisable; then
11738 if test $wxUSE_SPINCTRL = yes; then
11744 result=$wxUSE_SPINCTRL
11747 echo "$as_me:$LINENO: result: $result" >&5
11748 echo "${ECHO_T}$result" >&6
11752 defaultval=$wxUSE_ALL_FEATURES
11753 if test -z "$defaultval"; then
11754 if test x"$enablestring" = xdisable; then
11761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11762 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
11764 # Check whether --enable-splitter or --disable-splitter was given.
11765 if test "${enable_splitter+set}" = set; then
11766 enableval="$enable_splitter"
11768 if test "$enableval" = yes; then
11769 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
11771 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
11776 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
11777 if test "x$LINE" != x ; then
11778 eval "DEFAULT_$LINE"
11783 ac_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11787 eval "$ac_cv_use_splitter"
11788 if test "$no_cache" != 1; then
11789 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
11792 if test x"$enablestring" = xdisable; then
11793 if test $wxUSE_SPLITTER = yes; then
11799 result=$wxUSE_SPLITTER
11802 echo "$as_me:$LINENO: result
: $result" >&5
11803 echo "${ECHO_T}$result" >&6
11807 defaultval=$wxUSE_ALL_FEATURES
11808 if test -z "$defaultval"; then
11809 if test x"$enablestring" = xdisable; then
11816 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11817 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6
11819 # Check whether --enable-statbmp or --disable-statbmp was given.
11820 if test "${enable_statbmp+set}" = set; then
11821 enableval="$enable_statbmp"
11823 if test "$enableval" = yes; then
11824 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
11826 ac_cv_use_statbmp='wxUSE_STATBMP=no'
11831 LINE=`grep "^wxUSE_STATBMP
=" ${wx_arg_cache_file}`
11832 if test "x
$LINE" != x ; then
11833 eval "DEFAULT_
$LINE"
11838 ac_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11842 eval "$ac_cv_use_statbmp"
11843 if test "$no_cache" != 1; then
11844 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
11847 if test x
"$enablestring" = xdisable
; then
11848 if test $wxUSE_STATBMP = yes; then
11854 result
=$wxUSE_STATBMP
11857 echo "$as_me:$LINENO: result: $result" >&5
11858 echo "${ECHO_T}$result" >&6
11862 defaultval
=$wxUSE_ALL_FEATURES
11863 if test -z "$defaultval"; then
11864 if test x
"$enablestring" = xdisable
; then
11871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11872 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
11874 # Check whether --enable-statbox or --disable-statbox was given.
11875 if test "${enable_statbox+set}" = set; then
11876 enableval
="$enable_statbox"
11878 if test "$enableval" = yes; then
11879 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
11881 ac_cv_use_statbox
='wxUSE_STATBOX=no'
11886 LINE
=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
11887 if test "x$LINE" != x
; then
11888 eval "DEFAULT_$LINE"
11893 ac_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11897 eval "$ac_cv_use_statbox"
11898 if test "$no_cache" != 1; then
11899 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
11902 if test x"$enablestring" = xdisable; then
11903 if test $wxUSE_STATBOX = yes; then
11909 result=$wxUSE_STATBOX
11912 echo "$as_me:$LINENO: result: $result" >&5
11913 echo "${ECHO_T}$result" >&6
11917 defaultval=$wxUSE_ALL_FEATURES
11918 if test -z "$defaultval"; then
11919 if test x"$enablestring" = xdisable; then
11926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11927 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
11929 # Check whether --enable-statline or --disable-statline was given.
11930 if test "${enable_statline+set}" = set; then
11931 enableval="$enable_statline"
11933 if test "$enableval" = yes; then
11934 ac_cv_use_statline='wxUSE_STATLINE
=yes'
11936 ac_cv_use_statline='wxUSE_STATLINE
=no
'
11941 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
11942 if test "x$LINE" != x ; then
11943 eval "DEFAULT_$LINE"
11948 ac_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11952 eval "$ac_cv_use_statline"
11953 if test "$no_cache" != 1; then
11954 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
11957 if test x"$enablestring" = xdisable; then
11958 if test $wxUSE_STATLINE = yes; then
11964 result=$wxUSE_STATLINE
11967 echo "$as_me:$LINENO: result
: $result" >&5
11968 echo "${ECHO_T}$result" >&6
11972 defaultval=$wxUSE_ALL_FEATURES
11973 if test -z "$defaultval"; then
11974 if test x"$enablestring" = xdisable; then
11981 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11982 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6
11984 # Check whether --enable-stattext or --disable-stattext was given.
11985 if test "${enable_stattext+set}" = set; then
11986 enableval="$enable_stattext"
11988 if test "$enableval" = yes; then
11989 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
11991 ac_cv_use_stattext='wxUSE_STATTEXT=no'
11996 LINE=`grep "^wxUSE_STATTEXT
=" ${wx_arg_cache_file}`
11997 if test "x
$LINE" != x ; then
11998 eval "DEFAULT_
$LINE"
12003 ac_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12007 eval "$ac_cv_use_stattext"
12008 if test "$no_cache" != 1; then
12009 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
12012 if test x
"$enablestring" = xdisable
; then
12013 if test $wxUSE_STATTEXT = yes; then
12019 result
=$wxUSE_STATTEXT
12022 echo "$as_me:$LINENO: result: $result" >&5
12023 echo "${ECHO_T}$result" >&6
12027 defaultval
=$wxUSE_ALL_FEATURES
12028 if test -z "$defaultval"; then
12029 if test x
"$enablestring" = xdisable
; then
12036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12037 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
12039 # Check whether --enable-statusbar or --disable-statusbar was given.
12040 if test "${enable_statusbar+set}" = set; then
12041 enableval
="$enable_statusbar"
12043 if test "$enableval" = yes; then
12044 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
12046 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
12051 LINE
=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12052 if test "x$LINE" != x
; then
12053 eval "DEFAULT_$LINE"
12058 ac_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12062 eval "$ac_cv_use_statusbar"
12063 if test "$no_cache" != 1; then
12064 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
12067 if test x"$enablestring" = xdisable; then
12068 if test $wxUSE_STATUSBAR = yes; then
12074 result=$wxUSE_STATUSBAR
12077 echo "$as_me:$LINENO: result: $result" >&5
12078 echo "${ECHO_T}$result" >&6
12082 defaultval=$wxUSE_ALL_FEATURES
12083 if test -z "$defaultval"; then
12084 if test x"$enablestring" = xdisable; then
12091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12092 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
12094 # Check whether --enable-tabdialog or --disable-tabdialog was given.
12095 if test "${enable_tabdialog+set}" = set; then
12096 enableval="$enable_tabdialog"
12098 if test "$enableval" = yes; then
12099 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
12101 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
12106 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12107 if test "x$LINE" != x ; then
12108 eval "DEFAULT_$LINE"
12113 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12117 eval "$ac_cv_use_tabdialog"
12118 if test "$no_cache" != 1; then
12119 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
12122 if test x"$enablestring" = xdisable; then
12123 if test $wxUSE_TAB_DIALOG = yes; then
12129 result=$wxUSE_TAB_DIALOG
12132 echo "$as_me:$LINENO: result
: $result" >&5
12133 echo "${ECHO_T}$result" >&6
12137 defaultval=$wxUSE_ALL_FEATURES
12138 if test -z "$defaultval"; then
12139 if test x"$enablestring" = xdisable; then
12146 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textctrl" >&5
12147 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6
12149 # Check whether --enable-textctrl or --disable-textctrl was given.
12150 if test "${enable_textctrl+set}" = set; then
12151 enableval="$enable_textctrl"
12153 if test "$enableval" = yes; then
12154 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12156 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12161 LINE=`grep "^wxUSE_TEXTCTRL
=" ${wx_arg_cache_file}`
12162 if test "x
$LINE" != x ; then
12163 eval "DEFAULT_
$LINE"
12168 ac_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12172 eval "$ac_cv_use_textctrl"
12173 if test "$no_cache" != 1; then
12174 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
12177 if test x
"$enablestring" = xdisable
; then
12178 if test $wxUSE_TEXTCTRL = yes; then
12184 result
=$wxUSE_TEXTCTRL
12187 echo "$as_me:$LINENO: result: $result" >&5
12188 echo "${ECHO_T}$result" >&6
12192 defaultval
=$wxUSE_ALL_FEATURES
12193 if test -z "$defaultval"; then
12194 if test x
"$enablestring" = xdisable
; then
12201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12202 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
12204 # Check whether --enable-togglebtn or --disable-togglebtn was given.
12205 if test "${enable_togglebtn+set}" = set; then
12206 enableval
="$enable_togglebtn"
12208 if test "$enableval" = yes; then
12209 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
12211 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
12216 LINE
=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
12217 if test "x$LINE" != x
; then
12218 eval "DEFAULT_$LINE"
12223 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12227 eval "$ac_cv_use_togglebtn"
12228 if test "$no_cache" != 1; then
12229 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
12232 if test x"$enablestring" = xdisable; then
12233 if test $wxUSE_TOGGLEBTN = yes; then
12239 result=$wxUSE_TOGGLEBTN
12242 echo "$as_me:$LINENO: result: $result" >&5
12243 echo "${ECHO_T}$result" >&6
12247 defaultval=$wxUSE_ALL_FEATURES
12248 if test -z "$defaultval"; then
12249 if test x"$enablestring" = xdisable; then
12256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12257 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
12259 # Check whether --enable-toolbar or --disable-toolbar was given.
12260 if test "${enable_toolbar+set}" = set; then
12261 enableval="$enable_toolbar"
12263 if test "$enableval" = yes; then
12264 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
12266 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
12271 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
12272 if test "x$LINE" != x ; then
12273 eval "DEFAULT_$LINE"
12278 ac_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12282 eval "$ac_cv_use_toolbar"
12283 if test "$no_cache" != 1; then
12284 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
12287 if test x"$enablestring" = xdisable; then
12288 if test $wxUSE_TOOLBAR = yes; then
12294 result=$wxUSE_TOOLBAR
12297 echo "$as_me:$LINENO: result
: $result" >&5
12298 echo "${ECHO_T}$result" >&6
12302 defaultval=$wxUSE_ALL_FEATURES
12303 if test -z "$defaultval"; then
12304 if test x"$enablestring" = xdisable; then
12311 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
12312 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6
12314 # Check whether --enable-tbarnative or --disable-tbarnative was given.
12315 if test "${enable_tbarnative+set}" = set; then
12316 enableval="$enable_tbarnative"
12318 if test "$enableval" = yes; then
12319 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12321 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12326 LINE=`grep "^wxUSE_TOOLBAR_NATIVE
=" ${wx_arg_cache_file}`
12327 if test "x
$LINE" != x ; then
12328 eval "DEFAULT_
$LINE"
12333 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12337 eval "$ac_cv_use_tbarnative"
12338 if test "$no_cache" != 1; then
12339 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
12342 if test x
"$enablestring" = xdisable
; then
12343 if test $wxUSE_TOOLBAR_NATIVE = yes; then
12349 result
=$wxUSE_TOOLBAR_NATIVE
12352 echo "$as_me:$LINENO: result: $result" >&5
12353 echo "${ECHO_T}$result" >&6
12357 defaultval
=$wxUSE_ALL_FEATURES
12358 if test -z "$defaultval"; then
12359 if test x
"$enablestring" = xdisable
; then
12366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12367 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
12369 # Check whether --enable-treebook or --disable-treebook was given.
12370 if test "${enable_treebook+set}" = set; then
12371 enableval
="$enable_treebook"
12373 if test "$enableval" = yes; then
12374 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
12376 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
12381 LINE
=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
12382 if test "x$LINE" != x
; then
12383 eval "DEFAULT_$LINE"
12388 ac_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12392 eval "$ac_cv_use_treebook"
12393 if test "$no_cache" != 1; then
12394 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
12397 if test x"$enablestring" = xdisable; then
12398 if test $wxUSE_TREEBOOK = yes; then
12404 result=$wxUSE_TREEBOOK
12407 echo "$as_me:$LINENO: result: $result" >&5
12408 echo "${ECHO_T}$result" >&6
12412 defaultval=$wxUSE_ALL_FEATURES
12413 if test -z "$defaultval"; then
12414 if test x"$enablestring" = xdisable; then
12421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12422 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
12424 # Check whether --enable-toolbook or --disable-toolbook was given.
12425 if test "${enable_toolbook+set}" = set; then
12426 enableval="$enable_toolbook"
12428 if test "$enableval" = yes; then
12429 ac_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12431 ac_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12436 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
12437 if test "x$LINE" != x ; then
12438 eval "DEFAULT_$LINE"
12443 ac_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12447 eval "$ac_cv_use_toolbook"
12448 if test "$no_cache" != 1; then
12449 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
12452 if test x"$enablestring" = xdisable; then
12453 if test $wxUSE_TOOLBOOK = yes; then
12459 result=$wxUSE_TOOLBOOK
12462 echo "$as_me:$LINENO: result
: $result" >&5
12463 echo "${ECHO_T}$result" >&6
12467 defaultval=$wxUSE_ALL_FEATURES
12468 if test -z "$defaultval"; then
12469 if test x"$enablestring" = xdisable; then
12476 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treectrl" >&5
12477 echo $ECHO_N "checking
for --${enablestring:-enable}-treectrl...
$ECHO_C" >&6
12479 # Check whether --enable-treectrl or --disable-treectrl was given.
12480 if test "${enable_treectrl+set}" = set; then
12481 enableval="$enable_treectrl"
12483 if test "$enableval" = yes; then
12484 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
12486 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
12491 LINE=`grep "^wxUSE_TREECTRL
=" ${wx_arg_cache_file}`
12492 if test "x
$LINE" != x ; then
12493 eval "DEFAULT_
$LINE"
12498 ac_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12502 eval "$ac_cv_use_treectrl"
12503 if test "$no_cache" != 1; then
12504 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
12507 if test x
"$enablestring" = xdisable
; then
12508 if test $wxUSE_TREECTRL = yes; then
12514 result
=$wxUSE_TREECTRL
12517 echo "$as_me:$LINENO: result: $result" >&5
12518 echo "${ECHO_T}$result" >&6
12522 defaultval
=$wxUSE_ALL_FEATURES
12523 if test -z "$defaultval"; then
12524 if test x
"$enablestring" = xdisable
; then
12531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12532 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
12534 # Check whether --enable-tipwindow or --disable-tipwindow was given.
12535 if test "${enable_tipwindow+set}" = set; then
12536 enableval
="$enable_tipwindow"
12538 if test "$enableval" = yes; then
12539 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
12541 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
12546 LINE
=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
12547 if test "x$LINE" != x
; then
12548 eval "DEFAULT_$LINE"
12553 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12557 eval "$ac_cv_use_tipwindow"
12558 if test "$no_cache" != 1; then
12559 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
12562 if test x"$enablestring" = xdisable; then
12563 if test $wxUSE_TIPWINDOW = yes; then
12569 result=$wxUSE_TIPWINDOW
12572 echo "$as_me:$LINENO: result: $result" >&5
12573 echo "${ECHO_T}$result" >&6
12577 defaultval=$wxUSE_ALL_FEATURES
12578 if test -z "$defaultval"; then
12579 if test x"$enablestring" = xdisable; then
12586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12587 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
12589 # Check whether --enable-popupwin or --disable-popupwin was given.
12590 if test "${enable_popupwin+set}" = set; then
12591 enableval="$enable_popupwin"
12593 if test "$enableval" = yes; then
12594 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
12596 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
12601 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
12602 if test "x$LINE" != x ; then
12603 eval "DEFAULT_$LINE"
12608 ac_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12612 eval "$ac_cv_use_popupwin"
12613 if test "$no_cache" != 1; then
12614 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
12617 if test x"$enablestring" = xdisable; then
12618 if test $wxUSE_POPUPWIN = yes; then
12624 result=$wxUSE_POPUPWIN
12627 echo "$as_me:$LINENO: result
: $result" >&5
12628 echo "${ECHO_T}$result" >&6
12634 defaultval=$wxUSE_ALL_FEATURES
12635 if test -z "$defaultval"; then
12636 if test x"$enablestring" = xdisable; then
12643 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12644 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6
12646 # Check whether --enable-commondlg or --disable-commondlg was given.
12647 if test "${enable_commondlg+set}" = set; then
12648 enableval="$enable_commondlg"
12650 if test "$enableval" = yes; then
12651 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12653 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12658 LINE=`grep "^wxUSE_COMMONDLGS
=" ${wx_arg_cache_file}`
12659 if test "x
$LINE" != x ; then
12660 eval "DEFAULT_
$LINE"
12665 ac_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12669 eval "$ac_cv_use_commondlg"
12670 if test "$no_cache" != 1; then
12671 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
12674 if test x
"$enablestring" = xdisable
; then
12675 if test $wxUSE_COMMONDLGS = yes; then
12681 result
=$wxUSE_COMMONDLGS
12684 echo "$as_me:$LINENO: result: $result" >&5
12685 echo "${ECHO_T}$result" >&6
12689 defaultval
=$wxUSE_ALL_FEATURES
12690 if test -z "$defaultval"; then
12691 if test x
"$enablestring" = xdisable
; then
12698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12699 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
12701 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
12702 if test "${enable_aboutdlg+set}" = set; then
12703 enableval
="$enable_aboutdlg"
12705 if test "$enableval" = yes; then
12706 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12708 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12713 LINE
=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
12714 if test "x$LINE" != x
; then
12715 eval "DEFAULT_$LINE"
12720 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12724 eval "$ac_cv_use_aboutdlg"
12725 if test "$no_cache" != 1; then
12726 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_ABOUTDLG = yes; then
12736 result=$wxUSE_ABOUTDLG
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}-choicedlg" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
12756 # Check whether --enable-choicedlg or --disable-choicedlg was given.
12757 if test "${enable_choicedlg+set}" = set; then
12758 enableval="$enable_choicedlg"
12760 if test "$enableval" = yes; then
12761 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12763 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12768 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
12769 if test "x$LINE" != x ; then
12770 eval "DEFAULT_$LINE"
12775 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12779 eval "$ac_cv_use_choicedlg"
12780 if test "$no_cache" != 1; then
12781 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
12784 if test x"$enablestring" = xdisable; then
12785 if test $wxUSE_CHOICEDLG = yes; then
12791 result=$wxUSE_CHOICEDLG
12794 echo "$as_me:$LINENO: result
: $result" >&5
12795 echo "${ECHO_T}$result" >&6
12799 defaultval=$wxUSE_ALL_FEATURES
12800 if test -z "$defaultval"; then
12801 if test x"$enablestring" = xdisable; then
12808 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12809 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6
12811 # Check whether --enable-coldlg or --disable-coldlg was given.
12812 if test "${enable_coldlg+set}" = set; then
12813 enableval="$enable_coldlg"
12815 if test "$enableval" = yes; then
12816 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12818 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
12823 LINE=`grep "^wxUSE_COLOURDLG
=" ${wx_arg_cache_file}`
12824 if test "x
$LINE" != x ; then
12825 eval "DEFAULT_
$LINE"
12830 ac_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12834 eval "$ac_cv_use_coldlg"
12835 if test "$no_cache" != 1; then
12836 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
12839 if test x
"$enablestring" = xdisable
; then
12840 if test $wxUSE_COLOURDLG = yes; then
12846 result
=$wxUSE_COLOURDLG
12849 echo "$as_me:$LINENO: result: $result" >&5
12850 echo "${ECHO_T}$result" >&6
12854 defaultval
=$wxUSE_ALL_FEATURES
12855 if test -z "$defaultval"; then
12856 if test x
"$enablestring" = xdisable
; then
12863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12864 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
12866 # Check whether --enable-filedlg or --disable-filedlg was given.
12867 if test "${enable_filedlg+set}" = set; then
12868 enableval
="$enable_filedlg"
12870 if test "$enableval" = yes; then
12871 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12873 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
12878 LINE
=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
12879 if test "x$LINE" != x
; then
12880 eval "DEFAULT_$LINE"
12885 ac_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12889 eval "$ac_cv_use_filedlg"
12890 if test "$no_cache" != 1; then
12891 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
12894 if test x"$enablestring" = xdisable; then
12895 if test $wxUSE_FILEDLG = yes; then
12901 result=$wxUSE_FILEDLG
12904 echo "$as_me:$LINENO: result: $result" >&5
12905 echo "${ECHO_T}$result" >&6
12909 defaultval=$wxUSE_ALL_FEATURES
12910 if test -z "$defaultval"; then
12911 if test x"$enablestring" = xdisable; then
12918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12919 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
12921 # Check whether --enable-finddlg or --disable-finddlg was given.
12922 if test "${enable_finddlg+set}" = set; then
12923 enableval="$enable_finddlg"
12925 if test "$enableval" = yes; then
12926 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12928 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12933 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
12934 if test "x$LINE" != x ; then
12935 eval "DEFAULT_$LINE"
12940 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12944 eval "$ac_cv_use_finddlg"
12945 if test "$no_cache" != 1; then
12946 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
12949 if test x"$enablestring" = xdisable; then
12950 if test $wxUSE_FINDREPLDLG = yes; then
12956 result=$wxUSE_FINDREPLDLG
12959 echo "$as_me:$LINENO: result
: $result" >&5
12960 echo "${ECHO_T}$result" >&6
12964 defaultval=$wxUSE_ALL_FEATURES
12965 if test -z "$defaultval"; then
12966 if test x"$enablestring" = xdisable; then
12973 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12974 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6
12976 # Check whether --enable-fontdlg or --disable-fontdlg was given.
12977 if test "${enable_fontdlg+set}" = set; then
12978 enableval="$enable_fontdlg"
12980 if test "$enableval" = yes; then
12981 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12983 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
12988 LINE=`grep "^wxUSE_FONTDLG
=" ${wx_arg_cache_file}`
12989 if test "x
$LINE" != x ; then
12990 eval "DEFAULT_
$LINE"
12995 ac_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12999 eval "$ac_cv_use_fontdlg"
13000 if test "$no_cache" != 1; then
13001 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
13004 if test x
"$enablestring" = xdisable
; then
13005 if test $wxUSE_FONTDLG = yes; then
13011 result
=$wxUSE_FONTDLG
13014 echo "$as_me:$LINENO: result: $result" >&5
13015 echo "${ECHO_T}$result" >&6
13019 defaultval
=$wxUSE_ALL_FEATURES
13020 if test -z "$defaultval"; then
13021 if test x
"$enablestring" = xdisable
; then
13028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13029 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
13031 # Check whether --enable-dirdlg or --disable-dirdlg was given.
13032 if test "${enable_dirdlg+set}" = set; then
13033 enableval
="$enable_dirdlg"
13035 if test "$enableval" = yes; then
13036 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
13038 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
13043 LINE
=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13044 if test "x$LINE" != x
; then
13045 eval "DEFAULT_$LINE"
13050 ac_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13054 eval "$ac_cv_use_dirdlg"
13055 if test "$no_cache" != 1; then
13056 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
13059 if test x"$enablestring" = xdisable; then
13060 if test $wxUSE_DIRDLG = yes; then
13066 result=$wxUSE_DIRDLG
13069 echo "$as_me:$LINENO: result: $result" >&5
13070 echo "${ECHO_T}$result" >&6
13074 defaultval=$wxUSE_ALL_FEATURES
13075 if test -z "$defaultval"; then
13076 if test x"$enablestring" = xdisable; then
13083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13084 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
13086 # Check whether --enable-msgdlg or --disable-msgdlg was given.
13087 if test "${enable_msgdlg+set}" = set; then
13088 enableval="$enable_msgdlg"
13090 if test "$enableval" = yes; then
13091 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
13093 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
13098 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13099 if test "x$LINE" != x ; then
13100 eval "DEFAULT_$LINE"
13105 ac_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13109 eval "$ac_cv_use_msgdlg"
13110 if test "$no_cache" != 1; then
13111 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
13114 if test x"$enablestring" = xdisable; then
13115 if test $wxUSE_MSGDLG = yes; then
13121 result=$wxUSE_MSGDLG
13124 echo "$as_me:$LINENO: result
: $result" >&5
13125 echo "${ECHO_T}$result" >&6
13129 defaultval=$wxUSE_ALL_FEATURES
13130 if test -z "$defaultval"; then
13131 if test x"$enablestring" = xdisable; then
13138 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
13139 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6
13141 # Check whether --enable-numberdlg or --disable-numberdlg was given.
13142 if test "${enable_numberdlg+set}" = set; then
13143 enableval="$enable_numberdlg"
13145 if test "$enableval" = yes; then
13146 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13148 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13153 LINE=`grep "^wxUSE_NUMBERDLG
=" ${wx_arg_cache_file}`
13154 if test "x
$LINE" != x ; then
13155 eval "DEFAULT_
$LINE"
13160 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13164 eval "$ac_cv_use_numberdlg"
13165 if test "$no_cache" != 1; then
13166 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
13169 if test x
"$enablestring" = xdisable
; then
13170 if test $wxUSE_NUMBERDLG = yes; then
13176 result
=$wxUSE_NUMBERDLG
13179 echo "$as_me:$LINENO: result: $result" >&5
13180 echo "${ECHO_T}$result" >&6
13184 defaultval
=$wxUSE_ALL_FEATURES
13185 if test -z "$defaultval"; then
13186 if test x
"$enablestring" = xdisable
; then
13193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13194 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
13196 # Check whether --enable-splash or --disable-splash was given.
13197 if test "${enable_splash+set}" = set; then
13198 enableval
="$enable_splash"
13200 if test "$enableval" = yes; then
13201 ac_cv_use_splash
='wxUSE_SPLASH=yes'
13203 ac_cv_use_splash
='wxUSE_SPLASH=no'
13208 LINE
=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
13209 if test "x$LINE" != x
; then
13210 eval "DEFAULT_$LINE"
13215 ac_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13219 eval "$ac_cv_use_splash"
13220 if test "$no_cache" != 1; then
13221 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
13224 if test x"$enablestring" = xdisable; then
13225 if test $wxUSE_SPLASH = yes; then
13231 result=$wxUSE_SPLASH
13234 echo "$as_me:$LINENO: result: $result" >&5
13235 echo "${ECHO_T}$result" >&6
13239 defaultval=$wxUSE_ALL_FEATURES
13240 if test -z "$defaultval"; then
13241 if test x"$enablestring" = xdisable; then
13248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13249 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
13251 # Check whether --enable-textdlg or --disable-textdlg was given.
13252 if test "${enable_textdlg+set}" = set; then
13253 enableval="$enable_textdlg"
13255 if test "$enableval" = yes; then
13256 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
13258 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
13263 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
13264 if test "x$LINE" != x ; then
13265 eval "DEFAULT_$LINE"
13270 ac_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13274 eval "$ac_cv_use_textdlg"
13275 if test "$no_cache" != 1; then
13276 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
13279 if test x"$enablestring" = xdisable; then
13280 if test $wxUSE_TEXTDLG = yes; then
13286 result=$wxUSE_TEXTDLG
13289 echo "$as_me:$LINENO: result
: $result" >&5
13290 echo "${ECHO_T}$result" >&6
13294 defaultval=$wxUSE_ALL_FEATURES
13295 if test -z "$defaultval"; then
13296 if test x"$enablestring" = xdisable; then
13303 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
13304 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6
13306 # Check whether --enable-tipdlg or --disable-tipdlg was given.
13307 if test "${enable_tipdlg+set}" = set; then
13308 enableval="$enable_tipdlg"
13310 if test "$enableval" = yes; then
13311 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13313 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13318 LINE=`grep "^wxUSE_STARTUP_TIPS
=" ${wx_arg_cache_file}`
13319 if test "x
$LINE" != x ; then
13320 eval "DEFAULT_
$LINE"
13325 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13329 eval "$ac_cv_use_tipdlg"
13330 if test "$no_cache" != 1; then
13331 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
13334 if test x
"$enablestring" = xdisable
; then
13335 if test $wxUSE_STARTUP_TIPS = yes; then
13341 result
=$wxUSE_STARTUP_TIPS
13344 echo "$as_me:$LINENO: result: $result" >&5
13345 echo "${ECHO_T}$result" >&6
13349 defaultval
=$wxUSE_ALL_FEATURES
13350 if test -z "$defaultval"; then
13351 if test x
"$enablestring" = xdisable
; then
13358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13359 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
13361 # Check whether --enable-progressdlg or --disable-progressdlg was given.
13362 if test "${enable_progressdlg+set}" = set; then
13363 enableval
="$enable_progressdlg"
13365 if test "$enableval" = yes; then
13366 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
13368 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
13373 LINE
=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
13374 if test "x$LINE" != x
; then
13375 eval "DEFAULT_$LINE"
13380 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13384 eval "$ac_cv_use_progressdlg"
13385 if test "$no_cache" != 1; then
13386 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
13389 if test x"$enablestring" = xdisable; then
13390 if test $wxUSE_PROGRESSDLG = yes; then
13396 result=$wxUSE_PROGRESSDLG
13399 echo "$as_me:$LINENO: result: $result" >&5
13400 echo "${ECHO_T}$result" >&6
13404 defaultval=$wxUSE_ALL_FEATURES
13405 if test -z "$defaultval"; then
13406 if test x"$enablestring" = xdisable; then
13413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13414 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
13416 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
13417 if test "${enable_wizarddlg+set}" = set; then
13418 enableval="$enable_wizarddlg"
13420 if test "$enableval" = yes; then
13421 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
13423 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
13428 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
13429 if test "x$LINE" != x ; then
13430 eval "DEFAULT_$LINE"
13435 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13439 eval "$ac_cv_use_wizarddlg"
13440 if test "$no_cache" != 1; then
13441 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
13444 if test x"$enablestring" = xdisable; then
13445 if test $wxUSE_WIZARDDLG = yes; then
13451 result=$wxUSE_WIZARDDLG
13454 echo "$as_me:$LINENO: result
: $result" >&5
13455 echo "${ECHO_T}$result" >&6
13461 defaultval=$wxUSE_ALL_FEATURES
13462 if test -z "$defaultval"; then
13463 if test x"$enablestring" = xdisable; then
13470 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
13471 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6
13473 # Check whether --enable-menus or --disable-menus was given.
13474 if test "${enable_menus+set}" = set; then
13475 enableval="$enable_menus"
13477 if test "$enableval" = yes; then
13478 ac_cv_use_menus='wxUSE_MENUS=yes'
13480 ac_cv_use_menus='wxUSE_MENUS=no'
13485 LINE=`grep "^wxUSE_MENUS
=" ${wx_arg_cache_file}`
13486 if test "x
$LINE" != x ; then
13487 eval "DEFAULT_
$LINE"
13492 ac_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13496 eval "$ac_cv_use_menus"
13497 if test "$no_cache" != 1; then
13498 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
13501 if test x
"$enablestring" = xdisable
; then
13502 if test $wxUSE_MENUS = yes; then
13508 result
=$wxUSE_MENUS
13511 echo "$as_me:$LINENO: result: $result" >&5
13512 echo "${ECHO_T}$result" >&6
13516 defaultval
=$wxUSE_ALL_FEATURES
13517 if test -z "$defaultval"; then
13518 if test x
"$enablestring" = xdisable
; then
13525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13526 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
13528 # Check whether --enable-miniframe or --disable-miniframe was given.
13529 if test "${enable_miniframe+set}" = set; then
13530 enableval
="$enable_miniframe"
13532 if test "$enableval" = yes; then
13533 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
13535 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
13540 LINE
=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
13541 if test "x$LINE" != x
; then
13542 eval "DEFAULT_$LINE"
13547 ac_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13551 eval "$ac_cv_use_miniframe"
13552 if test "$no_cache" != 1; then
13553 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
13556 if test x"$enablestring" = xdisable; then
13557 if test $wxUSE_MINIFRAME = yes; then
13563 result=$wxUSE_MINIFRAME
13566 echo "$as_me:$LINENO: result: $result" >&5
13567 echo "${ECHO_T}$result" >&6
13571 defaultval=$wxUSE_ALL_FEATURES
13572 if test -z "$defaultval"; then
13573 if test x"$enablestring" = xdisable; then
13580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13581 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
13583 # Check whether --enable-tooltips or --disable-tooltips was given.
13584 if test "${enable_tooltips+set}" = set; then
13585 enableval="$enable_tooltips"
13587 if test "$enableval" = yes; then
13588 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
13590 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
13595 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
13596 if test "x$LINE" != x ; then
13597 eval "DEFAULT_$LINE"
13602 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13606 eval "$ac_cv_use_tooltips"
13607 if test "$no_cache" != 1; then
13608 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
13611 if test x"$enablestring" = xdisable; then
13612 if test $wxUSE_TOOLTIPS = yes; then
13618 result=$wxUSE_TOOLTIPS
13621 echo "$as_me:$LINENO: result
: $result" >&5
13622 echo "${ECHO_T}$result" >&6
13626 defaultval=$wxUSE_ALL_FEATURES
13627 if test -z "$defaultval"; then
13628 if test x"$enablestring" = xdisable; then
13635 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
13636 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6
13638 # Check whether --enable-splines or --disable-splines was given.
13639 if test "${enable_splines+set}" = set; then
13640 enableval="$enable_splines"
13642 if test "$enableval" = yes; then
13643 ac_cv_use_splines='wxUSE_SPLINES=yes'
13645 ac_cv_use_splines='wxUSE_SPLINES=no'
13650 LINE=`grep "^wxUSE_SPLINES
=" ${wx_arg_cache_file}`
13651 if test "x
$LINE" != x ; then
13652 eval "DEFAULT_
$LINE"
13657 ac_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13661 eval "$ac_cv_use_splines"
13662 if test "$no_cache" != 1; then
13663 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
13666 if test x
"$enablestring" = xdisable
; then
13667 if test $wxUSE_SPLINES = yes; then
13673 result
=$wxUSE_SPLINES
13676 echo "$as_me:$LINENO: result: $result" >&5
13677 echo "${ECHO_T}$result" >&6
13681 defaultval
=$wxUSE_ALL_FEATURES
13682 if test -z "$defaultval"; then
13683 if test x
"$enablestring" = xdisable
; then
13690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13691 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
13693 # Check whether --enable-mousewheel or --disable-mousewheel was given.
13694 if test "${enable_mousewheel+set}" = set; then
13695 enableval
="$enable_mousewheel"
13697 if test "$enableval" = yes; then
13698 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13700 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13705 LINE
=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
13706 if test "x$LINE" != x
; then
13707 eval "DEFAULT_$LINE"
13712 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13716 eval "$ac_cv_use_mousewheel"
13717 if test "$no_cache" != 1; then
13718 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
13721 if test x"$enablestring" = xdisable; then
13722 if test $wxUSE_MOUSEWHEEL = yes; then
13728 result=$wxUSE_MOUSEWHEEL
13731 echo "$as_me:$LINENO: result: $result" >&5
13732 echo "${ECHO_T}$result" >&6
13736 defaultval=$wxUSE_ALL_FEATURES
13737 if test -z "$defaultval"; then
13738 if test x"$enablestring" = xdisable; then
13745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13746 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
13748 # Check whether --enable-validators or --disable-validators was given.
13749 if test "${enable_validators+set}" = set; then
13750 enableval="$enable_validators"
13752 if test "$enableval" = yes; then
13753 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
13755 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
13760 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
13761 if test "x$LINE" != x ; then
13762 eval "DEFAULT_$LINE"
13767 ac_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13771 eval "$ac_cv_use_validators"
13772 if test "$no_cache" != 1; then
13773 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
13776 if test x"$enablestring" = xdisable; then
13777 if test $wxUSE_VALIDATORS = yes; then
13783 result=$wxUSE_VALIDATORS
13786 echo "$as_me:$LINENO: result
: $result" >&5
13787 echo "${ECHO_T}$result" >&6
13791 defaultval=$wxUSE_ALL_FEATURES
13792 if test -z "$defaultval"; then
13793 if test x"$enablestring" = xdisable; then
13800 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13801 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6
13803 # Check whether --enable-busyinfo or --disable-busyinfo was given.
13804 if test "${enable_busyinfo+set}" = set; then
13805 enableval="$enable_busyinfo"
13807 if test "$enableval" = yes; then
13808 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13810 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13815 LINE=`grep "^wxUSE_BUSYINFO
=" ${wx_arg_cache_file}`
13816 if test "x
$LINE" != x ; then
13817 eval "DEFAULT_
$LINE"
13822 ac_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13826 eval "$ac_cv_use_busyinfo"
13827 if test "$no_cache" != 1; then
13828 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
13831 if test x
"$enablestring" = xdisable
; then
13832 if test $wxUSE_BUSYINFO = yes; then
13838 result
=$wxUSE_BUSYINFO
13841 echo "$as_me:$LINENO: result: $result" >&5
13842 echo "${ECHO_T}$result" >&6
13846 defaultval
=$wxUSE_ALL_FEATURES
13847 if test -z "$defaultval"; then
13848 if test x
"$enablestring" = xdisable
; then
13855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13856 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
13858 # Check whether --enable-joystick or --disable-joystick was given.
13859 if test "${enable_joystick+set}" = set; then
13860 enableval
="$enable_joystick"
13862 if test "$enableval" = yes; then
13863 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13865 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
13870 LINE
=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
13871 if test "x$LINE" != x
; then
13872 eval "DEFAULT_$LINE"
13877 ac_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13881 eval "$ac_cv_use_joystick"
13882 if test "$no_cache" != 1; then
13883 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
13886 if test x"$enablestring" = xdisable; then
13887 if test $wxUSE_JOYSTICK = yes; then
13893 result=$wxUSE_JOYSTICK
13896 echo "$as_me:$LINENO: result: $result" >&5
13897 echo "${ECHO_T}$result" >&6
13901 defaultval=$wxUSE_ALL_FEATURES
13902 if test -z "$defaultval"; then
13903 if test x"$enablestring" = xdisable; then
13910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13911 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
13913 # Check whether --enable-metafile or --disable-metafile was given.
13914 if test "${enable_metafile+set}" = set; then
13915 enableval="$enable_metafile"
13917 if test "$enableval" = yes; then
13918 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
13920 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
13925 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
13926 if test "x$LINE" != x ; then
13927 eval "DEFAULT_$LINE"
13932 ac_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13936 eval "$ac_cv_use_metafile"
13937 if test "$no_cache" != 1; then
13938 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
13941 if test x"$enablestring" = xdisable; then
13942 if test $wxUSE_METAFILE = yes; then
13948 result=$wxUSE_METAFILE
13951 echo "$as_me:$LINENO: result
: $result" >&5
13952 echo "${ECHO_T}$result" >&6
13956 defaultval=$wxUSE_ALL_FEATURES
13957 if test -z "$defaultval"; then
13958 if test x"$enablestring" = xdisable; then
13965 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13966 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6
13968 # Check whether --enable-dragimage or --disable-dragimage was given.
13969 if test "${enable_dragimage+set}" = set; then
13970 enableval="$enable_dragimage"
13972 if test "$enableval" = yes; then
13973 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13975 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13980 LINE=`grep "^wxUSE_DRAGIMAGE
=" ${wx_arg_cache_file}`
13981 if test "x
$LINE" != x ; then
13982 eval "DEFAULT_
$LINE"
13987 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13991 eval "$ac_cv_use_dragimage"
13992 if test "$no_cache" != 1; then
13993 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
13996 if test x
"$enablestring" = xdisable
; then
13997 if test $wxUSE_DRAGIMAGE = yes; then
14003 result
=$wxUSE_DRAGIMAGE
14006 echo "$as_me:$LINENO: result: $result" >&5
14007 echo "${ECHO_T}$result" >&6
14011 defaultval
=$wxUSE_ALL_FEATURES
14012 if test -z "$defaultval"; then
14013 if test x
"$enablestring" = xdisable
; then
14020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14021 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
14023 # Check whether --enable-accessibility or --disable-accessibility was given.
14024 if test "${enable_accessibility+set}" = set; then
14025 enableval
="$enable_accessibility"
14027 if test "$enableval" = yes; then
14028 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
14030 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
14035 LINE
=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14036 if test "x$LINE" != x
; then
14037 eval "DEFAULT_$LINE"
14042 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14046 eval "$ac_cv_use_accessibility"
14047 if test "$no_cache" != 1; then
14048 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
14051 if test x"$enablestring" = xdisable; then
14052 if test $wxUSE_ACCESSIBILITY = yes; then
14058 result=$wxUSE_ACCESSIBILITY
14061 echo "$as_me:$LINENO: result: $result" >&5
14062 echo "${ECHO_T}$result" >&6
14065 if test "$wxUSE_MSW" = "1"; then
14068 defaultval=$wxUSE_ALL_FEATURES
14069 if test -z "$defaultval"; then
14070 if test x"$enablestring" = xdisable; then
14077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14078 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
14080 # Check whether --enable-dccache or --disable-dccache was given.
14081 if test "${enable_dccache+set}" = set; then
14082 enableval="$enable_dccache"
14084 if test "$enableval" = yes; then
14085 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
14087 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
14092 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
14093 if test "x$LINE" != x ; then
14094 eval "DEFAULT_$LINE"
14099 ac_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14103 eval "$ac_cv_use_dccache"
14104 if test "$no_cache" != 1; then
14105 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
14108 if test x"$enablestring" = xdisable; then
14109 if test $wxUSE_DC_CACHEING = yes; then
14115 result=$wxUSE_DC_CACHEING
14118 echo "$as_me:$LINENO: result
: $result" >&5
14119 echo "${ECHO_T}$result" >&6
14126 defaultval=$wxUSE_ALL_FEATURES
14127 if test -z "$defaultval"; then
14128 if test x"$enablestring" = xdisable; then
14135 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
14136 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6
14138 # Check whether --enable-palette or --disable-palette was given.
14139 if test "${enable_palette+set}" = set; then
14140 enableval="$enable_palette"
14142 if test "$enableval" = yes; then
14143 ac_cv_use_palette='wxUSE_PALETTE=yes'
14145 ac_cv_use_palette='wxUSE_PALETTE=no'
14150 LINE=`grep "^wxUSE_PALETTE
=" ${wx_arg_cache_file}`
14151 if test "x
$LINE" != x ; then
14152 eval "DEFAULT_
$LINE"
14157 ac_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14161 eval "$ac_cv_use_palette"
14162 if test "$no_cache" != 1; then
14163 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
14166 if test x
"$enablestring" = xdisable
; then
14167 if test $wxUSE_PALETTE = yes; then
14173 result
=$wxUSE_PALETTE
14176 echo "$as_me:$LINENO: result: $result" >&5
14177 echo "${ECHO_T}$result" >&6
14181 defaultval
=$wxUSE_ALL_FEATURES
14182 if test -z "$defaultval"; then
14183 if test x
"$enablestring" = xdisable
; then
14190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14191 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
14193 # Check whether --enable-image or --disable-image was given.
14194 if test "${enable_image+set}" = set; then
14195 enableval
="$enable_image"
14197 if test "$enableval" = yes; then
14198 ac_cv_use_image
='wxUSE_IMAGE=yes'
14200 ac_cv_use_image
='wxUSE_IMAGE=no'
14205 LINE
=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
14206 if test "x$LINE" != x
; then
14207 eval "DEFAULT_$LINE"
14212 ac_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14216 eval "$ac_cv_use_image"
14217 if test "$no_cache" != 1; then
14218 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
14221 if test x"$enablestring" = xdisable; then
14222 if test $wxUSE_IMAGE = yes; then
14228 result=$wxUSE_IMAGE
14231 echo "$as_me:$LINENO: result: $result" >&5
14232 echo "${ECHO_T}$result" >&6
14236 defaultval=$wxUSE_ALL_FEATURES
14237 if test -z "$defaultval"; then
14238 if test x"$enablestring" = xdisable; then
14245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14246 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
14248 # Check whether --enable-gif or --disable-gif was given.
14249 if test "${enable_gif+set}" = set; then
14250 enableval="$enable_gif"
14252 if test "$enableval" = yes; then
14253 ac_cv_use_gif='wxUSE_GIF
=yes'
14255 ac_cv_use_gif='wxUSE_GIF
=no
'
14260 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
14261 if test "x$LINE" != x ; then
14262 eval "DEFAULT_$LINE"
14267 ac_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14271 eval "$ac_cv_use_gif"
14272 if test "$no_cache" != 1; then
14273 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
14276 if test x"$enablestring" = xdisable; then
14277 if test $wxUSE_GIF = yes; then
14286 echo "$as_me:$LINENO: result
: $result" >&5
14287 echo "${ECHO_T}$result" >&6
14291 defaultval=$wxUSE_ALL_FEATURES
14292 if test -z "$defaultval"; then
14293 if test x"$enablestring" = xdisable; then
14300 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
14301 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6
14303 # Check whether --enable-pcx or --disable-pcx was given.
14304 if test "${enable_pcx+set}" = set; then
14305 enableval="$enable_pcx"
14307 if test "$enableval" = yes; then
14308 ac_cv_use_pcx='wxUSE_PCX=yes'
14310 ac_cv_use_pcx='wxUSE_PCX=no'
14315 LINE=`grep "^wxUSE_PCX
=" ${wx_arg_cache_file}`
14316 if test "x
$LINE" != x ; then
14317 eval "DEFAULT_
$LINE"
14322 ac_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14326 eval "$ac_cv_use_pcx"
14327 if test "$no_cache" != 1; then
14328 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
14331 if test x
"$enablestring" = xdisable
; then
14332 if test $wxUSE_PCX = yes; then
14341 echo "$as_me:$LINENO: result: $result" >&5
14342 echo "${ECHO_T}$result" >&6
14346 defaultval
=$wxUSE_ALL_FEATURES
14347 if test -z "$defaultval"; then
14348 if test x
"$enablestring" = xdisable
; then
14355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14356 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
14358 # Check whether --enable-tga or --disable-tga was given.
14359 if test "${enable_tga+set}" = set; then
14360 enableval
="$enable_tga"
14362 if test "$enableval" = yes; then
14363 ac_cv_use_tga
='wxUSE_TGA=yes'
14365 ac_cv_use_tga
='wxUSE_TGA=no'
14370 LINE
=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
14371 if test "x$LINE" != x
; then
14372 eval "DEFAULT_$LINE"
14377 ac_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14381 eval "$ac_cv_use_tga"
14382 if test "$no_cache" != 1; then
14383 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
14386 if test x"$enablestring" = xdisable; then
14387 if test $wxUSE_TGA = yes; then
14396 echo "$as_me:$LINENO: result: $result" >&5
14397 echo "${ECHO_T}$result" >&6
14401 defaultval=$wxUSE_ALL_FEATURES
14402 if test -z "$defaultval"; then
14403 if test x"$enablestring" = xdisable; then
14410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14411 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
14413 # Check whether --enable-iff or --disable-iff was given.
14414 if test "${enable_iff+set}" = set; then
14415 enableval="$enable_iff"
14417 if test "$enableval" = yes; then
14418 ac_cv_use_iff='wxUSE_IFF
=yes'
14420 ac_cv_use_iff='wxUSE_IFF
=no
'
14425 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
14426 if test "x$LINE" != x ; then
14427 eval "DEFAULT_$LINE"
14432 ac_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14436 eval "$ac_cv_use_iff"
14437 if test "$no_cache" != 1; then
14438 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
14441 if test x"$enablestring" = xdisable; then
14442 if test $wxUSE_IFF = yes; then
14451 echo "$as_me:$LINENO: result
: $result" >&5
14452 echo "${ECHO_T}$result" >&6
14456 defaultval=$wxUSE_ALL_FEATURES
14457 if test -z "$defaultval"; then
14458 if test x"$enablestring" = xdisable; then
14465 echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
14466 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6
14468 # Check whether --enable-pnm or --disable-pnm was given.
14469 if test "${enable_pnm+set}" = set; then
14470 enableval="$enable_pnm"
14472 if test "$enableval" = yes; then
14473 ac_cv_use_pnm='wxUSE_PNM=yes'
14475 ac_cv_use_pnm='wxUSE_PNM=no'
14480 LINE=`grep "^wxUSE_PNM
=" ${wx_arg_cache_file}`
14481 if test "x
$LINE" != x ; then
14482 eval "DEFAULT_
$LINE"
14487 ac_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14491 eval "$ac_cv_use_pnm"
14492 if test "$no_cache" != 1; then
14493 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
14496 if test x
"$enablestring" = xdisable
; then
14497 if test $wxUSE_PNM = yes; then
14506 echo "$as_me:$LINENO: result: $result" >&5
14507 echo "${ECHO_T}$result" >&6
14511 defaultval
=$wxUSE_ALL_FEATURES
14512 if test -z "$defaultval"; then
14513 if test x
"$enablestring" = xdisable
; then
14520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14521 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
14523 # Check whether --enable-xpm or --disable-xpm was given.
14524 if test "${enable_xpm+set}" = set; then
14525 enableval
="$enable_xpm"
14527 if test "$enableval" = yes; then
14528 ac_cv_use_xpm
='wxUSE_XPM=yes'
14530 ac_cv_use_xpm
='wxUSE_XPM=no'
14535 LINE
=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
14536 if test "x$LINE" != x
; then
14537 eval "DEFAULT_$LINE"
14542 ac_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14546 eval "$ac_cv_use_xpm"
14547 if test "$no_cache" != 1; then
14548 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
14551 if test x"$enablestring" = xdisable; then
14552 if test $wxUSE_XPM = yes; then
14561 echo "$as_me:$LINENO: result: $result" >&5
14562 echo "${ECHO_T}$result" >&6
14566 defaultval=$wxUSE_ALL_FEATURES
14567 if test -z "$defaultval"; then
14568 if test x"$enablestring" = xdisable; then
14575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14576 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
14578 # Check whether --enable-ico_cur or --disable-ico_cur was given.
14579 if test "${enable_ico_cur+set}" = set; then
14580 enableval="$enable_ico_cur"
14582 if test "$enableval" = yes; then
14583 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
14585 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
14590 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
14591 if test "x$LINE" != x ; then
14592 eval "DEFAULT_$LINE"
14597 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14601 eval "$ac_cv_use_ico_cur"
14602 if test "$no_cache" != 1; then
14603 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
14606 if test x"$enablestring" = xdisable; then
14607 if test $wxUSE_ICO_CUR = yes; then
14613 result=$wxUSE_ICO_CUR
14616 echo "$as_me:$LINENO: result
: $result" >&5
14617 echo "${ECHO_T}$result" >&6
14623 echo "saving argument cache
$wx_arg_cache_file"
14624 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
14628 echo "$as_me:$LINENO: checking
for toolkit
" >&5
14629 echo $ECHO_N "checking
for toolkit...
$ECHO_C" >&6
14631 # In Wine, we need to default to MSW, not GTK or MOTIF
14632 if test "$wxUSE_WINE" = "yes"; then
14633 DEFAULT_DEFAULT_wxUSE_GTK=0
14634 DEFAULT_DEFAULT_wxUSE_MOTIF=0
14635 DEFAULT_DEFAULT_wxUSE_MSW=1
14638 CXX=${CXX:-wineg++}
14642 if test "$wxUSE_GUI" = "yes"; then
14644 if test "$USE_BEOS" = 1; then
14645 { { echo "$as_me:$LINENO: error
: BeOS GUI is not supported yet
, use
--disable-gui" >&5
14646 echo "$as_me: error
: BeOS GUI is not supported yet
, use
--disable-gui" >&2;}
14647 { (exit 1); exit 1; }; }
14650 if test "$TOOLKIT_GIVEN" = 1; then
14651 for toolkit in `echo $ALL_TOOLKITS`; do
14653 eval "value
=\$
${var}"
14654 if test "x
$value" = "xno
"; then
14656 elif test "x
$value" != "x
"; then
14660 if test "x
$value" != "x
" -a "x
$value" != "xyes
" -a "x
$value" != "xno
"; then
14661 eval "wx
${toolkit}_VERSION
=$value"
14665 for toolkit in `echo $ALL_TOOLKITS`; do
14666 if test "$has_toolkit_in_cache" != 1; then
14667 var=DEFAULT_DEFAULT_wxUSE_$toolkit
14669 var=DEFAULT_wxUSE_$toolkit
14671 eval "version
=\
$DEFAULT_wx${toolkit}_VERSION
"
14672 if test "x
$version" != "x
"; then
14673 eval "wx
${toolkit}_VERSION
=$version"
14676 eval "wxUSE_
$toolkit=\$
${var}"
14680 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
14681 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
14682 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
14685 *-pc-os2_emx | *-pc-os2-emx )
14686 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
14689 case "$NUM_TOOLKITS" in
14693 { { echo "$as_me:$LINENO: error
: Please specify a toolkit
-- cannot determine the default
for ${host}" >&5
14694 echo "$as_me: error
: Please specify a toolkit
-- cannot determine the default
for ${host}" >&2;}
14695 { (exit 1); exit 1; }; }
14698 { { echo "$as_me:$LINENO: error
: Please specify
at most one toolkit
(maybe some are cached
in configarg.cache?
)" >&5
14699 echo "$as_me: error
: Please specify
at most one toolkit
(maybe some are cached
in configarg.cache?
)" >&2;}
14700 { (exit 1); exit 1; }; }
14703 # to be removed when --disable-gtk2 isn't needed
14704 if test "x
$wxUSE_GTK2" = "xyes
"; then
14706 elif test "x
$wxUSE_GTK2" = "xno
"; then
14710 for toolkit in `echo $ALL_TOOLKITS`; do
14712 eval "value
=\$
${var}"
14713 if test "x
$value" != x; then
14714 cache_var=CACHE_$toolkit
14715 eval "cache
=\$
${cache_var}"
14716 if test "$cache" = 1; then
14717 echo "$var=$value" >> ${wx_arg_cache_file}
14718 eval "version
=\
$wx${toolkit}_VERSION
"
14719 if test "x
$version" != "x
"; then
14720 echo "wx
${toolkit}_VERSION
=$version" >> ${wx_arg_cache_file}
14723 if test "$value" = 1; then
14724 toolkit_echo=`echo $toolkit | tr "[A
-Z]" "[a
-z]"`
14725 echo "$as_me:$LINENO: result
: $toolkit_echo" >&5
14726 echo "${ECHO_T}$toolkit_echo" >&6
14731 if test "x
$host_alias" != "x
"; then
14732 echo "$as_me:$LINENO: result
: base
($host_alias hosted
) only
" >&5
14733 echo "${ECHO_T}base
($host_alias hosted
) only
" >&6
14735 echo "$as_me:$LINENO: result
: base only
" >&5
14736 echo "${ECHO_T}base only
" >&6
14741 cat >confcache <<\_ACEOF
14742 # This file is a shell script that caches the results of configure
14743 # tests run on this system so they can be shared between configure
14744 # scripts and configure runs, see configure's option --config-cache.
14745 # It is not useful on other systems. If it contains results you don't
14746 # want to keep, you may remove or edit it.
14748 # config.status only pays attention to the cache file if you give it
14749 # the --recheck option to rerun configure.
14751 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14752 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14753 # following values.
14757 # The following way of writing the cache mishandles newlines in values,
14758 # but we know of no workaround that is simple, portable, and efficient.
14759 # So, don't put newlines in cache variables' values.
14760 # Ultrix sh set writes to stderr and can't be redirected directly,
14761 # and sets the high bit in the cache file unless we assign to the vars.
14764 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14766 # `set' does not quote correctly, so add quotes (double-quote
14767 # substitution turns \\\\ into \\, and sed turns \\ into \).
14770 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14773 # `set' quotes correctly as required by POSIX, so do not add quotes.
14775 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
14782 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14784 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14786 if diff $cache_file confcache >/dev/null 2>&1; then :; else
14787 if test -w $cache_file; then
14788 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
14789 cat confcache >$cache_file
14791 echo "not updating unwritable cache
$cache_file"
14801 ac_cpp='$CPP $CPPFLAGS'
14802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14805 if test -n "$ac_tool_prefix"; then
14806 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
14807 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14808 echo "$as_me:$LINENO: checking
for $ac_word" >&5
14809 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
14810 if test "${ac_cv_prog_CC+set}" = set; then
14811 echo $ECHO_N "(cached
) $ECHO_C" >&6
14813 if test -n "$CC"; then
14814 ac_cv_prog_CC="$CC" # Let the user override the test.
14816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14817 for as_dir in $PATH
14820 test -z "$as_dir" && as_dir=.
14821 for ac_exec_ext in '' $ac_executable_extensions; do
14822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14823 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
14824 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14833 if test -n "$CC"; then
14834 echo "$as_me:$LINENO: result
: $CC" >&5
14835 echo "${ECHO_T}$CC" >&6
14837 echo "$as_me:$LINENO: result
: no
" >&5
14838 echo "${ECHO_T}no
" >&6
14842 if test -z "$ac_cv_prog_CC"; then
14844 # Extract the first word of "gcc
", so it can be a program name with args.
14845 set dummy gcc; ac_word=$2
14846 echo "$as_me:$LINENO: checking
for $ac_word" >&5
14847 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
14848 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14849 echo $ECHO_N "(cached
) $ECHO_C" >&6
14851 if test -n "$ac_ct_CC"; then
14852 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14855 for as_dir in $PATH
14858 test -z "$as_dir" && as_dir=.
14859 for ac_exec_ext in '' $ac_executable_extensions; do
14860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14861 ac_cv_prog_ac_ct_CC="gcc
"
14862 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14870 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14871 if test -n "$ac_ct_CC"; then
14872 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14873 echo "${ECHO_T}$ac_ct_CC" >&6
14875 echo "$as_me:$LINENO: result
: no
" >&5
14876 echo "${ECHO_T}no
" >&6
14881 CC="$ac_cv_prog_CC"
14884 if test -z "$CC"; then
14885 if test -n "$ac_tool_prefix"; then
14886 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
14887 set dummy ${ac_tool_prefix}cc; ac_word=$2
14888 echo "$as_me:$LINENO: checking
for $ac_word" >&5
14889 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
14890 if test "${ac_cv_prog_CC+set}" = set; then
14891 echo $ECHO_N "(cached
) $ECHO_C" >&6
14893 if test -n "$CC"; then
14894 ac_cv_prog_CC="$CC" # Let the user override the test.
14896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14897 for as_dir in $PATH
14900 test -z "$as_dir" && as_dir=.
14901 for ac_exec_ext in '' $ac_executable_extensions; do
14902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14903 ac_cv_prog_CC="${ac_tool_prefix}cc
"
14904 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14913 if test -n "$CC"; then
14914 echo "$as_me:$LINENO: result
: $CC" >&5
14915 echo "${ECHO_T}$CC" >&6
14917 echo "$as_me:$LINENO: result
: no
" >&5
14918 echo "${ECHO_T}no
" >&6
14922 if test -z "$ac_cv_prog_CC"; then
14924 # Extract the first word of "cc
", so it can be a program name with args.
14925 set dummy cc; ac_word=$2
14926 echo "$as_me:$LINENO: checking
for $ac_word" >&5
14927 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
14928 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14929 echo $ECHO_N "(cached
) $ECHO_C" >&6
14931 if test -n "$ac_ct_CC"; then
14932 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14935 for as_dir in $PATH
14938 test -z "$as_dir" && as_dir=.
14939 for ac_exec_ext in '' $ac_executable_extensions; do
14940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14941 ac_cv_prog_ac_ct_CC="cc
"
14942 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14950 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14951 if test -n "$ac_ct_CC"; then
14952 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14953 echo "${ECHO_T}$ac_ct_CC" >&6
14955 echo "$as_me:$LINENO: result
: no
" >&5
14956 echo "${ECHO_T}no
" >&6
14961 CC="$ac_cv_prog_CC"
14965 if test -z "$CC"; then
14966 # Extract the first word of "cc
", so it can be a program name with args.
14967 set dummy cc; ac_word=$2
14968 echo "$as_me:$LINENO: checking
for $ac_word" >&5
14969 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
14970 if test "${ac_cv_prog_CC+set}" = set; then
14971 echo $ECHO_N "(cached
) $ECHO_C" >&6
14973 if test -n "$CC"; then
14974 ac_cv_prog_CC="$CC" # Let the user override the test.
14976 ac_prog_rejected=no
14977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14978 for as_dir in $PATH
14981 test -z "$as_dir" && as_dir=.
14982 for ac_exec_ext in '' $ac_executable_extensions; do
14983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14984 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
14985 ac_prog_rejected=yes
14989 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14995 if test $ac_prog_rejected = yes; then
14996 # We found a bogon in the path, so make sure we never use it.
14997 set dummy $ac_cv_prog_CC
14999 if test $# != 0; then
15000 # We chose a different compiler from the bogus one.
15001 # However, it has the same basename, so the bogon will be chosen
15002 # first if we set CC to just the basename; use the full file name.
15004 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
15010 if test -n "$CC"; then
15011 echo "$as_me:$LINENO: result
: $CC" >&5
15012 echo "${ECHO_T}$CC" >&6
15014 echo "$as_me:$LINENO: result
: no
" >&5
15015 echo "${ECHO_T}no
" >&6
15019 if test -z "$CC"; then
15020 if test -n "$ac_tool_prefix"; then
15023 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15024 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15025 echo "$as_me:$LINENO: checking
for $ac_word" >&5
15026 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
15027 if test "${ac_cv_prog_CC+set}" = set; then
15028 echo $ECHO_N "(cached
) $ECHO_C" >&6
15030 if test -n "$CC"; then
15031 ac_cv_prog_CC="$CC" # Let the user override the test.
15033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15034 for as_dir in $PATH
15037 test -z "$as_dir" && as_dir=.
15038 for ac_exec_ext in '' $ac_executable_extensions; do
15039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15040 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15041 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
15050 if test -n "$CC"; then
15051 echo "$as_me:$LINENO: result
: $CC" >&5
15052 echo "${ECHO_T}$CC" >&6
15054 echo "$as_me:$LINENO: result
: no
" >&5
15055 echo "${ECHO_T}no
" >&6
15058 test -n "$CC" && break
15061 if test -z "$CC"; then
15065 # Extract the first word of "$ac_prog", so it can be a program name with args.
15066 set dummy $ac_prog; ac_word=$2
15067 echo "$as_me:$LINENO: checking
for $ac_word" >&5
15068 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
15069 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15070 echo $ECHO_N "(cached
) $ECHO_C" >&6
15072 if test -n "$ac_ct_CC"; then
15073 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15076 for as_dir in $PATH
15079 test -z "$as_dir" && as_dir=.
15080 for ac_exec_ext in '' $ac_executable_extensions; do
15081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15082 ac_cv_prog_ac_ct_CC="$ac_prog"
15083 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
15091 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15092 if test -n "$ac_ct_CC"; then
15093 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
15094 echo "${ECHO_T}$ac_ct_CC" >&6
15096 echo "$as_me:$LINENO: result
: no
" >&5
15097 echo "${ECHO_T}no
" >&6
15100 test -n "$ac_ct_CC" && break
15109 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
15110 See \
`config.log' for more details." >&5
15111 echo "$as_me: error: no acceptable C compiler found in \$PATH
15112 See \`config.log
' for more details." >&2;}
15113 { (exit 1); exit 1; }; }
15115 # Provide some information about the compiler.
15116 echo "$as_me:$LINENO:" \
15117 "checking for C compiler version" >&5
15118 ac_compiler=`set X $ac_compile; echo $2`
15119 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15120 (eval $ac_compiler --version </dev/null >&5) 2>&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); }
15124 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
15125 (eval $ac_compiler -v </dev/null >&5) 2>&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }
15129 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
15130 (eval $ac_compiler -V </dev/null >&5) 2>&5
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); }
15135 cat >conftest.$ac_ext <<_ACEOF
15138 cat confdefs.h >>conftest.$ac_ext
15139 cat >>conftest.$ac_ext <<_ACEOF
15140 /* end confdefs.h. */
15150 ac_clean_files_save=$ac_clean_files
15151 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15152 # Try to create an executable without -o first, disregard a.out.
15153 # It will help us diagnose broken compilers, and finding out an intuition
15155 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15156 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
15157 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
15158 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
15159 (eval $ac_link_default) 2>&5
15161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162 (exit $ac_status); }; then
15163 # Find the output, starting from the most likely. This scheme is
15164 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
15167 # Be careful to initialize this variable, since it used to be cached.
15168 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
15170 # b.out is created by i960 compilers.
15171 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
15173 test -f "$ac_file" || continue
15175 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
15178 # This is the source file.
15181 # We found the default executable, but exeext='' is most
15185 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15186 # FIXME: I believe we export ac_cv_exeext for Libtool,
15187 # but it would be cool to find out if it's true. Does anybody
15188 # maintain Libtool? --akim.
15189 export ac_cv_exeext
15196 echo "$as_me: failed program was:" >&5
15197 sed 's/^/| /' conftest.
$ac_ext >&5
15199 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15200 See \`config.log' for more details." >&5
15201 echo "$as_me: error: C compiler cannot create executables
15202 See \`config.log' for more details." >&2;}
15203 { (exit 77); exit 77; }; }
15206 ac_exeext
=$ac_cv_exeext
15207 echo "$as_me:$LINENO: result: $ac_file" >&5
15208 echo "${ECHO_T}$ac_file" >&6
15210 # Check the compiler produces executables we can run. If not, either
15211 # the compiler is broken, or we cross compile.
15212 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15213 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
15214 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15215 # If not cross compiling, check that we can run a simple program.
15216 if test "$cross_compiling" != yes; then
15217 if { ac_try
='./$ac_file'
15218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15219 (eval $ac_try) 2>&5
15221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15222 (exit $ac_status); }; }; then
15225 if test "$cross_compiling" = maybe
; then
15226 cross_compiling
=yes
15228 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15229 If you meant to cross compile, use \`--host'.
15230 See \`config.log' for more details." >&5
15231 echo "$as_me: error: cannot run C compiled programs.
15232 If you meant to cross compile, use \`--host'.
15233 See \`config.log' for more details." >&2;}
15234 { (exit 1); exit 1; }; }
15238 echo "$as_me:$LINENO: result: yes" >&5
15239 echo "${ECHO_T}yes" >&6
15241 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
15242 ac_clean_files
=$ac_clean_files_save
15243 # Check the compiler produces executables we can run. If not, either
15244 # the compiler is broken, or we cross compile.
15245 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15246 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
15247 echo "$as_me:$LINENO: result: $cross_compiling" >&5
15248 echo "${ECHO_T}$cross_compiling" >&6
15250 echo "$as_me:$LINENO: checking for suffix of executables" >&5
15251 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
15252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15253 (eval $ac_link) 2>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); }; then
15257 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15258 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15259 # work properly (i.e., refer to `conftest.exe'), while it won't with
15261 for ac_file
in conftest.exe conftest conftest.
*; do
15262 test -f "$ac_file" || continue
15264 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
15265 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15266 export ac_cv_exeext
15272 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15273 See \`config.log' for more details." >&5
15274 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15275 See \`config.log' for more details." >&2;}
15276 { (exit 1); exit 1; }; }
15279 rm -f conftest
$ac_cv_exeext
15280 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15281 echo "${ECHO_T}$ac_cv_exeext" >&6
15283 rm -f conftest.
$ac_ext
15284 EXEEXT
=$ac_cv_exeext
15286 echo "$as_me:$LINENO: checking for suffix of object files" >&5
15287 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
15288 if test "${ac_cv_objext+set}" = set; then
15289 echo $ECHO_N "(cached) $ECHO_C" >&6
15291 cat >conftest.
$ac_ext <<_ACEOF
15294 cat confdefs.h
>>conftest.
$ac_ext
15295 cat >>conftest.
$ac_ext <<_ACEOF
15296 /* end confdefs.h. */
15306 rm -f conftest.o conftest.obj
15307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15308 (eval $ac_compile) 2>&5
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); }; then
15312 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
15314 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
15315 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
15320 echo "$as_me: failed program was:" >&5
15321 sed 's/^/| /' conftest.
$ac_ext >&5
15323 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15324 See \`config.log' for more details." >&5
15325 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15326 See \`config.log' for more details." >&2;}
15327 { (exit 1); exit 1; }; }
15330 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
15332 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15333 echo "${ECHO_T}$ac_cv_objext" >&6
15334 OBJEXT
=$ac_cv_objext
15336 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15337 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
15338 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15339 echo $ECHO_N "(cached) $ECHO_C" >&6
15341 cat >conftest.
$ac_ext <<_ACEOF
15344 cat confdefs.h
>>conftest.
$ac_ext
15345 cat >>conftest.
$ac_ext <<_ACEOF
15346 /* end confdefs.h. */
15359 rm -f conftest.
$ac_objext
15360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15361 (eval $ac_compile) 2>conftest.er1
15363 grep -v '^ *+' conftest.er1
>conftest.err
15365 cat conftest.err
>&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } &&
15368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15370 (eval $ac_try) 2>&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); }; } &&
15374 { ac_try
='test -s conftest.$ac_objext'
15375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15376 (eval $ac_try) 2>&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); }; }; then
15380 ac_compiler_gnu
=yes
15382 echo "$as_me: failed program was:" >&5
15383 sed 's/^/| /' conftest.
$ac_ext >&5
15387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15388 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
15391 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15392 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
15393 GCC
=`test $ac_compiler_gnu = yes && echo yes`
15394 ac_test_CFLAGS
=${CFLAGS+set}
15395 ac_save_CFLAGS
=$CFLAGS
15397 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15398 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15399 if test "${ac_cv_prog_cc_g+set}" = set; then
15400 echo $ECHO_N "(cached) $ECHO_C" >&6
15402 cat >conftest.
$ac_ext <<_ACEOF
15405 cat confdefs.h
>>conftest.
$ac_ext
15406 cat >>conftest.
$ac_ext <<_ACEOF
15407 /* end confdefs.h. */
15417 rm -f conftest.
$ac_objext
15418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15419 (eval $ac_compile) 2>conftest.er1
15421 grep -v '^ *+' conftest.er1
>conftest.err
15423 cat conftest.err
>&5
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); } &&
15426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15428 (eval $ac_try) 2>&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); }; } &&
15432 { ac_try
='test -s conftest.$ac_objext'
15433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15434 (eval $ac_try) 2>&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); }; }; then
15438 ac_cv_prog_cc_g
=yes
15440 echo "$as_me: failed program was:" >&5
15441 sed 's/^/| /' conftest.
$ac_ext >&5
15445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15447 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15448 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
15449 if test "$ac_test_CFLAGS" = set; then
15450 CFLAGS
=$ac_save_CFLAGS
15451 elif test $ac_cv_prog_cc_g = yes; then
15452 if test "$GCC" = yes; then
15458 if test "$GCC" = yes; then
15464 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
15465 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
15466 if test "${ac_cv_prog_cc_stdc+set}" = set; then
15467 echo $ECHO_N "(cached) $ECHO_C" >&6
15469 ac_cv_prog_cc_stdc
=no
15471 cat >conftest.
$ac_ext <<_ACEOF
15474 cat confdefs.h
>>conftest.
$ac_ext
15475 cat >>conftest.
$ac_ext <<_ACEOF
15476 /* end confdefs.h. */
15477 #include <stdarg.h>
15479 #include <sys/types.h>
15480 #include <sys/stat.h>
15481 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15482 struct buf { int x; };
15483 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15484 static char *e (p, i)
15490 static char *f (char * (*g) (char **, int), char **p, ...)
15495 s = g (p, va_arg (v,int));
15500 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15501 function prototypes and stuff, but not '\xHH' hex character constants.
15502 These don't provoke an error unfortunately, instead are silently treated
15503 as 'x'. The following induces an error, until -std1 is added to get
15504 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15505 array size at least. It's necessary to write '\x00'==0 to get something
15506 that's true only with -std1. */
15507 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15509 int test (int i, double x);
15510 struct s1 {int (*f) (int a);};
15511 struct s2 {int (*f) (double a);};
15512 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15518 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15523 # Don't try gcc -ansi; that turns off useful extensions and
15524 # breaks some systems' header files.
15525 # AIX -qlanglvl=ansi
15526 # Ultrix and OSF/1 -std1
15527 # HP-UX 10.20 and later -Ae
15528 # HP-UX older versions -Aa -D_HPUX_SOURCE
15529 # SVR4 -Xc -D__EXTENSIONS__
15530 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15532 CC
="$ac_save_CC $ac_arg"
15533 rm -f conftest.
$ac_objext
15534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15535 (eval $ac_compile) 2>conftest.er1
15537 grep -v '^ *+' conftest.er1
>conftest.err
15539 cat conftest.err
>&5
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); } &&
15542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15544 (eval $ac_try) 2>&5
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); }; } &&
15548 { ac_try
='test -s conftest.$ac_objext'
15549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15550 (eval $ac_try) 2>&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; }; then
15554 ac_cv_prog_cc_stdc
=$ac_arg
15557 echo "$as_me: failed program was:" >&5
15558 sed 's/^/| /' conftest.
$ac_ext >&5
15561 rm -f conftest.err conftest.
$ac_objext
15563 rm -f conftest.
$ac_ext conftest.
$ac_objext
15568 case "x$ac_cv_prog_cc_stdc" in
15570 echo "$as_me:$LINENO: result: none needed" >&5
15571 echo "${ECHO_T}none needed" >&6 ;;
15573 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
15574 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
15575 CC
="$CC $ac_cv_prog_cc_stdc" ;;
15578 # Some people use a C++ compiler to compile C. Since we use `exit',
15579 # in C++ we need to declare it. In case someone uses the same compiler
15580 # for both compiling C and C++ we need to have the C++ compiler decide
15581 # the declaration of exit, since it's the most demanding environment.
15582 cat >conftest.
$ac_ext <<_ACEOF
15583 #ifndef __cplusplus
15587 rm -f conftest.
$ac_objext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15589 (eval $ac_compile) 2>conftest.er1
15591 grep -v '^ *+' conftest.er1
>conftest.err
15593 cat conftest.err
>&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); } &&
15596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598 (eval $ac_try) 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; } &&
15602 { ac_try
='test -s conftest.$ac_objext'
15603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15604 (eval $ac_try) 2>&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; }; then
15608 for ac_declaration
in \
15610 'extern "C" void std::exit (int) throw (); using std::exit;' \
15611 'extern "C" void std::exit (int); using std::exit;' \
15612 'extern "C" void exit (int) throw ();' \
15613 'extern "C" void exit (int);' \
15616 cat >conftest.
$ac_ext <<_ACEOF
15619 cat confdefs.h
>>conftest.
$ac_ext
15620 cat >>conftest.
$ac_ext <<_ACEOF
15621 /* end confdefs.h. */
15623 #include <stdlib.h>
15632 rm -f conftest.
$ac_objext
15633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15634 (eval $ac_compile) 2>conftest.er1
15636 grep -v '^ *+' conftest.er1
>conftest.err
15638 cat conftest.err
>&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); } &&
15641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15643 (eval $ac_try) 2>&5
15645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); }; } &&
15647 { ac_try
='test -s conftest.$ac_objext'
15648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15649 (eval $ac_try) 2>&5
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); }; }; then
15655 echo "$as_me: failed program was:" >&5
15656 sed 's/^/| /' conftest.
$ac_ext >&5
15660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15661 cat >conftest.
$ac_ext <<_ACEOF
15664 cat confdefs.h
>>conftest.
$ac_ext
15665 cat >>conftest.
$ac_ext <<_ACEOF
15666 /* end confdefs.h. */
15676 rm -f conftest.
$ac_objext
15677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15678 (eval $ac_compile) 2>conftest.er1
15680 grep -v '^ *+' conftest.er1
>conftest.err
15682 cat conftest.err
>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } &&
15685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; } &&
15691 { ac_try
='test -s conftest.$ac_objext'
15692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15693 (eval $ac_try) 2>&5
15695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 (exit $ac_status); }; }; then
15699 echo "$as_me: failed program was:" >&5
15700 sed 's/^/| /' conftest.
$ac_ext >&5
15703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15706 if test -n "$ac_declaration"; then
15707 echo '#ifdef __cplusplus' >>confdefs.h
15708 echo $ac_declaration >>confdefs.h
15709 echo '#endif' >>confdefs.h
15713 echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.
$ac_ext >&5
15717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15719 ac_cpp
='$CPP $CPPFLAGS'
15720 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15721 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15722 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15728 ac_cpp
='$CPP $CPPFLAGS'
15729 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15730 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15731 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15733 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15734 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
15735 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15736 echo $ECHO_N "(cached) $ECHO_C" >&6
15738 cat >conftest.
$ac_ext <<_ACEOF
15741 cat confdefs.h
>>conftest.
$ac_ext
15742 cat >>conftest.
$ac_ext <<_ACEOF
15743 /* end confdefs.h. */
15749 #ifndef __INTEL_COMPILER
15757 rm -f conftest.
$ac_objext
15758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15759 (eval $ac_compile) 2>conftest.er1
15761 grep -v '^ *+' conftest.er1
>conftest.err
15763 cat conftest.err
>&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } &&
15766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15768 (eval $ac_try) 2>&5
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); }; } &&
15772 { ac_try
='test -s conftest.$ac_objext'
15773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15774 (eval $ac_try) 2>&5
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); }; }; then
15778 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
15780 echo "$as_me: failed program was:" >&5
15781 sed 's/^/| /' conftest.
$ac_ext >&5
15783 bakefile_cv_c_compiler___INTEL_COMPILER
=no
15786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15790 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15791 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
15792 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15798 ac_cpp
='$CPP $CPPFLAGS'
15799 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15800 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15801 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15806 if test "x$GCC" != "xyes"; then
15807 if test "xCC" = "xC"; then
15808 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15809 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
15810 if test "${bakefile_cv_c_exto+set}" = set; then
15811 echo $ECHO_N "(cached) $ECHO_C" >&6
15813 cat >conftest.
$ac_ext <<_ACEOF
15816 cat confdefs.h
>>conftest.
$ac_ext
15817 cat >>conftest.
$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15828 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
15829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15830 (eval $ac_compile) 2>&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; then
15834 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
15836 conftest.
$ac_ext.o
)
15837 bakefile_cv_c_exto
="-ext o"
15844 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15845 See \`config.log' for more details." >&5
15846 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15847 See \`config.log' for more details." >&2;}
15848 { (exit 1); exit 1; }; }
15852 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
15855 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15856 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
15857 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15858 if test "c" = "c"; then
15859 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
15861 if test "c" = "cxx"; then
15862 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
15866 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15867 unset ac_cv_prog_cc_g
15868 ac_test_CFLAGS
=${CFLAGS+set}
15869 ac_save_CFLAGS
=$CFLAGS
15871 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15872 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15873 if test "${ac_cv_prog_cc_g+set}" = set; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15876 cat >conftest.
$ac_ext <<_ACEOF
15879 cat confdefs.h
>>conftest.
$ac_ext
15880 cat >>conftest.
$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15891 rm -f conftest.
$ac_objext
15892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15893 (eval $ac_compile) 2>conftest.er1
15895 grep -v '^ *+' conftest.er1
>conftest.err
15897 cat conftest.err
>&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); } &&
15900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902 (eval $ac_try) 2>&5
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); }; } &&
15906 { ac_try
='test -s conftest.$ac_objext'
15907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15908 (eval $ac_try) 2>&5
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); }; }; then
15912 ac_cv_prog_cc_g
=yes
15914 echo "$as_me: failed program was:" >&5
15915 sed 's/^/| /' conftest.
$ac_ext >&5
15919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15921 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15922 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
15923 if test "$ac_test_CFLAGS" = set; then
15924 CFLAGS
=$ac_save_CFLAGS
15925 elif test $ac_cv_prog_cc_g = yes; then
15926 if test "$GCC" = yes; then
15932 if test "$GCC" = yes; then
15946 ac_cpp
='$CPP $CPPFLAGS'
15947 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15948 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15949 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15951 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15952 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
15953 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15954 echo $ECHO_N "(cached) $ECHO_C" >&6
15956 cat >conftest.
$ac_ext <<_ACEOF
15959 cat confdefs.h
>>conftest.
$ac_ext
15960 cat >>conftest.
$ac_ext <<_ACEOF
15961 /* end confdefs.h. */
15975 rm -f conftest.
$ac_objext
15976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15977 (eval $ac_compile) 2>conftest.er1
15979 grep -v '^ *+' conftest.er1
>conftest.err
15981 cat conftest.err
>&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15986 (eval $ac_try) 2>&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); }; } &&
15990 { ac_try
='test -s conftest.$ac_objext'
15991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15992 (eval $ac_try) 2>&5
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); }; }; then
15996 bakefile_cv_c_compiler___xlC__
=yes
15998 echo "$as_me: failed program was:" >&5
15999 sed 's/^/| /' conftest.
$ac_ext >&5
16001 bakefile_cv_c_compiler___xlC__
=no
16004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16008 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16009 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6
16010 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16016 ac_cpp
='$CPP $CPPFLAGS'
16017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16029 ac_cpp
='$CPP $CPPFLAGS'
16030 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16031 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16032 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16034 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16035 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
16036 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16037 echo $ECHO_N "(cached) $ECHO_C" >&6
16039 cat >conftest.
$ac_ext <<_ACEOF
16042 cat confdefs.h
>>conftest.
$ac_ext
16043 cat >>conftest.
$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16058 rm -f conftest.
$ac_objext
16059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16060 (eval $ac_compile) 2>conftest.er1
16062 grep -v '^ *+' conftest.er1
>conftest.err
16064 cat conftest.err
>&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); } &&
16067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16069 (eval $ac_try) 2>&5
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); }; } &&
16073 { ac_try
='test -s conftest.$ac_objext'
16074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16075 (eval $ac_try) 2>&5
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); }; }; then
16079 bakefile_cv_c_compiler___MWERKS__
=yes
16081 echo "$as_me: failed program was:" >&5
16082 sed 's/^/| /' conftest.
$ac_ext >&5
16084 bakefile_cv_c_compiler___MWERKS__
=no
16087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16091 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16092 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6
16093 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16099 ac_cpp
='$CPP $CPPFLAGS'
16100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16109 ac_cpp
='$CPP $CPPFLAGS'
16110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16114 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16115 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
16116 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16117 echo $ECHO_N "(cached) $ECHO_C" >&6
16119 cat >conftest.
$ac_ext <<_ACEOF
16122 cat confdefs.h
>>conftest.
$ac_ext
16123 cat >>conftest.
$ac_ext <<_ACEOF
16124 /* end confdefs.h. */
16138 rm -f conftest.
$ac_objext
16139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16140 (eval $ac_compile) 2>conftest.er1
16142 grep -v '^ *+' conftest.er1
>conftest.err
16144 cat conftest.err
>&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } &&
16147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; } &&
16153 { ac_try
='test -s conftest.$ac_objext'
16154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16155 (eval $ac_try) 2>&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); }; }; then
16159 bakefile_cv_c_compiler___xlC__
=yes
16161 echo "$as_me: failed program was:" >&5
16162 sed 's/^/| /' conftest.
$ac_ext >&5
16164 bakefile_cv_c_compiler___xlC__
=no
16167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16171 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16172 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6
16173 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16179 ac_cpp
='$CPP $CPPFLAGS'
16180 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16181 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16182 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16192 ac_cpp
='$CPP $CPPFLAGS'
16193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16197 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16198 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
16199 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16202 cat >conftest.
$ac_ext <<_ACEOF
16205 cat confdefs.h
>>conftest.
$ac_ext
16206 cat >>conftest.
$ac_ext <<_ACEOF
16207 /* end confdefs.h. */
16213 #ifndef _SGI_COMPILER_VERSION
16221 rm -f conftest.
$ac_objext
16222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16223 (eval $ac_compile) 2>conftest.er1
16225 grep -v '^ *+' conftest.er1
>conftest.err
16227 cat conftest.err
>&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } &&
16230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; } &&
16236 { ac_try
='test -s conftest.$ac_objext'
16237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16238 (eval $ac_try) 2>&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); }; }; then
16242 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
16244 echo "$as_me: failed program was:" >&5
16245 sed 's/^/| /' conftest.
$ac_ext >&5
16247 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
16250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16254 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16255 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
16256 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16262 ac_cpp
='$CPP $CPPFLAGS'
16263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16275 ac_cpp
='$CPP $CPPFLAGS'
16276 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16277 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16278 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16280 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16281 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
16282 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16283 echo $ECHO_N "(cached) $ECHO_C" >&6
16285 cat >conftest.
$ac_ext <<_ACEOF
16288 cat confdefs.h
>>conftest.
$ac_ext
16289 cat >>conftest.
$ac_ext <<_ACEOF
16290 /* end confdefs.h. */
16304 rm -f conftest.
$ac_objext
16305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16306 (eval $ac_compile) 2>conftest.er1
16308 grep -v '^ *+' conftest.er1
>conftest.err
16310 cat conftest.err
>&5
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); } &&
16313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16315 (eval $ac_try) 2>&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); }; } &&
16319 { ac_try
='test -s conftest.$ac_objext'
16320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16321 (eval $ac_try) 2>&5
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); }; }; then
16325 bakefile_cv_c_compiler___SUNPRO_C
=yes
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.
$ac_ext >&5
16330 bakefile_cv_c_compiler___SUNPRO_C
=no
16333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16337 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16338 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
16339 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16345 ac_cpp
='$CPP $CPPFLAGS'
16346 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16347 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16348 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16358 ac_cpp
='$CPP $CPPFLAGS'
16359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16363 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16364 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
16365 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16366 echo $ECHO_N "(cached) $ECHO_C" >&6
16368 cat >conftest.
$ac_ext <<_ACEOF
16371 cat confdefs.h
>>conftest.
$ac_ext
16372 cat >>conftest.
$ac_ext <<_ACEOF
16373 /* end confdefs.h. */
16387 rm -f conftest.
$ac_objext
16388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16389 (eval $ac_compile) 2>conftest.er1
16391 grep -v '^ *+' conftest.er1
>conftest.err
16393 cat conftest.err
>&5
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); } &&
16396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16398 (eval $ac_try) 2>&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); }; } &&
16402 { ac_try
='test -s conftest.$ac_objext'
16403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16404 (eval $ac_try) 2>&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); }; }; then
16408 bakefile_cv_c_compiler___HP_cc
=yes
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.
$ac_ext >&5
16413 bakefile_cv_c_compiler___HP_cc
=no
16416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16420 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16421 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
16422 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16428 ac_cpp
='$CPP $CPPFLAGS'
16429 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16430 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16431 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16441 ac_cpp
='$CPP $CPPFLAGS'
16442 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16443 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16444 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16446 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16447 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
16448 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16449 echo $ECHO_N "(cached) $ECHO_C" >&6
16451 cat >conftest.
$ac_ext <<_ACEOF
16454 cat confdefs.h
>>conftest.
$ac_ext
16455 cat >>conftest.
$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16470 rm -f conftest.
$ac_objext
16471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16472 (eval $ac_compile) 2>conftest.er1
16474 grep -v '^ *+' conftest.er1
>conftest.err
16476 cat conftest.err
>&5
16477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); } &&
16479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16481 (eval $ac_try) 2>&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); }; } &&
16485 { ac_try
='test -s conftest.$ac_objext'
16486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16487 (eval $ac_try) 2>&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; }; then
16491 bakefile_cv_c_compiler___DECC
=yes
16493 echo "$as_me: failed program was:" >&5
16494 sed 's/^/| /' conftest.
$ac_ext >&5
16496 bakefile_cv_c_compiler___DECC
=no
16499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16503 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16504 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
16505 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16511 ac_cpp
='$CPP $CPPFLAGS'
16512 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16513 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16514 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16524 ac_cpp
='$CPP $CPPFLAGS'
16525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16529 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16530 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
16531 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16532 echo $ECHO_N "(cached) $ECHO_C" >&6
16534 cat >conftest.
$ac_ext <<_ACEOF
16537 cat confdefs.h
>>conftest.
$ac_ext
16538 cat >>conftest.
$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16553 rm -f conftest.
$ac_objext
16554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16555 (eval $ac_compile) 2>conftest.er1
16557 grep -v '^ *+' conftest.er1
>conftest.err
16559 cat conftest.err
>&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); } &&
16562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16564 (eval $ac_try) 2>&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); }; } &&
16568 { ac_try
='test -s conftest.$ac_objext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16574 bakefile_cv_c_compiler___SUNPRO_C
=yes
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.
$ac_ext >&5
16579 bakefile_cv_c_compiler___SUNPRO_C
=no
16582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16586 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16587 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
16588 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16594 ac_cpp
='$CPP $CPPFLAGS'
16595 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16596 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16597 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16608 ac_cpp
='$CPP $CPPFLAGS'
16609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16612 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16613 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
16614 # On Suns, sometimes $CPP names a directory.
16615 if test -n "$CPP" && test -d "$CPP"; then
16618 if test -z "$CPP"; then
16619 if test "${ac_cv_prog_CPP+set}" = set; then
16620 echo $ECHO_N "(cached) $ECHO_C" >&6
16622 # Double quotes because CPP needs to be expanded
16623 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16625 ac_preproc_ok
=false
16626 for ac_c_preproc_warn_flag
in '' yes
16628 # Use a header file that comes with gcc, so configuring glibc
16629 # with a fresh cross-compiler works.
16630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16631 # <limits.h> exists even on freestanding compilers.
16632 # On the NeXT, cc -E runs the code through the compiler's parser,
16633 # not just through cpp. "Syntax error" is here to catch this case.
16634 cat >conftest.
$ac_ext <<_ACEOF
16637 cat confdefs.h
>>conftest.
$ac_ext
16638 cat >>conftest.
$ac_ext <<_ACEOF
16639 /* end confdefs.h. */
16641 # include <limits.h>
16643 # include <assert.h>
16647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16648 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16650 grep -v '^ *+' conftest.er1
>conftest.err
16652 cat conftest.err
>&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); } >/dev
/null
; then
16655 if test -s conftest.err
; then
16656 ac_cpp_err
=$ac_c_preproc_warn_flag
16657 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16664 if test -z "$ac_cpp_err"; then
16667 echo "$as_me: failed program was:" >&5
16668 sed 's/^/| /' conftest.
$ac_ext >&5
16670 # Broken: fails on valid input.
16673 rm -f conftest.err conftest.
$ac_ext
16675 # OK, works on sane cases. Now check whether non-existent headers
16676 # can be detected and how.
16677 cat >conftest.
$ac_ext <<_ACEOF
16680 cat confdefs.h
>>conftest.
$ac_ext
16681 cat >>conftest.
$ac_ext <<_ACEOF
16682 /* end confdefs.h. */
16683 #include <ac_nonexistent.h>
16685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16686 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16688 grep -v '^ *+' conftest.er1
>conftest.err
16690 cat conftest.err
>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); } >/dev
/null
; then
16693 if test -s conftest.err
; then
16694 ac_cpp_err
=$ac_c_preproc_warn_flag
16695 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16702 if test -z "$ac_cpp_err"; then
16703 # Broken: success on invalid input.
16706 echo "$as_me: failed program was:" >&5
16707 sed 's/^/| /' conftest.
$ac_ext >&5
16709 # Passes both tests.
16713 rm -f conftest.err conftest.
$ac_ext
16716 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16717 rm -f conftest.err conftest.
$ac_ext
16718 if $ac_preproc_ok; then
16723 ac_cv_prog_CPP
=$CPP
16726 CPP
=$ac_cv_prog_CPP
16728 ac_cv_prog_CPP
=$CPP
16730 echo "$as_me:$LINENO: result: $CPP" >&5
16731 echo "${ECHO_T}$CPP" >&6
16732 ac_preproc_ok
=false
16733 for ac_c_preproc_warn_flag
in '' yes
16735 # Use a header file that comes with gcc, so configuring glibc
16736 # with a fresh cross-compiler works.
16737 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16738 # <limits.h> exists even on freestanding compilers.
16739 # On the NeXT, cc -E runs the code through the compiler's parser,
16740 # not just through cpp. "Syntax error" is here to catch this case.
16741 cat >conftest.
$ac_ext <<_ACEOF
16744 cat confdefs.h
>>conftest.
$ac_ext
16745 cat >>conftest.
$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16748 # include <limits.h>
16750 # include <assert.h>
16754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16755 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16757 grep -v '^ *+' conftest.er1
>conftest.err
16759 cat conftest.err
>&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); } >/dev
/null
; then
16762 if test -s conftest.err
; then
16763 ac_cpp_err
=$ac_c_preproc_warn_flag
16764 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16771 if test -z "$ac_cpp_err"; then
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.
$ac_ext >&5
16777 # Broken: fails on valid input.
16780 rm -f conftest.err conftest.
$ac_ext
16782 # OK, works on sane cases. Now check whether non-existent headers
16783 # can be detected and how.
16784 cat >conftest.
$ac_ext <<_ACEOF
16787 cat confdefs.h
>>conftest.
$ac_ext
16788 cat >>conftest.
$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16790 #include <ac_nonexistent.h>
16792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16793 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16795 grep -v '^ *+' conftest.er1
>conftest.err
16797 cat conftest.err
>&5
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); } >/dev
/null
; then
16800 if test -s conftest.err
; then
16801 ac_cpp_err
=$ac_c_preproc_warn_flag
16802 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16809 if test -z "$ac_cpp_err"; then
16810 # Broken: success on invalid input.
16813 echo "$as_me: failed program was:" >&5
16814 sed 's/^/| /' conftest.
$ac_ext >&5
16816 # Passes both tests.
16820 rm -f conftest.err conftest.
$ac_ext
16823 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16824 rm -f conftest.err conftest.
$ac_ext
16825 if $ac_preproc_ok; then
16828 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16829 See \`config.log' for more details." >&5
16830 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16831 See \`config.log' for more details." >&2;}
16832 { (exit 1); exit 1; }; }
16836 ac_cpp
='$CPP $CPPFLAGS'
16837 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16838 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16839 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16842 echo "$as_me:$LINENO: checking for egrep" >&5
16843 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
16844 if test "${ac_cv_prog_egrep+set}" = set; then
16845 echo $ECHO_N "(cached) $ECHO_C" >&6
16847 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
16848 then ac_cv_prog_egrep
='grep -E'
16849 else ac_cv_prog_egrep
='egrep'
16852 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
16853 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
16854 EGREP
=$ac_cv_prog_egrep
16857 if test $ac_cv_c_compiler_gnu = yes; then
16858 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16859 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
16860 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16861 echo $ECHO_N "(cached) $ECHO_C" >&6
16863 ac_pattern
="Autoconf.*'x'"
16864 cat >conftest.
$ac_ext <<_ACEOF
16867 cat confdefs.h
>>conftest.
$ac_ext
16868 cat >>conftest.
$ac_ext <<_ACEOF
16869 /* end confdefs.h. */
16873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16874 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16875 ac_cv_prog_gcc_traditional
=yes
16877 ac_cv_prog_gcc_traditional
=no
16882 if test $ac_cv_prog_gcc_traditional = no
; then
16883 cat >conftest.
$ac_ext <<_ACEOF
16886 cat confdefs.h
>>conftest.
$ac_ext
16887 cat >>conftest.
$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16889 #include <termio.h>
16892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16893 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16894 ac_cv_prog_gcc_traditional
=yes
16900 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16901 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
16902 if test $ac_cv_prog_gcc_traditional = yes; then
16903 CC
="$CC -traditional"
16908 CXXFLAGS
=${CXXFLAGS:=}
16913 ac_cpp
='$CXXCPP $CPPFLAGS'
16914 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16915 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16916 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16917 if test -n "$ac_tool_prefix"; then
16918 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
16920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16921 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16922 echo "$as_me:$LINENO: checking for $ac_word" >&5
16923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16924 if test "${ac_cv_prog_CXX+set}" = set; then
16925 echo $ECHO_N "(cached) $ECHO_C" >&6
16927 if test -n "$CXX"; then
16928 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16931 for as_dir
in $PATH
16934 test -z "$as_dir" && as_dir
=.
16935 for ac_exec_ext
in '' $ac_executable_extensions; do
16936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16937 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16946 CXX
=$ac_cv_prog_CXX
16947 if test -n "$CXX"; then
16948 echo "$as_me:$LINENO: result: $CXX" >&5
16949 echo "${ECHO_T}$CXX" >&6
16951 echo "$as_me:$LINENO: result: no" >&5
16952 echo "${ECHO_T}no" >&6
16955 test -n "$CXX" && break
16958 if test -z "$CXX"; then
16960 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
16962 # Extract the first word of "$ac_prog", so it can be a program name with args.
16963 set dummy
$ac_prog; ac_word
=$2
16964 echo "$as_me:$LINENO: checking for $ac_word" >&5
16965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16966 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16967 echo $ECHO_N "(cached) $ECHO_C" >&6
16969 if test -n "$ac_ct_CXX"; then
16970 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16973 for as_dir
in $PATH
16976 test -z "$as_dir" && as_dir
=.
16977 for ac_exec_ext
in '' $ac_executable_extensions; do
16978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16979 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16988 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16989 if test -n "$ac_ct_CXX"; then
16990 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16991 echo "${ECHO_T}$ac_ct_CXX" >&6
16993 echo "$as_me:$LINENO: result: no" >&5
16994 echo "${ECHO_T}no" >&6
16997 test -n "$ac_ct_CXX" && break
16999 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
17005 # Provide some information about the compiler.
17006 echo "$as_me:$LINENO:" \
17007 "checking for C++ compiler version" >&5
17008 ac_compiler
=`set X $ac_compile; echo $2`
17009 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
17010 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }
17014 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
17015 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }
17019 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
17020 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }
17025 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17026 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
17027 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17028 echo $ECHO_N "(cached) $ECHO_C" >&6
17030 cat >conftest.
$ac_ext <<_ACEOF
17033 cat confdefs.h
>>conftest.
$ac_ext
17034 cat >>conftest.
$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17048 rm -f conftest.
$ac_objext
17049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17050 (eval $ac_compile) 2>conftest.er1
17052 grep -v '^ *+' conftest.er1
>conftest.err
17054 cat conftest.err
>&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); } &&
17057 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17059 (eval $ac_try) 2>&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); }; } &&
17063 { ac_try
='test -s conftest.$ac_objext'
17064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17065 (eval $ac_try) 2>&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); }; }; then
17069 ac_compiler_gnu
=yes
17071 echo "$as_me: failed program was:" >&5
17072 sed 's/^/| /' conftest.
$ac_ext >&5
17076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17077 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17080 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17081 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
17082 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17083 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17084 ac_save_CXXFLAGS
=$CXXFLAGS
17086 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17087 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
17088 if test "${ac_cv_prog_cxx_g+set}" = set; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17091 cat >conftest.
$ac_ext <<_ACEOF
17094 cat confdefs.h
>>conftest.
$ac_ext
17095 cat >>conftest.
$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17106 rm -f conftest.
$ac_objext
17107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17108 (eval $ac_compile) 2>conftest.er1
17110 grep -v '^ *+' conftest.er1
>conftest.err
17112 cat conftest.err
>&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } &&
17115 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17117 (eval $ac_try) 2>&5
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); }; } &&
17121 { ac_try
='test -s conftest.$ac_objext'
17122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17123 (eval $ac_try) 2>&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); }; }; then
17127 ac_cv_prog_cxx_g
=yes
17129 echo "$as_me: failed program was:" >&5
17130 sed 's/^/| /' conftest.
$ac_ext >&5
17132 ac_cv_prog_cxx_g
=no
17134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17136 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17137 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
17138 if test "$ac_test_CXXFLAGS" = set; then
17139 CXXFLAGS
=$ac_save_CXXFLAGS
17140 elif test $ac_cv_prog_cxx_g = yes; then
17141 if test "$GXX" = yes; then
17147 if test "$GXX" = yes; then
17153 for ac_declaration
in \
17155 'extern "C" void std::exit (int) throw (); using std::exit;' \
17156 'extern "C" void std::exit (int); using std::exit;' \
17157 'extern "C" void exit (int) throw ();' \
17158 'extern "C" void exit (int);' \
17161 cat >conftest.
$ac_ext <<_ACEOF
17164 cat confdefs.h
>>conftest.
$ac_ext
17165 cat >>conftest.
$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17168 #include <stdlib.h>
17177 rm -f conftest.
$ac_objext
17178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17179 (eval $ac_compile) 2>conftest.er1
17181 grep -v '^ *+' conftest.er1
>conftest.err
17183 cat conftest.err
>&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); } &&
17186 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17188 (eval $ac_try) 2>&5
17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); }; } &&
17192 { ac_try
='test -s conftest.$ac_objext'
17193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17194 (eval $ac_try) 2>&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); }; }; then
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.
$ac_ext >&5
17205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17206 cat >conftest.
$ac_ext <<_ACEOF
17209 cat confdefs.h
>>conftest.
$ac_ext
17210 cat >>conftest.
$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17221 rm -f conftest.
$ac_objext
17222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17223 (eval $ac_compile) 2>conftest.er1
17225 grep -v '^ *+' conftest.er1
>conftest.err
17227 cat conftest.err
>&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); } &&
17230 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17232 (eval $ac_try) 2>&5
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); }; } &&
17236 { ac_try
='test -s conftest.$ac_objext'
17237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17238 (eval $ac_try) 2>&5
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); }; }; then
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.
$ac_ext >&5
17248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17251 if test -n "$ac_declaration"; then
17252 echo '#ifdef __cplusplus' >>confdefs.h
17253 echo $ac_declaration >>confdefs.h
17254 echo '#endif' >>confdefs.h
17258 ac_cpp
='$CPP $CPPFLAGS'
17259 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17260 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17261 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17267 ac_cpp
='$CXXCPP $CPPFLAGS'
17268 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17269 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17270 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17272 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17273 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
17274 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17275 echo $ECHO_N "(cached) $ECHO_C" >&6
17277 cat >conftest.
$ac_ext <<_ACEOF
17280 cat confdefs.h
>>conftest.
$ac_ext
17281 cat >>conftest.
$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17288 #ifndef __INTEL_COMPILER
17296 rm -f conftest.
$ac_objext
17297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17298 (eval $ac_compile) 2>conftest.er1
17300 grep -v '^ *+' conftest.er1
>conftest.err
17302 cat conftest.err
>&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); } &&
17305 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17307 (eval $ac_try) 2>&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; } &&
17311 { ac_try
='test -s conftest.$ac_objext'
17312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17313 (eval $ac_try) 2>&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); }; }; then
17317 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.
$ac_ext >&5
17322 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17329 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17330 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
17331 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17337 ac_cpp
='$CPP $CPPFLAGS'
17338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17345 if test "x$GCXX" != "xyes"; then
17346 if test "xCXX" = "xC"; then
17347 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17348 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
17349 if test "${bakefile_cv_c_exto+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17352 cat >conftest.
$ac_ext <<_ACEOF
17355 cat confdefs.h
>>conftest.
$ac_ext
17356 cat >>conftest.
$ac_ext <<_ACEOF
17357 /* end confdefs.h. */
17367 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17369 (eval $ac_compile) 2>&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); }; then
17373 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17375 conftest.
$ac_ext.o
)
17376 bakefile_cv_c_exto
="-ext o"
17383 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17384 See \`config.log' for more details." >&5
17385 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17386 See \`config.log' for more details." >&2;}
17387 { (exit 1); exit 1; }; }
17391 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17394 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17395 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
17396 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17397 if test "c" = "c"; then
17398 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17400 if test "c" = "cxx"; then
17401 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17405 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17406 unset ac_cv_prog_cc_g
17407 ac_test_CFLAGS
=${CFLAGS+set}
17408 ac_save_CFLAGS
=$CFLAGS
17410 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17411 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
17412 if test "${ac_cv_prog_cc_g+set}" = set; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17415 cat >conftest.
$ac_ext <<_ACEOF
17418 cat confdefs.h
>>conftest.
$ac_ext
17419 cat >>conftest.
$ac_ext <<_ACEOF
17420 /* end confdefs.h. */
17430 rm -f conftest.
$ac_objext
17431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17432 (eval $ac_compile) 2>conftest.er1
17434 grep -v '^ *+' conftest.er1
>conftest.err
17436 cat conftest.err
>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } &&
17439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; } &&
17445 { ac_try
='test -s conftest.$ac_objext'
17446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17447 (eval $ac_try) 2>&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); }; }; then
17451 ac_cv_prog_cc_g
=yes
17453 echo "$as_me: failed program was:" >&5
17454 sed 's/^/| /' conftest.
$ac_ext >&5
17458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17460 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17461 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
17462 if test "$ac_test_CFLAGS" = set; then
17463 CFLAGS
=$ac_save_CFLAGS
17464 elif test $ac_cv_prog_cc_g = yes; then
17465 if test "$GCC" = yes; then
17471 if test "$GCC" = yes; then
17485 ac_cpp
='$CXXCPP $CPPFLAGS'
17486 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17487 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17488 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17490 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17491 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
17492 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17493 echo $ECHO_N "(cached) $ECHO_C" >&6
17495 cat >conftest.
$ac_ext <<_ACEOF
17498 cat confdefs.h
>>conftest.
$ac_ext
17499 cat >>conftest.
$ac_ext <<_ACEOF
17500 /* end confdefs.h. */
17514 rm -f conftest.
$ac_objext
17515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17516 (eval $ac_compile) 2>conftest.er1
17518 grep -v '^ *+' conftest.er1
>conftest.err
17520 cat conftest.err
>&5
17521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522 (exit $ac_status); } &&
17523 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17525 (eval $ac_try) 2>&5
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); }; } &&
17529 { ac_try
='test -s conftest.$ac_objext'
17530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17531 (eval $ac_try) 2>&5
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); }; }; then
17535 bakefile_cv_cxx_compiler___xlC__
=yes
17537 echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.
$ac_ext >&5
17540 bakefile_cv_cxx_compiler___xlC__
=no
17543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17547 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17548 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6
17549 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17555 ac_cpp
='$CPP $CPPFLAGS'
17556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17568 ac_cpp
='$CXXCPP $CPPFLAGS'
17569 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17570 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17571 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17573 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17574 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
17575 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17576 echo $ECHO_N "(cached) $ECHO_C" >&6
17578 cat >conftest.
$ac_ext <<_ACEOF
17581 cat confdefs.h
>>conftest.
$ac_ext
17582 cat >>conftest.
$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17597 rm -f conftest.
$ac_objext
17598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17599 (eval $ac_compile) 2>conftest.er1
17601 grep -v '^ *+' conftest.er1
>conftest.err
17603 cat conftest.err
>&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); } &&
17606 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17608 (eval $ac_try) 2>&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); }; } &&
17612 { ac_try
='test -s conftest.$ac_objext'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; }; then
17618 bakefile_cv_cxx_compiler___MWERKS__
=yes
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.
$ac_ext >&5
17623 bakefile_cv_cxx_compiler___MWERKS__
=no
17626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17630 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17631 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6
17632 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
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
17648 ac_cpp
='$CXXCPP $CPPFLAGS'
17649 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17650 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17651 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17653 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17654 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
17655 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17656 echo $ECHO_N "(cached) $ECHO_C" >&6
17658 cat >conftest.
$ac_ext <<_ACEOF
17661 cat confdefs.h
>>conftest.
$ac_ext
17662 cat >>conftest.
$ac_ext <<_ACEOF
17663 /* end confdefs.h. */
17677 rm -f conftest.
$ac_objext
17678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17679 (eval $ac_compile) 2>conftest.er1
17681 grep -v '^ *+' conftest.er1
>conftest.err
17683 cat conftest.err
>&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } &&
17686 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17688 (eval $ac_try) 2>&5
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); }; } &&
17692 { ac_try
='test -s conftest.$ac_objext'
17693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17694 (eval $ac_try) 2>&5
17696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697 (exit $ac_status); }; }; then
17698 bakefile_cv_cxx_compiler___xlC__
=yes
17700 echo "$as_me: failed program was:" >&5
17701 sed 's/^/| /' conftest.
$ac_ext >&5
17703 bakefile_cv_cxx_compiler___xlC__
=no
17706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17710 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17711 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6
17712 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17718 ac_cpp
='$CPP $CPPFLAGS'
17719 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17720 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17721 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17731 ac_cpp
='$CXXCPP $CPPFLAGS'
17732 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17733 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17734 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17736 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17737 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
17738 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17739 echo $ECHO_N "(cached) $ECHO_C" >&6
17741 cat >conftest.
$ac_ext <<_ACEOF
17744 cat confdefs.h
>>conftest.
$ac_ext
17745 cat >>conftest.
$ac_ext <<_ACEOF
17746 /* end confdefs.h. */
17752 #ifndef _SGI_COMPILER_VERSION
17760 rm -f conftest.
$ac_objext
17761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17762 (eval $ac_compile) 2>conftest.er1
17764 grep -v '^ *+' conftest.er1
>conftest.err
17766 cat conftest.err
>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); } &&
17769 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17771 (eval $ac_try) 2>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); }; } &&
17775 { ac_try
='test -s conftest.$ac_objext'
17776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17777 (eval $ac_try) 2>&5
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); }; }; then
17781 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
17783 echo "$as_me: failed program was:" >&5
17784 sed 's/^/| /' conftest.
$ac_ext >&5
17786 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
17789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17793 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17794 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
17795 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17801 ac_cpp
='$CPP $CPPFLAGS'
17802 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17803 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17804 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17814 ac_cpp
='$CXXCPP $CPPFLAGS'
17815 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17816 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17817 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17819 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17820 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
17821 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17822 echo $ECHO_N "(cached) $ECHO_C" >&6
17824 cat >conftest.
$ac_ext <<_ACEOF
17827 cat confdefs.h
>>conftest.
$ac_ext
17828 cat >>conftest.
$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17835 #ifndef __SUNPRO_CC
17843 rm -f conftest.
$ac_objext
17844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17845 (eval $ac_compile) 2>conftest.er1
17847 grep -v '^ *+' conftest.er1
>conftest.err
17849 cat conftest.err
>&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); } &&
17852 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; } &&
17858 { ac_try
='test -s conftest.$ac_objext'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; }; then
17864 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17866 echo "$as_me: failed program was:" >&5
17867 sed 's/^/| /' conftest.
$ac_ext >&5
17869 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17876 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17877 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
17878 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17884 ac_cpp
='$CPP $CPPFLAGS'
17885 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17886 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17887 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17897 ac_cpp
='$CXXCPP $CPPFLAGS'
17898 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17899 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17900 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17902 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17903 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
17904 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17905 echo $ECHO_N "(cached) $ECHO_C" >&6
17907 cat >conftest.
$ac_ext <<_ACEOF
17910 cat confdefs.h
>>conftest.
$ac_ext
17911 cat >>conftest.
$ac_ext <<_ACEOF
17912 /* end confdefs.h. */
17926 rm -f conftest.
$ac_objext
17927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17928 (eval $ac_compile) 2>conftest.er1
17930 grep -v '^ *+' conftest.er1
>conftest.err
17932 cat conftest.err
>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } &&
17935 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17937 (eval $ac_try) 2>&5
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); }; } &&
17941 { ac_try
='test -s conftest.$ac_objext'
17942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17943 (eval $ac_try) 2>&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); }; }; then
17947 bakefile_cv_cxx_compiler___HP_aCC
=yes
17949 echo "$as_me: failed program was:" >&5
17950 sed 's/^/| /' conftest.
$ac_ext >&5
17952 bakefile_cv_cxx_compiler___HP_aCC
=no
17955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17959 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17960 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
17961 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17967 ac_cpp
='$CPP $CPPFLAGS'
17968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17980 ac_cpp
='$CXXCPP $CPPFLAGS'
17981 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17982 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17983 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17985 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17986 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
17987 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17988 echo $ECHO_N "(cached) $ECHO_C" >&6
17990 cat >conftest.
$ac_ext <<_ACEOF
17993 cat confdefs.h
>>conftest.
$ac_ext
17994 cat >>conftest.
$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
18009 rm -f conftest.
$ac_objext
18010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18011 (eval $ac_compile) 2>conftest.er1
18013 grep -v '^ *+' conftest.er1
>conftest.err
18015 cat conftest.err
>&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); } &&
18018 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18020 (eval $ac_try) 2>&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); }; } &&
18024 { ac_try
='test -s conftest.$ac_objext'
18025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18026 (eval $ac_try) 2>&5
18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); }; }; then
18030 bakefile_cv_cxx_compiler___DECCXX
=yes
18032 echo "$as_me: failed program was:" >&5
18033 sed 's/^/| /' conftest.
$ac_ext >&5
18035 bakefile_cv_cxx_compiler___DECCXX
=no
18038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18042 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18043 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
18044 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18050 ac_cpp
='$CPP $CPPFLAGS'
18051 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18052 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18053 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18063 ac_cpp
='$CXXCPP $CPPFLAGS'
18064 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18065 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18066 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18068 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18069 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
18070 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18071 echo $ECHO_N "(cached) $ECHO_C" >&6
18073 cat >conftest.
$ac_ext <<_ACEOF
18076 cat confdefs.h
>>conftest.
$ac_ext
18077 cat >>conftest.
$ac_ext <<_ACEOF
18078 /* end confdefs.h. */
18084 #ifndef __SUNPRO_CC
18092 rm -f conftest.
$ac_objext
18093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18094 (eval $ac_compile) 2>conftest.er1
18096 grep -v '^ *+' conftest.er1
>conftest.err
18098 cat conftest.err
>&5
18099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100 (exit $ac_status); } &&
18101 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18103 (eval $ac_try) 2>&5
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); }; } &&
18107 { ac_try
='test -s conftest.$ac_objext'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; }; then
18113 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18115 echo "$as_me: failed program was:" >&5
18116 sed 's/^/| /' conftest.
$ac_ext >&5
18118 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18125 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18126 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
18127 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18133 ac_cpp
='$CPP $CPPFLAGS'
18134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18146 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18147 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18148 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18149 { (exit 1); exit 1; }; }
18152 if test -n "$ac_tool_prefix"; then
18153 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
18154 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
18155 echo "$as_me:$LINENO: checking for $ac_word" >&5
18156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18157 if test "${ac_cv_prog_RANLIB+set}" = set; then
18158 echo $ECHO_N "(cached) $ECHO_C" >&6
18160 if test -n "$RANLIB"; then
18161 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
18163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18164 for as_dir
in $PATH
18167 test -z "$as_dir" && as_dir
=.
18168 for ac_exec_ext
in '' $ac_executable_extensions; do
18169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18170 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
18171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18179 RANLIB
=$ac_cv_prog_RANLIB
18180 if test -n "$RANLIB"; then
18181 echo "$as_me:$LINENO: result: $RANLIB" >&5
18182 echo "${ECHO_T}$RANLIB" >&6
18184 echo "$as_me:$LINENO: result: no" >&5
18185 echo "${ECHO_T}no" >&6
18189 if test -z "$ac_cv_prog_RANLIB"; then
18190 ac_ct_RANLIB
=$RANLIB
18191 # Extract the first word of "ranlib", so it can be a program name with args.
18192 set dummy ranlib
; ac_word
=$2
18193 echo "$as_me:$LINENO: checking for $ac_word" >&5
18194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18195 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
18196 echo $ECHO_N "(cached) $ECHO_C" >&6
18198 if test -n "$ac_ct_RANLIB"; then
18199 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
18201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18202 for as_dir
in $PATH
18205 test -z "$as_dir" && as_dir
=.
18206 for ac_exec_ext
in '' $ac_executable_extensions; do
18207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18208 ac_cv_prog_ac_ct_RANLIB
="ranlib"
18209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18215 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
18218 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
18219 if test -n "$ac_ct_RANLIB"; then
18220 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
18221 echo "${ECHO_T}$ac_ct_RANLIB" >&6
18223 echo "$as_me:$LINENO: result: no" >&5
18224 echo "${ECHO_T}no" >&6
18227 RANLIB
=$ac_ct_RANLIB
18229 RANLIB
="$ac_cv_prog_RANLIB"
18233 if test "x$SUNCXX" != xyes
; then
18234 if test -n "$ac_tool_prefix"; then
18235 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18236 set dummy
${ac_tool_prefix}ar; ac_word
=$2
18237 echo "$as_me:$LINENO: checking for $ac_word" >&5
18238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18239 if test "${ac_cv_prog_AR+set}" = set; then
18240 echo $ECHO_N "(cached) $ECHO_C" >&6
18242 if test -n "$AR"; then
18243 ac_cv_prog_AR
="$AR" # Let the user override the test.
18245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18246 for as_dir
in $PATH
18249 test -z "$as_dir" && as_dir
=.
18250 for ac_exec_ext
in '' $ac_executable_extensions; do
18251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18252 ac_cv_prog_AR
="${ac_tool_prefix}ar"
18253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18262 if test -n "$AR"; then
18263 echo "$as_me:$LINENO: result: $AR" >&5
18264 echo "${ECHO_T}$AR" >&6
18266 echo "$as_me:$LINENO: result: no" >&5
18267 echo "${ECHO_T}no" >&6
18271 if test -z "$ac_cv_prog_AR"; then
18273 # Extract the first word of "ar", so it can be a program name with args.
18274 set dummy
ar; ac_word
=$2
18275 echo "$as_me:$LINENO: checking for $ac_word" >&5
18276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18277 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18278 echo $ECHO_N "(cached) $ECHO_C" >&6
18280 if test -n "$ac_ct_AR"; then
18281 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
18283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18284 for as_dir
in $PATH
18287 test -z "$as_dir" && as_dir
=.
18288 for ac_exec_ext
in '' $ac_executable_extensions; do
18289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18290 ac_cv_prog_ac_ct_AR
="ar"
18291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18299 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
18300 if test -n "$ac_ct_AR"; then
18301 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18302 echo "${ECHO_T}$ac_ct_AR" >&6
18304 echo "$as_me:$LINENO: result: no" >&5
18305 echo "${ECHO_T}no" >&6
18310 AR
="$ac_cv_prog_AR"
18313 if test "x$AR" = "x" ; then
18314 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18315 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18316 { (exit 1); exit 1; }; }
18320 # Find a good install program. We prefer a C program (faster),
18321 # so one script is as good as another. But avoid the broken or
18322 # incompatible versions:
18323 # SysV /etc/install, /usr/sbin/install
18324 # SunOS /usr/etc/install
18325 # IRIX /sbin/install
18327 # AmigaOS /C/install, which installs bootblocks on floppy discs
18328 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
18329 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
18330 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
18331 # OS/2's system install, which has a completely different semantic
18332 # ./install, which can be erroneously created by make from ./install.sh.
18333 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
18334 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
18335 if test -z "$INSTALL"; then
18336 if test "${ac_cv_path_install+set}" = set; then
18337 echo $ECHO_N "(cached) $ECHO_C" >&6
18339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18340 for as_dir
in $PATH
18343 test -z "$as_dir" && as_dir
=.
18344 # Account for people who put trailing slashes in PATH elements.
18346 .
/ | .
// | /cC
/* | \
18347 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
18348 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
18351 # OSF1 and SCO ODT 3.0 have their own names for install.
18352 # Don't use installbsd from OSF since it installs stuff as root
18354 for ac_prog
in ginstall scoinst
install; do
18355 for ac_exec_ext
in '' $ac_executable_extensions; do
18356 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
18357 if test $ac_prog = install &&
18358 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
18359 # AIX install. It has an incompatible calling convention.
18361 elif test $ac_prog = install &&
18362 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
18363 # program-specific install script used by HP pwplus--don't use.
18366 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
18378 if test "${ac_cv_path_install+set}" = set; then
18379 INSTALL
=$ac_cv_path_install
18381 # As a last resort, use the slow shell script. We don't cache a
18382 # path for INSTALL within a source directory, because that will
18383 # break other packages using the cache if that directory is
18384 # removed, or if the path is relative.
18385 INSTALL
=$ac_install_sh
18388 echo "$as_me:$LINENO: result: $INSTALL" >&5
18389 echo "${ECHO_T}$INSTALL" >&6
18391 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18392 # It thinks the first close brace ends the variable substitution.
18393 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
18395 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
18397 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
18403 ?
:* ) # Drive letter, considered as absolute.
18406 INSTALL
=`pwd`/${INSTALL} ;;
18413 INSTALL_PROGRAM
="cp -fp"
18414 INSTALL_DATA
="cp -fp"
18420 if test -n "$ac_tool_prefix"; then
18421 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
18422 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
18423 echo "$as_me:$LINENO: checking for $ac_word" >&5
18424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18425 if test "${ac_cv_prog_STRIP+set}" = set; then
18426 echo $ECHO_N "(cached) $ECHO_C" >&6
18428 if test -n "$STRIP"; then
18429 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
18431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18432 for as_dir
in $PATH
18435 test -z "$as_dir" && as_dir
=.
18436 for ac_exec_ext
in '' $ac_executable_extensions; do
18437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18438 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
18439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18447 STRIP
=$ac_cv_prog_STRIP
18448 if test -n "$STRIP"; then
18449 echo "$as_me:$LINENO: result: $STRIP" >&5
18450 echo "${ECHO_T}$STRIP" >&6
18452 echo "$as_me:$LINENO: result: no" >&5
18453 echo "${ECHO_T}no" >&6
18457 if test -z "$ac_cv_prog_STRIP"; then
18459 # Extract the first word of "strip", so it can be a program name with args.
18460 set dummy strip
; ac_word
=$2
18461 echo "$as_me:$LINENO: checking for $ac_word" >&5
18462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18463 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
18464 echo $ECHO_N "(cached) $ECHO_C" >&6
18466 if test -n "$ac_ct_STRIP"; then
18467 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
18469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18470 for as_dir
in $PATH
18473 test -z "$as_dir" && as_dir
=.
18474 for ac_exec_ext
in '' $ac_executable_extensions; do
18475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18476 ac_cv_prog_ac_ct_STRIP
="strip"
18477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18483 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
18486 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
18487 if test -n "$ac_ct_STRIP"; then
18488 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
18489 echo "${ECHO_T}$ac_ct_STRIP" >&6
18491 echo "$as_me:$LINENO: result: no" >&5
18492 echo "${ECHO_T}no" >&6
18497 STRIP
="$ac_cv_prog_STRIP"
18501 if test "$wxUSE_WINE" = "yes"; then
18502 if test -n "$ac_tool_prefix"; then
18503 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
18504 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
18505 echo "$as_me:$LINENO: checking for $ac_word" >&5
18506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18507 if test "${ac_cv_prog_WINDRES+set}" = set; then
18508 echo $ECHO_N "(cached) $ECHO_C" >&6
18510 if test -n "$WINDRES"; then
18511 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
18513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18514 for as_dir
in $PATH
18517 test -z "$as_dir" && as_dir
=.
18518 for ac_exec_ext
in '' $ac_executable_extensions; do
18519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18520 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
18521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18529 WINDRES
=$ac_cv_prog_WINDRES
18530 if test -n "$WINDRES"; then
18531 echo "$as_me:$LINENO: result: $WINDRES" >&5
18532 echo "${ECHO_T}$WINDRES" >&6
18534 echo "$as_me:$LINENO: result: no" >&5
18535 echo "${ECHO_T}no" >&6
18539 if test -z "$ac_cv_prog_WINDRES"; then
18540 ac_ct_WINDRES
=$WINDRES
18541 # Extract the first word of "wrc", so it can be a program name with args.
18542 set dummy wrc
; ac_word
=$2
18543 echo "$as_me:$LINENO: checking for $ac_word" >&5
18544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18545 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
18546 echo $ECHO_N "(cached) $ECHO_C" >&6
18548 if test -n "$ac_ct_WINDRES"; then
18549 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
18551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18552 for as_dir
in $PATH
18555 test -z "$as_dir" && as_dir
=.
18556 for ac_exec_ext
in '' $ac_executable_extensions; do
18557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18558 ac_cv_prog_ac_ct_WINDRES
="wrc"
18559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18567 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
18568 if test -n "$ac_ct_WINDRES"; then
18569 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
18570 echo "${ECHO_T}$ac_ct_WINDRES" >&6
18572 echo "$as_me:$LINENO: result: no" >&5
18573 echo "${ECHO_T}no" >&6
18576 WINDRES
=$ac_ct_WINDRES
18578 WINDRES
="$ac_cv_prog_WINDRES"
18584 *-*-cygwin* | *-*-mingw32* )
18585 if test -n "$ac_tool_prefix"; then
18586 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
18587 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
18588 echo "$as_me:$LINENO: checking for $ac_word" >&5
18589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18590 if test "${ac_cv_prog_WINDRES+set}" = set; then
18591 echo $ECHO_N "(cached) $ECHO_C" >&6
18593 if test -n "$WINDRES"; then
18594 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
18596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18597 for as_dir
in $PATH
18600 test -z "$as_dir" && as_dir
=.
18601 for ac_exec_ext
in '' $ac_executable_extensions; do
18602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18603 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
18604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18612 WINDRES
=$ac_cv_prog_WINDRES
18613 if test -n "$WINDRES"; then
18614 echo "$as_me:$LINENO: result: $WINDRES" >&5
18615 echo "${ECHO_T}$WINDRES" >&6
18617 echo "$as_me:$LINENO: result: no" >&5
18618 echo "${ECHO_T}no" >&6
18622 if test -z "$ac_cv_prog_WINDRES"; then
18623 ac_ct_WINDRES
=$WINDRES
18624 # Extract the first word of "windres", so it can be a program name with args.
18625 set dummy windres
; ac_word
=$2
18626 echo "$as_me:$LINENO: checking for $ac_word" >&5
18627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18628 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
18629 echo $ECHO_N "(cached) $ECHO_C" >&6
18631 if test -n "$ac_ct_WINDRES"; then
18632 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
18634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18635 for as_dir
in $PATH
18638 test -z "$as_dir" && as_dir
=.
18639 for ac_exec_ext
in '' $ac_executable_extensions; do
18640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18641 ac_cv_prog_ac_ct_WINDRES
="windres"
18642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18650 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
18651 if test -n "$ac_ct_WINDRES"; then
18652 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
18653 echo "${ECHO_T}$ac_ct_WINDRES" >&6
18655 echo "$as_me:$LINENO: result: no" >&5
18656 echo "${ECHO_T}no" >&6
18659 WINDRES
=$ac_ct_WINDRES
18661 WINDRES
="$ac_cv_prog_WINDRES"
18665 if test -n "$ac_tool_prefix"; then
18666 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
18667 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
18668 echo "$as_me:$LINENO: checking for $ac_word" >&5
18669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18670 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
18671 echo $ECHO_N "(cached) $ECHO_C" >&6
18673 if test -n "$DLLTOOL"; then
18674 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
18676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18677 for as_dir
in $PATH
18680 test -z "$as_dir" && as_dir
=.
18681 for ac_exec_ext
in '' $ac_executable_extensions; do
18682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18683 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
18684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18692 DLLTOOL
=$ac_cv_prog_DLLTOOL
18693 if test -n "$DLLTOOL"; then
18694 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
18695 echo "${ECHO_T}$DLLTOOL" >&6
18697 echo "$as_me:$LINENO: result: no" >&5
18698 echo "${ECHO_T}no" >&6
18702 if test -z "$ac_cv_prog_DLLTOOL"; then
18703 ac_ct_DLLTOOL
=$DLLTOOL
18704 # Extract the first word of "dlltool", so it can be a program name with args.
18705 set dummy dlltool
; ac_word
=$2
18706 echo "$as_me:$LINENO: checking for $ac_word" >&5
18707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18708 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
18709 echo $ECHO_N "(cached) $ECHO_C" >&6
18711 if test -n "$ac_ct_DLLTOOL"; then
18712 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
18714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18715 for as_dir
in $PATH
18718 test -z "$as_dir" && as_dir
=.
18719 for ac_exec_ext
in '' $ac_executable_extensions; do
18720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18721 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
18722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18730 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
18731 if test -n "$ac_ct_DLLTOOL"; then
18732 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
18733 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
18735 echo "$as_me:$LINENO: result: no" >&5
18736 echo "${ECHO_T}no" >&6
18739 DLLTOOL
=$ac_ct_DLLTOOL
18741 DLLTOOL
="$ac_cv_prog_DLLTOOL"
18748 echo "$as_me:$LINENO: checking if make is GNU make" >&5
18749 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
18750 if test "${wx_cv_prog_makeisgnu+set}" = set; then
18751 echo $ECHO_N "(cached) $ECHO_C" >&6
18754 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
18755 $EGREP -s GNU
> /dev
/null
); then
18756 wx_cv_prog_makeisgnu
="yes"
18758 wx_cv_prog_makeisgnu
="no"
18762 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
18763 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
18765 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
18773 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
18774 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
18775 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
18776 if test "${wx_cv_prog_makevpath+set}" = set; then
18777 echo $ECHO_N "(cached) $ECHO_C" >&6
18780 cat - << EOF > confMake
18786 if test ! -d sub
; then
18789 echo dummy
> sub
/file
18790 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
18792 rm -f sub
/file check final_file confMake
18794 if test "$RESULT" = 0; then
18795 wx_cv_prog_makevpath
="yes"
18797 wx_cv_prog_makevpath
="no"
18801 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
18802 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
18804 if test "x$wx_cv_prog_makevpath" != "xyes"; then
18805 { { echo "$as_me:$LINENO: error:
18806 You need a make-utility that is able to use the variable
18808 If your version of make does not support VPATH correctly,
18809 please install GNU-make (possibly as gmake), and start
18810 configure with the following command:
18811 export MAKE=gmake; ./configure for sh-type shells
18812 setenv MAKE gmake; ./configure for csh-type shells
18813 Also please do remember to use gmake in this case every time
18814 you are trying to compile.
18816 echo "$as_me: error:
18817 You need a make-utility that is able to use the variable
18819 If your version of make does not support VPATH correctly,
18820 please install GNU-make (possibly as gmake), and start
18821 configure with the following command:
18822 export MAKE=gmake; ./configure for sh-type shells
18823 setenv MAKE gmake; ./configure for csh-type shells
18824 Also please do remember to use gmake in this case every time
18825 you are trying to compile.
18827 { (exit 1); exit 1; }; }
18829 echo "$as_me:$LINENO: checking whether ln -s works" >&5
18830 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
18832 if test "$LN_S" = "ln -s"; then
18833 echo "$as_me:$LINENO: result: yes" >&5
18834 echo "${ECHO_T}yes" >&6
18836 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
18837 echo "${ECHO_T}no, using $LN_S" >&6
18843 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18844 CXXFLAGS
="-qunique $CXXFLAGS"
18848 powerpc
-*-darwin* )
18849 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18850 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
18851 cat >conftest.
$ac_ext <<_ACEOF
18854 cat confdefs.h
>>conftest.
$ac_ext
18855 cat >>conftest.
$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18861 #ifndef __POWERPC__
18862 choke me for lack of PowerPC
18869 rm -f conftest.
$ac_objext
18870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18871 (eval $ac_compile) 2>conftest.er1
18873 grep -v '^ *+' conftest.er1
>conftest.err
18875 cat conftest.err
>&5
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); } &&
18878 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18880 (eval $ac_try) 2>&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); }; } &&
18884 { ac_try
='test -s conftest.$ac_objext'
18885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18886 (eval $ac_try) 2>&5
18888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 (exit $ac_status); }; }; then
18890 echo "$as_me:$LINENO: result: yes" >&5
18891 echo "${ECHO_T}yes" >&6
18893 echo "$as_me: failed program was:" >&5
18894 sed 's/^/| /' conftest.
$ac_ext >&5
18896 echo "$as_me:$LINENO: result: no" >&5
18897 echo "${ECHO_T}no" >&6
18898 cat >>confdefs.h
<<\_ACEOF
18899 #define __POWERPC__ 1
18904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18910 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18911 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
18912 cat >conftest.
$ac_ext <<_ACEOF
18915 cat confdefs.h
>>conftest.
$ac_ext
18916 cat >>conftest.
$ac_ext <<_ACEOF
18917 /* end confdefs.h. */
18918 #include <CoreFoundation/CFBase.h>
18928 rm -f conftest.
$ac_objext
18929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18930 (eval $ac_compile) 2>conftest.er1
18932 grep -v '^ *+' conftest.er1
>conftest.err
18934 cat conftest.err
>&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); } &&
18937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939 (eval $ac_try) 2>&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; } &&
18943 { ac_try
='test -s conftest.$ac_objext'
18944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945 (eval $ac_try) 2>&5
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); }; }; then
18949 echo "$as_me:$LINENO: result: yes" >&5
18950 echo "${ECHO_T}yes" >&6
18952 echo "$as_me: failed program was:" >&5
18953 sed 's/^/| /' conftest.
$ac_ext >&5
18955 echo "$as_me:$LINENO: result: no" >&5
18956 echo "${ECHO_T}no" >&6
18957 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18958 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
18959 cat >conftest.
$ac_ext <<_ACEOF
18962 cat confdefs.h
>>conftest.
$ac_ext
18963 cat >>conftest.
$ac_ext <<_ACEOF
18964 /* end confdefs.h. */
18965 #define __CF_USE_FRAMEWORK_INCLUDES__
18966 #include <CoreFoundation/CFBase.h>
18976 rm -f conftest.
$ac_objext
18977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18978 (eval $ac_compile) 2>conftest.er1
18980 grep -v '^ *+' conftest.er1
>conftest.err
18982 cat conftest.err
>&5
18983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18984 (exit $ac_status); } &&
18985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18987 (eval $ac_try) 2>&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); }; } &&
18991 { ac_try
='test -s conftest.$ac_objext'
18992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18993 (eval $ac_try) 2>&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); }; }; then
18997 echo "$as_me:$LINENO: result: yes" >&5
18998 echo "${ECHO_T}yes" >&6
18999 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19001 echo "$as_me: failed program was:" >&5
19002 sed 's/^/| /' conftest.
$ac_ext >&5
19004 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19005 See \`config.log' for more details." >&5
19006 echo "$as_me: error: no. CoreFoundation not available.
19007 See \`config.log' for more details." >&2;}
19008 { (exit 1); exit 1; }; }
19011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19020 doesnt_want_win32
=0
19023 if test "$wxUSE_MSW" = 1 ; then
19026 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19027 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
19028 if test "${wx_cv_nocygwin+set}" = set; then
19029 echo $ECHO_N "(cached) $ECHO_C" >&6
19032 cat >conftest.
$ac_ext <<_ACEOF
19035 cat confdefs.h
>>conftest.
$ac_ext
19036 cat >>conftest.
$ac_ext <<_ACEOF
19037 /* end confdefs.h. */
19051 rm -f conftest.
$ac_objext
19052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19053 (eval $ac_compile) 2>conftest.er1
19055 grep -v '^ *+' conftest.er1
>conftest.err
19057 cat conftest.err
>&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); } &&
19060 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19062 (eval $ac_try) 2>&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); }; } &&
19066 { ac_try
='test -s conftest.$ac_objext'
19067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19068 (eval $ac_try) 2>&5
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); }; }; then
19074 echo "$as_me: failed program was:" >&5
19075 sed 's/^/| /' conftest.
$ac_ext >&5
19080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19084 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19085 echo "${ECHO_T}$wx_cv_nocygwin" >&6
19087 if test "$wx_cv_nocygwin" = "yes"; then
19090 doesnt_want_win32
=1
19093 if test "$wants_win32" = 1 ; then
19094 BAKEFILE_FORCE_PLATFORM
=win32
19102 if test "$wxUSE_WINE" = "yes"; then
19104 LDFLAGS_GUI
="-mwindows"
19107 if test "$wants_win32" = 1 ; then
19110 cat >>confdefs.h
<<\_ACEOF
19111 #define __WIN32__ 1
19114 cat >>confdefs.h
<<\_ACEOF
19115 #define __WIN95__ 1
19118 cat >>confdefs.h
<<\_ACEOF
19119 #define __WINDOWS__ 1
19122 cat >>confdefs.h
<<\_ACEOF
19123 #define __GNUWIN32__ 1
19126 cat >>confdefs.h
<<\_ACEOF
19131 if test "$doesnt_want_win32" = 1 ; then
19136 if test "$USE_UNIX" = 1 ; then
19138 cat >>confdefs.h
<<\_ACEOF
19145 *-pc-os2_emx | *-pc-os2-emx )
19146 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19147 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19148 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
19149 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19150 echo $ECHO_N "(cached) $ECHO_C" >&6
19152 ac_check_lib_save_LIBS
=$LIBS
19153 LIBS
="-lcExt $LIBS"
19154 cat >conftest.
$ac_ext <<_ACEOF
19157 cat confdefs.h
>>conftest.
$ac_ext
19158 cat >>conftest.
$ac_ext <<_ACEOF
19159 /* end confdefs.h. */
19161 /* Override any gcc2 internal prototype to avoid an error. */
19165 /* We use char because int might match the return type of a gcc2
19166 builtin and then its argument prototype would still apply. */
19176 rm -f conftest.
$ac_objext conftest
$ac_exeext
19177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19178 (eval $ac_link) 2>conftest.er1
19180 grep -v '^ *+' conftest.er1
>conftest.err
19182 cat conftest.err
>&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); } &&
19185 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19187 (eval $ac_try) 2>&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); }; } &&
19191 { ac_try
='test -s conftest$ac_exeext'
19192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19193 (eval $ac_try) 2>&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); }; }; then
19197 ac_cv_lib_cExt_drand48
=yes
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.
$ac_ext >&5
19202 ac_cv_lib_cExt_drand48
=no
19204 rm -f conftest.err conftest.
$ac_objext \
19205 conftest
$ac_exeext conftest.
$ac_ext
19206 LIBS
=$ac_check_lib_save_LIBS
19208 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19209 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
19210 if test $ac_cv_lib_cExt_drand48 = yes; then
19211 LIBS
="$LIBS -lcExt"
19215 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
19217 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19218 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
19219 if test "${wx_cv_gccversion+set}" = set; then
19220 echo $ECHO_N "(cached) $ECHO_C" >&6
19223 if test "$cross_compiling" = yes; then
19224 wx_cv_gccversion
="EMX2"
19227 cat >conftest.
$ac_ext <<_ACEOF
19230 cat confdefs.h
>>conftest.
$ac_ext
19231 cat >>conftest.
$ac_ext <<_ACEOF
19232 /* end confdefs.h. */
19238 FILE *f=fopen("conftestval", "w");
19243 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19245 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19255 rm -f conftest
$ac_exeext
19256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19257 (eval $ac_link) 2>&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19262 (eval $ac_try) 2>&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); }; }; then
19266 wx_cv_gccversion
=`cat conftestval`
19268 echo "$as_me: program exited with status $ac_status" >&5
19269 echo "$as_me: failed program was:" >&5
19270 sed 's/^/| /' conftest.
$ac_ext >&5
19272 ( exit $ac_status )
19273 wx_cv_gccversion
="EMX2"
19275 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19279 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19280 echo "${ECHO_T}$wx_cv_gccversion" >&6
19281 if test "$wx_cv_gccversion" = "EMX2"; then
19282 LIBS
="$LIBS -lstdcpp"
19283 LDFLAGS
="$LDFLAGS -Zsysv-signals"
19285 if test "$wx_cv_gccversion" = "EMX3"; then
19286 LIBS
="$LIBS -lstdcxx -lgcc"
19287 LDFLAGS
="$LDFLAGS -Zsysv-signals"
19289 LIBS
="$LIBS -lstdc++"
19292 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19293 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19294 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19301 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19302 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
19303 if test "${ac_cv_string_strcasecmp+set}" = set; then
19304 echo $ECHO_N "(cached) $ECHO_C" >&6
19307 cat >conftest.
$ac_ext <<_ACEOF
19310 cat confdefs.h
>>conftest.
$ac_ext
19311 cat >>conftest.
$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19314 #include <string.h>
19320 strcasecmp("foo", "bar");
19326 rm -f conftest.
$ac_objext conftest
$ac_exeext
19327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19328 (eval $ac_link) 2>conftest.er1
19330 grep -v '^ *+' conftest.er1
>conftest.err
19332 cat conftest.err
>&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } &&
19335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; } &&
19341 { ac_try
='test -s conftest$ac_exeext'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; }; then
19347 ac_cv_string_strcasecmp
=yes
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.
$ac_ext >&5
19352 ac_cv_string_strcasecmp
=no
19355 rm -f conftest.err conftest.
$ac_objext \
19356 conftest
$ac_exeext conftest.
$ac_ext
19359 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19360 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
19362 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
19363 cat >>confdefs.h
<<\_ACEOF
19364 #define HAVE_STRCASECMP_IN_STRING_H 1
19368 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19369 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
19370 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19371 echo $ECHO_N "(cached) $ECHO_C" >&6
19374 cat >conftest.
$ac_ext <<_ACEOF
19377 cat confdefs.h
>>conftest.
$ac_ext
19378 cat >>conftest.
$ac_ext <<_ACEOF
19379 /* end confdefs.h. */
19381 #include <strings.h>
19387 strcasecmp("foo", "bar");
19393 rm -f conftest.
$ac_objext conftest
$ac_exeext
19394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19395 (eval $ac_link) 2>conftest.er1
19397 grep -v '^ *+' conftest.er1
>conftest.err
19399 cat conftest.err
>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); } &&
19402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19404 (eval $ac_try) 2>&5
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); }; } &&
19408 { ac_try
='test -s conftest$ac_exeext'
19409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19410 (eval $ac_try) 2>&5
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); }; }; then
19414 ac_cv_strings_strcasecmp
=yes
19416 echo "$as_me: failed program was:" >&5
19417 sed 's/^/| /' conftest.
$ac_ext >&5
19419 ac_cv_strings_strcasecmp
=no
19422 rm -f conftest.err conftest.
$ac_objext \
19423 conftest
$ac_exeext conftest.
$ac_ext
19426 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19427 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
19429 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
19430 cat >>confdefs.h
<<\_ACEOF
19431 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19435 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19436 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19437 { (exit 1); exit 1; }; }
19445 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19446 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19447 if test "${ac_cv_header_stdc+set}" = set; then
19448 echo $ECHO_N "(cached) $ECHO_C" >&6
19450 cat >conftest.
$ac_ext <<_ACEOF
19453 cat confdefs.h
>>conftest.
$ac_ext
19454 cat >>conftest.
$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19456 #include <stdlib.h>
19457 #include <stdarg.h>
19458 #include <string.h>
19469 rm -f conftest.
$ac_objext
19470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19471 (eval $ac_compile) 2>conftest.er1
19473 grep -v '^ *+' conftest.er1
>conftest.err
19475 cat conftest.err
>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); } &&
19478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19480 (eval $ac_try) 2>&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); }; } &&
19484 { ac_try
='test -s conftest.$ac_objext'
19485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486 (eval $ac_try) 2>&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; }; then
19490 ac_cv_header_stdc
=yes
19492 echo "$as_me: failed program was:" >&5
19493 sed 's/^/| /' conftest.
$ac_ext >&5
19495 ac_cv_header_stdc
=no
19497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19499 if test $ac_cv_header_stdc = yes; then
19500 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19501 cat >conftest.
$ac_ext <<_ACEOF
19504 cat confdefs.h
>>conftest.
$ac_ext
19505 cat >>conftest.
$ac_ext <<_ACEOF
19506 /* end confdefs.h. */
19507 #include <string.h>
19510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19511 $EGREP "memchr" >/dev
/null
2>&1; then
19514 ac_cv_header_stdc
=no
19520 if test $ac_cv_header_stdc = yes; then
19521 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19522 cat >conftest.
$ac_ext <<_ACEOF
19525 cat confdefs.h
>>conftest.
$ac_ext
19526 cat >>conftest.
$ac_ext <<_ACEOF
19527 /* end confdefs.h. */
19528 #include <stdlib.h>
19531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19532 $EGREP "free" >/dev
/null
2>&1; then
19535 ac_cv_header_stdc
=no
19541 if test $ac_cv_header_stdc = yes; then
19542 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19543 if test "$cross_compiling" = yes; then
19546 cat >conftest.
$ac_ext <<_ACEOF
19549 cat confdefs.h
>>conftest.
$ac_ext
19550 cat >>conftest.
$ac_ext <<_ACEOF
19551 /* end confdefs.h. */
19553 #if ((' ' & 0x0FF) == 0x020)
19554 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19555 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19557 # define ISLOWER(c) \
19558 (('a' <= (c) && (c) <= 'i') \
19559 || ('j' <= (c) && (c) <= 'r') \
19560 || ('s' <= (c) && (c) <= 'z'))
19561 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19564 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19569 for (i = 0; i < 256; i++)
19570 if (XOR (islower (i), ISLOWER (i))
19571 || toupper (i) != TOUPPER (i))
19576 rm -f conftest
$ac_exeext
19577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19578 (eval $ac_link) 2>&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; }; then
19589 echo "$as_me: program exited with status $ac_status" >&5
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.
$ac_ext >&5
19593 ( exit $ac_status )
19594 ac_cv_header_stdc
=no
19596 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19600 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19601 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19602 if test $ac_cv_header_stdc = yes; then
19604 cat >>confdefs.h
<<\_ACEOF
19605 #define STDC_HEADERS 1
19610 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19620 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
19621 inttypes.h stdint.h unistd.h
19623 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19624 echo "$as_me:$LINENO: checking for $ac_header" >&5
19625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19627 echo $ECHO_N "(cached) $ECHO_C" >&6
19629 cat >conftest.
$ac_ext <<_ACEOF
19632 cat confdefs.h
>>conftest.
$ac_ext
19633 cat >>conftest.
$ac_ext <<_ACEOF
19634 /* end confdefs.h. */
19635 $ac_includes_default
19637 #include <$ac_header>
19639 rm -f conftest.
$ac_objext
19640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19641 (eval $ac_compile) 2>conftest.er1
19643 grep -v '^ *+' conftest.er1
>conftest.err
19645 cat conftest.err
>&5
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); } &&
19648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19650 (eval $ac_try) 2>&5
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); }; } &&
19654 { ac_try
='test -s conftest.$ac_objext'
19655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19656 (eval $ac_try) 2>&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); }; }; then
19660 eval "$as_ac_Header=yes"
19662 echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.
$ac_ext >&5
19665 eval "$as_ac_Header=no"
19667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19672 cat >>confdefs.h
<<_ACEOF
19673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19687 for ac_header
in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
19689 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19690 echo "$as_me:$LINENO: checking for $ac_header" >&5
19691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19693 echo $ECHO_N "(cached) $ECHO_C" >&6
19695 cat >conftest.
$ac_ext <<_ACEOF
19698 cat confdefs.h
>>conftest.
$ac_ext
19699 cat >>conftest.
$ac_ext <<_ACEOF
19700 /* end confdefs.h. */
19701 $ac_includes_default
19703 #include <$ac_header>
19705 rm -f conftest.
$ac_objext
19706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19707 (eval $ac_compile) 2>conftest.er1
19709 grep -v '^ *+' conftest.er1
>conftest.err
19711 cat conftest.err
>&5
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); } &&
19714 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; } &&
19720 { ac_try
='test -s conftest.$ac_objext'
19721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19722 (eval $ac_try) 2>&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); }; }; then
19726 eval "$as_ac_Header=yes"
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.
$ac_ext >&5
19731 eval "$as_ac_Header=no"
19733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19738 cat >>confdefs.h
<<_ACEOF
19739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19747 if test "$ac_cv_header_wchar_h" != "yes"; then
19748 echo "$as_me:$LINENO: checking for wcstr.h" >&5
19749 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6
19750 if test "${ac_cv_header_wcstr_h+set}" = set; then
19751 echo $ECHO_N "(cached) $ECHO_C" >&6
19753 cat >conftest.
$ac_ext <<_ACEOF
19756 cat confdefs.h
>>conftest.
$ac_ext
19757 cat >>conftest.
$ac_ext <<_ACEOF
19758 /* end confdefs.h. */
19759 $ac_includes_default
19763 rm -f conftest.
$ac_objext
19764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19765 (eval $ac_compile) 2>conftest.er1
19767 grep -v '^ *+' conftest.er1
>conftest.err
19769 cat conftest.err
>&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); } &&
19772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19774 (eval $ac_try) 2>&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); }; } &&
19778 { ac_try
='test -s conftest.$ac_objext'
19779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19780 (eval $ac_try) 2>&5
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); }; }; then
19784 ac_cv_header_wcstr_h
=yes
19786 echo "$as_me: failed program was:" >&5
19787 sed 's/^/| /' conftest.
$ac_ext >&5
19789 ac_cv_header_wcstr_h
=no
19791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19793 echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
19794 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6
19800 *-pc-os2_emx | *-pc-os2-emx )
19801 if test $ac_cv_header_langinfo_h = "yes" \
19802 -a \
( "$wx_cv_gccversion" = "EMX2" \
19803 -o "$wx_cv_gccversion" = "EMX3" \
19804 -o "$wx_cv_gccversion" = "Innotek5" \
); then
19805 LIBS
="$LIBS -lintl"
19810 if test "$USE_UNIX" = 1 ; then
19811 echo "$as_me:$LINENO: checking for sys/select.h" >&5
19812 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6
19813 if test "${ac_cv_header_sys_select_h+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19816 cat >conftest.
$ac_ext <<_ACEOF
19819 cat confdefs.h
>>conftest.
$ac_ext
19820 cat >>conftest.
$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 $ac_includes_default
19824 #include <sys/select.h>
19826 rm -f conftest.
$ac_objext
19827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19828 (eval $ac_compile) 2>conftest.er1
19830 grep -v '^ *+' conftest.er1
>conftest.err
19832 cat conftest.err
>&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); } &&
19835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try
='test -s conftest.$ac_objext'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; }; then
19847 ac_cv_header_sys_select_h
=yes
19849 echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.
$ac_ext >&5
19852 ac_cv_header_sys_select_h
=no
19854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19856 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
19857 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6
19863 for ac_header
in sys
/epoll.h
19865 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19867 echo "$as_me:$LINENO: checking for $ac_header" >&5
19868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19870 echo $ECHO_N "(cached) $ECHO_C" >&6
19872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19875 # Is the header compilable?
19876 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19878 cat >conftest.
$ac_ext <<_ACEOF
19881 cat confdefs.h
>>conftest.
$ac_ext
19882 cat >>conftest.
$ac_ext <<_ACEOF
19883 /* end confdefs.h. */
19884 $ac_includes_default
19885 #include <$ac_header>
19887 rm -f conftest.
$ac_objext
19888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19889 (eval $ac_compile) 2>conftest.er1
19891 grep -v '^ *+' conftest.er1
>conftest.err
19893 cat conftest.err
>&5
19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895 (exit $ac_status); } &&
19896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 (eval $ac_try) 2>&5
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; } &&
19902 { ac_try
='test -s conftest.$ac_objext'
19903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904 (eval $ac_try) 2>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; }; then
19908 ac_header_compiler
=yes
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.
$ac_ext >&5
19913 ac_header_compiler
=no
19915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19916 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19917 echo "${ECHO_T}$ac_header_compiler" >&6
19919 # Is the header present?
19920 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19922 cat >conftest.
$ac_ext <<_ACEOF
19925 cat confdefs.h
>>conftest.
$ac_ext
19926 cat >>conftest.
$ac_ext <<_ACEOF
19927 /* end confdefs.h. */
19928 #include <$ac_header>
19930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19931 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19933 grep -v '^ *+' conftest.er1
>conftest.err
19935 cat conftest.err
>&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } >/dev
/null
; then
19938 if test -s conftest.err
; then
19939 ac_cpp_err
=$ac_c_preproc_warn_flag
19940 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19947 if test -z "$ac_cpp_err"; then
19948 ac_header_preproc
=yes
19950 echo "$as_me: failed program was:" >&5
19951 sed 's/^/| /' conftest.
$ac_ext >&5
19953 ac_header_preproc
=no
19955 rm -f conftest.err conftest.
$ac_ext
19956 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19957 echo "${ECHO_T}$ac_header_preproc" >&6
19959 # So? What about this header?
19960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19962 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19963 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19965 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19966 ac_header_preproc
=yes
19969 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19970 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19971 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19972 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19973 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19974 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19975 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19976 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19978 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19979 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19980 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19983 ## ----------------------------------------- ##
19984 ## Report this to wx-dev@lists.wxwidgets.org ##
19985 ## ----------------------------------------- ##
19988 sed "s/^/$as_me: WARNING: /" >&2
19991 echo "$as_me:$LINENO: checking for $ac_header" >&5
19992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19994 echo $ECHO_N "(cached) $ECHO_C" >&6
19996 eval "$as_ac_Header=\$ac_header_preproc"
19998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20002 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20003 cat >>confdefs.h
<<_ACEOF
20004 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20013 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20014 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20015 if test "${ac_cv_c_const+set}" = set; then
20016 echo $ECHO_N "(cached) $ECHO_C" >&6
20018 cat >conftest.
$ac_ext <<_ACEOF
20021 cat confdefs.h
>>conftest.
$ac_ext
20022 cat >>conftest.
$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20028 /* FIXME: Include the comments suggested by Paul. */
20029 #ifndef __cplusplus
20030 /* Ultrix mips cc rejects this. */
20031 typedef int charset[2];
20033 /* SunOS 4.1.1 cc rejects this. */
20034 char const *const *ccp;
20036 /* NEC SVR4.0.2 mips cc rejects this. */
20037 struct point {int x, y;};
20038 static struct point const zero = {0,0};
20039 /* AIX XL C 1.02.0.0 rejects this.
20040 It does not let you subtract one const X* pointer from another in
20041 an arm of an if-expression whose if-part is not a constant
20043 const char *g = "string";
20044 ccp = &g + (g ? g-g : 0);
20045 /* HPUX 7.0 cc rejects these. */
20048 ccp = (char const *const *) p;
20049 { /* SCO 3.2v4 cc rejects this. */
20051 char const *s = 0 ? (char *) 0 : (char const *) 0;
20055 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20056 int x[] = {25, 17};
20057 const int *foo = &x[0];
20060 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20061 typedef const int *iptr;
20065 { /* AIX XL C 1.02.0.0 rejects this saying
20066 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20067 struct s { int j; const int *ap[3]; };
20068 struct s *b; b->j = 5;
20070 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20071 const int foo = 10;
20079 rm -f conftest.
$ac_objext
20080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20081 (eval $ac_compile) 2>conftest.er1
20083 grep -v '^ *+' conftest.er1
>conftest.err
20085 cat conftest.err
>&5
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); } &&
20088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20090 (eval $ac_try) 2>&5
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); }; } &&
20094 { ac_try
='test -s conftest.$ac_objext'
20095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20096 (eval $ac_try) 2>&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); }; }; then
20102 echo "$as_me: failed program was:" >&5
20103 sed 's/^/| /' conftest.
$ac_ext >&5
20107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20109 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20110 echo "${ECHO_T}$ac_cv_c_const" >&6
20111 if test $ac_cv_c_const = no
; then
20113 cat >>confdefs.h
<<\_ACEOF
20119 echo "$as_me:$LINENO: checking for inline" >&5
20120 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20121 if test "${ac_cv_c_inline+set}" = set; then
20122 echo $ECHO_N "(cached) $ECHO_C" >&6
20125 for ac_kw
in inline __inline__ __inline
; do
20126 cat >conftest.
$ac_ext <<_ACEOF
20129 cat confdefs.h
>>conftest.
$ac_ext
20130 cat >>conftest.
$ac_ext <<_ACEOF
20131 /* end confdefs.h. */
20132 #ifndef __cplusplus
20134 static $ac_kw foo_t static_foo () {return 0; }
20135 $ac_kw foo_t foo () {return 0; }
20139 rm -f conftest.
$ac_objext
20140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20141 (eval $ac_compile) 2>conftest.er1
20143 grep -v '^ *+' conftest.er1
>conftest.err
20145 cat conftest.err
>&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); } &&
20148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20150 (eval $ac_try) 2>&5
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); }; } &&
20154 { ac_try
='test -s conftest.$ac_objext'
20155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20156 (eval $ac_try) 2>&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); }; }; then
20160 ac_cv_c_inline
=$ac_kw; break
20162 echo "$as_me: failed program was:" >&5
20163 sed 's/^/| /' conftest.
$ac_ext >&5
20166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20170 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20171 echo "${ECHO_T}$ac_cv_c_inline" >&6
20174 case $ac_cv_c_inline in
20177 case $ac_cv_c_inline in
20179 *) ac_val
=$ac_cv_c_inline;;
20181 cat >>confdefs.h
<<_ACEOF
20182 #ifndef __cplusplus
20183 #define inline $ac_val
20190 echo "$as_me:$LINENO: checking for short" >&5
20191 echo $ECHO_N "checking for short... $ECHO_C" >&6
20192 if test "${ac_cv_type_short+set}" = set; then
20193 echo $ECHO_N "(cached) $ECHO_C" >&6
20195 cat >conftest.
$ac_ext <<_ACEOF
20198 cat confdefs.h
>>conftest.
$ac_ext
20199 cat >>conftest.
$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20201 $ac_includes_default
20207 if (sizeof (short))
20213 rm -f conftest.
$ac_objext
20214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20215 (eval $ac_compile) 2>conftest.er1
20217 grep -v '^ *+' conftest.er1
>conftest.err
20219 cat conftest.err
>&5
20220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221 (exit $ac_status); } &&
20222 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20224 (eval $ac_try) 2>&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); }; } &&
20228 { ac_try
='test -s conftest.$ac_objext'
20229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20230 (eval $ac_try) 2>&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); }; }; then
20234 ac_cv_type_short
=yes
20236 echo "$as_me: failed program was:" >&5
20237 sed 's/^/| /' conftest.
$ac_ext >&5
20239 ac_cv_type_short
=no
20241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20243 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20244 echo "${ECHO_T}$ac_cv_type_short" >&6
20246 echo "$as_me:$LINENO: checking size of short" >&5
20247 echo $ECHO_N "checking size of short... $ECHO_C" >&6
20248 if test "${ac_cv_sizeof_short+set}" = set; then
20249 echo $ECHO_N "(cached) $ECHO_C" >&6
20251 if test "$ac_cv_type_short" = yes; then
20252 # The cast to unsigned long works around a bug in the HP C Compiler
20253 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20254 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20255 # This bug is HP SR number 8606223364.
20256 if test "$cross_compiling" = yes; then
20257 # Depending upon the size, compute the lo and hi bounds.
20258 cat >conftest.
$ac_ext <<_ACEOF
20261 cat confdefs.h
>>conftest.
$ac_ext
20262 cat >>conftest.
$ac_ext <<_ACEOF
20263 /* end confdefs.h. */
20264 $ac_includes_default
20268 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
20275 rm -f conftest.
$ac_objext
20276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20277 (eval $ac_compile) 2>conftest.er1
20279 grep -v '^ *+' conftest.er1
>conftest.err
20281 cat conftest.err
>&5
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); } &&
20284 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20286 (eval $ac_try) 2>&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); }; } &&
20290 { ac_try
='test -s conftest.$ac_objext'
20291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20292 (eval $ac_try) 2>&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); }; }; then
20298 cat >conftest.
$ac_ext <<_ACEOF
20301 cat confdefs.h
>>conftest.
$ac_ext
20302 cat >>conftest.
$ac_ext <<_ACEOF
20303 /* end confdefs.h. */
20304 $ac_includes_default
20308 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
20315 rm -f conftest.
$ac_objext
20316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20317 (eval $ac_compile) 2>conftest.er1
20319 grep -v '^ *+' conftest.er1
>conftest.err
20321 cat conftest.err
>&5
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); } &&
20324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20326 (eval $ac_try) 2>&5
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); }; } &&
20330 { ac_try
='test -s conftest.$ac_objext'
20331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20332 (eval $ac_try) 2>&5
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); }; }; then
20336 ac_hi
=$ac_mid; break
20338 echo "$as_me: failed program was:" >&5
20339 sed 's/^/| /' conftest.
$ac_ext >&5
20341 ac_lo
=`expr $ac_mid + 1`
20342 if test $ac_lo -le $ac_mid; then
20346 ac_mid
=`expr 2 '*' $ac_mid + 1`
20348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20351 echo "$as_me: failed program was:" >&5
20352 sed 's/^/| /' conftest.
$ac_ext >&5
20354 cat >conftest.
$ac_ext <<_ACEOF
20357 cat confdefs.h
>>conftest.
$ac_ext
20358 cat >>conftest.
$ac_ext <<_ACEOF
20359 /* end confdefs.h. */
20360 $ac_includes_default
20364 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
20371 rm -f conftest.
$ac_objext
20372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20373 (eval $ac_compile) 2>conftest.er1
20375 grep -v '^ *+' conftest.er1
>conftest.err
20377 cat conftest.err
>&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } &&
20380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20382 (eval $ac_try) 2>&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); }; } &&
20386 { ac_try
='test -s conftest.$ac_objext'
20387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388 (eval $ac_try) 2>&5
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; }; then
20394 cat >conftest.
$ac_ext <<_ACEOF
20397 cat confdefs.h
>>conftest.
$ac_ext
20398 cat >>conftest.
$ac_ext <<_ACEOF
20399 /* end confdefs.h. */
20400 $ac_includes_default
20404 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
20411 rm -f conftest.
$ac_objext
20412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20413 (eval $ac_compile) 2>conftest.er1
20415 grep -v '^ *+' conftest.er1
>conftest.err
20417 cat conftest.err
>&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } &&
20420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20422 (eval $ac_try) 2>&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); }; } &&
20426 { ac_try
='test -s conftest.$ac_objext'
20427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20428 (eval $ac_try) 2>&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); }; }; then
20432 ac_lo
=$ac_mid; break
20434 echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.
$ac_ext >&5
20437 ac_hi
=`expr '(' $ac_mid ')' - 1`
20438 if test $ac_mid -le $ac_hi; then
20442 ac_mid
=`expr 2 '*' $ac_mid`
20444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20447 echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.
$ac_ext >&5
20452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20455 # Binary search between lo and hi bounds.
20456 while test "x$ac_lo" != "x$ac_hi"; do
20457 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20458 cat >conftest.
$ac_ext <<_ACEOF
20461 cat confdefs.h
>>conftest.
$ac_ext
20462 cat >>conftest.
$ac_ext <<_ACEOF
20463 /* end confdefs.h. */
20464 $ac_includes_default
20468 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
20475 rm -f conftest.
$ac_objext
20476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20477 (eval $ac_compile) 2>conftest.er1
20479 grep -v '^ *+' conftest.er1
>conftest.err
20481 cat conftest.err
>&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } &&
20484 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20486 (eval $ac_try) 2>&5
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; } &&
20490 { ac_try
='test -s conftest.$ac_objext'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; }; then
20498 echo "$as_me: failed program was:" >&5
20499 sed 's/^/| /' conftest.
$ac_ext >&5
20501 ac_lo
=`expr '(' $ac_mid ')' + 1`
20503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20506 ?
*) ac_cv_sizeof_short
=$ac_lo;;
20507 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
20508 See \`config.log' for more details." >&5
20509 echo "$as_me: error: cannot compute sizeof (short), 77
20510 See \`config.log' for more details." >&2;}
20511 { (exit 1); exit 1; }; } ;;
20514 if test "$cross_compiling" = yes; then
20515 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20516 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20517 { (exit 1); exit 1; }; }
20519 cat >conftest.
$ac_ext <<_ACEOF
20522 cat confdefs.h
>>conftest.
$ac_ext
20523 cat >>conftest.
$ac_ext <<_ACEOF
20524 /* end confdefs.h. */
20525 $ac_includes_default
20526 long longval () { return (long) (sizeof (short)); }
20527 unsigned long ulongval () { return (long) (sizeof (short)); }
20529 #include <stdlib.h>
20534 FILE *f = fopen ("conftest.val", "w");
20537 if (((long) (sizeof (short))) < 0)
20539 long i = longval ();
20540 if (i != ((long) (sizeof (short))))
20542 fprintf (f, "%ld\n", i);
20546 unsigned long i = ulongval ();
20547 if (i != ((long) (sizeof (short))))
20549 fprintf (f, "%lu\n", i);
20551 exit (ferror (f) || fclose (f) != 0);
20557 rm -f conftest
$ac_exeext
20558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20559 (eval $ac_link) 2>&5
20561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20564 (eval $ac_try) 2>&5
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); }; }; then
20568 ac_cv_sizeof_short
=`cat conftest.val`
20570 echo "$as_me: program exited with status $ac_status" >&5
20571 echo "$as_me: failed program was:" >&5
20572 sed 's/^/| /' conftest.
$ac_ext >&5
20574 ( exit $ac_status )
20575 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
20576 See \`config.log' for more details." >&5
20577 echo "$as_me: error: cannot compute sizeof (short), 77
20578 See \`config.log' for more details." >&2;}
20579 { (exit 1); exit 1; }; }
20581 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20586 ac_cv_sizeof_short
=0
20589 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20590 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
20591 cat >>confdefs.h
<<_ACEOF
20592 #define SIZEOF_SHORT $ac_cv_sizeof_short
20596 echo "$as_me:$LINENO: checking for void *" >&5
20597 echo $ECHO_N "checking for void *... $ECHO_C" >&6
20598 if test "${ac_cv_type_void_p+set}" = set; then
20599 echo $ECHO_N "(cached) $ECHO_C" >&6
20601 cat >conftest.
$ac_ext <<_ACEOF
20604 cat confdefs.h
>>conftest.
$ac_ext
20605 cat >>conftest.
$ac_ext <<_ACEOF
20606 /* end confdefs.h. */
20607 $ac_includes_default
20613 if (sizeof (void *))
20619 rm -f conftest.
$ac_objext
20620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20621 (eval $ac_compile) 2>conftest.er1
20623 grep -v '^ *+' conftest.er1
>conftest.err
20625 cat conftest.err
>&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); } &&
20628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20630 (eval $ac_try) 2>&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); }; } &&
20634 { ac_try
='test -s conftest.$ac_objext'
20635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20636 (eval $ac_try) 2>&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); }; }; then
20640 ac_cv_type_void_p
=yes
20642 echo "$as_me: failed program was:" >&5
20643 sed 's/^/| /' conftest.
$ac_ext >&5
20645 ac_cv_type_void_p
=no
20647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20649 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20650 echo "${ECHO_T}$ac_cv_type_void_p" >&6
20652 echo "$as_me:$LINENO: checking size of void *" >&5
20653 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
20654 if test "${ac_cv_sizeof_void_p+set}" = set; then
20655 echo $ECHO_N "(cached) $ECHO_C" >&6
20657 if test "$ac_cv_type_void_p" = yes; then
20658 # The cast to unsigned long works around a bug in the HP C Compiler
20659 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20660 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20661 # This bug is HP SR number 8606223364.
20662 if test "$cross_compiling" = yes; then
20663 # Depending upon the size, compute the lo and hi bounds.
20664 cat >conftest.
$ac_ext <<_ACEOF
20667 cat confdefs.h
>>conftest.
$ac_ext
20668 cat >>conftest.
$ac_ext <<_ACEOF
20669 /* end confdefs.h. */
20670 $ac_includes_default
20674 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
20681 rm -f conftest.
$ac_objext
20682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20683 (eval $ac_compile) 2>conftest.er1
20685 grep -v '^ *+' conftest.er1
>conftest.err
20687 cat conftest.err
>&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); } &&
20690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; } &&
20696 { ac_try
='test -s conftest.$ac_objext'
20697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20698 (eval $ac_try) 2>&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); }; }; then
20704 cat >conftest.
$ac_ext <<_ACEOF
20707 cat confdefs.h
>>conftest.
$ac_ext
20708 cat >>conftest.
$ac_ext <<_ACEOF
20709 /* end confdefs.h. */
20710 $ac_includes_default
20714 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
20721 rm -f conftest.
$ac_objext
20722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20723 (eval $ac_compile) 2>conftest.er1
20725 grep -v '^ *+' conftest.er1
>conftest.err
20727 cat conftest.err
>&5
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); } &&
20730 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20732 (eval $ac_try) 2>&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); }; } &&
20736 { ac_try
='test -s conftest.$ac_objext'
20737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20738 (eval $ac_try) 2>&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); }; }; then
20742 ac_hi
=$ac_mid; break
20744 echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.
$ac_ext >&5
20747 ac_lo
=`expr $ac_mid + 1`
20748 if test $ac_lo -le $ac_mid; then
20752 ac_mid
=`expr 2 '*' $ac_mid + 1`
20754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.
$ac_ext >&5
20760 cat >conftest.
$ac_ext <<_ACEOF
20763 cat confdefs.h
>>conftest.
$ac_ext
20764 cat >>conftest.
$ac_ext <<_ACEOF
20765 /* end confdefs.h. */
20766 $ac_includes_default
20770 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
20777 rm -f conftest.
$ac_objext
20778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20779 (eval $ac_compile) 2>conftest.er1
20781 grep -v '^ *+' conftest.er1
>conftest.err
20783 cat conftest.err
>&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } &&
20786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20788 (eval $ac_try) 2>&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); }; } &&
20792 { ac_try
='test -s conftest.$ac_objext'
20793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20794 (eval $ac_try) 2>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; }; then
20800 cat >conftest.
$ac_ext <<_ACEOF
20803 cat confdefs.h
>>conftest.
$ac_ext
20804 cat >>conftest.
$ac_ext <<_ACEOF
20805 /* end confdefs.h. */
20806 $ac_includes_default
20810 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
20817 rm -f conftest.
$ac_objext
20818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20819 (eval $ac_compile) 2>conftest.er1
20821 grep -v '^ *+' conftest.er1
>conftest.err
20823 cat conftest.err
>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } &&
20826 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20828 (eval $ac_try) 2>&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); }; } &&
20832 { ac_try
='test -s conftest.$ac_objext'
20833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20834 (eval $ac_try) 2>&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); }; }; then
20838 ac_lo
=$ac_mid; break
20840 echo "$as_me: failed program was:" >&5
20841 sed 's/^/| /' conftest.
$ac_ext >&5
20843 ac_hi
=`expr '(' $ac_mid ')' - 1`
20844 if test $ac_mid -le $ac_hi; then
20848 ac_mid
=`expr 2 '*' $ac_mid`
20850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20853 echo "$as_me: failed program was:" >&5
20854 sed 's/^/| /' conftest.
$ac_ext >&5
20858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20861 # Binary search between lo and hi bounds.
20862 while test "x$ac_lo" != "x$ac_hi"; do
20863 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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
20874 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
20881 rm -f conftest.
$ac_objext
20882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20883 (eval $ac_compile) 2>conftest.er1
20885 grep -v '^ *+' conftest.er1
>conftest.err
20887 cat conftest.err
>&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } &&
20890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20892 (eval $ac_try) 2>&5
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); }; } &&
20896 { ac_try
='test -s conftest.$ac_objext'
20897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20898 (eval $ac_try) 2>&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); }; }; then
20904 echo "$as_me: failed program was:" >&5
20905 sed 's/^/| /' conftest.
$ac_ext >&5
20907 ac_lo
=`expr '(' $ac_mid ')' + 1`
20909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20912 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
20913 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
20914 See \`config.log' for more details." >&5
20915 echo "$as_me: error: cannot compute sizeof (void *), 77
20916 See \`config.log' for more details." >&2;}
20917 { (exit 1); exit 1; }; } ;;
20920 if test "$cross_compiling" = yes; then
20921 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20922 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20923 { (exit 1); exit 1; }; }
20925 cat >conftest.
$ac_ext <<_ACEOF
20928 cat confdefs.h
>>conftest.
$ac_ext
20929 cat >>conftest.
$ac_ext <<_ACEOF
20930 /* end confdefs.h. */
20931 $ac_includes_default
20932 long longval () { return (long) (sizeof (void *)); }
20933 unsigned long ulongval () { return (long) (sizeof (void *)); }
20935 #include <stdlib.h>
20940 FILE *f = fopen ("conftest.val", "w");
20943 if (((long) (sizeof (void *))) < 0)
20945 long i = longval ();
20946 if (i != ((long) (sizeof (void *))))
20948 fprintf (f, "%ld\n", i);
20952 unsigned long i = ulongval ();
20953 if (i != ((long) (sizeof (void *))))
20955 fprintf (f, "%lu\n", i);
20957 exit (ferror (f) || fclose (f) != 0);
20963 rm -f conftest
$ac_exeext
20964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20965 (eval $ac_link) 2>&5
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20970 (eval $ac_try) 2>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); }; }; then
20974 ac_cv_sizeof_void_p
=`cat conftest.val`
20976 echo "$as_me: program exited with status $ac_status" >&5
20977 echo "$as_me: failed program was:" >&5
20978 sed 's/^/| /' conftest.
$ac_ext >&5
20980 ( exit $ac_status )
20981 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
20982 See \`config.log' for more details." >&5
20983 echo "$as_me: error: cannot compute sizeof (void *), 77
20984 See \`config.log' for more details." >&2;}
20985 { (exit 1); exit 1; }; }
20987 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20992 ac_cv_sizeof_void_p
=0
20995 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20996 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
20997 cat >>confdefs.h
<<_ACEOF
20998 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21002 echo "$as_me:$LINENO: checking for int" >&5
21003 echo $ECHO_N "checking for int... $ECHO_C" >&6
21004 if test "${ac_cv_type_int+set}" = set; then
21005 echo $ECHO_N "(cached) $ECHO_C" >&6
21007 cat >conftest.
$ac_ext <<_ACEOF
21010 cat confdefs.h
>>conftest.
$ac_ext
21011 cat >>conftest.
$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21013 $ac_includes_default
21025 rm -f conftest.
$ac_objext
21026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21027 (eval $ac_compile) 2>conftest.er1
21029 grep -v '^ *+' conftest.er1
>conftest.err
21031 cat conftest.err
>&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); } &&
21034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21036 (eval $ac_try) 2>&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); }; } &&
21040 { ac_try
='test -s conftest.$ac_objext'
21041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21042 (eval $ac_try) 2>&5
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); }; }; then
21048 echo "$as_me: failed program was:" >&5
21049 sed 's/^/| /' conftest.
$ac_ext >&5
21053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21055 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21056 echo "${ECHO_T}$ac_cv_type_int" >&6
21058 echo "$as_me:$LINENO: checking size of int" >&5
21059 echo $ECHO_N "checking size of int... $ECHO_C" >&6
21060 if test "${ac_cv_sizeof_int+set}" = set; then
21061 echo $ECHO_N "(cached) $ECHO_C" >&6
21063 if test "$ac_cv_type_int" = yes; then
21064 # The cast to unsigned long works around a bug in the HP C Compiler
21065 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21066 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21067 # This bug is HP SR number 8606223364.
21068 if test "$cross_compiling" = yes; then
21069 # Depending upon the size, compute the lo and hi bounds.
21070 cat >conftest.
$ac_ext <<_ACEOF
21073 cat confdefs.h
>>conftest.
$ac_ext
21074 cat >>conftest.
$ac_ext <<_ACEOF
21075 /* end confdefs.h. */
21076 $ac_includes_default
21080 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
21087 rm -f conftest.
$ac_objext
21088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21089 (eval $ac_compile) 2>conftest.er1
21091 grep -v '^ *+' conftest.er1
>conftest.err
21093 cat conftest.err
>&5
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); } &&
21096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21098 (eval $ac_try) 2>&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); }; } &&
21102 { ac_try
='test -s conftest.$ac_objext'
21103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21104 (eval $ac_try) 2>&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); }; }; then
21110 cat >conftest.
$ac_ext <<_ACEOF
21113 cat confdefs.h
>>conftest.
$ac_ext
21114 cat >>conftest.
$ac_ext <<_ACEOF
21115 /* end confdefs.h. */
21116 $ac_includes_default
21120 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
21127 rm -f conftest.
$ac_objext
21128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21129 (eval $ac_compile) 2>conftest.er1
21131 grep -v '^ *+' conftest.er1
>conftest.err
21133 cat conftest.err
>&5
21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21135 (exit $ac_status); } &&
21136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21138 (eval $ac_try) 2>&5
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); }; } &&
21142 { ac_try
='test -s conftest.$ac_objext'
21143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21144 (eval $ac_try) 2>&5
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); }; }; then
21148 ac_hi
=$ac_mid; break
21150 echo "$as_me: failed program was:" >&5
21151 sed 's/^/| /' conftest.
$ac_ext >&5
21153 ac_lo
=`expr $ac_mid + 1`
21154 if test $ac_lo -le $ac_mid; then
21158 ac_mid
=`expr 2 '*' $ac_mid + 1`
21160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21163 echo "$as_me: failed program was:" >&5
21164 sed 's/^/| /' conftest.
$ac_ext >&5
21166 cat >conftest.
$ac_ext <<_ACEOF
21169 cat confdefs.h
>>conftest.
$ac_ext
21170 cat >>conftest.
$ac_ext <<_ACEOF
21171 /* end confdefs.h. */
21172 $ac_includes_default
21176 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
21183 rm -f conftest.
$ac_objext
21184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21185 (eval $ac_compile) 2>conftest.er1
21187 grep -v '^ *+' conftest.er1
>conftest.err
21189 cat conftest.err
>&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); } &&
21192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21194 (eval $ac_try) 2>&5
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); }; } &&
21198 { ac_try
='test -s conftest.$ac_objext'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; }; then
21206 cat >conftest.
$ac_ext <<_ACEOF
21209 cat confdefs.h
>>conftest.
$ac_ext
21210 cat >>conftest.
$ac_ext <<_ACEOF
21211 /* end confdefs.h. */
21212 $ac_includes_default
21216 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
21223 rm -f conftest.
$ac_objext
21224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21225 (eval $ac_compile) 2>conftest.er1
21227 grep -v '^ *+' conftest.er1
>conftest.err
21229 cat conftest.err
>&5
21230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231 (exit $ac_status); } &&
21232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21234 (eval $ac_try) 2>&5
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); }; } &&
21238 { ac_try
='test -s conftest.$ac_objext'
21239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21240 (eval $ac_try) 2>&5
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); }; }; then
21244 ac_lo
=$ac_mid; break
21246 echo "$as_me: failed program was:" >&5
21247 sed 's/^/| /' conftest.
$ac_ext >&5
21249 ac_hi
=`expr '(' $ac_mid ')' - 1`
21250 if test $ac_mid -le $ac_hi; then
21254 ac_mid
=`expr 2 '*' $ac_mid`
21256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21259 echo "$as_me: failed program was:" >&5
21260 sed 's/^/| /' conftest.
$ac_ext >&5
21264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21267 # Binary search between lo and hi bounds.
21268 while test "x$ac_lo" != "x$ac_hi"; do
21269 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21270 cat >conftest.
$ac_ext <<_ACEOF
21273 cat confdefs.h
>>conftest.
$ac_ext
21274 cat >>conftest.
$ac_ext <<_ACEOF
21275 /* end confdefs.h. */
21276 $ac_includes_default
21280 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
21287 rm -f conftest.
$ac_objext
21288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21289 (eval $ac_compile) 2>conftest.er1
21291 grep -v '^ *+' conftest.er1
>conftest.err
21293 cat conftest.err
>&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } &&
21296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21298 (eval $ac_try) 2>&5
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); }; } &&
21302 { ac_try
='test -s conftest.$ac_objext'
21303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21304 (eval $ac_try) 2>&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); }; }; then
21310 echo "$as_me: failed program was:" >&5
21311 sed 's/^/| /' conftest.
$ac_ext >&5
21313 ac_lo
=`expr '(' $ac_mid ')' + 1`
21315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21318 ?
*) ac_cv_sizeof_int
=$ac_lo;;
21319 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
21320 See \`config.log' for more details." >&5
21321 echo "$as_me: error: cannot compute sizeof (int), 77
21322 See \`config.log' for more details." >&2;}
21323 { (exit 1); exit 1; }; } ;;
21326 if test "$cross_compiling" = yes; then
21327 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21328 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21329 { (exit 1); exit 1; }; }
21331 cat >conftest.
$ac_ext <<_ACEOF
21334 cat confdefs.h
>>conftest.
$ac_ext
21335 cat >>conftest.
$ac_ext <<_ACEOF
21336 /* end confdefs.h. */
21337 $ac_includes_default
21338 long longval () { return (long) (sizeof (int)); }
21339 unsigned long ulongval () { return (long) (sizeof (int)); }
21341 #include <stdlib.h>
21346 FILE *f = fopen ("conftest.val", "w");
21349 if (((long) (sizeof (int))) < 0)
21351 long i = longval ();
21352 if (i != ((long) (sizeof (int))))
21354 fprintf (f, "%ld\n", i);
21358 unsigned long i = ulongval ();
21359 if (i != ((long) (sizeof (int))))
21361 fprintf (f, "%lu\n", i);
21363 exit (ferror (f) || fclose (f) != 0);
21369 rm -f conftest
$ac_exeext
21370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21371 (eval $ac_link) 2>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21376 (eval $ac_try) 2>&5
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); }; }; then
21380 ac_cv_sizeof_int
=`cat conftest.val`
21382 echo "$as_me: program exited with status $ac_status" >&5
21383 echo "$as_me: failed program was:" >&5
21384 sed 's/^/| /' conftest.
$ac_ext >&5
21386 ( exit $ac_status )
21387 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
21388 See \`config.log' for more details." >&5
21389 echo "$as_me: error: cannot compute sizeof (int), 77
21390 See \`config.log' for more details." >&2;}
21391 { (exit 1); exit 1; }; }
21393 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21401 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21402 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
21403 cat >>confdefs.h
<<_ACEOF
21404 #define SIZEOF_INT $ac_cv_sizeof_int
21408 echo "$as_me:$LINENO: checking for long" >&5
21409 echo $ECHO_N "checking for long... $ECHO_C" >&6
21410 if test "${ac_cv_type_long+set}" = set; then
21411 echo $ECHO_N "(cached) $ECHO_C" >&6
21413 cat >conftest.
$ac_ext <<_ACEOF
21416 cat confdefs.h
>>conftest.
$ac_ext
21417 cat >>conftest.
$ac_ext <<_ACEOF
21418 /* end confdefs.h. */
21419 $ac_includes_default
21431 rm -f conftest.
$ac_objext
21432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21433 (eval $ac_compile) 2>conftest.er1
21435 grep -v '^ *+' conftest.er1
>conftest.err
21437 cat conftest.err
>&5
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); } &&
21440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21442 (eval $ac_try) 2>&5
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); }; } &&
21446 { ac_try
='test -s conftest.$ac_objext'
21447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21448 (eval $ac_try) 2>&5
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); }; }; then
21452 ac_cv_type_long
=yes
21454 echo "$as_me: failed program was:" >&5
21455 sed 's/^/| /' conftest.
$ac_ext >&5
21459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21461 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21462 echo "${ECHO_T}$ac_cv_type_long" >&6
21464 echo "$as_me:$LINENO: checking size of long" >&5
21465 echo $ECHO_N "checking size of long... $ECHO_C" >&6
21466 if test "${ac_cv_sizeof_long+set}" = set; then
21467 echo $ECHO_N "(cached) $ECHO_C" >&6
21469 if test "$ac_cv_type_long" = yes; then
21470 # The cast to unsigned long works around a bug in the HP C Compiler
21471 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21472 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21473 # This bug is HP SR number 8606223364.
21474 if test "$cross_compiling" = yes; then
21475 # Depending upon the size, compute the lo and hi bounds.
21476 cat >conftest.
$ac_ext <<_ACEOF
21479 cat confdefs.h
>>conftest.
$ac_ext
21480 cat >>conftest.
$ac_ext <<_ACEOF
21481 /* end confdefs.h. */
21482 $ac_includes_default
21486 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
21493 rm -f conftest.
$ac_objext
21494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21495 (eval $ac_compile) 2>conftest.er1
21497 grep -v '^ *+' conftest.er1
>conftest.err
21499 cat conftest.err
>&5
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); } &&
21502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21504 (eval $ac_try) 2>&5
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); }; } &&
21508 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
21516 cat >conftest.
$ac_ext <<_ACEOF
21519 cat confdefs.h
>>conftest.
$ac_ext
21520 cat >>conftest.
$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522 $ac_includes_default
21526 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
21533 rm -f conftest.
$ac_objext
21534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21535 (eval $ac_compile) 2>conftest.er1
21537 grep -v '^ *+' conftest.er1
>conftest.err
21539 cat conftest.err
>&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); } &&
21542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21544 (eval $ac_try) 2>&5
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); }; } &&
21548 { ac_try
='test -s conftest.$ac_objext'
21549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21550 (eval $ac_try) 2>&5
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); }; }; then
21554 ac_hi
=$ac_mid; break
21556 echo "$as_me: failed program was:" >&5
21557 sed 's/^/| /' conftest.
$ac_ext >&5
21559 ac_lo
=`expr $ac_mid + 1`
21560 if test $ac_lo -le $ac_mid; then
21564 ac_mid
=`expr 2 '*' $ac_mid + 1`
21566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21569 echo "$as_me: failed program was:" >&5
21570 sed 's/^/| /' conftest.
$ac_ext >&5
21572 cat >conftest.
$ac_ext <<_ACEOF
21575 cat confdefs.h
>>conftest.
$ac_ext
21576 cat >>conftest.
$ac_ext <<_ACEOF
21577 /* end confdefs.h. */
21578 $ac_includes_default
21582 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
21589 rm -f conftest.
$ac_objext
21590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21591 (eval $ac_compile) 2>conftest.er1
21593 grep -v '^ *+' conftest.er1
>conftest.err
21595 cat conftest.err
>&5
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); } &&
21598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21600 (eval $ac_try) 2>&5
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); }; } &&
21604 { ac_try
='test -s conftest.$ac_objext'
21605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21606 (eval $ac_try) 2>&5
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); }; }; then
21612 cat >conftest.
$ac_ext <<_ACEOF
21615 cat confdefs.h
>>conftest.
$ac_ext
21616 cat >>conftest.
$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21618 $ac_includes_default
21622 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
21629 rm -f conftest.
$ac_objext
21630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21631 (eval $ac_compile) 2>conftest.er1
21633 grep -v '^ *+' conftest.er1
>conftest.err
21635 cat conftest.err
>&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } &&
21638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640 (eval $ac_try) 2>&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); }; } &&
21644 { ac_try
='test -s conftest.$ac_objext'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; }; then
21650 ac_lo
=$ac_mid; break
21652 echo "$as_me: failed program was:" >&5
21653 sed 's/^/| /' conftest.
$ac_ext >&5
21655 ac_hi
=`expr '(' $ac_mid ')' - 1`
21656 if test $ac_mid -le $ac_hi; then
21660 ac_mid
=`expr 2 '*' $ac_mid`
21662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21665 echo "$as_me: failed program was:" >&5
21666 sed 's/^/| /' conftest.
$ac_ext >&5
21670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21673 # Binary search between lo and hi bounds.
21674 while test "x$ac_lo" != "x$ac_hi"; do
21675 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21676 cat >conftest.
$ac_ext <<_ACEOF
21679 cat confdefs.h
>>conftest.
$ac_ext
21680 cat >>conftest.
$ac_ext <<_ACEOF
21681 /* end confdefs.h. */
21682 $ac_includes_default
21686 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
21693 rm -f conftest.
$ac_objext
21694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21695 (eval $ac_compile) 2>conftest.er1
21697 grep -v '^ *+' conftest.er1
>conftest.err
21699 cat conftest.err
>&5
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); } &&
21702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21704 (eval $ac_try) 2>&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); }; } &&
21708 { ac_try
='test -s conftest.$ac_objext'
21709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21710 (eval $ac_try) 2>&5
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); }; }; then
21716 echo "$as_me: failed program was:" >&5
21717 sed 's/^/| /' conftest.
$ac_ext >&5
21719 ac_lo
=`expr '(' $ac_mid ')' + 1`
21721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21724 ?
*) ac_cv_sizeof_long
=$ac_lo;;
21725 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
21726 See \`config.log' for more details." >&5
21727 echo "$as_me: error: cannot compute sizeof (long), 77
21728 See \`config.log' for more details." >&2;}
21729 { (exit 1); exit 1; }; } ;;
21732 if test "$cross_compiling" = yes; then
21733 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21734 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21735 { (exit 1); exit 1; }; }
21737 cat >conftest.
$ac_ext <<_ACEOF
21740 cat confdefs.h
>>conftest.
$ac_ext
21741 cat >>conftest.
$ac_ext <<_ACEOF
21742 /* end confdefs.h. */
21743 $ac_includes_default
21744 long longval () { return (long) (sizeof (long)); }
21745 unsigned long ulongval () { return (long) (sizeof (long)); }
21747 #include <stdlib.h>
21752 FILE *f = fopen ("conftest.val", "w");
21755 if (((long) (sizeof (long))) < 0)
21757 long i = longval ();
21758 if (i != ((long) (sizeof (long))))
21760 fprintf (f, "%ld\n", i);
21764 unsigned long i = ulongval ();
21765 if (i != ((long) (sizeof (long))))
21767 fprintf (f, "%lu\n", i);
21769 exit (ferror (f) || fclose (f) != 0);
21775 rm -f conftest
$ac_exeext
21776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21777 (eval $ac_link) 2>&5
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21782 (eval $ac_try) 2>&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); }; }; then
21786 ac_cv_sizeof_long
=`cat conftest.val`
21788 echo "$as_me: program exited with status $ac_status" >&5
21789 echo "$as_me: failed program was:" >&5
21790 sed 's/^/| /' conftest.
$ac_ext >&5
21792 ( exit $ac_status )
21793 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
21794 See \`config.log' for more details." >&5
21795 echo "$as_me: error: cannot compute sizeof (long), 77
21796 See \`config.log' for more details." >&2;}
21797 { (exit 1); exit 1; }; }
21799 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21804 ac_cv_sizeof_long
=0
21807 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21808 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
21809 cat >>confdefs.h
<<_ACEOF
21810 #define SIZEOF_LONG $ac_cv_sizeof_long
21814 echo "$as_me:$LINENO: checking for size_t" >&5
21815 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
21816 if test "${ac_cv_type_size_t+set}" = set; then
21817 echo $ECHO_N "(cached) $ECHO_C" >&6
21819 cat >conftest.
$ac_ext <<_ACEOF
21822 cat confdefs.h
>>conftest.
$ac_ext
21823 cat >>conftest.
$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21825 $ac_includes_default
21831 if (sizeof (size_t))
21837 rm -f conftest.
$ac_objext
21838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21839 (eval $ac_compile) 2>conftest.er1
21841 grep -v '^ *+' conftest.er1
>conftest.err
21843 cat conftest.err
>&5
21844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21845 (exit $ac_status); } &&
21846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21848 (eval $ac_try) 2>&5
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); }; } &&
21852 { ac_try
='test -s conftest.$ac_objext'
21853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21854 (eval $ac_try) 2>&5
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); }; }; then
21858 ac_cv_type_size_t
=yes
21860 echo "$as_me: failed program was:" >&5
21861 sed 's/^/| /' conftest.
$ac_ext >&5
21863 ac_cv_type_size_t
=no
21865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21867 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21868 echo "${ECHO_T}$ac_cv_type_size_t" >&6
21870 echo "$as_me:$LINENO: checking size of size_t" >&5
21871 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
21872 if test "${ac_cv_sizeof_size_t+set}" = set; then
21873 echo $ECHO_N "(cached) $ECHO_C" >&6
21875 if test "$ac_cv_type_size_t" = yes; then
21876 # The cast to unsigned long works around a bug in the HP C Compiler
21877 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21878 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21879 # This bug is HP SR number 8606223364.
21880 if test "$cross_compiling" = yes; then
21881 # Depending upon the size, compute the lo and hi bounds.
21882 cat >conftest.
$ac_ext <<_ACEOF
21885 cat confdefs.h
>>conftest.
$ac_ext
21886 cat >>conftest.
$ac_ext <<_ACEOF
21887 /* end confdefs.h. */
21888 $ac_includes_default
21892 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
21899 rm -f conftest.
$ac_objext
21900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21901 (eval $ac_compile) 2>conftest.er1
21903 grep -v '^ *+' conftest.er1
>conftest.err
21905 cat conftest.err
>&5
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); } &&
21908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21910 (eval $ac_try) 2>&5
21912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21913 (exit $ac_status); }; } &&
21914 { ac_try
='test -s conftest.$ac_objext'
21915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21916 (eval $ac_try) 2>&5
21918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 (exit $ac_status); }; }; then
21922 cat >conftest.
$ac_ext <<_ACEOF
21925 cat confdefs.h
>>conftest.
$ac_ext
21926 cat >>conftest.
$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21928 $ac_includes_default
21932 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
21939 rm -f conftest.
$ac_objext
21940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21941 (eval $ac_compile) 2>conftest.er1
21943 grep -v '^ *+' conftest.er1
>conftest.err
21945 cat conftest.err
>&5
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); } &&
21948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21950 (eval $ac_try) 2>&5
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); }; } &&
21954 { ac_try
='test -s conftest.$ac_objext'
21955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21956 (eval $ac_try) 2>&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); }; }; then
21960 ac_hi
=$ac_mid; break
21962 echo "$as_me: failed program was:" >&5
21963 sed 's/^/| /' conftest.
$ac_ext >&5
21965 ac_lo
=`expr $ac_mid + 1`
21966 if test $ac_lo -le $ac_mid; then
21970 ac_mid
=`expr 2 '*' $ac_mid + 1`
21972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21975 echo "$as_me: failed program was:" >&5
21976 sed 's/^/| /' conftest.
$ac_ext >&5
21978 cat >conftest.
$ac_ext <<_ACEOF
21981 cat confdefs.h
>>conftest.
$ac_ext
21982 cat >>conftest.
$ac_ext <<_ACEOF
21983 /* end confdefs.h. */
21984 $ac_includes_default
21988 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
21995 rm -f conftest.
$ac_objext
21996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21997 (eval $ac_compile) 2>conftest.er1
21999 grep -v '^ *+' conftest.er1
>conftest.err
22001 cat conftest.err
>&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } &&
22004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22006 (eval $ac_try) 2>&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; } &&
22010 { ac_try
='test -s conftest.$ac_objext'
22011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012 (eval $ac_try) 2>&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); }; }; then
22018 cat >conftest.
$ac_ext <<_ACEOF
22021 cat confdefs.h
>>conftest.
$ac_ext
22022 cat >>conftest.
$ac_ext <<_ACEOF
22023 /* end confdefs.h. */
22024 $ac_includes_default
22028 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
22035 rm -f conftest.
$ac_objext
22036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22037 (eval $ac_compile) 2>conftest.er1
22039 grep -v '^ *+' conftest.er1
>conftest.err
22041 cat conftest.err
>&5
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); } &&
22044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046 (eval $ac_try) 2>&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; } &&
22050 { ac_try
='test -s conftest.$ac_objext'
22051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22052 (eval $ac_try) 2>&5
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 (exit $ac_status); }; }; then
22056 ac_lo
=$ac_mid; break
22058 echo "$as_me: failed program was:" >&5
22059 sed 's/^/| /' conftest.
$ac_ext >&5
22061 ac_hi
=`expr '(' $ac_mid ')' - 1`
22062 if test $ac_mid -le $ac_hi; then
22066 ac_mid
=`expr 2 '*' $ac_mid`
22068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22071 echo "$as_me: failed program was:" >&5
22072 sed 's/^/| /' conftest.
$ac_ext >&5
22076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22079 # Binary search between lo and hi bounds.
22080 while test "x$ac_lo" != "x$ac_hi"; do
22081 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22082 cat >conftest.
$ac_ext <<_ACEOF
22085 cat confdefs.h
>>conftest.
$ac_ext
22086 cat >>conftest.
$ac_ext <<_ACEOF
22087 /* end confdefs.h. */
22088 $ac_includes_default
22092 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
22099 rm -f conftest.
$ac_objext
22100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22101 (eval $ac_compile) 2>conftest.er1
22103 grep -v '^ *+' conftest.er1
>conftest.err
22105 cat conftest.err
>&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); } &&
22108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22110 (eval $ac_try) 2>&5
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); }; } &&
22114 { ac_try
='test -s conftest.$ac_objext'
22115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22116 (eval $ac_try) 2>&5
22118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119 (exit $ac_status); }; }; then
22122 echo "$as_me: failed program was:" >&5
22123 sed 's/^/| /' conftest.
$ac_ext >&5
22125 ac_lo
=`expr '(' $ac_mid ')' + 1`
22127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22130 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
22131 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
22132 See \`config.log' for more details." >&5
22133 echo "$as_me: error: cannot compute sizeof (size_t), 77
22134 See \`config.log' for more details." >&2;}
22135 { (exit 1); exit 1; }; } ;;
22138 if test "$cross_compiling" = yes; then
22139 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22140 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22141 { (exit 1); exit 1; }; }
22143 cat >conftest.
$ac_ext <<_ACEOF
22146 cat confdefs.h
>>conftest.
$ac_ext
22147 cat >>conftest.
$ac_ext <<_ACEOF
22148 /* end confdefs.h. */
22149 $ac_includes_default
22150 long longval () { return (long) (sizeof (size_t)); }
22151 unsigned long ulongval () { return (long) (sizeof (size_t)); }
22153 #include <stdlib.h>
22158 FILE *f = fopen ("conftest.val", "w");
22161 if (((long) (sizeof (size_t))) < 0)
22163 long i = longval ();
22164 if (i != ((long) (sizeof (size_t))))
22166 fprintf (f, "%ld\n", i);
22170 unsigned long i = ulongval ();
22171 if (i != ((long) (sizeof (size_t))))
22173 fprintf (f, "%lu\n", i);
22175 exit (ferror (f) || fclose (f) != 0);
22181 rm -f conftest
$ac_exeext
22182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22183 (eval $ac_link) 2>&5
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22188 (eval $ac_try) 2>&5
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); }; }; then
22192 ac_cv_sizeof_size_t
=`cat conftest.val`
22194 echo "$as_me: program exited with status $ac_status" >&5
22195 echo "$as_me: failed program was:" >&5
22196 sed 's/^/| /' conftest.
$ac_ext >&5
22198 ( exit $ac_status )
22199 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
22200 See \`config.log' for more details." >&5
22201 echo "$as_me: error: cannot compute sizeof (size_t), 77
22202 See \`config.log' for more details." >&2;}
22203 { (exit 1); exit 1; }; }
22205 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22210 ac_cv_sizeof_size_t
=0
22213 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22214 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
22215 cat >>confdefs.h
<<_ACEOF
22216 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22223 echo "$as_me:$LINENO: checking for long long" >&5
22224 echo $ECHO_N "checking for long long... $ECHO_C" >&6
22225 if test "${ac_cv_type_long_long+set}" = set; then
22226 echo $ECHO_N "(cached) $ECHO_C" >&6
22228 cat >conftest.
$ac_ext <<_ACEOF
22231 cat confdefs.h
>>conftest.
$ac_ext
22232 cat >>conftest.
$ac_ext <<_ACEOF
22233 /* end confdefs.h. */
22234 $ac_includes_default
22238 if ((long long *) 0)
22240 if (sizeof (long long))
22246 rm -f conftest.
$ac_objext
22247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22248 (eval $ac_compile) 2>conftest.er1
22250 grep -v '^ *+' conftest.er1
>conftest.err
22252 cat conftest.err
>&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); } &&
22255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22257 (eval $ac_try) 2>&5
22259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260 (exit $ac_status); }; } &&
22261 { ac_try
='test -s conftest.$ac_objext'
22262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22263 (eval $ac_try) 2>&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); }; }; then
22267 ac_cv_type_long_long
=yes
22269 echo "$as_me: failed program was:" >&5
22270 sed 's/^/| /' conftest.
$ac_ext >&5
22272 ac_cv_type_long_long
=no
22274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22276 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22277 echo "${ECHO_T}$ac_cv_type_long_long" >&6
22279 echo "$as_me:$LINENO: checking size of long long" >&5
22280 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
22281 if test "${ac_cv_sizeof_long_long+set}" = set; then
22282 echo $ECHO_N "(cached) $ECHO_C" >&6
22284 if test "$ac_cv_type_long_long" = yes; then
22285 # The cast to unsigned long works around a bug in the HP C Compiler
22286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22288 # This bug is HP SR number 8606223364.
22289 if test "$cross_compiling" = yes; then
22290 # Depending upon the size, compute the lo and hi bounds.
22291 cat >conftest.
$ac_ext <<_ACEOF
22294 cat confdefs.h
>>conftest.
$ac_ext
22295 cat >>conftest.
$ac_ext <<_ACEOF
22296 /* end confdefs.h. */
22297 $ac_includes_default
22301 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
22308 rm -f conftest.
$ac_objext
22309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22310 (eval $ac_compile) 2>conftest.er1
22312 grep -v '^ *+' conftest.er1
>conftest.err
22314 cat conftest.err
>&5
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); } &&
22317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22319 (eval $ac_try) 2>&5
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); }; } &&
22323 { ac_try
='test -s conftest.$ac_objext'
22324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325 (eval $ac_try) 2>&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); }; }; then
22331 cat >conftest.
$ac_ext <<_ACEOF
22334 cat confdefs.h
>>conftest.
$ac_ext
22335 cat >>conftest.
$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 $ac_includes_default
22341 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22348 rm -f conftest.
$ac_objext
22349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22350 (eval $ac_compile) 2>conftest.er1
22352 grep -v '^ *+' conftest.er1
>conftest.err
22354 cat conftest.err
>&5
22355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22356 (exit $ac_status); } &&
22357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22359 (eval $ac_try) 2>&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); }; } &&
22363 { ac_try
='test -s conftest.$ac_objext'
22364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22365 (eval $ac_try) 2>&5
22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368 (exit $ac_status); }; }; then
22369 ac_hi
=$ac_mid; break
22371 echo "$as_me: failed program was:" >&5
22372 sed 's/^/| /' conftest.
$ac_ext >&5
22374 ac_lo
=`expr $ac_mid + 1`
22375 if test $ac_lo -le $ac_mid; then
22379 ac_mid
=`expr 2 '*' $ac_mid + 1`
22381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22384 echo "$as_me: failed program was:" >&5
22385 sed 's/^/| /' conftest.
$ac_ext >&5
22387 cat >conftest.
$ac_ext <<_ACEOF
22390 cat confdefs.h
>>conftest.
$ac_ext
22391 cat >>conftest.
$ac_ext <<_ACEOF
22392 /* end confdefs.h. */
22393 $ac_includes_default
22397 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
22404 rm -f conftest.
$ac_objext
22405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22406 (eval $ac_compile) 2>conftest.er1
22408 grep -v '^ *+' conftest.er1
>conftest.err
22410 cat conftest.err
>&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); } &&
22413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22415 (eval $ac_try) 2>&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; } &&
22419 { ac_try
='test -s conftest.$ac_objext'
22420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22421 (eval $ac_try) 2>&5
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; }; then
22427 cat >conftest.
$ac_ext <<_ACEOF
22430 cat confdefs.h
>>conftest.
$ac_ext
22431 cat >>conftest.
$ac_ext <<_ACEOF
22432 /* end confdefs.h. */
22433 $ac_includes_default
22437 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
22444 rm -f conftest.
$ac_objext
22445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22446 (eval $ac_compile) 2>conftest.er1
22448 grep -v '^ *+' conftest.er1
>conftest.err
22450 cat conftest.err
>&5
22451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452 (exit $ac_status); } &&
22453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22455 (eval $ac_try) 2>&5
22457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22458 (exit $ac_status); }; } &&
22459 { ac_try
='test -s conftest.$ac_objext'
22460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22461 (eval $ac_try) 2>&5
22463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22464 (exit $ac_status); }; }; then
22465 ac_lo
=$ac_mid; break
22467 echo "$as_me: failed program was:" >&5
22468 sed 's/^/| /' conftest.
$ac_ext >&5
22470 ac_hi
=`expr '(' $ac_mid ')' - 1`
22471 if test $ac_mid -le $ac_hi; then
22475 ac_mid
=`expr 2 '*' $ac_mid`
22477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22480 echo "$as_me: failed program was:" >&5
22481 sed 's/^/| /' conftest.
$ac_ext >&5
22485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22488 # Binary search between lo and hi bounds.
22489 while test "x$ac_lo" != "x$ac_hi"; do
22490 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22491 cat >conftest.
$ac_ext <<_ACEOF
22494 cat confdefs.h
>>conftest.
$ac_ext
22495 cat >>conftest.
$ac_ext <<_ACEOF
22496 /* end confdefs.h. */
22497 $ac_includes_default
22501 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22508 rm -f conftest.
$ac_objext
22509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22510 (eval $ac_compile) 2>conftest.er1
22512 grep -v '^ *+' conftest.er1
>conftest.err
22514 cat conftest.err
>&5
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); } &&
22517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22519 (eval $ac_try) 2>&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); }; } &&
22523 { ac_try
='test -s conftest.$ac_objext'
22524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22525 (eval $ac_try) 2>&5
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); }; }; then
22531 echo "$as_me: failed program was:" >&5
22532 sed 's/^/| /' conftest.
$ac_ext >&5
22534 ac_lo
=`expr '(' $ac_mid ')' + 1`
22536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22539 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
22540 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22541 See \`config.log' for more details." >&5
22542 echo "$as_me: error: cannot compute sizeof (long long), 77
22543 See \`config.log' for more details." >&2;}
22544 { (exit 1); exit 1; }; } ;;
22547 if test "$cross_compiling" = yes; then
22548 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22549 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22550 { (exit 1); exit 1; }; }
22552 cat >conftest.
$ac_ext <<_ACEOF
22555 cat confdefs.h
>>conftest.
$ac_ext
22556 cat >>conftest.
$ac_ext <<_ACEOF
22557 /* end confdefs.h. */
22558 $ac_includes_default
22559 long longval () { return (long) (sizeof (long long)); }
22560 unsigned long ulongval () { return (long) (sizeof (long long)); }
22562 #include <stdlib.h>
22567 FILE *f = fopen ("conftest.val", "w");
22570 if (((long) (sizeof (long long))) < 0)
22572 long i = longval ();
22573 if (i != ((long) (sizeof (long long))))
22575 fprintf (f, "%ld\n", i);
22579 unsigned long i = ulongval ();
22580 if (i != ((long) (sizeof (long long))))
22582 fprintf (f, "%lu\n", i);
22584 exit (ferror (f) || fclose (f) != 0);
22590 rm -f conftest
$ac_exeext
22591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22592 (eval $ac_link) 2>&5
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22597 (eval $ac_try) 2>&5
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); }; }; then
22601 ac_cv_sizeof_long_long
=`cat conftest.val`
22603 echo "$as_me: program exited with status $ac_status" >&5
22604 echo "$as_me: failed program was:" >&5
22605 sed 's/^/| /' conftest.
$ac_ext >&5
22607 ( exit $ac_status )
22608 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22609 See \`config.log' for more details." >&5
22610 echo "$as_me: error: cannot compute sizeof (long long), 77
22611 See \`config.log' for more details." >&2;}
22612 { (exit 1); exit 1; }; }
22614 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22619 ac_cv_sizeof_long_long
=0
22622 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22623 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
22624 cat >>confdefs.h
<<_ACEOF
22625 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22631 echo "$as_me:$LINENO: checking for long long" >&5
22632 echo $ECHO_N "checking for long long... $ECHO_C" >&6
22633 if test "${ac_cv_type_long_long+set}" = set; then
22634 echo $ECHO_N "(cached) $ECHO_C" >&6
22636 cat >conftest.
$ac_ext <<_ACEOF
22639 cat confdefs.h
>>conftest.
$ac_ext
22640 cat >>conftest.
$ac_ext <<_ACEOF
22641 /* end confdefs.h. */
22642 $ac_includes_default
22646 if ((long long *) 0)
22648 if (sizeof (long long))
22654 rm -f conftest.
$ac_objext
22655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22656 (eval $ac_compile) 2>conftest.er1
22658 grep -v '^ *+' conftest.er1
>conftest.err
22660 cat conftest.err
>&5
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); } &&
22663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; } &&
22669 { ac_try
='test -s conftest.$ac_objext'
22670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22671 (eval $ac_try) 2>&5
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); }; }; then
22675 ac_cv_type_long_long
=yes
22677 echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.
$ac_ext >&5
22680 ac_cv_type_long_long
=no
22682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22684 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22685 echo "${ECHO_T}$ac_cv_type_long_long" >&6
22687 echo "$as_me:$LINENO: checking size of long long" >&5
22688 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
22689 if test "${ac_cv_sizeof_long_long+set}" = set; then
22690 echo $ECHO_N "(cached) $ECHO_C" >&6
22692 if test "$ac_cv_type_long_long" = yes; then
22693 # The cast to unsigned long works around a bug in the HP C Compiler
22694 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22695 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22696 # This bug is HP SR number 8606223364.
22697 if test "$cross_compiling" = yes; then
22698 # Depending upon the size, compute the lo and hi bounds.
22699 cat >conftest.
$ac_ext <<_ACEOF
22702 cat confdefs.h
>>conftest.
$ac_ext
22703 cat >>conftest.
$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22705 $ac_includes_default
22709 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
22716 rm -f conftest.
$ac_objext
22717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22718 (eval $ac_compile) 2>conftest.er1
22720 grep -v '^ *+' conftest.er1
>conftest.err
22722 cat conftest.err
>&5
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); } &&
22725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22727 (eval $ac_try) 2>&5
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); }; } &&
22731 { ac_try
='test -s conftest.$ac_objext'
22732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22733 (eval $ac_try) 2>&5
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); }; }; then
22739 cat >conftest.
$ac_ext <<_ACEOF
22742 cat confdefs.h
>>conftest.
$ac_ext
22743 cat >>conftest.
$ac_ext <<_ACEOF
22744 /* end confdefs.h. */
22745 $ac_includes_default
22749 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22756 rm -f conftest.
$ac_objext
22757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22758 (eval $ac_compile) 2>conftest.er1
22760 grep -v '^ *+' conftest.er1
>conftest.err
22762 cat conftest.err
>&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } &&
22765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22767 (eval $ac_try) 2>&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); }; } &&
22771 { ac_try
='test -s conftest.$ac_objext'
22772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773 (eval $ac_try) 2>&5
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); }; }; then
22777 ac_hi
=$ac_mid; break
22779 echo "$as_me: failed program was:" >&5
22780 sed 's/^/| /' conftest.
$ac_ext >&5
22782 ac_lo
=`expr $ac_mid + 1`
22783 if test $ac_lo -le $ac_mid; then
22787 ac_mid
=`expr 2 '*' $ac_mid + 1`
22789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22792 echo "$as_me: failed program was:" >&5
22793 sed 's/^/| /' conftest.
$ac_ext >&5
22795 cat >conftest.
$ac_ext <<_ACEOF
22798 cat confdefs.h
>>conftest.
$ac_ext
22799 cat >>conftest.
$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22801 $ac_includes_default
22805 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
22812 rm -f conftest.
$ac_objext
22813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22814 (eval $ac_compile) 2>conftest.er1
22816 grep -v '^ *+' conftest.er1
>conftest.err
22818 cat conftest.err
>&5
22819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820 (exit $ac_status); } &&
22821 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
22827 { ac_try
='test -s conftest.$ac_objext'
22828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22829 (eval $ac_try) 2>&5
22831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22832 (exit $ac_status); }; }; then
22835 cat >conftest.
$ac_ext <<_ACEOF
22838 cat confdefs.h
>>conftest.
$ac_ext
22839 cat >>conftest.
$ac_ext <<_ACEOF
22840 /* end confdefs.h. */
22841 $ac_includes_default
22845 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
22852 rm -f conftest.
$ac_objext
22853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22854 (eval $ac_compile) 2>conftest.er1
22856 grep -v '^ *+' conftest.er1
>conftest.err
22858 cat conftest.err
>&5
22859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860 (exit $ac_status); } &&
22861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22863 (eval $ac_try) 2>&5
22865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22866 (exit $ac_status); }; } &&
22867 { ac_try
='test -s conftest.$ac_objext'
22868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22869 (eval $ac_try) 2>&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); }; }; then
22873 ac_lo
=$ac_mid; break
22875 echo "$as_me: failed program was:" >&5
22876 sed 's/^/| /' conftest.
$ac_ext >&5
22878 ac_hi
=`expr '(' $ac_mid ')' - 1`
22879 if test $ac_mid -le $ac_hi; then
22883 ac_mid
=`expr 2 '*' $ac_mid`
22885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22888 echo "$as_me: failed program was:" >&5
22889 sed 's/^/| /' conftest.
$ac_ext >&5
22893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22896 # Binary search between lo and hi bounds.
22897 while test "x$ac_lo" != "x$ac_hi"; do
22898 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22899 cat >conftest.
$ac_ext <<_ACEOF
22902 cat confdefs.h
>>conftest.
$ac_ext
22903 cat >>conftest.
$ac_ext <<_ACEOF
22904 /* end confdefs.h. */
22905 $ac_includes_default
22909 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22916 rm -f conftest.
$ac_objext
22917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22918 (eval $ac_compile) 2>conftest.er1
22920 grep -v '^ *+' conftest.er1
>conftest.err
22922 cat conftest.err
>&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } &&
22925 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22927 (eval $ac_try) 2>&5
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); }; } &&
22931 { ac_try
='test -s conftest.$ac_objext'
22932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22933 (eval $ac_try) 2>&5
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); }; }; then
22939 echo "$as_me: failed program was:" >&5
22940 sed 's/^/| /' conftest.
$ac_ext >&5
22942 ac_lo
=`expr '(' $ac_mid ')' + 1`
22944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22947 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
22948 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22949 See \`config.log' for more details." >&5
22950 echo "$as_me: error: cannot compute sizeof (long long), 77
22951 See \`config.log' for more details." >&2;}
22952 { (exit 1); exit 1; }; } ;;
22955 if test "$cross_compiling" = yes; then
22956 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22957 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22958 { (exit 1); exit 1; }; }
22960 cat >conftest.
$ac_ext <<_ACEOF
22963 cat confdefs.h
>>conftest.
$ac_ext
22964 cat >>conftest.
$ac_ext <<_ACEOF
22965 /* end confdefs.h. */
22966 $ac_includes_default
22967 long longval () { return (long) (sizeof (long long)); }
22968 unsigned long ulongval () { return (long) (sizeof (long long)); }
22970 #include <stdlib.h>
22975 FILE *f = fopen ("conftest.val", "w");
22978 if (((long) (sizeof (long long))) < 0)
22980 long i = longval ();
22981 if (i != ((long) (sizeof (long long))))
22983 fprintf (f, "%ld\n", i);
22987 unsigned long i = ulongval ();
22988 if (i != ((long) (sizeof (long long))))
22990 fprintf (f, "%lu\n", i);
22992 exit (ferror (f) || fclose (f) != 0);
22998 rm -f conftest
$ac_exeext
22999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23000 (eval $ac_link) 2>&5
23002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23003 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23005 (eval $ac_try) 2>&5
23007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008 (exit $ac_status); }; }; then
23009 ac_cv_sizeof_long_long
=`cat conftest.val`
23011 echo "$as_me: program exited with status $ac_status" >&5
23012 echo "$as_me: failed program was:" >&5
23013 sed 's/^/| /' conftest.
$ac_ext >&5
23015 ( exit $ac_status )
23016 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23017 See \`config.log' for more details." >&5
23018 echo "$as_me: error: cannot compute sizeof (long long), 77
23019 See \`config.log' for more details." >&2;}
23020 { (exit 1); exit 1; }; }
23022 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23027 ac_cv_sizeof_long_long
=0
23030 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23031 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
23032 cat >>confdefs.h
<<_ACEOF
23033 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23037 if test "$ac_cv_sizeof_long_long" != "0"; then
23038 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
23042 echo "$as_me:$LINENO: checking for long long" >&5
23043 echo $ECHO_N "checking for long long... $ECHO_C" >&6
23044 if test "${ac_cv_type_long_long+set}" = set; then
23045 echo $ECHO_N "(cached) $ECHO_C" >&6
23047 cat >conftest.
$ac_ext <<_ACEOF
23050 cat confdefs.h
>>conftest.
$ac_ext
23051 cat >>conftest.
$ac_ext <<_ACEOF
23052 /* end confdefs.h. */
23053 $ac_includes_default
23057 if ((long long *) 0)
23059 if (sizeof (long long))
23065 rm -f conftest.
$ac_objext
23066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23067 (eval $ac_compile) 2>conftest.er1
23069 grep -v '^ *+' conftest.er1
>conftest.err
23071 cat conftest.err
>&5
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); } &&
23074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23076 (eval $ac_try) 2>&5
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); }; } &&
23080 { ac_try
='test -s conftest.$ac_objext'
23081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23082 (eval $ac_try) 2>&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); }; }; then
23086 ac_cv_type_long_long
=yes
23088 echo "$as_me: failed program was:" >&5
23089 sed 's/^/| /' conftest.
$ac_ext >&5
23091 ac_cv_type_long_long
=no
23093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23095 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23096 echo "${ECHO_T}$ac_cv_type_long_long" >&6
23098 echo "$as_me:$LINENO: checking size of long long" >&5
23099 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
23100 if test "${ac_cv_sizeof_long_long+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23103 if test "$ac_cv_type_long_long" = yes; then
23104 # The cast to unsigned long works around a bug in the HP C Compiler
23105 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23106 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23107 # This bug is HP SR number 8606223364.
23108 if test "$cross_compiling" = yes; then
23109 # Depending upon the size, compute the lo and hi bounds.
23110 cat >conftest.
$ac_ext <<_ACEOF
23113 cat confdefs.h
>>conftest.
$ac_ext
23114 cat >>conftest.
$ac_ext <<_ACEOF
23115 /* end confdefs.h. */
23116 $ac_includes_default
23120 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
23127 rm -f conftest.
$ac_objext
23128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23129 (eval $ac_compile) 2>conftest.er1
23131 grep -v '^ *+' conftest.er1
>conftest.err
23133 cat conftest.err
>&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } &&
23136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23138 (eval $ac_try) 2>&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); }; } &&
23142 { ac_try
='test -s conftest.$ac_objext'
23143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23144 (eval $ac_try) 2>&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); }; }; then
23150 cat >conftest.
$ac_ext <<_ACEOF
23153 cat confdefs.h
>>conftest.
$ac_ext
23154 cat >>conftest.
$ac_ext <<_ACEOF
23155 /* end confdefs.h. */
23156 $ac_includes_default
23160 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23167 rm -f conftest.
$ac_objext
23168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23169 (eval $ac_compile) 2>conftest.er1
23171 grep -v '^ *+' conftest.er1
>conftest.err
23173 cat conftest.err
>&5
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); } &&
23176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23178 (eval $ac_try) 2>&5
23180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23181 (exit $ac_status); }; } &&
23182 { ac_try
='test -s conftest.$ac_objext'
23183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23184 (eval $ac_try) 2>&5
23186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23187 (exit $ac_status); }; }; then
23188 ac_hi
=$ac_mid; break
23190 echo "$as_me: failed program was:" >&5
23191 sed 's/^/| /' conftest.
$ac_ext >&5
23193 ac_lo
=`expr $ac_mid + 1`
23194 if test $ac_lo -le $ac_mid; then
23198 ac_mid
=`expr 2 '*' $ac_mid + 1`
23200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23203 echo "$as_me: failed program was:" >&5
23204 sed 's/^/| /' conftest.
$ac_ext >&5
23206 cat >conftest.
$ac_ext <<_ACEOF
23209 cat confdefs.h
>>conftest.
$ac_ext
23210 cat >>conftest.
$ac_ext <<_ACEOF
23211 /* end confdefs.h. */
23212 $ac_includes_default
23216 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
23223 rm -f conftest.
$ac_objext
23224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23225 (eval $ac_compile) 2>conftest.er1
23227 grep -v '^ *+' conftest.er1
>conftest.err
23229 cat conftest.err
>&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } &&
23232 { ac_try
='test -z "$ac_c_werror_flag" || 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 cat >conftest.
$ac_ext <<_ACEOF
23249 cat confdefs.h
>>conftest.
$ac_ext
23250 cat >>conftest.
$ac_ext <<_ACEOF
23251 /* end confdefs.h. */
23252 $ac_includes_default
23256 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
23263 rm -f conftest.
$ac_objext
23264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23265 (eval $ac_compile) 2>conftest.er1
23267 grep -v '^ *+' conftest.er1
>conftest.err
23269 cat conftest.err
>&5
23270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23271 (exit $ac_status); } &&
23272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23274 (eval $ac_try) 2>&5
23276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23277 (exit $ac_status); }; } &&
23278 { ac_try
='test -s conftest.$ac_objext'
23279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23280 (eval $ac_try) 2>&5
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); }; }; then
23284 ac_lo
=$ac_mid; break
23286 echo "$as_me: failed program was:" >&5
23287 sed 's/^/| /' conftest.
$ac_ext >&5
23289 ac_hi
=`expr '(' $ac_mid ')' - 1`
23290 if test $ac_mid -le $ac_hi; then
23294 ac_mid
=`expr 2 '*' $ac_mid`
23296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23299 echo "$as_me: failed program was:" >&5
23300 sed 's/^/| /' conftest.
$ac_ext >&5
23304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23307 # Binary search between lo and hi bounds.
23308 while test "x$ac_lo" != "x$ac_hi"; do
23309 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23310 cat >conftest.
$ac_ext <<_ACEOF
23313 cat confdefs.h
>>conftest.
$ac_ext
23314 cat >>conftest.
$ac_ext <<_ACEOF
23315 /* end confdefs.h. */
23316 $ac_includes_default
23320 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23327 rm -f conftest.
$ac_objext
23328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23329 (eval $ac_compile) 2>conftest.er1
23331 grep -v '^ *+' conftest.er1
>conftest.err
23333 cat conftest.err
>&5
23334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335 (exit $ac_status); } &&
23336 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23338 (eval $ac_try) 2>&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); }; } &&
23342 { ac_try
='test -s conftest.$ac_objext'
23343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23344 (eval $ac_try) 2>&5
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); }; }; then
23350 echo "$as_me: failed program was:" >&5
23351 sed 's/^/| /' conftest.
$ac_ext >&5
23353 ac_lo
=`expr '(' $ac_mid ')' + 1`
23355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23358 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
23359 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23360 See \`config.log' for more details." >&5
23361 echo "$as_me: error: cannot compute sizeof (long long), 77
23362 See \`config.log' for more details." >&2;}
23363 { (exit 1); exit 1; }; } ;;
23366 if test "$cross_compiling" = yes; then
23367 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
23368 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
23369 { (exit 1); exit 1; }; }
23371 cat >conftest.
$ac_ext <<_ACEOF
23374 cat confdefs.h
>>conftest.
$ac_ext
23375 cat >>conftest.
$ac_ext <<_ACEOF
23376 /* end confdefs.h. */
23377 $ac_includes_default
23378 long longval () { return (long) (sizeof (long long)); }
23379 unsigned long ulongval () { return (long) (sizeof (long long)); }
23381 #include <stdlib.h>
23386 FILE *f = fopen ("conftest.val", "w");
23389 if (((long) (sizeof (long long))) < 0)
23391 long i = longval ();
23392 if (i != ((long) (sizeof (long long))))
23394 fprintf (f, "%ld\n", i);
23398 unsigned long i = ulongval ();
23399 if (i != ((long) (sizeof (long long))))
23401 fprintf (f, "%lu\n", i);
23403 exit (ferror (f) || fclose (f) != 0);
23409 rm -f conftest
$ac_exeext
23410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23411 (eval $ac_link) 2>&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23416 (eval $ac_try) 2>&5
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); }; }; then
23420 ac_cv_sizeof_long_long
=`cat conftest.val`
23422 echo "$as_me: program exited with status $ac_status" >&5
23423 echo "$as_me: failed program was:" >&5
23424 sed 's/^/| /' conftest.
$ac_ext >&5
23426 ( exit $ac_status )
23427 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23428 See \`config.log' for more details." >&5
23429 echo "$as_me: error: cannot compute sizeof (long long), 77
23430 See \`config.log' for more details." >&2;}
23431 { (exit 1); exit 1; }; }
23433 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23438 ac_cv_sizeof_long_long
=0
23441 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23442 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
23443 cat >>confdefs.h
<<_ACEOF
23444 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23450 echo "$as_me:$LINENO: checking for wchar_t" >&5
23451 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
23452 if test "${ac_cv_type_wchar_t+set}" = set; then
23453 echo $ECHO_N "(cached) $ECHO_C" >&6
23455 cat >conftest.
$ac_ext <<_ACEOF
23458 cat confdefs.h
>>conftest.
$ac_ext
23459 cat >>conftest.
$ac_ext <<_ACEOF
23460 /* end confdefs.h. */
23462 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23463 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23464 # error "fake wchar_t"
23466 #ifdef HAVE_WCHAR_H
23468 # include <stddef.h>
23470 # include <wchar.h>
23472 #ifdef HAVE_STDLIB_H
23473 # include <stdlib.h>
23484 if (sizeof (wchar_t))
23490 rm -f conftest.
$ac_objext
23491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23492 (eval $ac_compile) 2>conftest.er1
23494 grep -v '^ *+' conftest.er1
>conftest.err
23496 cat conftest.err
>&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } &&
23499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23501 (eval $ac_try) 2>&5
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); }; } &&
23505 { ac_try
='test -s conftest.$ac_objext'
23506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23507 (eval $ac_try) 2>&5
23509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510 (exit $ac_status); }; }; then
23511 ac_cv_type_wchar_t
=yes
23513 echo "$as_me: failed program was:" >&5
23514 sed 's/^/| /' conftest.
$ac_ext >&5
23516 ac_cv_type_wchar_t
=no
23518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23520 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23521 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
23523 echo "$as_me:$LINENO: checking size of wchar_t" >&5
23524 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
23525 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23526 echo $ECHO_N "(cached) $ECHO_C" >&6
23528 if test "$ac_cv_type_wchar_t" = yes; then
23529 # The cast to unsigned long works around a bug in the HP C Compiler
23530 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23531 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23532 # This bug is HP SR number 8606223364.
23533 if test "$cross_compiling" = yes; then
23534 # Depending upon the size, compute the lo and hi bounds.
23535 cat >conftest.
$ac_ext <<_ACEOF
23538 cat confdefs.h
>>conftest.
$ac_ext
23539 cat >>conftest.
$ac_ext <<_ACEOF
23540 /* end confdefs.h. */
23542 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23543 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23544 # error "fake wchar_t"
23546 #ifdef HAVE_WCHAR_H
23548 # include <stddef.h>
23550 # include <wchar.h>
23552 #ifdef HAVE_STDLIB_H
23553 # include <stdlib.h>
23562 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
23569 rm -f conftest.
$ac_objext
23570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23571 (eval $ac_compile) 2>conftest.er1
23573 grep -v '^ *+' conftest.er1
>conftest.err
23575 cat conftest.err
>&5
23576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23577 (exit $ac_status); } &&
23578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23580 (eval $ac_try) 2>&5
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); }; } &&
23584 { ac_try
='test -s conftest.$ac_objext'
23585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23586 (eval $ac_try) 2>&5
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); }; }; then
23592 cat >conftest.
$ac_ext <<_ACEOF
23595 cat confdefs.h
>>conftest.
$ac_ext
23596 cat >>conftest.
$ac_ext <<_ACEOF
23597 /* end confdefs.h. */
23599 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23600 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23601 # error "fake wchar_t"
23603 #ifdef HAVE_WCHAR_H
23605 # include <stddef.h>
23607 # include <wchar.h>
23609 #ifdef HAVE_STDLIB_H
23610 # include <stdlib.h>
23619 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
23626 rm -f conftest.
$ac_objext
23627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23628 (eval $ac_compile) 2>conftest.er1
23630 grep -v '^ *+' conftest.er1
>conftest.err
23632 cat conftest.err
>&5
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); } &&
23635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23637 (eval $ac_try) 2>&5
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); }; } &&
23641 { ac_try
='test -s conftest.$ac_objext'
23642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23643 (eval $ac_try) 2>&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); }; }; then
23647 ac_hi
=$ac_mid; break
23649 echo "$as_me: failed program was:" >&5
23650 sed 's/^/| /' conftest.
$ac_ext >&5
23652 ac_lo
=`expr $ac_mid + 1`
23653 if test $ac_lo -le $ac_mid; then
23657 ac_mid
=`expr 2 '*' $ac_mid + 1`
23659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.
$ac_ext >&5
23665 cat >conftest.
$ac_ext <<_ACEOF
23668 cat confdefs.h
>>conftest.
$ac_ext
23669 cat >>conftest.
$ac_ext <<_ACEOF
23670 /* end confdefs.h. */
23672 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23673 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23674 # error "fake wchar_t"
23676 #ifdef HAVE_WCHAR_H
23678 # include <stddef.h>
23680 # include <wchar.h>
23682 #ifdef HAVE_STDLIB_H
23683 # include <stdlib.h>
23692 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
23699 rm -f conftest.
$ac_objext
23700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23701 (eval $ac_compile) 2>conftest.er1
23703 grep -v '^ *+' conftest.er1
>conftest.err
23705 cat conftest.err
>&5
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); } &&
23708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23710 (eval $ac_try) 2>&5
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); }; } &&
23714 { ac_try
='test -s conftest.$ac_objext'
23715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23716 (eval $ac_try) 2>&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); }; }; then
23722 cat >conftest.
$ac_ext <<_ACEOF
23725 cat confdefs.h
>>conftest.
$ac_ext
23726 cat >>conftest.
$ac_ext <<_ACEOF
23727 /* end confdefs.h. */
23729 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23730 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23731 # error "fake wchar_t"
23733 #ifdef HAVE_WCHAR_H
23735 # include <stddef.h>
23737 # include <wchar.h>
23739 #ifdef HAVE_STDLIB_H
23740 # include <stdlib.h>
23749 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
23756 rm -f conftest.
$ac_objext
23757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23758 (eval $ac_compile) 2>conftest.er1
23760 grep -v '^ *+' conftest.er1
>conftest.err
23762 cat conftest.err
>&5
23763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23764 (exit $ac_status); } &&
23765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23767 (eval $ac_try) 2>&5
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); }; } &&
23771 { ac_try
='test -s conftest.$ac_objext'
23772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23773 (eval $ac_try) 2>&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); }; }; then
23777 ac_lo
=$ac_mid; break
23779 echo "$as_me: failed program was:" >&5
23780 sed 's/^/| /' conftest.
$ac_ext >&5
23782 ac_hi
=`expr '(' $ac_mid ')' - 1`
23783 if test $ac_mid -le $ac_hi; then
23787 ac_mid
=`expr 2 '*' $ac_mid`
23789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23792 echo "$as_me: failed program was:" >&5
23793 sed 's/^/| /' conftest.
$ac_ext >&5
23797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23800 # Binary search between lo and hi bounds.
23801 while test "x$ac_lo" != "x$ac_hi"; do
23802 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23803 cat >conftest.
$ac_ext <<_ACEOF
23806 cat confdefs.h
>>conftest.
$ac_ext
23807 cat >>conftest.
$ac_ext <<_ACEOF
23808 /* end confdefs.h. */
23810 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23811 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23812 # error "fake wchar_t"
23814 #ifdef HAVE_WCHAR_H
23816 # include <stddef.h>
23818 # include <wchar.h>
23820 #ifdef HAVE_STDLIB_H
23821 # include <stdlib.h>
23830 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
23837 rm -f conftest.
$ac_objext
23838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23839 (eval $ac_compile) 2>conftest.er1
23841 grep -v '^ *+' conftest.er1
>conftest.err
23843 cat conftest.err
>&5
23844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23845 (exit $ac_status); } &&
23846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23848 (eval $ac_try) 2>&5
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); }; } &&
23852 { ac_try
='test -s conftest.$ac_objext'
23853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23854 (eval $ac_try) 2>&5
23856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857 (exit $ac_status); }; }; then
23860 echo "$as_me: failed program was:" >&5
23861 sed 's/^/| /' conftest.
$ac_ext >&5
23863 ac_lo
=`expr '(' $ac_mid ')' + 1`
23865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23868 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
23869 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
23870 See \`config.log' for more details." >&5
23871 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
23872 See \`config.log' for more details." >&2;}
23873 { (exit 1); exit 1; }; } ;;
23876 if test "$cross_compiling" = yes; then
23877 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
23878 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
23879 { (exit 1); exit 1; }; }
23881 cat >conftest.
$ac_ext <<_ACEOF
23884 cat confdefs.h
>>conftest.
$ac_ext
23885 cat >>conftest.
$ac_ext <<_ACEOF
23886 /* end confdefs.h. */
23888 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23889 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23890 # error "fake wchar_t"
23892 #ifdef HAVE_WCHAR_H
23894 # include <stddef.h>
23896 # include <wchar.h>
23898 #ifdef HAVE_STDLIB_H
23899 # include <stdlib.h>
23905 long longval () { return (long) (sizeof (wchar_t)); }
23906 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
23908 #include <stdlib.h>
23913 FILE *f = fopen ("conftest.val", "w");
23916 if (((long) (sizeof (wchar_t))) < 0)
23918 long i = longval ();
23919 if (i != ((long) (sizeof (wchar_t))))
23921 fprintf (f, "%ld\n", i);
23925 unsigned long i = ulongval ();
23926 if (i != ((long) (sizeof (wchar_t))))
23928 fprintf (f, "%lu\n", i);
23930 exit (ferror (f) || fclose (f) != 0);
23936 rm -f conftest
$ac_exeext
23937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23938 (eval $ac_link) 2>&5
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23943 (eval $ac_try) 2>&5
23945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23946 (exit $ac_status); }; }; then
23947 ac_cv_sizeof_wchar_t
=`cat conftest.val`
23949 echo "$as_me: program exited with status $ac_status" >&5
23950 echo "$as_me: failed program was:" >&5
23951 sed 's/^/| /' conftest.
$ac_ext >&5
23953 ( exit $ac_status )
23954 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
23955 See \`config.log' for more details." >&5
23956 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
23957 See \`config.log' for more details." >&2;}
23958 { (exit 1); exit 1; }; }
23960 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23965 ac_cv_sizeof_wchar_t
=0
23968 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23969 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
23970 cat >>confdefs.h
<<_ACEOF
23971 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23975 if test "$ac_cv_sizeof_wchar_t" != "0"; then
23981 echo "$as_me:$LINENO: checking for va_copy" >&5
23982 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
23983 if test "${wx_cv_func_va_copy+set}" = set; then
23984 echo $ECHO_N "(cached) $ECHO_C" >&6
23988 ac_cpp
='$CXXCPP $CPPFLAGS'
23989 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23990 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23991 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23993 cat >conftest.
$ac_ext <<_ACEOF
23995 #include <stdarg.h>
23996 void foo(char *f, ...)
24010 rm -f conftest.
$ac_objext conftest
$ac_exeext
24011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24012 (eval $ac_link) 2>conftest.er1
24014 grep -v '^ *+' conftest.er1
>conftest.err
24016 cat conftest.err
>&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } &&
24019 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24021 (eval $ac_try) 2>&5
24023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24024 (exit $ac_status); }; } &&
24025 { ac_try
='test -s conftest$ac_exeext'
24026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24027 (eval $ac_try) 2>&5
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); }; }; then
24031 wx_cv_func_va_copy
=yes
24033 echo "$as_me: failed program was:" >&5
24034 sed 's/^/| /' conftest.
$ac_ext >&5
24036 wx_cv_func_va_copy
=no
24039 rm -f conftest.err conftest.
$ac_objext \
24040 conftest
$ac_exeext conftest.
$ac_ext
24042 ac_cpp
='$CPP $CPPFLAGS'
24043 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24044 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24045 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24050 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24051 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
24053 if test $wx_cv_func_va_copy = "yes"; then
24054 cat >>confdefs.h
<<\_ACEOF
24055 #define HAVE_VA_COPY 1
24059 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24060 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
24061 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24062 echo $ECHO_N "(cached) $ECHO_C" >&6
24065 if test "$cross_compiling" = yes; then
24066 wx_cv_type_va_list_lvalue
=yes
24069 cat >conftest.
$ac_ext <<_ACEOF
24071 #include <stdarg.h>
24072 int foo(char *f, ...)
24077 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24085 return foo("hi", 17);
24088 rm -f conftest
$ac_exeext
24089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24090 (eval $ac_link) 2>&5
24092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24093 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24095 (eval $ac_try) 2>&5
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); }; }; then
24099 wx_cv_type_va_list_lvalue
=yes
24101 echo "$as_me: program exited with status $ac_status" >&5
24102 echo "$as_me: failed program was:" >&5
24103 sed 's/^/| /' conftest.
$ac_ext >&5
24105 ( exit $ac_status )
24106 wx_cv_type_va_list_lvalue
=no
24108 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24113 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24114 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
24116 if test $wx_cv_type_va_list_lvalue != "yes"; then
24117 cat >>confdefs.h
<<\_ACEOF
24118 #define VA_LIST_IS_ARRAY 1
24124 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24126 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24127 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
24128 if test "${wx_cv_have_variadic_macros+set}" = set; then
24129 echo $ECHO_N "(cached) $ECHO_C" >&6
24133 ac_cpp
='$CXXCPP $CPPFLAGS'
24134 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24135 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24136 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24138 cat >conftest.
$ac_ext <<_ACEOF
24141 cat confdefs.h
>>conftest.
$ac_ext
24142 cat >>conftest.
$ac_ext <<_ACEOF
24143 /* end confdefs.h. */
24146 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24152 test("%s %d %p", "test", 1, 0);
24159 rm -f conftest.
$ac_objext
24160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24161 (eval $ac_compile) 2>conftest.er1
24163 grep -v '^ *+' conftest.er1
>conftest.err
24165 cat conftest.err
>&5
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); } &&
24168 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24170 (eval $ac_try) 2>&5
24172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173 (exit $ac_status); }; } &&
24174 { ac_try
='test -s conftest.$ac_objext'
24175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24176 (eval $ac_try) 2>&5
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); }; }; then
24180 wx_cv_have_variadic_macros
=yes
24182 echo "$as_me: failed program was:" >&5
24183 sed 's/^/| /' conftest.
$ac_ext >&5
24185 wx_cv_have_variadic_macros
=no
24188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24190 ac_cpp
='$CPP $CPPFLAGS'
24191 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24192 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24193 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24198 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24199 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
24201 if test $wx_cv_have_variadic_macros = "yes"; then
24202 cat >>confdefs.h
<<\_ACEOF
24203 #define HAVE_VARIADIC_MACROS 1
24209 # Check whether --enable-largefile or --disable-largefile was given.
24210 if test "${enable_largefile+set}" = set; then
24211 enableval
="$enable_largefile"
24214 if test "$enable_largefile" != no
; then
24217 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24218 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
24219 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24220 echo $ECHO_N "(cached) $ECHO_C" >&6
24223 cat >conftest.
$ac_ext <<_ACEOF
24226 cat confdefs.h
>>conftest.
$ac_ext
24227 cat >>conftest.
$ac_ext <<_ACEOF
24228 /* end confdefs.h. */
24229 #define _FILE_OFFSET_BITS 64
24230 #include <sys/types.h>
24235 unsigned int field: sizeof(off_t) == 8;
24242 rm -f conftest.
$ac_objext
24243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24244 (eval $ac_compile) 2>conftest.er1
24246 grep -v '^ *+' conftest.er1
>conftest.err
24248 cat conftest.err
>&5
24249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250 (exit $ac_status); } &&
24251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24253 (eval $ac_try) 2>&5
24255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256 (exit $ac_status); }; } &&
24257 { ac_try
='test -s conftest.$ac_objext'
24258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24259 (eval $ac_try) 2>&5
24261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24262 (exit $ac_status); }; }; then
24263 ac_cv_sys_file_offset_bits
=64
24265 echo "$as_me: failed program was:" >&5
24266 sed 's/^/| /' conftest.
$ac_ext >&5
24268 ac_cv_sys_file_offset_bits
=no
24270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24274 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24275 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
24277 if test "$ac_cv_sys_file_offset_bits" != no
; then
24279 cat >>confdefs.h
<<_ACEOF
24280 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24285 if test "x$wx_largefile" != "xyes"; then
24287 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24288 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
24289 if test "${ac_cv_sys_large_files+set}" = set; then
24290 echo $ECHO_N "(cached) $ECHO_C" >&6
24293 cat >conftest.
$ac_ext <<_ACEOF
24296 cat confdefs.h
>>conftest.
$ac_ext
24297 cat >>conftest.
$ac_ext <<_ACEOF
24298 /* end confdefs.h. */
24299 #define _LARGE_FILES 1
24300 #include <sys/types.h>
24305 unsigned int field: sizeof(off_t) == 8;
24312 rm -f conftest.
$ac_objext
24313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24314 (eval $ac_compile) 2>conftest.er1
24316 grep -v '^ *+' conftest.er1
>conftest.err
24318 cat conftest.err
>&5
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); } &&
24321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323 (eval $ac_try) 2>&5
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); }; } &&
24327 { ac_try
='test -s conftest.$ac_objext'
24328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24329 (eval $ac_try) 2>&5
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); }; }; then
24333 ac_cv_sys_large_files
=1
24335 echo "$as_me: failed program was:" >&5
24336 sed 's/^/| /' conftest.
$ac_ext >&5
24338 ac_cv_sys_large_files
=no
24340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24344 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24345 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
24347 if test "$ac_cv_sys_large_files" != no
; then
24349 cat >>confdefs.h
<<_ACEOF
24350 #define _LARGE_FILES $ac_cv_sys_large_files
24357 echo "$as_me:$LINENO: checking if large file support is available" >&5
24358 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
24359 if test "x$wx_largefile" = "xyes"; then
24360 cat >>confdefs.h
<<\_ACEOF
24361 #define HAVE_LARGEFILE_SUPPORT 1
24365 echo "$as_me:$LINENO: result: $wx_largefile" >&5
24366 echo "${ECHO_T}$wx_largefile" >&6
24370 if test "x$wx_largefile" = "xyes"; then
24371 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
24372 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
24374 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24375 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24376 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
24377 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24378 echo $ECHO_N "(cached) $ECHO_C" >&6
24382 ac_cpp
='$CXXCPP $CPPFLAGS'
24383 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24384 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24385 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24387 cat >conftest.
$ac_ext <<_ACEOF
24390 cat confdefs.h
>>conftest.
$ac_ext
24391 cat >>conftest.
$ac_ext <<_ACEOF
24392 /* end confdefs.h. */
24398 #ifndef __STDC_EXT__
24406 rm -f conftest.
$ac_objext
24407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24408 (eval $ac_compile) 2>conftest.er1
24410 grep -v '^ *+' conftest.er1
>conftest.err
24412 cat conftest.err
>&5
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); } &&
24415 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24417 (eval $ac_try) 2>&5
24419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420 (exit $ac_status); }; } &&
24421 { ac_try
='test -s conftest.$ac_objext'
24422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24423 (eval $ac_try) 2>&5
24425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426 (exit $ac_status); }; }; then
24427 wx_cv_STDC_EXT_required
=no
24429 echo "$as_me: failed program was:" >&5
24430 sed 's/^/| /' conftest.
$ac_ext >&5
24432 wx_cv_STDC_EXT_required
=yes
24435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24437 ac_cpp
='$CPP $CPPFLAGS'
24438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24445 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24446 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
24447 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24448 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24452 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
24454 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24455 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
24456 if test "${ac_cv_sys_largefile_source+set}" = set; then
24457 echo $ECHO_N "(cached) $ECHO_C" >&6
24460 ac_cv_sys_largefile_source
=no
24461 cat >conftest.
$ac_ext <<_ACEOF
24464 cat confdefs.h
>>conftest.
$ac_ext
24465 cat >>conftest.
$ac_ext <<_ACEOF
24466 /* end confdefs.h. */
24476 rm -f conftest.
$ac_objext
24477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24478 (eval $ac_compile) 2>conftest.er1
24480 grep -v '^ *+' conftest.er1
>conftest.err
24482 cat conftest.err
>&5
24483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484 (exit $ac_status); } &&
24485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24487 (eval $ac_try) 2>&5
24489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24490 (exit $ac_status); }; } &&
24491 { ac_try
='test -s conftest.$ac_objext'
24492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24493 (eval $ac_try) 2>&5
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); }; }; then
24499 echo "$as_me: failed program was:" >&5
24500 sed 's/^/| /' conftest.
$ac_ext >&5
24503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24504 cat >conftest.
$ac_ext <<_ACEOF
24507 cat confdefs.h
>>conftest.
$ac_ext
24508 cat >>conftest.
$ac_ext <<_ACEOF
24509 /* end confdefs.h. */
24510 #define _LARGEFILE_SOURCE 1
24520 rm -f conftest.
$ac_objext
24521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24522 (eval $ac_compile) 2>conftest.er1
24524 grep -v '^ *+' conftest.er1
>conftest.err
24526 cat conftest.err
>&5
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); } &&
24529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24531 (eval $ac_try) 2>&5
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); }; } &&
24535 { ac_try
='test -s conftest.$ac_objext'
24536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24537 (eval $ac_try) 2>&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); }; }; then
24541 ac_cv_sys_largefile_source
=1; break
24543 echo "$as_me: failed program was:" >&5
24544 sed 's/^/| /' conftest.
$ac_ext >&5
24547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24551 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24552 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
24553 if test "$ac_cv_sys_largefile_source" != no
; then
24555 cat >>confdefs.h
<<_ACEOF
24556 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24562 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24563 # in glibc 2.1.3, but that breaks too many other things.
24564 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24565 echo "$as_me:$LINENO: checking for fseeko" >&5
24566 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
24567 if test "${ac_cv_func_fseeko+set}" = set; then
24568 echo $ECHO_N "(cached) $ECHO_C" >&6
24570 cat >conftest.
$ac_ext <<_ACEOF
24573 cat confdefs.h
>>conftest.
$ac_ext
24574 cat >>conftest.
$ac_ext <<_ACEOF
24575 /* end confdefs.h. */
24580 return fseeko && fseeko (stdin, 0, 0);
24585 rm -f conftest.
$ac_objext conftest
$ac_exeext
24586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24587 (eval $ac_link) 2>conftest.er1
24589 grep -v '^ *+' conftest.er1
>conftest.err
24591 cat conftest.err
>&5
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); } &&
24594 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24596 (eval $ac_try) 2>&5
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); }; } &&
24600 { ac_try
='test -s conftest$ac_exeext'
24601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24602 (eval $ac_try) 2>&5
24604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24605 (exit $ac_status); }; }; then
24606 ac_cv_func_fseeko
=yes
24608 echo "$as_me: failed program was:" >&5
24609 sed 's/^/| /' conftest.
$ac_ext >&5
24611 ac_cv_func_fseeko
=no
24613 rm -f conftest.err conftest.
$ac_objext \
24614 conftest
$ac_exeext conftest.
$ac_ext
24616 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
24617 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
24618 if test $ac_cv_func_fseeko = yes; then
24620 cat >>confdefs.h
<<\_ACEOF
24621 #define HAVE_FSEEKO 1
24626 if test "$ac_cv_sys_largefile_source" != no
; then
24627 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24631 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24632 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
24633 if test "${ac_cv_c_bigendian+set}" = set; then
24634 echo $ECHO_N "(cached) $ECHO_C" >&6
24636 ac_cv_c_bigendian
=unknown
24637 # See if sys/param.h defines the BYTE_ORDER macro.
24638 cat >conftest.
$ac_ext <<_ACEOF
24641 cat confdefs.h
>>conftest.
$ac_ext
24642 cat >>conftest.
$ac_ext <<_ACEOF
24643 /* end confdefs.h. */
24644 #include <sys/types.h>
24645 #include <sys/param.h>
24650 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24651 bogus endian macros
24657 rm -f conftest.
$ac_objext
24658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24659 (eval $ac_compile) 2>conftest.er1
24661 grep -v '^ *+' conftest.er1
>conftest.err
24663 cat conftest.err
>&5
24664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24665 (exit $ac_status); } &&
24666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24668 (eval $ac_try) 2>&5
24670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24671 (exit $ac_status); }; } &&
24672 { ac_try
='test -s conftest.$ac_objext'
24673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24674 (eval $ac_try) 2>&5
24676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24677 (exit $ac_status); }; }; then
24678 # It does; now see whether it defined to BIG_ENDIAN or not.
24679 cat >conftest.
$ac_ext <<_ACEOF
24682 cat confdefs.h
>>conftest.
$ac_ext
24683 cat >>conftest.
$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24685 #include <sys/types.h>
24686 #include <sys/param.h>
24691 #if BYTE_ORDER != BIG_ENDIAN
24698 rm -f conftest.
$ac_objext
24699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24700 (eval $ac_compile) 2>conftest.er1
24702 grep -v '^ *+' conftest.er1
>conftest.err
24704 cat conftest.err
>&5
24705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24706 (exit $ac_status); } &&
24707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24709 (eval $ac_try) 2>&5
24711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712 (exit $ac_status); }; } &&
24713 { ac_try
='test -s conftest.$ac_objext'
24714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24715 (eval $ac_try) 2>&5
24717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718 (exit $ac_status); }; }; then
24719 ac_cv_c_bigendian
=yes
24721 echo "$as_me: failed program was:" >&5
24722 sed 's/^/| /' conftest.
$ac_ext >&5
24724 ac_cv_c_bigendian
=no
24726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24728 echo "$as_me: failed program was:" >&5
24729 sed 's/^/| /' conftest.
$ac_ext >&5
24732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24733 if test $ac_cv_c_bigendian = unknown
; then
24734 if test "$cross_compiling" = yes; then
24735 ac_cv_c_bigendian
=unknown
24737 cat >conftest.
$ac_ext <<_ACEOF
24740 cat confdefs.h
>>conftest.
$ac_ext
24741 cat >>conftest.
$ac_ext <<_ACEOF
24742 /* end confdefs.h. */
24744 /* Are we little or big endian? From Harbison&Steele. */
24748 char c[sizeof (long)];
24751 exit (u.c[sizeof (long) - 1] == 1);
24754 rm -f conftest
$ac_exeext
24755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24756 (eval $ac_link) 2>&5
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24761 (eval $ac_try) 2>&5
24763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24764 (exit $ac_status); }; }; then
24765 ac_cv_c_bigendian
=no
24767 echo "$as_me: program exited with status $ac_status" >&5
24768 echo "$as_me: failed program was:" >&5
24769 sed 's/^/| /' conftest.
$ac_ext >&5
24771 ( exit $ac_status )
24772 ac_cv_c_bigendian
=yes
24774 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24778 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24779 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
24780 if test $ac_cv_c_bigendian = unknown
; then
24781 { 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
24782 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;}
24784 if test $ac_cv_c_bigendian = yes; then
24785 cat >>confdefs.h
<<\_ACEOF
24786 #define WORDS_BIGENDIAN 1
24796 ac_cpp
='$CXXCPP $CPPFLAGS'
24797 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24798 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24799 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24802 echo "$as_me:$LINENO: checking for iostream" >&5
24803 echo $ECHO_N "checking for iostream... $ECHO_C" >&6
24804 if test "${ac_cv_header_iostream+set}" = set; then
24805 echo $ECHO_N "(cached) $ECHO_C" >&6
24807 cat >conftest.
$ac_ext <<_ACEOF
24810 cat confdefs.h
>>conftest.
$ac_ext
24811 cat >>conftest.
$ac_ext <<_ACEOF
24812 /* end confdefs.h. */
24815 #include <iostream>
24817 rm -f conftest.
$ac_objext
24818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24819 (eval $ac_compile) 2>conftest.er1
24821 grep -v '^ *+' conftest.er1
>conftest.err
24823 cat conftest.err
>&5
24824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24825 (exit $ac_status); } &&
24826 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24828 (eval $ac_try) 2>&5
24830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24831 (exit $ac_status); }; } &&
24832 { ac_try
='test -s conftest.$ac_objext'
24833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24834 (eval $ac_try) 2>&5
24836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837 (exit $ac_status); }; }; then
24838 ac_cv_header_iostream
=yes
24840 echo "$as_me: failed program was:" >&5
24841 sed 's/^/| /' conftest.
$ac_ext >&5
24843 ac_cv_header_iostream
=no
24845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24847 echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
24848 echo "${ECHO_T}$ac_cv_header_iostream" >&6
24852 if test "$ac_cv_header_iostream" = "yes" ; then
24855 cat >>confdefs.h
<<\_ACEOF
24856 #define wxUSE_IOSTREAMH 1
24862 ac_cpp
='$CPP $CPPFLAGS'
24863 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24864 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24865 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24870 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
24871 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
24872 if test "${wx_cv_cpp_bool+set}" = set; then
24873 echo $ECHO_N "(cached) $ECHO_C" >&6
24879 ac_cpp
='$CXXCPP $CPPFLAGS'
24880 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24881 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24882 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24885 cat >conftest.
$ac_ext <<_ACEOF
24888 cat confdefs.h
>>conftest.
$ac_ext
24889 cat >>conftest.
$ac_ext <<_ACEOF
24890 /* end confdefs.h. */
24905 rm -f conftest.
$ac_objext
24906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24907 (eval $ac_compile) 2>conftest.er1
24909 grep -v '^ *+' conftest.er1
>conftest.err
24911 cat conftest.err
>&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); } &&
24914 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24916 (eval $ac_try) 2>&5
24918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 (exit $ac_status); }; } &&
24920 { ac_try
='test -s conftest.$ac_objext'
24921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24922 (eval $ac_try) 2>&5
24924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925 (exit $ac_status); }; }; then
24930 echo "$as_me: failed program was:" >&5
24931 sed 's/^/| /' conftest.
$ac_ext >&5
24938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24941 ac_cpp
='$CPP $CPPFLAGS'
24942 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24948 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
24949 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
24951 if test "$wx_cv_cpp_bool" = "yes"; then
24952 cat >>confdefs.h
<<\_ACEOF
24953 #define HAVE_BOOL 1
24960 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24961 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
24962 if test "${wx_cv_explicit+set}" = set; then
24963 echo $ECHO_N "(cached) $ECHO_C" >&6
24969 ac_cpp
='$CXXCPP $CPPFLAGS'
24970 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24971 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24972 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24975 cat >conftest.
$ac_ext <<_ACEOF
24978 cat confdefs.h
>>conftest.
$ac_ext
24979 cat >>conftest.
$ac_ext <<_ACEOF
24980 /* end confdefs.h. */
24982 class Foo { public: explicit Foo(int) {} };
24994 rm -f conftest.
$ac_objext
24995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24996 (eval $ac_compile) 2>conftest.er1
24998 grep -v '^ *+' conftest.er1
>conftest.err
25000 cat conftest.err
>&5
25001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002 (exit $ac_status); } &&
25003 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25005 (eval $ac_try) 2>&5
25007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25008 (exit $ac_status); }; } &&
25009 { ac_try
='test -s conftest.$ac_objext'
25010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25011 (eval $ac_try) 2>&5
25013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25014 (exit $ac_status); }; }; then
25016 cat >conftest.
$ac_ext <<_ACEOF
25019 cat confdefs.h
>>conftest.
$ac_ext
25020 cat >>conftest.
$ac_ext <<_ACEOF
25021 /* end confdefs.h. */
25023 class Foo { public: explicit Foo(int) {} };
25024 static void TakeFoo(const Foo& foo) { }
25037 rm -f conftest.
$ac_objext
25038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25039 (eval $ac_compile) 2>conftest.er1
25041 grep -v '^ *+' conftest.er1
>conftest.err
25043 cat conftest.err
>&5
25044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25045 (exit $ac_status); } &&
25046 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25048 (eval $ac_try) 2>&5
25050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25051 (exit $ac_status); }; } &&
25052 { ac_try
='test -s conftest.$ac_objext'
25053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25054 (eval $ac_try) 2>&5
25056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25057 (exit $ac_status); }; }; then
25060 echo "$as_me: failed program was:" >&5
25061 sed 's/^/| /' conftest.
$ac_ext >&5
25066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25069 echo "$as_me: failed program was:" >&5
25070 sed 's/^/| /' conftest.
$ac_ext >&5
25075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25078 ac_cpp
='$CPP $CPPFLAGS'
25079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25085 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25086 echo "${ECHO_T}$wx_cv_explicit" >&6
25088 if test "$wx_cv_explicit" = "yes"; then
25089 cat >>confdefs.h
<<\_ACEOF
25090 #define HAVE_EXPLICIT 1
25096 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
25097 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
25098 if test "${ac_cv_cxx_const_cast+set}" = set; then
25099 echo $ECHO_N "(cached) $ECHO_C" >&6
25104 ac_cpp
='$CXXCPP $CPPFLAGS'
25105 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25106 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25107 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25109 cat >conftest.
$ac_ext <<_ACEOF
25112 cat confdefs.h
>>conftest.
$ac_ext
25113 cat >>conftest.
$ac_ext <<_ACEOF
25114 /* end confdefs.h. */
25119 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
25124 rm -f conftest.
$ac_objext
25125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25126 (eval $ac_compile) 2>conftest.er1
25128 grep -v '^ *+' conftest.er1
>conftest.err
25130 cat conftest.err
>&5
25131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132 (exit $ac_status); } &&
25133 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25135 (eval $ac_try) 2>&5
25137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25138 (exit $ac_status); }; } &&
25139 { ac_try
='test -s conftest.$ac_objext'
25140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25141 (eval $ac_try) 2>&5
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); }; }; then
25145 ac_cv_cxx_const_cast
=yes
25147 echo "$as_me: failed program was:" >&5
25148 sed 's/^/| /' conftest.
$ac_ext >&5
25150 ac_cv_cxx_const_cast
=no
25152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25154 ac_cpp
='$CPP $CPPFLAGS'
25155 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25156 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25157 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25161 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
25162 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
25163 if test "$ac_cv_cxx_const_cast" = yes; then
25165 cat >>confdefs.h
<<\_ACEOF
25166 #define HAVE_CONST_CAST
25171 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
25172 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
25173 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
25174 echo $ECHO_N "(cached) $ECHO_C" >&6
25179 ac_cpp
='$CXXCPP $CPPFLAGS'
25180 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25181 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25182 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25184 cat >conftest.
$ac_ext <<_ACEOF
25187 cat confdefs.h
>>conftest.
$ac_ext
25188 cat >>conftest.
$ac_ext <<_ACEOF
25189 /* end confdefs.h. */
25190 #include <typeinfo>
25191 class Base { public : Base () {} virtual void f () = 0;};
25192 class Derived : public Base { public : Derived () {} virtual void f () {} };
25193 class Unrelated { public : Unrelated () {} };
25194 int g (Unrelated&) { return 0; }
25199 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
25204 rm -f conftest.
$ac_objext
25205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25206 (eval $ac_compile) 2>conftest.er1
25208 grep -v '^ *+' conftest.er1
>conftest.err
25210 cat conftest.err
>&5
25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212 (exit $ac_status); } &&
25213 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25215 (eval $ac_try) 2>&5
25217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25218 (exit $ac_status); }; } &&
25219 { ac_try
='test -s conftest.$ac_objext'
25220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25221 (eval $ac_try) 2>&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); }; }; then
25225 ac_cv_cxx_reinterpret_cast
=yes
25227 echo "$as_me: failed program was:" >&5
25228 sed 's/^/| /' conftest.
$ac_ext >&5
25230 ac_cv_cxx_reinterpret_cast
=no
25232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25234 ac_cpp
='$CPP $CPPFLAGS'
25235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25241 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
25242 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
25243 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
25245 cat >>confdefs.h
<<\_ACEOF
25246 #define HAVE_REINTERPRET_CAST
25251 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
25252 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
25253 if test "${ac_cv_cxx_static_cast+set}" = set; then
25254 echo $ECHO_N "(cached) $ECHO_C" >&6
25259 ac_cpp
='$CXXCPP $CPPFLAGS'
25260 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25261 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25262 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25264 cat >conftest.
$ac_ext <<_ACEOF
25267 cat confdefs.h
>>conftest.
$ac_ext
25268 cat >>conftest.
$ac_ext <<_ACEOF
25269 /* end confdefs.h. */
25270 #include <typeinfo>
25271 class Base { public : Base () {} virtual void f () = 0; };
25272 class Derived : public Base { public : Derived () {} virtual void f () {} };
25273 int g (Derived&) { return 0; }
25278 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
25283 rm -f conftest.
$ac_objext
25284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25285 (eval $ac_compile) 2>conftest.er1
25287 grep -v '^ *+' conftest.er1
>conftest.err
25289 cat conftest.err
>&5
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); } &&
25292 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25294 (eval $ac_try) 2>&5
25296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25297 (exit $ac_status); }; } &&
25298 { ac_try
='test -s conftest.$ac_objext'
25299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25300 (eval $ac_try) 2>&5
25302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25303 (exit $ac_status); }; }; then
25304 ac_cv_cxx_static_cast
=yes
25306 echo "$as_me: failed program was:" >&5
25307 sed 's/^/| /' conftest.
$ac_ext >&5
25309 ac_cv_cxx_static_cast
=no
25311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25313 ac_cpp
='$CPP $CPPFLAGS'
25314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25320 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
25321 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
25322 if test "$ac_cv_cxx_static_cast" = yes; then
25324 cat >>confdefs.h
<<\_ACEOF
25325 #define HAVE_STATIC_CAST
25331 if test "x$SUNCXX" = xyes
; then
25332 CXXFLAGS
="-features=tmplife $CXXFLAGS"
25335 if test "x$SUNCC" = xyes
; then
25336 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25339 if test "x$SGICC" = "xyes"; then
25340 CFLAGS
="-woff 3970 $CFLAGS"
25342 if test "x$SGICXX" = "xyes"; then
25343 CXXFLAGS
="-woff 3970 $CXXFLAGS"
25346 if test "x$HPCC" = "xyes"; then
25347 CFLAGS
="+W 2011,2450 $CFLAGS"
25349 if test "x$HPCXX" = "xyes"; then
25350 CXXFLAGS
="+W 2340 $CXXFLAGS"
25353 if test "x$COMPAQCXX" = "xyes"; then
25354 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25358 ac_cpp
='$CXXCPP $CPPFLAGS'
25359 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25360 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25361 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25364 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25365 if test "$wxUSE_UNICODE" = "yes"; then
25366 std_string
="std::wstring"
25367 char_type
="wchar_t"
25369 std_string
="std::string"
25373 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25374 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
25375 if test "${wx_cv_class_stdstring+set}" = set; then
25376 echo $ECHO_N "(cached) $ECHO_C" >&6
25379 cat >conftest.
$ac_ext <<_ACEOF
25382 cat confdefs.h
>>conftest.
$ac_ext
25383 cat >>conftest.
$ac_ext <<_ACEOF
25384 /* end confdefs.h. */
25394 rm -f conftest.
$ac_objext
25395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25396 (eval $ac_compile) 2>conftest.er1
25398 grep -v '^ *+' conftest.er1
>conftest.err
25400 cat conftest.err
>&5
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); } &&
25403 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25405 (eval $ac_try) 2>&5
25407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25408 (exit $ac_status); }; } &&
25409 { ac_try
='test -s conftest.$ac_objext'
25410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25411 (eval $ac_try) 2>&5
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); }; }; then
25415 wx_cv_class_stdstring
=yes
25417 echo "$as_me: failed program was:" >&5
25418 sed 's/^/| /' conftest.
$ac_ext >&5
25420 wx_cv_class_stdstring
=no
25423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25427 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25428 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
25430 if test "$wx_cv_class_stdstring" = yes; then
25431 if test "$wxUSE_UNICODE" = "yes"; then
25432 cat >>confdefs.h
<<\_ACEOF
25433 #define HAVE_STD_WSTRING 1
25438 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25439 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
25440 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25441 echo $ECHO_N "(cached) $ECHO_C" >&6
25444 cat >conftest.
$ac_ext <<_ACEOF
25447 cat confdefs.h
>>conftest.
$ac_ext
25448 cat >>conftest.
$ac_ext <<_ACEOF
25449 /* end confdefs.h. */
25451 #ifdef HAVE_WCHAR_H
25453 # include <stddef.h>
25455 # include <wchar.h>
25457 #ifdef HAVE_STDLIB_H
25458 # include <stdlib.h>
25466 std::basic_string<$char_type> foo;
25467 const $char_type* dummy = foo.c_str();
25472 rm -f conftest.
$ac_objext
25473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25474 (eval $ac_compile) 2>conftest.er1
25476 grep -v '^ *+' conftest.er1
>conftest.err
25478 cat conftest.err
>&5
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); } &&
25481 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25483 (eval $ac_try) 2>&5
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); }; } &&
25487 { ac_try
='test -s conftest.$ac_objext'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; }; then
25493 wx_cv_class_stdbasicstring
=yes
25495 echo "$as_me: failed program was:" >&5
25496 sed 's/^/| /' conftest.
$ac_ext >&5
25498 wx_cv_class_stdbasicstring
=no
25501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25505 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25506 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
25508 if test "$wx_cv_class_stdbasicstring" != yes; then
25509 if test "$wxUSE_STL" = "yes"; then
25510 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25511 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25512 { (exit 1); exit 1; }; }
25513 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
25514 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25515 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25516 { (exit 1); exit 1; }; }
25518 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25519 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25520 wxUSE_STD_STRING
=no
25526 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25527 echo "$as_me:$LINENO: checking for std::istream" >&5
25528 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
25529 if test "${ac_cv_type_std__istream+set}" = set; then
25530 echo $ECHO_N "(cached) $ECHO_C" >&6
25532 cat >conftest.
$ac_ext <<_ACEOF
25535 cat confdefs.h
>>conftest.
$ac_ext
25536 cat >>conftest.
$ac_ext <<_ACEOF
25537 /* end confdefs.h. */
25538 #include <iostream>
25543 if ((std::istream *) 0)
25545 if (sizeof (std::istream))
25551 rm -f conftest.
$ac_objext
25552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25553 (eval $ac_compile) 2>conftest.er1
25555 grep -v '^ *+' conftest.er1
>conftest.err
25557 cat conftest.err
>&5
25558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559 (exit $ac_status); } &&
25560 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25562 (eval $ac_try) 2>&5
25564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25565 (exit $ac_status); }; } &&
25566 { ac_try
='test -s conftest.$ac_objext'
25567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25568 (eval $ac_try) 2>&5
25570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25571 (exit $ac_status); }; }; then
25572 ac_cv_type_std__istream
=yes
25574 echo "$as_me: failed program was:" >&5
25575 sed 's/^/| /' conftest.
$ac_ext >&5
25577 ac_cv_type_std__istream
=no
25579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25581 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25582 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
25583 if test $ac_cv_type_std__istream = yes; then
25585 cat >>confdefs.h
<<_ACEOF
25586 #define HAVE_STD__ISTREAM 1
25591 wxUSE_STD_IOSTREAM
=no
25593 echo "$as_me:$LINENO: checking for std::ostream" >&5
25594 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
25595 if test "${ac_cv_type_std__ostream+set}" = set; then
25596 echo $ECHO_N "(cached) $ECHO_C" >&6
25598 cat >conftest.
$ac_ext <<_ACEOF
25601 cat confdefs.h
>>conftest.
$ac_ext
25602 cat >>conftest.
$ac_ext <<_ACEOF
25603 /* end confdefs.h. */
25604 #include <iostream>
25609 if ((std::ostream *) 0)
25611 if (sizeof (std::ostream))
25617 rm -f conftest.
$ac_objext
25618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25619 (eval $ac_compile) 2>conftest.er1
25621 grep -v '^ *+' conftest.er1
>conftest.err
25623 cat conftest.err
>&5
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); } &&
25626 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25628 (eval $ac_try) 2>&5
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); }; } &&
25632 { ac_try
='test -s conftest.$ac_objext'
25633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25634 (eval $ac_try) 2>&5
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); }; }; then
25638 ac_cv_type_std__ostream
=yes
25640 echo "$as_me: failed program was:" >&5
25641 sed 's/^/| /' conftest.
$ac_ext >&5
25643 ac_cv_type_std__ostream
=no
25645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25647 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25648 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
25649 if test $ac_cv_type_std__ostream = yes; then
25651 cat >>confdefs.h
<<_ACEOF
25652 #define HAVE_STD__OSTREAM 1
25657 wxUSE_STD_IOSTREAM
=no
25661 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25662 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
25663 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25664 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25665 { (exit 1); exit 1; }; }
25667 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25668 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25673 if test "$wxUSE_STL" = "yes"; then
25674 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25675 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
25676 if test "${wx_cv_lib_stl+set}" = set; then
25677 echo $ECHO_N "(cached) $ECHO_C" >&6
25679 cat >conftest.
$ac_ext <<_ACEOF
25682 cat confdefs.h
>>conftest.
$ac_ext
25683 cat >>conftest.
$ac_ext <<_ACEOF
25684 /* end confdefs.h. */
25686 #include <functional>
25687 #include <algorithm>
25693 std::vector<int> moo;
25694 std::list<int> foo;
25695 std::vector<int>::iterator it =
25696 std::find_if(moo.begin(), moo.end(),
25697 std::bind2nd(std::less<int>(), 3));
25702 rm -f conftest.
$ac_objext
25703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25704 (eval $ac_compile) 2>conftest.er1
25706 grep -v '^ *+' conftest.er1
>conftest.err
25708 cat conftest.err
>&5
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); } &&
25711 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25713 (eval $ac_try) 2>&5
25715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716 (exit $ac_status); }; } &&
25717 { ac_try
='test -s conftest.$ac_objext'
25718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25719 (eval $ac_try) 2>&5
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); }; }; then
25725 echo "$as_me: failed program was:" >&5
25726 sed 's/^/| /' conftest.
$ac_ext >&5
25731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25734 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25735 echo "${ECHO_T}$wx_cv_lib_stl" >&6
25737 if test "$wx_cv_lib_stl" != yes; then
25738 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25739 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25740 { (exit 1); exit 1; }; }
25743 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25744 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
25745 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25746 echo $ECHO_N "(cached) $ECHO_C" >&6
25748 cat >conftest.
$ac_ext <<_ACEOF
25751 cat confdefs.h
>>conftest.
$ac_ext
25752 cat >>conftest.
$ac_ext <<_ACEOF
25753 /* end confdefs.h. */
25758 std::string foo, bar;
25760 foo.compare(1, 1, bar);
25761 foo.compare(1, 1, bar, 1, 1);
25763 foo.compare(1, 1, "");
25764 foo.compare(1, 1, "", 2);
25769 rm -f conftest.
$ac_objext
25770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25771 (eval $ac_compile) 2>conftest.er1
25773 grep -v '^ *+' conftest.er1
>conftest.err
25775 cat conftest.err
>&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); } &&
25778 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780 (eval $ac_try) 2>&5
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); }; } &&
25784 { ac_try
='test -s conftest.$ac_objext'
25785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25786 (eval $ac_try) 2>&5
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); }; }; then
25790 wx_cv_func_stdstring_compare
=yes
25792 echo "$as_me: failed program was:" >&5
25793 sed 's/^/| /' conftest.
$ac_ext >&5
25795 wx_cv_func_stdstring_compare
=no
25798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25801 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25802 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
25804 if test "$wx_cv_func_stdstring_compare" = yes; then
25805 cat >>confdefs.h
<<\_ACEOF
25806 #define HAVE_STD_STRING_COMPARE 1
25811 echo "$as_me:$LINENO: checking for hash_map" >&5
25812 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
25813 if test "${ac_cv_header_hash_map+set}" = set; then
25814 echo $ECHO_N "(cached) $ECHO_C" >&6
25816 cat >conftest.
$ac_ext <<_ACEOF
25819 cat confdefs.h
>>conftest.
$ac_ext
25820 cat >>conftest.
$ac_ext <<_ACEOF
25821 /* end confdefs.h. */
25825 #include <hash_map>
25827 rm -f conftest.
$ac_objext
25828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25829 (eval $ac_compile) 2>conftest.er1
25831 grep -v '^ *+' conftest.er1
>conftest.err
25833 cat conftest.err
>&5
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); } &&
25836 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25838 (eval $ac_try) 2>&5
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); }; } &&
25842 { ac_try
='test -s conftest.$ac_objext'
25843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25844 (eval $ac_try) 2>&5
25846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25847 (exit $ac_status); }; }; then
25848 ac_cv_header_hash_map
=yes
25850 echo "$as_me: failed program was:" >&5
25851 sed 's/^/| /' conftest.
$ac_ext >&5
25853 ac_cv_header_hash_map
=no
25855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25857 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25858 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
25859 if test $ac_cv_header_hash_map = yes; then
25860 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
25861 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
25862 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25863 echo $ECHO_N "(cached) $ECHO_C" >&6
25865 cat >conftest.
$ac_ext <<_ACEOF
25868 cat confdefs.h
>>conftest.
$ac_ext
25869 cat >>conftest.
$ac_ext <<_ACEOF
25870 /* end confdefs.h. */
25871 #include <hash_map>
25872 #include <hash_set>
25876 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25877 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25882 rm -f conftest.
$ac_objext
25883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25884 (eval $ac_compile) 2>conftest.er1
25886 grep -v '^ *+' conftest.er1
>conftest.err
25888 cat conftest.err
>&5
25889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25890 (exit $ac_status); } &&
25891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25893 (eval $ac_try) 2>&5
25895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25896 (exit $ac_status); }; } &&
25897 { ac_try
='test -s conftest.$ac_objext'
25898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25899 (eval $ac_try) 2>&5
25901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25902 (exit $ac_status); }; }; then
25903 wx_cv_class_stdhashmapset
=yes
25905 echo "$as_me: failed program was:" >&5
25906 sed 's/^/| /' conftest.
$ac_ext >&5
25908 wx_cv_class_stdhashmapset
=no
25910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25914 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25915 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
25920 if test "$wx_cv_class_stdhashmapset" = yes; then
25921 cat >>confdefs.h
<<\_ACEOF
25922 #define HAVE_HASH_MAP 1
25925 cat >>confdefs.h
<<\_ACEOF
25926 #define HAVE_STD_HASH_MAP 1
25931 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25932 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
25933 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25934 echo $ECHO_N "(cached) $ECHO_C" >&6
25936 cat >conftest.
$ac_ext <<_ACEOF
25939 cat confdefs.h
>>conftest.
$ac_ext
25940 cat >>conftest.
$ac_ext <<_ACEOF
25941 /* end confdefs.h. */
25945 #include <ext/hash_map>
25947 rm -f conftest.
$ac_objext
25948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25949 (eval $ac_compile) 2>conftest.er1
25951 grep -v '^ *+' conftest.er1
>conftest.err
25953 cat conftest.err
>&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); } &&
25956 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25958 (eval $ac_try) 2>&5
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); }; } &&
25962 { ac_try
='test -s conftest.$ac_objext'
25963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25964 (eval $ac_try) 2>&5
25966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967 (exit $ac_status); }; }; then
25968 ac_cv_header_ext_hash_map
=yes
25970 echo "$as_me: failed program was:" >&5
25971 sed 's/^/| /' conftest.
$ac_ext >&5
25973 ac_cv_header_ext_hash_map
=no
25975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25977 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25978 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
25979 if test $ac_cv_header_ext_hash_map = yes; then
25980 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25981 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
25982 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25983 echo $ECHO_N "(cached) $ECHO_C" >&6
25985 cat >conftest.
$ac_ext <<_ACEOF
25988 cat confdefs.h
>>conftest.
$ac_ext
25989 cat >>conftest.
$ac_ext <<_ACEOF
25990 /* end confdefs.h. */
25991 #include <ext/hash_map>
25992 #include <ext/hash_set>
25996 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25997 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26002 rm -f conftest.
$ac_objext
26003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26004 (eval $ac_compile) 2>conftest.er1
26006 grep -v '^ *+' conftest.er1
>conftest.err
26008 cat conftest.err
>&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } &&
26011 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26013 (eval $ac_try) 2>&5
26015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26016 (exit $ac_status); }; } &&
26017 { ac_try
='test -s conftest.$ac_objext'
26018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26019 (eval $ac_try) 2>&5
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); }; }; then
26023 wx_cv_class_gnuhashmapset
=yes
26025 echo "$as_me: failed program was:" >&5
26026 sed 's/^/| /' conftest.
$ac_ext >&5
26028 wx_cv_class_gnuhashmapset
=no
26030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26034 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26035 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
26040 if test "$wx_cv_class_gnuhashmapset" = yes; then
26041 cat >>confdefs.h
<<\_ACEOF
26042 #define HAVE_EXT_HASH_MAP 1
26045 cat >>confdefs.h
<<\_ACEOF
26046 #define HAVE_GNU_CXX_HASH_MAP 1
26053 ac_cpp
='$CPP $CPPFLAGS'
26054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26061 /usr/local/include \
26063 /usr/Motif-2.1/include \
26064 /usr/Motif-1.2/include \
26065 /usr/include/Motif1.2 \
26068 /usr/openwin/include \
26072 /usr/X11R6/include \
26073 /usr/X11R6.4/include \
26074 /usr/X11R5/include \
26075 /usr/X11R4/include \
26077 /usr/include/X11R6 \
26078 /usr/include/X11R5 \
26079 /usr/include/X11R4 \
26081 /usr/local/X11R6/include \
26082 /usr/local/X11R5/include \
26083 /usr/local/X11R4/include \
26085 /usr/local/include/X11R6 \
26086 /usr/local/include/X11R5 \
26087 /usr/local/include/X11R4 \
26091 /usr/local/X11/include \
26092 /usr/local/include/X11 \
26094 /usr/XFree86/include/X11 \
26097 /usr/openwin/share/include"
26099 echo "$as_me:$LINENO: checking for libraries directory" >&5
26100 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
26104 if test "${wx_cv_std_libpath+set}" = set; then
26105 echo $ECHO_N "(cached) $ECHO_C" >&6
26108 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
26109 for e
in a so sl dylib dll.a
; do
26111 if test -f $libc; then
26114 cat >conftest.
$ac_ext <<_ACEOF
26115 int main() { return 0; }
26117 rm -f conftest.
$ac_objext conftest
$ac_exeext
26118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26119 (eval $ac_link) 2>conftest.er1
26121 grep -v '^ *+' conftest.er1
>conftest.err
26123 cat conftest.err
>&5
26124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125 (exit $ac_status); } &&
26126 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26128 (eval $ac_try) 2>&5
26130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26131 (exit $ac_status); }; } &&
26132 { ac_try
='test -s conftest$ac_exeext'
26133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26134 (eval $ac_try) 2>&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); }; }; then
26138 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
26140 echo "$as_me: failed program was:" >&5
26141 sed 's/^/| /' conftest.
$ac_ext >&5
26144 rm -f conftest.err conftest.
$ac_objext \
26145 conftest
$ac_exeext conftest.
$ac_ext
26147 if test "x$wx_cv_std_libpath" != "x"; then
26153 if test "x$wx_cv_std_libpath" = "x"; then
26154 wx_cv_std_libpath
="lib"
26163 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26164 wx_cv_std_libpath
="lib/64"
26166 wx_cv_std_libpath
="lib"
26171 if test "$ac_cv_sizeof_void_p" = 8 -a \
26172 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26173 wx_cv_std_libpath
="lib64"
26175 wx_cv_std_libpath
="lib"
26180 wx_cv_std_libpath
="lib";
26184 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26185 echo "${ECHO_T}$wx_cv_std_libpath" >&6
26187 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26189 if test "$build" != "$host" -a "$GCC" = yes; then
26190 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
26191 cross_root
=`dirname $cross_root`
26192 cross_root
=`dirname $cross_root`
26194 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26195 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26196 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
26198 if test -z "$PKG_CONFIG_PATH"; then
26199 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26200 export PKG_CONFIG_PATH
26203 if test -z "$x_includes" -o "$x_includes" = NONE
; then
26206 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26208 if test -f "$ac_dir/X11/Intrinsic.h"; then
26209 ac_find_includes
=$ac_dir
26214 x_includes
=$ac_find_includes
26216 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
26219 for ac_dir
in $SEARCH_LIB;
26221 for ac_extension
in a so sl dylib dll.a
; do
26222 if test -f "$ac_dir/libXt.$ac_extension"; then
26223 ac_find_libraries
=$ac_dir
26229 x_libraries
=$ac_find_libraries
26235 cat >confcache
<<\_ACEOF
26236 # This file is a shell script that caches the results of configure
26237 # tests run on this system so they can be shared between configure
26238 # scripts and configure runs, see configure's option --config-cache.
26239 # It is not useful on other systems. If it contains results you don't
26240 # want to keep, you may remove or edit it.
26242 # config.status only pays attention to the cache file if you give it
26243 # the --recheck option to rerun configure.
26245 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26246 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26247 # following values.
26251 # The following way of writing the cache mishandles newlines in values,
26252 # but we know of no workaround that is simple, portable, and efficient.
26253 # So, don't put newlines in cache variables' values.
26254 # Ultrix sh set writes to stderr and can't be redirected directly,
26255 # and sets the high bit in the cache file unless we assign to the vars.
26258 case `(ac_space=' '; set | grep ac_space) 2>&1` in
26260 # `set' does not quote correctly, so add quotes (double-quote
26261 # substitution turns \\\\ into \\, and sed turns \\ into \).
26264 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26267 # `set' quotes correctly as required by POSIX, so do not add quotes.
26269 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
26276 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26278 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26280 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
26281 if test -w $cache_file; then
26282 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
26283 cat confcache
>$cache_file
26285 echo "not updating unwritable cache $cache_file"
26290 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26291 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26292 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
26293 if test "${wx_cv_lib_glibc21+set}" = set; then
26294 echo $ECHO_N "(cached) $ECHO_C" >&6
26297 cat >conftest.
$ac_ext <<_ACEOF
26300 cat confdefs.h
>>conftest.
$ac_ext
26301 cat >>conftest.
$ac_ext <<_ACEOF
26302 /* end confdefs.h. */
26303 #include <features.h>
26308 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26316 rm -f conftest.
$ac_objext
26317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26318 (eval $ac_compile) 2>conftest.er1
26320 grep -v '^ *+' conftest.er1
>conftest.err
26322 cat conftest.err
>&5
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); } &&
26325 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26327 (eval $ac_try) 2>&5
26329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26330 (exit $ac_status); }; } &&
26331 { ac_try
='test -s conftest.$ac_objext'
26332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26333 (eval $ac_try) 2>&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); }; }; then
26338 wx_cv_lib_glibc21
=yes
26341 echo "$as_me: failed program was:" >&5
26342 sed 's/^/| /' conftest.
$ac_ext >&5
26345 wx_cv_lib_glibc21
=no
26349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26352 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26353 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
26354 if test "$wx_cv_lib_glibc21" = "yes"; then
26355 cat >>confdefs.h
<<\_ACEOF
26356 #define wxHAVE_GLIBC2 1
26362 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26363 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26364 cat >>confdefs.h
<<\_ACEOF
26365 #define _GNU_SOURCE 1
26376 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26377 echo "$as_me:$LINENO: checking for $ac_func" >&5
26378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26379 if eval "test \"\${$as_ac_var+set}\" = set"; then
26380 echo $ECHO_N "(cached) $ECHO_C" >&6
26382 cat >conftest.
$ac_ext <<_ACEOF
26385 cat confdefs.h
>>conftest.
$ac_ext
26386 cat >>conftest.
$ac_ext <<_ACEOF
26387 /* end confdefs.h. */
26388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26390 #define $ac_func innocuous_$ac_func
26392 /* System header to define __stub macros and hopefully few prototypes,
26393 which can conflict with char $ac_func (); below.
26394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26395 <limits.h> exists even on freestanding compilers. */
26398 # include <limits.h>
26400 # include <assert.h>
26405 /* Override any gcc2 internal prototype to avoid an error. */
26410 /* We use char because int might match the return type of a gcc2
26411 builtin and then its argument prototype would still apply. */
26413 /* The GNU C library defines this for functions which it implements
26414 to always fail with ENOSYS. Some functions are actually named
26415 something starting with __ and the normal name is an alias. */
26416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26419 char (*f) () = $ac_func;
26428 return f != $ac_func;
26433 rm -f conftest.
$ac_objext conftest
$ac_exeext
26434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26435 (eval $ac_link) 2>conftest.er1
26437 grep -v '^ *+' conftest.er1
>conftest.err
26439 cat conftest.err
>&5
26440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26441 (exit $ac_status); } &&
26442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26444 (eval $ac_try) 2>&5
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); }; } &&
26448 { ac_try
='test -s conftest$ac_exeext'
26449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26450 (eval $ac_try) 2>&5
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); }; }; then
26454 eval "$as_ac_var=yes"
26456 echo "$as_me: failed program was:" >&5
26457 sed 's/^/| /' conftest.
$ac_ext >&5
26459 eval "$as_ac_var=no"
26461 rm -f conftest.err conftest.
$ac_objext \
26462 conftest
$ac_exeext conftest.
$ac_ext
26464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26466 if test `eval echo '${'$as_ac_var'}'` = yes; then
26467 cat >>confdefs.h
<<_ACEOF
26468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26475 for ac_func
in floor
26477 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26478 echo "$as_me:$LINENO: checking for $ac_func" >&5
26479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26480 if eval "test \"\${$as_ac_var+set}\" = set"; then
26481 echo $ECHO_N "(cached) $ECHO_C" >&6
26483 cat >conftest.
$ac_ext <<_ACEOF
26486 cat confdefs.h
>>conftest.
$ac_ext
26487 cat >>conftest.
$ac_ext <<_ACEOF
26488 /* end confdefs.h. */
26489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26491 #define $ac_func innocuous_$ac_func
26493 /* System header to define __stub macros and hopefully few prototypes,
26494 which can conflict with char $ac_func (); below.
26495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26496 <limits.h> exists even on freestanding compilers. */
26499 # include <limits.h>
26501 # include <assert.h>
26506 /* Override any gcc2 internal prototype to avoid an error. */
26511 /* We use char because int might match the return type of a gcc2
26512 builtin and then its argument prototype would still apply. */
26514 /* The GNU C library defines this for functions which it implements
26515 to always fail with ENOSYS. Some functions are actually named
26516 something starting with __ and the normal name is an alias. */
26517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26520 char (*f) () = $ac_func;
26529 return f != $ac_func;
26534 rm -f conftest.
$ac_objext conftest
$ac_exeext
26535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26536 (eval $ac_link) 2>conftest.er1
26538 grep -v '^ *+' conftest.er1
>conftest.err
26540 cat conftest.err
>&5
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); } &&
26543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26545 (eval $ac_try) 2>&5
26547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26548 (exit $ac_status); }; } &&
26549 { ac_try
='test -s conftest$ac_exeext'
26550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26551 (eval $ac_try) 2>&5
26553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26554 (exit $ac_status); }; }; then
26555 eval "$as_ac_var=yes"
26557 echo "$as_me: failed program was:" >&5
26558 sed 's/^/| /' conftest.
$ac_ext >&5
26560 eval "$as_ac_var=no"
26562 rm -f conftest.err conftest.
$ac_objext \
26563 conftest
$ac_exeext conftest.
$ac_ext
26565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26567 if test `eval echo '${'$as_ac_var'}'` = yes; then
26568 cat >>confdefs.h
<<_ACEOF
26569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26575 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26576 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
26577 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26578 echo "$as_me:$LINENO: result: yes" >&5
26579 echo "${ECHO_T}yes" >&6
26581 echo "$as_me:$LINENO: result: no" >&5
26582 echo "${ECHO_T}no" >&6
26584 # use different functions to avoid configure caching
26590 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26591 echo "$as_me:$LINENO: checking for $ac_func" >&5
26592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26593 if eval "test \"\${$as_ac_var+set}\" = set"; then
26594 echo $ECHO_N "(cached) $ECHO_C" >&6
26596 cat >conftest.
$ac_ext <<_ACEOF
26599 cat confdefs.h
>>conftest.
$ac_ext
26600 cat >>conftest.
$ac_ext <<_ACEOF
26601 /* end confdefs.h. */
26602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26604 #define $ac_func innocuous_$ac_func
26606 /* System header to define __stub macros and hopefully few prototypes,
26607 which can conflict with char $ac_func (); below.
26608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26609 <limits.h> exists even on freestanding compilers. */
26612 # include <limits.h>
26614 # include <assert.h>
26619 /* Override any gcc2 internal prototype to avoid an error. */
26624 /* We use char because int might match the return type of a gcc2
26625 builtin and then its argument prototype would still apply. */
26627 /* The GNU C library defines this for functions which it implements
26628 to always fail with ENOSYS. Some functions are actually named
26629 something starting with __ and the normal name is an alias. */
26630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26633 char (*f) () = $ac_func;
26642 return f != $ac_func;
26647 rm -f conftest.
$ac_objext conftest
$ac_exeext
26648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26649 (eval $ac_link) 2>conftest.er1
26651 grep -v '^ *+' conftest.er1
>conftest.err
26653 cat conftest.err
>&5
26654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655 (exit $ac_status); } &&
26656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26658 (eval $ac_try) 2>&5
26660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26661 (exit $ac_status); }; } &&
26662 { ac_try
='test -s conftest$ac_exeext'
26663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26664 (eval $ac_try) 2>&5
26666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667 (exit $ac_status); }; }; then
26668 eval "$as_ac_var=yes"
26670 echo "$as_me: failed program was:" >&5
26671 sed 's/^/| /' conftest.
$ac_ext >&5
26673 eval "$as_ac_var=no"
26675 rm -f conftest.err conftest.
$ac_objext \
26676 conftest
$ac_exeext conftest.
$ac_ext
26678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26680 if test `eval echo '${'$as_ac_var'}'` = yes; then
26681 cat >>confdefs.h
<<_ACEOF
26682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26689 for ac_func
in ceil
26691 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26692 echo "$as_me:$LINENO: checking for $ac_func" >&5
26693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26694 if eval "test \"\${$as_ac_var+set}\" = set"; then
26695 echo $ECHO_N "(cached) $ECHO_C" >&6
26697 cat >conftest.
$ac_ext <<_ACEOF
26700 cat confdefs.h
>>conftest.
$ac_ext
26701 cat >>conftest.
$ac_ext <<_ACEOF
26702 /* end confdefs.h. */
26703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26705 #define $ac_func innocuous_$ac_func
26707 /* System header to define __stub macros and hopefully few prototypes,
26708 which can conflict with char $ac_func (); below.
26709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26710 <limits.h> exists even on freestanding compilers. */
26713 # include <limits.h>
26715 # include <assert.h>
26720 /* Override any gcc2 internal prototype to avoid an error. */
26725 /* We use char because int might match the return type of a gcc2
26726 builtin and then its argument prototype would still apply. */
26728 /* The GNU C library defines this for functions which it implements
26729 to always fail with ENOSYS. Some functions are actually named
26730 something starting with __ and the normal name is an alias. */
26731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26734 char (*f) () = $ac_func;
26743 return f != $ac_func;
26748 rm -f conftest.
$ac_objext conftest
$ac_exeext
26749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26750 (eval $ac_link) 2>conftest.er1
26752 grep -v '^ *+' conftest.er1
>conftest.err
26754 cat conftest.err
>&5
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); } &&
26757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26759 (eval $ac_try) 2>&5
26761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26762 (exit $ac_status); }; } &&
26763 { ac_try
='test -s conftest$ac_exeext'
26764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26765 (eval $ac_try) 2>&5
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); }; }; then
26769 eval "$as_ac_var=yes"
26771 echo "$as_me: failed program was:" >&5
26772 sed 's/^/| /' conftest.
$ac_ext >&5
26774 eval "$as_ac_var=no"
26776 rm -f conftest.err conftest.
$ac_objext \
26777 conftest
$ac_exeext conftest.
$ac_ext
26779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26781 if test `eval echo '${'$as_ac_var'}'` = yes; then
26782 cat >>confdefs.h
<<_ACEOF
26783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26789 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26790 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
26791 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26792 echo "$as_me:$LINENO: result: yes" >&5
26793 echo "${ECHO_T}yes" >&6
26795 echo "$as_me:$LINENO: result: no" >&5
26796 echo "${ECHO_T}no" >&6
26797 # not sure we should warn the user, crash, etc.
26802 ac_cpp
='$CXXCPP $CPPFLAGS'
26803 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26804 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26805 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26807 if test "wxUSE_UNICODE" = "yes"; then
26809 for wx_func
in wcstoull
26811 echo "$as_me:$LINENO: checking for $wx_func" >&5
26812 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
26813 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
26814 echo $ECHO_N "(cached) $ECHO_C" >&6
26817 cat >conftest.
$ac_ext <<_ACEOF
26821 cat confdefs.h
>>conftest.
$ac_ext
26822 cat >>conftest.
$ac_ext <<_ACEOF
26823 /* end confdefs.h. */
26826 $ac_includes_default
26842 rm -f conftest.
$ac_objext conftest
$ac_exeext
26843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26844 (eval $ac_link) 2>conftest.er1
26846 grep -v '^ *+' conftest.er1
>conftest.err
26848 cat conftest.err
>&5
26849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26850 (exit $ac_status); } &&
26851 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26853 (eval $ac_try) 2>&5
26855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26856 (exit $ac_status); }; } &&
26857 { ac_try
='test -s conftest$ac_exeext'
26858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26859 (eval $ac_try) 2>&5
26861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26862 (exit $ac_status); }; }; then
26863 eval wx_cv_func_
$wx_func=yes
26865 echo "$as_me: failed program was:" >&5
26866 sed 's/^/| /' conftest.
$ac_ext >&5
26868 eval wx_cv_func_
$wx_func=no
26870 rm -f conftest.err conftest.
$ac_objext \
26871 conftest
$ac_exeext conftest.
$ac_ext
26874 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
26875 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
26877 if eval test \
$wx_cv_func_$wx_func = yes
26879 cat >>confdefs.h
<<_ACEOF
26880 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
26892 for wx_func
in strtoull
26894 echo "$as_me:$LINENO: checking for $wx_func" >&5
26895 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
26896 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
26897 echo $ECHO_N "(cached) $ECHO_C" >&6
26900 cat >conftest.
$ac_ext <<_ACEOF
26904 cat confdefs.h
>>conftest.
$ac_ext
26905 cat >>conftest.
$ac_ext <<_ACEOF
26906 /* end confdefs.h. */
26909 $ac_includes_default
26925 rm -f conftest.
$ac_objext conftest
$ac_exeext
26926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26927 (eval $ac_link) 2>conftest.er1
26929 grep -v '^ *+' conftest.er1
>conftest.err
26931 cat conftest.err
>&5
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); } &&
26934 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26936 (eval $ac_try) 2>&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); }; } &&
26940 { ac_try
='test -s conftest$ac_exeext'
26941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26942 (eval $ac_try) 2>&5
26944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26945 (exit $ac_status); }; }; then
26946 eval wx_cv_func_
$wx_func=yes
26948 echo "$as_me: failed program was:" >&5
26949 sed 's/^/| /' conftest.
$ac_ext >&5
26951 eval wx_cv_func_
$wx_func=no
26953 rm -f conftest.err conftest.
$ac_objext \
26954 conftest
$ac_exeext conftest.
$ac_ext
26957 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
26958 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
26960 if eval test \
$wx_cv_func_$wx_func = yes
26962 cat >>confdefs.h
<<_ACEOF
26963 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
26975 ac_cpp
='$CPP $CPPFLAGS'
26976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26983 if test "$wxUSE_REGEX" != "no"; then
26984 cat >>confdefs.h
<<\_ACEOF
26985 #define wxUSE_REGEX 1
26989 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26990 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
26991 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
26992 wxUSE_REGEX
=builtin
26995 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26996 echo "$as_me:$LINENO: checking for regex.h" >&5
26997 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
26998 if test "${ac_cv_header_regex_h+set}" = set; then
26999 echo $ECHO_N "(cached) $ECHO_C" >&6
27001 cat >conftest.
$ac_ext <<_ACEOF
27004 cat confdefs.h
>>conftest.
$ac_ext
27005 cat >>conftest.
$ac_ext <<_ACEOF
27006 /* end confdefs.h. */
27011 rm -f conftest.
$ac_objext
27012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27013 (eval $ac_compile) 2>conftest.er1
27015 grep -v '^ *+' conftest.er1
>conftest.err
27017 cat conftest.err
>&5
27018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27019 (exit $ac_status); } &&
27020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27022 (eval $ac_try) 2>&5
27024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27025 (exit $ac_status); }; } &&
27026 { ac_try
='test -s conftest.$ac_objext'
27027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27028 (eval $ac_try) 2>&5
27030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27031 (exit $ac_status); }; }; then
27032 ac_cv_header_regex_h
=yes
27034 echo "$as_me: failed program was:" >&5
27035 sed 's/^/| /' conftest.
$ac_ext >&5
27037 ac_cv_header_regex_h
=no
27039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27041 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27042 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
27043 if test $ac_cv_header_regex_h = yes; then
27046 for ac_func
in regcomp re_search
27048 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27049 echo "$as_me:$LINENO: checking for $ac_func" >&5
27050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27051 if eval "test \"\${$as_ac_var+set}\" = set"; then
27052 echo $ECHO_N "(cached) $ECHO_C" >&6
27054 cat >conftest.
$ac_ext <<_ACEOF
27057 cat confdefs.h
>>conftest.
$ac_ext
27058 cat >>conftest.
$ac_ext <<_ACEOF
27059 /* end confdefs.h. */
27060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27062 #define $ac_func innocuous_$ac_func
27064 /* System header to define __stub macros and hopefully few prototypes,
27065 which can conflict with char $ac_func (); below.
27066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27067 <limits.h> exists even on freestanding compilers. */
27070 # include <limits.h>
27072 # include <assert.h>
27077 /* Override any gcc2 internal prototype to avoid an error. */
27082 /* We use char because int might match the return type of a gcc2
27083 builtin and then its argument prototype would still apply. */
27085 /* The GNU C library defines this for functions which it implements
27086 to always fail with ENOSYS. Some functions are actually named
27087 something starting with __ and the normal name is an alias. */
27088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27091 char (*f) () = $ac_func;
27100 return f != $ac_func;
27105 rm -f conftest.
$ac_objext conftest
$ac_exeext
27106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27107 (eval $ac_link) 2>conftest.er1
27109 grep -v '^ *+' conftest.er1
>conftest.err
27111 cat conftest.err
>&5
27112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27113 (exit $ac_status); } &&
27114 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27116 (eval $ac_try) 2>&5
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); }; } &&
27120 { ac_try
='test -s conftest$ac_exeext'
27121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27122 (eval $ac_try) 2>&5
27124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125 (exit $ac_status); }; }; then
27126 eval "$as_ac_var=yes"
27128 echo "$as_me: failed program was:" >&5
27129 sed 's/^/| /' conftest.
$ac_ext >&5
27131 eval "$as_ac_var=no"
27133 rm -f conftest.err conftest.
$ac_objext \
27134 conftest
$ac_exeext conftest.
$ac_ext
27136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27138 if test `eval echo '${'$as_ac_var'}'` = yes; then
27139 cat >>confdefs.h
<<_ACEOF
27140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27150 if test "x$ac_cv_func_regcomp" != "xyes"; then
27151 if test "$wxUSE_REGEX" = "sys" ; then
27152 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27153 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27154 { (exit 1); exit 1; }; }
27156 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27157 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27158 wxUSE_REGEX
=builtin
27162 cat >>confdefs.h
<<\_ACEOF
27163 #define WX_NO_REGEX_ADVANCED 1
27172 if test "$wxUSE_ZLIB" != "no" ; then
27173 cat >>confdefs.h
<<\_ACEOF
27174 #define wxUSE_ZLIB 1
27178 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27179 if test "$USE_DARWIN" = 1; then
27180 system_zlib_h_ok
="yes"
27182 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27183 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
27184 if test "${ac_cv_header_zlib_h+set}" = set; then
27185 echo $ECHO_N "(cached) $ECHO_C" >&6
27187 if test "$cross_compiling" = yes; then
27188 unset ac_cv_header_zlib_h
27191 cat >conftest.
$ac_ext <<_ACEOF
27194 cat confdefs.h
>>conftest.
$ac_ext
27195 cat >>conftest.
$ac_ext <<_ACEOF
27196 /* end confdefs.h. */
27203 FILE *f=fopen("conftestval", "w");
27206 ZLIB_VERSION[0] == '1' &&
27207 (ZLIB_VERSION[2] > '1' ||
27208 (ZLIB_VERSION[2] == '1' &&
27209 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27214 rm -f conftest
$ac_exeext
27215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27216 (eval $ac_link) 2>&5
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27221 (eval $ac_try) 2>&5
27223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27224 (exit $ac_status); }; }; then
27225 ac_cv_header_zlib_h
=`cat conftestval`
27227 echo "$as_me: program exited with status $ac_status" >&5
27228 echo "$as_me: failed program was:" >&5
27229 sed 's/^/| /' conftest.
$ac_ext >&5
27231 ( exit $ac_status )
27232 ac_cv_header_zlib_h
=no
27234 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27238 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27239 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
27240 echo "$as_me:$LINENO: checking for zlib.h" >&5
27241 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
27242 if test "${ac_cv_header_zlib_h+set}" = set; then
27243 echo $ECHO_N "(cached) $ECHO_C" >&6
27245 cat >conftest.
$ac_ext <<_ACEOF
27248 cat confdefs.h
>>conftest.
$ac_ext
27249 cat >>conftest.
$ac_ext <<_ACEOF
27250 /* end confdefs.h. */
27255 rm -f conftest.
$ac_objext
27256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27257 (eval $ac_compile) 2>conftest.er1
27259 grep -v '^ *+' conftest.er1
>conftest.err
27261 cat conftest.err
>&5
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); } &&
27264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27266 (eval $ac_try) 2>&5
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); }; } &&
27270 { ac_try
='test -s conftest.$ac_objext'
27271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27272 (eval $ac_try) 2>&5
27274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275 (exit $ac_status); }; }; then
27276 ac_cv_header_zlib_h
=yes
27278 echo "$as_me: failed program was:" >&5
27279 sed 's/^/| /' conftest.
$ac_ext >&5
27281 ac_cv_header_zlib_h
=no
27283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27285 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27286 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
27290 system_zlib_h_ok
=$ac_cv_header_zlib_h
27293 if test "$system_zlib_h_ok" = "yes"; then
27294 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27295 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
27296 if test "${ac_cv_lib_z_deflate+set}" = set; then
27297 echo $ECHO_N "(cached) $ECHO_C" >&6
27299 ac_check_lib_save_LIBS
=$LIBS
27301 cat >conftest.
$ac_ext <<_ACEOF
27304 cat confdefs.h
>>conftest.
$ac_ext
27305 cat >>conftest.
$ac_ext <<_ACEOF
27306 /* end confdefs.h. */
27308 /* Override any gcc2 internal prototype to avoid an error. */
27312 /* We use char because int might match the return type of a gcc2
27313 builtin and then its argument prototype would still apply. */
27323 rm -f conftest.
$ac_objext conftest
$ac_exeext
27324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27325 (eval $ac_link) 2>conftest.er1
27327 grep -v '^ *+' conftest.er1
>conftest.err
27329 cat conftest.err
>&5
27330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27331 (exit $ac_status); } &&
27332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
27338 { ac_try
='test -s conftest$ac_exeext'
27339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27340 (eval $ac_try) 2>&5
27342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27343 (exit $ac_status); }; }; then
27344 ac_cv_lib_z_deflate
=yes
27346 echo "$as_me: failed program was:" >&5
27347 sed 's/^/| /' conftest.
$ac_ext >&5
27349 ac_cv_lib_z_deflate
=no
27351 rm -f conftest.err conftest.
$ac_objext \
27352 conftest
$ac_exeext conftest.
$ac_ext
27353 LIBS
=$ac_check_lib_save_LIBS
27355 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27356 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
27357 if test $ac_cv_lib_z_deflate = yes; then
27363 if test "x$ZLIB_LINK" = "x" ; then
27364 if test "$wxUSE_ZLIB" = "sys" ; then
27365 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27366 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27367 { (exit 1); exit 1; }; }
27369 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27370 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27381 if test "$wxUSE_LIBPNG" != "no" ; then
27382 cat >>confdefs.h
<<\_ACEOF
27383 #define wxUSE_LIBPNG 1
27387 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27388 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27389 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27393 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27394 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27395 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27396 wxUSE_LIBPNG
=builtin
27399 if test "$wxUSE_MGL" != 1 ; then
27400 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27401 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27402 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
27403 if test "${ac_cv_header_png_h+set}" = set; then
27404 echo $ECHO_N "(cached) $ECHO_C" >&6
27406 if test "$cross_compiling" = yes; then
27407 unset ac_cv_header_png_h
27410 cat >conftest.
$ac_ext <<_ACEOF
27413 cat confdefs.h
>>conftest.
$ac_ext
27414 cat >>conftest.
$ac_ext <<_ACEOF
27415 /* end confdefs.h. */
27422 FILE *f=fopen("conftestval", "w");
27425 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27430 rm -f conftest
$ac_exeext
27431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27432 (eval $ac_link) 2>&5
27434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27437 (eval $ac_try) 2>&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); }; }; then
27441 ac_cv_header_png_h
=`cat conftestval`
27443 echo "$as_me: program exited with status $ac_status" >&5
27444 echo "$as_me: failed program was:" >&5
27445 sed 's/^/| /' conftest.
$ac_ext >&5
27447 ( exit $ac_status )
27448 ac_cv_header_png_h
=no
27450 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27454 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27455 echo "${ECHO_T}$ac_cv_header_png_h" >&6
27456 echo "$as_me:$LINENO: checking for png.h" >&5
27457 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
27458 if test "${ac_cv_header_png_h+set}" = set; then
27459 echo $ECHO_N "(cached) $ECHO_C" >&6
27461 cat >conftest.
$ac_ext <<_ACEOF
27464 cat confdefs.h
>>conftest.
$ac_ext
27465 cat >>conftest.
$ac_ext <<_ACEOF
27466 /* end confdefs.h. */
27471 rm -f conftest.
$ac_objext
27472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27473 (eval $ac_compile) 2>conftest.er1
27475 grep -v '^ *+' conftest.er1
>conftest.err
27477 cat conftest.err
>&5
27478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27479 (exit $ac_status); } &&
27480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27482 (eval $ac_try) 2>&5
27484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485 (exit $ac_status); }; } &&
27486 { ac_try
='test -s conftest.$ac_objext'
27487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27488 (eval $ac_try) 2>&5
27490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27491 (exit $ac_status); }; }; then
27492 ac_cv_header_png_h
=yes
27494 echo "$as_me: failed program was:" >&5
27495 sed 's/^/| /' conftest.
$ac_ext >&5
27497 ac_cv_header_png_h
=no
27499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27501 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27502 echo "${ECHO_T}$ac_cv_header_png_h" >&6
27506 if test "$ac_cv_header_png_h" = "yes"; then
27507 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27508 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
27509 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27510 echo $ECHO_N "(cached) $ECHO_C" >&6
27512 ac_check_lib_save_LIBS
=$LIBS
27513 LIBS
="-lpng -lz -lm $LIBS"
27514 cat >conftest.
$ac_ext <<_ACEOF
27517 cat confdefs.h
>>conftest.
$ac_ext
27518 cat >>conftest.
$ac_ext <<_ACEOF
27519 /* end confdefs.h. */
27521 /* Override any gcc2 internal prototype to avoid an error. */
27525 /* We use char because int might match the return type of a gcc2
27526 builtin and then its argument prototype would still apply. */
27527 char png_check_sig ();
27536 rm -f conftest.
$ac_objext conftest
$ac_exeext
27537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27538 (eval $ac_link) 2>conftest.er1
27540 grep -v '^ *+' conftest.er1
>conftest.err
27542 cat conftest.err
>&5
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); } &&
27545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547 (eval $ac_try) 2>&5
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); }; } &&
27551 { ac_try
='test -s conftest$ac_exeext'
27552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553 (eval $ac_try) 2>&5
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); }; }; then
27557 ac_cv_lib_png_png_check_sig
=yes
27559 echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.
$ac_ext >&5
27562 ac_cv_lib_png_png_check_sig
=no
27564 rm -f conftest.err conftest.
$ac_objext \
27565 conftest
$ac_exeext conftest.
$ac_ext
27566 LIBS
=$ac_check_lib_save_LIBS
27568 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27569 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
27570 if test $ac_cv_lib_png_png_check_sig = yes; then
27571 PNG_LINK
=" -lpng -lz"
27576 if test "x$PNG_LINK" = "x" ; then
27577 if test "$wxUSE_LIBPNG" = "sys" ; then
27578 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27579 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27580 { (exit 1); exit 1; }; }
27582 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27583 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27584 wxUSE_LIBPNG
=builtin
27592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
27597 if test "$wxUSE_LIBJPEG" != "no" ; then
27598 cat >>confdefs.h
<<\_ACEOF
27599 #define wxUSE_LIBJPEG 1
27603 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27604 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27605 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27609 if test "$wxUSE_MGL" != 1 ; then
27610 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27611 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27612 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
27613 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27614 echo $ECHO_N "(cached) $ECHO_C" >&6
27616 cat >conftest.
$ac_ext <<_ACEOF
27619 cat confdefs.h
>>conftest.
$ac_ext
27620 cat >>conftest.
$ac_ext <<_ACEOF
27621 /* end confdefs.h. */
27623 #undef HAVE_STDLIB_H
27625 #include <jpeglib.h>
27636 rm -f conftest.
$ac_objext
27637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27638 (eval $ac_compile) 2>conftest.er1
27640 grep -v '^ *+' conftest.er1
>conftest.err
27642 cat conftest.err
>&5
27643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27644 (exit $ac_status); } &&
27645 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27647 (eval $ac_try) 2>&5
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); }; } &&
27651 { ac_try
='test -s conftest.$ac_objext'
27652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27653 (eval $ac_try) 2>&5
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); }; }; then
27657 ac_cv_header_jpeglib_h
=yes
27659 echo "$as_me: failed program was:" >&5
27660 sed 's/^/| /' conftest.
$ac_ext >&5
27662 ac_cv_header_jpeglib_h
=no
27665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27669 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27670 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
27672 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27673 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27674 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
27675 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27676 echo $ECHO_N "(cached) $ECHO_C" >&6
27678 ac_check_lib_save_LIBS
=$LIBS
27679 LIBS
="-ljpeg $LIBS"
27680 cat >conftest.
$ac_ext <<_ACEOF
27683 cat confdefs.h
>>conftest.
$ac_ext
27684 cat >>conftest.
$ac_ext <<_ACEOF
27685 /* end confdefs.h. */
27687 /* Override any gcc2 internal prototype to avoid an error. */
27691 /* We use char because int might match the return type of a gcc2
27692 builtin and then its argument prototype would still apply. */
27693 char jpeg_read_header ();
27697 jpeg_read_header ();
27702 rm -f conftest.
$ac_objext conftest
$ac_exeext
27703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27704 (eval $ac_link) 2>conftest.er1
27706 grep -v '^ *+' conftest.er1
>conftest.err
27708 cat conftest.err
>&5
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); } &&
27711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27713 (eval $ac_try) 2>&5
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); }; } &&
27717 { ac_try
='test -s conftest$ac_exeext'
27718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27719 (eval $ac_try) 2>&5
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); }; }; then
27723 ac_cv_lib_jpeg_jpeg_read_header
=yes
27725 echo "$as_me: failed program was:" >&5
27726 sed 's/^/| /' conftest.
$ac_ext >&5
27728 ac_cv_lib_jpeg_jpeg_read_header
=no
27730 rm -f conftest.err conftest.
$ac_objext \
27731 conftest
$ac_exeext conftest.
$ac_ext
27732 LIBS
=$ac_check_lib_save_LIBS
27734 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27735 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
27736 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27737 JPEG_LINK
=" -ljpeg"
27742 if test "x$JPEG_LINK" = "x" ; then
27743 if test "$wxUSE_LIBJPEG" = "sys" ; then
27744 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27745 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27746 { (exit 1); exit 1; }; }
27748 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27749 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27750 wxUSE_LIBJPEG
=builtin
27755 if test "$wxUSE_MSW" = 1; then
27756 echo "$as_me:$LINENO: checking for boolean" >&5
27757 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27758 if test "${ac_cv_type_boolean+set}" = set; then
27759 echo $ECHO_N "(cached) $ECHO_C" >&6
27761 cat >conftest.
$ac_ext <<_ACEOF
27764 cat confdefs.h
>>conftest.
$ac_ext
27765 cat >>conftest.
$ac_ext <<_ACEOF
27766 /* end confdefs.h. */
27767 #include <windows.h>
27774 if (sizeof (boolean))
27780 rm -f conftest.
$ac_objext
27781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27782 (eval $ac_compile) 2>conftest.er1
27784 grep -v '^ *+' conftest.er1
>conftest.err
27786 cat conftest.err
>&5
27787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27788 (exit $ac_status); } &&
27789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27791 (eval $ac_try) 2>&5
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); }; } &&
27795 { ac_try
='test -s conftest.$ac_objext'
27796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27797 (eval $ac_try) 2>&5
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); }; }; then
27801 ac_cv_type_boolean
=yes
27803 echo "$as_me: failed program was:" >&5
27804 sed 's/^/| /' conftest.
$ac_ext >&5
27806 ac_cv_type_boolean
=no
27808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27810 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27811 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27812 if test $ac_cv_type_boolean = yes; then
27814 cat >>confdefs.h
<<_ACEOF
27815 #define HAVE_BOOLEAN 1
27819 echo "$as_me:$LINENO: checking for boolean" >&5
27820 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27821 if test "${ac_cv_type_boolean+set}" = set; then
27822 echo $ECHO_N "(cached) $ECHO_C" >&6
27824 cat >conftest.
$ac_ext <<_ACEOF
27827 cat confdefs.h
>>conftest.
$ac_ext
27828 cat >>conftest.
$ac_ext <<_ACEOF
27829 /* end confdefs.h. */
27831 #undef HAVE_BOOLEAN
27833 #include <jpeglib.h>
27841 if (sizeof (boolean))
27847 rm -f conftest.
$ac_objext
27848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27849 (eval $ac_compile) 2>conftest.er1
27851 grep -v '^ *+' conftest.er1
>conftest.err
27853 cat conftest.err
>&5
27854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27855 (exit $ac_status); } &&
27856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27858 (eval $ac_try) 2>&5
27860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 (exit $ac_status); }; } &&
27862 { ac_try
='test -s conftest.$ac_objext'
27863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27864 (eval $ac_try) 2>&5
27866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27867 (exit $ac_status); }; }; then
27868 ac_cv_type_boolean
=yes
27870 echo "$as_me: failed program was:" >&5
27871 sed 's/^/| /' conftest.
$ac_ext >&5
27873 ac_cv_type_boolean
=no
27875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27877 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27878 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27880 echo "$as_me:$LINENO: checking size of boolean" >&5
27881 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
27882 if test "${ac_cv_sizeof_boolean+set}" = set; then
27883 echo $ECHO_N "(cached) $ECHO_C" >&6
27885 if test "$ac_cv_type_boolean" = yes; then
27886 # The cast to unsigned long works around a bug in the HP C Compiler
27887 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27888 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27889 # This bug is HP SR number 8606223364.
27890 if test "$cross_compiling" = yes; then
27891 # Depending upon the size, compute the lo and hi bounds.
27892 cat >conftest.
$ac_ext <<_ACEOF
27895 cat confdefs.h
>>conftest.
$ac_ext
27896 cat >>conftest.
$ac_ext <<_ACEOF
27897 /* end confdefs.h. */
27899 #undef HAVE_BOOLEAN
27901 #include <jpeglib.h>
27907 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
27914 rm -f conftest.
$ac_objext
27915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27916 (eval $ac_compile) 2>conftest.er1
27918 grep -v '^ *+' conftest.er1
>conftest.err
27920 cat conftest.err
>&5
27921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27922 (exit $ac_status); } &&
27923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27925 (eval $ac_try) 2>&5
27927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27928 (exit $ac_status); }; } &&
27929 { ac_try
='test -s conftest.$ac_objext'
27930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27931 (eval $ac_try) 2>&5
27933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27934 (exit $ac_status); }; }; then
27937 cat >conftest.
$ac_ext <<_ACEOF
27940 cat confdefs.h
>>conftest.
$ac_ext
27941 cat >>conftest.
$ac_ext <<_ACEOF
27942 /* end confdefs.h. */
27944 #undef HAVE_BOOLEAN
27946 #include <jpeglib.h>
27952 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
27959 rm -f conftest.
$ac_objext
27960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27961 (eval $ac_compile) 2>conftest.er1
27963 grep -v '^ *+' conftest.er1
>conftest.err
27965 cat conftest.err
>&5
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); } &&
27968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27970 (eval $ac_try) 2>&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); }; } &&
27974 { ac_try
='test -s conftest.$ac_objext'
27975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27976 (eval $ac_try) 2>&5
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); }; }; then
27980 ac_hi
=$ac_mid; break
27982 echo "$as_me: failed program was:" >&5
27983 sed 's/^/| /' conftest.
$ac_ext >&5
27985 ac_lo
=`expr $ac_mid + 1`
27986 if test $ac_lo -le $ac_mid; then
27990 ac_mid
=`expr 2 '*' $ac_mid + 1`
27992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27995 echo "$as_me: failed program was:" >&5
27996 sed 's/^/| /' conftest.
$ac_ext >&5
27998 cat >conftest.
$ac_ext <<_ACEOF
28001 cat confdefs.h
>>conftest.
$ac_ext
28002 cat >>conftest.
$ac_ext <<_ACEOF
28003 /* end confdefs.h. */
28005 #undef HAVE_BOOLEAN
28007 #include <jpeglib.h>
28013 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
28020 rm -f conftest.
$ac_objext
28021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28022 (eval $ac_compile) 2>conftest.er1
28024 grep -v '^ *+' conftest.er1
>conftest.err
28026 cat conftest.err
>&5
28027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28028 (exit $ac_status); } &&
28029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28031 (eval $ac_try) 2>&5
28033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28034 (exit $ac_status); }; } &&
28035 { ac_try
='test -s conftest.$ac_objext'
28036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28037 (eval $ac_try) 2>&5
28039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28040 (exit $ac_status); }; }; then
28043 cat >conftest.
$ac_ext <<_ACEOF
28046 cat confdefs.h
>>conftest.
$ac_ext
28047 cat >>conftest.
$ac_ext <<_ACEOF
28048 /* end confdefs.h. */
28050 #undef HAVE_BOOLEAN
28052 #include <jpeglib.h>
28058 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
28065 rm -f conftest.
$ac_objext
28066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28067 (eval $ac_compile) 2>conftest.er1
28069 grep -v '^ *+' conftest.er1
>conftest.err
28071 cat conftest.err
>&5
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); } &&
28074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28076 (eval $ac_try) 2>&5
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); }; } &&
28080 { ac_try
='test -s conftest.$ac_objext'
28081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28082 (eval $ac_try) 2>&5
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); }; }; then
28086 ac_lo
=$ac_mid; break
28088 echo "$as_me: failed program was:" >&5
28089 sed 's/^/| /' conftest.
$ac_ext >&5
28091 ac_hi
=`expr '(' $ac_mid ')' - 1`
28092 if test $ac_mid -le $ac_hi; then
28096 ac_mid
=`expr 2 '*' $ac_mid`
28098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28101 echo "$as_me: failed program was:" >&5
28102 sed 's/^/| /' conftest.
$ac_ext >&5
28106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28109 # Binary search between lo and hi bounds.
28110 while test "x$ac_lo" != "x$ac_hi"; do
28111 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28112 cat >conftest.
$ac_ext <<_ACEOF
28115 cat confdefs.h
>>conftest.
$ac_ext
28116 cat >>conftest.
$ac_ext <<_ACEOF
28117 /* end confdefs.h. */
28119 #undef HAVE_BOOLEAN
28121 #include <jpeglib.h>
28127 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
28134 rm -f conftest.
$ac_objext
28135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28136 (eval $ac_compile) 2>conftest.er1
28138 grep -v '^ *+' conftest.er1
>conftest.err
28140 cat conftest.err
>&5
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); } &&
28143 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28145 (eval $ac_try) 2>&5
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); }; } &&
28149 { ac_try
='test -s conftest.$ac_objext'
28150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28151 (eval $ac_try) 2>&5
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); }; }; then
28157 echo "$as_me: failed program was:" >&5
28158 sed 's/^/| /' conftest.
$ac_ext >&5
28160 ac_lo
=`expr '(' $ac_mid ')' + 1`
28162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28165 ?
*) ac_cv_sizeof_boolean
=$ac_lo;;
28166 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
28167 See \`config.log' for more details." >&5
28168 echo "$as_me: error: cannot compute sizeof (boolean), 77
28169 See \`config.log' for more details." >&2;}
28170 { (exit 1); exit 1; }; } ;;
28173 if test "$cross_compiling" = yes; then
28174 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
28175 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
28176 { (exit 1); exit 1; }; }
28178 cat >conftest.
$ac_ext <<_ACEOF
28181 cat confdefs.h
>>conftest.
$ac_ext
28182 cat >>conftest.
$ac_ext <<_ACEOF
28183 /* end confdefs.h. */
28185 #undef HAVE_BOOLEAN
28187 #include <jpeglib.h>
28190 long longval () { return (long) (sizeof (boolean)); }
28191 unsigned long ulongval () { return (long) (sizeof (boolean)); }
28193 #include <stdlib.h>
28198 FILE *f = fopen ("conftest.val", "w");
28201 if (((long) (sizeof (boolean))) < 0)
28203 long i = longval ();
28204 if (i != ((long) (sizeof (boolean))))
28206 fprintf (f, "%ld\n", i);
28210 unsigned long i = ulongval ();
28211 if (i != ((long) (sizeof (boolean))))
28213 fprintf (f, "%lu\n", i);
28215 exit (ferror (f) || fclose (f) != 0);
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_sizeof_boolean
=`cat conftest.val`
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 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
28240 See \`config.log' for more details." >&5
28241 echo "$as_me: error: cannot compute sizeof (boolean), 77
28242 See \`config.log' for more details." >&2;}
28243 { (exit 1); exit 1; }; }
28245 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28250 ac_cv_sizeof_boolean
=0
28253 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28254 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
28255 cat >>confdefs.h
<<_ACEOF
28256 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28260 cat >>confdefs.h
<<_ACEOF
28261 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28275 TIFF_PREREQ_LINKS
=-lm
28276 if test "$wxUSE_LIBTIFF" != "no" ; then
28277 cat >>confdefs.h
<<\_ACEOF
28278 #define wxUSE_LIBTIFF 1
28282 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28283 if test "$wxUSE_LIBJPEG" = "sys"; then
28284 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
28286 if test "$wxUSE_ZLIB" = "sys"; then
28287 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28289 echo "$as_me:$LINENO: checking for tiffio.h" >&5
28290 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
28291 if test "${ac_cv_header_tiffio_h+set}" = set; then
28292 echo $ECHO_N "(cached) $ECHO_C" >&6
28294 cat >conftest.
$ac_ext <<_ACEOF
28297 cat confdefs.h
>>conftest.
$ac_ext
28298 cat >>conftest.
$ac_ext <<_ACEOF
28299 /* end confdefs.h. */
28303 #include <tiffio.h>
28305 rm -f conftest.
$ac_objext
28306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28307 (eval $ac_compile) 2>conftest.er1
28309 grep -v '^ *+' conftest.er1
>conftest.err
28311 cat conftest.err
>&5
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); } &&
28314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316 (eval $ac_try) 2>&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); }; } &&
28320 { ac_try
='test -s conftest.$ac_objext'
28321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28322 (eval $ac_try) 2>&5
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); }; }; then
28326 ac_cv_header_tiffio_h
=yes
28328 echo "$as_me: failed program was:" >&5
28329 sed 's/^/| /' conftest.
$ac_ext >&5
28331 ac_cv_header_tiffio_h
=no
28333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28335 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28336 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
28337 if test $ac_cv_header_tiffio_h = yes; then
28339 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28340 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
28341 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28342 echo $ECHO_N "(cached) $ECHO_C" >&6
28344 ac_check_lib_save_LIBS
=$LIBS
28345 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28346 cat >conftest.
$ac_ext <<_ACEOF
28349 cat confdefs.h
>>conftest.
$ac_ext
28350 cat >>conftest.
$ac_ext <<_ACEOF
28351 /* end confdefs.h. */
28353 /* Override any gcc2 internal prototype to avoid an error. */
28357 /* We use char because int might match the return type of a gcc2
28358 builtin and then its argument prototype would still apply. */
28368 rm -f conftest.
$ac_objext conftest
$ac_exeext
28369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28370 (eval $ac_link) 2>conftest.er1
28372 grep -v '^ *+' conftest.er1
>conftest.err
28374 cat conftest.err
>&5
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 (exit $ac_status); } &&
28377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28379 (eval $ac_try) 2>&5
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); }; } &&
28383 { ac_try
='test -s conftest$ac_exeext'
28384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28385 (eval $ac_try) 2>&5
28387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28388 (exit $ac_status); }; }; then
28389 ac_cv_lib_tiff_TIFFError
=yes
28391 echo "$as_me: failed program was:" >&5
28392 sed 's/^/| /' conftest.
$ac_ext >&5
28394 ac_cv_lib_tiff_TIFFError
=no
28396 rm -f conftest.err conftest.
$ac_objext \
28397 conftest
$ac_exeext conftest.
$ac_ext
28398 LIBS
=$ac_check_lib_save_LIBS
28400 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28401 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
28402 if test $ac_cv_lib_tiff_TIFFError = yes; then
28403 TIFF_LINK
=" -ltiff"
28411 if test "x$TIFF_LINK" = "x" ; then
28412 if test "$wxUSE_LIBTIFF" = "sys" ; then
28413 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28414 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28415 { (exit 1); exit 1; }; }
28417 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28418 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28419 wxUSE_LIBTIFF
=builtin
28428 if test "$wxUSE_WCHAR_T" != "yes"; then
28429 if test "$wxUSE_EXPAT" != "no"; then
28430 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28431 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28434 if test "$wxUSE_XML" != "no"; then
28435 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28436 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28441 if test "$wxUSE_EXPAT" != "no"; then
28443 cat >>confdefs.h
<<\_ACEOF
28444 #define wxUSE_EXPAT 1
28447 cat >>confdefs.h
<<\_ACEOF
28448 #define wxUSE_XML 1
28452 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28453 echo "$as_me:$LINENO: checking for expat.h" >&5
28454 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
28455 if test "${ac_cv_header_expat_h+set}" = set; then
28456 echo $ECHO_N "(cached) $ECHO_C" >&6
28458 cat >conftest.
$ac_ext <<_ACEOF
28461 cat confdefs.h
>>conftest.
$ac_ext
28462 cat >>conftest.
$ac_ext <<_ACEOF
28463 /* end confdefs.h. */
28468 rm -f conftest.
$ac_objext
28469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28470 (eval $ac_compile) 2>conftest.er1
28472 grep -v '^ *+' conftest.er1
>conftest.err
28474 cat conftest.err
>&5
28475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476 (exit $ac_status); } &&
28477 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28479 (eval $ac_try) 2>&5
28481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482 (exit $ac_status); }; } &&
28483 { ac_try
='test -s conftest.$ac_objext'
28484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28485 (eval $ac_try) 2>&5
28487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28488 (exit $ac_status); }; }; then
28489 ac_cv_header_expat_h
=yes
28491 echo "$as_me: failed program was:" >&5
28492 sed 's/^/| /' conftest.
$ac_ext >&5
28494 ac_cv_header_expat_h
=no
28496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28498 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28499 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
28500 if test $ac_cv_header_expat_h = yes; then
28505 if test "x$found_expat_h" = "x1"; then
28506 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28507 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
28508 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28509 echo $ECHO_N "(cached) $ECHO_C" >&6
28513 ac_cpp
='$CXXCPP $CPPFLAGS'
28514 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28515 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28516 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28518 cat >conftest.
$ac_ext <<_ACEOF
28521 cat confdefs.h
>>conftest.
$ac_ext
28522 cat >>conftest.
$ac_ext <<_ACEOF
28523 /* end confdefs.h. */
28533 rm -f conftest.
$ac_objext
28534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28535 (eval $ac_compile) 2>conftest.er1
28537 grep -v '^ *+' conftest.er1
>conftest.err
28539 cat conftest.err
>&5
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); } &&
28542 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28544 (eval $ac_try) 2>&5
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); }; } &&
28548 { ac_try
='test -s conftest.$ac_objext'
28549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28550 (eval $ac_try) 2>&5
28552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28553 (exit $ac_status); }; }; then
28554 wx_cv_expat_is_not_broken
=yes
28556 echo "$as_me: failed program was:" >&5
28557 sed 's/^/| /' conftest.
$ac_ext >&5
28559 wx_cv_expat_is_not_broken
=no
28562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28564 ac_cpp
='$CPP $CPPFLAGS'
28565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28572 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28573 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
28574 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28575 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28576 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
28577 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28578 echo $ECHO_N "(cached) $ECHO_C" >&6
28580 ac_check_lib_save_LIBS
=$LIBS
28581 LIBS
="-lexpat $LIBS"
28582 cat >conftest.
$ac_ext <<_ACEOF
28585 cat confdefs.h
>>conftest.
$ac_ext
28586 cat >>conftest.
$ac_ext <<_ACEOF
28587 /* end confdefs.h. */
28589 /* Override any gcc2 internal prototype to avoid an error. */
28593 /* We use char because int might match the return type of a gcc2
28594 builtin and then its argument prototype would still apply. */
28595 char XML_ParserCreate ();
28599 XML_ParserCreate ();
28604 rm -f conftest.
$ac_objext conftest
$ac_exeext
28605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28606 (eval $ac_link) 2>conftest.er1
28608 grep -v '^ *+' conftest.er1
>conftest.err
28610 cat conftest.err
>&5
28611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28612 (exit $ac_status); } &&
28613 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28615 (eval $ac_try) 2>&5
28617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28618 (exit $ac_status); }; } &&
28619 { ac_try
='test -s conftest$ac_exeext'
28620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28621 (eval $ac_try) 2>&5
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); }; }; then
28625 ac_cv_lib_expat_XML_ParserCreate
=yes
28627 echo "$as_me: failed program was:" >&5
28628 sed 's/^/| /' conftest.
$ac_ext >&5
28630 ac_cv_lib_expat_XML_ParserCreate
=no
28632 rm -f conftest.err conftest.
$ac_objext \
28633 conftest
$ac_exeext conftest.
$ac_ext
28634 LIBS
=$ac_check_lib_save_LIBS
28636 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28637 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
28638 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28639 EXPAT_LINK
=" -lexpat"
28644 if test "x$EXPAT_LINK" = "x" ; then
28645 if test "$wxUSE_EXPAT" = "sys" ; then
28646 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28647 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28648 { (exit 1); exit 1; }; }
28650 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28651 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28652 wxUSE_EXPAT
=builtin
28658 if test "$wxUSE_EXPAT" = "builtin" ; then
28661 subdirs
="$subdirs src/expat"
28668 if test "$wxUSE_LIBMSPACK" != "no"; then
28669 echo "$as_me:$LINENO: checking for mspack.h" >&5
28670 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
28671 if test "${ac_cv_header_mspack_h+set}" = set; then
28672 echo $ECHO_N "(cached) $ECHO_C" >&6
28674 cat >conftest.
$ac_ext <<_ACEOF
28677 cat confdefs.h
>>conftest.
$ac_ext
28678 cat >>conftest.
$ac_ext <<_ACEOF
28679 /* end confdefs.h. */
28682 #include <mspack.h>
28684 rm -f conftest.
$ac_objext
28685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28686 (eval $ac_compile) 2>conftest.er1
28688 grep -v '^ *+' conftest.er1
>conftest.err
28690 cat conftest.err
>&5
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); } &&
28693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28695 (eval $ac_try) 2>&5
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); }; } &&
28699 { ac_try
='test -s conftest.$ac_objext'
28700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28701 (eval $ac_try) 2>&5
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); }; }; then
28705 ac_cv_header_mspack_h
=yes
28707 echo "$as_me: failed program was:" >&5
28708 sed 's/^/| /' conftest.
$ac_ext >&5
28710 ac_cv_header_mspack_h
=no
28712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28714 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28715 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
28716 if test $ac_cv_header_mspack_h = yes; then
28721 if test "x$found_mspack_h" = "x1"; then
28722 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28723 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
28724 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28725 echo $ECHO_N "(cached) $ECHO_C" >&6
28727 ac_check_lib_save_LIBS
=$LIBS
28728 LIBS
="-lmspack $LIBS"
28729 cat >conftest.
$ac_ext <<_ACEOF
28732 cat confdefs.h
>>conftest.
$ac_ext
28733 cat >>conftest.
$ac_ext <<_ACEOF
28734 /* end confdefs.h. */
28736 /* Override any gcc2 internal prototype to avoid an error. */
28740 /* We use char because int might match the return type of a gcc2
28741 builtin and then its argument prototype would still apply. */
28742 char mspack_create_chm_decompressor ();
28746 mspack_create_chm_decompressor ();
28751 rm -f conftest.
$ac_objext conftest
$ac_exeext
28752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28753 (eval $ac_link) 2>conftest.er1
28755 grep -v '^ *+' conftest.er1
>conftest.err
28757 cat conftest.err
>&5
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); } &&
28760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28762 (eval $ac_try) 2>&5
28764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765 (exit $ac_status); }; } &&
28766 { ac_try
='test -s conftest$ac_exeext'
28767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28768 (eval $ac_try) 2>&5
28770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771 (exit $ac_status); }; }; then
28772 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
28774 echo "$as_me: failed program was:" >&5
28775 sed 's/^/| /' conftest.
$ac_ext >&5
28777 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
28779 rm -f conftest.err conftest.
$ac_objext \
28780 conftest
$ac_exeext conftest.
$ac_ext
28781 LIBS
=$ac_check_lib_save_LIBS
28783 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28784 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
28785 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28786 MSPACK_LINK
=" -lmspack"
28790 if test "x$MSPACK_LINK" = "x" ; then
28795 if test "$wxUSE_LIBMSPACK" != "no"; then
28796 cat >>confdefs.h
<<\_ACEOF
28797 #define wxUSE_LIBMSPACK 1
28811 if test "$USE_WIN32" = 1 ; then
28812 echo "$as_me:$LINENO: checking for w32api.h" >&5
28813 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6
28814 if test "${ac_cv_header_w32api_h+set}" = set; then
28815 echo $ECHO_N "(cached) $ECHO_C" >&6
28817 cat >conftest.
$ac_ext <<_ACEOF
28820 cat confdefs.h
>>conftest.
$ac_ext
28821 cat >>conftest.
$ac_ext <<_ACEOF
28822 /* end confdefs.h. */
28825 #include <w32api.h>
28827 rm -f conftest.
$ac_objext
28828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28829 (eval $ac_compile) 2>conftest.er1
28831 grep -v '^ *+' conftest.er1
>conftest.err
28833 cat conftest.err
>&5
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); } &&
28836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28838 (eval $ac_try) 2>&5
28840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841 (exit $ac_status); }; } &&
28842 { ac_try
='test -s conftest.$ac_objext'
28843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28844 (eval $ac_try) 2>&5
28846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28847 (exit $ac_status); }; }; then
28848 ac_cv_header_w32api_h
=yes
28850 echo "$as_me: failed program was:" >&5
28851 sed 's/^/| /' conftest.
$ac_ext >&5
28853 ac_cv_header_w32api_h
=no
28855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28857 echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
28858 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6
28861 echo "$as_me:$LINENO: checking for windows.h" >&5
28862 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
28863 if test "${ac_cv_header_windows_h+set}" = set; then
28864 echo $ECHO_N "(cached) $ECHO_C" >&6
28866 cat >conftest.
$ac_ext <<_ACEOF
28869 cat confdefs.h
>>conftest.
$ac_ext
28870 cat >>conftest.
$ac_ext <<_ACEOF
28871 /* end confdefs.h. */
28874 #include <windows.h>
28876 rm -f conftest.
$ac_objext
28877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28878 (eval $ac_compile) 2>conftest.er1
28880 grep -v '^ *+' conftest.er1
>conftest.err
28882 cat conftest.err
>&5
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); } &&
28885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28887 (eval $ac_try) 2>&5
28889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28890 (exit $ac_status); }; } &&
28891 { ac_try
='test -s conftest.$ac_objext'
28892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28893 (eval $ac_try) 2>&5
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); }; }; then
28897 ac_cv_header_windows_h
=yes
28899 echo "$as_me: failed program was:" >&5
28900 sed 's/^/| /' conftest.
$ac_ext >&5
28902 ac_cv_header_windows_h
=no
28904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28906 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28907 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
28908 if test $ac_cv_header_windows_h = yes; then
28912 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28913 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28914 { (exit 1); exit 1; }; }
28920 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28922 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28923 LIBS
="$LIBS -loleacc"
28928 LIBS
="$LIBS -lkernel32 -luser32"
28931 if test "$wxUSE_ODBC" = "sys" ; then
28934 if test "$wxUSE_ODBC" = "yes" ; then
28935 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
28936 cat >>confdefs.h
<<\_ACEOF
28937 #define wxUSE_ODBC 1
28942 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28943 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
28945 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28947 WIN32INSTALL
=win32install
28949 echo "$as_me:$LINENO: checking for pbt.h" >&5
28950 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6
28951 if test "${ac_cv_header_pbt_h+set}" = set; then
28952 echo $ECHO_N "(cached) $ECHO_C" >&6
28954 cat >conftest.
$ac_ext <<_ACEOF
28957 cat confdefs.h
>>conftest.
$ac_ext
28958 cat >>conftest.
$ac_ext <<_ACEOF
28959 /* end confdefs.h. */
28964 rm -f conftest.
$ac_objext
28965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28966 (eval $ac_compile) 2>conftest.er1
28968 grep -v '^ *+' conftest.er1
>conftest.err
28970 cat conftest.err
>&5
28971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28972 (exit $ac_status); } &&
28973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28975 (eval $ac_try) 2>&5
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); }; } &&
28979 { ac_try
='test -s conftest.$ac_objext'
28980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28981 (eval $ac_try) 2>&5
28983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984 (exit $ac_status); }; }; then
28985 ac_cv_header_pbt_h
=yes
28987 echo "$as_me: failed program was:" >&5
28988 sed 's/^/| /' conftest.
$ac_ext >&5
28990 ac_cv_header_pbt_h
=no
28992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28994 echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28995 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6
28996 if test $ac_cv_header_pbt_h = yes; then
28999 cat >>confdefs.h
<<\_ACEOF
29000 #define NEED_PBT_H 1
29008 if test "$wxUSE_GUI" = "yes"; then
29018 if test "$wxUSE_COCOA" = 1 ; then
29019 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29020 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29021 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29022 wxUSE_PRINTING_ARCHITECTURE
=no
29024 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29025 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29026 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29027 wxUSE_DRAG_AND_DROP
=no
29029 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29030 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29031 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29036 if test "$wxUSE_MSW" = 1 ; then
29042 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29046 if test "$wxUSE_GTK" = 1; then
29047 echo "$as_me:$LINENO: checking for GTK+ version" >&5
29048 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
29050 gtk_version_cached
=1
29051 if test "${wx_cv_lib_gtk+set}" = set; then
29052 echo $ECHO_N "(cached) $ECHO_C" >&6
29055 gtk_version_cached
=0
29056 echo "$as_me:$LINENO: result: " >&5
29057 echo "${ECHO_T}" >&6
29060 if test "$wxUSE_THREADS" = "yes"; then
29061 GTK_MODULES
=gthread
29065 if test "x$wxGTK_VERSION" != "x1"
29069 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29074 # Check whether --enable-gtktest or --disable-gtktest was given.
29075 if test "${enable_gtktest+set}" = set; then
29076 enableval
="$enable_gtktest"
29082 pkg_config_args
=gtk
+-2.0
29083 for module
in .
$GTK_MODULES
29087 pkg_config_args
="$pkg_config_args gthread-2.0"
29094 # Extract the first word of "pkg-config", so it can be a program name with args.
29095 set dummy pkg
-config; ac_word
=$2
29096 echo "$as_me:$LINENO: checking for $ac_word" >&5
29097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29098 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29099 echo $ECHO_N "(cached) $ECHO_C" >&6
29101 case $PKG_CONFIG in
29103 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29107 for as_dir
in $PATH
29110 test -z "$as_dir" && as_dir
=.
29111 for ac_exec_ext
in '' $ac_executable_extensions; do
29112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29113 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29120 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29124 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29126 if test -n "$PKG_CONFIG"; then
29127 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29128 echo "${ECHO_T}$PKG_CONFIG" >&6
29130 echo "$as_me:$LINENO: result: no" >&5
29131 echo "${ECHO_T}no" >&6
29135 if test x
$PKG_CONFIG != xno
; then
29136 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
29139 echo "*** pkg-config too old; version 0.7 or better required."
29147 min_gtk_version
=2.0.0
29148 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29149 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
29151 if test x
$PKG_CONFIG != xno
; then
29152 ## don't try to run the test against uninstalled libtool libs
29153 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29154 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29158 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29165 if test x
"$no_gtk" = x
; then
29166 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
29167 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
29168 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
29169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29170 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
29171 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29172 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
29173 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29174 if test "x$enable_gtktest" = "xyes" ; then
29175 ac_save_CFLAGS
="$CFLAGS"
29176 ac_save_LIBS
="$LIBS"
29177 CFLAGS
="$CFLAGS $GTK_CFLAGS"
29178 LIBS
="$GTK_LIBS $LIBS"
29180 if test "$cross_compiling" = yes; then
29181 echo $ac_n "cross compiling; assumed OK... $ac_c"
29183 cat >conftest.
$ac_ext <<_ACEOF
29186 cat confdefs.h
>>conftest.
$ac_ext
29187 cat >>conftest.
$ac_ext <<_ACEOF
29188 /* end confdefs.h. */
29190 #include <gtk/gtk.h>
29192 #include <stdlib.h>
29197 int major, minor, micro;
29200 system ("touch conf.gtktest");
29202 /* HP/UX 9 (%@#!) writes to sscanf strings */
29203 tmp_version = g_strdup("$min_gtk_version");
29204 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29205 printf("%s, bad version string\n", "$min_gtk_version");
29209 if ((gtk_major_version != $gtk_config_major_version) ||
29210 (gtk_minor_version != $gtk_config_minor_version) ||
29211 (gtk_micro_version != $gtk_config_micro_version))
29213 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29214 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29215 gtk_major_version, gtk_minor_version, gtk_micro_version);
29216 printf ("*** was found! If pkg-config was correct, then it is best\n");
29217 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29218 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29219 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29220 printf("*** required on your system.\n");
29221 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29222 printf("*** to point to the correct configuration files\n");
29224 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29225 (gtk_minor_version != GTK_MINOR_VERSION) ||
29226 (gtk_micro_version != GTK_MICRO_VERSION))
29228 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29229 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29230 printf("*** library (version %d.%d.%d)\n",
29231 gtk_major_version, gtk_minor_version, gtk_micro_version);
29235 if ((gtk_major_version > major) ||
29236 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29237 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29243 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29244 gtk_major_version, gtk_minor_version, gtk_micro_version);
29245 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29246 major, minor, micro);
29247 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29249 printf("*** If you have already installed a sufficiently new version, this error\n");
29250 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29251 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29252 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29253 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29254 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29255 printf("*** so that the correct libraries are found at run-time))\n");
29262 rm -f conftest
$ac_exeext
29263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29264 (eval $ac_link) 2>&5
29266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29267 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29269 (eval $ac_try) 2>&5
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); }; }; then
29275 echo "$as_me: program exited with status $ac_status" >&5
29276 echo "$as_me: failed program was:" >&5
29277 sed 's/^/| /' conftest.
$ac_ext >&5
29279 ( exit $ac_status )
29282 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29284 CFLAGS
="$ac_save_CFLAGS"
29285 LIBS
="$ac_save_LIBS"
29288 if test "x$no_gtk" = x
; then
29289 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29290 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
29293 echo "$as_me:$LINENO: result: no" >&5
29294 echo "${ECHO_T}no" >&6
29295 if test "$PKG_CONFIG" = "no" ; then
29296 echo "*** A new enough version of pkg-config was not found."
29297 echo "*** See http://pkgconfig.sourceforge.net"
29299 if test -f conf.gtktest
; then
29302 echo "*** Could not run GTK+ test program, checking why..."
29303 ac_save_CFLAGS
="$CFLAGS"
29304 ac_save_LIBS
="$LIBS"
29305 CFLAGS
="$CFLAGS $GTK_CFLAGS"
29306 LIBS
="$LIBS $GTK_LIBS"
29307 cat >conftest.
$ac_ext <<_ACEOF
29310 cat confdefs.h
>>conftest.
$ac_ext
29311 cat >>conftest.
$ac_ext <<_ACEOF
29312 /* end confdefs.h. */
29314 #include <gtk/gtk.h>
29320 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29325 rm -f conftest.
$ac_objext conftest
$ac_exeext
29326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29327 (eval $ac_link) 2>conftest.er1
29329 grep -v '^ *+' conftest.er1
>conftest.err
29331 cat conftest.err
>&5
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); } &&
29334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29336 (eval $ac_try) 2>&5
29338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29339 (exit $ac_status); }; } &&
29340 { ac_try
='test -s conftest$ac_exeext'
29341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29342 (eval $ac_try) 2>&5
29344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345 (exit $ac_status); }; }; then
29346 echo "*** The test program compiled, but did not run. This usually means"
29347 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29348 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29349 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29350 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29351 echo "*** is required on your system"
29353 echo "*** If you have an old version installed, it is best to remove it, although"
29354 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29356 echo "$as_me: failed program was:" >&5
29357 sed 's/^/| /' conftest.
$ac_ext >&5
29359 echo "*** The test program failed to compile or link. See the file config.log for the"
29360 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29362 rm -f conftest.err conftest.
$ac_objext \
29363 conftest
$ac_exeext conftest.
$ac_ext
29364 CFLAGS
="$ac_save_CFLAGS"
29365 LIBS
="$ac_save_LIBS"
29379 if test "$wxUSE_SHARED" != "yes"; then
29380 GTK_LIBS
="$GTK_LIBS -lX11"
29385 if test -z "$wx_cv_lib_gtk"; then
29386 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29388 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
29389 if test "${with_gtk_prefix+set}" = set; then
29390 withval
="$with_gtk_prefix"
29391 gtk_config_prefix
="$withval"
29393 gtk_config_prefix
=""
29396 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
29397 if test "${with_gtk_exec_prefix+set}" = set; then
29398 withval
="$with_gtk_exec_prefix"
29399 gtk_config_exec_prefix
="$withval"
29401 gtk_config_exec_prefix
=""
29403 # Check whether --enable-gtktest or --disable-gtktest was given.
29404 if test "${enable_gtktest+set}" = set; then
29405 enableval
="$enable_gtktest"
29411 for module
in .
$GTK_MODULES
29415 gtk_config_args
="$gtk_config_args gthread"
29420 if test x
$gtk_config_exec_prefix != x
; then
29421 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29422 if test x
${GTK_CONFIG+set} != xset
; then
29423 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
29426 if test x
$gtk_config_prefix != x
; then
29427 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
29428 if test x
${GTK_CONFIG+set} != xset
; then
29429 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
29433 # Extract the first word of "gtk-config", so it can be a program name with args.
29434 set dummy gtk
-config; ac_word
=$2
29435 echo "$as_me:$LINENO: checking for $ac_word" >&5
29436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29437 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29438 echo $ECHO_N "(cached) $ECHO_C" >&6
29440 case $GTK_CONFIG in
29442 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
29445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29446 for as_dir
in $PATH
29449 test -z "$as_dir" && as_dir
=.
29450 for ac_exec_ext
in '' $ac_executable_extensions; do
29451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29452 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29459 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
29463 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
29465 if test -n "$GTK_CONFIG"; then
29466 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29467 echo "${ECHO_T}$GTK_CONFIG" >&6
29469 echo "$as_me:$LINENO: result: no" >&5
29470 echo "${ECHO_T}no" >&6
29473 min_gtk_version
=1.2.7
29474 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29475 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
29477 if test "$GTK_CONFIG" = "no" ; then
29480 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
29481 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
29482 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
29483 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29484 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
29485 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29486 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
29487 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29488 if test "x$enable_gtktest" = "xyes" ; then
29489 ac_save_CFLAGS
="$CFLAGS"
29490 ac_save_LIBS
="$LIBS"
29491 CFLAGS
="$CFLAGS $GTK_CFLAGS"
29492 LIBS
="$GTK_LIBS $LIBS"
29494 if test "$cross_compiling" = yes; then
29495 echo $ac_n "cross compiling; assumed OK... $ac_c"
29497 cat >conftest.
$ac_ext <<_ACEOF
29500 cat confdefs.h
>>conftest.
$ac_ext
29501 cat >>conftest.
$ac_ext <<_ACEOF
29502 /* end confdefs.h. */
29504 #include <gtk/gtk.h>
29506 #include <stdlib.h>
29511 int major, minor, micro;
29514 system ("touch conf.gtktest");
29516 /* HP/UX 9 (%@#!) writes to sscanf strings */
29517 tmp_version = g_strdup("$min_gtk_version");
29518 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29519 printf("%s, bad version string\n", "$min_gtk_version");
29523 if ((gtk_major_version != $gtk_config_major_version) ||
29524 (gtk_minor_version != $gtk_config_minor_version) ||
29525 (gtk_micro_version != $gtk_config_micro_version))
29527 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29528 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29529 gtk_major_version, gtk_minor_version, gtk_micro_version);
29530 printf ("*** was found! If gtk-config was correct, then it is best\n");
29531 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29532 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29533 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29534 printf("*** required on your system.\n");
29535 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29536 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29537 printf("*** before re-running configure\n");
29539 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29540 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29541 (gtk_minor_version != GTK_MINOR_VERSION) ||
29542 (gtk_micro_version != GTK_MICRO_VERSION))
29544 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29545 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29546 printf("*** library (version %d.%d.%d)\n",
29547 gtk_major_version, gtk_minor_version, gtk_micro_version);
29549 #endif /* defined (GTK_MAJOR_VERSION) ... */
29552 if ((gtk_major_version > major) ||
29553 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29554 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29560 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29561 gtk_major_version, gtk_minor_version, gtk_micro_version);
29562 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29563 major, minor, micro);
29564 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29566 printf("*** If you have already installed a sufficiently new version, this error\n");
29567 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29568 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29569 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29570 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29571 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29572 printf("*** so that the correct libraries are found at run-time))\n");
29579 rm -f conftest
$ac_exeext
29580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29581 (eval $ac_link) 2>&5
29583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29586 (eval $ac_try) 2>&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); }; }; then
29592 echo "$as_me: program exited with status $ac_status" >&5
29593 echo "$as_me: failed program was:" >&5
29594 sed 's/^/| /' conftest.
$ac_ext >&5
29596 ( exit $ac_status )
29599 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29601 CFLAGS
="$ac_save_CFLAGS"
29602 LIBS
="$ac_save_LIBS"
29605 if test "x$no_gtk" = x
; then
29606 echo "$as_me:$LINENO: result: yes" >&5
29607 echo "${ECHO_T}yes" >&6
29608 wx_cv_lib_gtk
=1.2.7
29610 echo "$as_me:$LINENO: result: no" >&5
29611 echo "${ECHO_T}no" >&6
29612 if test "$GTK_CONFIG" = "no" ; then
29613 echo "*** The gtk-config script installed by GTK could not be found"
29614 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29615 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29616 echo "*** full path to gtk-config."
29618 if test -f conf.gtktest
; then
29621 echo "*** Could not run GTK test program, checking why..."
29622 CFLAGS
="$CFLAGS $GTK_CFLAGS"
29623 LIBS
="$LIBS $GTK_LIBS"
29624 cat >conftest.
$ac_ext <<_ACEOF
29627 cat confdefs.h
>>conftest.
$ac_ext
29628 cat >>conftest.
$ac_ext <<_ACEOF
29629 /* end confdefs.h. */
29631 #include <gtk/gtk.h>
29637 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29642 rm -f conftest.
$ac_objext conftest
$ac_exeext
29643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29644 (eval $ac_link) 2>conftest.er1
29646 grep -v '^ *+' conftest.er1
>conftest.err
29648 cat conftest.err
>&5
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); } &&
29651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29653 (eval $ac_try) 2>&5
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); }; } &&
29657 { ac_try
='test -s conftest$ac_exeext'
29658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29659 (eval $ac_try) 2>&5
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); }; }; then
29663 echo "*** The test program compiled, but did not run. This usually means"
29664 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29665 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29666 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29667 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29668 echo "*** is required on your system"
29670 echo "*** If you have an old version installed, it is best to remove it, although"
29671 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29673 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29674 echo "*** came with the system with the command"
29676 echo "*** rpm --erase --nodeps gtk gtk-devel"
29678 echo "$as_me: failed program was:" >&5
29679 sed 's/^/| /' conftest.
$ac_ext >&5
29681 echo "*** The test program failed to compile or link. See the file config.log for the"
29682 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29683 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29684 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29686 rm -f conftest.err conftest.
$ac_objext \
29687 conftest
$ac_exeext conftest.
$ac_ext
29688 CFLAGS
="$ac_save_CFLAGS"
29689 LIBS
="$ac_save_LIBS"
29701 if test -z "$wx_cv_lib_gtk"; then
29703 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
29704 if test "${with_gtk_prefix+set}" = set; then
29705 withval
="$with_gtk_prefix"
29706 gtk_config_prefix
="$withval"
29708 gtk_config_prefix
=""
29711 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
29712 if test "${with_gtk_exec_prefix+set}" = set; then
29713 withval
="$with_gtk_exec_prefix"
29714 gtk_config_exec_prefix
="$withval"
29716 gtk_config_exec_prefix
=""
29718 # Check whether --enable-gtktest or --disable-gtktest was given.
29719 if test "${enable_gtktest+set}" = set; then
29720 enableval
="$enable_gtktest"
29726 for module
in .
$GTK_MODULES
29730 gtk_config_args
="$gtk_config_args gthread"
29735 if test x
$gtk_config_exec_prefix != x
; then
29736 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29737 if test x
${GTK_CONFIG+set} != xset
; then
29738 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
29741 if test x
$gtk_config_prefix != x
; then
29742 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
29743 if test x
${GTK_CONFIG+set} != xset
; then
29744 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
29748 # Extract the first word of "gtk-config", so it can be a program name with args.
29749 set dummy gtk
-config; ac_word
=$2
29750 echo "$as_me:$LINENO: checking for $ac_word" >&5
29751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29752 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29753 echo $ECHO_N "(cached) $ECHO_C" >&6
29755 case $GTK_CONFIG in
29757 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
29760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29761 for as_dir
in $PATH
29764 test -z "$as_dir" && as_dir
=.
29765 for ac_exec_ext
in '' $ac_executable_extensions; do
29766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29767 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29774 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
29778 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
29780 if test -n "$GTK_CONFIG"; then
29781 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29782 echo "${ECHO_T}$GTK_CONFIG" >&6
29784 echo "$as_me:$LINENO: result: no" >&5
29785 echo "${ECHO_T}no" >&6
29788 min_gtk_version
=1.2.3
29789 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29790 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
29792 if test "$GTK_CONFIG" = "no" ; then
29795 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
29796 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
29797 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
29798 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29799 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
29800 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29801 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
29802 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29803 if test "x$enable_gtktest" = "xyes" ; then
29804 ac_save_CFLAGS
="$CFLAGS"
29805 ac_save_LIBS
="$LIBS"
29806 CFLAGS
="$CFLAGS $GTK_CFLAGS"
29807 LIBS
="$GTK_LIBS $LIBS"
29809 if test "$cross_compiling" = yes; then
29810 echo $ac_n "cross compiling; assumed OK... $ac_c"
29812 cat >conftest.
$ac_ext <<_ACEOF
29815 cat confdefs.h
>>conftest.
$ac_ext
29816 cat >>conftest.
$ac_ext <<_ACEOF
29817 /* end confdefs.h. */
29819 #include <gtk/gtk.h>
29821 #include <stdlib.h>
29826 int major, minor, micro;
29829 system ("touch conf.gtktest");
29831 /* HP/UX 9 (%@#!) writes to sscanf strings */
29832 tmp_version = g_strdup("$min_gtk_version");
29833 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29834 printf("%s, bad version string\n", "$min_gtk_version");
29838 if ((gtk_major_version != $gtk_config_major_version) ||
29839 (gtk_minor_version != $gtk_config_minor_version) ||
29840 (gtk_micro_version != $gtk_config_micro_version))
29842 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29843 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29844 gtk_major_version, gtk_minor_version, gtk_micro_version);
29845 printf ("*** was found! If gtk-config was correct, then it is best\n");
29846 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29847 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29848 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29849 printf("*** required on your system.\n");
29850 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29851 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29852 printf("*** before re-running configure\n");
29854 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29855 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29856 (gtk_minor_version != GTK_MINOR_VERSION) ||
29857 (gtk_micro_version != GTK_MICRO_VERSION))
29859 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29860 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29861 printf("*** library (version %d.%d.%d)\n",
29862 gtk_major_version, gtk_minor_version, gtk_micro_version);
29864 #endif /* defined (GTK_MAJOR_VERSION) ... */
29867 if ((gtk_major_version > major) ||
29868 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29869 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29875 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29876 gtk_major_version, gtk_minor_version, gtk_micro_version);
29877 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29878 major, minor, micro);
29879 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29881 printf("*** If you have already installed a sufficiently new version, this error\n");
29882 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29883 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29884 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29885 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29886 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29887 printf("*** so that the correct libraries are found at run-time))\n");
29894 rm -f conftest
$ac_exeext
29895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29896 (eval $ac_link) 2>&5
29898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29899 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29901 (eval $ac_try) 2>&5
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); }; }; then
29907 echo "$as_me: program exited with status $ac_status" >&5
29908 echo "$as_me: failed program was:" >&5
29909 sed 's/^/| /' conftest.
$ac_ext >&5
29911 ( exit $ac_status )
29914 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29916 CFLAGS
="$ac_save_CFLAGS"
29917 LIBS
="$ac_save_LIBS"
29920 if test "x$no_gtk" = x
; then
29921 echo "$as_me:$LINENO: result: yes" >&5
29922 echo "${ECHO_T}yes" >&6
29923 wx_cv_lib_gtk
=1.2.3
29925 echo "$as_me:$LINENO: result: no" >&5
29926 echo "${ECHO_T}no" >&6
29927 if test "$GTK_CONFIG" = "no" ; then
29928 echo "*** The gtk-config script installed by GTK could not be found"
29929 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29930 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29931 echo "*** full path to gtk-config."
29933 if test -f conf.gtktest
; then
29936 echo "*** Could not run GTK test program, checking why..."
29937 CFLAGS
="$CFLAGS $GTK_CFLAGS"
29938 LIBS
="$LIBS $GTK_LIBS"
29939 cat >conftest.
$ac_ext <<_ACEOF
29942 cat confdefs.h
>>conftest.
$ac_ext
29943 cat >>conftest.
$ac_ext <<_ACEOF
29944 /* end confdefs.h. */
29946 #include <gtk/gtk.h>
29952 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29957 rm -f conftest.
$ac_objext conftest
$ac_exeext
29958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29959 (eval $ac_link) 2>conftest.er1
29961 grep -v '^ *+' conftest.er1
>conftest.err
29963 cat conftest.err
>&5
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); } &&
29966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29968 (eval $ac_try) 2>&5
29970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29971 (exit $ac_status); }; } &&
29972 { ac_try
='test -s conftest$ac_exeext'
29973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29974 (eval $ac_try) 2>&5
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); }; }; then
29978 echo "*** The test program compiled, but did not run. This usually means"
29979 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29980 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29981 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29982 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29983 echo "*** is required on your system"
29985 echo "*** If you have an old version installed, it is best to remove it, although"
29986 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29988 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29989 echo "*** came with the system with the command"
29991 echo "*** rpm --erase --nodeps gtk gtk-devel"
29993 echo "$as_me: failed program was:" >&5
29994 sed 's/^/| /' conftest.
$ac_ext >&5
29996 echo "*** The test program failed to compile or link. See the file config.log for the"
29997 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29998 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29999 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30001 rm -f conftest.err conftest.
$ac_objext \
30002 conftest
$ac_exeext conftest.
$ac_ext
30003 CFLAGS
="$ac_save_CFLAGS"
30004 LIBS
="$ac_save_LIBS"
30019 if test -z "$wx_cv_lib_gtk"; then
30022 wx_cv_cflags_gtk
=$GTK_CFLAGS
30023 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30030 if test "$gtk_version_cached" = 1; then
30031 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30032 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
30035 case "$wx_cv_lib_gtk" in
30044 *) { { echo "$as_me:$LINENO: error:
30045 The development files for GTK+ were not found. For GTK+ 2, please
30046 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30047 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30048 and that the version is 1.2.3 or above. Also check that the
30049 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30050 --libs' are in the LD_LIBRARY_PATH or equivalent.
30052 echo "$as_me: error:
30053 The development files for GTK+ were not found. For GTK+ 2, please
30054 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30055 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30056 and that the version is 1.2.3 or above. Also check that the
30057 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30058 --libs' are in the LD_LIBRARY_PATH or equivalent.
30060 { (exit 1); exit 1; }; }
30064 if test "$WXGTK20" = 1; then
30065 save_CFLAGS
="$CFLAGS"
30067 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
30068 LIBS
="$LIBS $wx_cv_libs_gtk"
30070 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
30071 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
30072 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
30073 echo $ECHO_N "(cached) $ECHO_C" >&6
30075 cat >conftest.
$ac_ext <<_ACEOF
30078 cat confdefs.h
>>conftest.
$ac_ext
30079 cat >>conftest.
$ac_ext <<_ACEOF
30080 /* end confdefs.h. */
30081 #include <gtk/gtk.h>
30086 #ifndef gtk_icon_size_lookup
30087 char *p = (char *) gtk_icon_size_lookup;
30094 rm -f conftest.
$ac_objext
30095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30096 (eval $ac_compile) 2>conftest.er1
30098 grep -v '^ *+' conftest.er1
>conftest.err
30100 cat conftest.err
>&5
30101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30102 (exit $ac_status); } &&
30103 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30105 (eval $ac_try) 2>&5
30107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30108 (exit $ac_status); }; } &&
30109 { ac_try
='test -s conftest.$ac_objext'
30110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30111 (eval $ac_try) 2>&5
30113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30114 (exit $ac_status); }; }; then
30115 ac_cv_have_decl_gtk_icon_size_lookup
=yes
30117 echo "$as_me: failed program was:" >&5
30118 sed 's/^/| /' conftest.
$ac_ext >&5
30120 ac_cv_have_decl_gtk_icon_size_lookup
=no
30122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30124 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
30125 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
30126 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
30128 cat >>confdefs.h
<<_ACEOF
30129 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
30134 cat >>confdefs.h
<<_ACEOF
30135 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
30138 cat >>confdefs.h
<<\_ACEOF
30139 #define NEED_GTK_ICON_SIZE_LOOKUP 1
30147 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30148 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6
30149 cat >conftest.
$ac_ext <<_ACEOF
30152 cat confdefs.h
>>conftest.
$ac_ext
30153 cat >>conftest.
$ac_ext <<_ACEOF
30154 /* end confdefs.h. */
30156 #include <gtk/gtk.h>
30162 #if !GTK_CHECK_VERSION(2,10,0)
30170 rm -f conftest.
$ac_objext
30171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30172 (eval $ac_compile) 2>conftest.er1
30174 grep -v '^ *+' conftest.er1
>conftest.err
30176 cat conftest.err
>&5
30177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30178 (exit $ac_status); } &&
30179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30181 (eval $ac_try) 2>&5
30183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30184 (exit $ac_status); }; } &&
30185 { ac_try
='test -s conftest.$ac_objext'
30186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30187 (eval $ac_try) 2>&5
30189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30190 (exit $ac_status); }; }; then
30192 cat >>confdefs.h
<<\_ACEOF
30193 #define __WXGTK210__ 1
30196 cat >>confdefs.h
<<\_ACEOF
30197 #define __WXGTK26__ 1
30200 cat >>confdefs.h
<<\_ACEOF
30201 #define __WXGTK24__ 1
30204 echo "$as_me:$LINENO: result: yes" >&5
30205 echo "${ECHO_T}yes" >&6
30209 echo "$as_me: failed program was:" >&5
30210 sed 's/^/| /' conftest.
$ac_ext >&5
30213 echo "$as_me:$LINENO: result: no" >&5
30214 echo "${ECHO_T}no" >&6
30218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30220 if test "$ac_wxgtk210" = 0; then
30221 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30222 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
30223 cat >conftest.
$ac_ext <<_ACEOF
30226 cat confdefs.h
>>conftest.
$ac_ext
30227 cat >>conftest.
$ac_ext <<_ACEOF
30228 /* end confdefs.h. */
30230 #include <gtk/gtk.h>
30236 #if !GTK_CHECK_VERSION(2,6,0)
30244 rm -f conftest.
$ac_objext
30245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30246 (eval $ac_compile) 2>conftest.er1
30248 grep -v '^ *+' conftest.er1
>conftest.err
30250 cat conftest.err
>&5
30251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30252 (exit $ac_status); } &&
30253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30255 (eval $ac_try) 2>&5
30257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30258 (exit $ac_status); }; } &&
30259 { ac_try
='test -s conftest.$ac_objext'
30260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30261 (eval $ac_try) 2>&5
30263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30264 (exit $ac_status); }; }; then
30266 cat >>confdefs.h
<<\_ACEOF
30267 #define __WXGTK26__ 1
30270 cat >>confdefs.h
<<\_ACEOF
30271 #define __WXGTK24__ 1
30274 echo "$as_me:$LINENO: result: yes" >&5
30275 echo "${ECHO_T}yes" >&6
30279 echo "$as_me: failed program was:" >&5
30280 sed 's/^/| /' conftest.
$ac_ext >&5
30283 echo "$as_me:$LINENO: result: no" >&5
30284 echo "${ECHO_T}no" >&6
30288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30291 if test "$ac_wxgtk26" = 0; then
30292 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
30293 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
30294 cat >conftest.
$ac_ext <<_ACEOF
30297 cat confdefs.h
>>conftest.
$ac_ext
30298 cat >>conftest.
$ac_ext <<_ACEOF
30299 /* end confdefs.h. */
30301 #include <gtk/gtk.h>
30307 #if !GTK_CHECK_VERSION(2,4,0)
30315 rm -f conftest.
$ac_objext
30316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30317 (eval $ac_compile) 2>conftest.er1
30319 grep -v '^ *+' conftest.er1
>conftest.err
30321 cat conftest.err
>&5
30322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30323 (exit $ac_status); } &&
30324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30326 (eval $ac_try) 2>&5
30328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30329 (exit $ac_status); }; } &&
30330 { ac_try
='test -s conftest.$ac_objext'
30331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30332 (eval $ac_try) 2>&5
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); }; }; then
30337 cat >>confdefs.h
<<\_ACEOF
30338 #define __WXGTK24__ 1
30341 echo "$as_me:$LINENO: result: yes" >&5
30342 echo "${ECHO_T}yes" >&6
30345 echo "$as_me: failed program was:" >&5
30346 sed 's/^/| /' conftest.
$ac_ext >&5
30349 echo "$as_me:$LINENO: result: no" >&5
30350 echo "${ECHO_T}no" >&6
30353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30356 CFLAGS
="$save_CFLAGS"
30359 if test "$wxUSE_UNICODE" = "yes"; then
30360 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30361 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30365 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30366 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
30367 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30368 echo $ECHO_N "(cached) $ECHO_C" >&6
30370 ac_check_lib_save_LIBS
=$LIBS
30372 cat >conftest.
$ac_ext <<_ACEOF
30375 cat confdefs.h
>>conftest.
$ac_ext
30376 cat >>conftest.
$ac_ext <<_ACEOF
30377 /* end confdefs.h. */
30379 /* Override any gcc2 internal prototype to avoid an error. */
30383 /* We use char because int might match the return type of a gcc2
30384 builtin and then its argument prototype would still apply. */
30385 char gdk_im_open ();
30394 rm -f conftest.
$ac_objext conftest
$ac_exeext
30395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30396 (eval $ac_link) 2>conftest.er1
30398 grep -v '^ *+' conftest.er1
>conftest.err
30400 cat conftest.err
>&5
30401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30402 (exit $ac_status); } &&
30403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30405 (eval $ac_try) 2>&5
30407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30408 (exit $ac_status); }; } &&
30409 { ac_try
='test -s conftest$ac_exeext'
30410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30411 (eval $ac_try) 2>&5
30413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30414 (exit $ac_status); }; }; then
30415 ac_cv_lib_gdk_gdk_im_open
=yes
30417 echo "$as_me: failed program was:" >&5
30418 sed 's/^/| /' conftest.
$ac_ext >&5
30420 ac_cv_lib_gdk_gdk_im_open
=no
30422 rm -f conftest.err conftest.
$ac_objext \
30423 conftest
$ac_exeext conftest.
$ac_ext
30424 LIBS
=$ac_check_lib_save_LIBS
30426 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30427 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
30428 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30429 cat >>confdefs.h
<<\_ACEOF
30436 if test "$USE_DARWIN" != 1; then
30438 for ac_func
in poll
30440 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30441 echo "$as_me:$LINENO: checking for $ac_func" >&5
30442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30443 if eval "test \"\${$as_ac_var+set}\" = set"; then
30444 echo $ECHO_N "(cached) $ECHO_C" >&6
30446 cat >conftest.
$ac_ext <<_ACEOF
30449 cat confdefs.h
>>conftest.
$ac_ext
30450 cat >>conftest.
$ac_ext <<_ACEOF
30451 /* end confdefs.h. */
30452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30454 #define $ac_func innocuous_$ac_func
30456 /* System header to define __stub macros and hopefully few prototypes,
30457 which can conflict with char $ac_func (); below.
30458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30459 <limits.h> exists even on freestanding compilers. */
30462 # include <limits.h>
30464 # include <assert.h>
30469 /* Override any gcc2 internal prototype to avoid an error. */
30474 /* We use char because int might match the return type of a gcc2
30475 builtin and then its argument prototype would still apply. */
30477 /* The GNU C library defines this for functions which it implements
30478 to always fail with ENOSYS. Some functions are actually named
30479 something starting with __ and the normal name is an alias. */
30480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30483 char (*f) () = $ac_func;
30492 return f != $ac_func;
30497 rm -f conftest.
$ac_objext conftest
$ac_exeext
30498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30499 (eval $ac_link) 2>conftest.er1
30501 grep -v '^ *+' conftest.er1
>conftest.err
30503 cat conftest.err
>&5
30504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30505 (exit $ac_status); } &&
30506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30508 (eval $ac_try) 2>&5
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); }; } &&
30512 { ac_try
='test -s conftest$ac_exeext'
30513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30514 (eval $ac_try) 2>&5
30516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 (exit $ac_status); }; }; then
30518 eval "$as_ac_var=yes"
30520 echo "$as_me: failed program was:" >&5
30521 sed 's/^/| /' conftest.
$ac_ext >&5
30523 eval "$as_ac_var=no"
30525 rm -f conftest.err conftest.
$ac_objext \
30526 conftest
$ac_exeext conftest.
$ac_ext
30528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30530 if test `eval echo '${'$as_ac_var'}'` = yes; then
30531 cat >>confdefs.h
<<_ACEOF
30532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30541 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
30542 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30544 AFMINSTALL
=afminstall
30548 if test "$wxUSE_GPE" = "yes"; then
30549 echo "$as_me:$LINENO: checking for gpewidget library" >&5
30550 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
30553 for ac_dir
in $SEARCH_LIB;
30555 for ac_extension
in a so sl dylib dll.a
; do
30556 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30557 ac_find_libraries
=$ac_dir
30563 if test "$ac_find_libraries" != "" ; then
30565 if test "$ac_find_libraries" = "default location"; then
30568 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30570 if test $result = 0; then
30573 ac_path_to_link
=" -L$ac_find_libraries"
30577 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30579 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30580 echo "${ECHO_T}found in $ac_find_libraries" >&6
30582 echo "$as_me:$LINENO: result: not found" >&5
30583 echo "${ECHO_T}not found" >&6
30589 if test "$wxUSE_MGL" = 1; then
30590 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30591 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
30592 if test "x$MGL_ROOT" = x
; then
30593 echo "$as_me:$LINENO: result: not found" >&5
30594 echo "${ECHO_T}not found" >&6
30595 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30596 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30597 { (exit 1); exit 1; }; }
30599 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30600 echo "${ECHO_T}$MGL_ROOT" >&6
30603 echo "$as_me:$LINENO: checking for libmgl location" >&5
30604 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
30607 if test "x$wxUSE_SHARED" = xyes
; then
30608 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30610 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30614 mgl_os_candidates
="dos32/dj2"
30617 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30618 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30619 { (exit 1); exit 1; }; }
30625 for mgl_os_i
in $mgl_os_candidates ; do
30626 if test "x$mgl_os" = x
; then
30627 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30628 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
30629 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
30634 if test "x$mgl_lib_type" = x
; then
30635 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
30636 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
30637 mgl_lib_type
=release
30644 if test "x$mgl_os" = x
; then
30645 echo "$as_me:$LINENO: result: not found" >&5
30646 echo "${ECHO_T}not found" >&6
30647 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30648 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30649 { (exit 1); exit 1; }; }
30651 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30652 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
30654 wxUSE_UNIVERSAL
="yes"
30656 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
30657 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30659 AFMINSTALL
=afminstall
30664 if test "$wxUSE_DFB" = 1; then
30667 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30668 if test -n "$ac_tool_prefix"; then
30669 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30670 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30671 echo "$as_me:$LINENO: checking for $ac_word" >&5
30672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30673 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30674 echo $ECHO_N "(cached) $ECHO_C" >&6
30676 case $PKG_CONFIG in
30678 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30682 for as_dir
in $PATH
30685 test -z "$as_dir" && as_dir
=.
30686 for ac_exec_ext
in '' $ac_executable_extensions; do
30687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30688 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30698 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30700 if test -n "$PKG_CONFIG"; then
30701 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30702 echo "${ECHO_T}$PKG_CONFIG" >&6
30704 echo "$as_me:$LINENO: result: no" >&5
30705 echo "${ECHO_T}no" >&6
30709 if test -z "$ac_cv_path_PKG_CONFIG"; then
30710 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30711 # Extract the first word of "pkg-config", so it can be a program name with args.
30712 set dummy pkg
-config; ac_word
=$2
30713 echo "$as_me:$LINENO: checking for $ac_word" >&5
30714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30715 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30716 echo $ECHO_N "(cached) $ECHO_C" >&6
30718 case $ac_pt_PKG_CONFIG in
30720 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30724 for as_dir
in $PATH
30727 test -z "$as_dir" && as_dir
=.
30728 for ac_exec_ext
in '' $ac_executable_extensions; do
30729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30730 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30740 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30742 if test -n "$ac_pt_PKG_CONFIG"; then
30743 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30744 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30746 echo "$as_me:$LINENO: result: no" >&5
30747 echo "${ECHO_T}no" >&6
30750 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30752 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30756 if test -n "$PKG_CONFIG"; then
30757 _pkg_min_version
=0.9.0
30758 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30759 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30760 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30761 echo "$as_me:$LINENO: result: yes" >&5
30762 echo "${ECHO_T}yes" >&6
30764 echo "$as_me:$LINENO: result: no" >&5
30765 echo "${ECHO_T}no" >&6
30773 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30774 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
30776 if test -n "$PKG_CONFIG"; then
30777 if test -n "$DIRECTFB_CFLAGS"; then
30778 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
30780 if test -n "$PKG_CONFIG" && \
30781 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30782 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30785 (exit $ac_status); }; then
30786 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30794 if test -n "$PKG_CONFIG"; then
30795 if test -n "$DIRECTFB_LIBS"; then
30796 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
30798 if test -n "$PKG_CONFIG" && \
30799 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30800 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); }; then
30804 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30815 if test $pkg_failed = yes; then
30817 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30818 _pkg_short_errors_supported
=yes
30820 _pkg_short_errors_supported
=no
30822 if test $_pkg_short_errors_supported = yes; then
30823 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30825 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30827 # Put the nasty error message in config.log where it belongs
30828 echo "$DIRECTFB_PKG_ERRORS" >&5
30831 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30832 echo "$as_me: error: DirectFB not found." >&2;}
30833 { (exit 1); exit 1; }; }
30836 elif test $pkg_failed = untried
; then
30838 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30839 echo "$as_me: error: DirectFB not found." >&2;}
30840 { (exit 1); exit 1; }; }
30844 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
30845 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
30846 echo "$as_me:$LINENO: result: yes" >&5
30847 echo "${ECHO_T}yes" >&6
30849 wxUSE_UNIVERSAL
="yes"
30850 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
30851 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
30858 if test "$wxUSE_MICROWIN" = 1; then
30859 echo "$as_me:$LINENO: checking for MicroWindows" >&5
30860 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
30861 if test "x$MICROWINDOWS" = x
; then
30862 echo "$as_me:$LINENO: result: not found" >&5
30863 echo "${ECHO_T}not found" >&6
30864 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30865 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30866 { (exit 1); exit 1; }; }
30868 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30869 echo "${ECHO_T}$MICROWINDOWS" >&6
30872 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
30873 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30874 echo "${ECHO_T}MicroWindows' libraries found." >&6
30876 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30877 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30878 { (exit 1); exit 1; }; }
30881 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
30882 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30884 wxUSE_UNIVERSAL
="yes"
30886 AFMINSTALL
=afminstall
30888 GUIDIST
=MICROWIN_DIST
30890 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30893 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30895 if test "x$ac_path_x_has_been_run" != xyes
; then
30896 echo "$as_me:$LINENO: checking for X" >&5
30897 echo $ECHO_N "checking for X... $ECHO_C" >&6
30899 ac_path_x_has_been_run
=yes
30901 # Check whether --with-x or --without-x was given.
30902 if test "${with_x+set}" = set; then
30906 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30907 if test "x$with_x" = xno
; then
30908 # The user explicitly disabled X.
30911 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
30912 # Both variables are already set.
30915 if test "${ac_cv_have_x+set}" = set; then
30916 echo $ECHO_N "(cached) $ECHO_C" >&6
30918 # One or both of the vars are not set, and there is no cached value.
30919 ac_x_includes
=no ac_x_libraries
=no
30920 rm -fr conftest.dir
30921 if mkdir conftest.dir
; then
30923 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
30924 cat >Imakefile
<<'_ACEOF'
30926 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
30928 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
30929 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30930 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
30931 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30932 for ac_extension
in a so sl
; do
30933 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
30934 test -f $ac_im_libdir/libX11.
$ac_extension; then
30935 ac_im_usrlibdir
=$ac_im_libdir; break
30938 # Screen out bogus values from the imake configuration. They are
30939 # bogus both because they are the default anyway, and because
30940 # using them would break gcc on systems where it needs fixed includes.
30941 case $ac_im_incroot in
30943 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
30945 case $ac_im_usrlibdir in
30946 /usr
/lib
| /lib
) ;;
30947 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
30951 rm -fr conftest.dir
30954 # Standard set of common directories for X headers.
30955 # Check X11 before X11Rn because it is often a symlink to the current release.
30967 /usr/local/X11/include
30968 /usr/local/X11R6/include
30969 /usr/local/X11R5/include
30970 /usr/local/X11R4/include
30972 /usr/local/include/X11
30973 /usr/local/include/X11R6
30974 /usr/local/include/X11R5
30975 /usr/local/include/X11R4
30979 /usr/XFree86/include/X11
30983 /usr/unsupported/include
30984 /usr/athena/include
30985 /usr/local/x11r5/include
30986 /usr/lpp/Xamples/include
30988 /usr/openwin/include
30989 /usr/openwin/share/include'
30991 if test "$ac_x_includes" = no
; then
30992 # Guess where to find include files, by looking for a specified header file.
30993 # First, try using that file with no special directory specified.
30994 cat >conftest.
$ac_ext <<_ACEOF
30997 cat confdefs.h
>>conftest.
$ac_ext
30998 cat >>conftest.
$ac_ext <<_ACEOF
30999 /* end confdefs.h. */
31000 #include <X11/Xlib.h>
31002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31003 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31005 grep -v '^ *+' conftest.er1
>conftest.err
31007 cat conftest.err
>&5
31008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31009 (exit $ac_status); } >/dev
/null
; then
31010 if test -s conftest.err
; then
31011 ac_cpp_err
=$ac_c_preproc_warn_flag
31012 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31019 if test -z "$ac_cpp_err"; then
31020 # We can compile using X headers with no special include directory.
31023 echo "$as_me: failed program was:" >&5
31024 sed 's/^/| /' conftest.
$ac_ext >&5
31026 for ac_dir
in $ac_x_header_dirs; do
31027 if test -r "$ac_dir/X11/Xlib.h"; then
31028 ac_x_includes
=$ac_dir
31033 rm -f conftest.err conftest.
$ac_ext
31034 fi # $ac_x_includes = no
31036 if test "$ac_x_libraries" = no
; then
31037 # Check for the libraries.
31038 # See if we find them without any special options.
31039 # Don't add to $LIBS permanently.
31042 cat >conftest.
$ac_ext <<_ACEOF
31045 cat confdefs.h
>>conftest.
$ac_ext
31046 cat >>conftest.
$ac_ext <<_ACEOF
31047 /* end confdefs.h. */
31048 #include <X11/Xlib.h>
31057 rm -f conftest.
$ac_objext conftest
$ac_exeext
31058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31059 (eval $ac_link) 2>conftest.er1
31061 grep -v '^ *+' conftest.er1
>conftest.err
31063 cat conftest.err
>&5
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); } &&
31066 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31068 (eval $ac_try) 2>&5
31070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31071 (exit $ac_status); }; } &&
31072 { ac_try
='test -s conftest$ac_exeext'
31073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31074 (eval $ac_try) 2>&5
31076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077 (exit $ac_status); }; }; then
31079 # We can link X programs with no special library path.
31082 echo "$as_me: failed program was:" >&5
31083 sed 's/^/| /' conftest.
$ac_ext >&5
31086 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31088 # Don't even attempt the hair of trying to link an X program!
31089 for ac_extension
in a so sl
; do
31090 if test -r $ac_dir/libX11.
$ac_extension; then
31091 ac_x_libraries
=$ac_dir
31097 rm -f conftest.err conftest.
$ac_objext \
31098 conftest
$ac_exeext conftest.
$ac_ext
31099 fi # $ac_x_libraries = no
31101 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
31102 # Didn't find X anywhere. Cache the known absence of X.
31103 ac_cv_have_x
="have_x=no"
31105 # Record where we found X for the cache.
31106 ac_cv_have_x
="have_x=yes \
31107 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
31112 eval "$ac_cv_have_x"
31115 if test "$have_x" != yes; then
31116 echo "$as_me:$LINENO: result: $have_x" >&5
31117 echo "${ECHO_T}$have_x" >&6
31120 # If each of the values was on the command line, it overrides each guess.
31121 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
31122 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
31123 # Update the cache value to reflect the command line values.
31124 ac_cv_have_x
="have_x=yes \
31125 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
31126 # It might be that x_includes is empty (headers are found in the
31127 # standard search path. Then output the corresponding message
31128 ac_out_x_includes
=$x_includes
31129 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
31130 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
31131 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
31135 if test "$no_x" = yes; then
31136 # Not all programs may use this symbol, but it does not hurt to define it.
31138 cat >>confdefs.h
<<\_ACEOF
31139 #define X_DISPLAY_MISSING 1
31142 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
31144 if test -n "$x_includes"; then
31145 X_CFLAGS
="$X_CFLAGS -I$x_includes"
31148 # It would also be nice to do this for all -L options, not just this one.
31149 if test -n "$x_libraries"; then
31150 X_LIBS
="$X_LIBS -L$x_libraries"
31151 # For Solaris; some versions of Sun CC require a space after -R and
31152 # others require no space. Words are not sufficient . . . .
31153 case `(uname -sr) 2>/dev/null` in
31155 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31156 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
31157 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
31158 cat >conftest.
$ac_ext <<_ACEOF
31161 cat confdefs.h
>>conftest.
$ac_ext
31162 cat >>conftest.
$ac_ext <<_ACEOF
31163 /* end confdefs.h. */
31173 rm -f conftest.
$ac_objext conftest
$ac_exeext
31174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31175 (eval $ac_link) 2>conftest.er1
31177 grep -v '^ *+' conftest.er1
>conftest.err
31179 cat conftest.err
>&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); } &&
31182 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31184 (eval $ac_try) 2>&5
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); }; } &&
31188 { ac_try
='test -s conftest$ac_exeext'
31189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31190 (eval $ac_try) 2>&5
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); }; }; then
31196 echo "$as_me: failed program was:" >&5
31197 sed 's/^/| /' conftest.
$ac_ext >&5
31201 rm -f conftest.err conftest.
$ac_objext \
31202 conftest
$ac_exeext conftest.
$ac_ext
31203 if test $ac_R_nospace = yes; then
31204 echo "$as_me:$LINENO: result: no" >&5
31205 echo "${ECHO_T}no" >&6
31206 X_LIBS
="$X_LIBS -R$x_libraries"
31208 LIBS
="$ac_xsave_LIBS -R $x_libraries"
31209 cat >conftest.
$ac_ext <<_ACEOF
31212 cat confdefs.h
>>conftest.
$ac_ext
31213 cat >>conftest.
$ac_ext <<_ACEOF
31214 /* end confdefs.h. */
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" || test ! -s conftest.err'
31234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31235 (eval $ac_try) 2>&5
31237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238 (exit $ac_status); }; } &&
31239 { ac_try
='test -s conftest$ac_exeext'
31240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31241 (eval $ac_try) 2>&5
31243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244 (exit $ac_status); }; }; then
31247 echo "$as_me: failed program was:" >&5
31248 sed 's/^/| /' conftest.
$ac_ext >&5
31252 rm -f conftest.err conftest.
$ac_objext \
31253 conftest
$ac_exeext conftest.
$ac_ext
31254 if test $ac_R_space = yes; then
31255 echo "$as_me:$LINENO: result: yes" >&5
31256 echo "${ECHO_T}yes" >&6
31257 X_LIBS
="$X_LIBS -R $x_libraries"
31259 echo "$as_me:$LINENO: result: neither works" >&5
31260 echo "${ECHO_T}neither works" >&6
31263 LIBS
=$ac_xsave_LIBS
31267 # Check for system-dependent libraries X programs must link with.
31268 # Do this before checking for the system-independent R6 libraries
31269 # (-lICE), since we may need -lsocket or whatever for X linking.
31271 if test "$ISC" = yes; then
31272 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
31274 # Martyn Johnson says this is needed for Ultrix, if the X
31275 # libraries were built with DECnet support. And Karl Berry says
31276 # the Alpha needs dnet_stub (dnet does not exist).
31277 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
31278 cat >conftest.
$ac_ext <<_ACEOF
31281 cat confdefs.h
>>conftest.
$ac_ext
31282 cat >>conftest.
$ac_ext <<_ACEOF
31283 /* end confdefs.h. */
31285 /* Override any gcc2 internal prototype to avoid an error. */
31289 /* We use char because int might match the return type of a gcc2
31290 builtin and then its argument prototype would still apply. */
31291 char XOpenDisplay ();
31300 rm -f conftest.
$ac_objext conftest
$ac_exeext
31301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31302 (eval $ac_link) 2>conftest.er1
31304 grep -v '^ *+' conftest.er1
>conftest.err
31306 cat conftest.err
>&5
31307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 (exit $ac_status); } &&
31309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31311 (eval $ac_try) 2>&5
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); }; } &&
31315 { ac_try
='test -s conftest$ac_exeext'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; }; then
31323 echo "$as_me: failed program was:" >&5
31324 sed 's/^/| /' conftest.
$ac_ext >&5
31326 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31327 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
31328 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31329 echo $ECHO_N "(cached) $ECHO_C" >&6
31331 ac_check_lib_save_LIBS
=$LIBS
31332 LIBS
="-ldnet $LIBS"
31333 cat >conftest.
$ac_ext <<_ACEOF
31336 cat confdefs.h
>>conftest.
$ac_ext
31337 cat >>conftest.
$ac_ext <<_ACEOF
31338 /* end confdefs.h. */
31340 /* Override any gcc2 internal prototype to avoid an error. */
31344 /* We use char because int might match the return type of a gcc2
31345 builtin and then its argument prototype would still apply. */
31355 rm -f conftest.
$ac_objext conftest
$ac_exeext
31356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31357 (eval $ac_link) 2>conftest.er1
31359 grep -v '^ *+' conftest.er1
>conftest.err
31361 cat conftest.err
>&5
31362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363 (exit $ac_status); } &&
31364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31366 (eval $ac_try) 2>&5
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); }; } &&
31370 { ac_try
='test -s conftest$ac_exeext'
31371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31372 (eval $ac_try) 2>&5
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); }; }; then
31376 ac_cv_lib_dnet_dnet_ntoa
=yes
31378 echo "$as_me: failed program was:" >&5
31379 sed 's/^/| /' conftest.
$ac_ext >&5
31381 ac_cv_lib_dnet_dnet_ntoa
=no
31383 rm -f conftest.err conftest.
$ac_objext \
31384 conftest
$ac_exeext conftest.
$ac_ext
31385 LIBS
=$ac_check_lib_save_LIBS
31387 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31388 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
31389 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31390 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
31393 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
31394 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31395 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
31396 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31399 ac_check_lib_save_LIBS
=$LIBS
31400 LIBS
="-ldnet_stub $LIBS"
31401 cat >conftest.
$ac_ext <<_ACEOF
31404 cat confdefs.h
>>conftest.
$ac_ext
31405 cat >>conftest.
$ac_ext <<_ACEOF
31406 /* end confdefs.h. */
31408 /* Override any gcc2 internal prototype to avoid an error. */
31412 /* We use char because int might match the return type of a gcc2
31413 builtin and then its argument prototype would still apply. */
31423 rm -f conftest.
$ac_objext conftest
$ac_exeext
31424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31425 (eval $ac_link) 2>conftest.er1
31427 grep -v '^ *+' conftest.er1
>conftest.err
31429 cat conftest.err
>&5
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); } &&
31432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31434 (eval $ac_try) 2>&5
31436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31437 (exit $ac_status); }; } &&
31438 { ac_try
='test -s conftest$ac_exeext'
31439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31440 (eval $ac_try) 2>&5
31442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31443 (exit $ac_status); }; }; then
31444 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
31446 echo "$as_me: failed program was:" >&5
31447 sed 's/^/| /' conftest.
$ac_ext >&5
31449 ac_cv_lib_dnet_stub_dnet_ntoa
=no
31451 rm -f conftest.err conftest.
$ac_objext \
31452 conftest
$ac_exeext conftest.
$ac_ext
31453 LIBS
=$ac_check_lib_save_LIBS
31455 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31456 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
31457 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31458 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
31463 rm -f conftest.err conftest.
$ac_objext \
31464 conftest
$ac_exeext conftest.
$ac_ext
31465 LIBS
="$ac_xsave_LIBS"
31467 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31468 # to get the SysV transport functions.
31469 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31471 # The nsl library prevents programs from opening the X display
31472 # on Irix 5.2, according to T.E. Dickey.
31473 # The functions gethostbyname, getservbyname, and inet_addr are
31474 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31475 echo "$as_me:$LINENO: checking for gethostbyname" >&5
31476 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
31477 if test "${ac_cv_func_gethostbyname+set}" = set; then
31478 echo $ECHO_N "(cached) $ECHO_C" >&6
31480 cat >conftest.
$ac_ext <<_ACEOF
31483 cat confdefs.h
>>conftest.
$ac_ext
31484 cat >>conftest.
$ac_ext <<_ACEOF
31485 /* end confdefs.h. */
31486 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31488 #define gethostbyname innocuous_gethostbyname
31490 /* System header to define __stub macros and hopefully few prototypes,
31491 which can conflict with char gethostbyname (); below.
31492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31493 <limits.h> exists even on freestanding compilers. */
31496 # include <limits.h>
31498 # include <assert.h>
31501 #undef gethostbyname
31503 /* Override any gcc2 internal prototype to avoid an error. */
31508 /* We use char because int might match the return type of a gcc2
31509 builtin and then its argument prototype would still apply. */
31510 char gethostbyname ();
31511 /* The GNU C library defines this for functions which it implements
31512 to always fail with ENOSYS. Some functions are actually named
31513 something starting with __ and the normal name is an alias. */
31514 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
31517 char (*f) () = gethostbyname;
31526 return f != gethostbyname;
31531 rm -f conftest.
$ac_objext conftest
$ac_exeext
31532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31533 (eval $ac_link) 2>conftest.er1
31535 grep -v '^ *+' conftest.er1
>conftest.err
31537 cat conftest.err
>&5
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); } &&
31540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31542 (eval $ac_try) 2>&5
31544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31545 (exit $ac_status); }; } &&
31546 { ac_try
='test -s conftest$ac_exeext'
31547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31548 (eval $ac_try) 2>&5
31550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551 (exit $ac_status); }; }; then
31552 ac_cv_func_gethostbyname
=yes
31554 echo "$as_me: failed program was:" >&5
31555 sed 's/^/| /' conftest.
$ac_ext >&5
31557 ac_cv_func_gethostbyname
=no
31559 rm -f conftest.err conftest.
$ac_objext \
31560 conftest
$ac_exeext conftest.
$ac_ext
31562 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31563 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
31565 if test $ac_cv_func_gethostbyname = no
; then
31566 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31567 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
31568 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31569 echo $ECHO_N "(cached) $ECHO_C" >&6
31571 ac_check_lib_save_LIBS
=$LIBS
31573 cat >conftest.
$ac_ext <<_ACEOF
31576 cat confdefs.h
>>conftest.
$ac_ext
31577 cat >>conftest.
$ac_ext <<_ACEOF
31578 /* end confdefs.h. */
31580 /* Override any gcc2 internal prototype to avoid an error. */
31584 /* We use char because int might match the return type of a gcc2
31585 builtin and then its argument prototype would still apply. */
31586 char gethostbyname ();
31595 rm -f conftest.
$ac_objext conftest
$ac_exeext
31596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31597 (eval $ac_link) 2>conftest.er1
31599 grep -v '^ *+' conftest.er1
>conftest.err
31601 cat conftest.err
>&5
31602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31603 (exit $ac_status); } &&
31604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31606 (eval $ac_try) 2>&5
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); }; } &&
31610 { ac_try
='test -s conftest$ac_exeext'
31611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31612 (eval $ac_try) 2>&5
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); }; }; then
31616 ac_cv_lib_nsl_gethostbyname
=yes
31618 echo "$as_me: failed program was:" >&5
31619 sed 's/^/| /' conftest.
$ac_ext >&5
31621 ac_cv_lib_nsl_gethostbyname
=no
31623 rm -f conftest.err conftest.
$ac_objext \
31624 conftest
$ac_exeext conftest.
$ac_ext
31625 LIBS
=$ac_check_lib_save_LIBS
31627 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31628 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
31629 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31630 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
31633 if test $ac_cv_lib_nsl_gethostbyname = no
; then
31634 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31635 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
31636 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31637 echo $ECHO_N "(cached) $ECHO_C" >&6
31639 ac_check_lib_save_LIBS
=$LIBS
31641 cat >conftest.
$ac_ext <<_ACEOF
31644 cat confdefs.h
>>conftest.
$ac_ext
31645 cat >>conftest.
$ac_ext <<_ACEOF
31646 /* end confdefs.h. */
31648 /* Override any gcc2 internal prototype to avoid an error. */
31652 /* We use char because int might match the return type of a gcc2
31653 builtin and then its argument prototype would still apply. */
31654 char gethostbyname ();
31663 rm -f conftest.
$ac_objext conftest
$ac_exeext
31664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31665 (eval $ac_link) 2>conftest.er1
31667 grep -v '^ *+' conftest.er1
>conftest.err
31669 cat conftest.err
>&5
31670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31671 (exit $ac_status); } &&
31672 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31674 (eval $ac_try) 2>&5
31676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31677 (exit $ac_status); }; } &&
31678 { ac_try
='test -s conftest$ac_exeext'
31679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31680 (eval $ac_try) 2>&5
31682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31683 (exit $ac_status); }; }; then
31684 ac_cv_lib_bsd_gethostbyname
=yes
31686 echo "$as_me: failed program was:" >&5
31687 sed 's/^/| /' conftest.
$ac_ext >&5
31689 ac_cv_lib_bsd_gethostbyname
=no
31691 rm -f conftest.err conftest.
$ac_objext \
31692 conftest
$ac_exeext conftest.
$ac_ext
31693 LIBS
=$ac_check_lib_save_LIBS
31695 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31696 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
31697 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31698 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
31704 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31705 # socket/setsockopt and other routines are undefined under SCO ODT
31706 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31707 # on later versions), says Simon Leinen: it contains gethostby*
31708 # variants that don't use the name server (or something). -lsocket
31709 # must be given before -lnsl if both are needed. We assume that
31710 # if connect needs -lnsl, so does gethostbyname.
31711 echo "$as_me:$LINENO: checking for connect" >&5
31712 echo $ECHO_N "checking for connect... $ECHO_C" >&6
31713 if test "${ac_cv_func_connect+set}" = set; then
31714 echo $ECHO_N "(cached) $ECHO_C" >&6
31716 cat >conftest.
$ac_ext <<_ACEOF
31719 cat confdefs.h
>>conftest.
$ac_ext
31720 cat >>conftest.
$ac_ext <<_ACEOF
31721 /* end confdefs.h. */
31722 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31724 #define connect innocuous_connect
31726 /* System header to define __stub macros and hopefully few prototypes,
31727 which can conflict with char connect (); below.
31728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31729 <limits.h> exists even on freestanding compilers. */
31732 # include <limits.h>
31734 # include <assert.h>
31739 /* Override any gcc2 internal prototype to avoid an error. */
31744 /* We use char because int might match the return type of a gcc2
31745 builtin and then its argument prototype would still apply. */
31747 /* The GNU C library defines this for functions which it implements
31748 to always fail with ENOSYS. Some functions are actually named
31749 something starting with __ and the normal name is an alias. */
31750 #if defined (__stub_connect) || defined (__stub___connect)
31753 char (*f) () = connect;
31762 return f != connect;
31767 rm -f conftest.
$ac_objext conftest
$ac_exeext
31768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31769 (eval $ac_link) 2>conftest.er1
31771 grep -v '^ *+' conftest.er1
>conftest.err
31773 cat conftest.err
>&5
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); } &&
31776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31778 (eval $ac_try) 2>&5
31780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31781 (exit $ac_status); }; } &&
31782 { ac_try
='test -s conftest$ac_exeext'
31783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31784 (eval $ac_try) 2>&5
31786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31787 (exit $ac_status); }; }; then
31788 ac_cv_func_connect
=yes
31790 echo "$as_me: failed program was:" >&5
31791 sed 's/^/| /' conftest.
$ac_ext >&5
31793 ac_cv_func_connect
=no
31795 rm -f conftest.err conftest.
$ac_objext \
31796 conftest
$ac_exeext conftest.
$ac_ext
31798 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31799 echo "${ECHO_T}$ac_cv_func_connect" >&6
31801 if test $ac_cv_func_connect = no
; then
31802 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31803 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
31804 if test "${ac_cv_lib_socket_connect+set}" = set; then
31805 echo $ECHO_N "(cached) $ECHO_C" >&6
31807 ac_check_lib_save_LIBS
=$LIBS
31808 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
31809 cat >conftest.
$ac_ext <<_ACEOF
31812 cat confdefs.h
>>conftest.
$ac_ext
31813 cat >>conftest.
$ac_ext <<_ACEOF
31814 /* end confdefs.h. */
31816 /* Override any gcc2 internal prototype to avoid an error. */
31820 /* We use char because int might match the return type of a gcc2
31821 builtin and then its argument prototype would still apply. */
31831 rm -f conftest.
$ac_objext conftest
$ac_exeext
31832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31833 (eval $ac_link) 2>conftest.er1
31835 grep -v '^ *+' conftest.er1
>conftest.err
31837 cat conftest.err
>&5
31838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31839 (exit $ac_status); } &&
31840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31842 (eval $ac_try) 2>&5
31844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31845 (exit $ac_status); }; } &&
31846 { ac_try
='test -s conftest$ac_exeext'
31847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31848 (eval $ac_try) 2>&5
31850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31851 (exit $ac_status); }; }; then
31852 ac_cv_lib_socket_connect
=yes
31854 echo "$as_me: failed program was:" >&5
31855 sed 's/^/| /' conftest.
$ac_ext >&5
31857 ac_cv_lib_socket_connect
=no
31859 rm -f conftest.err conftest.
$ac_objext \
31860 conftest
$ac_exeext conftest.
$ac_ext
31861 LIBS
=$ac_check_lib_save_LIBS
31863 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31864 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
31865 if test $ac_cv_lib_socket_connect = yes; then
31866 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
31871 # Guillermo Gomez says -lposix is necessary on A/UX.
31872 echo "$as_me:$LINENO: checking for remove" >&5
31873 echo $ECHO_N "checking for remove... $ECHO_C" >&6
31874 if test "${ac_cv_func_remove+set}" = set; then
31875 echo $ECHO_N "(cached) $ECHO_C" >&6
31877 cat >conftest.
$ac_ext <<_ACEOF
31880 cat confdefs.h
>>conftest.
$ac_ext
31881 cat >>conftest.
$ac_ext <<_ACEOF
31882 /* end confdefs.h. */
31883 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31885 #define remove innocuous_remove
31887 /* System header to define __stub macros and hopefully few prototypes,
31888 which can conflict with char remove (); below.
31889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31890 <limits.h> exists even on freestanding compilers. */
31893 # include <limits.h>
31895 # include <assert.h>
31900 /* Override any gcc2 internal prototype to avoid an error. */
31905 /* We use char because int might match the return type of a gcc2
31906 builtin and then its argument prototype would still apply. */
31908 /* The GNU C library defines this for functions which it implements
31909 to always fail with ENOSYS. Some functions are actually named
31910 something starting with __ and the normal name is an alias. */
31911 #if defined (__stub_remove) || defined (__stub___remove)
31914 char (*f) () = remove;
31923 return f != remove;
31928 rm -f conftest.
$ac_objext conftest
$ac_exeext
31929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31930 (eval $ac_link) 2>conftest.er1
31932 grep -v '^ *+' conftest.er1
>conftest.err
31934 cat conftest.err
>&5
31935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31936 (exit $ac_status); } &&
31937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31939 (eval $ac_try) 2>&5
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); }; } &&
31943 { ac_try
='test -s conftest$ac_exeext'
31944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31945 (eval $ac_try) 2>&5
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); }; }; then
31949 ac_cv_func_remove
=yes
31951 echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.
$ac_ext >&5
31954 ac_cv_func_remove
=no
31956 rm -f conftest.err conftest.
$ac_objext \
31957 conftest
$ac_exeext conftest.
$ac_ext
31959 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31960 echo "${ECHO_T}$ac_cv_func_remove" >&6
31962 if test $ac_cv_func_remove = no
; then
31963 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31964 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
31965 if test "${ac_cv_lib_posix_remove+set}" = set; then
31966 echo $ECHO_N "(cached) $ECHO_C" >&6
31968 ac_check_lib_save_LIBS
=$LIBS
31969 LIBS
="-lposix $LIBS"
31970 cat >conftest.
$ac_ext <<_ACEOF
31973 cat confdefs.h
>>conftest.
$ac_ext
31974 cat >>conftest.
$ac_ext <<_ACEOF
31975 /* end confdefs.h. */
31977 /* Override any gcc2 internal prototype to avoid an error. */
31981 /* We use char because int might match the return type of a gcc2
31982 builtin and then its argument prototype would still apply. */
31992 rm -f conftest.
$ac_objext conftest
$ac_exeext
31993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31994 (eval $ac_link) 2>conftest.er1
31996 grep -v '^ *+' conftest.er1
>conftest.err
31998 cat conftest.err
>&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); } &&
32001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32003 (eval $ac_try) 2>&5
32005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32006 (exit $ac_status); }; } &&
32007 { ac_try
='test -s conftest$ac_exeext'
32008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32009 (eval $ac_try) 2>&5
32011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32012 (exit $ac_status); }; }; then
32013 ac_cv_lib_posix_remove
=yes
32015 echo "$as_me: failed program was:" >&5
32016 sed 's/^/| /' conftest.
$ac_ext >&5
32018 ac_cv_lib_posix_remove
=no
32020 rm -f conftest.err conftest.
$ac_objext \
32021 conftest
$ac_exeext conftest.
$ac_ext
32022 LIBS
=$ac_check_lib_save_LIBS
32024 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32025 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
32026 if test $ac_cv_lib_posix_remove = yes; then
32027 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
32032 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32033 echo "$as_me:$LINENO: checking for shmat" >&5
32034 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
32035 if test "${ac_cv_func_shmat+set}" = set; then
32036 echo $ECHO_N "(cached) $ECHO_C" >&6
32038 cat >conftest.
$ac_ext <<_ACEOF
32041 cat confdefs.h
>>conftest.
$ac_ext
32042 cat >>conftest.
$ac_ext <<_ACEOF
32043 /* end confdefs.h. */
32044 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32046 #define shmat innocuous_shmat
32048 /* System header to define __stub macros and hopefully few prototypes,
32049 which can conflict with char shmat (); below.
32050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32051 <limits.h> exists even on freestanding compilers. */
32054 # include <limits.h>
32056 # include <assert.h>
32061 /* Override any gcc2 internal prototype to avoid an error. */
32066 /* We use char because int might match the return type of a gcc2
32067 builtin and then its argument prototype would still apply. */
32069 /* The GNU C library defines this for functions which it implements
32070 to always fail with ENOSYS. Some functions are actually named
32071 something starting with __ and the normal name is an alias. */
32072 #if defined (__stub_shmat) || defined (__stub___shmat)
32075 char (*f) () = shmat;
32089 rm -f conftest.
$ac_objext conftest
$ac_exeext
32090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32091 (eval $ac_link) 2>conftest.er1
32093 grep -v '^ *+' conftest.er1
>conftest.err
32095 cat conftest.err
>&5
32096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32097 (exit $ac_status); } &&
32098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32100 (eval $ac_try) 2>&5
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); }; } &&
32104 { ac_try
='test -s conftest$ac_exeext'
32105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32106 (eval $ac_try) 2>&5
32108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 (exit $ac_status); }; }; then
32110 ac_cv_func_shmat
=yes
32112 echo "$as_me: failed program was:" >&5
32113 sed 's/^/| /' conftest.
$ac_ext >&5
32115 ac_cv_func_shmat
=no
32117 rm -f conftest.err conftest.
$ac_objext \
32118 conftest
$ac_exeext conftest.
$ac_ext
32120 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32121 echo "${ECHO_T}$ac_cv_func_shmat" >&6
32123 if test $ac_cv_func_shmat = no
; then
32124 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32125 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
32126 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32127 echo $ECHO_N "(cached) $ECHO_C" >&6
32129 ac_check_lib_save_LIBS
=$LIBS
32131 cat >conftest.
$ac_ext <<_ACEOF
32134 cat confdefs.h
>>conftest.
$ac_ext
32135 cat >>conftest.
$ac_ext <<_ACEOF
32136 /* end confdefs.h. */
32138 /* Override any gcc2 internal prototype to avoid an error. */
32142 /* We use char because int might match the return type of a gcc2
32143 builtin and then its argument prototype would still apply. */
32153 rm -f conftest.
$ac_objext conftest
$ac_exeext
32154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32155 (eval $ac_link) 2>conftest.er1
32157 grep -v '^ *+' conftest.er1
>conftest.err
32159 cat conftest.err
>&5
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); } &&
32162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32164 (eval $ac_try) 2>&5
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); }; } &&
32168 { ac_try
='test -s conftest$ac_exeext'
32169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32170 (eval $ac_try) 2>&5
32172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32173 (exit $ac_status); }; }; then
32174 ac_cv_lib_ipc_shmat
=yes
32176 echo "$as_me: failed program was:" >&5
32177 sed 's/^/| /' conftest.
$ac_ext >&5
32179 ac_cv_lib_ipc_shmat
=no
32181 rm -f conftest.err conftest.
$ac_objext \
32182 conftest
$ac_exeext conftest.
$ac_ext
32183 LIBS
=$ac_check_lib_save_LIBS
32185 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32186 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
32187 if test $ac_cv_lib_ipc_shmat = yes; then
32188 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
32194 # Check for libraries that X11R6 Xt/Xaw programs need.
32195 ac_save_LDFLAGS
=$LDFLAGS
32196 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
32197 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32198 # check for ICE first), but we must link in the order -lSM -lICE or
32199 # we get undefined symbols. So assume we have SM if we have ICE.
32200 # These have to be linked with before -lX11, unlike the other
32201 # libraries we check for below, so use a different variable.
32202 # John Interrante, Karl Berry
32203 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32204 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
32205 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32206 echo $ECHO_N "(cached) $ECHO_C" >&6
32208 ac_check_lib_save_LIBS
=$LIBS
32209 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
32210 cat >conftest.
$ac_ext <<_ACEOF
32213 cat confdefs.h
>>conftest.
$ac_ext
32214 cat >>conftest.
$ac_ext <<_ACEOF
32215 /* end confdefs.h. */
32217 /* Override any gcc2 internal prototype to avoid an error. */
32221 /* We use char because int might match the return type of a gcc2
32222 builtin and then its argument prototype would still apply. */
32223 char IceConnectionNumber ();
32227 IceConnectionNumber ();
32232 rm -f conftest.
$ac_objext conftest
$ac_exeext
32233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32234 (eval $ac_link) 2>conftest.er1
32236 grep -v '^ *+' conftest.er1
>conftest.err
32238 cat conftest.err
>&5
32239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32240 (exit $ac_status); } &&
32241 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32243 (eval $ac_try) 2>&5
32245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32246 (exit $ac_status); }; } &&
32247 { ac_try
='test -s conftest$ac_exeext'
32248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32249 (eval $ac_try) 2>&5
32251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32252 (exit $ac_status); }; }; then
32253 ac_cv_lib_ICE_IceConnectionNumber
=yes
32255 echo "$as_me: failed program was:" >&5
32256 sed 's/^/| /' conftest.
$ac_ext >&5
32258 ac_cv_lib_ICE_IceConnectionNumber
=no
32260 rm -f conftest.err conftest.
$ac_objext \
32261 conftest
$ac_exeext conftest.
$ac_ext
32262 LIBS
=$ac_check_lib_save_LIBS
32264 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32265 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
32266 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32267 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
32270 LDFLAGS
=$ac_save_LDFLAGS
32275 if test "$no_x" = "yes"; then
32276 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32277 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32278 { (exit 1); exit 1; }; }
32281 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32282 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
32283 AFMINSTALL
=afminstall
32284 COMPILED_X_PROGRAM
=0
32288 if test "$wxUSE_X11" = 1; then
32289 if test "$wxUSE_NANOX" = "yes"; then
32290 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32291 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
32292 if test "x$MICROWIN" = x
; then
32293 echo "$as_me:$LINENO: result: not found" >&5
32294 echo "${ECHO_T}not found" >&6
32295 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32296 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32297 { (exit 1); exit 1; }; }
32299 echo "$as_me:$LINENO: result: $MICROWIN" >&5
32300 echo "${ECHO_T}$MICROWIN" >&6
32301 cat >>confdefs.h
<<\_ACEOF
32302 #define wxUSE_NANOX 1
32308 if test "$wxUSE_UNICODE" = "yes"; then
32311 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32312 if test -n "$ac_tool_prefix"; then
32313 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32314 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
32315 echo "$as_me:$LINENO: checking for $ac_word" >&5
32316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32317 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32318 echo $ECHO_N "(cached) $ECHO_C" >&6
32320 case $PKG_CONFIG in
32322 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
32325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32326 for as_dir
in $PATH
32329 test -z "$as_dir" && as_dir
=.
32330 for ac_exec_ext
in '' $ac_executable_extensions; do
32331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32332 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32342 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
32344 if test -n "$PKG_CONFIG"; then
32345 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32346 echo "${ECHO_T}$PKG_CONFIG" >&6
32348 echo "$as_me:$LINENO: result: no" >&5
32349 echo "${ECHO_T}no" >&6
32353 if test -z "$ac_cv_path_PKG_CONFIG"; then
32354 ac_pt_PKG_CONFIG
=$PKG_CONFIG
32355 # Extract the first word of "pkg-config", so it can be a program name with args.
32356 set dummy pkg
-config; ac_word
=$2
32357 echo "$as_me:$LINENO: checking for $ac_word" >&5
32358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32359 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32360 echo $ECHO_N "(cached) $ECHO_C" >&6
32362 case $ac_pt_PKG_CONFIG in
32364 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32368 for as_dir
in $PATH
32371 test -z "$as_dir" && as_dir
=.
32372 for ac_exec_ext
in '' $ac_executable_extensions; do
32373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32374 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32384 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
32386 if test -n "$ac_pt_PKG_CONFIG"; then
32387 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32388 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
32390 echo "$as_me:$LINENO: result: no" >&5
32391 echo "${ECHO_T}no" >&6
32394 PKG_CONFIG
=$ac_pt_PKG_CONFIG
32396 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
32400 if test -n "$PKG_CONFIG"; then
32401 _pkg_min_version
=0.9.0
32402 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32403 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
32404 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32405 echo "$as_me:$LINENO: result: yes" >&5
32406 echo "${ECHO_T}yes" >&6
32408 echo "$as_me:$LINENO: result: no" >&5
32409 echo "${ECHO_T}no" >&6
32417 echo "$as_me:$LINENO: checking for PANGOX" >&5
32418 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
32420 if test -n "$PKG_CONFIG"; then
32421 if test -n "$PANGOX_CFLAGS"; then
32422 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
32424 if test -n "$PKG_CONFIG" && \
32425 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32426 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429 (exit $ac_status); }; then
32430 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32438 if test -n "$PKG_CONFIG"; then
32439 if test -n "$PANGOX_LIBS"; then
32440 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
32442 if test -n "$PKG_CONFIG" && \
32443 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32444 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32447 (exit $ac_status); }; then
32448 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32459 if test $pkg_failed = yes; then
32461 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32462 _pkg_short_errors_supported
=yes
32464 _pkg_short_errors_supported
=no
32466 if test $_pkg_short_errors_supported = yes; then
32467 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32469 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32471 # Put the nasty error message in config.log where it belongs
32472 echo "$PANGOX_PKG_ERRORS" >&5
32475 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32476 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32477 { (exit 1); exit 1; }; }
32480 elif test $pkg_failed = untried
; then
32482 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32483 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32484 { (exit 1); exit 1; }; }
32488 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
32489 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
32490 echo "$as_me:$LINENO: result: yes" >&5
32491 echo "${ECHO_T}yes" >&6
32493 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
32494 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
32495 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
32500 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32501 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
32503 if test -n "$PKG_CONFIG"; then
32504 if test -n "$PANGOFT2_CFLAGS"; then
32505 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
32507 if test -n "$PKG_CONFIG" && \
32508 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32509 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32512 (exit $ac_status); }; then
32513 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32521 if test -n "$PKG_CONFIG"; then
32522 if test -n "$PANGOFT2_LIBS"; then
32523 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
32525 if test -n "$PKG_CONFIG" && \
32526 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32527 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); }; then
32531 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32542 if test $pkg_failed = yes; then
32544 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32545 _pkg_short_errors_supported
=yes
32547 _pkg_short_errors_supported
=no
32549 if test $_pkg_short_errors_supported = yes; then
32550 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32552 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32554 # Put the nasty error message in config.log where it belongs
32555 echo "$PANGOFT2_PKG_ERRORS" >&5
32558 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32559 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32560 wxUSE_PRINTING_ARCHITECTURE
="no"
32563 elif test $pkg_failed = untried
; then
32565 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32566 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32567 wxUSE_PRINTING_ARCHITECTURE
="no"
32571 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
32572 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
32573 echo "$as_me:$LINENO: result: yes" >&5
32574 echo "${ECHO_T}yes" >&6
32576 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
32577 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
32578 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32583 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32584 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
32586 if test -n "$PKG_CONFIG"; then
32587 if test -n "$PANGOXFT_CFLAGS"; then
32588 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
32590 if test -n "$PKG_CONFIG" && \
32591 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32592 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); }; then
32596 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32604 if test -n "$PKG_CONFIG"; then
32605 if test -n "$PANGOXFT_LIBS"; then
32606 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
32608 if test -n "$PKG_CONFIG" && \
32609 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32610 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613 (exit $ac_status); }; then
32614 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32625 if test $pkg_failed = yes; then
32627 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32628 _pkg_short_errors_supported
=yes
32630 _pkg_short_errors_supported
=no
32632 if test $_pkg_short_errors_supported = yes; then
32633 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32635 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32637 # Put the nasty error message in config.log where it belongs
32638 echo "$PANGOXFT_PKG_ERRORS" >&5
32641 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32642 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32645 elif test $pkg_failed = untried
; then
32647 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32648 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32652 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
32653 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
32654 echo "$as_me:$LINENO: result: yes" >&5
32655 echo "${ECHO_T}yes" >&6
32657 cat >>confdefs.h
<<\_ACEOF
32658 #define HAVE_PANGO_XFT 1
32661 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
32662 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32663 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32667 LIBS
="$LIBS $PANGOX_LIBS"
32669 for ac_func
in pango_font_family_is_monospace
32671 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32672 echo "$as_me:$LINENO: checking for $ac_func" >&5
32673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32674 if eval "test \"\${$as_ac_var+set}\" = set"; then
32675 echo $ECHO_N "(cached) $ECHO_C" >&6
32677 cat >conftest.
$ac_ext <<_ACEOF
32680 cat confdefs.h
>>conftest.
$ac_ext
32681 cat >>conftest.
$ac_ext <<_ACEOF
32682 /* end confdefs.h. */
32683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32685 #define $ac_func innocuous_$ac_func
32687 /* System header to define __stub macros and hopefully few prototypes,
32688 which can conflict with char $ac_func (); below.
32689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32690 <limits.h> exists even on freestanding compilers. */
32693 # include <limits.h>
32695 # include <assert.h>
32700 /* Override any gcc2 internal prototype to avoid an error. */
32705 /* We use char because int might match the return type of a gcc2
32706 builtin and then its argument prototype would still apply. */
32708 /* The GNU C library defines this for functions which it implements
32709 to always fail with ENOSYS. Some functions are actually named
32710 something starting with __ and the normal name is an alias. */
32711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32714 char (*f) () = $ac_func;
32723 return f != $ac_func;
32728 rm -f conftest.
$ac_objext conftest
$ac_exeext
32729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32730 (eval $ac_link) 2>conftest.er1
32732 grep -v '^ *+' conftest.er1
>conftest.err
32734 cat conftest.err
>&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); } &&
32737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; } &&
32743 { ac_try
='test -s conftest$ac_exeext'
32744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32745 (eval $ac_try) 2>&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); }; }; then
32749 eval "$as_ac_var=yes"
32751 echo "$as_me: failed program was:" >&5
32752 sed 's/^/| /' conftest.
$ac_ext >&5
32754 eval "$as_ac_var=no"
32756 rm -f conftest.err conftest.
$ac_objext \
32757 conftest
$ac_exeext conftest.
$ac_ext
32759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32761 if test `eval echo '${'$as_ac_var'}'` = yes; then
32762 cat >>confdefs.h
<<_ACEOF
32763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32772 wxUSE_UNIVERSAL
="yes"
32774 if test "$wxUSE_NANOX" = "yes"; then
32775 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32776 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"
32777 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32779 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
32786 if test "$wxUSE_MOTIF" = 1; then
32787 if test "$wxUSE_UNICODE" = "yes"; then
32788 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
32789 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
32790 { (exit 1); exit 1; }; }
32793 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32794 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
32797 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32799 if test -f "$ac_dir/Xm/Xm.h"; then
32800 ac_find_includes
=$ac_dir
32805 if test "$ac_find_includes" != "" ; then
32806 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32807 echo "${ECHO_T}found in $ac_find_includes" >&6
32809 if test "x$ac_find_includes" = "x/usr/include"; then
32810 ac_path_to_include
=""
32812 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
32814 if test $result = 0; then
32815 ac_path_to_include
=""
32817 ac_path_to_include
=" -I$ac_find_includes"
32821 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
32823 save_CFLAGS
=$CFLAGS
32824 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32826 cat >conftest.
$ac_ext <<_ACEOF
32829 cat confdefs.h
>>conftest.
$ac_ext
32830 cat >>conftest.
$ac_ext <<_ACEOF
32831 /* end confdefs.h. */
32840 version = xmUseVersion;
32846 rm -f conftest.
$ac_objext
32847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32848 (eval $ac_compile) 2>conftest.er1
32850 grep -v '^ *+' conftest.er1
>conftest.err
32852 cat conftest.err
>&5
32853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32854 (exit $ac_status); } &&
32855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32857 (eval $ac_try) 2>&5
32859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32860 (exit $ac_status); }; } &&
32861 { ac_try
='test -s conftest.$ac_objext'
32862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32863 (eval $ac_try) 2>&5
32865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32866 (exit $ac_status); }; }; then
32868 echo "$as_me:$LINENO: result: found in default search path" >&5
32869 echo "${ECHO_T}found in default search path" >&6
32870 COMPILED_X_PROGRAM
=1
32873 echo "$as_me: failed program was:" >&5
32874 sed 's/^/| /' conftest.
$ac_ext >&5
32877 echo "$as_me:$LINENO: result: no" >&5
32878 echo "${ECHO_T}no" >&6
32879 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32880 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32881 { (exit 1); exit 1; }; }
32885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32887 CFLAGS
=$save_CFLAGS
32891 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32892 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
32895 for ac_dir
in $SEARCH_LIB;
32897 for ac_extension
in a so sl dylib dll.a
; do
32898 if test -f "$ac_dir/libXm.$ac_extension"; then
32899 ac_find_libraries
=$ac_dir
32906 if test "x$ac_find_libraries" != "x" ; then
32907 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32908 echo "${ECHO_T}found in $ac_find_libraries" >&6
32911 if test "$ac_find_libraries" = "default location"; then
32914 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32916 if test $result = 0; then
32919 ac_path_to_link
=" -L$ac_find_libraries"
32923 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32925 save_CFLAGS
=$CFLAGS
32926 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32928 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32930 cat >conftest.
$ac_ext <<_ACEOF
32933 cat confdefs.h
>>conftest.
$ac_ext
32934 cat >>conftest.
$ac_ext <<_ACEOF
32935 /* end confdefs.h. */
32944 version = xmUseVersion;
32950 rm -f conftest.
$ac_objext conftest
$ac_exeext
32951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32952 (eval $ac_link) 2>conftest.er1
32954 grep -v '^ *+' conftest.er1
>conftest.err
32956 cat conftest.err
>&5
32957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32958 (exit $ac_status); } &&
32959 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32961 (eval $ac_try) 2>&5
32963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32964 (exit $ac_status); }; } &&
32965 { ac_try
='test -s conftest$ac_exeext'
32966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32967 (eval $ac_try) 2>&5
32969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32970 (exit $ac_status); }; }; then
32972 echo "$as_me:$LINENO: result: found in default search path" >&5
32973 echo "${ECHO_T}found in default search path" >&6
32974 COMPILED_X_PROGRAM
=1
32977 echo "$as_me: failed program was:" >&5
32978 sed 's/^/| /' conftest.
$ac_ext >&5
32981 echo "$as_me:$LINENO: result: no" >&5
32982 echo "${ECHO_T}no" >&6
32983 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32984 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32985 { (exit 1); exit 1; }; }
32989 rm -f conftest.err conftest.
$ac_objext \
32990 conftest
$ac_exeext conftest.
$ac_ext
32992 CFLAGS
=$save_CFLAGS
32996 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32997 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
33001 for libp
in "" " -lXp"; do
33002 if test "$libs_found" = "0"; then
33003 for libsm_ice
in "" " -lSM -lICE"; do
33004 if test "$libs_found" = "0"; then
33006 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33007 save_CFLAGS
=$CFLAGS
33008 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33010 cat >conftest.
$ac_ext <<_ACEOF
33013 cat confdefs.h
>>conftest.
$ac_ext
33014 cat >>conftest.
$ac_ext <<_ACEOF
33015 /* end confdefs.h. */
33018 #include <Xm/List.h>
33024 XmString string = NULL;
33027 XmListAddItem(w, string, position);
33033 rm -f conftest.
$ac_objext conftest
$ac_exeext
33034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33035 (eval $ac_link) 2>conftest.er1
33037 grep -v '^ *+' conftest.er1
>conftest.err
33039 cat conftest.err
>&5
33040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33041 (exit $ac_status); } &&
33042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33044 (eval $ac_try) 2>&5
33046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33047 (exit $ac_status); }; } &&
33048 { ac_try
='test -s conftest$ac_exeext'
33049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33050 (eval $ac_try) 2>&5
33052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053 (exit $ac_status); }; }; then
33056 libsm_ice_link
="$libsm_ice"
33057 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33058 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
33062 echo "$as_me: failed program was:" >&5
33063 sed 's/^/| /' conftest.
$ac_ext >&5
33068 rm -f conftest.err conftest.
$ac_objext \
33069 conftest
$ac_exeext conftest.
$ac_ext
33072 CFLAGS
=$save_CFLAGS
33078 if test "$libs_found" = "0"; then
33079 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33080 echo "${ECHO_T}can't find the right libraries" >&6
33081 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33082 echo "$as_me: error: can't link a simple motif program" >&2;}
33083 { (exit 1); exit 1; }; }
33086 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33087 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
33088 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33089 echo $ECHO_N "(cached) $ECHO_C" >&6
33091 ac_check_lib_save_LIBS
=$LIBS
33093 cat >conftest.
$ac_ext <<_ACEOF
33096 cat confdefs.h
>>conftest.
$ac_ext
33097 cat >>conftest.
$ac_ext <<_ACEOF
33098 /* end confdefs.h. */
33100 /* Override any gcc2 internal prototype to avoid an error. */
33104 /* We use char because int might match the return type of a gcc2
33105 builtin and then its argument prototype would still apply. */
33106 char SgCreateList ();
33115 rm -f conftest.
$ac_objext conftest
$ac_exeext
33116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33117 (eval $ac_link) 2>conftest.er1
33119 grep -v '^ *+' conftest.er1
>conftest.err
33121 cat conftest.err
>&5
33122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123 (exit $ac_status); } &&
33124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33126 (eval $ac_try) 2>&5
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); }; } &&
33130 { ac_try
='test -s conftest$ac_exeext'
33131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33132 (eval $ac_try) 2>&5
33134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33135 (exit $ac_status); }; }; then
33136 ac_cv_lib_Sgm_SgCreateList
=yes
33138 echo "$as_me: failed program was:" >&5
33139 sed 's/^/| /' conftest.
$ac_ext >&5
33141 ac_cv_lib_Sgm_SgCreateList
=no
33143 rm -f conftest.err conftest.
$ac_objext \
33144 conftest
$ac_exeext conftest.
$ac_ext
33145 LIBS
=$ac_check_lib_save_LIBS
33147 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33148 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
33149 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33150 libsgm_link
=" -lSgm"
33154 save_CFLAGS
=$CFLAGS
33155 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33157 echo "$as_me:$LINENO: checking for Motif 2" >&5
33158 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
33159 if test "${wx_cv_lib_motif2+set}" = set; then
33160 echo $ECHO_N "(cached) $ECHO_C" >&6
33162 cat >conftest.
$ac_ext <<_ACEOF
33165 cat confdefs.h
>>conftest.
$ac_ext
33166 cat >>conftest.
$ac_ext <<_ACEOF
33167 /* end confdefs.h. */
33175 #if XmVersion < 2000
33183 rm -f conftest.
$ac_objext
33184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33185 (eval $ac_compile) 2>conftest.er1
33187 grep -v '^ *+' conftest.er1
>conftest.err
33189 cat conftest.err
>&5
33190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33191 (exit $ac_status); } &&
33192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33194 (eval $ac_try) 2>&5
33196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33197 (exit $ac_status); }; } &&
33198 { ac_try
='test -s conftest.$ac_objext'
33199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33200 (eval $ac_try) 2>&5
33202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203 (exit $ac_status); }; }; then
33204 wx_cv_lib_motif2
="yes"
33206 echo "$as_me: failed program was:" >&5
33207 sed 's/^/| /' conftest.
$ac_ext >&5
33209 wx_cv_lib_motif2
="no"
33211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33213 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33214 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
33215 if test "$wx_cv_lib_motif2" = "yes"; then
33216 cat >>confdefs.h
<<\_ACEOF
33217 #define __WXMOTIF20__ 1
33221 cat >>confdefs.h
<<\_ACEOF
33222 #define __WXMOTIF20__ 0
33227 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33228 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
33229 if test "${wx_cv_lib_lesstif+set}" = set; then
33230 echo $ECHO_N "(cached) $ECHO_C" >&6
33232 cat >conftest.
$ac_ext <<_ACEOF
33235 cat confdefs.h
>>conftest.
$ac_ext
33236 cat >>conftest.
$ac_ext <<_ACEOF
33237 /* end confdefs.h. */
33245 #if !defined(LesstifVersion) || LesstifVersion <= 0
33253 rm -f conftest.
$ac_objext
33254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33255 (eval $ac_compile) 2>conftest.er1
33257 grep -v '^ *+' conftest.er1
>conftest.err
33259 cat conftest.err
>&5
33260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33261 (exit $ac_status); } &&
33262 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33264 (eval $ac_try) 2>&5
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); }; } &&
33268 { ac_try
='test -s conftest.$ac_objext'
33269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33270 (eval $ac_try) 2>&5
33272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273 (exit $ac_status); }; }; then
33274 wx_cv_lib_lesstif
="yes"
33276 echo "$as_me: failed program was:" >&5
33277 sed 's/^/| /' conftest.
$ac_ext >&5
33279 wx_cv_lib_lesstif
="no"
33281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33284 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33285 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
33286 if test "$wx_cv_lib_lesstif" = "yes"; then
33287 cat >>confdefs.h
<<\_ACEOF
33288 #define __WXLESSTIF__ 1
33292 cat >>confdefs.h
<<\_ACEOF
33293 #define __WXLESSTIF__ 0
33298 CFLAGS
=$save_CFLAGS
33300 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33305 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33306 if test "$wxUSE_LIBXPM" = "sys"; then
33307 echo "$as_me:$LINENO: checking for Xpm library" >&5
33308 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
33311 for ac_dir
in $SEARCH_LIB;
33313 for ac_extension
in a so sl dylib dll.a
; do
33314 if test -f "$ac_dir/libXpm.$ac_extension"; then
33315 ac_find_libraries
=$ac_dir
33321 if test "$ac_find_libraries" != "" ; then
33323 if test "$ac_find_libraries" = "default location"; then
33326 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33328 if test $result = 0; then
33331 ac_path_to_link
=" -L$ac_find_libraries"
33335 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33336 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33337 echo "${ECHO_T}found in $ac_find_libraries" >&6
33339 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33340 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
33341 if test "${wx_cv_x11_xpm_h+set}" = set; then
33342 echo $ECHO_N "(cached) $ECHO_C" >&6
33345 save_CFLAGS
=$CFLAGS
33346 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33348 cat >conftest.
$ac_ext <<_ACEOF
33351 cat confdefs.h
>>conftest.
$ac_ext
33352 cat >>conftest.
$ac_ext <<_ACEOF
33353 /* end confdefs.h. */
33355 #include <X11/xpm.h>
33362 version = XpmLibraryVersion();
33368 rm -f conftest.
$ac_objext
33369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33370 (eval $ac_compile) 2>conftest.er1
33372 grep -v '^ *+' conftest.er1
>conftest.err
33374 cat conftest.err
>&5
33375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33376 (exit $ac_status); } &&
33377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33379 (eval $ac_try) 2>&5
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); }; } &&
33383 { ac_try
='test -s conftest.$ac_objext'
33384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33385 (eval $ac_try) 2>&5
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); }; }; then
33389 wx_cv_x11_xpm_h
=yes
33391 echo "$as_me: failed program was:" >&5
33392 sed 's/^/| /' conftest.
$ac_ext >&5
33397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33399 CFLAGS
=$save_CFLAGS
33403 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33404 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
33406 if test $wx_cv_x11_xpm_h = "yes"; then
33407 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
33408 cat >>confdefs.h
<<\_ACEOF
33409 #define wxHAVE_LIB_XPM 1
33413 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33414 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33420 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33421 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
33422 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33423 echo $ECHO_N "(cached) $ECHO_C" >&6
33425 ac_check_lib_save_LIBS
=$LIBS
33426 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33427 cat >conftest.
$ac_ext <<_ACEOF
33430 cat confdefs.h
>>conftest.
$ac_ext
33431 cat >>conftest.
$ac_ext <<_ACEOF
33432 /* end confdefs.h. */
33434 /* Override any gcc2 internal prototype to avoid an error. */
33438 /* We use char because int might match the return type of a gcc2
33439 builtin and then its argument prototype would still apply. */
33440 char XShapeQueryExtension ();
33444 XShapeQueryExtension ();
33449 rm -f conftest.
$ac_objext conftest
$ac_exeext
33450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33451 (eval $ac_link) 2>conftest.er1
33453 grep -v '^ *+' conftest.er1
>conftest.err
33455 cat conftest.err
>&5
33456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33457 (exit $ac_status); } &&
33458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33460 (eval $ac_try) 2>&5
33462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463 (exit $ac_status); }; } &&
33464 { ac_try
='test -s conftest$ac_exeext'
33465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33466 (eval $ac_try) 2>&5
33468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33469 (exit $ac_status); }; }; then
33470 ac_cv_lib_Xext_XShapeQueryExtension
=yes
33472 echo "$as_me: failed program was:" >&5
33473 sed 's/^/| /' conftest.
$ac_ext >&5
33475 ac_cv_lib_Xext_XShapeQueryExtension
=no
33477 rm -f conftest.err conftest.
$ac_objext \
33478 conftest
$ac_exeext conftest.
$ac_ext
33479 LIBS
=$ac_check_lib_save_LIBS
33481 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33482 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
33483 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33485 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
33491 if test "$wxHAVE_XEXT_LIB" = 1; then
33492 save_CFLAGS
="$CFLAGS"
33493 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33495 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33496 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
33497 cat >conftest.
$ac_ext <<_ACEOF
33500 cat confdefs.h
>>conftest.
$ac_ext
33501 cat >>conftest.
$ac_ext <<_ACEOF
33502 /* end confdefs.h. */
33504 #include <X11/Xlib.h>
33505 #include <X11/extensions/shape.h>
33511 int dummy1, dummy2;
33512 XShapeQueryExtension((Display*)NULL,
33513 (int*)NULL, (int*)NULL);
33519 rm -f conftest.
$ac_objext
33520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33521 (eval $ac_compile) 2>conftest.er1
33523 grep -v '^ *+' conftest.er1
>conftest.err
33525 cat conftest.err
>&5
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); } &&
33528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33530 (eval $ac_try) 2>&5
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); }; } &&
33534 { ac_try
='test -s conftest.$ac_objext'
33535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33536 (eval $ac_try) 2>&5
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); }; }; then
33541 cat >>confdefs.h
<<\_ACEOF
33542 #define HAVE_XSHAPE 1
33545 echo "$as_me:$LINENO: result: found" >&5
33546 echo "${ECHO_T}found" >&6
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.
$ac_ext >&5
33553 echo "$as_me:$LINENO: result: not found" >&5
33554 echo "${ECHO_T}not found" >&6
33557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33558 CFLAGS
="$save_CFLAGS"
33563 if test "$wxUSE_MAC" = 1; then
33564 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33565 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
33566 if test "$GCC" = yes; then
33567 echo "$as_me:$LINENO: result: gcc" >&5
33568 echo "${ECHO_T}gcc" >&6
33569 CPPFLAGS_PASCAL
="-fpascal-strings"
33570 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33571 echo "$as_me:$LINENO: result: xlc" >&5
33572 echo "${ECHO_T}xlc" >&6
33573 CPPFLAGS_PASCAL
="-qmacpstr"
33575 echo "$as_me:$LINENO: result: none" >&5
33576 echo "${ECHO_T}none" >&6
33579 if test "x$wxUSE_UNIX" = "xyes"; then
33580 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33582 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
33587 WXBASEPORT
="_carbon"
33590 if test "$wxUSE_COCOA" = 1; then
33595 if test "$wxUSE_PM" = 1; then
33598 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33599 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
33600 if test "${wx_cv_spbcdata+set}" = set; then
33601 echo $ECHO_N "(cached) $ECHO_C" >&6
33604 cat >conftest.
$ac_ext <<_ACEOF
33607 cat confdefs.h
>>conftest.
$ac_ext
33608 cat >>conftest.
$ac_ext <<_ACEOF
33609 /* end confdefs.h. */
33624 rm -f conftest.
$ac_objext
33625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33626 (eval $ac_compile) 2>conftest.er1
33628 grep -v '^ *+' conftest.er1
>conftest.err
33630 cat conftest.err
>&5
33631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33632 (exit $ac_status); } &&
33633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33635 (eval $ac_try) 2>&5
33637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638 (exit $ac_status); }; } &&
33639 { ac_try
='test -s conftest.$ac_objext'
33640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33641 (eval $ac_try) 2>&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); }; }; then
33647 echo "$as_me: failed program was:" >&5
33648 sed 's/^/| /' conftest.
$ac_ext >&5
33653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33657 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33658 echo "${ECHO_T}$wx_cv_spbcdata" >&6
33660 if test $wx_cv_spbcdata = "yes"; then
33661 cat >>confdefs.h
<<\_ACEOF
33662 #define HAVE_SPBCDATA 1
33668 if test "$TOOLKIT" = "PM" ; then
33671 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
33674 if test "$wxUSE_UNIVERSAL" = "yes"; then
33675 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33679 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33680 DISTDIR
="wx\$(TOOLKIT)"
33686 if test "$USE_WIN32" = 1 ; then
33690 GUIDIST
="BASE_DIST"
33696 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33697 if test "$TOOLKIT" = "DFB" ; then
33698 wxUSE_UNICODE_UTF8
=yes
33699 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
33700 wxUSE_UNICODE_UTF8
=yes
33701 elif test "$USE_OS2" = "1" ; then
33702 wxUSE_UNICODE_UTF8
=yes
33704 wxUSE_UNICODE_UTF8
=no
33709 if test "$wxUSE_GUI" = "yes"; then
33710 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33711 echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
33712 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6
33713 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
33714 echo $ECHO_N "(cached) $ECHO_C" >&6
33716 cat >conftest.
$ac_ext <<_ACEOF
33719 cat confdefs.h
>>conftest.
$ac_ext
33720 cat >>conftest.
$ac_ext <<_ACEOF
33721 /* end confdefs.h. */
33724 #include <X11/Xlib.h>
33726 rm -f conftest.
$ac_objext
33727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33728 (eval $ac_compile) 2>conftest.er1
33730 grep -v '^ *+' conftest.er1
>conftest.err
33732 cat conftest.err
>&5
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); } &&
33735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33737 (eval $ac_try) 2>&5
33739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33740 (exit $ac_status); }; } &&
33741 { ac_try
='test -s conftest.$ac_objext'
33742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33743 (eval $ac_try) 2>&5
33745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33746 (exit $ac_status); }; }; then
33747 ac_cv_header_X11_Xlib_h
=yes
33749 echo "$as_me: failed program was:" >&5
33750 sed 's/^/| /' conftest.
$ac_ext >&5
33752 ac_cv_header_X11_Xlib_h
=no
33754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33756 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
33757 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6
33760 echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
33761 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6
33762 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
33763 echo $ECHO_N "(cached) $ECHO_C" >&6
33765 cat >conftest.
$ac_ext <<_ACEOF
33768 cat confdefs.h
>>conftest.
$ac_ext
33769 cat >>conftest.
$ac_ext <<_ACEOF
33770 /* end confdefs.h. */
33772 #if HAVE_X11_XLIB_H
33773 #include <X11/Xlib.h>
33777 #include <X11/XKBlib.h>
33779 rm -f conftest.
$ac_objext
33780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33781 (eval $ac_compile) 2>conftest.er1
33783 grep -v '^ *+' conftest.er1
>conftest.err
33785 cat conftest.err
>&5
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); } &&
33788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33790 (eval $ac_try) 2>&5
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); }; } &&
33794 { ac_try
='test -s conftest.$ac_objext'
33795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33796 (eval $ac_try) 2>&5
33798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33799 (exit $ac_status); }; }; then
33800 ac_cv_header_X11_XKBlib_h
=yes
33802 echo "$as_me: failed program was:" >&5
33803 sed 's/^/| /' conftest.
$ac_ext >&5
33805 ac_cv_header_X11_XKBlib_h
=no
33807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33809 echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
33810 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6
33821 if test "$TOOLKIT" != "MSW" ; then
33823 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
33825 echo "$as_me:$LINENO: checking for sql.h" >&5
33826 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
33827 if test "${ac_cv_header_sql_h+set}" = set; then
33828 echo $ECHO_N "(cached) $ECHO_C" >&6
33830 cat >conftest.
$ac_ext <<_ACEOF
33833 cat confdefs.h
>>conftest.
$ac_ext
33834 cat >>conftest.
$ac_ext <<_ACEOF
33835 /* end confdefs.h. */
33840 rm -f conftest.
$ac_objext
33841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33842 (eval $ac_compile) 2>conftest.er1
33844 grep -v '^ *+' conftest.er1
>conftest.err
33846 cat conftest.err
>&5
33847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33848 (exit $ac_status); } &&
33849 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33851 (eval $ac_try) 2>&5
33853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33854 (exit $ac_status); }; } &&
33855 { ac_try
='test -s conftest.$ac_objext'
33856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33857 (eval $ac_try) 2>&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); }; }; then
33861 ac_cv_header_sql_h
=yes
33863 echo "$as_me: failed program was:" >&5
33864 sed 's/^/| /' conftest.
$ac_ext >&5
33866 ac_cv_header_sql_h
=no
33868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33870 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33871 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
33872 if test $ac_cv_header_sql_h = yes; then
33877 if test "x$found_sql_h" = "x1" ; then
33878 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
33879 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
33880 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
33881 echo $ECHO_N "(cached) $ECHO_C" >&6
33883 ac_check_lib_save_LIBS
=$LIBS
33884 LIBS
="-liodbc $LIBS"
33885 cat >conftest.
$ac_ext <<_ACEOF
33888 cat confdefs.h
>>conftest.
$ac_ext
33889 cat >>conftest.
$ac_ext <<_ACEOF
33890 /* end confdefs.h. */
33892 /* Override any gcc2 internal prototype to avoid an error. */
33896 /* We use char because int might match the return type of a gcc2
33897 builtin and then its argument prototype would still apply. */
33898 char SQLAllocEnv ();
33907 rm -f conftest.
$ac_objext conftest
$ac_exeext
33908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33909 (eval $ac_link) 2>conftest.er1
33911 grep -v '^ *+' conftest.er1
>conftest.err
33913 cat conftest.err
>&5
33914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33915 (exit $ac_status); } &&
33916 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33918 (eval $ac_try) 2>&5
33920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33921 (exit $ac_status); }; } &&
33922 { ac_try
='test -s conftest$ac_exeext'
33923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33924 (eval $ac_try) 2>&5
33926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33927 (exit $ac_status); }; }; then
33928 ac_cv_lib_iodbc_SQLAllocEnv
=yes
33930 echo "$as_me: failed program was:" >&5
33931 sed 's/^/| /' conftest.
$ac_ext >&5
33933 ac_cv_lib_iodbc_SQLAllocEnv
=no
33935 rm -f conftest.err conftest.
$ac_objext \
33936 conftest
$ac_exeext conftest.
$ac_ext
33937 LIBS
=$ac_check_lib_save_LIBS
33939 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33940 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
33941 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33942 ODBC_LINK
=" -liodbc"
33945 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33946 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
33947 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33948 echo $ECHO_N "(cached) $ECHO_C" >&6
33950 ac_check_lib_save_LIBS
=$LIBS
33951 LIBS
="-lunixodbc $LIBS"
33952 cat >conftest.
$ac_ext <<_ACEOF
33955 cat confdefs.h
>>conftest.
$ac_ext
33956 cat >>conftest.
$ac_ext <<_ACEOF
33957 /* end confdefs.h. */
33959 /* Override any gcc2 internal prototype to avoid an error. */
33963 /* We use char because int might match the return type of a gcc2
33964 builtin and then its argument prototype would still apply. */
33965 char SQLAllocEnv ();
33974 rm -f conftest.
$ac_objext conftest
$ac_exeext
33975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33976 (eval $ac_link) 2>conftest.er1
33978 grep -v '^ *+' conftest.er1
>conftest.err
33980 cat conftest.err
>&5
33981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982 (exit $ac_status); } &&
33983 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33985 (eval $ac_try) 2>&5
33987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33988 (exit $ac_status); }; } &&
33989 { ac_try
='test -s conftest$ac_exeext'
33990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33991 (eval $ac_try) 2>&5
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); }; }; then
33995 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
33997 echo "$as_me: failed program was:" >&5
33998 sed 's/^/| /' conftest.
$ac_ext >&5
34000 ac_cv_lib_unixodbc_SQLAllocEnv
=no
34002 rm -f conftest.err conftest.
$ac_objext \
34003 conftest
$ac_exeext conftest.
$ac_ext
34004 LIBS
=$ac_check_lib_save_LIBS
34006 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
34007 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
34008 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
34009 ODBC_LINK
=" -lunixodbc"
34012 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34013 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
34014 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34015 echo $ECHO_N "(cached) $ECHO_C" >&6
34017 ac_check_lib_save_LIBS
=$LIBS
34018 LIBS
="-lodbc $LIBS"
34019 cat >conftest.
$ac_ext <<_ACEOF
34022 cat confdefs.h
>>conftest.
$ac_ext
34023 cat >>conftest.
$ac_ext <<_ACEOF
34024 /* end confdefs.h. */
34026 /* Override any gcc2 internal prototype to avoid an error. */
34030 /* We use char because int might match the return type of a gcc2
34031 builtin and then its argument prototype would still apply. */
34032 char SQLAllocEnv ();
34041 rm -f conftest.
$ac_objext conftest
$ac_exeext
34042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34043 (eval $ac_link) 2>conftest.er1
34045 grep -v '^ *+' conftest.er1
>conftest.err
34047 cat conftest.err
>&5
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); } &&
34050 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34052 (eval $ac_try) 2>&5
34054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34055 (exit $ac_status); }; } &&
34056 { ac_try
='test -s conftest$ac_exeext'
34057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34058 (eval $ac_try) 2>&5
34060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34061 (exit $ac_status); }; }; then
34062 ac_cv_lib_odbc_SQLAllocEnv
=yes
34064 echo "$as_me: failed program was:" >&5
34065 sed 's/^/| /' conftest.
$ac_ext >&5
34067 ac_cv_lib_odbc_SQLAllocEnv
=no
34069 rm -f conftest.err conftest.
$ac_objext \
34070 conftest
$ac_exeext conftest.
$ac_ext
34071 LIBS
=$ac_check_lib_save_LIBS
34073 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
34074 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
34075 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
34076 ODBC_LINK
=" -lodbc"
34086 if test "x$ODBC_LINK" = "x" ; then
34087 if test "$wxUSE_ODBC" = "sys" ; then
34088 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
34089 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
34090 { (exit 1); exit 1; }; }
34092 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
34093 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
34101 if test "$wxUSE_ODBC" = "builtin" ; then
34102 cat >>confdefs.h
<<\_ACEOF
34103 #define wxUSE_BUILTIN_IODBC 1
34109 if test "$wxUSE_ODBC" != "no" ; then
34110 cat >>confdefs.h
<<\_ACEOF
34111 #define wxUSE_ODBC 1
34114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
34116 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
34120 if test "$wxUSE_DISPLAY" = "yes"; then
34121 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34122 echo "$as_me:$LINENO: checking for Xinerama" >&5
34123 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
34126 for ac_dir
in $SEARCH_LIB;
34128 for ac_extension
in a so sl dylib dll.a
; do
34129 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34130 ac_find_libraries
=$ac_dir
34136 if test "$ac_find_libraries" != "" ; then
34138 if test "$ac_find_libraries" = "default location"; then
34141 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34143 if test $result = 0; then
34146 ac_path_to_link
=" -L$ac_find_libraries"
34150 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34151 LDFLAGS
="$LDFLAGS $ac_path_to_link"
34153 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
34154 echo "$as_me:$LINENO: result: yes" >&5
34155 echo "${ECHO_T}yes" >&6
34157 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34158 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
34161 for ac_dir
in $SEARCH_LIB;
34163 for ac_extension
in a so sl dylib dll.a
; do
34164 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34165 ac_find_libraries
=$ac_dir
34171 if test "$ac_find_libraries" != "" ; then
34172 echo "$as_me:$LINENO: result: yes" >&5
34173 echo "${ECHO_T}yes" >&6
34174 echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
34175 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6
34176 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
34177 echo $ECHO_N "(cached) $ECHO_C" >&6
34179 cat >conftest.
$ac_ext <<_ACEOF
34182 cat confdefs.h
>>conftest.
$ac_ext
34183 cat >>conftest.
$ac_ext <<_ACEOF
34184 /* end confdefs.h. */
34186 #if HAVE_X11_XLIB_H
34187 #include <X11/Xlib.h>
34191 #include <X11/extensions/xf86vmode.h>
34193 rm -f conftest.
$ac_objext
34194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34195 (eval $ac_compile) 2>conftest.er1
34197 grep -v '^ *+' conftest.er1
>conftest.err
34199 cat conftest.err
>&5
34200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34201 (exit $ac_status); } &&
34202 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34204 (eval $ac_try) 2>&5
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); }; } &&
34208 { ac_try
='test -s conftest.$ac_objext'
34209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34210 (eval $ac_try) 2>&5
34212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34213 (exit $ac_status); }; }; then
34214 ac_cv_header_X11_extensions_xf86vmode_h
=yes
34216 echo "$as_me: failed program was:" >&5
34217 sed 's/^/| /' conftest.
$ac_ext >&5
34219 ac_cv_header_X11_extensions_xf86vmode_h
=no
34221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34223 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
34224 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6
34225 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
34227 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
34233 echo "$as_me:$LINENO: result: no" >&5
34234 echo "${ECHO_T}no" >&6
34238 echo "$as_me:$LINENO: result: no" >&5
34239 echo "${ECHO_T}no" >&6
34240 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34241 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34244 elif test "$wxUSE_MSW" = 1; then
34245 echo "$as_me:$LINENO: checking for ddraw.h" >&5
34246 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6
34247 if test "${ac_cv_header_ddraw_h+set}" = set; then
34248 echo $ECHO_N "(cached) $ECHO_C" >&6
34250 cat >conftest.
$ac_ext <<_ACEOF
34253 cat confdefs.h
>>conftest.
$ac_ext
34254 cat >>conftest.
$ac_ext <<_ACEOF
34255 /* end confdefs.h. */
34256 #include <windows.h>
34260 rm -f conftest.
$ac_objext
34261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34262 (eval $ac_compile) 2>conftest.er1
34264 grep -v '^ *+' conftest.er1
>conftest.err
34266 cat conftest.err
>&5
34267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34268 (exit $ac_status); } &&
34269 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34271 (eval $ac_try) 2>&5
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); }; } &&
34275 { ac_try
='test -s conftest.$ac_objext'
34276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34277 (eval $ac_try) 2>&5
34279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34280 (exit $ac_status); }; }; then
34281 ac_cv_header_ddraw_h
=yes
34283 echo "$as_me: failed program was:" >&5
34284 sed 's/^/| /' conftest.
$ac_ext >&5
34286 ac_cv_header_ddraw_h
=no
34288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34290 echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34291 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6
34297 if test "$wxUSE_DETECT_SM" = "yes"; then
34298 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34299 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34300 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
34303 for ac_dir
in $SEARCH_LIB;
34305 for ac_extension
in a so sl dylib dll.a
; do
34306 if test -f "$ac_dir/libSM.$ac_extension"; then
34307 ac_find_libraries
=$ac_dir
34313 if test "$ac_find_libraries" != "" ; then
34315 if test "$ac_find_libraries" = "default location"; then
34318 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34320 if test $result = 0; then
34323 ac_path_to_link
=" -L$ac_find_libraries"
34327 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34328 LDFLAGS
="$LDFLAGS $ac_path_to_link"
34330 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
34331 echo "$as_me:$LINENO: result: yes" >&5
34332 echo "${ECHO_T}yes" >&6
34334 echo "$as_me:$LINENO: result: no" >&5
34335 echo "${ECHO_T}no" >&6
34336 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34337 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34338 wxUSE_DETECT_SM
="no"
34341 wxUSE_DETECT_SM
="no"
34348 if test "$wxUSE_OPENGL" = "yes"; then
34349 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
34350 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34351 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34353 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
34354 OPENGL_LIBS
="-framework OpenGL -framework AGL"
34355 elif test "$wxUSE_MSW" = 1; then
34356 OPENGL_LIBS
="-lopengl32 -lglu32"
34358 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34359 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
34362 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
;
34364 if test -f "$ac_dir/GL/gl.h"; then
34365 ac_find_includes
=$ac_dir
34370 if test "$ac_find_includes" != "" ; then
34371 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34372 echo "${ECHO_T}found in $ac_find_includes" >&6
34374 if test "x$ac_find_includes" = "x/usr/include"; then
34375 ac_path_to_include
=""
34377 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
34379 if test $result = 0; then
34380 ac_path_to_include
=""
34382 ac_path_to_include
=" -I$ac_find_includes"
34386 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
34388 echo "$as_me:$LINENO: result: not found" >&5
34389 echo "${ECHO_T}not found" >&6
34392 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34393 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
34394 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34395 echo $ECHO_N "(cached) $ECHO_C" >&6
34397 cat >conftest.
$ac_ext <<_ACEOF
34400 cat confdefs.h
>>conftest.
$ac_ext
34401 cat >>conftest.
$ac_ext <<_ACEOF
34402 /* end confdefs.h. */
34407 rm -f conftest.
$ac_objext
34408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34409 (eval $ac_compile) 2>conftest.er1
34411 grep -v '^ *+' conftest.er1
>conftest.err
34413 cat conftest.err
>&5
34414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415 (exit $ac_status); } &&
34416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34418 (eval $ac_try) 2>&5
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); }; } &&
34422 { ac_try
='test -s conftest.$ac_objext'
34423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34424 (eval $ac_try) 2>&5
34426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34427 (exit $ac_status); }; }; then
34428 ac_cv_header_GL_gl_h
=yes
34430 echo "$as_me: failed program was:" >&5
34431 sed 's/^/| /' conftest.
$ac_ext >&5
34433 ac_cv_header_GL_gl_h
=no
34435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34437 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34438 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
34439 if test $ac_cv_header_GL_gl_h = yes; then
34441 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34442 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34443 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
34444 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34445 echo $ECHO_N "(cached) $ECHO_C" >&6
34447 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34448 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
34450 # Is the header compilable?
34451 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
34452 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
34453 cat >conftest.
$ac_ext <<_ACEOF
34456 cat confdefs.h
>>conftest.
$ac_ext
34457 cat >>conftest.
$ac_ext <<_ACEOF
34458 /* end confdefs.h. */
34459 $ac_includes_default
34460 #include <GL/glu.h>
34462 rm -f conftest.
$ac_objext
34463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34464 (eval $ac_compile) 2>conftest.er1
34466 grep -v '^ *+' conftest.er1
>conftest.err
34468 cat conftest.err
>&5
34469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34470 (exit $ac_status); } &&
34471 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34473 (eval $ac_try) 2>&5
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); }; } &&
34477 { ac_try
='test -s conftest.$ac_objext'
34478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34479 (eval $ac_try) 2>&5
34481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34482 (exit $ac_status); }; }; then
34483 ac_header_compiler
=yes
34485 echo "$as_me: failed program was:" >&5
34486 sed 's/^/| /' conftest.
$ac_ext >&5
34488 ac_header_compiler
=no
34490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34492 echo "${ECHO_T}$ac_header_compiler" >&6
34494 # Is the header present?
34495 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
34496 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
34497 cat >conftest.
$ac_ext <<_ACEOF
34500 cat confdefs.h
>>conftest.
$ac_ext
34501 cat >>conftest.
$ac_ext <<_ACEOF
34502 /* end confdefs.h. */
34503 #include <GL/glu.h>
34505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34506 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34508 grep -v '^ *+' conftest.er1
>conftest.err
34510 cat conftest.err
>&5
34511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34512 (exit $ac_status); } >/dev
/null
; then
34513 if test -s conftest.err
; then
34514 ac_cpp_err
=$ac_c_preproc_warn_flag
34515 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34522 if test -z "$ac_cpp_err"; then
34523 ac_header_preproc
=yes
34525 echo "$as_me: failed program was:" >&5
34526 sed 's/^/| /' conftest.
$ac_ext >&5
34528 ac_header_preproc
=no
34530 rm -f conftest.err conftest.
$ac_ext
34531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34532 echo "${ECHO_T}$ac_header_preproc" >&6
34534 # So? What about this header?
34535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34537 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
34538 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34539 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
34540 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
34541 ac_header_preproc
=yes
34544 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
34545 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
34546 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
34547 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
34548 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
34549 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
34550 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
34551 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
34552 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
34553 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
34554 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
34555 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
34558 ## ----------------------------------------- ##
34559 ## Report this to wx-dev@lists.wxwidgets.org ##
34560 ## ----------------------------------------- ##
34563 sed "s/^/$as_me: WARNING: /" >&2
34566 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34567 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
34568 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34569 echo $ECHO_N "(cached) $ECHO_C" >&6
34571 ac_cv_header_GL_glu_h
=$ac_header_preproc
34573 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34574 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
34577 if test $ac_cv_header_GL_glu_h = yes; then
34581 echo "$as_me:$LINENO: checking for -lGL" >&5
34582 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
34585 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
34587 for ac_extension
in a so sl dylib dll.a
; do
34588 if test -f "$ac_dir/libGL.$ac_extension"; then
34589 ac_find_libraries
=$ac_dir
34595 if test "$ac_find_libraries" != "" ; then
34596 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34597 echo "${ECHO_T}found in $ac_find_libraries" >&6
34600 if test "$ac_find_libraries" = "default location"; then
34603 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34605 if test $result = 0; then
34608 ac_path_to_link
=" -L$ac_find_libraries"
34612 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34613 LDFLAGS_GL
="$ac_path_to_link"
34616 echo "$as_me:$LINENO: checking for -lGLU" >&5
34617 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
34620 for ac_dir
in $SEARCH_LIB;
34622 for ac_extension
in a so sl dylib dll.a
; do
34623 if test -f "$ac_dir/libGLU.$ac_extension"; then
34624 ac_find_libraries
=$ac_dir
34630 if test "$ac_find_libraries" != "" ; then
34632 if test "$ac_find_libraries" = "default location"; then
34635 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34637 if test $result = 0; then
34640 ac_path_to_link
=" -L$ac_find_libraries"
34644 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34645 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34646 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
34650 OPENGL_LIBS
="-lGL -lGLU"
34651 echo "$as_me:$LINENO: result: yes" >&5
34652 echo "${ECHO_T}yes" >&6
34654 echo "$as_me:$LINENO: result: no" >&5
34655 echo "${ECHO_T}no" >&6
34658 echo "$as_me:$LINENO: result: no" >&5
34659 echo "${ECHO_T}no" >&6
34662 if test "$found_gl" != 1; then
34663 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34664 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
34667 for ac_dir
in $SEARCH_LIB;
34669 for ac_extension
in a so sl dylib dll.a
; do
34670 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34671 ac_find_libraries
=$ac_dir
34677 if test "$ac_find_libraries" != "" ; then
34679 if test "$ac_find_libraries" = "default location"; then
34682 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34684 if test $result = 0; then
34687 ac_path_to_link
=" -L$ac_find_libraries"
34691 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
34692 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
34693 echo "$as_me:$LINENO: result: yes" >&5
34694 echo "${ECHO_T}yes" >&6
34696 echo "$as_me:$LINENO: result: no" >&5
34697 echo "${ECHO_T}no" >&6
34709 if test "x$OPENGL_LIBS" = "x"; then
34710 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34711 echo "$as_me: error: OpenGL libraries not available" >&2;}
34712 { (exit 1); exit 1; }; }
34716 if test "$wxUSE_OPENGL" = "yes"; then
34718 cat >>confdefs.h
<<\_ACEOF
34719 #define wxUSE_OPENGL 1
34722 cat >>confdefs.h
<<\_ACEOF
34723 #define wxUSE_GLCANVAS 1
34726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34731 if test -n "$TOOLKIT" ; then
34732 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34737 if test "$wxUSE_SHARED" = "yes"; then
34741 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34742 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34747 if test "$wxUSE_SHARED" = "yes"; then
34751 *-*-cygwin* | *-*-mingw* )
34752 wx_cv_version_script
=no
34756 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34757 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
34758 if test "${wx_cv_version_script+set}" = set; then
34759 echo $ECHO_N "(cached) $ECHO_C" >&6
34762 echo "VER_1 { *; };" >conftest.sym
34763 echo "int main() { return 0; }" >conftest.cpp
34766 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34767 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34769 (eval $ac_try) 2>&5
34771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34772 (exit $ac_status); }; } ; then
34773 if test -s conftest.stderr
; then
34774 wx_cv_version_script
=no
34776 wx_cv_version_script
=yes
34779 wx_cv_version_script
=no
34782 if test $wx_cv_version_script = yes
34784 echo "struct B { virtual ~B() { } }; \
34785 struct D : public B { }; \
34786 void F() { D d; }" > conftest.cpp
34789 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34790 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34792 (eval $ac_try) 2>&5
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); }; } &&
34797 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34798 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34800 (eval $ac_try) 2>&5
34802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34803 (exit $ac_status); }; }
34806 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34807 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34809 (eval $ac_try) 2>&5
34811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34812 (exit $ac_status); }; }
34814 wx_cv_version_script
=yes
34816 wx_cv_version_script
=no
34821 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34822 rm -f conftest1.output conftest2.output conftest3.output
34825 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34826 echo "${ECHO_T}$wx_cv_version_script" >&6
34828 if test $wx_cv_version_script = yes ; then
34829 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34837 if test -n "$GCC"; then
34838 CFLAGS_VISIBILITY
="-fvisibility=hidden"
34839 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
34840 echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34841 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6
34842 if test "${wx_cv_cc_visibility+set}" = set; then
34843 echo $ECHO_N "(cached) $ECHO_C" >&6
34846 wx_save_CXXFLAGS
="$CXXFLAGS"
34847 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34849 ac_cpp
='$CXXCPP $CPPFLAGS'
34850 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34851 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34852 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34854 cat >conftest.
$ac_ext <<_ACEOF
34857 cat confdefs.h
>>conftest.
$ac_ext
34858 cat >>conftest.
$ac_ext <<_ACEOF
34859 /* end confdefs.h. */
34861 /* we need gcc >= 4.0, older versions with visibility support
34862 didn't have class visibility: */
34863 #if defined(__GNUC__) && __GNUC__ < 4
34864 error this gcc is too old;
34867 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34868 extern __attribute__((__visibility__("default"))) int exportedvar;
34869 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34870 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34871 class __attribute__((__visibility__("default"))) Foo {
34883 rm -f conftest.
$ac_objext
34884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34885 (eval $ac_compile) 2>conftest.er1
34887 grep -v '^ *+' conftest.er1
>conftest.err
34889 cat conftest.err
>&5
34890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34891 (exit $ac_status); } &&
34892 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34894 (eval $ac_try) 2>&5
34896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34897 (exit $ac_status); }; } &&
34898 { ac_try
='test -s conftest.$ac_objext'
34899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34900 (eval $ac_try) 2>&5
34902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34903 (exit $ac_status); }; }; then
34904 wx_cv_cc_visibility
=yes
34906 echo "$as_me: failed program was:" >&5
34907 sed 's/^/| /' conftest.
$ac_ext >&5
34909 wx_cv_cc_visibility
=no
34911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34913 ac_cpp
='$CPP $CPPFLAGS'
34914 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34915 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34916 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34918 CXXFLAGS
="$wx_save_CXXFLAGS"
34921 echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34922 echo "${ECHO_T}$wx_cv_cc_visibility" >&6
34923 if test $wx_cv_cc_visibility = yes; then
34924 cat >>confdefs.h
<<\_ACEOF
34925 #define HAVE_VISIBILITY 1
34929 CFLAGS_VISIBILITY
=""
34930 CXXFLAGS_VISIBILITY
=""
34937 if test "x$SUNCXX" = xyes
; then
34938 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34939 WXCONFIG_RPATH
="-R\$libdir"
34942 *-*-linux* | *-*-gnu* )
34943 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34944 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34949 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34951 saveLdflags
="$LDFLAGS"
34952 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34953 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34954 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
34955 cat >conftest.
$ac_ext <<_ACEOF
34958 cat confdefs.h
>>conftest.
$ac_ext
34959 cat >>conftest.
$ac_ext <<_ACEOF
34960 /* end confdefs.h. */
34970 rm -f conftest.
$ac_objext conftest
$ac_exeext
34971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34972 (eval $ac_link) 2>conftest.er1
34974 grep -v '^ *+' conftest.er1
>conftest.err
34976 cat conftest.err
>&5
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); } &&
34979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34981 (eval $ac_try) 2>&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); }; } &&
34985 { ac_try
='test -s conftest$ac_exeext'
34986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34987 (eval $ac_try) 2>&5
34989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34990 (exit $ac_status); }; }; then
34992 echo "$as_me:$LINENO: result: yes" >&5
34993 echo "${ECHO_T}yes" >&6
34994 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34995 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34998 echo "$as_me: failed program was:" >&5
34999 sed 's/^/| /' conftest.
$ac_ext >&5
35002 echo "$as_me:$LINENO: result: no" >&5
35003 echo "${ECHO_T}no" >&6
35004 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35005 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
35006 LDFLAGS
="$saveLdflags -Wl,-R,/"
35007 cat >conftest.
$ac_ext <<_ACEOF
35010 cat confdefs.h
>>conftest.
$ac_ext
35011 cat >>conftest.
$ac_ext <<_ACEOF
35012 /* end confdefs.h. */
35022 rm -f conftest.
$ac_objext conftest
$ac_exeext
35023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35024 (eval $ac_link) 2>conftest.er1
35026 grep -v '^ *+' conftest.er1
>conftest.err
35028 cat conftest.err
>&5
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); } &&
35031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35033 (eval $ac_try) 2>&5
35035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35036 (exit $ac_status); }; } &&
35037 { ac_try
='test -s conftest$ac_exeext'
35038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35039 (eval $ac_try) 2>&5
35041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35042 (exit $ac_status); }; }; then
35044 echo "$as_me:$LINENO: result: yes" >&5
35045 echo "${ECHO_T}yes" >&6
35046 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
35047 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
35050 echo "$as_me: failed program was:" >&5
35051 sed 's/^/| /' conftest.
$ac_ext >&5
35054 echo "$as_me:$LINENO: result: no" >&5
35055 echo "${ECHO_T}no" >&6
35058 rm -f conftest.err conftest.
$ac_objext \
35059 conftest
$ac_exeext conftest.
$ac_ext
35062 rm -f conftest.err conftest.
$ac_objext \
35063 conftest
$ac_exeext conftest.
$ac_ext
35064 LDFLAGS
="$saveLdflags"
35068 install_name_tool
=`which install_name_tool`
35069 if test "$install_name_tool" -a -x "$install_name_tool"; then
35070 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
35071 cat <<EOF >change-install-names
35073 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35074 inst_cmd="install_name_tool "
35075 for i in \${libnames} ; do
35076 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
35080 chmod +x change
-install-names
35084 *-*-cygwin* | *-*-mingw32* )
35085 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35089 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
35090 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
35096 if test $wxUSE_RPATH = "no"; then
35097 SAMPLES_RPATH_FLAG
=''
35098 SAMPLES_RPATH_POSTLINK
=''
35106 config_linkage_component
="-static"
35113 lib_unicode_suffix
=
35115 if test "$wxUSE_UNICODE" = "yes"; then
35116 lib_unicode_suffix
=u
35117 WX_CHARTYPE
="unicode"
35122 WX_DEBUGTYPE
="release"
35124 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
35126 WX_DEBUGTYPE
="debug"
35130 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
35131 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
35134 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35138 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
35140 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
35142 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35144 if test "$cross_compiling" = "yes"; then
35145 HOST_SUFFIX
="-$host_alias"
35146 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
35147 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
35150 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35151 if test "${TOOLKIT_DIR}" = "os2"; then
35152 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35154 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35159 if test "$wxUSE_COCOA" = 1; then
35163 ac_cpp
='$CPP $CPPFLAGS'
35164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35170 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35171 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
35172 cat >conftest.
$ac_ext <<_ACEOF
35175 cat confdefs.h
>>conftest.
$ac_ext
35176 cat >>conftest.
$ac_ext <<_ACEOF
35177 /* end confdefs.h. */
35178 #include <AppKit/NSEvent.h>
35179 #include <CoreFoundation/CoreFoundation.h>
35189 rm -f conftest.
$ac_objext
35190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35191 (eval $ac_compile) 2>conftest.er1
35193 grep -v '^ *+' conftest.er1
>conftest.err
35195 cat conftest.err
>&5
35196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35197 (exit $ac_status); } &&
35198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35200 (eval $ac_try) 2>&5
35202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35203 (exit $ac_status); }; } &&
35204 { ac_try
='test -s conftest.$ac_objext'
35205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35206 (eval $ac_try) 2>&5
35208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35209 (exit $ac_status); }; }; then
35210 echo "$as_me:$LINENO: result: no" >&5
35211 echo "${ECHO_T}no" >&6
35213 echo "$as_me: failed program was:" >&5
35214 sed 's/^/| /' conftest.
$ac_ext >&5
35216 echo "$as_me:$LINENO: result: yes" >&5
35217 echo "${ECHO_T}yes" >&6
35218 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35219 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
35220 cat >conftest.
$ac_ext <<_ACEOF
35223 cat confdefs.h
>>conftest.
$ac_ext
35224 cat >>conftest.
$ac_ext <<_ACEOF
35225 /* end confdefs.h. */
35226 #define __Point__ 1
35227 #include <AppKit/NSEvent.h>
35228 #include <CoreFoundation/CoreFoundation.h>
35238 rm -f conftest.
$ac_objext
35239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35240 (eval $ac_compile) 2>conftest.er1
35242 grep -v '^ *+' conftest.er1
>conftest.err
35244 cat conftest.err
>&5
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); } &&
35247 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35249 (eval $ac_try) 2>&5
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); }; } &&
35253 { ac_try
='test -s conftest.$ac_objext'
35254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35255 (eval $ac_try) 2>&5
35257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35258 (exit $ac_status); }; }; then
35259 echo "$as_me:$LINENO: result: yes" >&5
35260 echo "${ECHO_T}yes" >&6
35261 cat >>confdefs.h
<<\_ACEOF
35262 #define __Point__ 1
35267 echo "$as_me: failed program was:" >&5
35268 sed 's/^/| /' conftest.
$ac_ext >&5
35270 { { echo "$as_me:$LINENO: error: no
35271 See \`config.log' for more details." >&5
35272 echo "$as_me: error: no
35273 See \`config.log' for more details." >&2;}
35274 { (exit 1); exit 1; }; }
35277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35282 ac_cpp
='$CPP $CPPFLAGS'
35283 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35284 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35285 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35289 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
35290 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
35291 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
35293 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
35295 # Extract the first word of "Rez", so it can be a program name with args.
35296 set dummy Rez
; ac_word
=$2
35297 echo "$as_me:$LINENO: checking for $ac_word" >&5
35298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35299 if test "${ac_cv_prog_REZ+set}" = set; then
35300 echo $ECHO_N "(cached) $ECHO_C" >&6
35302 if test -n "$REZ"; then
35303 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
35305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35306 for as_dir
in $PATH
35309 test -z "$as_dir" && as_dir
=.
35310 for ac_exec_ext
in '' $ac_executable_extensions; do
35311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35312 ac_cv_prog_REZ
="Rez"
35313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35319 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
35322 REZ
=$ac_cv_prog_REZ
35323 if test -n "$REZ"; then
35324 echo "$as_me:$LINENO: result: $REZ" >&5
35325 echo "${ECHO_T}$REZ" >&6
35327 echo "$as_me:$LINENO: result: no" >&5
35328 echo "${ECHO_T}no" >&6
35331 # Extract the first word of "DeRez", so it can be a program name with args.
35332 set dummy DeRez
; ac_word
=$2
35333 echo "$as_me:$LINENO: checking for $ac_word" >&5
35334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35335 if test "${ac_cv_prog_DEREZ+set}" = set; then
35336 echo $ECHO_N "(cached) $ECHO_C" >&6
35338 if test -n "$DEREZ"; then
35339 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
35341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35342 for as_dir
in $PATH
35345 test -z "$as_dir" && as_dir
=.
35346 for ac_exec_ext
in '' $ac_executable_extensions; do
35347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35348 ac_cv_prog_DEREZ
="DeRez"
35349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35355 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
35358 DEREZ
=$ac_cv_prog_DEREZ
35359 if test -n "$DEREZ"; then
35360 echo "$as_me:$LINENO: result: $DEREZ" >&5
35361 echo "${ECHO_T}$DEREZ" >&6
35363 echo "$as_me:$LINENO: result: no" >&5
35364 echo "${ECHO_T}no" >&6
35367 # Extract the first word of "SetFile", so it can be a program name with args.
35368 set dummy SetFile
; ac_word
=$2
35369 echo "$as_me:$LINENO: checking for $ac_word" >&5
35370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35371 if test "${ac_cv_prog_SETFILE+set}" = set; then
35372 echo $ECHO_N "(cached) $ECHO_C" >&6
35374 if test -n "$SETFILE"; then
35375 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
35377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35378 for as_dir
in $PATH
35381 test -z "$as_dir" && as_dir
=.
35382 for ac_exec_ext
in '' $ac_executable_extensions; do
35383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35384 ac_cv_prog_SETFILE
="SetFile"
35385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35391 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
35394 SETFILE
=$ac_cv_prog_SETFILE
35395 if test -n "$SETFILE"; then
35396 echo "$as_me:$LINENO: result: $SETFILE" >&5
35397 echo "${ECHO_T}$SETFILE" >&6
35399 echo "$as_me:$LINENO: result: no" >&5
35400 echo "${ECHO_T}no" >&6
35404 MACSETFILE
="\$(SETFILE)"
35406 if test "$wxUSE_MAC" = 1; then
35407 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
35409 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
35411 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
35412 RESCOMP
="echo -n \| $REZ"
35413 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
35419 if test "$wxUSE_PM" = 1; then
35421 WXCONFIG_RESFLAGS
="-ep"
35423 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
35425 POSTLINK_COMMAND
="@true"
35432 echo "$as_me:$LINENO: checking for mode_t" >&5
35433 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
35434 if test "${ac_cv_type_mode_t+set}" = set; then
35435 echo $ECHO_N "(cached) $ECHO_C" >&6
35437 cat >conftest.
$ac_ext <<_ACEOF
35440 cat confdefs.h
>>conftest.
$ac_ext
35441 cat >>conftest.
$ac_ext <<_ACEOF
35442 /* end confdefs.h. */
35443 $ac_includes_default
35449 if (sizeof (mode_t))
35455 rm -f conftest.
$ac_objext
35456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35457 (eval $ac_compile) 2>conftest.er1
35459 grep -v '^ *+' conftest.er1
>conftest.err
35461 cat conftest.err
>&5
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); } &&
35464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35466 (eval $ac_try) 2>&5
35468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469 (exit $ac_status); }; } &&
35470 { ac_try
='test -s conftest.$ac_objext'
35471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35472 (eval $ac_try) 2>&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); }; }; then
35476 ac_cv_type_mode_t
=yes
35478 echo "$as_me: failed program was:" >&5
35479 sed 's/^/| /' conftest.
$ac_ext >&5
35481 ac_cv_type_mode_t
=no
35483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35485 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35486 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
35487 if test $ac_cv_type_mode_t = yes; then
35491 cat >>confdefs.h
<<_ACEOF
35497 echo "$as_me:$LINENO: checking for off_t" >&5
35498 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
35499 if test "${ac_cv_type_off_t+set}" = set; then
35500 echo $ECHO_N "(cached) $ECHO_C" >&6
35502 cat >conftest.
$ac_ext <<_ACEOF
35505 cat confdefs.h
>>conftest.
$ac_ext
35506 cat >>conftest.
$ac_ext <<_ACEOF
35507 /* end confdefs.h. */
35508 $ac_includes_default
35514 if (sizeof (off_t))
35520 rm -f conftest.
$ac_objext
35521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35522 (eval $ac_compile) 2>conftest.er1
35524 grep -v '^ *+' conftest.er1
>conftest.err
35526 cat conftest.err
>&5
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); } &&
35529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35531 (eval $ac_try) 2>&5
35533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35534 (exit $ac_status); }; } &&
35535 { ac_try
='test -s conftest.$ac_objext'
35536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35537 (eval $ac_try) 2>&5
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); }; }; then
35541 ac_cv_type_off_t
=yes
35543 echo "$as_me: failed program was:" >&5
35544 sed 's/^/| /' conftest.
$ac_ext >&5
35546 ac_cv_type_off_t
=no
35548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35550 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35551 echo "${ECHO_T}$ac_cv_type_off_t" >&6
35552 if test $ac_cv_type_off_t = yes; then
35556 cat >>confdefs.h
<<_ACEOF
35562 echo "$as_me:$LINENO: checking for pid_t" >&5
35563 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
35564 if test "${ac_cv_type_pid_t+set}" = set; then
35565 echo $ECHO_N "(cached) $ECHO_C" >&6
35567 cat >conftest.
$ac_ext <<_ACEOF
35570 cat confdefs.h
>>conftest.
$ac_ext
35571 cat >>conftest.
$ac_ext <<_ACEOF
35572 /* end confdefs.h. */
35573 $ac_includes_default
35579 if (sizeof (pid_t))
35585 rm -f conftest.
$ac_objext
35586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35587 (eval $ac_compile) 2>conftest.er1
35589 grep -v '^ *+' conftest.er1
>conftest.err
35591 cat conftest.err
>&5
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); } &&
35594 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35596 (eval $ac_try) 2>&5
35598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35599 (exit $ac_status); }; } &&
35600 { ac_try
='test -s conftest.$ac_objext'
35601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35602 (eval $ac_try) 2>&5
35604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605 (exit $ac_status); }; }; then
35606 ac_cv_type_pid_t
=yes
35608 echo "$as_me: failed program was:" >&5
35609 sed 's/^/| /' conftest.
$ac_ext >&5
35611 ac_cv_type_pid_t
=no
35613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35615 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35616 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
35617 if test $ac_cv_type_pid_t = yes; then
35621 cat >>confdefs.h
<<_ACEOF
35627 echo "$as_me:$LINENO: checking for size_t" >&5
35628 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
35629 if test "${ac_cv_type_size_t+set}" = set; then
35630 echo $ECHO_N "(cached) $ECHO_C" >&6
35632 cat >conftest.
$ac_ext <<_ACEOF
35635 cat confdefs.h
>>conftest.
$ac_ext
35636 cat >>conftest.
$ac_ext <<_ACEOF
35637 /* end confdefs.h. */
35638 $ac_includes_default
35644 if (sizeof (size_t))
35650 rm -f conftest.
$ac_objext
35651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35652 (eval $ac_compile) 2>conftest.er1
35654 grep -v '^ *+' conftest.er1
>conftest.err
35656 cat conftest.err
>&5
35657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658 (exit $ac_status); } &&
35659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35661 (eval $ac_try) 2>&5
35663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35664 (exit $ac_status); }; } &&
35665 { ac_try
='test -s conftest.$ac_objext'
35666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35667 (eval $ac_try) 2>&5
35669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35670 (exit $ac_status); }; }; then
35671 ac_cv_type_size_t
=yes
35673 echo "$as_me: failed program was:" >&5
35674 sed 's/^/| /' conftest.
$ac_ext >&5
35676 ac_cv_type_size_t
=no
35678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35680 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35681 echo "${ECHO_T}$ac_cv_type_size_t" >&6
35682 if test $ac_cv_type_size_t = yes; then
35686 cat >>confdefs.h
<<_ACEOF
35687 #define size_t unsigned
35692 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
35693 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
35694 if test "${ac_cv_type_uid_t+set}" = set; then
35695 echo $ECHO_N "(cached) $ECHO_C" >&6
35697 cat >conftest.
$ac_ext <<_ACEOF
35700 cat confdefs.h
>>conftest.
$ac_ext
35701 cat >>conftest.
$ac_ext <<_ACEOF
35702 /* end confdefs.h. */
35703 #include <sys/types.h>
35706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35707 $EGREP "uid_t" >/dev
/null
2>&1; then
35708 ac_cv_type_uid_t
=yes
35710 ac_cv_type_uid_t
=no
35715 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
35716 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
35717 if test $ac_cv_type_uid_t = no
; then
35719 cat >>confdefs.h
<<\_ACEOF
35724 cat >>confdefs.h
<<\_ACEOF
35731 echo "$as_me:$LINENO: checking for ssize_t" >&5
35732 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
35733 if test "${ac_cv_type_ssize_t+set}" = set; then
35734 echo $ECHO_N "(cached) $ECHO_C" >&6
35736 cat >conftest.
$ac_ext <<_ACEOF
35739 cat confdefs.h
>>conftest.
$ac_ext
35740 cat >>conftest.
$ac_ext <<_ACEOF
35741 /* end confdefs.h. */
35742 $ac_includes_default
35748 if (sizeof (ssize_t))
35754 rm -f conftest.
$ac_objext
35755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35756 (eval $ac_compile) 2>conftest.er1
35758 grep -v '^ *+' conftest.er1
>conftest.err
35760 cat conftest.err
>&5
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); } &&
35763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35765 (eval $ac_try) 2>&5
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); }; } &&
35769 { ac_try
='test -s conftest.$ac_objext'
35770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35771 (eval $ac_try) 2>&5
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); }; }; then
35775 ac_cv_type_ssize_t
=yes
35777 echo "$as_me: failed program was:" >&5
35778 sed 's/^/| /' conftest.
$ac_ext >&5
35780 ac_cv_type_ssize_t
=no
35782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35784 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35785 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
35786 if test $ac_cv_type_ssize_t = yes; then
35788 cat >>confdefs.h
<<_ACEOF
35789 #define HAVE_SSIZE_T 1
35797 ac_cpp
='$CXXCPP $CPPFLAGS'
35798 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35799 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35800 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35801 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35802 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
35803 if test "${wx_cv_size_t_is_uint+set}" = set; then
35804 echo $ECHO_N "(cached) $ECHO_C" >&6
35807 cat >conftest.
$ac_ext <<_ACEOF
35810 cat confdefs.h
>>conftest.
$ac_ext
35811 cat >>conftest.
$ac_ext <<_ACEOF
35812 /* end confdefs.h. */
35813 #include <stddef.h>
35820 struct Foo { void foo(size_t); void foo(unsigned int); };
35828 rm -f conftest.
$ac_objext
35829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35830 (eval $ac_compile) 2>conftest.er1
35832 grep -v '^ *+' conftest.er1
>conftest.err
35834 cat conftest.err
>&5
35835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35836 (exit $ac_status); } &&
35837 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35839 (eval $ac_try) 2>&5
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); }; } &&
35843 { ac_try
='test -s conftest.$ac_objext'
35844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35845 (eval $ac_try) 2>&5
35847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35848 (exit $ac_status); }; }; then
35849 wx_cv_size_t_is_uint
=no
35851 echo "$as_me: failed program was:" >&5
35852 sed 's/^/| /' conftest.
$ac_ext >&5
35854 wx_cv_size_t_is_uint
=yes
35857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35861 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35862 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
35864 if test "$wx_cv_size_t_is_uint" = "yes"; then
35865 cat >>confdefs.h
<<\_ACEOF
35866 #define wxSIZE_T_IS_UINT 1
35870 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35871 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
35872 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35873 echo $ECHO_N "(cached) $ECHO_C" >&6
35875 cat >conftest.
$ac_ext <<_ACEOF
35878 cat confdefs.h
>>conftest.
$ac_ext
35879 cat >>conftest.
$ac_ext <<_ACEOF
35880 /* end confdefs.h. */
35881 #include <stddef.h>
35888 struct Foo { void foo(size_t); void foo(unsigned long); };
35896 rm -f conftest.
$ac_objext
35897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35898 (eval $ac_compile) 2>conftest.er1
35900 grep -v '^ *+' conftest.er1
>conftest.err
35902 cat conftest.err
>&5
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); } &&
35905 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35907 (eval $ac_try) 2>&5
35909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35910 (exit $ac_status); }; } &&
35911 { ac_try
='test -s conftest.$ac_objext'
35912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35913 (eval $ac_try) 2>&5
35915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35916 (exit $ac_status); }; }; then
35917 wx_cv_size_t_is_ulong
=no
35919 echo "$as_me: failed program was:" >&5
35920 sed 's/^/| /' conftest.
$ac_ext >&5
35922 wx_cv_size_t_is_ulong
=yes
35925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35928 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35929 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
35931 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35932 cat >>confdefs.h
<<\_ACEOF
35933 #define wxSIZE_T_IS_ULONG 1
35939 echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35940 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6
35941 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35942 echo $ECHO_N "(cached) $ECHO_C" >&6
35944 cat >conftest.
$ac_ext <<_ACEOF
35947 cat confdefs.h
>>conftest.
$ac_ext
35948 cat >>conftest.
$ac_ext <<_ACEOF
35949 /* end confdefs.h. */
35957 struct Foo { void foo(wchar_t);
35958 void foo(unsigned short);
35959 void foo(unsigned int);
35960 void foo(unsigned long); };
35968 rm -f conftest.
$ac_objext
35969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35970 (eval $ac_compile) 2>conftest.er1
35972 grep -v '^ *+' conftest.er1
>conftest.err
35974 cat conftest.err
>&5
35975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35976 (exit $ac_status); } &&
35977 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35979 (eval $ac_try) 2>&5
35981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35982 (exit $ac_status); }; } &&
35983 { ac_try
='test -s conftest.$ac_objext'
35984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35985 (eval $ac_try) 2>&5
35987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35988 (exit $ac_status); }; }; then
35989 wx_cv_wchar_t_is_separate_type
=yes
35991 echo "$as_me: failed program was:" >&5
35992 sed 's/^/| /' conftest.
$ac_ext >&5
35994 wx_cv_wchar_t_is_separate_type
=no
35997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36000 echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36001 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6
36003 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36004 cat >>confdefs.h
<<\_ACEOF
36005 #define wxWCHAR_T_IS_REAL_TYPE 1
36009 cat >>confdefs.h
<<\_ACEOF
36010 #define wxWCHAR_T_IS_REAL_TYPE 0
36016 ac_cpp
='$CPP $CPPFLAGS'
36017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36022 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36023 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
36024 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36025 echo $ECHO_N "(cached) $ECHO_C" >&6
36028 cat >conftest.
$ac_ext <<_ACEOF
36031 cat confdefs.h
>>conftest.
$ac_ext
36032 cat >>conftest.
$ac_ext <<_ACEOF
36033 /* end confdefs.h. */
36047 rm -f conftest.
$ac_objext
36048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36049 (eval $ac_compile) 2>conftest.er1
36051 grep -v '^ *+' conftest.er1
>conftest.err
36053 cat conftest.err
>&5
36054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36055 (exit $ac_status); } &&
36056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36058 (eval $ac_try) 2>&5
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); }; } &&
36062 { ac_try
='test -s conftest.$ac_objext'
36063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36064 (eval $ac_try) 2>&5
36066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36067 (exit $ac_status); }; }; then
36069 wx_cv_struct_pw_gecos
=yes
36072 echo "$as_me: failed program was:" >&5
36073 sed 's/^/| /' conftest.
$ac_ext >&5
36076 wx_cv_struct_pw_gecos
=no
36080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36084 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36085 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
36087 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36088 cat >>confdefs.h
<<\_ACEOF
36089 #define HAVE_PW_GECOS 1
36095 if test "$wxUSE_WCHAR_T" = "yes"; then
36096 cat >>confdefs.h
<<\_ACEOF
36097 #define wxUSE_WCHAR_T 1
36104 for ac_func
in wcslen
36106 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36107 echo "$as_me:$LINENO: checking for $ac_func" >&5
36108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36109 if eval "test \"\${$as_ac_var+set}\" = set"; then
36110 echo $ECHO_N "(cached) $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 $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36120 #define $ac_func innocuous_$ac_func
36122 /* System header to define __stub macros and hopefully few prototypes,
36123 which can conflict with char $ac_func (); below.
36124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36125 <limits.h> exists even on freestanding compilers. */
36128 # include <limits.h>
36130 # include <assert.h>
36135 /* Override any gcc2 internal prototype to avoid an error. */
36140 /* We use char because int might match the return type of a gcc2
36141 builtin and then its argument prototype would still apply. */
36143 /* The GNU C library defines this for functions which it implements
36144 to always fail with ENOSYS. Some functions are actually named
36145 something starting with __ and the normal name is an alias. */
36146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36149 char (*f) () = $ac_func;
36158 return f != $ac_func;
36163 rm -f conftest.
$ac_objext conftest
$ac_exeext
36164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36165 (eval $ac_link) 2>conftest.er1
36167 grep -v '^ *+' conftest.er1
>conftest.err
36169 cat conftest.err
>&5
36170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36171 (exit $ac_status); } &&
36172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36174 (eval $ac_try) 2>&5
36176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36177 (exit $ac_status); }; } &&
36178 { ac_try
='test -s conftest$ac_exeext'
36179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36180 (eval $ac_try) 2>&5
36182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36183 (exit $ac_status); }; }; then
36184 eval "$as_ac_var=yes"
36186 echo "$as_me: failed program was:" >&5
36187 sed 's/^/| /' conftest.
$ac_ext >&5
36189 eval "$as_ac_var=no"
36191 rm -f conftest.err conftest.
$ac_objext \
36192 conftest
$ac_exeext conftest.
$ac_ext
36194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36196 if test `eval echo '${'$as_ac_var'}'` = yes; then
36197 cat >>confdefs.h
<<_ACEOF
36198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36205 if test "$WCSLEN_FOUND" = 0; then
36206 if test "$TOOLKIT" = "MSW"; then
36207 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36208 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
36209 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36210 echo $ECHO_N "(cached) $ECHO_C" >&6
36212 ac_check_lib_save_LIBS
=$LIBS
36213 LIBS
="-lmsvcrt $LIBS"
36214 cat >conftest.
$ac_ext <<_ACEOF
36217 cat confdefs.h
>>conftest.
$ac_ext
36218 cat >>conftest.
$ac_ext <<_ACEOF
36219 /* end confdefs.h. */
36221 /* Override any gcc2 internal prototype to avoid an error. */
36225 /* We use char because int might match the return type of a gcc2
36226 builtin and then its argument prototype would still apply. */
36236 rm -f conftest.
$ac_objext conftest
$ac_exeext
36237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36238 (eval $ac_link) 2>conftest.er1
36240 grep -v '^ *+' conftest.er1
>conftest.err
36242 cat conftest.err
>&5
36243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36244 (exit $ac_status); } &&
36245 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36247 (eval $ac_try) 2>&5
36249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36250 (exit $ac_status); }; } &&
36251 { ac_try
='test -s conftest$ac_exeext'
36252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36253 (eval $ac_try) 2>&5
36255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36256 (exit $ac_status); }; }; then
36257 ac_cv_lib_msvcrt_wcslen
=yes
36259 echo "$as_me: failed program was:" >&5
36260 sed 's/^/| /' conftest.
$ac_ext >&5
36262 ac_cv_lib_msvcrt_wcslen
=no
36264 rm -f conftest.err conftest.
$ac_objext \
36265 conftest
$ac_exeext conftest.
$ac_ext
36266 LIBS
=$ac_check_lib_save_LIBS
36268 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36269 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
36270 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36275 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36276 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
36277 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36278 echo $ECHO_N "(cached) $ECHO_C" >&6
36280 ac_check_lib_save_LIBS
=$LIBS
36282 cat >conftest.
$ac_ext <<_ACEOF
36285 cat confdefs.h
>>conftest.
$ac_ext
36286 cat >>conftest.
$ac_ext <<_ACEOF
36287 /* end confdefs.h. */
36289 /* Override any gcc2 internal prototype to avoid an error. */
36293 /* We use char because int might match the return type of a gcc2
36294 builtin and then its argument prototype would still apply. */
36304 rm -f conftest.
$ac_objext conftest
$ac_exeext
36305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36306 (eval $ac_link) 2>conftest.er1
36308 grep -v '^ *+' conftest.er1
>conftest.err
36310 cat conftest.err
>&5
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); } &&
36313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36315 (eval $ac_try) 2>&5
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); }; } &&
36319 { ac_try
='test -s conftest$ac_exeext'
36320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36321 (eval $ac_try) 2>&5
36323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36324 (exit $ac_status); }; }; then
36325 ac_cv_lib_w_wcslen
=yes
36327 echo "$as_me: failed program was:" >&5
36328 sed 's/^/| /' conftest.
$ac_ext >&5
36330 ac_cv_lib_w_wcslen
=no
36332 rm -f conftest.err conftest.
$ac_objext \
36333 conftest
$ac_exeext conftest.
$ac_ext
36334 LIBS
=$ac_check_lib_save_LIBS
36336 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36337 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
36338 if test $ac_cv_lib_w_wcslen = yes; then
36348 if test "$WCSLEN_FOUND" = 1; then
36349 cat >>confdefs.h
<<\_ACEOF
36350 #define HAVE_WCSLEN 1
36356 for ac_func
in wcsdup
36358 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36359 echo "$as_me:$LINENO: checking for $ac_func" >&5
36360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36361 if eval "test \"\${$as_ac_var+set}\" = set"; then
36362 echo $ECHO_N "(cached) $ECHO_C" >&6
36364 cat >conftest.
$ac_ext <<_ACEOF
36367 cat confdefs.h
>>conftest.
$ac_ext
36368 cat >>conftest.
$ac_ext <<_ACEOF
36369 /* end confdefs.h. */
36370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36372 #define $ac_func innocuous_$ac_func
36374 /* System header to define __stub macros and hopefully few prototypes,
36375 which can conflict with char $ac_func (); below.
36376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36377 <limits.h> exists even on freestanding compilers. */
36380 # include <limits.h>
36382 # include <assert.h>
36387 /* Override any gcc2 internal prototype to avoid an error. */
36392 /* We use char because int might match the return type of a gcc2
36393 builtin and then its argument prototype would still apply. */
36395 /* The GNU C library defines this for functions which it implements
36396 to always fail with ENOSYS. Some functions are actually named
36397 something starting with __ and the normal name is an alias. */
36398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36401 char (*f) () = $ac_func;
36410 return f != $ac_func;
36415 rm -f conftest.
$ac_objext conftest
$ac_exeext
36416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36417 (eval $ac_link) 2>conftest.er1
36419 grep -v '^ *+' conftest.er1
>conftest.err
36421 cat conftest.err
>&5
36422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36423 (exit $ac_status); } &&
36424 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36426 (eval $ac_try) 2>&5
36428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36429 (exit $ac_status); }; } &&
36430 { ac_try
='test -s conftest$ac_exeext'
36431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36432 (eval $ac_try) 2>&5
36434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36435 (exit $ac_status); }; }; then
36436 eval "$as_ac_var=yes"
36438 echo "$as_me: failed program was:" >&5
36439 sed 's/^/| /' conftest.
$ac_ext >&5
36441 eval "$as_ac_var=no"
36443 rm -f conftest.err conftest.
$ac_objext \
36444 conftest
$ac_exeext conftest.
$ac_ext
36446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36448 if test `eval echo '${'$as_ac_var'}'` = yes; then
36449 cat >>confdefs.h
<<_ACEOF
36450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36457 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36458 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36461 echo "$as_me:$LINENO: checking for mbstate_t" >&5
36462 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
36463 if test "${ac_cv_type_mbstate_t+set}" = set; then
36464 echo $ECHO_N "(cached) $ECHO_C" >&6
36466 cat >conftest.
$ac_ext <<_ACEOF
36469 cat confdefs.h
>>conftest.
$ac_ext
36470 cat >>conftest.
$ac_ext <<_ACEOF
36471 /* end confdefs.h. */
36477 if ((mbstate_t *) 0)
36479 if (sizeof (mbstate_t))
36485 rm -f conftest.
$ac_objext
36486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36487 (eval $ac_compile) 2>conftest.er1
36489 grep -v '^ *+' conftest.er1
>conftest.err
36491 cat conftest.err
>&5
36492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36493 (exit $ac_status); } &&
36494 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36496 (eval $ac_try) 2>&5
36498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36499 (exit $ac_status); }; } &&
36500 { ac_try
='test -s conftest.$ac_objext'
36501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36502 (eval $ac_try) 2>&5
36504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36505 (exit $ac_status); }; }; then
36506 ac_cv_type_mbstate_t
=yes
36508 echo "$as_me: failed program was:" >&5
36509 sed 's/^/| /' conftest.
$ac_ext >&5
36511 ac_cv_type_mbstate_t
=no
36513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36515 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36516 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
36517 if test $ac_cv_type_mbstate_t = yes; then
36519 cat >>confdefs.h
<<_ACEOF
36520 #define HAVE_MBSTATE_T 1
36524 for ac_func
in wcsrtombs
36526 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36527 echo "$as_me:$LINENO: checking for $ac_func" >&5
36528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36529 if eval "test \"\${$as_ac_var+set}\" = set"; then
36530 echo $ECHO_N "(cached) $ECHO_C" >&6
36532 cat >conftest.
$ac_ext <<_ACEOF
36535 cat confdefs.h
>>conftest.
$ac_ext
36536 cat >>conftest.
$ac_ext <<_ACEOF
36537 /* end confdefs.h. */
36538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36540 #define $ac_func innocuous_$ac_func
36542 /* System header to define __stub macros and hopefully few prototypes,
36543 which can conflict with char $ac_func (); below.
36544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36545 <limits.h> exists even on freestanding compilers. */
36548 # include <limits.h>
36550 # include <assert.h>
36555 /* Override any gcc2 internal prototype to avoid an error. */
36560 /* We use char because int might match the return type of a gcc2
36561 builtin and then its argument prototype would still apply. */
36563 /* The GNU C library defines this for functions which it implements
36564 to always fail with ENOSYS. Some functions are actually named
36565 something starting with __ and the normal name is an alias. */
36566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36569 char (*f) () = $ac_func;
36578 return f != $ac_func;
36583 rm -f conftest.
$ac_objext conftest
$ac_exeext
36584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36585 (eval $ac_link) 2>conftest.er1
36587 grep -v '^ *+' conftest.er1
>conftest.err
36589 cat conftest.err
>&5
36590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36591 (exit $ac_status); } &&
36592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36594 (eval $ac_try) 2>&5
36596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36597 (exit $ac_status); }; } &&
36598 { ac_try
='test -s conftest$ac_exeext'
36599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36600 (eval $ac_try) 2>&5
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); }; }; then
36604 eval "$as_ac_var=yes"
36606 echo "$as_me: failed program was:" >&5
36607 sed 's/^/| /' conftest.
$ac_ext >&5
36609 eval "$as_ac_var=no"
36611 rm -f conftest.err conftest.
$ac_objext \
36612 conftest
$ac_exeext conftest.
$ac_ext
36614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36616 if test `eval echo '${'$as_ac_var'}'` = yes; then
36617 cat >>confdefs.h
<<_ACEOF
36618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36627 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36628 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36633 for ac_func
in snprintf vsnprintf
36635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36636 echo "$as_me:$LINENO: checking for $ac_func" >&5
36637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36638 if eval "test \"\${$as_ac_var+set}\" = set"; then
36639 echo $ECHO_N "(cached) $ECHO_C" >&6
36641 cat >conftest.
$ac_ext <<_ACEOF
36644 cat confdefs.h
>>conftest.
$ac_ext
36645 cat >>conftest.
$ac_ext <<_ACEOF
36646 /* end confdefs.h. */
36647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36649 #define $ac_func innocuous_$ac_func
36651 /* System header to define __stub macros and hopefully few prototypes,
36652 which can conflict with char $ac_func (); below.
36653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36654 <limits.h> exists even on freestanding compilers. */
36657 # include <limits.h>
36659 # include <assert.h>
36664 /* Override any gcc2 internal prototype to avoid an error. */
36669 /* We use char because int might match the return type of a gcc2
36670 builtin and then its argument prototype would still apply. */
36672 /* The GNU C library defines this for functions which it implements
36673 to always fail with ENOSYS. Some functions are actually named
36674 something starting with __ and the normal name is an alias. */
36675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36678 char (*f) () = $ac_func;
36687 return f != $ac_func;
36692 rm -f conftest.
$ac_objext conftest
$ac_exeext
36693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36694 (eval $ac_link) 2>conftest.er1
36696 grep -v '^ *+' conftest.er1
>conftest.err
36698 cat conftest.err
>&5
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); } &&
36701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36703 (eval $ac_try) 2>&5
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); }; } &&
36707 { ac_try
='test -s conftest$ac_exeext'
36708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36709 (eval $ac_try) 2>&5
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); }; }; then
36713 eval "$as_ac_var=yes"
36715 echo "$as_me: failed program was:" >&5
36716 sed 's/^/| /' conftest.
$ac_ext >&5
36718 eval "$as_ac_var=no"
36720 rm -f conftest.err conftest.
$ac_objext \
36721 conftest
$ac_exeext conftest.
$ac_ext
36723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36725 if test `eval echo '${'$as_ac_var'}'` = yes; then
36726 cat >>confdefs.h
<<_ACEOF
36727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36734 if test "$ac_cv_func_vsnprintf" = "yes"; then
36735 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36736 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
36737 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36738 echo $ECHO_N "(cached) $ECHO_C" >&6
36741 cat >conftest.
$ac_ext <<_ACEOF
36744 cat confdefs.h
>>conftest.
$ac_ext
36745 cat >>conftest.
$ac_ext <<_ACEOF
36746 /* end confdefs.h. */
36749 #include <stdarg.h>
36751 #if __MSL__ >= 0x6000
36753 using namespace std;
36763 vsnprintf(buf, 10u, "%s", ap);
36769 rm -f conftest.
$ac_objext
36770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36771 (eval $ac_compile) 2>conftest.er1
36773 grep -v '^ *+' conftest.er1
>conftest.err
36775 cat conftest.err
>&5
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); } &&
36778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36780 (eval $ac_try) 2>&5
36782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36783 (exit $ac_status); }; } &&
36784 { ac_try
='test -s conftest.$ac_objext'
36785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36786 (eval $ac_try) 2>&5
36788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36789 (exit $ac_status); }; }; then
36790 wx_cv_func_vsnprintf_decl
=yes
36792 echo "$as_me: failed program was:" >&5
36793 sed 's/^/| /' conftest.
$ac_ext >&5
36795 wx_cv_func_vsnprintf_decl
=no
36798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36802 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36803 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
36805 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36806 cat >>confdefs.h
<<\_ACEOF
36807 #define HAVE_VSNPRINTF_DECL 1
36811 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36812 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
36813 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36814 echo $ECHO_N "(cached) $ECHO_C" >&6
36817 cat >conftest.
$ac_ext <<_ACEOF
36820 cat confdefs.h
>>conftest.
$ac_ext
36821 cat >>conftest.
$ac_ext <<_ACEOF
36822 /* end confdefs.h. */
36825 #include <stdarg.h>
36827 #if __MSL__ >= 0x6000
36829 using namespace std;
36839 const char *fmt = "%s";
36840 vsnprintf(buf, 10u, fmt, ap);
36846 rm -f conftest.
$ac_objext
36847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36848 (eval $ac_compile) 2>conftest.er1
36850 grep -v '^ *+' conftest.er1
>conftest.err
36852 cat conftest.err
>&5
36853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36854 (exit $ac_status); } &&
36855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36857 (eval $ac_try) 2>&5
36859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36860 (exit $ac_status); }; } &&
36861 { ac_try
='test -s conftest.$ac_objext'
36862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36863 (eval $ac_try) 2>&5
36865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36866 (exit $ac_status); }; }; then
36867 wx_cv_func_broken_vsnprintf_decl
=no
36869 echo "$as_me: failed program was:" >&5
36870 sed 's/^/| /' conftest.
$ac_ext >&5
36872 wx_cv_func_broken_vsnprintf_decl
=yes
36875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36879 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36880 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
36882 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36883 cat >>confdefs.h
<<\_ACEOF
36884 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36891 if test "$ac_cv_func_snprintf" = "yes"; then
36892 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36893 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
36894 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36895 echo $ECHO_N "(cached) $ECHO_C" >&6
36898 cat >conftest.
$ac_ext <<_ACEOF
36901 cat confdefs.h
>>conftest.
$ac_ext
36902 cat >>conftest.
$ac_ext <<_ACEOF
36903 /* end confdefs.h. */
36906 #include <stdarg.h>
36908 #if __MSL__ >= 0x6000
36910 using namespace std;
36919 snprintf(buf, 10u, "%s", "wx");
36925 rm -f conftest.
$ac_objext
36926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36927 (eval $ac_compile) 2>conftest.er1
36929 grep -v '^ *+' conftest.er1
>conftest.err
36931 cat conftest.err
>&5
36932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36933 (exit $ac_status); } &&
36934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36936 (eval $ac_try) 2>&5
36938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36939 (exit $ac_status); }; } &&
36940 { ac_try
='test -s conftest.$ac_objext'
36941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36942 (eval $ac_try) 2>&5
36944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36945 (exit $ac_status); }; }; then
36946 wx_cv_func_snprintf_decl
=yes
36948 echo "$as_me: failed program was:" >&5
36949 sed 's/^/| /' conftest.
$ac_ext >&5
36951 wx_cv_func_snprintf_decl
=no
36954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36958 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36959 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
36961 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36962 cat >>confdefs.h
<<\_ACEOF
36963 #define HAVE_SNPRINTF_DECL 1
36967 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
36968 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
36969 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
36970 echo $ECHO_N "(cached) $ECHO_C" >&6
36973 cat >conftest.
$ac_ext <<_ACEOF
36976 cat confdefs.h
>>conftest.
$ac_ext
36977 cat >>conftest.
$ac_ext <<_ACEOF
36978 /* end confdefs.h. */
36981 #include <stdarg.h>
36983 #if __MSL__ >= 0x6000
36985 using namespace std;
36994 const char *fmt = "%s";
36995 snprintf(buf, 10u, fmt, "wx");
37001 rm -f conftest.
$ac_objext
37002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37003 (eval $ac_compile) 2>conftest.er1
37005 grep -v '^ *+' conftest.er1
>conftest.err
37007 cat conftest.err
>&5
37008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37009 (exit $ac_status); } &&
37010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37012 (eval $ac_try) 2>&5
37014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37015 (exit $ac_status); }; } &&
37016 { ac_try
='test -s conftest.$ac_objext'
37017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37018 (eval $ac_try) 2>&5
37020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37021 (exit $ac_status); }; }; then
37022 wx_cv_func_broken_snprintf_decl
=no
37024 echo "$as_me: failed program was:" >&5
37025 sed 's/^/| /' conftest.
$ac_ext >&5
37027 wx_cv_func_broken_snprintf_decl
=yes
37030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37034 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37035 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
37037 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37038 cat >>confdefs.h
<<\_ACEOF
37039 #define HAVE_BROKEN_SNPRINTF_DECL 1
37045 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37047 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37048 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
37049 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37050 echo $ECHO_N "(cached) $ECHO_C" >&6
37053 if test "$cross_compiling" = yes; then
37055 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37056 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37057 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37058 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37059 wx_cv_func_snprintf_pos_params
=no
37063 cat >conftest.
$ac_ext <<_ACEOF
37066 cat confdefs.h
>>conftest.
$ac_ext
37067 cat >>conftest.
$ac_ext <<_ACEOF
37068 /* end confdefs.h. */
37075 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37076 if (strcmp ("2 3 1", buffer) == 0)
37082 rm -f conftest
$ac_exeext
37083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37084 (eval $ac_link) 2>&5
37086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37087 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
37088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37089 (eval $ac_try) 2>&5
37091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37092 (exit $ac_status); }; }; then
37093 wx_cv_func_snprintf_pos_params
=no
37095 echo "$as_me: program exited with status $ac_status" >&5
37096 echo "$as_me: failed program was:" >&5
37097 sed 's/^/| /' conftest.
$ac_ext >&5
37099 ( exit $ac_status )
37100 wx_cv_func_snprintf_pos_params
=yes
37102 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
37107 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37108 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
37110 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37111 cat >>confdefs.h
<<\_ACEOF
37112 #define HAVE_UNIX98_PRINTF 1
37119 if test "$wxUSE_UNICODE" = yes; then
37122 for ac_func
in swprintf
37124 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37125 echo "$as_me:$LINENO: checking for $ac_func" >&5
37126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37127 if eval "test \"\${$as_ac_var+set}\" = set"; then
37128 echo $ECHO_N "(cached) $ECHO_C" >&6
37130 cat >conftest.
$ac_ext <<_ACEOF
37133 cat confdefs.h
>>conftest.
$ac_ext
37134 cat >>conftest.
$ac_ext <<_ACEOF
37135 /* end confdefs.h. */
37136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37138 #define $ac_func innocuous_$ac_func
37140 /* System header to define __stub macros and hopefully few prototypes,
37141 which can conflict with char $ac_func (); below.
37142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37143 <limits.h> exists even on freestanding compilers. */
37146 # include <limits.h>
37148 # include <assert.h>
37153 /* Override any gcc2 internal prototype to avoid an error. */
37158 /* We use char because int might match the return type of a gcc2
37159 builtin and then its argument prototype would still apply. */
37161 /* The GNU C library defines this for functions which it implements
37162 to always fail with ENOSYS. Some functions are actually named
37163 something starting with __ and the normal name is an alias. */
37164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37167 char (*f) () = $ac_func;
37176 return f != $ac_func;
37181 rm -f conftest.
$ac_objext conftest
$ac_exeext
37182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37183 (eval $ac_link) 2>conftest.er1
37185 grep -v '^ *+' conftest.er1
>conftest.err
37187 cat conftest.err
>&5
37188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37189 (exit $ac_status); } &&
37190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37192 (eval $ac_try) 2>&5
37194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37195 (exit $ac_status); }; } &&
37196 { ac_try
='test -s conftest$ac_exeext'
37197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37198 (eval $ac_try) 2>&5
37200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37201 (exit $ac_status); }; }; then
37202 eval "$as_ac_var=yes"
37204 echo "$as_me: failed program was:" >&5
37205 sed 's/^/| /' conftest.
$ac_ext >&5
37207 eval "$as_ac_var=no"
37209 rm -f conftest.err conftest.
$ac_objext \
37210 conftest
$ac_exeext conftest.
$ac_ext
37212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37214 if test `eval echo '${'$as_ac_var'}'` = yes; then
37215 cat >>confdefs.h
<<_ACEOF
37216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37223 if test "$ac_cv_func_swprintf" = "yes"; then
37224 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
37225 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
37226 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
37227 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. */
37238 #include <stdarg.h>
37246 const wchar_t *fmt = L"test";
37247 swprintf(buf, 10u, fmt);
37253 rm -f conftest.
$ac_objext
37254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37255 (eval $ac_compile) 2>conftest.er1
37257 grep -v '^ *+' conftest.er1
>conftest.err
37259 cat conftest.err
>&5
37260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37261 (exit $ac_status); } &&
37262 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37264 (eval $ac_try) 2>&5
37266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37267 (exit $ac_status); }; } &&
37268 { ac_try
='test -s conftest.$ac_objext'
37269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37270 (eval $ac_try) 2>&5
37272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37273 (exit $ac_status); }; }; then
37274 wx_cv_func_broken_swprintf_decl
=no
37276 echo "$as_me: failed program was:" >&5
37277 sed 's/^/| /' conftest.
$ac_ext >&5
37279 wx_cv_func_broken_swprintf_decl
=yes
37282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37286 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
37287 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
37289 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
37290 cat >>confdefs.h
<<\_ACEOF
37291 #define HAVE_BROKEN_SWPRINTF_DECL 1
37297 wchar_headers
="#include <stdio.h>
37298 #include <wchar.h>"
37301 echo "$as_me:$LINENO: checking for widec.h" >&5
37302 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6
37303 if test "${ac_cv_header_widec_h+set}" = set; then
37304 echo $ECHO_N "(cached) $ECHO_C" >&6
37306 cat >conftest.
$ac_ext <<_ACEOF
37309 cat confdefs.h
>>conftest.
$ac_ext
37310 cat >>conftest.
$ac_ext <<_ACEOF
37311 /* end confdefs.h. */
37312 $ac_includes_default
37316 rm -f conftest.
$ac_objext
37317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37318 (eval $ac_compile) 2>conftest.er1
37320 grep -v '^ *+' conftest.er1
>conftest.err
37322 cat conftest.err
>&5
37323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37324 (exit $ac_status); } &&
37325 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37327 (eval $ac_try) 2>&5
37329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37330 (exit $ac_status); }; } &&
37331 { ac_try
='test -s conftest.$ac_objext'
37332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37333 (eval $ac_try) 2>&5
37335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37336 (exit $ac_status); }; }; then
37337 ac_cv_header_widec_h
=yes
37339 echo "$as_me: failed program was:" >&5
37340 sed 's/^/| /' conftest.
$ac_ext >&5
37342 ac_cv_header_widec_h
=no
37344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37346 echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
37347 echo "${ECHO_T}$ac_cv_header_widec_h" >&6
37350 if test "$ac_cv_header_widec_h" = "yes"; then
37351 wchar_headers
="$wchar_headers
37352 #include <widec.h>"
37357 for wx_func
in wputc wputchar putws fputws wprintf vswprintf
37359 echo "$as_me:$LINENO: checking for $wx_func" >&5
37360 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37361 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37362 echo $ECHO_N "(cached) $ECHO_C" >&6
37365 cat >conftest.
$ac_ext <<_ACEOF
37369 cat confdefs.h
>>conftest.
$ac_ext
37370 cat >>conftest.
$ac_ext <<_ACEOF
37371 /* end confdefs.h. */
37374 $ac_includes_default
37390 rm -f conftest.
$ac_objext conftest
$ac_exeext
37391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37392 (eval $ac_link) 2>conftest.er1
37394 grep -v '^ *+' conftest.er1
>conftest.err
37396 cat conftest.err
>&5
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); } &&
37399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37401 (eval $ac_try) 2>&5
37403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37404 (exit $ac_status); }; } &&
37405 { ac_try
='test -s conftest$ac_exeext'
37406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37407 (eval $ac_try) 2>&5
37409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410 (exit $ac_status); }; }; then
37411 eval wx_cv_func_
$wx_func=yes
37413 echo "$as_me: failed program was:" >&5
37414 sed 's/^/| /' conftest.
$ac_ext >&5
37416 eval wx_cv_func_
$wx_func=no
37418 rm -f conftest.err conftest.
$ac_objext \
37419 conftest
$ac_exeext conftest.
$ac_ext
37422 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37423 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37425 if eval test \
$wx_cv_func_$wx_func = yes
37427 cat >>confdefs.h
<<_ACEOF
37428 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37439 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37440 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
37441 cat >conftest.
$ac_ext <<_ACEOF
37444 cat confdefs.h
>>conftest.
$ac_ext
37445 cat >>conftest.
$ac_ext <<_ACEOF
37446 /* end confdefs.h. */
37456 rm -f conftest.
$ac_objext
37457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37458 (eval $ac_compile) 2>conftest.er1
37460 grep -v '^ *+' conftest.er1
>conftest.err
37462 cat conftest.err
>&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); } &&
37465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37467 (eval $ac_try) 2>&5
37469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37470 (exit $ac_status); }; } &&
37471 { ac_try
='test -s conftest.$ac_objext'
37472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37473 (eval $ac_try) 2>&5
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); }; }; then
37477 echo "$as_me:$LINENO: result: yes" >&5
37478 echo "${ECHO_T}yes" >&6
37479 cat >>confdefs.h
<<\_ACEOF
37480 #define HAVE__VSNWPRINTF 1
37484 echo "$as_me: failed program was:" >&5
37485 sed 's/^/| /' conftest.
$ac_ext >&5
37487 echo "$as_me:$LINENO: result: no" >&5
37488 echo "${ECHO_T}no" >&6
37490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
37493 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
37495 for wx_func
in fnmatch
37497 echo "$as_me:$LINENO: checking for $wx_func" >&5
37498 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37499 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37500 echo $ECHO_N "(cached) $ECHO_C" >&6
37503 cat >conftest.
$ac_ext <<_ACEOF
37507 cat confdefs.h
>>conftest.
$ac_ext
37508 cat >>conftest.
$ac_ext <<_ACEOF
37509 /* end confdefs.h. */
37511 #include <fnmatch.h>
37512 $ac_includes_default
37528 rm -f conftest.
$ac_objext conftest
$ac_exeext
37529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37530 (eval $ac_link) 2>conftest.er1
37532 grep -v '^ *+' conftest.er1
>conftest.err
37534 cat conftest.err
>&5
37535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37536 (exit $ac_status); } &&
37537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37539 (eval $ac_try) 2>&5
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); }; } &&
37543 { ac_try
='test -s conftest$ac_exeext'
37544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37545 (eval $ac_try) 2>&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); }; }; then
37549 eval wx_cv_func_
$wx_func=yes
37551 echo "$as_me: failed program was:" >&5
37552 sed 's/^/| /' conftest.
$ac_ext >&5
37554 eval wx_cv_func_
$wx_func=no
37556 rm -f conftest.err conftest.
$ac_objext \
37557 conftest
$ac_exeext conftest.
$ac_ext
37560 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37561 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37563 if eval test \
$wx_cv_func_$wx_func = yes
37565 cat >>confdefs.h
<<_ACEOF
37566 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37578 if test "$wxUSE_FILE" = "yes"; then
37580 for wx_func
in fsync
37582 echo "$as_me:$LINENO: checking for $wx_func" >&5
37583 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37584 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37585 echo $ECHO_N "(cached) $ECHO_C" >&6
37588 cat >conftest.
$ac_ext <<_ACEOF
37592 cat confdefs.h
>>conftest.
$ac_ext
37593 cat >>conftest.
$ac_ext <<_ACEOF
37594 /* end confdefs.h. */
37597 $ac_includes_default
37613 rm -f conftest.
$ac_objext conftest
$ac_exeext
37614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37615 (eval $ac_link) 2>conftest.er1
37617 grep -v '^ *+' conftest.er1
>conftest.err
37619 cat conftest.err
>&5
37620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37621 (exit $ac_status); } &&
37622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37624 (eval $ac_try) 2>&5
37626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); }; } &&
37628 { ac_try
='test -s conftest$ac_exeext'
37629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37630 (eval $ac_try) 2>&5
37632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37633 (exit $ac_status); }; }; then
37634 eval wx_cv_func_
$wx_func=yes
37636 echo "$as_me: failed program was:" >&5
37637 sed 's/^/| /' conftest.
$ac_ext >&5
37639 eval wx_cv_func_
$wx_func=no
37641 rm -f conftest.err conftest.
$ac_objext \
37642 conftest
$ac_exeext conftest.
$ac_ext
37645 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37646 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37648 if eval test \
$wx_cv_func_$wx_func = yes
37650 cat >>confdefs.h
<<_ACEOF
37651 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37664 ac_cpp
='$CXXCPP $CPPFLAGS'
37665 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37666 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37667 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37670 for wx_func
in round
37672 echo "$as_me:$LINENO: checking for $wx_func" >&5
37673 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37674 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37675 echo $ECHO_N "(cached) $ECHO_C" >&6
37678 cat >conftest.
$ac_ext <<_ACEOF
37682 cat confdefs.h
>>conftest.
$ac_ext
37683 cat >>conftest.
$ac_ext <<_ACEOF
37684 /* end confdefs.h. */
37687 $ac_includes_default
37703 rm -f conftest.
$ac_objext conftest
$ac_exeext
37704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37705 (eval $ac_link) 2>conftest.er1
37707 grep -v '^ *+' conftest.er1
>conftest.err
37709 cat conftest.err
>&5
37710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37711 (exit $ac_status); } &&
37712 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37714 (eval $ac_try) 2>&5
37716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37717 (exit $ac_status); }; } &&
37718 { ac_try
='test -s conftest$ac_exeext'
37719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37720 (eval $ac_try) 2>&5
37722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37723 (exit $ac_status); }; }; then
37724 eval wx_cv_func_
$wx_func=yes
37726 echo "$as_me: failed program was:" >&5
37727 sed 's/^/| /' conftest.
$ac_ext >&5
37729 eval wx_cv_func_
$wx_func=no
37731 rm -f conftest.err conftest.
$ac_objext \
37732 conftest
$ac_exeext conftest.
$ac_ext
37735 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37736 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37738 if eval test \
$wx_cv_func_$wx_func = yes
37740 cat >>confdefs.h
<<_ACEOF
37741 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37752 ac_cpp
='$CPP $CPPFLAGS'
37753 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37754 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37755 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37758 if test "$TOOLKIT" != "MSW"; then
37764 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
37765 if test "${with_libiconv_prefix+set}" = set; then
37766 withval
="$with_libiconv_prefix"
37768 for dir
in `echo "$withval" | tr : ' '`; do
37769 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
37770 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
37775 echo "$as_me:$LINENO: checking for iconv" >&5
37776 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
37777 if test "${am_cv_func_iconv+set}" = set; then
37778 echo $ECHO_N "(cached) $ECHO_C" >&6
37781 am_cv_func_iconv
="no, consider installing GNU libiconv"
37783 cat >conftest.
$ac_ext <<_ACEOF
37786 cat confdefs.h
>>conftest.
$ac_ext
37787 cat >>conftest.
$ac_ext <<_ACEOF
37788 /* end confdefs.h. */
37789 #include <stdlib.h>
37794 iconv_t cd = iconv_open("","");
37795 iconv(cd,NULL,NULL,NULL,NULL);
37801 rm -f conftest.
$ac_objext conftest
$ac_exeext
37802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37803 (eval $ac_link) 2>conftest.er1
37805 grep -v '^ *+' conftest.er1
>conftest.err
37807 cat conftest.err
>&5
37808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37809 (exit $ac_status); } &&
37810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37812 (eval $ac_try) 2>&5
37814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37815 (exit $ac_status); }; } &&
37816 { ac_try
='test -s conftest$ac_exeext'
37817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37818 (eval $ac_try) 2>&5
37820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37821 (exit $ac_status); }; }; then
37822 am_cv_func_iconv
=yes
37824 echo "$as_me: failed program was:" >&5
37825 sed 's/^/| /' conftest.
$ac_ext >&5
37828 rm -f conftest.err conftest.
$ac_objext \
37829 conftest
$ac_exeext conftest.
$ac_ext
37830 if test "$am_cv_func_iconv" != yes; then
37831 am_save_LIBS
="$LIBS"
37832 LIBS
="$LIBS -liconv"
37833 cat >conftest.
$ac_ext <<_ACEOF
37836 cat confdefs.h
>>conftest.
$ac_ext
37837 cat >>conftest.
$ac_ext <<_ACEOF
37838 /* end confdefs.h. */
37839 #include <stdlib.h>
37844 iconv_t cd = iconv_open("","");
37845 iconv(cd,NULL,NULL,NULL,NULL);
37851 rm -f conftest.
$ac_objext conftest
$ac_exeext
37852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37853 (eval $ac_link) 2>conftest.er1
37855 grep -v '^ *+' conftest.er1
>conftest.err
37857 cat conftest.err
>&5
37858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37859 (exit $ac_status); } &&
37860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37862 (eval $ac_try) 2>&5
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); }; } &&
37866 { ac_try
='test -s conftest$ac_exeext'
37867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37868 (eval $ac_try) 2>&5
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); }; }; then
37872 am_cv_lib_iconv
=yes
37873 am_cv_func_iconv
=yes
37875 echo "$as_me: failed program was:" >&5
37876 sed 's/^/| /' conftest.
$ac_ext >&5
37879 rm -f conftest.err conftest.
$ac_objext \
37880 conftest
$ac_exeext conftest.
$ac_ext
37881 LIBS
="$am_save_LIBS"
37885 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37886 echo "${ECHO_T}$am_cv_func_iconv" >&6
37887 if test "$am_cv_func_iconv" = yes; then
37889 cat >>confdefs.h
<<\_ACEOF
37890 #define HAVE_ICONV 1
37893 echo "$as_me:$LINENO: checking if iconv needs const" >&5
37894 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
37895 if test "${wx_cv_func_iconv_const+set}" = set; then
37896 echo $ECHO_N "(cached) $ECHO_C" >&6
37898 cat >conftest.
$ac_ext <<_ACEOF
37901 cat confdefs.h
>>conftest.
$ac_ext
37902 cat >>conftest.
$ac_ext <<_ACEOF
37903 /* end confdefs.h. */
37905 #include <stdlib.h>
37911 #if defined(__STDC__) || defined(__cplusplus)
37912 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37925 rm -f conftest.
$ac_objext
37926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37927 (eval $ac_compile) 2>conftest.er1
37929 grep -v '^ *+' conftest.er1
>conftest.err
37931 cat conftest.err
>&5
37932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37933 (exit $ac_status); } &&
37934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37936 (eval $ac_try) 2>&5
37938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37939 (exit $ac_status); }; } &&
37940 { ac_try
='test -s conftest.$ac_objext'
37941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37942 (eval $ac_try) 2>&5
37944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37945 (exit $ac_status); }; }; then
37946 wx_cv_func_iconv_const
="no"
37948 echo "$as_me: failed program was:" >&5
37949 sed 's/^/| /' conftest.
$ac_ext >&5
37951 wx_cv_func_iconv_const
="yes"
37954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37957 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37958 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
37961 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37962 iconv_const
="const"
37966 cat >>confdefs.h
<<_ACEOF
37967 #define ICONV_CONST $iconv_const
37972 if test "$am_cv_lib_iconv" = yes; then
37977 LIBS
="$LIBICONV $LIBS"
37979 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37981 for ac_func
in sigaction
37983 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37984 echo "$as_me:$LINENO: checking for $ac_func" >&5
37985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37986 if eval "test \"\${$as_ac_var+set}\" = set"; then
37987 echo $ECHO_N "(cached) $ECHO_C" >&6
37989 cat >conftest.
$ac_ext <<_ACEOF
37992 cat confdefs.h
>>conftest.
$ac_ext
37993 cat >>conftest.
$ac_ext <<_ACEOF
37994 /* end confdefs.h. */
37995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37997 #define $ac_func innocuous_$ac_func
37999 /* System header to define __stub macros and hopefully few prototypes,
38000 which can conflict with char $ac_func (); below.
38001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38002 <limits.h> exists even on freestanding compilers. */
38005 # include <limits.h>
38007 # include <assert.h>
38012 /* Override any gcc2 internal prototype to avoid an error. */
38017 /* We use char because int might match the return type of a gcc2
38018 builtin and then its argument prototype would still apply. */
38020 /* The GNU C library defines this for functions which it implements
38021 to always fail with ENOSYS. Some functions are actually named
38022 something starting with __ and the normal name is an alias. */
38023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38026 char (*f) () = $ac_func;
38035 return f != $ac_func;
38040 rm -f conftest.
$ac_objext conftest
$ac_exeext
38041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38042 (eval $ac_link) 2>conftest.er1
38044 grep -v '^ *+' conftest.er1
>conftest.err
38046 cat conftest.err
>&5
38047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38048 (exit $ac_status); } &&
38049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38051 (eval $ac_try) 2>&5
38053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38054 (exit $ac_status); }; } &&
38055 { ac_try
='test -s conftest$ac_exeext'
38056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38057 (eval $ac_try) 2>&5
38059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38060 (exit $ac_status); }; }; then
38061 eval "$as_ac_var=yes"
38063 echo "$as_me: failed program was:" >&5
38064 sed 's/^/| /' conftest.
$ac_ext >&5
38066 eval "$as_ac_var=no"
38068 rm -f conftest.err conftest.
$ac_objext \
38069 conftest
$ac_exeext conftest.
$ac_ext
38071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38073 if test `eval echo '${'$as_ac_var'}'` = yes; then
38074 cat >>confdefs.h
<<_ACEOF
38075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38082 if test "$ac_cv_func_sigaction" = "no"; then
38083 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38084 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38085 wxUSE_ON_FATAL_EXCEPTION
=no
38088 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38089 echo "$as_me:$LINENO: checking for sa_handler type" >&5
38090 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
38091 if test "${wx_cv_type_sa_handler+set}" = set; then
38092 echo $ECHO_N "(cached) $ECHO_C" >&6
38096 ac_cpp
='$CXXCPP $CPPFLAGS'
38097 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38098 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38099 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38101 cat >conftest.
$ac_ext <<_ACEOF
38104 cat confdefs.h
>>conftest.
$ac_ext
38105 cat >>conftest.
$ac_ext <<_ACEOF
38106 /* end confdefs.h. */
38107 #include <signal.h>
38112 extern void testSigHandler(int);
38114 struct sigaction sa;
38115 sa.sa_handler = testSigHandler;
38121 rm -f conftest.
$ac_objext
38122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38123 (eval $ac_compile) 2>conftest.er1
38125 grep -v '^ *+' conftest.er1
>conftest.err
38127 cat conftest.err
>&5
38128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38129 (exit $ac_status); } &&
38130 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38132 (eval $ac_try) 2>&5
38134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38135 (exit $ac_status); }; } &&
38136 { ac_try
='test -s conftest.$ac_objext'
38137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38138 (eval $ac_try) 2>&5
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); }; }; then
38143 wx_cv_type_sa_handler
=int
38146 echo "$as_me: failed program was:" >&5
38147 sed 's/^/| /' conftest.
$ac_ext >&5
38150 wx_cv_type_sa_handler
=void
38153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38155 ac_cpp
='$CPP $CPPFLAGS'
38156 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38157 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38158 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38162 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38163 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
38165 cat >>confdefs.h
<<_ACEOF
38166 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38172 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38173 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38174 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
38175 if test "${wx_cv_func_backtrace+set}" = set; then
38176 echo $ECHO_N "(cached) $ECHO_C" >&6
38180 ac_cpp
='$CXXCPP $CPPFLAGS'
38181 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38182 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38183 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38185 cat >conftest.
$ac_ext <<_ACEOF
38188 cat confdefs.h
>>conftest.
$ac_ext
38189 cat >>conftest.
$ac_ext <<_ACEOF
38190 /* end confdefs.h. */
38191 #include <execinfo.h>
38199 backtrace(trace, 1);
38200 messages = backtrace_symbols(trace, 1);
38206 rm -f conftest.
$ac_objext
38207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38208 (eval $ac_compile) 2>conftest.er1
38210 grep -v '^ *+' conftest.er1
>conftest.err
38212 cat conftest.err
>&5
38213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38214 (exit $ac_status); } &&
38215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38217 (eval $ac_try) 2>&5
38219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38220 (exit $ac_status); }; } &&
38221 { ac_try
='test -s conftest.$ac_objext'
38222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38223 (eval $ac_try) 2>&5
38225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38226 (exit $ac_status); }; }; then
38227 wx_cv_func_backtrace
=yes
38229 echo "$as_me: failed program was:" >&5
38230 sed 's/^/| /' conftest.
$ac_ext >&5
38232 wx_cv_func_backtrace
=no
38235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38237 ac_cpp
='$CPP $CPPFLAGS'
38238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38245 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38246 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
38249 if test "$wx_cv_func_backtrace" = "no"; then
38250 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38251 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38252 wxUSE_STACKWALKER
=no
38254 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38255 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
38256 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38257 echo $ECHO_N "(cached) $ECHO_C" >&6
38261 ac_cpp
='$CXXCPP $CPPFLAGS'
38262 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38263 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38264 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38266 cat >conftest.
$ac_ext <<_ACEOF
38269 cat confdefs.h
>>conftest.
$ac_ext
38270 cat >>conftest.
$ac_ext <<_ACEOF
38271 /* end confdefs.h. */
38272 #include <cxxabi.h>
38278 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38284 rm -f conftest.
$ac_objext conftest
$ac_exeext
38285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38286 (eval $ac_link) 2>conftest.er1
38288 grep -v '^ *+' conftest.er1
>conftest.err
38290 cat conftest.err
>&5
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); } &&
38293 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38295 (eval $ac_try) 2>&5
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); }; } &&
38299 { ac_try
='test -s conftest$ac_exeext'
38300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38301 (eval $ac_try) 2>&5
38303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38304 (exit $ac_status); }; }; then
38305 wx_cv_func_cxa_demangle
=yes
38307 echo "$as_me: failed program was:" >&5
38308 sed 's/^/| /' conftest.
$ac_ext >&5
38310 wx_cv_func_cxa_demangle
=no
38313 rm -f conftest.err conftest.
$ac_objext \
38314 conftest
$ac_exeext conftest.
$ac_ext
38316 ac_cpp
='$CPP $CPPFLAGS'
38317 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38318 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38319 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38324 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38325 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
38327 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38328 cat >>confdefs.h
<<\_ACEOF
38329 #define HAVE_CXA_DEMANGLE 1
38336 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
38337 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38338 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38339 wxUSE_STACKWALKER
=no
38345 for ac_func
in mkstemp mktemp
38347 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38348 echo "$as_me:$LINENO: checking for $ac_func" >&5
38349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38350 if eval "test \"\${$as_ac_var+set}\" = set"; then
38351 echo $ECHO_N "(cached) $ECHO_C" >&6
38353 cat >conftest.
$ac_ext <<_ACEOF
38356 cat confdefs.h
>>conftest.
$ac_ext
38357 cat >>conftest.
$ac_ext <<_ACEOF
38358 /* end confdefs.h. */
38359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38361 #define $ac_func innocuous_$ac_func
38363 /* System header to define __stub macros and hopefully few prototypes,
38364 which can conflict with char $ac_func (); below.
38365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38366 <limits.h> exists even on freestanding compilers. */
38369 # include <limits.h>
38371 # include <assert.h>
38376 /* Override any gcc2 internal prototype to avoid an error. */
38381 /* We use char because int might match the return type of a gcc2
38382 builtin and then its argument prototype would still apply. */
38384 /* The GNU C library defines this for functions which it implements
38385 to always fail with ENOSYS. Some functions are actually named
38386 something starting with __ and the normal name is an alias. */
38387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38390 char (*f) () = $ac_func;
38399 return f != $ac_func;
38404 rm -f conftest.
$ac_objext conftest
$ac_exeext
38405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38406 (eval $ac_link) 2>conftest.er1
38408 grep -v '^ *+' conftest.er1
>conftest.err
38410 cat conftest.err
>&5
38411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 (exit $ac_status); } &&
38413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38415 (eval $ac_try) 2>&5
38417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38418 (exit $ac_status); }; } &&
38419 { ac_try
='test -s conftest$ac_exeext'
38420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38421 (eval $ac_try) 2>&5
38423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38424 (exit $ac_status); }; }; then
38425 eval "$as_ac_var=yes"
38427 echo "$as_me: failed program was:" >&5
38428 sed 's/^/| /' conftest.
$ac_ext >&5
38430 eval "$as_ac_var=no"
38432 rm -f conftest.err conftest.
$ac_objext \
38433 conftest
$ac_exeext conftest.
$ac_ext
38435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38437 if test `eval echo '${'$as_ac_var'}'` = yes; then
38438 cat >>confdefs.h
<<_ACEOF
38439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38446 echo "$as_me:$LINENO: checking for statfs" >&5
38447 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
38448 if test "${wx_cv_func_statfs+set}" = set; then
38449 echo $ECHO_N "(cached) $ECHO_C" >&6
38451 cat >conftest.
$ac_ext <<_ACEOF
38454 cat confdefs.h
>>conftest.
$ac_ext
38455 cat >>conftest.
$ac_ext <<_ACEOF
38456 /* end confdefs.h. */
38458 #if defined(__BSD__)
38459 #include <sys/param.h>
38460 #include <sys/mount.h>
38462 #include <sys/vfs.h>
38480 rm -f conftest.
$ac_objext
38481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38482 (eval $ac_compile) 2>conftest.er1
38484 grep -v '^ *+' conftest.er1
>conftest.err
38486 cat conftest.err
>&5
38487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38488 (exit $ac_status); } &&
38489 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38491 (eval $ac_try) 2>&5
38493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38494 (exit $ac_status); }; } &&
38495 { ac_try
='test -s conftest.$ac_objext'
38496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38497 (eval $ac_try) 2>&5
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); }; }; then
38501 wx_cv_func_statfs
=yes
38503 echo "$as_me: failed program was:" >&5
38504 sed 's/^/| /' conftest.
$ac_ext >&5
38506 wx_cv_func_statfs
=no
38509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38512 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38513 echo "${ECHO_T}$wx_cv_func_statfs" >&6
38515 if test "$wx_cv_func_statfs" = "yes"; then
38516 echo "$as_me:$LINENO: checking for statfs declaration" >&5
38517 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
38518 if test "${wx_cv_func_statfs_decl+set}" = set; then
38519 echo $ECHO_N "(cached) $ECHO_C" >&6
38522 ac_cpp
='$CXXCPP $CPPFLAGS'
38523 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38524 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38525 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38527 cat >conftest.
$ac_ext <<_ACEOF
38530 cat confdefs.h
>>conftest.
$ac_ext
38531 cat >>conftest.
$ac_ext <<_ACEOF
38532 /* end confdefs.h. */
38534 #if defined(__BSD__)
38535 #include <sys/param.h>
38536 #include <sys/mount.h>
38538 #include <sys/vfs.h>
38552 rm -f conftest.
$ac_objext
38553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38554 (eval $ac_compile) 2>conftest.er1
38556 grep -v '^ *+' conftest.er1
>conftest.err
38558 cat conftest.err
>&5
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); } &&
38561 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38563 (eval $ac_try) 2>&5
38565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38566 (exit $ac_status); }; } &&
38567 { ac_try
='test -s conftest.$ac_objext'
38568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38569 (eval $ac_try) 2>&5
38571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38572 (exit $ac_status); }; }; then
38573 wx_cv_func_statfs_decl
=yes
38575 echo "$as_me: failed program was:" >&5
38576 sed 's/^/| /' conftest.
$ac_ext >&5
38578 wx_cv_func_statfs_decl
=no
38581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38583 ac_cpp
='$CPP $CPPFLAGS'
38584 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38585 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38586 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38590 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38591 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
38593 if test "$wx_cv_func_statfs_decl" = "yes"; then
38594 cat >>confdefs.h
<<\_ACEOF
38595 #define HAVE_STATFS_DECL 1
38600 wx_cv_type_statvfs_t
="struct statfs"
38601 cat >>confdefs.h
<<\_ACEOF
38602 #define HAVE_STATFS 1
38606 echo "$as_me:$LINENO: checking for statvfs" >&5
38607 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
38608 if test "${wx_cv_func_statvfs+set}" = set; then
38609 echo $ECHO_N "(cached) $ECHO_C" >&6
38611 cat >conftest.
$ac_ext <<_ACEOF
38614 cat confdefs.h
>>conftest.
$ac_ext
38615 cat >>conftest.
$ac_ext <<_ACEOF
38616 /* end confdefs.h. */
38618 #include <stddef.h>
38619 #include <sys/statvfs.h>
38625 statvfs("/", NULL);
38631 rm -f conftest.
$ac_objext
38632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38633 (eval $ac_compile) 2>conftest.er1
38635 grep -v '^ *+' conftest.er1
>conftest.err
38637 cat conftest.err
>&5
38638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38639 (exit $ac_status); } &&
38640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38642 (eval $ac_try) 2>&5
38644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38645 (exit $ac_status); }; } &&
38646 { ac_try
='test -s conftest.$ac_objext'
38647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38648 (eval $ac_try) 2>&5
38650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38651 (exit $ac_status); }; }; then
38652 wx_cv_func_statvfs
=yes
38654 echo "$as_me: failed program was:" >&5
38655 sed 's/^/| /' conftest.
$ac_ext >&5
38657 wx_cv_func_statvfs
=no
38660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38663 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38664 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
38666 if test "$wx_cv_func_statvfs" = "yes"; then
38667 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38668 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
38669 if test "${wx_cv_type_statvfs_t+set}" = set; then
38670 echo $ECHO_N "(cached) $ECHO_C" >&6
38673 ac_cpp
='$CXXCPP $CPPFLAGS'
38674 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38675 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38676 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38678 cat >conftest.
$ac_ext <<_ACEOF
38681 cat confdefs.h
>>conftest.
$ac_ext
38682 cat >>conftest.
$ac_ext <<_ACEOF
38683 /* end confdefs.h. */
38685 #include <sys/statvfs.h>
38702 rm -f conftest.
$ac_objext
38703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38704 (eval $ac_compile) 2>conftest.er1
38706 grep -v '^ *+' conftest.er1
>conftest.err
38708 cat conftest.err
>&5
38709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38710 (exit $ac_status); } &&
38711 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38713 (eval $ac_try) 2>&5
38715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38716 (exit $ac_status); }; } &&
38717 { ac_try
='test -s conftest.$ac_objext'
38718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38719 (eval $ac_try) 2>&5
38721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38722 (exit $ac_status); }; }; then
38723 wx_cv_type_statvfs_t
=statvfs_t
38725 echo "$as_me: failed program was:" >&5
38726 sed 's/^/| /' conftest.
$ac_ext >&5
38729 cat >conftest.
$ac_ext <<_ACEOF
38732 cat confdefs.h
>>conftest.
$ac_ext
38733 cat >>conftest.
$ac_ext <<_ACEOF
38734 /* end confdefs.h. */
38736 #include <sys/statvfs.h>
38753 rm -f conftest.
$ac_objext
38754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38755 (eval $ac_compile) 2>conftest.er1
38757 grep -v '^ *+' conftest.er1
>conftest.err
38759 cat conftest.err
>&5
38760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38761 (exit $ac_status); } &&
38762 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38764 (eval $ac_try) 2>&5
38766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38767 (exit $ac_status); }; } &&
38768 { ac_try
='test -s conftest.$ac_objext'
38769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38770 (eval $ac_try) 2>&5
38772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38773 (exit $ac_status); }; }; then
38774 wx_cv_type_statvfs_t
="struct statvfs"
38776 echo "$as_me: failed program was:" >&5
38777 sed 's/^/| /' conftest.
$ac_ext >&5
38779 wx_cv_type_statvfs_t
="unknown"
38782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38788 ac_cpp
='$CPP $CPPFLAGS'
38789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38795 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38796 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
38798 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38799 cat >>confdefs.h
<<\_ACEOF
38800 #define HAVE_STATVFS 1
38805 wx_cv_type_statvfs_t
="unknown"
38809 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38810 cat >>confdefs.h
<<_ACEOF
38811 #define WX_STATFS_T $wx_cv_type_statvfs_t
38815 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38816 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38819 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38822 for ac_func
in fcntl flock
38824 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38825 echo "$as_me:$LINENO: checking for $ac_func" >&5
38826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38827 if eval "test \"\${$as_ac_var+set}\" = set"; then
38828 echo $ECHO_N "(cached) $ECHO_C" >&6
38830 cat >conftest.
$ac_ext <<_ACEOF
38833 cat confdefs.h
>>conftest.
$ac_ext
38834 cat >>conftest.
$ac_ext <<_ACEOF
38835 /* end confdefs.h. */
38836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38838 #define $ac_func innocuous_$ac_func
38840 /* System header to define __stub macros and hopefully few prototypes,
38841 which can conflict with char $ac_func (); below.
38842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38843 <limits.h> exists even on freestanding compilers. */
38846 # include <limits.h>
38848 # include <assert.h>
38853 /* Override any gcc2 internal prototype to avoid an error. */
38858 /* We use char because int might match the return type of a gcc2
38859 builtin and then its argument prototype would still apply. */
38861 /* The GNU C library defines this for functions which it implements
38862 to always fail with ENOSYS. Some functions are actually named
38863 something starting with __ and the normal name is an alias. */
38864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38867 char (*f) () = $ac_func;
38876 return f != $ac_func;
38881 rm -f conftest.
$ac_objext conftest
$ac_exeext
38882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38883 (eval $ac_link) 2>conftest.er1
38885 grep -v '^ *+' conftest.er1
>conftest.err
38887 cat conftest.err
>&5
38888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38889 (exit $ac_status); } &&
38890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38892 (eval $ac_try) 2>&5
38894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38895 (exit $ac_status); }; } &&
38896 { ac_try
='test -s conftest$ac_exeext'
38897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38898 (eval $ac_try) 2>&5
38900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38901 (exit $ac_status); }; }; then
38902 eval "$as_ac_var=yes"
38904 echo "$as_me: failed program was:" >&5
38905 sed 's/^/| /' conftest.
$ac_ext >&5
38907 eval "$as_ac_var=no"
38909 rm -f conftest.err conftest.
$ac_objext \
38910 conftest
$ac_exeext conftest.
$ac_ext
38912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38914 if test `eval echo '${'$as_ac_var'}'` = yes; then
38915 cat >>confdefs.h
<<_ACEOF
38916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38923 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38924 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38925 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38926 wxUSE_SNGLINST_CHECKER
=no
38931 for ac_func
in timegm
38933 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38934 echo "$as_me:$LINENO: checking for $ac_func" >&5
38935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38936 if eval "test \"\${$as_ac_var+set}\" = set"; then
38937 echo $ECHO_N "(cached) $ECHO_C" >&6
38939 cat >conftest.
$ac_ext <<_ACEOF
38942 cat confdefs.h
>>conftest.
$ac_ext
38943 cat >>conftest.
$ac_ext <<_ACEOF
38944 /* end confdefs.h. */
38945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38947 #define $ac_func innocuous_$ac_func
38949 /* System header to define __stub macros and hopefully few prototypes,
38950 which can conflict with char $ac_func (); below.
38951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38952 <limits.h> exists even on freestanding compilers. */
38955 # include <limits.h>
38957 # include <assert.h>
38962 /* Override any gcc2 internal prototype to avoid an error. */
38967 /* We use char because int might match the return type of a gcc2
38968 builtin and then its argument prototype would still apply. */
38970 /* The GNU C library defines this for functions which it implements
38971 to always fail with ENOSYS. Some functions are actually named
38972 something starting with __ and the normal name is an alias. */
38973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38976 char (*f) () = $ac_func;
38985 return f != $ac_func;
38990 rm -f conftest.
$ac_objext conftest
$ac_exeext
38991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38992 (eval $ac_link) 2>conftest.er1
38994 grep -v '^ *+' conftest.er1
>conftest.err
38996 cat conftest.err
>&5
38997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38998 (exit $ac_status); } &&
38999 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39001 (eval $ac_try) 2>&5
39003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39004 (exit $ac_status); }; } &&
39005 { ac_try
='test -s conftest$ac_exeext'
39006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39007 (eval $ac_try) 2>&5
39009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39010 (exit $ac_status); }; }; then
39011 eval "$as_ac_var=yes"
39013 echo "$as_me: failed program was:" >&5
39014 sed 's/^/| /' conftest.
$ac_ext >&5
39016 eval "$as_ac_var=no"
39018 rm -f conftest.err conftest.
$ac_objext \
39019 conftest
$ac_exeext conftest.
$ac_ext
39021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39023 if test `eval echo '${'$as_ac_var'}'` = yes; then
39024 cat >>confdefs.h
<<_ACEOF
39025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39034 for ac_func
in putenv setenv
39036 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39037 echo "$as_me:$LINENO: checking for $ac_func" >&5
39038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39039 if eval "test \"\${$as_ac_var+set}\" = set"; then
39040 echo $ECHO_N "(cached) $ECHO_C" >&6
39042 cat >conftest.
$ac_ext <<_ACEOF
39045 cat confdefs.h
>>conftest.
$ac_ext
39046 cat >>conftest.
$ac_ext <<_ACEOF
39047 /* end confdefs.h. */
39048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39050 #define $ac_func innocuous_$ac_func
39052 /* System header to define __stub macros and hopefully few prototypes,
39053 which can conflict with char $ac_func (); below.
39054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39055 <limits.h> exists even on freestanding compilers. */
39058 # include <limits.h>
39060 # include <assert.h>
39065 /* Override any gcc2 internal prototype to avoid an error. */
39070 /* We use char because int might match the return type of a gcc2
39071 builtin and then its argument prototype would still apply. */
39073 /* The GNU C library defines this for functions which it implements
39074 to always fail with ENOSYS. Some functions are actually named
39075 something starting with __ and the normal name is an alias. */
39076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39079 char (*f) () = $ac_func;
39088 return f != $ac_func;
39093 rm -f conftest.
$ac_objext conftest
$ac_exeext
39094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39095 (eval $ac_link) 2>conftest.er1
39097 grep -v '^ *+' conftest.er1
>conftest.err
39099 cat conftest.err
>&5
39100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39101 (exit $ac_status); } &&
39102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39104 (eval $ac_try) 2>&5
39106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39107 (exit $ac_status); }; } &&
39108 { ac_try
='test -s conftest$ac_exeext'
39109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39110 (eval $ac_try) 2>&5
39112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39113 (exit $ac_status); }; }; then
39114 eval "$as_ac_var=yes"
39116 echo "$as_me: failed program was:" >&5
39117 sed 's/^/| /' conftest.
$ac_ext >&5
39119 eval "$as_ac_var=no"
39121 rm -f conftest.err conftest.
$ac_objext \
39122 conftest
$ac_exeext conftest.
$ac_ext
39124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39126 if test `eval echo '${'$as_ac_var'}'` = yes; then
39127 cat >>confdefs.h
<<_ACEOF
39128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39135 HAVE_SOME_SLEEP_FUNC
=0
39136 if test "$USE_BEOS" = 1; then
39137 cat >>confdefs.h
<<\_ACEOF
39138 #define HAVE_SLEEP 1
39141 HAVE_SOME_SLEEP_FUNC
=1
39144 if test "$USE_DARWIN" = 1; then
39145 cat >>confdefs.h
<<\_ACEOF
39146 #define HAVE_USLEEP 1
39149 HAVE_SOME_SLEEP_FUNC
=1
39152 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39155 for ac_func
in nanosleep
39157 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39158 echo "$as_me:$LINENO: checking for $ac_func" >&5
39159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39160 if eval "test \"\${$as_ac_var+set}\" = set"; then
39161 echo $ECHO_N "(cached) $ECHO_C" >&6
39163 cat >conftest.
$ac_ext <<_ACEOF
39166 cat confdefs.h
>>conftest.
$ac_ext
39167 cat >>conftest.
$ac_ext <<_ACEOF
39168 /* end confdefs.h. */
39169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39171 #define $ac_func innocuous_$ac_func
39173 /* System header to define __stub macros and hopefully few prototypes,
39174 which can conflict with char $ac_func (); below.
39175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39176 <limits.h> exists even on freestanding compilers. */
39179 # include <limits.h>
39181 # include <assert.h>
39186 /* Override any gcc2 internal prototype to avoid an error. */
39191 /* We use char because int might match the return type of a gcc2
39192 builtin and then its argument prototype would still apply. */
39194 /* The GNU C library defines this for functions which it implements
39195 to always fail with ENOSYS. Some functions are actually named
39196 something starting with __ and the normal name is an alias. */
39197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39200 char (*f) () = $ac_func;
39209 return f != $ac_func;
39214 rm -f conftest.
$ac_objext conftest
$ac_exeext
39215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39216 (eval $ac_link) 2>conftest.er1
39218 grep -v '^ *+' conftest.er1
>conftest.err
39220 cat conftest.err
>&5
39221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222 (exit $ac_status); } &&
39223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39225 (eval $ac_try) 2>&5
39227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39228 (exit $ac_status); }; } &&
39229 { ac_try
='test -s conftest$ac_exeext'
39230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39231 (eval $ac_try) 2>&5
39233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39234 (exit $ac_status); }; }; then
39235 eval "$as_ac_var=yes"
39237 echo "$as_me: failed program was:" >&5
39238 sed 's/^/| /' conftest.
$ac_ext >&5
39240 eval "$as_ac_var=no"
39242 rm -f conftest.err conftest.
$ac_objext \
39243 conftest
$ac_exeext conftest.
$ac_ext
39245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39247 if test `eval echo '${'$as_ac_var'}'` = yes; then
39248 cat >>confdefs.h
<<_ACEOF
39249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39251 cat >>confdefs.h
<<\_ACEOF
39252 #define HAVE_NANOSLEEP 1
39257 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39258 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
39259 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39260 echo $ECHO_N "(cached) $ECHO_C" >&6
39262 ac_check_lib_save_LIBS
=$LIBS
39263 LIBS
="-lposix4 $LIBS"
39264 cat >conftest.
$ac_ext <<_ACEOF
39267 cat confdefs.h
>>conftest.
$ac_ext
39268 cat >>conftest.
$ac_ext <<_ACEOF
39269 /* end confdefs.h. */
39271 /* Override any gcc2 internal prototype to avoid an error. */
39275 /* We use char because int might match the return type of a gcc2
39276 builtin and then its argument prototype would still apply. */
39286 rm -f conftest.
$ac_objext conftest
$ac_exeext
39287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39288 (eval $ac_link) 2>conftest.er1
39290 grep -v '^ *+' conftest.er1
>conftest.err
39292 cat conftest.err
>&5
39293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39294 (exit $ac_status); } &&
39295 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39297 (eval $ac_try) 2>&5
39299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39300 (exit $ac_status); }; } &&
39301 { ac_try
='test -s conftest$ac_exeext'
39302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39303 (eval $ac_try) 2>&5
39305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306 (exit $ac_status); }; }; then
39307 ac_cv_lib_posix4_nanosleep
=yes
39309 echo "$as_me: failed program was:" >&5
39310 sed 's/^/| /' conftest.
$ac_ext >&5
39312 ac_cv_lib_posix4_nanosleep
=no
39314 rm -f conftest.err conftest.
$ac_objext \
39315 conftest
$ac_exeext conftest.
$ac_ext
39316 LIBS
=$ac_check_lib_save_LIBS
39318 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39319 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
39320 if test $ac_cv_lib_posix4_nanosleep = yes; then
39322 cat >>confdefs.h
<<\_ACEOF
39323 #define HAVE_NANOSLEEP 1
39326 POSIX4_LINK
=" -lposix4"
39331 for wx_func
in usleep
39333 echo "$as_me:$LINENO: checking for $wx_func" >&5
39334 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39335 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39336 echo $ECHO_N "(cached) $ECHO_C" >&6
39339 cat >conftest.
$ac_ext <<_ACEOF
39343 cat confdefs.h
>>conftest.
$ac_ext
39344 cat >>conftest.
$ac_ext <<_ACEOF
39345 /* end confdefs.h. */
39348 $ac_includes_default
39364 rm -f conftest.
$ac_objext conftest
$ac_exeext
39365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39366 (eval $ac_link) 2>conftest.er1
39368 grep -v '^ *+' conftest.er1
>conftest.err
39370 cat conftest.err
>&5
39371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39372 (exit $ac_status); } &&
39373 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39375 (eval $ac_try) 2>&5
39377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39378 (exit $ac_status); }; } &&
39379 { ac_try
='test -s conftest$ac_exeext'
39380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39381 (eval $ac_try) 2>&5
39383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39384 (exit $ac_status); }; }; then
39385 eval wx_cv_func_
$wx_func=yes
39387 echo "$as_me: failed program was:" >&5
39388 sed 's/^/| /' conftest.
$ac_ext >&5
39390 eval wx_cv_func_
$wx_func=no
39392 rm -f conftest.err conftest.
$ac_objext \
39393 conftest
$ac_exeext conftest.
$ac_ext
39396 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39397 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39399 if eval test \
$wx_cv_func_$wx_func = yes
39401 cat >>confdefs.h
<<_ACEOF
39402 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39408 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39409 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39426 for wx_func
in uname
39428 echo "$as_me:$LINENO: checking for $wx_func" >&5
39429 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39430 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39431 echo $ECHO_N "(cached) $ECHO_C" >&6
39434 cat >conftest.
$ac_ext <<_ACEOF
39438 cat confdefs.h
>>conftest.
$ac_ext
39439 cat >>conftest.
$ac_ext <<_ACEOF
39440 /* end confdefs.h. */
39442 #include <sys/utsname.h>
39443 $ac_includes_default
39459 rm -f conftest.
$ac_objext conftest
$ac_exeext
39460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39461 (eval $ac_link) 2>conftest.er1
39463 grep -v '^ *+' conftest.er1
>conftest.err
39465 cat conftest.err
>&5
39466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39467 (exit $ac_status); } &&
39468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39470 (eval $ac_try) 2>&5
39472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39473 (exit $ac_status); }; } &&
39474 { ac_try
='test -s conftest$ac_exeext'
39475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39476 (eval $ac_try) 2>&5
39478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39479 (exit $ac_status); }; }; then
39480 eval wx_cv_func_
$wx_func=yes
39482 echo "$as_me: failed program was:" >&5
39483 sed 's/^/| /' conftest.
$ac_ext >&5
39485 eval wx_cv_func_
$wx_func=no
39487 rm -f conftest.err conftest.
$ac_objext \
39488 conftest
$ac_exeext conftest.
$ac_ext
39491 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39492 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39494 if eval test \
$wx_cv_func_$wx_func = yes
39496 cat >>confdefs.h
<<_ACEOF
39497 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39507 if test "$wx_cv_func_uname" != yes; then
39509 for wx_func
in gethostname
39511 echo "$as_me:$LINENO: checking for $wx_func" >&5
39512 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39513 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39514 echo $ECHO_N "(cached) $ECHO_C" >&6
39517 cat >conftest.
$ac_ext <<_ACEOF
39521 cat confdefs.h
>>conftest.
$ac_ext
39522 cat >>conftest.
$ac_ext <<_ACEOF
39523 /* end confdefs.h. */
39526 $ac_includes_default
39542 rm -f conftest.
$ac_objext conftest
$ac_exeext
39543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39544 (eval $ac_link) 2>conftest.er1
39546 grep -v '^ *+' conftest.er1
>conftest.err
39548 cat conftest.err
>&5
39549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39550 (exit $ac_status); } &&
39551 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39553 (eval $ac_try) 2>&5
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); }; } &&
39557 { ac_try
='test -s conftest$ac_exeext'
39558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39559 (eval $ac_try) 2>&5
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); }; }; then
39563 eval wx_cv_func_
$wx_func=yes
39565 echo "$as_me: failed program was:" >&5
39566 sed 's/^/| /' conftest.
$ac_ext >&5
39568 eval wx_cv_func_
$wx_func=no
39570 rm -f conftest.err conftest.
$ac_objext \
39571 conftest
$ac_exeext conftest.
$ac_ext
39574 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39575 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39577 if eval test \
$wx_cv_func_$wx_func = yes
39579 cat >>confdefs.h
<<_ACEOF
39580 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39593 for wx_func
in strtok_r
39595 echo "$as_me:$LINENO: checking for $wx_func" >&5
39596 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39597 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39598 echo $ECHO_N "(cached) $ECHO_C" >&6
39601 cat >conftest.
$ac_ext <<_ACEOF
39605 cat confdefs.h
>>conftest.
$ac_ext
39606 cat >>conftest.
$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39610 $ac_includes_default
39626 rm -f conftest.
$ac_objext conftest
$ac_exeext
39627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39628 (eval $ac_link) 2>conftest.er1
39630 grep -v '^ *+' conftest.er1
>conftest.err
39632 cat conftest.err
>&5
39633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39634 (exit $ac_status); } &&
39635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39637 (eval $ac_try) 2>&5
39639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39640 (exit $ac_status); }; } &&
39641 { ac_try
='test -s conftest$ac_exeext'
39642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39643 (eval $ac_try) 2>&5
39645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39646 (exit $ac_status); }; }; then
39647 eval wx_cv_func_
$wx_func=yes
39649 echo "$as_me: failed program was:" >&5
39650 sed 's/^/| /' conftest.
$ac_ext >&5
39652 eval wx_cv_func_
$wx_func=no
39654 rm -f conftest.err conftest.
$ac_objext \
39655 conftest
$ac_exeext conftest.
$ac_ext
39658 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39659 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39661 if eval test \
$wx_cv_func_$wx_func = yes
39663 cat >>confdefs.h
<<_ACEOF
39664 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39677 for ac_func
in inet_addr
39679 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39680 echo "$as_me:$LINENO: checking for $ac_func" >&5
39681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39682 if eval "test \"\${$as_ac_var+set}\" = set"; then
39683 echo $ECHO_N "(cached) $ECHO_C" >&6
39685 cat >conftest.
$ac_ext <<_ACEOF
39688 cat confdefs.h
>>conftest.
$ac_ext
39689 cat >>conftest.
$ac_ext <<_ACEOF
39690 /* end confdefs.h. */
39691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39693 #define $ac_func innocuous_$ac_func
39695 /* System header to define __stub macros and hopefully few prototypes,
39696 which can conflict with char $ac_func (); below.
39697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39698 <limits.h> exists even on freestanding compilers. */
39701 # include <limits.h>
39703 # include <assert.h>
39708 /* Override any gcc2 internal prototype to avoid an error. */
39713 /* We use char because int might match the return type of a gcc2
39714 builtin and then its argument prototype would still apply. */
39716 /* The GNU C library defines this for functions which it implements
39717 to always fail with ENOSYS. Some functions are actually named
39718 something starting with __ and the normal name is an alias. */
39719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39722 char (*f) () = $ac_func;
39731 return f != $ac_func;
39736 rm -f conftest.
$ac_objext conftest
$ac_exeext
39737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39738 (eval $ac_link) 2>conftest.er1
39740 grep -v '^ *+' conftest.er1
>conftest.err
39742 cat conftest.err
>&5
39743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39744 (exit $ac_status); } &&
39745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39747 (eval $ac_try) 2>&5
39749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39750 (exit $ac_status); }; } &&
39751 { ac_try
='test -s conftest$ac_exeext'
39752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39753 (eval $ac_try) 2>&5
39755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39756 (exit $ac_status); }; }; then
39757 eval "$as_ac_var=yes"
39759 echo "$as_me: failed program was:" >&5
39760 sed 's/^/| /' conftest.
$ac_ext >&5
39762 eval "$as_ac_var=no"
39764 rm -f conftest.err conftest.
$ac_objext \
39765 conftest
$ac_exeext conftest.
$ac_ext
39767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39769 if test `eval echo '${'$as_ac_var'}'` = yes; then
39770 cat >>confdefs.h
<<_ACEOF
39771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39773 cat >>confdefs.h
<<\_ACEOF
39774 #define HAVE_INET_ADDR 1
39779 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39780 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
39781 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39782 echo $ECHO_N "(cached) $ECHO_C" >&6
39784 ac_check_lib_save_LIBS
=$LIBS
39786 cat >conftest.
$ac_ext <<_ACEOF
39789 cat confdefs.h
>>conftest.
$ac_ext
39790 cat >>conftest.
$ac_ext <<_ACEOF
39791 /* end confdefs.h. */
39793 /* Override any gcc2 internal prototype to avoid an error. */
39797 /* We use char because int might match the return type of a gcc2
39798 builtin and then its argument prototype would still apply. */
39808 rm -f conftest.
$ac_objext conftest
$ac_exeext
39809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39810 (eval $ac_link) 2>conftest.er1
39812 grep -v '^ *+' conftest.er1
>conftest.err
39814 cat conftest.err
>&5
39815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39816 (exit $ac_status); } &&
39817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39819 (eval $ac_try) 2>&5
39821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39822 (exit $ac_status); }; } &&
39823 { ac_try
='test -s conftest$ac_exeext'
39824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39825 (eval $ac_try) 2>&5
39827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39828 (exit $ac_status); }; }; then
39829 ac_cv_lib_nsl_inet_addr
=yes
39831 echo "$as_me: failed program was:" >&5
39832 sed 's/^/| /' conftest.
$ac_ext >&5
39834 ac_cv_lib_nsl_inet_addr
=no
39836 rm -f conftest.err conftest.
$ac_objext \
39837 conftest
$ac_exeext conftest.
$ac_ext
39838 LIBS
=$ac_check_lib_save_LIBS
39840 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39841 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
39842 if test $ac_cv_lib_nsl_inet_addr = yes; then
39846 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39847 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
39848 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39849 echo $ECHO_N "(cached) $ECHO_C" >&6
39851 ac_check_lib_save_LIBS
=$LIBS
39852 LIBS
="-lresolv $LIBS"
39853 cat >conftest.
$ac_ext <<_ACEOF
39856 cat confdefs.h
>>conftest.
$ac_ext
39857 cat >>conftest.
$ac_ext <<_ACEOF
39858 /* end confdefs.h. */
39860 /* Override any gcc2 internal prototype to avoid an error. */
39864 /* We use char because int might match the return type of a gcc2
39865 builtin and then its argument prototype would still apply. */
39875 rm -f conftest.
$ac_objext conftest
$ac_exeext
39876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39877 (eval $ac_link) 2>conftest.er1
39879 grep -v '^ *+' conftest.er1
>conftest.err
39881 cat conftest.err
>&5
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); } &&
39884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39886 (eval $ac_try) 2>&5
39888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39889 (exit $ac_status); }; } &&
39890 { ac_try
='test -s conftest$ac_exeext'
39891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39892 (eval $ac_try) 2>&5
39894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39895 (exit $ac_status); }; }; then
39896 ac_cv_lib_resolv_inet_addr
=yes
39898 echo "$as_me: failed program was:" >&5
39899 sed 's/^/| /' conftest.
$ac_ext >&5
39901 ac_cv_lib_resolv_inet_addr
=no
39903 rm -f conftest.err conftest.
$ac_objext \
39904 conftest
$ac_exeext conftest.
$ac_ext
39905 LIBS
=$ac_check_lib_save_LIBS
39907 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39908 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
39909 if test $ac_cv_lib_resolv_inet_addr = yes; then
39913 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39914 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
39915 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39916 echo $ECHO_N "(cached) $ECHO_C" >&6
39918 ac_check_lib_save_LIBS
=$LIBS
39919 LIBS
="-lsocket $LIBS"
39920 cat >conftest.
$ac_ext <<_ACEOF
39923 cat confdefs.h
>>conftest.
$ac_ext
39924 cat >>conftest.
$ac_ext <<_ACEOF
39925 /* end confdefs.h. */
39927 /* Override any gcc2 internal prototype to avoid an error. */
39931 /* We use char because int might match the return type of a gcc2
39932 builtin and then its argument prototype would still apply. */
39942 rm -f conftest.
$ac_objext conftest
$ac_exeext
39943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39944 (eval $ac_link) 2>conftest.er1
39946 grep -v '^ *+' conftest.er1
>conftest.err
39948 cat conftest.err
>&5
39949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39950 (exit $ac_status); } &&
39951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39953 (eval $ac_try) 2>&5
39955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39956 (exit $ac_status); }; } &&
39957 { ac_try
='test -s conftest$ac_exeext'
39958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39959 (eval $ac_try) 2>&5
39961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39962 (exit $ac_status); }; }; then
39963 ac_cv_lib_socket_inet_addr
=yes
39965 echo "$as_me: failed program was:" >&5
39966 sed 's/^/| /' conftest.
$ac_ext >&5
39968 ac_cv_lib_socket_inet_addr
=no
39970 rm -f conftest.err conftest.
$ac_objext \
39971 conftest
$ac_exeext conftest.
$ac_ext
39972 LIBS
=$ac_check_lib_save_LIBS
39974 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39975 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
39976 if test $ac_cv_lib_socket_inet_addr = yes; then
39996 for ac_func
in inet_aton
39998 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39999 echo "$as_me:$LINENO: checking for $ac_func" >&5
40000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40001 if eval "test \"\${$as_ac_var+set}\" = set"; then
40002 echo $ECHO_N "(cached) $ECHO_C" >&6
40004 cat >conftest.
$ac_ext <<_ACEOF
40007 cat confdefs.h
>>conftest.
$ac_ext
40008 cat >>conftest.
$ac_ext <<_ACEOF
40009 /* end confdefs.h. */
40010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40012 #define $ac_func innocuous_$ac_func
40014 /* System header to define __stub macros and hopefully few prototypes,
40015 which can conflict with char $ac_func (); below.
40016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40017 <limits.h> exists even on freestanding compilers. */
40020 # include <limits.h>
40022 # include <assert.h>
40027 /* Override any gcc2 internal prototype to avoid an error. */
40032 /* We use char because int might match the return type of a gcc2
40033 builtin and then its argument prototype would still apply. */
40035 /* The GNU C library defines this for functions which it implements
40036 to always fail with ENOSYS. Some functions are actually named
40037 something starting with __ and the normal name is an alias. */
40038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40041 char (*f) () = $ac_func;
40050 return f != $ac_func;
40055 rm -f conftest.
$ac_objext conftest
$ac_exeext
40056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40057 (eval $ac_link) 2>conftest.er1
40059 grep -v '^ *+' conftest.er1
>conftest.err
40061 cat conftest.err
>&5
40062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40063 (exit $ac_status); } &&
40064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40066 (eval $ac_try) 2>&5
40068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40069 (exit $ac_status); }; } &&
40070 { ac_try
='test -s conftest$ac_exeext'
40071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40072 (eval $ac_try) 2>&5
40074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40075 (exit $ac_status); }; }; then
40076 eval "$as_ac_var=yes"
40078 echo "$as_me: failed program was:" >&5
40079 sed 's/^/| /' conftest.
$ac_ext >&5
40081 eval "$as_ac_var=no"
40083 rm -f conftest.err conftest.
$ac_objext \
40084 conftest
$ac_exeext conftest.
$ac_ext
40086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40088 if test `eval echo '${'$as_ac_var'}'` = yes; then
40089 cat >>confdefs.h
<<_ACEOF
40090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40092 cat >>confdefs.h
<<\_ACEOF
40093 #define HAVE_INET_ATON 1
40098 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40099 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40100 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
40101 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
40102 echo $ECHO_N "(cached) $ECHO_C" >&6
40104 ac_check_lib_save_LIBS
=$LIBS
40105 LIBS
="-l$INET_LINK $LIBS"
40106 cat >conftest.
$ac_ext <<_ACEOF
40109 cat confdefs.h
>>conftest.
$ac_ext
40110 cat >>conftest.
$ac_ext <<_ACEOF
40111 /* end confdefs.h. */
40113 /* Override any gcc2 internal prototype to avoid an error. */
40117 /* We use char because int might match the return type of a gcc2
40118 builtin and then its argument prototype would still apply. */
40128 rm -f conftest.
$ac_objext conftest
$ac_exeext
40129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40130 (eval $ac_link) 2>conftest.er1
40132 grep -v '^ *+' conftest.er1
>conftest.err
40134 cat conftest.err
>&5
40135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40136 (exit $ac_status); } &&
40137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40139 (eval $ac_try) 2>&5
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); }; } &&
40143 { ac_try
='test -s conftest$ac_exeext'
40144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40145 (eval $ac_try) 2>&5
40147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40148 (exit $ac_status); }; }; then
40149 eval "$as_ac_Lib=yes"
40151 echo "$as_me: failed program was:" >&5
40152 sed 's/^/| /' conftest.
$ac_ext >&5
40154 eval "$as_ac_Lib=no"
40156 rm -f conftest.err conftest.
$ac_objext \
40157 conftest
$ac_exeext conftest.
$ac_ext
40158 LIBS
=$ac_check_lib_save_LIBS
40160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
40161 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
40162 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40163 cat >>confdefs.h
<<\_ACEOF
40164 #define HAVE_INET_ATON 1
40174 if test "x$INET_LINK" != "x"; then
40175 cat >>confdefs.h
<<\_ACEOF
40176 #define HAVE_INET_ADDR 1
40179 INET_LINK
=" -l$INET_LINK"
40183 for wx_func
in fdopen
40185 echo "$as_me:$LINENO: checking for $wx_func" >&5
40186 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
40187 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
40188 echo $ECHO_N "(cached) $ECHO_C" >&6
40191 cat >conftest.
$ac_ext <<_ACEOF
40195 cat confdefs.h
>>conftest.
$ac_ext
40196 cat >>conftest.
$ac_ext <<_ACEOF
40197 /* end confdefs.h. */
40200 $ac_includes_default
40216 rm -f conftest.
$ac_objext conftest
$ac_exeext
40217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40218 (eval $ac_link) 2>conftest.er1
40220 grep -v '^ *+' conftest.er1
>conftest.err
40222 cat conftest.err
>&5
40223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224 (exit $ac_status); } &&
40225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40227 (eval $ac_try) 2>&5
40229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40230 (exit $ac_status); }; } &&
40231 { ac_try
='test -s conftest$ac_exeext'
40232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40233 (eval $ac_try) 2>&5
40235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40236 (exit $ac_status); }; }; then
40237 eval wx_cv_func_
$wx_func=yes
40239 echo "$as_me: failed program was:" >&5
40240 sed 's/^/| /' conftest.
$ac_ext >&5
40242 eval wx_cv_func_
$wx_func=no
40244 rm -f conftest.err conftest.
$ac_objext \
40245 conftest
$ac_exeext conftest.
$ac_ext
40248 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
40249 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
40251 if eval test \
$wx_cv_func_$wx_func = yes
40253 cat >>confdefs.h
<<_ACEOF
40254 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40269 cat >confcache
<<\_ACEOF
40270 # This file is a shell script that caches the results of configure
40271 # tests run on this system so they can be shared between configure
40272 # scripts and configure runs, see configure's option --config-cache.
40273 # It is not useful on other systems. If it contains results you don't
40274 # want to keep, you may remove or edit it.
40276 # config.status only pays attention to the cache file if you give it
40277 # the --recheck option to rerun configure.
40279 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40280 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40281 # following values.
40285 # The following way of writing the cache mishandles newlines in values,
40286 # but we know of no workaround that is simple, portable, and efficient.
40287 # So, don't put newlines in cache variables' values.
40288 # Ultrix sh set writes to stderr and can't be redirected directly,
40289 # and sets the high bit in the cache file unless we assign to the vars.
40292 case `(ac_space=' '; set | grep ac_space) 2>&1` in
40294 # `set' does not quote correctly, so add quotes (double-quote
40295 # substitution turns \\\\ into \\, and sed turns \\ into \).
40298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40301 # `set' quotes correctly as required by POSIX, so do not add quotes.
40303 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40310 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40312 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40314 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
40315 if test -w $cache_file; then
40316 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
40317 cat confcache
>$cache_file
40319 echo "not updating unwritable cache $cache_file"
40325 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40331 if test "$wxUSE_THREADS" = "yes" ; then
40332 if test "$USE_BEOS" = 1; then
40333 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40334 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40339 if test "$wxUSE_THREADS" = "yes" ; then
40342 THREAD_OPTS
="-pthread"
40343 if test "x$SUNCXX" = xyes
; then
40344 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
40348 *-*-solaris2* | *-*-sunos4* )
40349 if test "x$GCC" = "xyes"; then
40350 THREAD_OPTS
="-pthreads $THREAD_OPTS"
40354 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
40356 *-*-darwin* | *-*-cygwin* )
40360 THREAD_OPTS
="pthreads"
40363 if test "x$GCC" = "xyes"; then
40364 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
40372 if test "x$GCC" = "xyes"; then
40378 if test "x$GCC" != "xyes"; then
40379 THREAD_OPTS
="-Ethread"
40384 THREAD_OPTS
="$THREAD_OPTS pthread none"
40387 for flag
in $THREAD_OPTS; do
40390 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40391 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
40395 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40396 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
40397 THREADS_CFLAGS
="$flag"
40401 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40402 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
40403 THREADS_LINK
="-l$flag"
40408 save_CFLAGS
="$CFLAGS"
40409 LIBS
="$THREADS_LINK $LIBS"
40410 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
40412 cat >conftest.
$ac_ext <<_ACEOF
40415 cat confdefs.h
>>conftest.
$ac_ext
40416 cat >>conftest.
$ac_ext <<_ACEOF
40417 /* end confdefs.h. */
40418 #include <pthread.h>
40422 pthread_create(0,0,0,0);
40427 rm -f conftest.
$ac_objext conftest
$ac_exeext
40428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40429 (eval $ac_link) 2>conftest.er1
40431 grep -v '^ *+' conftest.er1
>conftest.err
40433 cat conftest.err
>&5
40434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40435 (exit $ac_status); } &&
40436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40438 (eval $ac_try) 2>&5
40440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40441 (exit $ac_status); }; } &&
40442 { ac_try
='test -s conftest$ac_exeext'
40443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40444 (eval $ac_try) 2>&5
40446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40447 (exit $ac_status); }; }; then
40450 echo "$as_me: failed program was:" >&5
40451 sed 's/^/| /' conftest.
$ac_ext >&5
40454 rm -f conftest.err conftest.
$ac_objext \
40455 conftest
$ac_exeext conftest.
$ac_ext
40458 CFLAGS
="$save_CFLAGS"
40460 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40461 echo "${ECHO_T}$THREADS_OK" >&6
40462 if test "x$THREADS_OK" = "xyes"; then
40470 if test "x$THREADS_OK" != "xyes"; then
40472 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40473 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40475 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
40476 LIBS
="$THREADS_LINK $LIBS"
40478 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40479 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
40483 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
40484 flag
="-D_THREAD_SAFE"
40487 flag
="-D_THREAD_SAFE"
40490 flag
="-D_REENTRANT"
40491 if test "x$GCC" != "xyes"; then
40492 flag
="$flag -D_RWSTD_MULTI_THREAD"
40495 *solaris
* | alpha
*-osf*)
40496 flag
="-D_REENTRANT"
40499 echo "$as_me:$LINENO: result: ${flag}" >&5
40500 echo "${ECHO_T}${flag}" >&6
40501 if test "x$flag" != xno
; then
40502 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
40505 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40509 if test "$wxUSE_THREADS" = "yes" ; then
40511 for ac_func
in thr_setconcurrency
40513 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40514 echo "$as_me:$LINENO: checking for $ac_func" >&5
40515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40516 if eval "test \"\${$as_ac_var+set}\" = set"; then
40517 echo $ECHO_N "(cached) $ECHO_C" >&6
40519 cat >conftest.
$ac_ext <<_ACEOF
40522 cat confdefs.h
>>conftest.
$ac_ext
40523 cat >>conftest.
$ac_ext <<_ACEOF
40524 /* end confdefs.h. */
40525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40527 #define $ac_func innocuous_$ac_func
40529 /* System header to define __stub macros and hopefully few prototypes,
40530 which can conflict with char $ac_func (); below.
40531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40532 <limits.h> exists even on freestanding compilers. */
40535 # include <limits.h>
40537 # include <assert.h>
40542 /* Override any gcc2 internal prototype to avoid an error. */
40547 /* We use char because int might match the return type of a gcc2
40548 builtin and then its argument prototype would still apply. */
40550 /* The GNU C library defines this for functions which it implements
40551 to always fail with ENOSYS. Some functions are actually named
40552 something starting with __ and the normal name is an alias. */
40553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40556 char (*f) () = $ac_func;
40565 return f != $ac_func;
40570 rm -f conftest.
$ac_objext conftest
$ac_exeext
40571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40572 (eval $ac_link) 2>conftest.er1
40574 grep -v '^ *+' conftest.er1
>conftest.err
40576 cat conftest.err
>&5
40577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40578 (exit $ac_status); } &&
40579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40581 (eval $ac_try) 2>&5
40583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40584 (exit $ac_status); }; } &&
40585 { ac_try
='test -s conftest$ac_exeext'
40586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40587 (eval $ac_try) 2>&5
40589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40590 (exit $ac_status); }; }; then
40591 eval "$as_ac_var=yes"
40593 echo "$as_me: failed program was:" >&5
40594 sed 's/^/| /' conftest.
$ac_ext >&5
40596 eval "$as_ac_var=no"
40598 rm -f conftest.err conftest.
$ac_objext \
40599 conftest
$ac_exeext conftest.
$ac_ext
40601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40603 if test `eval echo '${'$as_ac_var'}'` = yes; then
40604 cat >>confdefs.h
<<_ACEOF
40605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40612 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40613 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
40614 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40615 echo $ECHO_N "(cached) $ECHO_C" >&6
40619 ac_cpp
='$CXXCPP $CPPFLAGS'
40620 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40621 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40622 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40624 cat >conftest.
$ac_ext <<_ACEOF
40627 cat confdefs.h
>>conftest.
$ac_ext
40628 cat >>conftest.
$ac_ext <<_ACEOF
40629 /* end confdefs.h. */
40630 #include <pthread.h>
40631 void ThreadCleanupFunc(void *p);
40638 pthread_cleanup_push(ThreadCleanupFunc, p);
40639 pthread_cleanup_pop(0);
40645 rm -f conftest.
$ac_objext
40646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40647 (eval $ac_compile) 2>conftest.er1
40649 grep -v '^ *+' conftest.er1
>conftest.err
40651 cat conftest.err
>&5
40652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40653 (exit $ac_status); } &&
40654 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40656 (eval $ac_try) 2>&5
40658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40659 (exit $ac_status); }; } &&
40660 { ac_try
='test -s conftest.$ac_objext'
40661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40662 (eval $ac_try) 2>&5
40664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40665 (exit $ac_status); }; }; then
40667 wx_cv_func_pthread_cleanup
=yes
40670 echo "$as_me: failed program was:" >&5
40671 sed 's/^/| /' conftest.
$ac_ext >&5
40674 wx_cv_func_pthread_cleanup
=no
40678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40680 ac_cpp
='$CPP $CPPFLAGS'
40681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40687 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40688 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
40689 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40690 cat >>confdefs.h
<<\_ACEOF
40691 #define wxHAVE_PTHREAD_CLEANUP 1
40696 echo "$as_me:$LINENO: checking for sched.h" >&5
40697 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6
40698 if test "${ac_cv_header_sched_h+set}" = set; then
40699 echo $ECHO_N "(cached) $ECHO_C" >&6
40701 cat >conftest.
$ac_ext <<_ACEOF
40704 cat confdefs.h
>>conftest.
$ac_ext
40705 cat >>conftest.
$ac_ext <<_ACEOF
40706 /* end confdefs.h. */
40707 $ac_includes_default
40711 rm -f conftest.
$ac_objext
40712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40713 (eval $ac_compile) 2>conftest.er1
40715 grep -v '^ *+' conftest.er1
>conftest.err
40717 cat conftest.err
>&5
40718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40719 (exit $ac_status); } &&
40720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40722 (eval $ac_try) 2>&5
40724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40725 (exit $ac_status); }; } &&
40726 { ac_try
='test -s conftest.$ac_objext'
40727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40728 (eval $ac_try) 2>&5
40730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40731 (exit $ac_status); }; }; then
40732 ac_cv_header_sched_h
=yes
40734 echo "$as_me: failed program was:" >&5
40735 sed 's/^/| /' conftest.
$ac_ext >&5
40737 ac_cv_header_sched_h
=no
40739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40741 echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
40742 echo "${ECHO_T}$ac_cv_header_sched_h" >&6
40745 if test "$ac_cv_header_sched_h" = "yes"; then
40746 echo "$as_me:$LINENO: checking for sched_yield" >&5
40747 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
40748 if test "${ac_cv_func_sched_yield+set}" = set; then
40749 echo $ECHO_N "(cached) $ECHO_C" >&6
40751 cat >conftest.
$ac_ext <<_ACEOF
40754 cat confdefs.h
>>conftest.
$ac_ext
40755 cat >>conftest.
$ac_ext <<_ACEOF
40756 /* end confdefs.h. */
40757 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40759 #define sched_yield innocuous_sched_yield
40761 /* System header to define __stub macros and hopefully few prototypes,
40762 which can conflict with char sched_yield (); below.
40763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40764 <limits.h> exists even on freestanding compilers. */
40767 # include <limits.h>
40769 # include <assert.h>
40774 /* Override any gcc2 internal prototype to avoid an error. */
40779 /* We use char because int might match the return type of a gcc2
40780 builtin and then its argument prototype would still apply. */
40781 char sched_yield ();
40782 /* The GNU C library defines this for functions which it implements
40783 to always fail with ENOSYS. Some functions are actually named
40784 something starting with __ and the normal name is an alias. */
40785 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
40788 char (*f) () = sched_yield;
40797 return f != sched_yield;
40802 rm -f conftest.
$ac_objext conftest
$ac_exeext
40803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40804 (eval $ac_link) 2>conftest.er1
40806 grep -v '^ *+' conftest.er1
>conftest.err
40808 cat conftest.err
>&5
40809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40810 (exit $ac_status); } &&
40811 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40813 (eval $ac_try) 2>&5
40815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40816 (exit $ac_status); }; } &&
40817 { ac_try
='test -s conftest$ac_exeext'
40818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40819 (eval $ac_try) 2>&5
40821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40822 (exit $ac_status); }; }; then
40823 ac_cv_func_sched_yield
=yes
40825 echo "$as_me: failed program was:" >&5
40826 sed 's/^/| /' conftest.
$ac_ext >&5
40828 ac_cv_func_sched_yield
=no
40830 rm -f conftest.err conftest.
$ac_objext \
40831 conftest
$ac_exeext conftest.
$ac_ext
40833 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40834 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40835 if test $ac_cv_func_sched_yield = yes; then
40836 cat >>confdefs.h
<<\_ACEOF
40837 #define HAVE_SCHED_YIELD 1
40842 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40843 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40844 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40845 echo $ECHO_N "(cached) $ECHO_C" >&6
40847 ac_check_lib_save_LIBS
=$LIBS
40848 LIBS
="-lposix4 $LIBS"
40849 cat >conftest.
$ac_ext <<_ACEOF
40852 cat confdefs.h
>>conftest.
$ac_ext
40853 cat >>conftest.
$ac_ext <<_ACEOF
40854 /* end confdefs.h. */
40856 /* Override any gcc2 internal prototype to avoid an error. */
40860 /* We use char because int might match the return type of a gcc2
40861 builtin and then its argument prototype would still apply. */
40862 char sched_yield ();
40871 rm -f conftest.
$ac_objext conftest
$ac_exeext
40872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40873 (eval $ac_link) 2>conftest.er1
40875 grep -v '^ *+' conftest.er1
>conftest.err
40877 cat conftest.err
>&5
40878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40879 (exit $ac_status); } &&
40880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40882 (eval $ac_try) 2>&5
40884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40885 (exit $ac_status); }; } &&
40886 { ac_try
='test -s conftest$ac_exeext'
40887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40888 (eval $ac_try) 2>&5
40890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40891 (exit $ac_status); }; }; then
40892 ac_cv_lib_posix4_sched_yield
=yes
40894 echo "$as_me: failed program was:" >&5
40895 sed 's/^/| /' conftest.
$ac_ext >&5
40897 ac_cv_lib_posix4_sched_yield
=no
40899 rm -f conftest.err conftest.
$ac_objext \
40900 conftest
$ac_exeext conftest.
$ac_ext
40901 LIBS
=$ac_check_lib_save_LIBS
40903 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40904 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40905 if test $ac_cv_lib_posix4_sched_yield = yes; then
40906 cat >>confdefs.h
<<\_ACEOF
40907 #define HAVE_SCHED_YIELD 1
40909 POSIX4_LINK
=" -lposix4"
40911 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40912 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40923 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40924 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40925 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40926 echo $ECHO_N "(cached) $ECHO_C" >&6
40928 cat >conftest.
$ac_ext <<_ACEOF
40931 cat confdefs.h
>>conftest.
$ac_ext
40932 cat >>conftest.
$ac_ext <<_ACEOF
40933 /* end confdefs.h. */
40934 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40936 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40938 /* System header to define __stub macros and hopefully few prototypes,
40939 which can conflict with char pthread_attr_getschedpolicy (); below.
40940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40941 <limits.h> exists even on freestanding compilers. */
40944 # include <limits.h>
40946 # include <assert.h>
40949 #undef pthread_attr_getschedpolicy
40951 /* Override any gcc2 internal prototype to avoid an error. */
40956 /* We use char because int might match the return type of a gcc2
40957 builtin and then its argument prototype would still apply. */
40958 char pthread_attr_getschedpolicy ();
40959 /* The GNU C library defines this for functions which it implements
40960 to always fail with ENOSYS. Some functions are actually named
40961 something starting with __ and the normal name is an alias. */
40962 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40965 char (*f) () = pthread_attr_getschedpolicy;
40974 return f != pthread_attr_getschedpolicy;
40979 rm -f conftest.
$ac_objext conftest
$ac_exeext
40980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40981 (eval $ac_link) 2>conftest.er1
40983 grep -v '^ *+' conftest.er1
>conftest.err
40985 cat conftest.err
>&5
40986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40987 (exit $ac_status); } &&
40988 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40990 (eval $ac_try) 2>&5
40992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40993 (exit $ac_status); }; } &&
40994 { ac_try
='test -s conftest$ac_exeext'
40995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40996 (eval $ac_try) 2>&5
40998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40999 (exit $ac_status); }; }; then
41000 ac_cv_func_pthread_attr_getschedpolicy
=yes
41002 echo "$as_me: failed program was:" >&5
41003 sed 's/^/| /' conftest.
$ac_ext >&5
41005 ac_cv_func_pthread_attr_getschedpolicy
=no
41007 rm -f conftest.err conftest.
$ac_objext \
41008 conftest
$ac_exeext conftest.
$ac_ext
41010 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41011 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
41012 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41013 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41014 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
41015 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41016 echo $ECHO_N "(cached) $ECHO_C" >&6
41018 cat >conftest.
$ac_ext <<_ACEOF
41021 cat confdefs.h
>>conftest.
$ac_ext
41022 cat >>conftest.
$ac_ext <<_ACEOF
41023 /* end confdefs.h. */
41024 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41026 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41028 /* System header to define __stub macros and hopefully few prototypes,
41029 which can conflict with char pthread_attr_setschedparam (); below.
41030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41031 <limits.h> exists even on freestanding compilers. */
41034 # include <limits.h>
41036 # include <assert.h>
41039 #undef pthread_attr_setschedparam
41041 /* Override any gcc2 internal prototype to avoid an error. */
41046 /* We use char because int might match the return type of a gcc2
41047 builtin and then its argument prototype would still apply. */
41048 char pthread_attr_setschedparam ();
41049 /* The GNU C library defines this for functions which it implements
41050 to always fail with ENOSYS. Some functions are actually named
41051 something starting with __ and the normal name is an alias. */
41052 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
41055 char (*f) () = pthread_attr_setschedparam;
41064 return f != pthread_attr_setschedparam;
41069 rm -f conftest.
$ac_objext conftest
$ac_exeext
41070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41071 (eval $ac_link) 2>conftest.er1
41073 grep -v '^ *+' conftest.er1
>conftest.err
41075 cat conftest.err
>&5
41076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41077 (exit $ac_status); } &&
41078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41080 (eval $ac_try) 2>&5
41082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41083 (exit $ac_status); }; } &&
41084 { ac_try
='test -s conftest$ac_exeext'
41085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41086 (eval $ac_try) 2>&5
41088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41089 (exit $ac_status); }; }; then
41090 ac_cv_func_pthread_attr_setschedparam
=yes
41092 echo "$as_me: failed program was:" >&5
41093 sed 's/^/| /' conftest.
$ac_ext >&5
41095 ac_cv_func_pthread_attr_setschedparam
=no
41097 rm -f conftest.err conftest.
$ac_objext \
41098 conftest
$ac_exeext conftest.
$ac_ext
41100 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41101 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
41102 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41103 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41104 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
41105 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41106 echo $ECHO_N "(cached) $ECHO_C" >&6
41108 cat >conftest.
$ac_ext <<_ACEOF
41111 cat confdefs.h
>>conftest.
$ac_ext
41112 cat >>conftest.
$ac_ext <<_ACEOF
41113 /* end confdefs.h. */
41114 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41116 #define sched_get_priority_max innocuous_sched_get_priority_max
41118 /* System header to define __stub macros and hopefully few prototypes,
41119 which can conflict with char sched_get_priority_max (); below.
41120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41121 <limits.h> exists even on freestanding compilers. */
41124 # include <limits.h>
41126 # include <assert.h>
41129 #undef sched_get_priority_max
41131 /* Override any gcc2 internal prototype to avoid an error. */
41136 /* We use char because int might match the return type of a gcc2
41137 builtin and then its argument prototype would still apply. */
41138 char sched_get_priority_max ();
41139 /* The GNU C library defines this for functions which it implements
41140 to always fail with ENOSYS. Some functions are actually named
41141 something starting with __ and the normal name is an alias. */
41142 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
41145 char (*f) () = sched_get_priority_max;
41154 return f != sched_get_priority_max;
41159 rm -f conftest.
$ac_objext conftest
$ac_exeext
41160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41161 (eval $ac_link) 2>conftest.er1
41163 grep -v '^ *+' conftest.er1
>conftest.err
41165 cat conftest.err
>&5
41166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41167 (exit $ac_status); } &&
41168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41170 (eval $ac_try) 2>&5
41172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41173 (exit $ac_status); }; } &&
41174 { ac_try
='test -s conftest$ac_exeext'
41175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41176 (eval $ac_try) 2>&5
41178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41179 (exit $ac_status); }; }; then
41180 ac_cv_func_sched_get_priority_max
=yes
41182 echo "$as_me: failed program was:" >&5
41183 sed 's/^/| /' conftest.
$ac_ext >&5
41185 ac_cv_func_sched_get_priority_max
=no
41187 rm -f conftest.err conftest.
$ac_objext \
41188 conftest
$ac_exeext conftest.
$ac_ext
41190 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41191 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
41192 if test $ac_cv_func_sched_get_priority_max = yes; then
41195 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41196 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
41197 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41198 echo $ECHO_N "(cached) $ECHO_C" >&6
41200 ac_check_lib_save_LIBS
=$LIBS
41201 LIBS
="-lposix4 $LIBS"
41202 cat >conftest.
$ac_ext <<_ACEOF
41205 cat confdefs.h
>>conftest.
$ac_ext
41206 cat >>conftest.
$ac_ext <<_ACEOF
41207 /* end confdefs.h. */
41209 /* Override any gcc2 internal prototype to avoid an error. */
41213 /* We use char because int might match the return type of a gcc2
41214 builtin and then its argument prototype would still apply. */
41215 char sched_get_priority_max ();
41219 sched_get_priority_max ();
41224 rm -f conftest.
$ac_objext conftest
$ac_exeext
41225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41226 (eval $ac_link) 2>conftest.er1
41228 grep -v '^ *+' conftest.er1
>conftest.err
41230 cat conftest.err
>&5
41231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232 (exit $ac_status); } &&
41233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41235 (eval $ac_try) 2>&5
41237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41238 (exit $ac_status); }; } &&
41239 { ac_try
='test -s conftest$ac_exeext'
41240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41241 (eval $ac_try) 2>&5
41243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41244 (exit $ac_status); }; }; then
41245 ac_cv_lib_posix4_sched_get_priority_max
=yes
41247 echo "$as_me: failed program was:" >&5
41248 sed 's/^/| /' conftest.
$ac_ext >&5
41250 ac_cv_lib_posix4_sched_get_priority_max
=no
41252 rm -f conftest.err conftest.
$ac_objext \
41253 conftest
$ac_exeext conftest.
$ac_ext
41254 LIBS
=$ac_check_lib_save_LIBS
41256 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41257 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
41258 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41261 POSIX4_LINK
=" -lposix4"
41275 if test "$HAVE_PRIOR_FUNCS" = 1; then
41276 cat >>confdefs.h
<<\_ACEOF
41277 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41281 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41282 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41285 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41286 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
41287 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41288 echo $ECHO_N "(cached) $ECHO_C" >&6
41290 cat >conftest.
$ac_ext <<_ACEOF
41293 cat confdefs.h
>>conftest.
$ac_ext
41294 cat >>conftest.
$ac_ext <<_ACEOF
41295 /* end confdefs.h. */
41296 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41298 #define pthread_cancel innocuous_pthread_cancel
41300 /* System header to define __stub macros and hopefully few prototypes,
41301 which can conflict with char pthread_cancel (); below.
41302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41303 <limits.h> exists even on freestanding compilers. */
41306 # include <limits.h>
41308 # include <assert.h>
41311 #undef pthread_cancel
41313 /* Override any gcc2 internal prototype to avoid an error. */
41318 /* We use char because int might match the return type of a gcc2
41319 builtin and then its argument prototype would still apply. */
41320 char pthread_cancel ();
41321 /* The GNU C library defines this for functions which it implements
41322 to always fail with ENOSYS. Some functions are actually named
41323 something starting with __ and the normal name is an alias. */
41324 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
41327 char (*f) () = pthread_cancel;
41336 return f != pthread_cancel;
41341 rm -f conftest.
$ac_objext conftest
$ac_exeext
41342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41343 (eval $ac_link) 2>conftest.er1
41345 grep -v '^ *+' conftest.er1
>conftest.err
41347 cat conftest.err
>&5
41348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41349 (exit $ac_status); } &&
41350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41352 (eval $ac_try) 2>&5
41354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41355 (exit $ac_status); }; } &&
41356 { ac_try
='test -s conftest$ac_exeext'
41357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41358 (eval $ac_try) 2>&5
41360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41361 (exit $ac_status); }; }; then
41362 ac_cv_func_pthread_cancel
=yes
41364 echo "$as_me: failed program was:" >&5
41365 sed 's/^/| /' conftest.
$ac_ext >&5
41367 ac_cv_func_pthread_cancel
=no
41369 rm -f conftest.err conftest.
$ac_objext \
41370 conftest
$ac_exeext conftest.
$ac_ext
41372 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41373 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
41374 if test $ac_cv_func_pthread_cancel = yes; then
41375 cat >>confdefs.h
<<\_ACEOF
41376 #define HAVE_PTHREAD_CANCEL 1
41380 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41381 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41385 echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41386 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6
41387 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41388 echo $ECHO_N "(cached) $ECHO_C" >&6
41390 cat >conftest.
$ac_ext <<_ACEOF
41393 cat confdefs.h
>>conftest.
$ac_ext
41394 cat >>conftest.
$ac_ext <<_ACEOF
41395 /* end confdefs.h. */
41396 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41398 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41400 /* System header to define __stub macros and hopefully few prototypes,
41401 which can conflict with char pthread_mutex_timedlock (); below.
41402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41403 <limits.h> exists even on freestanding compilers. */
41406 # include <limits.h>
41408 # include <assert.h>
41411 #undef pthread_mutex_timedlock
41413 /* Override any gcc2 internal prototype to avoid an error. */
41418 /* We use char because int might match the return type of a gcc2
41419 builtin and then its argument prototype would still apply. */
41420 char pthread_mutex_timedlock ();
41421 /* The GNU C library defines this for functions which it implements
41422 to always fail with ENOSYS. Some functions are actually named
41423 something starting with __ and the normal name is an alias. */
41424 #if defined (__stub_pthread_mutex_timedlock) || defined (__stub___pthread_mutex_timedlock)
41427 char (*f) () = pthread_mutex_timedlock;
41436 return f != pthread_mutex_timedlock;
41441 rm -f conftest.
$ac_objext conftest
$ac_exeext
41442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41443 (eval $ac_link) 2>conftest.er1
41445 grep -v '^ *+' conftest.er1
>conftest.err
41447 cat conftest.err
>&5
41448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41449 (exit $ac_status); } &&
41450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41452 (eval $ac_try) 2>&5
41454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41455 (exit $ac_status); }; } &&
41456 { ac_try
='test -s conftest$ac_exeext'
41457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41458 (eval $ac_try) 2>&5
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); }; }; then
41462 ac_cv_func_pthread_mutex_timedlock
=yes
41464 echo "$as_me: failed program was:" >&5
41465 sed 's/^/| /' conftest.
$ac_ext >&5
41467 ac_cv_func_pthread_mutex_timedlock
=no
41469 rm -f conftest.err conftest.
$ac_objext \
41470 conftest
$ac_exeext conftest.
$ac_ext
41472 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41473 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6
41474 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41475 cat >>confdefs.h
<<\_ACEOF
41476 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41480 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41481 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41485 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41486 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
41487 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41488 echo $ECHO_N "(cached) $ECHO_C" >&6
41490 cat >conftest.
$ac_ext <<_ACEOF
41493 cat confdefs.h
>>conftest.
$ac_ext
41494 cat >>conftest.
$ac_ext <<_ACEOF
41495 /* end confdefs.h. */
41496 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41498 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41500 /* System header to define __stub macros and hopefully few prototypes,
41501 which can conflict with char pthread_attr_setstacksize (); below.
41502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41503 <limits.h> exists even on freestanding compilers. */
41506 # include <limits.h>
41508 # include <assert.h>
41511 #undef pthread_attr_setstacksize
41513 /* Override any gcc2 internal prototype to avoid an error. */
41518 /* We use char because int might match the return type of a gcc2
41519 builtin and then its argument prototype would still apply. */
41520 char pthread_attr_setstacksize ();
41521 /* The GNU C library defines this for functions which it implements
41522 to always fail with ENOSYS. Some functions are actually named
41523 something starting with __ and the normal name is an alias. */
41524 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
41527 char (*f) () = pthread_attr_setstacksize;
41536 return f != pthread_attr_setstacksize;
41541 rm -f conftest.
$ac_objext conftest
$ac_exeext
41542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41543 (eval $ac_link) 2>conftest.er1
41545 grep -v '^ *+' conftest.er1
>conftest.err
41547 cat conftest.err
>&5
41548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41549 (exit $ac_status); } &&
41550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41552 (eval $ac_try) 2>&5
41554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41555 (exit $ac_status); }; } &&
41556 { ac_try
='test -s conftest$ac_exeext'
41557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41558 (eval $ac_try) 2>&5
41560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41561 (exit $ac_status); }; }; then
41562 ac_cv_func_pthread_attr_setstacksize
=yes
41564 echo "$as_me: failed program was:" >&5
41565 sed 's/^/| /' conftest.
$ac_ext >&5
41567 ac_cv_func_pthread_attr_setstacksize
=no
41569 rm -f conftest.err conftest.
$ac_objext \
41570 conftest
$ac_exeext conftest.
$ac_ext
41572 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41573 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
41574 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41575 cat >>confdefs.h
<<\_ACEOF
41576 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41583 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41584 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
41585 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41586 echo $ECHO_N "(cached) $ECHO_C" >&6
41589 cat >conftest.
$ac_ext <<_ACEOF
41592 cat confdefs.h
>>conftest.
$ac_ext
41593 cat >>conftest.
$ac_ext <<_ACEOF
41594 /* end confdefs.h. */
41595 #include <pthread.h>
41600 pthread_mutexattr_t attr;
41601 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41607 rm -f conftest.
$ac_objext
41608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41609 (eval $ac_compile) 2>conftest.er1
41611 grep -v '^ *+' conftest.er1
>conftest.err
41613 cat conftest.err
>&5
41614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41615 (exit $ac_status); } &&
41616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41618 (eval $ac_try) 2>&5
41620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41621 (exit $ac_status); }; } &&
41622 { ac_try
='test -s conftest.$ac_objext'
41623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41624 (eval $ac_try) 2>&5
41626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41627 (exit $ac_status); }; }; then
41628 wx_cv_type_pthread_mutexattr_t
=yes
41630 echo "$as_me: failed program was:" >&5
41631 sed 's/^/| /' conftest.
$ac_ext >&5
41633 wx_cv_type_pthread_mutexattr_t
=no
41636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41639 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41640 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
41642 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41643 cat >>confdefs.h
<<\_ACEOF
41644 #define HAVE_PTHREAD_MUTEXATTR_T 1
41648 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41649 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
41650 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41651 echo $ECHO_N "(cached) $ECHO_C" >&6
41654 cat >conftest.
$ac_ext <<_ACEOF
41657 cat confdefs.h
>>conftest.
$ac_ext
41658 cat >>conftest.
$ac_ext <<_ACEOF
41659 /* end confdefs.h. */
41660 #include <pthread.h>
41665 pthread_mutexattr_t attr;
41666 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41672 rm -f conftest.
$ac_objext
41673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41674 (eval $ac_compile) 2>conftest.er1
41676 grep -v '^ *+' conftest.er1
>conftest.err
41678 cat conftest.err
>&5
41679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41680 (exit $ac_status); } &&
41681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41683 (eval $ac_try) 2>&5
41685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41686 (exit $ac_status); }; } &&
41687 { ac_try
='test -s conftest.$ac_objext'
41688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41689 (eval $ac_try) 2>&5
41691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41692 (exit $ac_status); }; }; then
41693 wx_cv_func_pthread_mutexattr_settype_decl
=yes
41695 echo "$as_me: failed program was:" >&5
41696 sed 's/^/| /' conftest.
$ac_ext >&5
41698 wx_cv_func_pthread_mutexattr_settype_decl
=no
41701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41704 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41705 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
41706 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41707 cat >>confdefs.h
<<\_ACEOF
41708 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41713 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41714 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
41715 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41716 echo $ECHO_N "(cached) $ECHO_C" >&6
41719 cat >conftest.
$ac_ext <<_ACEOF
41722 cat confdefs.h
>>conftest.
$ac_ext
41723 cat >>conftest.
$ac_ext <<_ACEOF
41724 /* end confdefs.h. */
41725 #include <pthread.h>
41730 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41736 rm -f conftest.
$ac_objext
41737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41738 (eval $ac_compile) 2>conftest.er1
41740 grep -v '^ *+' conftest.er1
>conftest.err
41742 cat conftest.err
>&5
41743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41744 (exit $ac_status); } &&
41745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41747 (eval $ac_try) 2>&5
41749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41750 (exit $ac_status); }; } &&
41751 { ac_try
='test -s conftest.$ac_objext'
41752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41753 (eval $ac_try) 2>&5
41755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41756 (exit $ac_status); }; }; then
41758 wx_cv_type_pthread_rec_mutex_init
=yes
41761 echo "$as_me: failed program was:" >&5
41762 sed 's/^/| /' conftest.
$ac_ext >&5
41765 wx_cv_type_pthread_rec_mutex_init
=no
41769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41772 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41773 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
41774 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41775 cat >>confdefs.h
<<\_ACEOF
41776 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41780 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41781 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41787 if test "$wxUSE_THREADS" = "yes" ; then
41790 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41791 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
41792 if test "${wx_cv_cflags_mthread+set}" = set; then
41793 echo $ECHO_N "(cached) $ECHO_C" >&6
41796 CFLAGS_OLD
="$CFLAGS"
41797 CFLAGS
="-mthreads $CFLAGS"
41798 cat >conftest.
$ac_ext <<_ACEOF
41801 cat confdefs.h
>>conftest.
$ac_ext
41802 cat >>conftest.
$ac_ext <<_ACEOF
41803 /* end confdefs.h. */
41813 rm -f conftest.
$ac_objext
41814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41815 (eval $ac_compile) 2>conftest.er1
41817 grep -v '^ *+' conftest.er1
>conftest.err
41819 cat conftest.err
>&5
41820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41821 (exit $ac_status); } &&
41822 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41824 (eval $ac_try) 2>&5
41826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41827 (exit $ac_status); }; } &&
41828 { ac_try
='test -s conftest.$ac_objext'
41829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41830 (eval $ac_try) 2>&5
41832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41833 (exit $ac_status); }; }; then
41834 wx_cv_cflags_mthread
=yes
41836 echo "$as_me: failed program was:" >&5
41837 sed 's/^/| /' conftest.
$ac_ext >&5
41839 wx_cv_cflags_mthread
=no
41842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41846 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41847 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
41849 if test "$wx_cv_cflags_mthread" = "yes"; then
41850 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
41851 LDFLAGS
="$LDFLAGS -mthreads"
41853 CFLAGS
="$CFLAGS_OLD"
41857 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41858 LDFLAGS
="$LDFLAGS -Zmt"
41864 echo "$as_me:$LINENO: checking for localtime_r" >&5
41865 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
41866 if test "${ac_cv_func_localtime_r+set}" = set; then
41867 echo $ECHO_N "(cached) $ECHO_C" >&6
41869 cat >conftest.
$ac_ext <<_ACEOF
41872 cat confdefs.h
>>conftest.
$ac_ext
41873 cat >>conftest.
$ac_ext <<_ACEOF
41874 /* end confdefs.h. */
41875 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41877 #define localtime_r innocuous_localtime_r
41879 /* System header to define __stub macros and hopefully few prototypes,
41880 which can conflict with char localtime_r (); below.
41881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41882 <limits.h> exists even on freestanding compilers. */
41885 # include <limits.h>
41887 # include <assert.h>
41892 /* Override any gcc2 internal prototype to avoid an error. */
41897 /* We use char because int might match the return type of a gcc2
41898 builtin and then its argument prototype would still apply. */
41899 char localtime_r ();
41900 /* The GNU C library defines this for functions which it implements
41901 to always fail with ENOSYS. Some functions are actually named
41902 something starting with __ and the normal name is an alias. */
41903 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
41906 char (*f) () = localtime_r;
41915 return f != localtime_r;
41920 rm -f conftest.
$ac_objext conftest
$ac_exeext
41921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41922 (eval $ac_link) 2>conftest.er1
41924 grep -v '^ *+' conftest.er1
>conftest.err
41926 cat conftest.err
>&5
41927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41928 (exit $ac_status); } &&
41929 { ac_try
='test -z "$ac_c_werror_flag" || 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_localtime_r
=yes
41943 echo "$as_me: failed program was:" >&5
41944 sed 's/^/| /' conftest.
$ac_ext >&5
41946 ac_cv_func_localtime_r
=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_localtime_r" >&5
41952 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41953 if test $ac_cv_func_localtime_r = yes; then
41954 cat >>confdefs.h
<<\_ACEOF
41955 #define HAVE_LOCALTIME_R 1
41960 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41961 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41962 if test "${ac_cv_func_gmtime_r+set}" = set; then
41963 echo $ECHO_N "(cached) $ECHO_C" >&6
41965 cat >conftest.
$ac_ext <<_ACEOF
41968 cat confdefs.h
>>conftest.
$ac_ext
41969 cat >>conftest.
$ac_ext <<_ACEOF
41970 /* end confdefs.h. */
41971 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41973 #define gmtime_r innocuous_gmtime_r
41975 /* System header to define __stub macros and hopefully few prototypes,
41976 which can conflict with char gmtime_r (); below.
41977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41978 <limits.h> exists even on freestanding compilers. */
41981 # include <limits.h>
41983 # include <assert.h>
41988 /* Override any gcc2 internal prototype to avoid an error. */
41993 /* We use char because int might match the return type of a gcc2
41994 builtin and then its argument prototype would still apply. */
41996 /* The GNU C library defines this for functions which it implements
41997 to always fail with ENOSYS. Some functions are actually named
41998 something starting with __ and the normal name is an alias. */
41999 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
42002 char (*f) () = gmtime_r;
42011 return f != gmtime_r;
42016 rm -f conftest.
$ac_objext conftest
$ac_exeext
42017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42018 (eval $ac_link) 2>conftest.er1
42020 grep -v '^ *+' conftest.er1
>conftest.err
42022 cat conftest.err
>&5
42023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42024 (exit $ac_status); } &&
42025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42027 (eval $ac_try) 2>&5
42029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42030 (exit $ac_status); }; } &&
42031 { ac_try
='test -s conftest$ac_exeext'
42032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42033 (eval $ac_try) 2>&5
42035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42036 (exit $ac_status); }; }; then
42037 ac_cv_func_gmtime_r
=yes
42039 echo "$as_me: failed program was:" >&5
42040 sed 's/^/| /' conftest.
$ac_ext >&5
42042 ac_cv_func_gmtime_r
=no
42044 rm -f conftest.err conftest.
$ac_objext \
42045 conftest
$ac_exeext conftest.
$ac_ext
42047 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42048 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
42049 if test $ac_cv_func_gmtime_r = yes; then
42050 cat >>confdefs.h
<<\_ACEOF
42051 #define HAVE_GMTIME_R 1
42056 echo "$as_me:$LINENO: checking for readdir_r" >&5
42057 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
42058 if test "${ac_cv_func_readdir_r+set}" = set; then
42059 echo $ECHO_N "(cached) $ECHO_C" >&6
42061 cat >conftest.
$ac_ext <<_ACEOF
42064 cat confdefs.h
>>conftest.
$ac_ext
42065 cat >>conftest.
$ac_ext <<_ACEOF
42066 /* end confdefs.h. */
42067 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42069 #define readdir_r innocuous_readdir_r
42071 /* System header to define __stub macros and hopefully few prototypes,
42072 which can conflict with char readdir_r (); below.
42073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42074 <limits.h> exists even on freestanding compilers. */
42077 # include <limits.h>
42079 # include <assert.h>
42084 /* Override any gcc2 internal prototype to avoid an error. */
42089 /* We use char because int might match the return type of a gcc2
42090 builtin and then its argument prototype would still apply. */
42092 /* The GNU C library defines this for functions which it implements
42093 to always fail with ENOSYS. Some functions are actually named
42094 something starting with __ and the normal name is an alias. */
42095 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
42098 char (*f) () = readdir_r;
42107 return f != readdir_r;
42112 rm -f conftest.
$ac_objext conftest
$ac_exeext
42113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42114 (eval $ac_link) 2>conftest.er1
42116 grep -v '^ *+' conftest.er1
>conftest.err
42118 cat conftest.err
>&5
42119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42120 (exit $ac_status); } &&
42121 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42123 (eval $ac_try) 2>&5
42125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42126 (exit $ac_status); }; } &&
42127 { ac_try
='test -s conftest$ac_exeext'
42128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42129 (eval $ac_try) 2>&5
42131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42132 (exit $ac_status); }; }; then
42133 ac_cv_func_readdir_r
=yes
42135 echo "$as_me: failed program was:" >&5
42136 sed 's/^/| /' conftest.
$ac_ext >&5
42138 ac_cv_func_readdir_r
=no
42140 rm -f conftest.err conftest.
$ac_objext \
42141 conftest
$ac_exeext conftest.
$ac_ext
42143 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42144 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
42145 if test $ac_cv_func_readdir_r = yes; then
42146 cat >>confdefs.h
<<\_ACEOF
42147 #define HAVE_READDIR_R 1
42156 ac_cpp
='$CPP $CPPFLAGS'
42157 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42158 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42159 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42161 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42162 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
42164 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42165 echo $ECHO_N "(cached) $ECHO_C" >&6
42169 ################################################################
42171 ac_cv_func_which_gethostbyname_r
=unknown
42174 # ONE ARGUMENT (sanity check)
42177 # This should fail, as there is no variant of gethostbyname_r() that takes
42178 # a single argument. If it actually compiles, then we can assume that
42179 # netdb.h is not declaring the function, and the compiler is thereby
42180 # assuming an implicit prototype. In which case, we're out of luck.
42182 cat >conftest.
$ac_ext <<_ACEOF
42185 cat confdefs.h
>>conftest.
$ac_ext
42186 cat >>conftest.
$ac_ext <<_ACEOF
42187 /* end confdefs.h. */
42193 char *name = "www.gnu.org";
42194 (void)gethostbyname_r(name) /* ; */
42200 rm -f conftest.
$ac_objext
42201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42202 (eval $ac_compile) 2>conftest.er1
42204 grep -v '^ *+' conftest.er1
>conftest.err
42206 cat conftest.err
>&5
42207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42208 (exit $ac_status); } &&
42209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42211 (eval $ac_try) 2>&5
42213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42214 (exit $ac_status); }; } &&
42215 { ac_try
='test -s conftest.$ac_objext'
42216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42217 (eval $ac_try) 2>&5
42219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42220 (exit $ac_status); }; }; then
42221 ac_cv_func_which_gethostbyname_r
=no
42223 echo "$as_me: failed program was:" >&5
42224 sed 's/^/| /' conftest.
$ac_ext >&5
42227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42234 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42236 cat >conftest.
$ac_ext <<_ACEOF
42239 cat confdefs.h
>>conftest.
$ac_ext
42240 cat >>conftest.
$ac_ext <<_ACEOF
42241 /* end confdefs.h. */
42247 char *name = "www.gnu.org";
42248 struct hostent ret, *retp;
42252 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42258 rm -f conftest.
$ac_objext
42259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42260 (eval $ac_compile) 2>conftest.er1
42262 grep -v '^ *+' conftest.er1
>conftest.err
42264 cat conftest.err
>&5
42265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42266 (exit $ac_status); } &&
42267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42269 (eval $ac_try) 2>&5
42271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42272 (exit $ac_status); }; } &&
42273 { ac_try
='test -s conftest.$ac_objext'
42274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42275 (eval $ac_try) 2>&5
42277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42278 (exit $ac_status); }; }; then
42279 ac_cv_func_which_gethostbyname_r
=six
42281 echo "$as_me: failed program was:" >&5
42282 sed 's/^/| /' conftest.
$ac_ext >&5
42285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42294 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42296 cat >conftest.
$ac_ext <<_ACEOF
42299 cat confdefs.h
>>conftest.
$ac_ext
42300 cat >>conftest.
$ac_ext <<_ACEOF
42301 /* end confdefs.h. */
42307 char *name = "www.gnu.org";
42308 struct hostent ret;
42312 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42318 rm -f conftest.
$ac_objext
42319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42320 (eval $ac_compile) 2>conftest.er1
42322 grep -v '^ *+' conftest.er1
>conftest.err
42324 cat conftest.err
>&5
42325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42326 (exit $ac_status); } &&
42327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42329 (eval $ac_try) 2>&5
42331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42332 (exit $ac_status); }; } &&
42333 { ac_try
='test -s conftest.$ac_objext'
42334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42335 (eval $ac_try) 2>&5
42337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42338 (exit $ac_status); }; }; then
42339 ac_cv_func_which_gethostbyname_r
=five
42341 echo "$as_me: failed program was:" >&5
42342 sed 's/^/| /' conftest.
$ac_ext >&5
42345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42351 # (e.g. AIX, HP-UX, Tru64)
42354 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42356 cat >conftest.
$ac_ext <<_ACEOF
42359 cat confdefs.h
>>conftest.
$ac_ext
42360 cat >>conftest.
$ac_ext <<_ACEOF
42361 /* end confdefs.h. */
42367 char *name = "www.gnu.org";
42368 struct hostent ret;
42369 struct hostent_data data;
42370 (void)gethostbyname_r(name, &ret, &data) /* ; */
42376 rm -f conftest.
$ac_objext
42377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42378 (eval $ac_compile) 2>conftest.er1
42380 grep -v '^ *+' conftest.er1
>conftest.err
42382 cat conftest.err
>&5
42383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42384 (exit $ac_status); } &&
42385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42387 (eval $ac_try) 2>&5
42389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42390 (exit $ac_status); }; } &&
42391 { ac_try
='test -s conftest.$ac_objext'
42392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42393 (eval $ac_try) 2>&5
42395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42396 (exit $ac_status); }; }; then
42397 ac_cv_func_which_gethostbyname_r
=three
42399 echo "$as_me: failed program was:" >&5
42400 sed 's/^/| /' conftest.
$ac_ext >&5
42403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42407 ################################################################
42412 case "$ac_cv_func_which_gethostbyname_r" in
42414 echo "$as_me:$LINENO: result: three" >&5
42415 echo "${ECHO_T}three" >&6
42416 cat >>confdefs.h
<<\_ACEOF
42417 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42423 echo "$as_me:$LINENO: result: five" >&5
42424 echo "${ECHO_T}five" >&6
42425 cat >>confdefs.h
<<\_ACEOF
42426 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42432 echo "$as_me:$LINENO: result: six" >&5
42433 echo "${ECHO_T}six" >&6
42434 cat >>confdefs.h
<<\_ACEOF
42435 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42441 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42442 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
42446 echo "$as_me:$LINENO: result: can't tell" >&5
42447 echo "${ECHO_T}can't tell" >&6
42451 { { echo "$as_me:$LINENO: error: internal error" >&5
42452 echo "$as_me: error: internal error" >&2;}
42453 { (exit 1); exit 1; }; }
42458 ac_cpp
='$CPP $CPPFLAGS'
42459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42465 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42466 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42467 echo "$as_me:$LINENO: checking for gethostbyname" >&5
42468 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
42469 if test "${ac_cv_func_gethostbyname+set}" = set; then
42470 echo $ECHO_N "(cached) $ECHO_C" >&6
42472 cat >conftest.
$ac_ext <<_ACEOF
42475 cat confdefs.h
>>conftest.
$ac_ext
42476 cat >>conftest.
$ac_ext <<_ACEOF
42477 /* end confdefs.h. */
42478 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42480 #define gethostbyname innocuous_gethostbyname
42482 /* System header to define __stub macros and hopefully few prototypes,
42483 which can conflict with char gethostbyname (); below.
42484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42485 <limits.h> exists even on freestanding compilers. */
42488 # include <limits.h>
42490 # include <assert.h>
42493 #undef gethostbyname
42495 /* Override any gcc2 internal prototype to avoid an error. */
42500 /* We use char because int might match the return type of a gcc2
42501 builtin and then its argument prototype would still apply. */
42502 char gethostbyname ();
42503 /* The GNU C library defines this for functions which it implements
42504 to always fail with ENOSYS. Some functions are actually named
42505 something starting with __ and the normal name is an alias. */
42506 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
42509 char (*f) () = gethostbyname;
42518 return f != gethostbyname;
42523 rm -f conftest.
$ac_objext conftest
$ac_exeext
42524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42525 (eval $ac_link) 2>conftest.er1
42527 grep -v '^ *+' conftest.er1
>conftest.err
42529 cat conftest.err
>&5
42530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42531 (exit $ac_status); } &&
42532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42534 (eval $ac_try) 2>&5
42536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42537 (exit $ac_status); }; } &&
42538 { ac_try
='test -s conftest$ac_exeext'
42539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42540 (eval $ac_try) 2>&5
42542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42543 (exit $ac_status); }; }; then
42544 ac_cv_func_gethostbyname
=yes
42546 echo "$as_me: failed program was:" >&5
42547 sed 's/^/| /' conftest.
$ac_ext >&5
42549 ac_cv_func_gethostbyname
=no
42551 rm -f conftest.err conftest.
$ac_objext \
42552 conftest
$ac_exeext conftest.
$ac_ext
42554 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42555 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
42556 if test $ac_cv_func_gethostbyname = yes; then
42557 cat >>confdefs.h
<<\_ACEOF
42558 #define HAVE_GETHOSTBYNAME 1
42565 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42566 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
42567 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42568 echo $ECHO_N "(cached) $ECHO_C" >&6
42572 ac_cpp
='$CXXCPP $CPPFLAGS'
42573 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42574 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42575 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42578 cat >conftest.
$ac_ext <<_ACEOF
42581 cat confdefs.h
>>conftest.
$ac_ext
42582 cat >>conftest.
$ac_ext <<_ACEOF
42583 /* end confdefs.h. */
42591 struct servent *se, *res;
42594 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42600 rm -f conftest.
$ac_objext
42601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42602 (eval $ac_compile) 2>conftest.er1
42604 grep -v '^ *+' conftest.er1
>conftest.err
42606 cat conftest.err
>&5
42607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42608 (exit $ac_status); } &&
42609 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42611 (eval $ac_try) 2>&5
42613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42614 (exit $ac_status); }; } &&
42615 { ac_try
='test -s conftest.$ac_objext'
42616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42617 (eval $ac_try) 2>&5
42619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42620 (exit $ac_status); }; }; then
42621 ac_cv_func_which_getservbyname_r
=six
42623 echo "$as_me: failed program was:" >&5
42624 sed 's/^/| /' conftest.
$ac_ext >&5
42627 cat >conftest.
$ac_ext <<_ACEOF
42630 cat confdefs.h
>>conftest.
$ac_ext
42631 cat >>conftest.
$ac_ext <<_ACEOF
42632 /* end confdefs.h. */
42640 struct servent *se;
42643 (void) getservbyname_r(name, proto, se, buffer, buflen)
42649 rm -f conftest.
$ac_objext
42650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42651 (eval $ac_compile) 2>conftest.er1
42653 grep -v '^ *+' conftest.er1
>conftest.err
42655 cat conftest.err
>&5
42656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42657 (exit $ac_status); } &&
42658 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42660 (eval $ac_try) 2>&5
42662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42663 (exit $ac_status); }; } &&
42664 { ac_try
='test -s conftest.$ac_objext'
42665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42666 (eval $ac_try) 2>&5
42668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42669 (exit $ac_status); }; }; then
42670 ac_cv_func_which_getservbyname_r
=five
42672 echo "$as_me: failed program was:" >&5
42673 sed 's/^/| /' conftest.
$ac_ext >&5
42676 cat >conftest.
$ac_ext <<_ACEOF
42679 cat confdefs.h
>>conftest.
$ac_ext
42680 cat >>conftest.
$ac_ext <<_ACEOF
42681 /* end confdefs.h. */
42689 struct servent *se;
42690 struct servent_data data;
42691 (void) getservbyname_r(name, proto, se, &data);
42697 rm -f conftest.
$ac_objext
42698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42699 (eval $ac_compile) 2>conftest.er1
42701 grep -v '^ *+' conftest.er1
>conftest.err
42703 cat conftest.err
>&5
42704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42705 (exit $ac_status); } &&
42706 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42708 (eval $ac_try) 2>&5
42710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42711 (exit $ac_status); }; } &&
42712 { ac_try
='test -s conftest.$ac_objext'
42713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42714 (eval $ac_try) 2>&5
42716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42717 (exit $ac_status); }; }; then
42718 ac_cv_func_which_getservbyname_r
=four
42720 echo "$as_me: failed program was:" >&5
42721 sed 's/^/| /' conftest.
$ac_ext >&5
42723 ac_cv_func_which_getservbyname_r
=no
42726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42736 ac_cpp
='$CPP $CPPFLAGS'
42737 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42738 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42739 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42744 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42745 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
42747 if test $ac_cv_func_which_getservbyname_r = six
; then
42748 cat >>confdefs.h
<<\_ACEOF
42749 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42752 elif test $ac_cv_func_which_getservbyname_r = five
; then
42753 cat >>confdefs.h
<<\_ACEOF
42754 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42757 elif test $ac_cv_func_which_getservbyname_r = four
; then
42758 cat >>confdefs.h
<<\_ACEOF
42759 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42765 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42766 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42768 for ac_func
in getservbyname
42770 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42771 echo "$as_me:$LINENO: checking for $ac_func" >&5
42772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42773 if eval "test \"\${$as_ac_var+set}\" = set"; then
42774 echo $ECHO_N "(cached) $ECHO_C" >&6
42776 cat >conftest.
$ac_ext <<_ACEOF
42779 cat confdefs.h
>>conftest.
$ac_ext
42780 cat >>conftest.
$ac_ext <<_ACEOF
42781 /* end confdefs.h. */
42782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42784 #define $ac_func innocuous_$ac_func
42786 /* System header to define __stub macros and hopefully few prototypes,
42787 which can conflict with char $ac_func (); below.
42788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42789 <limits.h> exists even on freestanding compilers. */
42792 # include <limits.h>
42794 # include <assert.h>
42799 /* Override any gcc2 internal prototype to avoid an error. */
42804 /* We use char because int might match the return type of a gcc2
42805 builtin and then its argument prototype would still apply. */
42807 /* The GNU C library defines this for functions which it implements
42808 to always fail with ENOSYS. Some functions are actually named
42809 something starting with __ and the normal name is an alias. */
42810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42813 char (*f) () = $ac_func;
42822 return f != $ac_func;
42827 rm -f conftest.
$ac_objext conftest
$ac_exeext
42828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42829 (eval $ac_link) 2>conftest.er1
42831 grep -v '^ *+' conftest.er1
>conftest.err
42833 cat conftest.err
>&5
42834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42835 (exit $ac_status); } &&
42836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42838 (eval $ac_try) 2>&5
42840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42841 (exit $ac_status); }; } &&
42842 { ac_try
='test -s conftest$ac_exeext'
42843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42844 (eval $ac_try) 2>&5
42846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42847 (exit $ac_status); }; }; then
42848 eval "$as_ac_var=yes"
42850 echo "$as_me: failed program was:" >&5
42851 sed 's/^/| /' conftest.
$ac_ext >&5
42853 eval "$as_ac_var=no"
42855 rm -f conftest.err conftest.
$ac_objext \
42856 conftest
$ac_exeext conftest.
$ac_ext
42858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42860 if test `eval echo '${'$as_ac_var'}'` = yes; then
42861 cat >>confdefs.h
<<_ACEOF
42862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42864 cat >>confdefs.h
<<\_ACEOF
42865 #define HAVE_GETSERVBYNAME 1
42873 if test "$wxUSE_THREADS" = "yes"; then
42874 cat >>confdefs.h
<<\_ACEOF
42875 #define wxUSE_THREADS 1
42879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
42881 if test "$wx_cv_func_strtok_r" = "yes"; then
42882 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42883 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
42884 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42885 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42886 echo "$as_me:$LINENO: result: yes" >&5
42887 echo "${ECHO_T}yes" >&6
42889 echo "$as_me:$LINENO: result: no" >&5
42890 echo "${ECHO_T}no" >&6
42895 if test "$WXGTK20" = 1 ; then
42896 cat >>confdefs.h
<<_ACEOF
42897 #define __WXGTK20__ $WXGTK20
42903 if test "$WXGTK12" = 1 ; then
42904 cat >>confdefs.h
<<_ACEOF
42905 #define __WXGTK12__ $WXGTK12
42910 if test "$WXGTK127" = 1 ; then
42911 cat >>confdefs.h
<<_ACEOF
42912 #define __WXGTK127__ $WXGTK127
42917 if test "$WXGPE" = 1 ; then
42918 cat >>confdefs.h
<<_ACEOF
42919 #define __WXGPE__ $WXGPE
42925 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42930 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42931 wxUSE_DEBUG_INFO
=yes
42932 if test "$GCC" = yes; then
42933 DEBUG_CFLAGS
="-ggdb"
42937 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42938 cat >>confdefs.h
<<\_ACEOF
42942 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42944 if test "$wxUSE_GTK" = 1 ; then
42945 if test "x$wxGTK_VERSION" = "x1" ; then
42946 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42951 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42952 cat >>confdefs.h
<<\_ACEOF
42953 #define wxUSE_MEMORY_TRACING 1
42956 cat >>confdefs.h
<<\_ACEOF
42957 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42960 cat >>confdefs.h
<<\_ACEOF
42961 #define wxUSE_DEBUG_NEW_ALWAYS 1
42964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
42967 if test "$wxUSE_DMALLOC" = "yes" ; then
42968 DMALLOC_LIBS
="-ldmallocthcxx"
42972 if test "$wxUSE_PROFILE" = "yes" ; then
42973 PROFILE_FLAGS
=" -pg"
42976 if test "$GCC" = "yes" ; then
42977 if test "$wxUSE_NO_RTTI" = "yes" ; then
42978 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
42980 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42981 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
42983 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42984 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
42989 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
42992 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
42998 if test "$wxUSE_OPTIMISE" = "no" ; then
42999 if test "$GCC" = yes ; then
43000 OPTIMISE_CFLAGS
="-O0"
43003 if test "$GCC" = yes ; then
43005 *-pc-os2_emx | *-pc-os2-emx )
43006 OPTIMISE_CFLAGS
="-O2"
43009 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
43013 OPTIMISE_CFLAGS
="-O"
43018 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43019 cat >>confdefs.h
<<\_ACEOF
43020 #define WXWIN_COMPATIBILITY_2_6 1
43024 WXWIN_COMPATIBILITY_2_8
="yes"
43027 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43028 cat >>confdefs.h
<<\_ACEOF
43029 #define WXWIN_COMPATIBILITY_2_8 1
43035 if test "$wxUSE_GUI" = "yes"; then
43036 cat >>confdefs.h
<<\_ACEOF
43037 #define wxUSE_GUI 1
43044 if test "$wxUSE_UNIX" = "yes"; then
43045 cat >>confdefs.h
<<\_ACEOF
43046 #define wxUSE_UNIX 1
43052 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43056 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43057 if test "$USE_DARWIN" = 1; then
43059 elif test "$USE_DOS" = 1; then
43063 for ac_func
in dlopen
43065 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43066 echo "$as_me:$LINENO: checking for $ac_func" >&5
43067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43068 if eval "test \"\${$as_ac_var+set}\" = set"; then
43069 echo $ECHO_N "(cached) $ECHO_C" >&6
43071 cat >conftest.
$ac_ext <<_ACEOF
43074 cat confdefs.h
>>conftest.
$ac_ext
43075 cat >>conftest.
$ac_ext <<_ACEOF
43076 /* end confdefs.h. */
43077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43079 #define $ac_func innocuous_$ac_func
43081 /* System header to define __stub macros and hopefully few prototypes,
43082 which can conflict with char $ac_func (); below.
43083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43084 <limits.h> exists even on freestanding compilers. */
43087 # include <limits.h>
43089 # include <assert.h>
43094 /* Override any gcc2 internal prototype to avoid an error. */
43099 /* We use char because int might match the return type of a gcc2
43100 builtin and then its argument prototype would still apply. */
43102 /* The GNU C library defines this for functions which it implements
43103 to always fail with ENOSYS. Some functions are actually named
43104 something starting with __ and the normal name is an alias. */
43105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43108 char (*f) () = $ac_func;
43117 return f != $ac_func;
43122 rm -f conftest.
$ac_objext conftest
$ac_exeext
43123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43124 (eval $ac_link) 2>conftest.er1
43126 grep -v '^ *+' conftest.er1
>conftest.err
43128 cat conftest.err
>&5
43129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43130 (exit $ac_status); } &&
43131 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43133 (eval $ac_try) 2>&5
43135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43136 (exit $ac_status); }; } &&
43137 { ac_try
='test -s conftest$ac_exeext'
43138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43139 (eval $ac_try) 2>&5
43141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43142 (exit $ac_status); }; }; then
43143 eval "$as_ac_var=yes"
43145 echo "$as_me: failed program was:" >&5
43146 sed 's/^/| /' conftest.
$ac_ext >&5
43148 eval "$as_ac_var=no"
43150 rm -f conftest.err conftest.
$ac_objext \
43151 conftest
$ac_exeext conftest.
$ac_ext
43153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43155 if test `eval echo '${'$as_ac_var'}'` = yes; then
43156 cat >>confdefs.h
<<_ACEOF
43157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43160 cat >>confdefs.h
<<\_ACEOF
43161 #define HAVE_DLOPEN 1
43168 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43169 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
43170 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43171 echo $ECHO_N "(cached) $ECHO_C" >&6
43173 ac_check_lib_save_LIBS
=$LIBS
43175 cat >conftest.
$ac_ext <<_ACEOF
43178 cat confdefs.h
>>conftest.
$ac_ext
43179 cat >>conftest.
$ac_ext <<_ACEOF
43180 /* end confdefs.h. */
43182 /* Override any gcc2 internal prototype to avoid an error. */
43186 /* We use char because int might match the return type of a gcc2
43187 builtin and then its argument prototype would still apply. */
43197 rm -f conftest.
$ac_objext conftest
$ac_exeext
43198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43199 (eval $ac_link) 2>conftest.er1
43201 grep -v '^ *+' conftest.er1
>conftest.err
43203 cat conftest.err
>&5
43204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43205 (exit $ac_status); } &&
43206 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43208 (eval $ac_try) 2>&5
43210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43211 (exit $ac_status); }; } &&
43212 { ac_try
='test -s conftest$ac_exeext'
43213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43214 (eval $ac_try) 2>&5
43216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43217 (exit $ac_status); }; }; then
43218 ac_cv_lib_dl_dlopen
=yes
43220 echo "$as_me: failed program was:" >&5
43221 sed 's/^/| /' conftest.
$ac_ext >&5
43223 ac_cv_lib_dl_dlopen
=no
43225 rm -f conftest.err conftest.
$ac_objext \
43226 conftest
$ac_exeext conftest.
$ac_ext
43227 LIBS
=$ac_check_lib_save_LIBS
43229 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43230 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
43231 if test $ac_cv_lib_dl_dlopen = yes; then
43233 cat >>confdefs.h
<<\_ACEOF
43234 #define HAVE_DLOPEN 1
43238 DL_LINK
=" -ldl$DL_LINK"
43243 for ac_func
in shl_load
43245 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43246 echo "$as_me:$LINENO: checking for $ac_func" >&5
43247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43248 if eval "test \"\${$as_ac_var+set}\" = set"; then
43249 echo $ECHO_N "(cached) $ECHO_C" >&6
43251 cat >conftest.
$ac_ext <<_ACEOF
43254 cat confdefs.h
>>conftest.
$ac_ext
43255 cat >>conftest.
$ac_ext <<_ACEOF
43256 /* end confdefs.h. */
43257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43259 #define $ac_func innocuous_$ac_func
43261 /* System header to define __stub macros and hopefully few prototypes,
43262 which can conflict with char $ac_func (); below.
43263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43264 <limits.h> exists even on freestanding compilers. */
43267 # include <limits.h>
43269 # include <assert.h>
43274 /* Override any gcc2 internal prototype to avoid an error. */
43279 /* We use char because int might match the return type of a gcc2
43280 builtin and then its argument prototype would still apply. */
43282 /* The GNU C library defines this for functions which it implements
43283 to always fail with ENOSYS. Some functions are actually named
43284 something starting with __ and the normal name is an alias. */
43285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43288 char (*f) () = $ac_func;
43297 return f != $ac_func;
43302 rm -f conftest.
$ac_objext conftest
$ac_exeext
43303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43304 (eval $ac_link) 2>conftest.er1
43306 grep -v '^ *+' conftest.er1
>conftest.err
43308 cat conftest.err
>&5
43309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43310 (exit $ac_status); } &&
43311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43313 (eval $ac_try) 2>&5
43315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43316 (exit $ac_status); }; } &&
43317 { ac_try
='test -s conftest$ac_exeext'
43318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43319 (eval $ac_try) 2>&5
43321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43322 (exit $ac_status); }; }; then
43323 eval "$as_ac_var=yes"
43325 echo "$as_me: failed program was:" >&5
43326 sed 's/^/| /' conftest.
$ac_ext >&5
43328 eval "$as_ac_var=no"
43330 rm -f conftest.err conftest.
$ac_objext \
43331 conftest
$ac_exeext conftest.
$ac_ext
43333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43335 if test `eval echo '${'$as_ac_var'}'` = yes; then
43336 cat >>confdefs.h
<<_ACEOF
43337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43340 cat >>confdefs.h
<<\_ACEOF
43341 #define HAVE_SHL_LOAD 1
43348 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43349 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
43350 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43351 echo $ECHO_N "(cached) $ECHO_C" >&6
43353 ac_check_lib_save_LIBS
=$LIBS
43354 LIBS
="-lshl_load $LIBS"
43355 cat >conftest.
$ac_ext <<_ACEOF
43358 cat confdefs.h
>>conftest.
$ac_ext
43359 cat >>conftest.
$ac_ext <<_ACEOF
43360 /* end confdefs.h. */
43362 /* Override any gcc2 internal prototype to avoid an error. */
43366 /* We use char because int might match the return type of a gcc2
43367 builtin and then its argument prototype would still apply. */
43377 rm -f conftest.
$ac_objext conftest
$ac_exeext
43378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43379 (eval $ac_link) 2>conftest.er1
43381 grep -v '^ *+' conftest.er1
>conftest.err
43383 cat conftest.err
>&5
43384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43385 (exit $ac_status); } &&
43386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43388 (eval $ac_try) 2>&5
43390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43391 (exit $ac_status); }; } &&
43392 { ac_try
='test -s conftest$ac_exeext'
43393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43394 (eval $ac_try) 2>&5
43396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43397 (exit $ac_status); }; }; then
43398 ac_cv_lib_shl_load_dld
=yes
43400 echo "$as_me: failed program was:" >&5
43401 sed 's/^/| /' conftest.
$ac_ext >&5
43403 ac_cv_lib_shl_load_dld
=no
43405 rm -f conftest.err conftest.
$ac_objext \
43406 conftest
$ac_exeext conftest.
$ac_ext
43407 LIBS
=$ac_check_lib_save_LIBS
43409 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43410 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
43411 if test $ac_cv_lib_shl_load_dld = yes; then
43414 DL_LINK
=" -ldld$DL_LINK"
43430 if test "$HAVE_DL_FUNCS" = 1; then
43432 for ac_func
in dlerror
43434 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43435 echo "$as_me:$LINENO: checking for $ac_func" >&5
43436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43437 if eval "test \"\${$as_ac_var+set}\" = set"; then
43438 echo $ECHO_N "(cached) $ECHO_C" >&6
43440 cat >conftest.
$ac_ext <<_ACEOF
43443 cat confdefs.h
>>conftest.
$ac_ext
43444 cat >>conftest.
$ac_ext <<_ACEOF
43445 /* end confdefs.h. */
43446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43448 #define $ac_func innocuous_$ac_func
43450 /* System header to define __stub macros and hopefully few prototypes,
43451 which can conflict with char $ac_func (); below.
43452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43453 <limits.h> exists even on freestanding compilers. */
43456 # include <limits.h>
43458 # include <assert.h>
43463 /* Override any gcc2 internal prototype to avoid an error. */
43468 /* We use char because int might match the return type of a gcc2
43469 builtin and then its argument prototype would still apply. */
43471 /* The GNU C library defines this for functions which it implements
43472 to always fail with ENOSYS. Some functions are actually named
43473 something starting with __ and the normal name is an alias. */
43474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43477 char (*f) () = $ac_func;
43486 return f != $ac_func;
43491 rm -f conftest.
$ac_objext conftest
$ac_exeext
43492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43493 (eval $ac_link) 2>conftest.er1
43495 grep -v '^ *+' conftest.er1
>conftest.err
43497 cat conftest.err
>&5
43498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43499 (exit $ac_status); } &&
43500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43502 (eval $ac_try) 2>&5
43504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43505 (exit $ac_status); }; } &&
43506 { ac_try
='test -s conftest$ac_exeext'
43507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43508 (eval $ac_try) 2>&5
43510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43511 (exit $ac_status); }; }; then
43512 eval "$as_ac_var=yes"
43514 echo "$as_me: failed program was:" >&5
43515 sed 's/^/| /' conftest.
$ac_ext >&5
43517 eval "$as_ac_var=no"
43519 rm -f conftest.err conftest.
$ac_objext \
43520 conftest
$ac_exeext conftest.
$ac_ext
43522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43524 if test `eval echo '${'$as_ac_var'}'` = yes; then
43525 cat >>confdefs.h
<<_ACEOF
43526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43528 cat >>confdefs.h
<<\_ACEOF
43529 #define HAVE_DLERROR 1
43534 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43535 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
43536 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43537 echo $ECHO_N "(cached) $ECHO_C" >&6
43539 ac_check_lib_save_LIBS
=$LIBS
43541 cat >conftest.
$ac_ext <<_ACEOF
43544 cat confdefs.h
>>conftest.
$ac_ext
43545 cat >>conftest.
$ac_ext <<_ACEOF
43546 /* end confdefs.h. */
43548 /* Override any gcc2 internal prototype to avoid an error. */
43552 /* We use char because int might match the return type of a gcc2
43553 builtin and then its argument prototype would still apply. */
43563 rm -f conftest.
$ac_objext conftest
$ac_exeext
43564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43565 (eval $ac_link) 2>conftest.er1
43567 grep -v '^ *+' conftest.er1
>conftest.err
43569 cat conftest.err
>&5
43570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43571 (exit $ac_status); } &&
43572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43574 (eval $ac_try) 2>&5
43576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43577 (exit $ac_status); }; } &&
43578 { ac_try
='test -s conftest$ac_exeext'
43579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43580 (eval $ac_try) 2>&5
43582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43583 (exit $ac_status); }; }; then
43584 ac_cv_lib_dl_dlerror
=yes
43586 echo "$as_me: failed program was:" >&5
43587 sed 's/^/| /' conftest.
$ac_ext >&5
43589 ac_cv_lib_dl_dlerror
=no
43591 rm -f conftest.err conftest.
$ac_objext \
43592 conftest
$ac_exeext conftest.
$ac_ext
43593 LIBS
=$ac_check_lib_save_LIBS
43595 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43596 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
43597 if test $ac_cv_lib_dl_dlerror = yes; then
43598 cat >>confdefs.h
<<\_ACEOF
43599 #define HAVE_DLERROR 1
43612 if test "$HAVE_DL_FUNCS" = 0; then
43613 if test "$HAVE_SHL_FUNCS" = 0; then
43614 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43615 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43616 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43617 wxUSE_DYNAMIC_LOADER
=no
43618 wxUSE_DYNLIB_CLASS
=no
43620 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43621 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43628 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43629 cat >>confdefs.h
<<\_ACEOF
43630 #define wxUSE_DYNAMIC_LOADER 1
43634 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43635 cat >>confdefs.h
<<\_ACEOF
43636 #define wxUSE_DYNLIB_CLASS 1
43643 if test "$wxUSE_PLUGINS" = "yes" ; then
43644 if test "$wxUSE_SHARED" = "no" ; then
43645 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43646 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43649 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43650 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43651 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43654 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43655 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43656 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43659 if test "$wxUSE_PLUGINS" = "yes" ; then
43660 cat >>confdefs.h
<<\_ACEOF
43661 #define wxUSE_PLUGINS 1
43668 if test "$wxUSE_STL" = "yes"; then
43669 cat >>confdefs.h
<<\_ACEOF
43670 #define wxUSE_STL 1
43675 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43676 cat >>confdefs.h
<<\_ACEOF
43677 #define wxUSE_EXTENDED_RTTI 1
43682 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43683 cat >>confdefs.h
<<\_ACEOF
43684 #define wxUSE_APPLE_IEEE 1
43689 if test "$wxUSE_TIMER" = "yes"; then
43690 cat >>confdefs.h
<<\_ACEOF
43691 #define wxUSE_TIMER 1
43696 if test "$USE_UNIX" = "1" ; then
43697 if test "$wxUSE_MGL" != 1; then
43698 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43699 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
43700 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43701 echo $ECHO_N "(cached) $ECHO_C" >&6
43704 cat >conftest.
$ac_ext <<_ACEOF
43707 cat confdefs.h
>>conftest.
$ac_ext
43708 cat >>conftest.
$ac_ext <<_ACEOF
43709 /* end confdefs.h. */
43711 #include <sys/ioctl.h>
43712 #include <sys/soundcard.h>
43718 ioctl(0, SNDCTL_DSP_SPEED, 0);
43724 rm -f conftest.
$ac_objext conftest
$ac_exeext
43725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43726 (eval $ac_link) 2>conftest.er1
43728 grep -v '^ *+' conftest.er1
>conftest.err
43730 cat conftest.err
>&5
43731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43732 (exit $ac_status); } &&
43733 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43735 (eval $ac_try) 2>&5
43737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43738 (exit $ac_status); }; } &&
43739 { ac_try
='test -s conftest$ac_exeext'
43740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43741 (eval $ac_try) 2>&5
43743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43744 (exit $ac_status); }; }; then
43745 ac_cv_header_sys_soundcard
=yes
43747 echo "$as_me: failed program was:" >&5
43748 sed 's/^/| /' conftest.
$ac_ext >&5
43752 LIBS
="$saveLibs -lossaudio"
43753 cat >conftest.
$ac_ext <<_ACEOF
43756 cat confdefs.h
>>conftest.
$ac_ext
43757 cat >>conftest.
$ac_ext <<_ACEOF
43758 /* end confdefs.h. */
43760 #include <sys/ioctl.h>
43761 #include <sys/soundcard.h>
43767 ioctl(0, SNDCTL_DSP_SPEED, 0);
43773 rm -f conftest.
$ac_objext conftest
$ac_exeext
43774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43775 (eval $ac_link) 2>conftest.er1
43777 grep -v '^ *+' conftest.er1
>conftest.err
43779 cat conftest.err
>&5
43780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43781 (exit $ac_status); } &&
43782 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43784 (eval $ac_try) 2>&5
43786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43787 (exit $ac_status); }; } &&
43788 { ac_try
='test -s conftest$ac_exeext'
43789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43790 (eval $ac_try) 2>&5
43792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43793 (exit $ac_status); }; }; then
43794 ac_cv_header_sys_soundcard
=yes
43796 echo "$as_me: failed program was:" >&5
43797 sed 's/^/| /' conftest.
$ac_ext >&5
43801 ac_cv_header_sys_soundcard
=no
43805 rm -f conftest.err conftest.
$ac_objext \
43806 conftest
$ac_exeext conftest.
$ac_ext
43810 rm -f conftest.err conftest.
$ac_objext \
43811 conftest
$ac_exeext conftest.
$ac_ext
43814 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43815 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
43818 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43819 cat >>confdefs.h
<<\_ACEOF
43820 #define HAVE_SYS_SOUNDCARD_H 1
43827 if test "$wxUSE_SOUND" = "yes"; then
43828 if test "$USE_UNIX" = "1" ; then
43829 if test "$wxUSE_LIBSDL" != "no"; then
43831 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
43832 if test "${with_sdl_prefix+set}" = set; then
43833 withval
="$with_sdl_prefix"
43834 sdl_prefix
="$withval"
43839 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
43840 if test "${with_sdl_exec_prefix+set}" = set; then
43841 withval
="$with_sdl_exec_prefix"
43842 sdl_exec_prefix
="$withval"
43846 # Check whether --enable-sdltest or --disable-sdltest was given.
43847 if test "${enable_sdltest+set}" = set; then
43848 enableval
="$enable_sdltest"
43854 if test x
$sdl_exec_prefix != x
; then
43855 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
43856 if test x
${SDL_CONFIG+set} != xset
; then
43857 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
43860 if test x
$sdl_prefix != x
; then
43861 sdl_args
="$sdl_args --prefix=$sdl_prefix"
43862 if test x
${SDL_CONFIG+set} != xset
; then
43863 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
43867 if test "x$prefix" != xNONE
; then
43868 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
43870 # Extract the first word of "sdl-config", so it can be a program name with args.
43871 set dummy sdl
-config; ac_word
=$2
43872 echo "$as_me:$LINENO: checking for $ac_word" >&5
43873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43874 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43875 echo $ECHO_N "(cached) $ECHO_C" >&6
43877 case $SDL_CONFIG in
43879 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
43882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43883 for as_dir
in $PATH
43886 test -z "$as_dir" && as_dir
=.
43887 for ac_exec_ext
in '' $ac_executable_extensions; do
43888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43889 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43896 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
43900 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
43902 if test -n "$SDL_CONFIG"; then
43903 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43904 echo "${ECHO_T}$SDL_CONFIG" >&6
43906 echo "$as_me:$LINENO: result: no" >&5
43907 echo "${ECHO_T}no" >&6
43910 min_sdl_version
=1.2.0
43911 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43912 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
43914 if test "$SDL_CONFIG" = "no" ; then
43917 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
43918 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
43920 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
43921 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43922 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
43923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43924 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
43925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43926 if test "x$enable_sdltest" = "xyes" ; then
43927 ac_save_CFLAGS
="$CFLAGS"
43928 ac_save_CXXFLAGS
="$CXXFLAGS"
43929 ac_save_LIBS
="$LIBS"
43930 CFLAGS
="$CFLAGS $SDL_CFLAGS"
43931 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
43932 LIBS
="$LIBS $SDL_LIBS"
43934 if test "$cross_compiling" = yes; then
43935 echo $ac_n "cross compiling; assumed OK... $ac_c"
43937 cat >conftest.
$ac_ext <<_ACEOF
43940 cat confdefs.h
>>conftest.
$ac_ext
43941 cat >>conftest.
$ac_ext <<_ACEOF
43942 /* end confdefs.h. */
43945 #include <stdlib.h>
43946 #include <string.h>
43950 my_strdup (char *str)
43956 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43957 strcpy (new_str, str);
43965 int main (int argc, char *argv[])
43967 int major, minor, micro;
43970 /* This hangs on some systems (?)
43971 system ("touch conf.sdltest");
43973 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43975 /* HP/UX 9 (%@#!) writes to sscanf strings */
43976 tmp_version = my_strdup("$min_sdl_version");
43977 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43978 printf("%s, bad version string\n", "$min_sdl_version");
43982 if (($sdl_major_version > major) ||
43983 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43984 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43990 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43991 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43992 printf("*** best to upgrade to the required version.\n");
43993 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43994 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43995 printf("*** config.cache before re-running configure\n");
44002 rm -f conftest
$ac_exeext
44003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44004 (eval $ac_link) 2>&5
44006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44007 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
44008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44009 (eval $ac_try) 2>&5
44011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44012 (exit $ac_status); }; }; then
44015 echo "$as_me: program exited with status $ac_status" >&5
44016 echo "$as_me: failed program was:" >&5
44017 sed 's/^/| /' conftest.
$ac_ext >&5
44019 ( exit $ac_status )
44022 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
44024 CFLAGS
="$ac_save_CFLAGS"
44025 CXXFLAGS
="$ac_save_CXXFLAGS"
44026 LIBS
="$ac_save_LIBS"
44029 if test "x$no_sdl" = x
; then
44030 echo "$as_me:$LINENO: result: yes" >&5
44031 echo "${ECHO_T}yes" >&6
44033 EXTRALIBS_SDL
="$SDL_LIBS"
44034 CFLAGS
="$SDL_CFLAGS $CFLAGS"
44035 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
44036 cat >>confdefs.h
<<\_ACEOF
44037 #define wxUSE_LIBSDL 1
44042 echo "$as_me:$LINENO: result: no" >&5
44043 echo "${ECHO_T}no" >&6
44044 if test "$SDL_CONFIG" = "no" ; then
44045 echo "*** The sdl-config script installed by SDL could not be found"
44046 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44047 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44048 echo "*** full path to sdl-config."
44050 if test -f conf.sdltest
; then
44053 echo "*** Could not run SDL test program, checking why..."
44054 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44055 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44056 LIBS
="$LIBS $SDL_LIBS"
44057 cat >conftest.
$ac_ext <<_ACEOF
44060 cat confdefs.h
>>conftest.
$ac_ext
44061 cat >>conftest.
$ac_ext <<_ACEOF
44062 /* end confdefs.h. */
44067 int main(int argc, char *argv[])
44070 #define main K_and_R_C_main
44080 rm -f conftest.
$ac_objext conftest
$ac_exeext
44081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44082 (eval $ac_link) 2>conftest.er1
44084 grep -v '^ *+' conftest.er1
>conftest.err
44086 cat conftest.err
>&5
44087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44088 (exit $ac_status); } &&
44089 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44091 (eval $ac_try) 2>&5
44093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44094 (exit $ac_status); }; } &&
44095 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
44101 echo "*** The test program compiled, but did not run. This usually means"
44102 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44103 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44104 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44105 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44106 echo "*** is required on your system"
44108 echo "*** If you have an old version installed, it is best to remove it, although"
44109 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44111 echo "$as_me: failed program was:" >&5
44112 sed 's/^/| /' conftest.
$ac_ext >&5
44114 echo "*** The test program failed to compile or link. See the file config.log for the"
44115 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44116 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44117 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44119 rm -f conftest.err conftest.
$ac_objext \
44120 conftest
$ac_exeext conftest.
$ac_ext
44121 CFLAGS
="$ac_save_CFLAGS"
44122 CXXFLAGS
="$ac_save_CXXFLAGS"
44123 LIBS
="$ac_save_LIBS"
44134 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44139 if test "$wxUSE_MGL" = 1; then
44140 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44141 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44147 if test "$wxUSE_SOUND" = "yes"; then
44148 cat >>confdefs.h
<<\_ACEOF
44149 #define wxUSE_SOUND 1
44152 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
44155 if test "$WXGTK20" = 1; then
44158 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44159 if test -n "$ac_tool_prefix"; then
44160 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44161 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
44162 echo "$as_me:$LINENO: checking for $ac_word" >&5
44163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44164 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44165 echo $ECHO_N "(cached) $ECHO_C" >&6
44167 case $PKG_CONFIG in
44169 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44173 for as_dir
in $PATH
44176 test -z "$as_dir" && as_dir
=.
44177 for ac_exec_ext
in '' $ac_executable_extensions; do
44178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44179 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44189 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44191 if test -n "$PKG_CONFIG"; then
44192 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44193 echo "${ECHO_T}$PKG_CONFIG" >&6
44195 echo "$as_me:$LINENO: result: no" >&5
44196 echo "${ECHO_T}no" >&6
44200 if test -z "$ac_cv_path_PKG_CONFIG"; then
44201 ac_pt_PKG_CONFIG
=$PKG_CONFIG
44202 # Extract the first word of "pkg-config", so it can be a program name with args.
44203 set dummy pkg
-config; ac_word
=$2
44204 echo "$as_me:$LINENO: checking for $ac_word" >&5
44205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44206 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44207 echo $ECHO_N "(cached) $ECHO_C" >&6
44209 case $ac_pt_PKG_CONFIG in
44211 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44215 for as_dir
in $PATH
44218 test -z "$as_dir" && as_dir
=.
44219 for ac_exec_ext
in '' $ac_executable_extensions; do
44220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44221 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44231 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
44233 if test -n "$ac_pt_PKG_CONFIG"; then
44234 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44235 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
44237 echo "$as_me:$LINENO: result: no" >&5
44238 echo "${ECHO_T}no" >&6
44241 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44243 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44247 if test -n "$PKG_CONFIG"; then
44248 _pkg_min_version
=0.9.0
44249 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44250 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
44251 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44252 echo "$as_me:$LINENO: result: yes" >&5
44253 echo "${ECHO_T}yes" >&6
44255 echo "$as_me:$LINENO: result: no" >&5
44256 echo "${ECHO_T}no" >&6
44262 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44263 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44267 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44268 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
44270 if test -n "$PKG_CONFIG"; then
44271 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44272 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44274 if test -n "$PKG_CONFIG" && \
44275 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44276 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44279 (exit $ac_status); }; then
44280 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44288 if test -n "$PKG_CONFIG"; then
44289 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44290 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
44292 if test -n "$PKG_CONFIG" && \
44293 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44294 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44297 (exit $ac_status); }; then
44298 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44309 if test $pkg_failed = yes; then
44311 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44312 _pkg_short_errors_supported
=yes
44314 _pkg_short_errors_supported
=no
44316 if test $_pkg_short_errors_supported = yes; then
44317 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44319 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44321 # Put the nasty error message in config.log where it belongs
44322 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44325 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44326 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44327 wxUSE_LIBGNOMEPRINT
="no"
44330 elif test $pkg_failed = untried
; then
44332 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44333 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44334 wxUSE_LIBGNOMEPRINT
="no"
44338 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44339 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44340 echo "$as_me:$LINENO: result: yes" >&5
44341 echo "${ECHO_T}yes" >&6
44343 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44344 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44345 cat >>confdefs.h
<<\_ACEOF
44346 #define wxUSE_LIBGNOMEPRINT 1
44354 if test "$wxUSE_MIMETYPE" = "yes" ; then
44355 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44359 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44360 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
44362 if test -n "$PKG_CONFIG"; then
44363 if test -n "$GNOMEVFS_CFLAGS"; then
44364 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44366 if test -n "$PKG_CONFIG" && \
44367 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44368 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44371 (exit $ac_status); }; then
44372 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44380 if test -n "$PKG_CONFIG"; then
44381 if test -n "$GNOMEVFS_LIBS"; then
44382 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44384 if test -n "$PKG_CONFIG" && \
44385 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44386 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44389 (exit $ac_status); }; then
44390 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44401 if test $pkg_failed = yes; then
44403 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44404 _pkg_short_errors_supported
=yes
44406 _pkg_short_errors_supported
=no
44408 if test $_pkg_short_errors_supported = yes; then
44409 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44411 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44413 # Put the nasty error message in config.log where it belongs
44414 echo "$GNOMEVFS_PKG_ERRORS" >&5
44417 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44418 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44419 wxUSE_LIBGNOMEVFS
="no"
44422 elif test $pkg_failed = untried
; then
44424 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44425 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44426 wxUSE_LIBGNOMEVFS
="no"
44430 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
44431 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
44432 echo "$as_me:$LINENO: result: yes" >&5
44433 echo "${ECHO_T}yes" >&6
44435 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
44436 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
44437 cat >>confdefs.h
<<\_ACEOF
44438 #define wxUSE_LIBGNOMEVFS 1
44446 if test "$wxUSE_LIBHILDON" = "yes" ; then
44449 echo "$as_me:$LINENO: checking for HILDON" >&5
44450 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
44452 if test -n "$PKG_CONFIG"; then
44453 if test -n "$HILDON_CFLAGS"; then
44454 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
44456 if test -n "$PKG_CONFIG" && \
44457 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44458 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44461 (exit $ac_status); }; then
44462 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44470 if test -n "$PKG_CONFIG"; then
44471 if test -n "$HILDON_LIBS"; then
44472 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
44474 if test -n "$PKG_CONFIG" && \
44475 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44476 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44479 (exit $ac_status); }; then
44480 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44491 if test $pkg_failed = yes; then
44493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44494 _pkg_short_errors_supported
=yes
44496 _pkg_short_errors_supported
=no
44498 if test $_pkg_short_errors_supported = yes; then
44499 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44501 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44503 # Put the nasty error message in config.log where it belongs
44504 echo "$HILDON_PKG_ERRORS" >&5
44507 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44508 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44509 wxUSE_LIBHILDON
="no"
44512 elif test $pkg_failed = untried
; then
44514 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44515 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44516 wxUSE_LIBHILDON
="no"
44520 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
44521 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
44522 echo "$as_me:$LINENO: result: yes" >&5
44523 echo "${ECHO_T}yes" >&6
44525 EXTRALIBS_HILDON
="$HILDON_LIBS"
44526 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
44527 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
44528 cat >>confdefs.h
<<\_ACEOF
44529 #define wxUSE_LIBHILDON 1
44537 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44538 cat >>confdefs.h
<<\_ACEOF
44539 #define wxUSE_CMDLINE_PARSER 1
44544 if test "$wxUSE_STOPWATCH" = "yes"; then
44545 cat >>confdefs.h
<<\_ACEOF
44546 #define wxUSE_STOPWATCH 1
44551 if test "$wxUSE_DATETIME" = "yes"; then
44552 cat >>confdefs.h
<<\_ACEOF
44553 #define wxUSE_DATETIME 1
44558 if test "$wxUSE_FILE" = "yes"; then
44559 cat >>confdefs.h
<<\_ACEOF
44560 #define wxUSE_FILE 1
44565 if test "$wxUSE_FFILE" = "yes"; then
44566 cat >>confdefs.h
<<\_ACEOF
44567 #define wxUSE_FFILE 1
44572 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44573 if test "$wxUSE_STREAMS" != yes; then
44574 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44575 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44576 wxUSE_ARCHIVE_STREAMS
=no
44578 cat >>confdefs.h
<<\_ACEOF
44579 #define wxUSE_ARCHIVE_STREAMS 1
44585 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44586 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44587 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44588 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44589 elif test "$wxUSE_ZLIB" = "no"; then
44590 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44591 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44593 cat >>confdefs.h
<<\_ACEOF
44594 #define wxUSE_ZIPSTREAM 1
44600 if test "$wxUSE_TARSTREAM" = "yes"; then
44601 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44602 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44603 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44605 cat >>confdefs.h
<<\_ACEOF
44606 #define wxUSE_TARSTREAM 1
44612 if test "$wxUSE_FILESYSTEM" = "yes"; then
44613 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44614 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44615 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44616 wxUSE_FILESYSTEM
=no
44618 cat >>confdefs.h
<<\_ACEOF
44619 #define wxUSE_FILESYSTEM 1
44625 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44626 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44627 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44628 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44630 cat >>confdefs.h
<<\_ACEOF
44631 #define wxUSE_FS_ARCHIVE 1
44637 if test "$wxUSE_FS_ZIP" = "yes"; then
44638 if test "$wxUSE_FS_ARCHIVE" != yes; then
44639 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44640 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44642 cat >>confdefs.h
<<\_ACEOF
44643 #define wxUSE_FS_ZIP 1
44649 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44650 if test "$USE_UNIX" != 1; then
44651 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44652 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44653 wxUSE_ON_FATAL_EXCEPTION
=no
44655 cat >>confdefs.h
<<\_ACEOF
44656 #define wxUSE_ON_FATAL_EXCEPTION 1
44662 if test "$wxUSE_STACKWALKER" = "yes"; then
44663 cat >>confdefs.h
<<\_ACEOF
44664 #define wxUSE_STACKWALKER 1
44669 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44670 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
44671 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44672 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44673 wxUSE_DEBUGREPORT
=no
44675 cat >>confdefs.h
<<\_ACEOF
44676 #define wxUSE_DEBUGREPORT 1
44679 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
44685 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44686 cat >>confdefs.h
<<\_ACEOF
44687 #define wxUSE_SNGLINST_CHECKER 1
44692 if test "$wxUSE_BUSYINFO" = "yes"; then
44693 cat >>confdefs.h
<<\_ACEOF
44694 #define wxUSE_BUSYINFO 1
44699 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44700 cat >>confdefs.h
<<\_ACEOF
44701 #define wxUSE_STD_IOSTREAM 1
44706 if test "$wxUSE_STD_STRING" = "yes"; then
44707 cat >>confdefs.h
<<\_ACEOF
44708 #define wxUSE_STD_STRING 1
44713 if test "$wxUSE_STDPATHS" = "yes"; then
44714 cat >>confdefs.h
<<\_ACEOF
44715 #define wxUSE_STDPATHS 1
44720 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44721 cat >>confdefs.h
<<\_ACEOF
44722 #define wxUSE_TEXTBUFFER 1
44727 if test "$wxUSE_TEXTFILE" = "yes"; then
44728 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44729 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44730 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44732 cat >>confdefs.h
<<\_ACEOF
44733 #define wxUSE_TEXTFILE 1
44739 if test "$wxUSE_CONFIG" = "yes" ; then
44740 if test "$wxUSE_TEXTFILE" != "yes"; then
44741 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44742 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44744 cat >>confdefs.h
<<\_ACEOF
44745 #define wxUSE_CONFIG 1
44748 cat >>confdefs.h
<<\_ACEOF
44749 #define wxUSE_CONFIG_NATIVE 1
44752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
44756 if test "$wxUSE_INTL" = "yes" ; then
44757 if test "$wxUSE_FILE" != "yes"; then
44758 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44759 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44761 cat >>confdefs.h
<<\_ACEOF
44762 #define wxUSE_INTL 1
44765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
44766 GUIDIST
="$GUIDIST INTL_DIST"
44770 if test "$wxUSE_LOG" = "yes"; then
44771 cat >>confdefs.h
<<\_ACEOF
44772 #define wxUSE_LOG 1
44776 if test "$wxUSE_LOGGUI" = "yes"; then
44777 cat >>confdefs.h
<<\_ACEOF
44778 #define wxUSE_LOGGUI 1
44783 if test "$wxUSE_LOGWINDOW" = "yes"; then
44784 cat >>confdefs.h
<<\_ACEOF
44785 #define wxUSE_LOGWINDOW 1
44790 if test "$wxUSE_LOGDIALOG" = "yes"; then
44791 cat >>confdefs.h
<<\_ACEOF
44792 #define wxUSE_LOG_DIALOG 1
44797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
44800 if test "$wxUSE_LONGLONG" = "yes"; then
44801 cat >>confdefs.h
<<\_ACEOF
44802 #define wxUSE_LONGLONG 1
44807 if test "$wxUSE_GEOMETRY" = "yes"; then
44808 cat >>confdefs.h
<<\_ACEOF
44809 #define wxUSE_GEOMETRY 1
44814 if test "$wxUSE_BASE64" = "yes"; then
44815 cat >>confdefs.h
<<\_ACEOF
44816 #define wxUSE_BASE64 1
44821 if test "$wxUSE_STREAMS" = "yes" ; then
44822 cat >>confdefs.h
<<\_ACEOF
44823 #define wxUSE_STREAMS 1
44828 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44829 cat >>confdefs.h
<<\_ACEOF
44830 #define wxUSE_PRINTF_POS_PARAMS 1
44835 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44836 cat >>confdefs.h
<<\_ACEOF
44837 #define wxUSE_OBJC_UNIQUIFYING 1
44843 if test "$wxUSE_DATETIME" = "yes"; then
44844 echo "$as_me:$LINENO: checking for strptime" >&5
44845 echo $ECHO_N "checking for strptime... $ECHO_C" >&6
44846 if test "${ac_cv_func_strptime+set}" = set; then
44847 echo $ECHO_N "(cached) $ECHO_C" >&6
44849 cat >conftest.
$ac_ext <<_ACEOF
44852 cat confdefs.h
>>conftest.
$ac_ext
44853 cat >>conftest.
$ac_ext <<_ACEOF
44854 /* end confdefs.h. */
44855 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
44856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44857 #define strptime innocuous_strptime
44859 /* System header to define __stub macros and hopefully few prototypes,
44860 which can conflict with char strptime (); below.
44861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44862 <limits.h> exists even on freestanding compilers. */
44865 # include <limits.h>
44867 # include <assert.h>
44872 /* Override any gcc2 internal prototype to avoid an error. */
44877 /* We use char because int might match the return type of a gcc2
44878 builtin and then its argument prototype would still apply. */
44880 /* The GNU C library defines this for functions which it implements
44881 to always fail with ENOSYS. Some functions are actually named
44882 something starting with __ and the normal name is an alias. */
44883 #if defined (__stub_strptime) || defined (__stub___strptime)
44886 char (*f) () = strptime;
44895 return f != strptime;
44900 rm -f conftest.
$ac_objext conftest
$ac_exeext
44901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44902 (eval $ac_link) 2>conftest.er1
44904 grep -v '^ *+' conftest.er1
>conftest.err
44906 cat conftest.err
>&5
44907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44908 (exit $ac_status); } &&
44909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44911 (eval $ac_try) 2>&5
44913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44914 (exit $ac_status); }; } &&
44915 { ac_try
='test -s conftest$ac_exeext'
44916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44917 (eval $ac_try) 2>&5
44919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44920 (exit $ac_status); }; }; then
44921 ac_cv_func_strptime
=yes
44923 echo "$as_me: failed program was:" >&5
44924 sed 's/^/| /' conftest.
$ac_ext >&5
44926 ac_cv_func_strptime
=no
44928 rm -f conftest.err conftest.
$ac_objext \
44929 conftest
$ac_exeext conftest.
$ac_ext
44931 echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
44932 echo "${ECHO_T}$ac_cv_func_strptime" >&6
44934 if test "$ac_cv_func_strptime" = "yes"; then
44935 echo "$as_me:$LINENO: checking for strptime declaration" >&5
44936 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
44937 if test "${wx_cv_func_strptime_decl+set}" = set; then
44938 echo $ECHO_N "(cached) $ECHO_C" >&6
44942 ac_cpp
='$CXXCPP $CPPFLAGS'
44943 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44944 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44945 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44947 cat >conftest.
$ac_ext <<_ACEOF
44950 cat confdefs.h
>>conftest.
$ac_ext
44951 cat >>conftest.
$ac_ext <<_ACEOF
44952 /* end confdefs.h. */
44961 strptime("foo", "bar", &t);
44967 rm -f conftest.
$ac_objext
44968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44969 (eval $ac_compile) 2>conftest.er1
44971 grep -v '^ *+' conftest.er1
>conftest.err
44973 cat conftest.err
>&5
44974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44975 (exit $ac_status); } &&
44976 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44978 (eval $ac_try) 2>&5
44980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44981 (exit $ac_status); }; } &&
44982 { ac_try
='test -s conftest.$ac_objext'
44983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44984 (eval $ac_try) 2>&5
44986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44987 (exit $ac_status); }; }; then
44988 wx_cv_func_strptime_decl
=yes
44990 echo "$as_me: failed program was:" >&5
44991 sed 's/^/| /' conftest.
$ac_ext >&5
44993 wx_cv_func_strptime_decl
=no
44996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44998 ac_cpp
='$CPP $CPPFLAGS'
44999 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45000 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45001 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45006 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
45007 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
45009 if test "$wx_cv_func_strptime_decl" = "yes"; then
45010 cat >>confdefs.h
<<\_ACEOF
45011 #define HAVE_STRPTIME_DECL 1
45015 wx_strptime_decl
="extern char *strptime(const char *, const char *, struct tm *);"
45017 if test "$ac_cv_func_strptime" = "yes"; then
45018 echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
45019 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6
45020 if test "${wx_cv_func_strptime_ok+set}" = set; then
45021 echo $ECHO_N "(cached) $ECHO_C" >&6
45023 if test "$cross_compiling" = yes; then
45024 wx_cv_func_strptime_ok
=no
45027 cat >conftest.
$ac_ext <<_ACEOF
45029 #include <stdlib.h>
45031 #include "confdefs.h"
45038 return !!strptime("", "%x", &t);
45042 rm -f conftest
$ac_exeext
45043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45044 (eval $ac_link) 2>&5
45046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45047 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
45048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45049 (eval $ac_try) 2>&5
45051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45052 (exit $ac_status); }; }; then
45053 wx_cv_func_strptime_ok
=yes
45055 echo "$as_me: program exited with status $ac_status" >&5
45056 echo "$as_me: failed program was:" >&5
45057 sed 's/^/| /' conftest.
$ac_ext >&5
45059 ( exit $ac_status )
45060 wx_cv_func_strptime_ok
=no
45062 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
45066 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
45067 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6
45069 if test "$wx_cv_func_strptime_ok" = "yes"; then
45070 cat >>confdefs.h
<<\_ACEOF
45071 #define HAVE_STRPTIME 1
45077 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45078 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
45079 if test "${wx_cv_var_timezone+set}" = set; then
45080 echo $ECHO_N "(cached) $ECHO_C" >&6
45084 ac_cpp
='$CXXCPP $CPPFLAGS'
45085 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45086 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45087 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45089 cat >conftest.
$ac_ext <<_ACEOF
45092 cat confdefs.h
>>conftest.
$ac_ext
45093 cat >>conftest.
$ac_ext <<_ACEOF
45094 /* end confdefs.h. */
45109 rm -f conftest.
$ac_objext
45110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45111 (eval $ac_compile) 2>conftest.er1
45113 grep -v '^ *+' conftest.er1
>conftest.err
45115 cat conftest.err
>&5
45116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45117 (exit $ac_status); } &&
45118 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45120 (eval $ac_try) 2>&5
45122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45123 (exit $ac_status); }; } &&
45124 { ac_try
='test -s conftest.$ac_objext'
45125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45126 (eval $ac_try) 2>&5
45128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45129 (exit $ac_status); }; }; then
45131 wx_cv_var_timezone
=timezone
45134 echo "$as_me: failed program was:" >&5
45135 sed 's/^/| /' conftest.
$ac_ext >&5
45138 cat >conftest.
$ac_ext <<_ACEOF
45141 cat confdefs.h
>>conftest.
$ac_ext
45142 cat >>conftest.
$ac_ext <<_ACEOF
45143 /* end confdefs.h. */
45158 rm -f conftest.
$ac_objext
45159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45160 (eval $ac_compile) 2>conftest.er1
45162 grep -v '^ *+' conftest.er1
>conftest.err
45164 cat conftest.err
>&5
45165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45166 (exit $ac_status); } &&
45167 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45169 (eval $ac_try) 2>&5
45171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45172 (exit $ac_status); }; } &&
45173 { ac_try
='test -s conftest.$ac_objext'
45174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45175 (eval $ac_try) 2>&5
45177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45178 (exit $ac_status); }; }; then
45180 wx_cv_var_timezone
=_timezone
45183 echo "$as_me: failed program was:" >&5
45184 sed 's/^/| /' conftest.
$ac_ext >&5
45187 cat >conftest.
$ac_ext <<_ACEOF
45190 cat confdefs.h
>>conftest.
$ac_ext
45191 cat >>conftest.
$ac_ext <<_ACEOF
45192 /* end confdefs.h. */
45207 rm -f conftest.
$ac_objext
45208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45209 (eval $ac_compile) 2>conftest.er1
45211 grep -v '^ *+' conftest.er1
>conftest.err
45213 cat conftest.err
>&5
45214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45215 (exit $ac_status); } &&
45216 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45218 (eval $ac_try) 2>&5
45220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45221 (exit $ac_status); }; } &&
45222 { ac_try
='test -s conftest.$ac_objext'
45223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45224 (eval $ac_try) 2>&5
45226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45227 (exit $ac_status); }; }; then
45229 wx_cv_var_timezone
=__timezone
45232 echo "$as_me: failed program was:" >&5
45233 sed 's/^/| /' conftest.
$ac_ext >&5
45236 if test "$USE_DOS" = 0 ; then
45237 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45238 echo "$as_me: WARNING: no timezone variable" >&2;}
45243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45253 ac_cpp
='$CPP $CPPFLAGS'
45254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45261 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45262 echo "${ECHO_T}$wx_cv_var_timezone" >&6
45264 if test "x$wx_cv_var_timezone" != x
; then
45265 cat >>confdefs.h
<<_ACEOF
45266 #define WX_TIMEZONE $wx_cv_var_timezone
45272 for ac_func
in localtime
45274 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45275 echo "$as_me:$LINENO: checking for $ac_func" >&5
45276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45277 if eval "test \"\${$as_ac_var+set}\" = set"; then
45278 echo $ECHO_N "(cached) $ECHO_C" >&6
45280 cat >conftest.
$ac_ext <<_ACEOF
45283 cat confdefs.h
>>conftest.
$ac_ext
45284 cat >>conftest.
$ac_ext <<_ACEOF
45285 /* end confdefs.h. */
45286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45288 #define $ac_func innocuous_$ac_func
45290 /* System header to define __stub macros and hopefully few prototypes,
45291 which can conflict with char $ac_func (); below.
45292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45293 <limits.h> exists even on freestanding compilers. */
45296 # include <limits.h>
45298 # include <assert.h>
45303 /* Override any gcc2 internal prototype to avoid an error. */
45308 /* We use char because int might match the return type of a gcc2
45309 builtin and then its argument prototype would still apply. */
45311 /* The GNU C library defines this for functions which it implements
45312 to always fail with ENOSYS. Some functions are actually named
45313 something starting with __ and the normal name is an alias. */
45314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45317 char (*f) () = $ac_func;
45326 return f != $ac_func;
45331 rm -f conftest.
$ac_objext conftest
$ac_exeext
45332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45333 (eval $ac_link) 2>conftest.er1
45335 grep -v '^ *+' conftest.er1
>conftest.err
45337 cat conftest.err
>&5
45338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45339 (exit $ac_status); } &&
45340 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45342 (eval $ac_try) 2>&5
45344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45345 (exit $ac_status); }; } &&
45346 { ac_try
='test -s conftest$ac_exeext'
45347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45348 (eval $ac_try) 2>&5
45350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45351 (exit $ac_status); }; }; then
45352 eval "$as_ac_var=yes"
45354 echo "$as_me: failed program was:" >&5
45355 sed 's/^/| /' conftest.
$ac_ext >&5
45357 eval "$as_ac_var=no"
45359 rm -f conftest.err conftest.
$ac_objext \
45360 conftest
$ac_exeext conftest.
$ac_ext
45362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45364 if test `eval echo '${'$as_ac_var'}'` = yes; then
45365 cat >>confdefs.h
<<_ACEOF
45366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45373 if test "$ac_cv_func_localtime" = "yes"; then
45374 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45375 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
45376 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45377 echo $ECHO_N "(cached) $ECHO_C" >&6
45380 cat >conftest.
$ac_ext <<_ACEOF
45383 cat confdefs.h
>>conftest.
$ac_ext
45384 cat >>conftest.
$ac_ext <<_ACEOF
45385 /* end confdefs.h. */
45400 rm -f conftest.
$ac_objext
45401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45402 (eval $ac_compile) 2>conftest.er1
45404 grep -v '^ *+' conftest.er1
>conftest.err
45406 cat conftest.err
>&5
45407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45408 (exit $ac_status); } &&
45409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45411 (eval $ac_try) 2>&5
45413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45414 (exit $ac_status); }; } &&
45415 { ac_try
='test -s conftest.$ac_objext'
45416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45417 (eval $ac_try) 2>&5
45419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45420 (exit $ac_status); }; }; then
45422 wx_cv_struct_tm_has_gmtoff
=yes
45425 echo "$as_me: failed program was:" >&5
45426 sed 's/^/| /' conftest.
$ac_ext >&5
45428 wx_cv_struct_tm_has_gmtoff
=no
45431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45434 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45435 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
45438 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45439 cat >>confdefs.h
<<\_ACEOF
45440 #define WX_GMTOFF_IN_TM 1
45447 for ac_func
in gettimeofday ftime
45449 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45450 echo "$as_me:$LINENO: checking for $ac_func" >&5
45451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45452 if eval "test \"\${$as_ac_var+set}\" = set"; then
45453 echo $ECHO_N "(cached) $ECHO_C" >&6
45455 cat >conftest.
$ac_ext <<_ACEOF
45458 cat confdefs.h
>>conftest.
$ac_ext
45459 cat >>conftest.
$ac_ext <<_ACEOF
45460 /* end confdefs.h. */
45461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45463 #define $ac_func innocuous_$ac_func
45465 /* System header to define __stub macros and hopefully few prototypes,
45466 which can conflict with char $ac_func (); below.
45467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45468 <limits.h> exists even on freestanding compilers. */
45471 # include <limits.h>
45473 # include <assert.h>
45478 /* Override any gcc2 internal prototype to avoid an error. */
45483 /* We use char because int might match the return type of a gcc2
45484 builtin and then its argument prototype would still apply. */
45486 /* The GNU C library defines this for functions which it implements
45487 to always fail with ENOSYS. Some functions are actually named
45488 something starting with __ and the normal name is an alias. */
45489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45492 char (*f) () = $ac_func;
45501 return f != $ac_func;
45506 rm -f conftest.
$ac_objext conftest
$ac_exeext
45507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45508 (eval $ac_link) 2>conftest.er1
45510 grep -v '^ *+' conftest.er1
>conftest.err
45512 cat conftest.err
>&5
45513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45514 (exit $ac_status); } &&
45515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45517 (eval $ac_try) 2>&5
45519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45520 (exit $ac_status); }; } &&
45521 { ac_try
='test -s conftest$ac_exeext'
45522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45523 (eval $ac_try) 2>&5
45525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45526 (exit $ac_status); }; }; then
45527 eval "$as_ac_var=yes"
45529 echo "$as_me: failed program was:" >&5
45530 sed 's/^/| /' conftest.
$ac_ext >&5
45532 eval "$as_ac_var=no"
45534 rm -f conftest.err conftest.
$ac_objext \
45535 conftest
$ac_exeext conftest.
$ac_ext
45537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45539 if test `eval echo '${'$as_ac_var'}'` = yes; then
45540 cat >>confdefs.h
<<_ACEOF
45541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45548 if test "$ac_cv_func_gettimeofday" = "yes"; then
45549 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45550 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
45551 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45552 echo $ECHO_N "(cached) $ECHO_C" >&6
45555 cat >conftest.
$ac_ext <<_ACEOF
45558 cat confdefs.h
>>conftest.
$ac_ext
45559 cat >>conftest.
$ac_ext <<_ACEOF
45560 /* end confdefs.h. */
45562 #include <sys/time.h>
45563 #include <unistd.h>
45570 gettimeofday(&tv, NULL);
45576 rm -f conftest.
$ac_objext
45577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45578 (eval $ac_compile) 2>conftest.er1
45580 grep -v '^ *+' conftest.er1
>conftest.err
45582 cat conftest.err
>&5
45583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45584 (exit $ac_status); } &&
45585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45587 (eval $ac_try) 2>&5
45589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45590 (exit $ac_status); }; } &&
45591 { ac_try
='test -s conftest.$ac_objext'
45592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45593 (eval $ac_try) 2>&5
45595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45596 (exit $ac_status); }; }; then
45597 wx_cv_func_gettimeofday_has_2_args
=yes
45599 echo "$as_me: failed program was:" >&5
45600 sed 's/^/| /' conftest.
$ac_ext >&5
45602 cat >conftest.
$ac_ext <<_ACEOF
45605 cat confdefs.h
>>conftest.
$ac_ext
45606 cat >>conftest.
$ac_ext <<_ACEOF
45607 /* end confdefs.h. */
45609 #include <sys/time.h>
45610 #include <unistd.h>
45623 rm -f conftest.
$ac_objext
45624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45625 (eval $ac_compile) 2>conftest.er1
45627 grep -v '^ *+' conftest.er1
>conftest.err
45629 cat conftest.err
>&5
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); } &&
45632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45634 (eval $ac_try) 2>&5
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); }; } &&
45638 { ac_try
='test -s conftest.$ac_objext'
45639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45640 (eval $ac_try) 2>&5
45642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45643 (exit $ac_status); }; }; then
45644 wx_cv_func_gettimeofday_has_2_args
=no
45646 echo "$as_me: failed program was:" >&5
45647 sed 's/^/| /' conftest.
$ac_ext >&5
45650 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45651 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45652 wx_cv_func_gettimeofday_has_2_args
=unknown
45656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45662 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45663 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
45665 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45666 cat >>confdefs.h
<<\_ACEOF
45667 #define WX_GETTIMEOFDAY_NO_TZ 1
45673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45677 if test "$wxUSE_SOCKETS" = "yes"; then
45678 if test "$wxUSE_MGL" = "1"; then
45679 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45680 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45685 if test "$wxUSE_SOCKETS" = "yes"; then
45686 if test "$TOOLKIT" != "MSW"; then
45687 echo "$as_me:$LINENO: checking for socket" >&5
45688 echo $ECHO_N "checking for socket... $ECHO_C" >&6
45689 if test "${ac_cv_func_socket+set}" = set; then
45690 echo $ECHO_N "(cached) $ECHO_C" >&6
45692 cat >conftest.
$ac_ext <<_ACEOF
45695 cat confdefs.h
>>conftest.
$ac_ext
45696 cat >>conftest.
$ac_ext <<_ACEOF
45697 /* end confdefs.h. */
45698 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45700 #define socket innocuous_socket
45702 /* System header to define __stub macros and hopefully few prototypes,
45703 which can conflict with char socket (); below.
45704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45705 <limits.h> exists even on freestanding compilers. */
45708 # include <limits.h>
45710 # include <assert.h>
45715 /* Override any gcc2 internal prototype to avoid an error. */
45720 /* We use char because int might match the return type of a gcc2
45721 builtin and then its argument prototype would still apply. */
45723 /* The GNU C library defines this for functions which it implements
45724 to always fail with ENOSYS. Some functions are actually named
45725 something starting with __ and the normal name is an alias. */
45726 #if defined (__stub_socket) || defined (__stub___socket)
45729 char (*f) () = socket;
45738 return f != socket;
45743 rm -f conftest.
$ac_objext conftest
$ac_exeext
45744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45745 (eval $ac_link) 2>conftest.er1
45747 grep -v '^ *+' conftest.er1
>conftest.err
45749 cat conftest.err
>&5
45750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45751 (exit $ac_status); } &&
45752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45754 (eval $ac_try) 2>&5
45756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45757 (exit $ac_status); }; } &&
45758 { ac_try
='test -s conftest$ac_exeext'
45759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45760 (eval $ac_try) 2>&5
45762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45763 (exit $ac_status); }; }; then
45764 ac_cv_func_socket
=yes
45766 echo "$as_me: failed program was:" >&5
45767 sed 's/^/| /' conftest.
$ac_ext >&5
45769 ac_cv_func_socket
=no
45771 rm -f conftest.err conftest.
$ac_objext \
45772 conftest
$ac_exeext conftest.
$ac_ext
45774 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45775 echo "${ECHO_T}$ac_cv_func_socket" >&6
45776 if test $ac_cv_func_socket = yes; then
45780 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45781 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
45782 if test "${ac_cv_lib_socket_socket+set}" = set; then
45783 echo $ECHO_N "(cached) $ECHO_C" >&6
45785 ac_check_lib_save_LIBS
=$LIBS
45786 LIBS
="-lsocket $LIBS"
45787 cat >conftest.
$ac_ext <<_ACEOF
45790 cat confdefs.h
>>conftest.
$ac_ext
45791 cat >>conftest.
$ac_ext <<_ACEOF
45792 /* end confdefs.h. */
45794 /* Override any gcc2 internal prototype to avoid an error. */
45798 /* We use char because int might match the return type of a gcc2
45799 builtin and then its argument prototype would still apply. */
45809 rm -f conftest.
$ac_objext conftest
$ac_exeext
45810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45811 (eval $ac_link) 2>conftest.er1
45813 grep -v '^ *+' conftest.er1
>conftest.err
45815 cat conftest.err
>&5
45816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45817 (exit $ac_status); } &&
45818 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45820 (eval $ac_try) 2>&5
45822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45823 (exit $ac_status); }; } &&
45824 { ac_try
='test -s conftest$ac_exeext'
45825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45826 (eval $ac_try) 2>&5
45828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45829 (exit $ac_status); }; }; then
45830 ac_cv_lib_socket_socket
=yes
45832 echo "$as_me: failed program was:" >&5
45833 sed 's/^/| /' conftest.
$ac_ext >&5
45835 ac_cv_lib_socket_socket
=no
45837 rm -f conftest.err conftest.
$ac_objext \
45838 conftest
$ac_exeext conftest.
$ac_ext
45839 LIBS
=$ac_check_lib_save_LIBS
45841 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45842 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
45843 if test $ac_cv_lib_socket_socket = yes; then
45844 if test "$INET_LINK" != " -lsocket"; then
45845 INET_LINK
="$INET_LINK -lsocket"
45849 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45850 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45863 if test "$wxUSE_SOCKETS" = "yes" ; then
45864 if test "$TOOLKIT" != "MSW"; then
45865 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45866 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
45867 if test "${wx_cv_type_getsockname3+set}" = set; then
45868 echo $ECHO_N "(cached) $ECHO_C" >&6
45872 ac_cpp
='$CXXCPP $CPPFLAGS'
45873 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45874 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45875 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45877 cat >conftest.
$ac_ext <<_ACEOF
45880 cat confdefs.h
>>conftest.
$ac_ext
45881 cat >>conftest.
$ac_ext <<_ACEOF
45882 /* end confdefs.h. */
45884 #include <sys/types.h>
45885 #include <sys/socket.h>
45892 getsockname(0, 0, &len);
45898 rm -f conftest.
$ac_objext
45899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45900 (eval $ac_compile) 2>conftest.er1
45902 grep -v '^ *+' conftest.er1
>conftest.err
45904 cat conftest.err
>&5
45905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45906 (exit $ac_status); } &&
45907 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45909 (eval $ac_try) 2>&5
45911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45912 (exit $ac_status); }; } &&
45913 { ac_try
='test -s conftest.$ac_objext'
45914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45915 (eval $ac_try) 2>&5
45917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45918 (exit $ac_status); }; }; then
45919 wx_cv_type_getsockname3
=socklen_t
45921 echo "$as_me: failed program was:" >&5
45922 sed 's/^/| /' conftest.
$ac_ext >&5
45925 CFLAGS_OLD
="$CFLAGS"
45926 if test "$GCC" = yes ; then
45927 CFLAGS
="-Werror $CFLAGS"
45930 cat >conftest.
$ac_ext <<_ACEOF
45933 cat confdefs.h
>>conftest.
$ac_ext
45934 cat >>conftest.
$ac_ext <<_ACEOF
45935 /* end confdefs.h. */
45937 #include <sys/types.h>
45938 #include <sys/socket.h>
45945 getsockname(0, 0, &len);
45951 rm -f conftest.
$ac_objext
45952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45953 (eval $ac_compile) 2>conftest.er1
45955 grep -v '^ *+' conftest.er1
>conftest.err
45957 cat conftest.err
>&5
45958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45959 (exit $ac_status); } &&
45960 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45962 (eval $ac_try) 2>&5
45964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45965 (exit $ac_status); }; } &&
45966 { ac_try
='test -s conftest.$ac_objext'
45967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45968 (eval $ac_try) 2>&5
45970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45971 (exit $ac_status); }; }; then
45972 wx_cv_type_getsockname3
=size_t
45974 echo "$as_me: failed program was:" >&5
45975 sed 's/^/| /' conftest.
$ac_ext >&5
45977 cat >conftest.
$ac_ext <<_ACEOF
45980 cat confdefs.h
>>conftest.
$ac_ext
45981 cat >>conftest.
$ac_ext <<_ACEOF
45982 /* end confdefs.h. */
45984 #include <sys/types.h>
45985 #include <sys/socket.h>
45992 getsockname(0, 0, &len);
45998 rm -f conftest.
$ac_objext
45999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46000 (eval $ac_compile) 2>conftest.er1
46002 grep -v '^ *+' conftest.er1
>conftest.err
46004 cat conftest.err
>&5
46005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46006 (exit $ac_status); } &&
46007 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46009 (eval $ac_try) 2>&5
46011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46012 (exit $ac_status); }; } &&
46013 { ac_try
='test -s conftest.$ac_objext'
46014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46015 (eval $ac_try) 2>&5
46017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46018 (exit $ac_status); }; }; then
46019 wx_cv_type_getsockname3
=int
46021 echo "$as_me: failed program was:" >&5
46022 sed 's/^/| /' conftest.
$ac_ext >&5
46024 wx_cv_type_getsockname3
=unknown
46027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46032 CFLAGS
="$CFLAGS_OLD"
46036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46038 ac_cpp
='$CPP $CPPFLAGS'
46039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46045 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46046 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
46048 if test "$wx_cv_type_getsockname3" = "unknown"; then
46050 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46051 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46053 cat >>confdefs.h
<<_ACEOF
46054 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46058 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46059 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
46060 if test "${wx_cv_type_getsockopt5+set}" = set; then
46061 echo $ECHO_N "(cached) $ECHO_C" >&6
46065 ac_cpp
='$CXXCPP $CPPFLAGS'
46066 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46067 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46068 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46070 cat >conftest.
$ac_ext <<_ACEOF
46073 cat confdefs.h
>>conftest.
$ac_ext
46074 cat >>conftest.
$ac_ext <<_ACEOF
46075 /* end confdefs.h. */
46077 #include <sys/types.h>
46078 #include <sys/socket.h>
46085 getsockopt(0, 0, 0, 0, &len);
46091 rm -f conftest.
$ac_objext
46092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46093 (eval $ac_compile) 2>conftest.er1
46095 grep -v '^ *+' conftest.er1
>conftest.err
46097 cat conftest.err
>&5
46098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46099 (exit $ac_status); } &&
46100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46102 (eval $ac_try) 2>&5
46104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46105 (exit $ac_status); }; } &&
46106 { ac_try
='test -s conftest.$ac_objext'
46107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46108 (eval $ac_try) 2>&5
46110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46111 (exit $ac_status); }; }; then
46112 wx_cv_type_getsockopt5
=socklen_t
46114 echo "$as_me: failed program was:" >&5
46115 sed 's/^/| /' conftest.
$ac_ext >&5
46118 cat >conftest.
$ac_ext <<_ACEOF
46121 cat confdefs.h
>>conftest.
$ac_ext
46122 cat >>conftest.
$ac_ext <<_ACEOF
46123 /* end confdefs.h. */
46125 #include <sys/types.h>
46126 #include <sys/socket.h>
46133 getsockopt(0, 0, 0, 0, &len);
46139 rm -f conftest.
$ac_objext
46140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46141 (eval $ac_compile) 2>conftest.er1
46143 grep -v '^ *+' conftest.er1
>conftest.err
46145 cat conftest.err
>&5
46146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46147 (exit $ac_status); } &&
46148 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46150 (eval $ac_try) 2>&5
46152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46153 (exit $ac_status); }; } &&
46154 { ac_try
='test -s conftest.$ac_objext'
46155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46156 (eval $ac_try) 2>&5
46158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46159 (exit $ac_status); }; }; then
46160 wx_cv_type_getsockopt5
=size_t
46162 echo "$as_me: failed program was:" >&5
46163 sed 's/^/| /' conftest.
$ac_ext >&5
46165 cat >conftest.
$ac_ext <<_ACEOF
46168 cat confdefs.h
>>conftest.
$ac_ext
46169 cat >>conftest.
$ac_ext <<_ACEOF
46170 /* end confdefs.h. */
46172 #include <sys/types.h>
46173 #include <sys/socket.h>
46180 getsockopt(0, 0, 0, 0, &len);
46186 rm -f conftest.
$ac_objext
46187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46188 (eval $ac_compile) 2>conftest.er1
46190 grep -v '^ *+' conftest.er1
>conftest.err
46192 cat conftest.err
>&5
46193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46194 (exit $ac_status); } &&
46195 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46197 (eval $ac_try) 2>&5
46199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46200 (exit $ac_status); }; } &&
46201 { ac_try
='test -s conftest.$ac_objext'
46202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46203 (eval $ac_try) 2>&5
46205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46206 (exit $ac_status); }; }; then
46207 wx_cv_type_getsockopt5
=int
46209 echo "$as_me: failed program was:" >&5
46210 sed 's/^/| /' conftest.
$ac_ext >&5
46212 wx_cv_type_getsockopt5
=unknown
46215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46224 ac_cpp
='$CPP $CPPFLAGS'
46225 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46226 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46227 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46231 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46232 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
46234 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46236 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46237 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46239 cat >>confdefs.h
<<_ACEOF
46240 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46247 if test "$wxUSE_SOCKETS" = "yes" ; then
46248 cat >>confdefs.h
<<\_ACEOF
46249 #define wxUSE_SOCKETS 1
46252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
46255 if test "$wxUSE_PROTOCOL" = "yes"; then
46256 if test "$wxUSE_SOCKETS" != "yes"; then
46257 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46258 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46263 if test "$wxUSE_PROTOCOL" = "yes"; then
46264 cat >>confdefs.h
<<\_ACEOF
46265 #define wxUSE_PROTOCOL 1
46269 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46270 cat >>confdefs.h
<<\_ACEOF
46271 #define wxUSE_PROTOCOL_HTTP 1
46275 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46276 cat >>confdefs.h
<<\_ACEOF
46277 #define wxUSE_PROTOCOL_FTP 1
46281 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46282 cat >>confdefs.h
<<\_ACEOF
46283 #define wxUSE_PROTOCOL_FILE 1
46288 if test "$wxUSE_FS_INET" = "yes"; then
46289 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46290 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46295 if test "$wxUSE_URL" = "yes"; then
46296 if test "$wxUSE_PROTOCOL" != "yes"; then
46297 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46298 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46301 if test "$wxUSE_URL" = "yes"; then
46302 cat >>confdefs.h
<<\_ACEOF
46303 #define wxUSE_URL 1
46309 if test "$wxUSE_VARIANT" = "yes"; then
46310 cat >>confdefs.h
<<\_ACEOF
46311 #define wxUSE_VARIANT 1
46316 if test "$wxUSE_FS_INET" = "yes"; then
46317 cat >>confdefs.h
<<\_ACEOF
46318 #define wxUSE_FS_INET 1
46324 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46327 if test "$TOOLKIT" = "MSW"; then
46330 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
46331 if test "$USE_DARWIN" = 1; then
46332 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46333 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
46335 ac_cpp
='$CXXCPP $CPPFLAGS'
46336 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46337 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46338 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46340 cat >conftest.
$ac_ext <<_ACEOF
46343 cat confdefs.h
>>conftest.
$ac_ext
46344 cat >>conftest.
$ac_ext <<_ACEOF
46345 /* end confdefs.h. */
46346 #include <IOKit/hid/IOHIDLib.h>
46350 IOHIDQueueInterface *qi = NULL;
46351 IOHIDCallbackFunction cb = NULL;
46352 qi->setEventCallout(NULL, cb, NULL, NULL);
46357 rm -f conftest.
$ac_objext
46358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46359 (eval $ac_compile) 2>conftest.er1
46361 grep -v '^ *+' conftest.er1
>conftest.err
46363 cat conftest.err
>&5
46364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46365 (exit $ac_status); } &&
46366 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46368 (eval $ac_try) 2>&5
46370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46371 (exit $ac_status); }; } &&
46372 { ac_try
='test -s conftest.$ac_objext'
46373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46374 (eval $ac_try) 2>&5
46376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46377 (exit $ac_status); }; }; then
46381 echo "$as_me: failed program was:" >&5
46382 sed 's/^/| /' conftest.
$ac_ext >&5
46385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46387 ac_cpp
='$CPP $CPPFLAGS'
46388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46392 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46393 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
46397 if test "$wxUSE_MGL" != "1"; then
46398 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
46399 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
46400 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
46401 echo $ECHO_N "(cached) $ECHO_C" >&6
46403 cat >conftest.
$ac_ext <<_ACEOF
46406 cat confdefs.h
>>conftest.
$ac_ext
46407 cat >>conftest.
$ac_ext <<_ACEOF
46408 /* end confdefs.h. */
46409 $ac_includes_default
46411 #include <linux/joystick.h>
46413 rm -f conftest.
$ac_objext
46414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46415 (eval $ac_compile) 2>conftest.er1
46417 grep -v '^ *+' conftest.er1
>conftest.err
46419 cat conftest.err
>&5
46420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46421 (exit $ac_status); } &&
46422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46424 (eval $ac_try) 2>&5
46426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46427 (exit $ac_status); }; } &&
46428 { ac_try
='test -s conftest.$ac_objext'
46429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46430 (eval $ac_try) 2>&5
46432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46433 (exit $ac_status); }; }; then
46434 ac_cv_header_linux_joystick_h
=yes
46436 echo "$as_me: failed program was:" >&5
46437 sed 's/^/| /' conftest.
$ac_ext >&5
46439 ac_cv_header_linux_joystick_h
=no
46441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46443 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
46444 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
46445 if test $ac_cv_header_linux_joystick_h = yes; then
46453 if test "$wxUSE_JOYSTICK" = "yes"; then
46454 cat >>confdefs.h
<<\_ACEOF
46455 #define wxUSE_JOYSTICK 1
46458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
46460 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46461 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46467 if test "$wxUSE_FONTMAP" = "yes" ; then
46468 cat >>confdefs.h
<<\_ACEOF
46469 #define wxUSE_FONTMAP 1
46474 if test "$wxUSE_UNICODE" = "yes" ; then
46475 cat >>confdefs.h
<<\_ACEOF
46476 #define wxUSE_UNICODE 1
46480 if test "$USE_WIN32" != 1; then
46481 wxUSE_UNICODE_MSLU
=no
46484 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46485 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46486 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
46487 if test "${ac_cv_lib_unicows_main+set}" = set; then
46488 echo $ECHO_N "(cached) $ECHO_C" >&6
46490 ac_check_lib_save_LIBS
=$LIBS
46491 LIBS
="-lunicows $LIBS"
46492 cat >conftest.
$ac_ext <<_ACEOF
46495 cat confdefs.h
>>conftest.
$ac_ext
46496 cat >>conftest.
$ac_ext <<_ACEOF
46497 /* end confdefs.h. */
46508 rm -f conftest.
$ac_objext conftest
$ac_exeext
46509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46510 (eval $ac_link) 2>conftest.er1
46512 grep -v '^ *+' conftest.er1
>conftest.err
46514 cat conftest.err
>&5
46515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46516 (exit $ac_status); } &&
46517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46519 (eval $ac_try) 2>&5
46521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46522 (exit $ac_status); }; } &&
46523 { ac_try
='test -s conftest$ac_exeext'
46524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46525 (eval $ac_try) 2>&5
46527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46528 (exit $ac_status); }; }; then
46529 ac_cv_lib_unicows_main
=yes
46531 echo "$as_me: failed program was:" >&5
46532 sed 's/^/| /' conftest.
$ac_ext >&5
46534 ac_cv_lib_unicows_main
=no
46536 rm -f conftest.err conftest.
$ac_objext \
46537 conftest
$ac_exeext conftest.
$ac_ext
46538 LIBS
=$ac_check_lib_save_LIBS
46540 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46541 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
46542 if test $ac_cv_lib_unicows_main = yes; then
46544 cat >>confdefs.h
<<\_ACEOF
46545 #define wxUSE_UNICODE_MSLU 1
46551 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46552 Applications will only run on Windows NT/2000/XP!" >&5
46553 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46554 Applications will only run on Windows NT/2000/XP!" >&2;}
46555 wxUSE_UNICODE_MSLU
=no
46562 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46563 cat >>confdefs.h
<<\_ACEOF
46564 #define wxUSE_UNICODE_UTF8 1
46568 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46569 cat >>confdefs.h
<<\_ACEOF
46570 #define wxUSE_UTF8_LOCALE_ONLY 1
46576 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
46577 cat >>confdefs.h
<<\_ACEOF
46578 #define wxUSE_EXPERIMENTAL_PRINTF 1
46584 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46585 cat >>confdefs.h
<<\_ACEOF
46586 #define wxUSE_CONSTRAINTS 1
46589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
46592 if test "$wxUSE_MDI" = "yes"; then
46593 cat >>confdefs.h
<<\_ACEOF
46594 #define wxUSE_MDI 1
46598 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46599 cat >>confdefs.h
<<\_ACEOF
46600 #define wxUSE_MDI_ARCHITECTURE 1
46603 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
46607 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46608 cat >>confdefs.h
<<\_ACEOF
46609 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46612 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
46613 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46614 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
46618 if test "$wxUSE_HELP" = "yes"; then
46619 cat >>confdefs.h
<<\_ACEOF
46620 #define wxUSE_HELP 1
46623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
46625 if test "$wxUSE_MSW" = 1; then
46626 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46627 cat >>confdefs.h
<<\_ACEOF
46628 #define wxUSE_MS_HTML_HELP 1
46634 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46635 if test "$wxUSE_HTML" = "yes"; then
46636 cat >>confdefs.h
<<\_ACEOF
46637 #define wxUSE_WXHTML_HELP 1
46641 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46642 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46643 wxUSE_WXHTML_HELP
=no
46648 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46649 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46650 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
46651 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
46653 cat >>confdefs.h
<<\_ACEOF
46654 #define wxUSE_PRINTING_ARCHITECTURE 1
46658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
46661 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46662 cat >>confdefs.h
<<\_ACEOF
46663 #define wxUSE_POSTSCRIPT 1
46668 cat >>confdefs.h
<<\_ACEOF
46669 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46673 cat >>confdefs.h
<<\_ACEOF
46674 #define wxUSE_NORMALIZED_PS_FONTS 1
46678 if test "$wxUSE_SVG" = "yes"; then
46679 cat >>confdefs.h
<<\_ACEOF
46680 #define wxUSE_SVG 1
46686 if test "$wxUSE_METAFILE" = "yes"; then
46687 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46688 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46689 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46695 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
46696 -o "$wxUSE_CLIPBOARD" = "yes" \
46697 -o "$wxUSE_OLE" = "yes" \
46698 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
46699 echo "$as_me:$LINENO: checking for ole2.h" >&5
46700 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6
46701 if test "${ac_cv_header_ole2_h+set}" = set; then
46702 echo $ECHO_N "(cached) $ECHO_C" >&6
46704 cat >conftest.
$ac_ext <<_ACEOF
46707 cat confdefs.h
>>conftest.
$ac_ext
46708 cat >>conftest.
$ac_ext <<_ACEOF
46709 /* end confdefs.h. */
46714 rm -f conftest.
$ac_objext
46715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46716 (eval $ac_compile) 2>conftest.er1
46718 grep -v '^ *+' conftest.er1
>conftest.err
46720 cat conftest.err
>&5
46721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46722 (exit $ac_status); } &&
46723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46725 (eval $ac_try) 2>&5
46727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46728 (exit $ac_status); }; } &&
46729 { ac_try
='test -s conftest.$ac_objext'
46730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46731 (eval $ac_try) 2>&5
46733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46734 (exit $ac_status); }; }; then
46735 ac_cv_header_ole2_h
=yes
46737 echo "$as_me: failed program was:" >&5
46738 sed 's/^/| /' conftest.
$ac_ext >&5
46740 ac_cv_header_ole2_h
=no
46742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46744 echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46745 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6
46749 if test "$ac_cv_header_ole2_h" = "yes" ; then
46750 if test "$GCC" = yes ; then
46751 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46752 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
46753 cat >conftest.
$ac_ext <<_ACEOF
46756 cat confdefs.h
>>conftest.
$ac_ext
46757 cat >>conftest.
$ac_ext <<_ACEOF
46758 /* end confdefs.h. */
46759 #include <windows.h>
46769 rm -f conftest.
$ac_objext
46770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46771 (eval $ac_compile) 2>conftest.er1
46773 grep -v '^ *+' conftest.er1
>conftest.err
46775 cat conftest.err
>&5
46776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46777 (exit $ac_status); } &&
46778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46780 (eval $ac_try) 2>&5
46782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46783 (exit $ac_status); }; } &&
46784 { ac_try
='test -s conftest.$ac_objext'
46785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46786 (eval $ac_try) 2>&5
46788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46789 (exit $ac_status); }; }; then
46790 echo "$as_me:$LINENO: result: no" >&5
46791 echo "${ECHO_T}no" >&6
46793 echo "$as_me: failed program was:" >&5
46794 sed 's/^/| /' conftest.
$ac_ext >&5
46796 echo "$as_me:$LINENO: result: yes" >&5
46797 echo "${ECHO_T}yes" >&6
46798 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46801 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46802 if test "$wxUSE_OLE" = "yes" ; then
46803 cat >>confdefs.h
<<\_ACEOF
46804 #define wxUSE_OLE 1
46807 cat >>confdefs.h
<<\_ACEOF
46808 #define wxUSE_OLE_AUTOMATION 1
46811 cat >>confdefs.h
<<\_ACEOF
46812 #define wxUSE_ACTIVEX 1
46815 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46819 if test "$wxUSE_DATAOBJ" = "yes" ; then
46820 cat >>confdefs.h
<<\_ACEOF
46821 #define wxUSE_DATAOBJ 1
46826 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46827 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46830 wxUSE_DRAG_AND_DROP
=no
46835 if test "$wxUSE_METAFILE" = "yes"; then
46836 cat >>confdefs.h
<<\_ACEOF
46837 #define wxUSE_METAFILE 1
46841 cat >>confdefs.h
<<\_ACEOF
46842 #define wxUSE_ENH_METAFILE 1
46848 if test "$wxUSE_IPC" = "yes"; then
46849 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46850 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46851 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46855 if test "$wxUSE_IPC" = "yes"; then
46856 cat >>confdefs.h
<<\_ACEOF
46857 #define wxUSE_IPC 1
46860 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46864 if test "$wxUSE_DATAOBJ" = "yes"; then
46865 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46866 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46867 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46870 cat >>confdefs.h
<<\_ACEOF
46871 #define wxUSE_DATAOBJ 1
46876 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46877 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46879 wxUSE_DRAG_AND_DROP
=no
46882 if test "$wxUSE_CLIPBOARD" = "yes"; then
46883 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46884 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46885 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46889 if test "$wxUSE_CLIPBOARD" = "yes"; then
46890 cat >>confdefs.h
<<\_ACEOF
46891 #define wxUSE_CLIPBOARD 1
46897 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46898 if test "$wxUSE_GTK" = 1; then
46899 if test "$WXGTK12" != 1; then
46900 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46901 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46902 wxUSE_DRAG_AND_DROP
=no
46906 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46907 "$wxUSE_DFB" = 1; then
46908 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46909 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46910 wxUSE_DRAG_AND_DROP
=no
46913 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46914 cat >>confdefs.h
<<\_ACEOF
46915 #define wxUSE_DRAG_AND_DROP 1
46922 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46926 if test "$wxUSE_SPLINES" = "yes" ; then
46927 cat >>confdefs.h
<<\_ACEOF
46928 #define wxUSE_SPLINES 1
46933 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46934 cat >>confdefs.h
<<\_ACEOF
46935 #define wxUSE_MOUSEWHEEL 1
46942 if test "$wxUSE_CONTROLS" = "yes"; then
46946 if test "$wxUSE_ACCEL" = "yes"; then
46947 cat >>confdefs.h
<<\_ACEOF
46948 #define wxUSE_ACCEL 1
46954 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46955 cat >>confdefs.h
<<\_ACEOF
46956 #define wxUSE_ANIMATIONCTRL 1
46960 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46963 if test "$wxUSE_BUTTON" = "yes"; then
46964 cat >>confdefs.h
<<\_ACEOF
46965 #define wxUSE_BUTTON 1
46971 if test "$wxUSE_BMPBUTTON" = "yes"; then
46972 cat >>confdefs.h
<<\_ACEOF
46973 #define wxUSE_BMPBUTTON 1
46979 if test "$wxUSE_CALCTRL" = "yes"; then
46980 cat >>confdefs.h
<<\_ACEOF
46981 #define wxUSE_CALENDARCTRL 1
46985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46988 if test "$wxUSE_CARET" = "yes"; then
46989 cat >>confdefs.h
<<\_ACEOF
46990 #define wxUSE_CARET 1
46994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46997 if test "$wxUSE_COLLPANE" = "yes"; then
46998 cat >>confdefs.h
<<\_ACEOF
46999 #define wxUSE_COLLPANE 1
47003 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
47006 if test "$wxUSE_COMBOBOX" = "yes"; then
47007 cat >>confdefs.h
<<\_ACEOF
47008 #define wxUSE_COMBOBOX 1
47014 if test "$wxUSE_COMBOCTRL" = "yes"; then
47015 cat >>confdefs.h
<<\_ACEOF
47016 #define wxUSE_COMBOCTRL 1
47022 if test "$wxUSE_CHOICE" = "yes"; then
47023 cat >>confdefs.h
<<\_ACEOF
47024 #define wxUSE_CHOICE 1
47030 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47031 cat >>confdefs.h
<<\_ACEOF
47032 #define wxUSE_CHOICEBOOK 1
47038 if test "$wxUSE_CHECKBOX" = "yes"; then
47039 cat >>confdefs.h
<<\_ACEOF
47040 #define wxUSE_CHECKBOX 1
47046 if test "$wxUSE_CHECKLST" = "yes"; then
47047 cat >>confdefs.h
<<\_ACEOF
47048 #define wxUSE_CHECKLISTBOX 1
47052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
47055 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47056 cat >>confdefs.h
<<\_ACEOF
47057 #define wxUSE_COLOURPICKERCTRL 1
47063 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47064 cat >>confdefs.h
<<\_ACEOF
47065 #define wxUSE_DATEPICKCTRL 1
47071 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47072 cat >>confdefs.h
<<\_ACEOF
47073 #define wxUSE_DIRPICKERCTRL 1
47079 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47080 cat >>confdefs.h
<<\_ACEOF
47081 #define wxUSE_FILEPICKERCTRL 1
47087 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47088 cat >>confdefs.h
<<\_ACEOF
47089 #define wxUSE_FONTPICKERCTRL 1
47095 if test "$wxUSE_DISPLAY" = "yes"; then
47096 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47097 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47098 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47101 cat >>confdefs.h
<<\_ACEOF
47102 #define wxUSE_DISPLAY 1
47105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
47109 if test "$wxUSE_DETECT_SM" = "yes"; then
47110 cat >>confdefs.h
<<\_ACEOF
47111 #define wxUSE_DETECT_SM 1
47116 if test "$wxUSE_GAUGE" = "yes"; then
47117 cat >>confdefs.h
<<\_ACEOF
47118 #define wxUSE_GAUGE 1
47124 if test "$wxUSE_GRID" = "yes"; then
47125 cat >>confdefs.h
<<\_ACEOF
47126 #define wxUSE_GRID 1
47130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
47133 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47134 cat >>confdefs.h
<<\_ACEOF
47135 #define wxUSE_HYPERLINKCTRL 1
47141 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47142 cat >>confdefs.h
<<\_ACEOF
47143 #define wxUSE_BITMAPCOMBOBOX 1
47149 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47150 cat >>confdefs.h
<<\_ACEOF
47151 #define wxUSE_DATAVIEWCTRL 1
47155 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
47158 if test "$wxUSE_IMAGLIST" = "yes"; then
47159 cat >>confdefs.h
<<\_ACEOF
47160 #define wxUSE_IMAGLIST 1
47165 if test "$wxUSE_LISTBOOK" = "yes"; then
47166 cat >>confdefs.h
<<\_ACEOF
47167 #define wxUSE_LISTBOOK 1
47173 if test "$wxUSE_LISTBOX" = "yes"; then
47174 cat >>confdefs.h
<<\_ACEOF
47175 #define wxUSE_LISTBOX 1
47179 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
47182 if test "$wxUSE_LISTCTRL" = "yes"; then
47183 if test "$wxUSE_IMAGLIST" = "yes"; then
47184 cat >>confdefs.h
<<\_ACEOF
47185 #define wxUSE_LISTCTRL 1
47189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
47191 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47192 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47196 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47197 cat >>confdefs.h
<<\_ACEOF
47198 #define wxUSE_EDITABLELISTBOX 1
47202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
47205 if test "$wxUSE_NOTEBOOK" = "yes"; then
47206 cat >>confdefs.h
<<\_ACEOF
47207 #define wxUSE_NOTEBOOK 1
47211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
47214 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47215 cat >>confdefs.h
<<\_ACEOF
47216 #define wxUSE_ODCOMBOBOX 1
47220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
47224 if test "$wxUSE_RADIOBOX" = "yes"; then
47225 cat >>confdefs.h
<<\_ACEOF
47226 #define wxUSE_RADIOBOX 1
47232 if test "$wxUSE_RADIOBTN" = "yes"; then
47233 cat >>confdefs.h
<<\_ACEOF
47234 #define wxUSE_RADIOBTN 1
47240 if test "$wxUSE_SASH" = "yes"; then
47241 cat >>confdefs.h
<<\_ACEOF
47242 #define wxUSE_SASH 1
47245 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
47248 if test "$wxUSE_SCROLLBAR" = "yes"; then
47249 cat >>confdefs.h
<<\_ACEOF
47250 #define wxUSE_SCROLLBAR 1
47254 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
47257 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47258 cat >>confdefs.h
<<\_ACEOF
47259 #define wxUSE_SEARCHCTRL 1
47265 if test "$wxUSE_SLIDER" = "yes"; then
47266 cat >>confdefs.h
<<\_ACEOF
47267 #define wxUSE_SLIDER 1
47273 if test "$wxUSE_SPINBTN" = "yes"; then
47274 cat >>confdefs.h
<<\_ACEOF
47275 #define wxUSE_SPINBTN 1
47281 if test "$wxUSE_SPINCTRL" = "yes"; then
47282 cat >>confdefs.h
<<\_ACEOF
47283 #define wxUSE_SPINCTRL 1
47289 if test "$wxUSE_SPLITTER" = "yes"; then
47290 cat >>confdefs.h
<<\_ACEOF
47291 #define wxUSE_SPLITTER 1
47294 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
47297 if test "$wxUSE_STATBMP" = "yes"; then
47298 cat >>confdefs.h
<<\_ACEOF
47299 #define wxUSE_STATBMP 1
47305 if test "$wxUSE_STATBOX" = "yes"; then
47306 cat >>confdefs.h
<<\_ACEOF
47307 #define wxUSE_STATBOX 1
47313 if test "$wxUSE_STATTEXT" = "yes"; then
47314 cat >>confdefs.h
<<\_ACEOF
47315 #define wxUSE_STATTEXT 1
47321 if test "$wxUSE_STATLINE" = "yes"; then
47322 cat >>confdefs.h
<<\_ACEOF
47323 #define wxUSE_STATLINE 1
47329 if test "$wxUSE_STATUSBAR" = "yes"; then
47330 cat >>confdefs.h
<<\_ACEOF
47331 #define wxUSE_NATIVE_STATUSBAR 1
47334 cat >>confdefs.h
<<\_ACEOF
47335 #define wxUSE_STATUSBAR 1
47340 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
47343 if test "$wxUSE_TAB_DIALOG" = "yes"; then
47344 cat >>confdefs.h
<<\_ACEOF
47345 #define wxUSE_TAB_DIALOG 1
47350 if test "$wxUSE_TEXTCTRL" = "yes"; then
47351 cat >>confdefs.h
<<\_ACEOF
47352 #define wxUSE_TEXTCTRL 1
47356 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
47359 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47360 if test "$wxUSE_COCOA" = 1 ; then
47361 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47362 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47366 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47367 cat >>confdefs.h
<<\_ACEOF
47368 #define wxUSE_TOGGLEBTN 1
47375 if test "$wxUSE_TOOLBAR" = "yes"; then
47376 cat >>confdefs.h
<<\_ACEOF
47377 #define wxUSE_TOOLBAR 1
47382 if test "$wxUSE_UNIVERSAL" = "yes"; then
47383 wxUSE_TOOLBAR_NATIVE
="no"
47385 wxUSE_TOOLBAR_NATIVE
="yes"
47386 cat >>confdefs.h
<<\_ACEOF
47387 #define wxUSE_TOOLBAR_NATIVE 1
47392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
47395 if test "$wxUSE_TOOLTIPS" = "yes"; then
47396 if test "$wxUSE_MOTIF" = 1; then
47397 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47398 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47400 if test "$wxUSE_UNIVERSAL" = "yes"; then
47401 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47402 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47404 cat >>confdefs.h
<<\_ACEOF
47405 #define wxUSE_TOOLTIPS 1
47412 if test "$wxUSE_TREEBOOK" = "yes"; then
47413 cat >>confdefs.h
<<\_ACEOF
47414 #define wxUSE_TREEBOOK 1
47420 if test "$wxUSE_TOOLBOOK" = "yes"; then
47421 cat >>confdefs.h
<<\_ACEOF
47422 #define wxUSE_TOOLBOOK 1
47428 if test "$wxUSE_TREECTRL" = "yes"; then
47429 if test "$wxUSE_IMAGLIST" = "yes"; then
47430 cat >>confdefs.h
<<\_ACEOF
47431 #define wxUSE_TREECTRL 1
47435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
47437 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47438 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47442 if test "$wxUSE_POPUPWIN" = "yes"; then
47443 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47444 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47445 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47447 if test "$wxUSE_PM" = 1; then
47448 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47449 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47451 cat >>confdefs.h
<<\_ACEOF
47452 #define wxUSE_POPUPWIN 1
47455 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
47462 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47463 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47464 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47465 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47467 cat >>confdefs.h
<<\_ACEOF
47468 #define wxUSE_DIALUP_MANAGER 1
47471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
47475 if test "$wxUSE_TIPWINDOW" = "yes"; then
47476 if test "$wxUSE_PM" = 1; then
47477 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47478 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47480 cat >>confdefs.h
<<\_ACEOF
47481 #define wxUSE_TIPWINDOW 1
47487 if test "$USES_CONTROLS" = 1; then
47488 cat >>confdefs.h
<<\_ACEOF
47489 #define wxUSE_CONTROLS 1
47495 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47496 cat >>confdefs.h
<<\_ACEOF
47497 #define wxUSE_ACCESSIBILITY 1
47500 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
47503 if test "$wxUSE_DC_CACHEING" = "yes"; then
47504 cat >>confdefs.h
<<\_ACEOF
47505 #define wxUSE_DC_CACHEING 1
47510 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47511 cat >>confdefs.h
<<\_ACEOF
47512 #define wxUSE_DRAGIMAGE 1
47515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
47518 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47519 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47520 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47521 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47523 cat >>confdefs.h
<<\_ACEOF
47524 #define wxUSE_EXCEPTIONS 1
47527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
47532 if test "$wxUSE_HTML" = "yes"; then
47533 cat >>confdefs.h
<<\_ACEOF
47534 #define wxUSE_HTML 1
47538 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47539 if test "$wxUSE_MAC" = 1; then
47540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
47543 if test "$wxUSE_WEBKIT" = "yes"; then
47544 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47545 old_CPPFLAGS
="$CPPFLAGS"
47546 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
47547 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47548 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
47549 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47550 echo $ECHO_N "(cached) $ECHO_C" >&6
47552 cat >conftest.
$ac_ext <<_ACEOF
47555 cat confdefs.h
>>conftest.
$ac_ext
47556 cat >>conftest.
$ac_ext <<_ACEOF
47557 /* end confdefs.h. */
47559 #include <Carbon/Carbon.h>
47560 #include <WebKit/WebKit.h>
47563 #include <WebKit/HIWebView.h>
47565 rm -f conftest.
$ac_objext
47566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47567 (eval $ac_compile) 2>conftest.er1
47569 grep -v '^ *+' conftest.er1
>conftest.err
47571 cat conftest.err
>&5
47572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47573 (exit $ac_status); } &&
47574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47576 (eval $ac_try) 2>&5
47578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47579 (exit $ac_status); }; } &&
47580 { ac_try
='test -s conftest.$ac_objext'
47581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47582 (eval $ac_try) 2>&5
47584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47585 (exit $ac_status); }; }; then
47586 ac_cv_header_WebKit_HIWebView_h
=yes
47588 echo "$as_me: failed program was:" >&5
47589 sed 's/^/| /' conftest.
$ac_ext >&5
47591 ac_cv_header_WebKit_HIWebView_h
=no
47593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47595 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47596 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
47597 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47599 cat >>confdefs.h
<<\_ACEOF
47600 #define wxUSE_WEBKIT 1
47603 WEBKIT_LINK
="-framework WebKit"
47607 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47608 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47614 CPPFLAGS
="$old_CPPFLAGS"
47615 elif test "$wxUSE_COCOA" = 1; then
47616 cat >>confdefs.h
<<\_ACEOF
47617 #define wxUSE_WEBKIT 1
47626 if test "$wxUSE_XRC" = "yes"; then
47627 if test "$wxUSE_XML" != "yes"; then
47628 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47629 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47632 cat >>confdefs.h
<<\_ACEOF
47633 #define wxUSE_XRC 1
47637 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
47642 if test "$wxUSE_AUI" = "yes"; then
47643 cat >>confdefs.h
<<\_ACEOF
47644 #define wxUSE_AUI 1
47648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
47652 if test "$wxUSE_STC" = "yes"; then
47653 cat >>confdefs.h
<<\_ACEOF
47654 #define wxUSE_STC 1
47658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
47661 if test "$wxUSE_MENUS" = "yes"; then
47662 cat >>confdefs.h
<<\_ACEOF
47663 #define wxUSE_MENUS 1
47666 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
47669 if test "$wxUSE_METAFILE" = "yes"; then
47670 cat >>confdefs.h
<<\_ACEOF
47671 #define wxUSE_METAFILE 1
47676 if test "$wxUSE_MIMETYPE" = "yes"; then
47677 cat >>confdefs.h
<<\_ACEOF
47678 #define wxUSE_MIMETYPE 1
47683 if test "$wxUSE_MINIFRAME" = "yes"; then
47684 cat >>confdefs.h
<<\_ACEOF
47685 #define wxUSE_MINIFRAME 1
47688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
47691 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47692 cat >>confdefs.h
<<\_ACEOF
47693 #define wxUSE_SYSTEM_OPTIONS 1
47696 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
47697 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
47698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
47703 if test "$wxUSE_VALIDATORS" = "yes"; then
47704 cat >>confdefs.h
<<\_ACEOF
47705 #define wxUSE_VALIDATORS 1
47708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
47711 if test "$wxUSE_PALETTE" = "yes" ; then
47712 if test "$wxUSE_DFB" = 1; then
47713 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47714 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47717 cat >>confdefs.h
<<\_ACEOF
47718 #define wxUSE_PALETTE 1
47724 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47725 LIBS
=" -lunicows $LIBS"
47729 if test "$wxUSE_RICHTEXT" = "yes"; then
47730 cat >>confdefs.h
<<\_ACEOF
47731 #define wxUSE_RICHTEXT 1
47735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
47739 if test "$wxUSE_IMAGE" = "yes" ; then
47740 cat >>confdefs.h
<<\_ACEOF
47741 #define wxUSE_IMAGE 1
47745 if test "$wxUSE_GIF" = "yes" ; then
47746 cat >>confdefs.h
<<\_ACEOF
47747 #define wxUSE_GIF 1
47752 if test "$wxUSE_PCX" = "yes" ; then
47753 cat >>confdefs.h
<<\_ACEOF
47754 #define wxUSE_PCX 1
47759 if test "$wxUSE_TGA" = "yes" ; then
47760 cat >>confdefs.h
<<\_ACEOF
47761 #define wxUSE_TGA 1
47766 if test "$wxUSE_IFF" = "yes" ; then
47767 cat >>confdefs.h
<<\_ACEOF
47768 #define wxUSE_IFF 1
47773 if test "$wxUSE_PNM" = "yes" ; then
47774 cat >>confdefs.h
<<\_ACEOF
47775 #define wxUSE_PNM 1
47780 if test "$wxUSE_XPM" = "yes" ; then
47781 cat >>confdefs.h
<<\_ACEOF
47782 #define wxUSE_XPM 1
47787 if test "$wxUSE_ICO_CUR" = "yes" ; then
47788 cat >>confdefs.h
<<\_ACEOF
47789 #define wxUSE_ICO_CUR 1
47796 if test "$wxUSE_ABOUTDLG" = "yes"; then
47797 cat >>confdefs.h
<<\_ACEOF
47798 #define wxUSE_ABOUTDLG 1
47803 if test "$wxUSE_CHOICEDLG" = "yes"; then
47804 cat >>confdefs.h
<<\_ACEOF
47805 #define wxUSE_CHOICEDLG 1
47810 if test "$wxUSE_COLOURDLG" = "yes"; then
47811 cat >>confdefs.h
<<\_ACEOF
47812 #define wxUSE_COLOURDLG 1
47817 if test "$wxUSE_FILEDLG" = "yes"; then
47818 cat >>confdefs.h
<<\_ACEOF
47819 #define wxUSE_FILEDLG 1
47824 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47825 cat >>confdefs.h
<<\_ACEOF
47826 #define wxUSE_FINDREPLDLG 1
47831 if test "$wxUSE_FONTDLG" = "yes"; then
47832 cat >>confdefs.h
<<\_ACEOF
47833 #define wxUSE_FONTDLG 1
47838 if test "$wxUSE_DIRDLG" = "yes"; then
47839 if test "$wxUSE_TREECTRL" != "yes"; then
47840 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47841 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47843 cat >>confdefs.h
<<\_ACEOF
47844 #define wxUSE_DIRDLG 1
47850 if test "$wxUSE_MSGDLG" = "yes"; then
47851 cat >>confdefs.h
<<\_ACEOF
47852 #define wxUSE_MSGDLG 1
47857 if test "$wxUSE_NUMBERDLG" = "yes"; then
47858 cat >>confdefs.h
<<\_ACEOF
47859 #define wxUSE_NUMBERDLG 1
47864 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47865 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47866 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
47867 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
47869 cat >>confdefs.h
<<\_ACEOF
47870 #define wxUSE_PROGRESSDLG 1
47876 if test "$wxUSE_SPLASH" = "yes"; then
47877 cat >>confdefs.h
<<\_ACEOF
47878 #define wxUSE_SPLASH 1
47881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
47884 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47885 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47886 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47887 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47889 cat >>confdefs.h
<<\_ACEOF
47890 #define wxUSE_STARTUP_TIPS 1
47896 if test "$wxUSE_TEXTDLG" = "yes"; then
47897 cat >>confdefs.h
<<\_ACEOF
47898 #define wxUSE_TEXTDLG 1
47903 if test "$wxUSE_WIZARDDLG" = "yes"; then
47904 cat >>confdefs.h
<<\_ACEOF
47905 #define wxUSE_WIZARDDLG 1
47908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
47912 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47913 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47914 cat >>confdefs.h
<<\_ACEOF
47915 #define wxUSE_GRAPHICS_CONTEXT 1
47918 elif test "$wxUSE_GTK" != 1; then
47919 cat >>confdefs.h
<<\_ACEOF
47920 #define wxUSE_GRAPHICS_CONTEXT 1
47926 echo "$as_me:$LINENO: checking for CAIRO" >&5
47927 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47929 if test -n "$PKG_CONFIG"; then
47930 if test -n "$CAIRO_CFLAGS"; then
47931 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
47933 if test -n "$PKG_CONFIG" && \
47934 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47935 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47938 (exit $ac_status); }; then
47939 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47947 if test -n "$PKG_CONFIG"; then
47948 if test -n "$CAIRO_LIBS"; then
47949 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
47951 if test -n "$PKG_CONFIG" && \
47952 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47953 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47956 (exit $ac_status); }; then
47957 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47968 if test $pkg_failed = yes; then
47970 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47971 _pkg_short_errors_supported
=yes
47973 _pkg_short_errors_supported
=no
47975 if test $_pkg_short_errors_supported = yes; then
47976 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47978 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47980 # Put the nasty error message in config.log where it belongs
47981 echo "$CAIRO_PKG_ERRORS" >&5
47983 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47984 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47986 elif test $pkg_failed = untried
; then
47987 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47988 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47991 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
47992 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
47993 echo "$as_me:$LINENO: result: yes" >&5
47994 echo "${ECHO_T}yes" >&6
47995 cat >>confdefs.h
<<\_ACEOF
47996 #define wxUSE_GRAPHICS_CONTEXT 1
48006 if test "$wxUSE_MEDIACTRL" = "yes"; then
48009 if test "$wxUSE_GTK" = 1; then
48010 wxUSE_GSTREAMER
="no"
48012 GST_VERSION_MAJOR
=0
48013 GST_VERSION_MINOR
=10
48014 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48016 if test "$wxUSE_GSTREAMER8" = "no"; then
48019 echo "$as_me:$LINENO: checking for GST" >&5
48020 echo $ECHO_N "checking for GST... $ECHO_C" >&6
48022 if test -n "$PKG_CONFIG"; then
48023 if test -n "$GST_CFLAGS"; then
48024 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48026 if test -n "$PKG_CONFIG" && \
48027 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48028 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48031 (exit $ac_status); }; then
48032 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48040 if test -n "$PKG_CONFIG"; then
48041 if test -n "$GST_LIBS"; then
48042 pkg_cv_GST_LIBS
="$GST_LIBS"
48044 if test -n "$PKG_CONFIG" && \
48045 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48046 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48049 (exit $ac_status); }; then
48050 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48061 if test $pkg_failed = yes; then
48063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48064 _pkg_short_errors_supported
=yes
48066 _pkg_short_errors_supported
=no
48068 if test $_pkg_short_errors_supported = yes; then
48069 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48071 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48073 # Put the nasty error message in config.log where it belongs
48074 echo "$GST_PKG_ERRORS" >&5
48077 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48078 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48079 GST_VERSION_MINOR
=8
48082 elif test $pkg_failed = untried
; then
48084 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48085 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48086 GST_VERSION_MINOR
=8
48090 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48091 GST_LIBS
=$pkg_cv_GST_LIBS
48092 echo "$as_me:$LINENO: result: yes" >&5
48093 echo "${ECHO_T}yes" >&6
48095 wxUSE_GSTREAMER
="yes"
48096 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48100 GST_VERSION_MINOR
=8
48103 if test $GST_VERSION_MINOR = "8"; then
48104 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48107 echo "$as_me:$LINENO: checking for GST" >&5
48108 echo $ECHO_N "checking for GST... $ECHO_C" >&6
48110 if test -n "$PKG_CONFIG"; then
48111 if test -n "$GST_CFLAGS"; then
48112 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48114 if test -n "$PKG_CONFIG" && \
48115 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48116 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48119 (exit $ac_status); }; then
48120 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48128 if test -n "$PKG_CONFIG"; then
48129 if test -n "$GST_LIBS"; then
48130 pkg_cv_GST_LIBS
="$GST_LIBS"
48132 if test -n "$PKG_CONFIG" && \
48133 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48134 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48137 (exit $ac_status); }; then
48138 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48149 if test $pkg_failed = yes; then
48151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48152 _pkg_short_errors_supported
=yes
48154 _pkg_short_errors_supported
=no
48156 if test $_pkg_short_errors_supported = yes; then
48157 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48159 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48161 # Put the nasty error message in config.log where it belongs
48162 echo "$GST_PKG_ERRORS" >&5
48165 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48166 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48168 elif test $pkg_failed = untried
; then
48170 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48171 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48174 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48175 GST_LIBS
=$pkg_cv_GST_LIBS
48176 echo "$as_me:$LINENO: result: yes" >&5
48177 echo "${ECHO_T}yes" >&6
48178 wxUSE_GSTREAMER
="yes"
48183 if test "$wxUSE_GSTREAMER" = "yes"; then
48184 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
48185 LIBS
="$GST_LIBS $LIBS"
48187 cat >>confdefs.h
<<\_ACEOF
48188 #define wxUSE_GSTREAMER 1
48196 if test $USE_MEDIA = 1; then
48197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
48198 cat >>confdefs.h
<<\_ACEOF
48199 #define wxUSE_MEDIACTRL 1
48206 if test "$cross_compiling" = "yes"; then
48209 OSINFO
=`uname -s -r -m`
48210 OSINFO
="\"$OSINFO\""
48213 cat >>confdefs.h
<<_ACEOF
48214 #define WXWIN_OS_DESCRIPTION $OSINFO
48219 if test "x$prefix" != "xNONE"; then
48222 wxPREFIX
=$ac_default_prefix
48225 cat >>confdefs.h
<<_ACEOF
48226 #define wxINSTALL_PREFIX "$wxPREFIX"
48232 STD_BASE_LIBS
="base"
48234 BUILT_WX_LIBS
="base"
48235 ALL_WX_LIBS
="xrc stc gl media dbgrid qa html adv core odbc xml net base"
48237 if test "$wxUSE_SOCKETS" = "yes" ; then
48238 STD_BASE_LIBS
="net $STD_BASE_LIBS"
48239 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
48241 if test "$wxUSE_ODBC" != "no" ; then
48242 BUILT_WX_LIBS
="odbc $BUILT_WX_LIBS"
48244 if test "$wxUSE_XML" = "yes" ; then
48245 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
48246 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
48249 if test "$wxUSE_GUI" = "yes"; then
48250 STD_GUI_LIBS
="adv core"
48251 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
48253 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48254 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
48255 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
48257 if test "$wxUSE_ODBC" != "no" ; then
48258 BUILT_WX_LIBS
="dbgrid $BUILT_WX_LIBS"
48260 if test "$wxUSE_HTML" = "yes" ; then
48261 STD_GUI_LIBS
="html $STD_GUI_LIBS"
48262 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
48264 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48265 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
48267 if test "$wxUSE_OPENGL" = "yes" ; then
48268 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
48270 if test "$wxUSE_AUI" = "yes" ; then
48271 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
48273 if test "$wxUSE_STC" = "yes" ; then
48274 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
48276 if test "$wxUSE_XRC" = "yes" ; then
48277 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
48278 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
48289 if test "$wxUSE_MAC" = 1 ; then
48290 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
48291 if test "$USE_DARWIN" = 1; then
48292 LDFLAGS
="$LDFLAGS -framework QuickTime"
48294 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
48297 if test "$USE_DARWIN" = 1; then
48298 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
48300 LDFLAGS
="$LDFLAGS -lCarbonLib"
48303 if test "$wxUSE_COCOA" = 1 ; then
48304 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
48305 if test "$wxUSE_MEDIACTRL" = "yes"; then
48306 LDFLAGS
="$LDFLAGS -framework QuickTime"
48309 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
48310 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48313 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48315 if test "$wxUSE_GUI" = "yes"; then
48318 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48319 dynamic erase event exec font image minimal mobile \
48320 mobile/wxedit mobile/styles propsize render \
48321 rotate shaped svg taborder vscroll widgets"
48323 if test "$wxUSE_MONOLITHIC" != "yes"; then
48324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
48326 if test "$TOOLKIT" = "MSW"; then
48327 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
48328 if test "$wxUSE_UNIVERSAL" != "yes"; then
48329 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
48332 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
48336 SAMPLES_SUBDIRS
="console"
48340 if test "x$INTELCC" = "xyes" ; then
48341 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
48342 elif test "$GCC" = yes ; then
48343 CWARNINGS
="-Wall -Wundef"
48346 if test "x$INTELCXX" = "xyes" ; then
48347 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
48348 elif test "$GXX" = yes ; then
48349 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
48353 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
48354 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48357 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
48358 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48359 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48362 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48363 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48364 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48366 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48369 if test "x$MWCC" = "xyes"; then
48371 CC
="$CC -cwd source -I-"
48372 CXX
="$CXX -cwd source -I-"
48377 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48378 EXTRALIBS_XML
="$EXPAT_LINK"
48379 EXTRALIBS_HTML
="$MSPACK_LINK"
48380 EXTRALIBS_ODBC
="$ODBC_LINK"
48381 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48382 if test "$wxUSE_GUI" = "yes"; then
48383 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48385 if test "$wxUSE_OPENGL" = "yes"; then
48386 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
48389 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
48391 WXCONFIG_LIBS
="$LIBS"
48393 if test "$wxUSE_REGEX" = "builtin" ; then
48394 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48396 if test "$wxUSE_EXPAT" = "builtin" ; then
48397 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
48399 if test "$wxUSE_ODBC" = "builtin" ; then
48400 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
48402 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48403 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
48405 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48406 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
48408 if test "$wxUSE_LIBPNG" = "builtin" ; then
48409 wxconfig_3rdparty
="png $wxconfig_3rdparty"
48411 if test "$wxUSE_ZLIB" = "builtin" ; then
48412 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
48415 for i
in $wxconfig_3rdparty ; do
48416 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48420 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48423 case "$wxUNIV_THEMES" in
48425 cat >>confdefs.h
<<\_ACEOF
48426 #define wxUSE_ALL_THEMES 1
48432 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
48433 cat >>confdefs.h
<<_ACEOF
48434 #define wxUSE_THEME_$t 1
48451 if test $wxUSE_MONOLITHIC = "yes" ; then
48457 if test $wxUSE_PLUGINS = "yes" ; then
48463 if test $wxUSE_ODBC != "no" ; then
48469 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48475 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48506 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
48517 TOOLKIT_DESC
="GTK+"
48518 if test "$WXGTK20" = 1; then
48519 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
48520 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48521 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
48523 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48524 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
48526 if test "$wxUSE_LIBHILDON" = "yes"; then
48527 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
48530 if test "$TOOLKIT_EXTRA" != ""; then
48531 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48537 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
48541 TOOLKIT_DESC
="base only"
48545 if test "$wxUSE_WINE" = "yes"; then
48546 BAKEFILE_FORCE_PLATFORM
=win32
48549 if test "$wxUSE_MAC" = 1 ; then
48550 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
48551 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
48552 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
48554 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
48556 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
48557 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
48558 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
48559 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
48562 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
48563 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
48566 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48568 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48569 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
48570 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48571 echo $ECHO_N "(cached) $ECHO_C" >&6
48574 echo '#include <stdio.h>
48575 const wchar_t test_var[] = L"awidetest";' > conftest.h
48577 echo '#include "conftest.h"
48580 printf("%ls", test_var);
48584 wx_cv_gcc_pch_bug
="pch not supported"
48586 if $CXX conftest.h
>/dev
/null
2>&1
48590 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
48592 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
48593 grep awidetest
>/dev
/null
48595 wx_cv_gcc_pch_bug
=no
48597 wx_cv_gcc_pch_bug
=yes
48602 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
48605 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48606 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
48608 if test "$wx_cv_gcc_pch_bug" = yes; then
48616 if test "x$BAKEFILE_HOST" = "x"; then
48617 if test "x${host}" = "x" ; then
48618 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48619 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48620 { (exit 1); exit 1; }; }
48623 BAKEFILE_HOST
="${host}"
48626 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48628 if test -n "$ac_tool_prefix"; then
48629 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48630 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
48631 echo "$as_me:$LINENO: checking for $ac_word" >&5
48632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48633 if test "${ac_cv_prog_RANLIB+set}" = set; then
48634 echo $ECHO_N "(cached) $ECHO_C" >&6
48636 if test -n "$RANLIB"; then
48637 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
48639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48640 for as_dir
in $PATH
48643 test -z "$as_dir" && as_dir
=.
48644 for ac_exec_ext
in '' $ac_executable_extensions; do
48645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48646 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
48647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48655 RANLIB
=$ac_cv_prog_RANLIB
48656 if test -n "$RANLIB"; then
48657 echo "$as_me:$LINENO: result: $RANLIB" >&5
48658 echo "${ECHO_T}$RANLIB" >&6
48660 echo "$as_me:$LINENO: result: no" >&5
48661 echo "${ECHO_T}no" >&6
48665 if test -z "$ac_cv_prog_RANLIB"; then
48666 ac_ct_RANLIB
=$RANLIB
48667 # Extract the first word of "ranlib", so it can be a program name with args.
48668 set dummy ranlib
; ac_word
=$2
48669 echo "$as_me:$LINENO: checking for $ac_word" >&5
48670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48671 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48672 echo $ECHO_N "(cached) $ECHO_C" >&6
48674 if test -n "$ac_ct_RANLIB"; then
48675 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
48677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48678 for as_dir
in $PATH
48681 test -z "$as_dir" && as_dir
=.
48682 for ac_exec_ext
in '' $ac_executable_extensions; do
48683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48684 ac_cv_prog_ac_ct_RANLIB
="ranlib"
48685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48691 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
48694 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
48695 if test -n "$ac_ct_RANLIB"; then
48696 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48697 echo "${ECHO_T}$ac_ct_RANLIB" >&6
48699 echo "$as_me:$LINENO: result: no" >&5
48700 echo "${ECHO_T}no" >&6
48703 RANLIB
=$ac_ct_RANLIB
48705 RANLIB
="$ac_cv_prog_RANLIB"
48708 # Find a good install program. We prefer a C program (faster),
48709 # so one script is as good as another. But avoid the broken or
48710 # incompatible versions:
48711 # SysV /etc/install, /usr/sbin/install
48712 # SunOS /usr/etc/install
48713 # IRIX /sbin/install
48715 # AmigaOS /C/install, which installs bootblocks on floppy discs
48716 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48717 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48718 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48719 # OS/2's system install, which has a completely different semantic
48720 # ./install, which can be erroneously created by make from ./install.sh.
48721 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48722 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
48723 if test -z "$INSTALL"; then
48724 if test "${ac_cv_path_install+set}" = set; then
48725 echo $ECHO_N "(cached) $ECHO_C" >&6
48727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48728 for as_dir
in $PATH
48731 test -z "$as_dir" && as_dir
=.
48732 # Account for people who put trailing slashes in PATH elements.
48734 .
/ | .
// | /cC
/* | \
48735 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
48736 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
48739 # OSF1 and SCO ODT 3.0 have their own names for install.
48740 # Don't use installbsd from OSF since it installs stuff as root
48742 for ac_prog
in ginstall scoinst
install; do
48743 for ac_exec_ext
in '' $ac_executable_extensions; do
48744 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
48745 if test $ac_prog = install &&
48746 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
48747 # AIX install. It has an incompatible calling convention.
48749 elif test $ac_prog = install &&
48750 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
48751 # program-specific install script used by HP pwplus--don't use.
48754 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
48766 if test "${ac_cv_path_install+set}" = set; then
48767 INSTALL
=$ac_cv_path_install
48769 # As a last resort, use the slow shell script. We don't cache a
48770 # path for INSTALL within a source directory, because that will
48771 # break other packages using the cache if that directory is
48772 # removed, or if the path is relative.
48773 INSTALL
=$ac_install_sh
48776 echo "$as_me:$LINENO: result: $INSTALL" >&5
48777 echo "${ECHO_T}$INSTALL" >&6
48779 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48780 # It thinks the first close brace ends the variable substitution.
48781 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
48783 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
48785 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
48787 echo "$as_me:$LINENO: checking whether ln -s works" >&5
48788 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
48790 if test "$LN_S" = "ln -s"; then
48791 echo "$as_me:$LINENO: result: yes" >&5
48792 echo "${ECHO_T}yes" >&6
48794 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48795 echo "${ECHO_T}no, using $LN_S" >&6
48799 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48800 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48801 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48802 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48803 echo $ECHO_N "(cached) $ECHO_C" >&6
48805 cat >conftest.
make <<\_ACEOF
48807 @
echo 'ac_maketemp="$(MAKE)"'
48809 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48810 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48811 if test -n "$ac_maketemp"; then
48812 eval ac_cv_prog_make_
${ac_make}_set
=yes
48814 eval ac_cv_prog_make_
${ac_make}_set
=no
48816 rm -f conftest.
make
48818 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48819 echo "$as_me:$LINENO: result: yes" >&5
48820 echo "${ECHO_T}yes" >&6
48823 echo "$as_me:$LINENO: result: no" >&5
48824 echo "${ECHO_T}no" >&6
48825 SET_MAKE
="MAKE=${MAKE-make}"
48830 if test "x$SUNCXX" = "xyes"; then
48832 AROPTIONS
="-xar -o"
48834 elif test "x$SGICC" = "xyes"; then
48839 if test -n "$ac_tool_prefix"; then
48840 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48841 set dummy
${ac_tool_prefix}ar; ac_word
=$2
48842 echo "$as_me:$LINENO: checking for $ac_word" >&5
48843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48844 if test "${ac_cv_prog_AR+set}" = set; then
48845 echo $ECHO_N "(cached) $ECHO_C" >&6
48847 if test -n "$AR"; then
48848 ac_cv_prog_AR
="$AR" # Let the user override the test.
48850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48851 for as_dir
in $PATH
48854 test -z "$as_dir" && as_dir
=.
48855 for ac_exec_ext
in '' $ac_executable_extensions; do
48856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48857 ac_cv_prog_AR
="${ac_tool_prefix}ar"
48858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48867 if test -n "$AR"; then
48868 echo "$as_me:$LINENO: result: $AR" >&5
48869 echo "${ECHO_T}$AR" >&6
48871 echo "$as_me:$LINENO: result: no" >&5
48872 echo "${ECHO_T}no" >&6
48876 if test -z "$ac_cv_prog_AR"; then
48878 # Extract the first word of "ar", so it can be a program name with args.
48879 set dummy
ar; ac_word
=$2
48880 echo "$as_me:$LINENO: checking for $ac_word" >&5
48881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48882 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48883 echo $ECHO_N "(cached) $ECHO_C" >&6
48885 if test -n "$ac_ct_AR"; then
48886 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
48888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48889 for as_dir
in $PATH
48892 test -z "$as_dir" && as_dir
=.
48893 for ac_exec_ext
in '' $ac_executable_extensions; do
48894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48895 ac_cv_prog_ac_ct_AR
="ar"
48896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48902 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
48905 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
48906 if test -n "$ac_ct_AR"; then
48907 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48908 echo "${ECHO_T}$ac_ct_AR" >&6
48910 echo "$as_me:$LINENO: result: no" >&5
48911 echo "${ECHO_T}no" >&6
48916 AR
="$ac_cv_prog_AR"
48923 if test -n "$ac_tool_prefix"; then
48924 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48925 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
48926 echo "$as_me:$LINENO: checking for $ac_word" >&5
48927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48928 if test "${ac_cv_prog_STRIP+set}" = set; then
48929 echo $ECHO_N "(cached) $ECHO_C" >&6
48931 if test -n "$STRIP"; then
48932 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
48934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48935 for as_dir
in $PATH
48938 test -z "$as_dir" && as_dir
=.
48939 for ac_exec_ext
in '' $ac_executable_extensions; do
48940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48941 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
48942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48950 STRIP
=$ac_cv_prog_STRIP
48951 if test -n "$STRIP"; then
48952 echo "$as_me:$LINENO: result: $STRIP" >&5
48953 echo "${ECHO_T}$STRIP" >&6
48955 echo "$as_me:$LINENO: result: no" >&5
48956 echo "${ECHO_T}no" >&6
48960 if test -z "$ac_cv_prog_STRIP"; then
48962 # Extract the first word of "strip", so it can be a program name with args.
48963 set dummy strip
; ac_word
=$2
48964 echo "$as_me:$LINENO: checking for $ac_word" >&5
48965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48966 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48967 echo $ECHO_N "(cached) $ECHO_C" >&6
48969 if test -n "$ac_ct_STRIP"; then
48970 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
48972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48973 for as_dir
in $PATH
48976 test -z "$as_dir" && as_dir
=.
48977 for ac_exec_ext
in '' $ac_executable_extensions; do
48978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48979 ac_cv_prog_ac_ct_STRIP
="strip"
48980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48986 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
48989 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
48990 if test -n "$ac_ct_STRIP"; then
48991 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48992 echo "${ECHO_T}$ac_ct_STRIP" >&6
48994 echo "$as_me:$LINENO: result: no" >&5
48995 echo "${ECHO_T}no" >&6
49000 STRIP
="$ac_cv_prog_STRIP"
49003 if test -n "$ac_tool_prefix"; then
49004 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49005 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
49006 echo "$as_me:$LINENO: checking for $ac_word" >&5
49007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49008 if test "${ac_cv_prog_NM+set}" = set; then
49009 echo $ECHO_N "(cached) $ECHO_C" >&6
49011 if test -n "$NM"; then
49012 ac_cv_prog_NM
="$NM" # Let the user override the test.
49014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49015 for as_dir
in $PATH
49018 test -z "$as_dir" && as_dir
=.
49019 for ac_exec_ext
in '' $ac_executable_extensions; do
49020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49021 ac_cv_prog_NM
="${ac_tool_prefix}nm"
49022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49031 if test -n "$NM"; then
49032 echo "$as_me:$LINENO: result: $NM" >&5
49033 echo "${ECHO_T}$NM" >&6
49035 echo "$as_me:$LINENO: result: no" >&5
49036 echo "${ECHO_T}no" >&6
49040 if test -z "$ac_cv_prog_NM"; then
49042 # Extract the first word of "nm", so it can be a program name with args.
49043 set dummy nm
; ac_word
=$2
49044 echo "$as_me:$LINENO: checking for $ac_word" >&5
49045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49046 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49047 echo $ECHO_N "(cached) $ECHO_C" >&6
49049 if test -n "$ac_ct_NM"; then
49050 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
49052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49053 for as_dir
in $PATH
49056 test -z "$as_dir" && as_dir
=.
49057 for ac_exec_ext
in '' $ac_executable_extensions; do
49058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49059 ac_cv_prog_ac_ct_NM
="nm"
49060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49066 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
49069 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
49070 if test -n "$ac_ct_NM"; then
49071 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49072 echo "${ECHO_T}$ac_ct_NM" >&6
49074 echo "$as_me:$LINENO: result: no" >&5
49075 echo "${ECHO_T}no" >&6
49080 NM
="$ac_cv_prog_NM"
49084 case ${BAKEFILE_HOST} in
49086 INSTALL_DIR
="mkdir -p"
49089 INSTALL_DIR
='$(INSTALL) -d'
49095 case ${BAKEFILE_HOST} in
49096 *-*-cygwin* | *-*-mingw32* )
49097 LDFLAGS_GUI
="-mwindows"
49103 echo "$as_me:$LINENO: checking if make is GNU make" >&5
49104 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
49105 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49106 echo $ECHO_N "(cached) $ECHO_C" >&6
49109 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
49110 egrep -s GNU
> /dev
/null
); then
49111 bakefile_cv_prog_makeisgnu
="yes"
49113 bakefile_cv_prog_makeisgnu
="no"
49117 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49118 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
49120 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49137 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49138 case "${BAKEFILE_HOST}" in
49145 *-pc-os2_emx | *-pc-os2-emx )
49155 powerpc
-apple-macos* )
49164 case "$BAKEFILE_FORCE_PLATFORM" in
49199 # Check whether --enable-omf or --disable-omf was given.
49200 if test "${enable_omf+set}" = set; then
49201 enableval
="$enable_omf"
49202 bk_os2_use_omf
="$enableval"
49205 case "${BAKEFILE_HOST}" in
49207 if test "x$GCC" = "xyes"; then
49208 CFLAGS
="$CFLAGS -fno-common"
49209 CXXFLAGS
="$CXXFLAGS -fno-common"
49211 if test "x$XLCC" = "xyes"; then
49212 CFLAGS
="$CFLAGS -qnocommon"
49213 CXXFLAGS
="$CXXFLAGS -qnocommon"
49217 *-pc-os2_emx | *-pc-os2-emx )
49218 if test "x$bk_os2_use_omf" = "xyes" ; then
49221 LDFLAGS
="-Zomf $LDFLAGS"
49222 CFLAGS
="-Zomf $CFLAGS"
49223 CXXFLAGS
="-Zomf $CXXFLAGS"
49231 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
49237 SO_SUFFIX_MODULE
="so"
49242 DLLPREFIX_MODULE
=""
49246 case "${BAKEFILE_HOST}" in
49249 SO_SUFFIX_MODULE
="sl"
49253 SO_SUFFIX_MODULE
="a"
49257 SO_SUFFIX_MODULE
="dll"
49258 DLLIMP_SUFFIX
="dll.a"
49265 SO_SUFFIX_MODULE
="dll"
49266 DLLIMP_SUFFIX
="dll.a"
49276 *-pc-os2_emx | *-pc-os2-emx )
49278 SO_SUFFIX_MODULE
="dll"
49279 DLLIMP_SUFFIX
=$OS2_LIBEXT
49283 LIBEXT
=".$OS2_LIBEXT"
49288 SO_SUFFIX_MODULE
="bundle"
49292 if test "x$DLLIMP_SUFFIX" = "x" ; then
49293 DLLIMP_SUFFIX
="$SO_SUFFIX"
49308 if test "x$GCC" = "xyes"; then
49312 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
49313 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
49316 case "${BAKEFILE_HOST}" in
49318 if test "x$GCC" != "xyes"; then
49319 LDFLAGS
="$LDFLAGS -L/usr/lib"
49321 SHARED_LD_CC
="${CC} -b -o"
49322 SHARED_LD_CXX
="${CXX} -b -o"
49328 if test "$INTELCC" = "yes"; then
49330 elif test "x$SUNCXX" = "xyes"; then
49331 SHARED_LD_CC
="${CC} -G -o"
49332 SHARED_LD_CXX
="${CXX} -G -o"
49338 if test "x$SUNCXX" = xyes
; then
49339 SHARED_LD_CC
="${CC} -G -o"
49340 SHARED_LD_CXX
="${CXX} -G -o"
49348 cat <<EOF >shared-ld-sh
49350 #-----------------------------------------------------------------------------
49351 #-- Name: distrib/mac/shared-ld-sh
49352 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49353 #-- Author: Gilles Depeyrot
49354 #-- Copyright: (c) 2002 Gilles Depeyrot
49355 #-- Licence: any use permitted
49356 #-----------------------------------------------------------------------------
49361 linking_flag="-dynamiclib"
49362 ldargs="-r -keep_private_externs -nostdlib"
49364 while test ${D}# -gt 0; do
49371 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49372 # collect these options and values
49373 args="${D}{args} ${D}1 ${D}2"
49378 # collect these load args
49379 ldargs="${D}{ldargs} ${D}1"
49382 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49383 # collect these options
49384 args="${D}{args} ${D}1"
49387 -dynamiclib|-bundle)
49388 linking_flag="${D}1"
49392 echo "shared-ld: unhandled option '${D}1'"
49396 *.o | *.a | *.dylib)
49397 # collect object files
49398 objects="${D}{objects} ${D}1"
49402 echo "shared-ld: unhandled argument '${D}1'"
49413 # Link one module containing all the others
49415 if test ${D}{verbose} = 1; then
49416 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49418 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49422 # Link the shared library from the single module created, but only if the
49423 # previous command didn't fail:
49425 if test ${D}{status} = 0; then
49426 if test ${D}{verbose} = 1; then
49427 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49429 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49434 # Remove intermediate module
49436 rm -f master.${D}${D}.o
49441 chmod +x shared
-ld-sh
49443 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49444 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
49447 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49448 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
49449 if test "${bakefile_cv_gcc31+set}" = set; then
49450 echo $ECHO_N "(cached) $ECHO_C" >&6
49453 cat >conftest.
$ac_ext <<_ACEOF
49456 cat confdefs.h
>>conftest.
$ac_ext
49457 cat >>conftest.
$ac_ext <<_ACEOF
49458 /* end confdefs.h. */
49464 #if (__GNUC__ < 3) || \
49465 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49473 rm -f conftest.
$ac_objext
49474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49475 (eval $ac_compile) 2>conftest.er1
49477 grep -v '^ *+' conftest.er1
>conftest.err
49479 cat conftest.err
>&5
49480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49481 (exit $ac_status); } &&
49482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49484 (eval $ac_try) 2>&5
49486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49487 (exit $ac_status); }; } &&
49488 { ac_try
='test -s conftest.$ac_objext'
49489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49490 (eval $ac_try) 2>&5
49492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49493 (exit $ac_status); }; }; then
49495 bakefile_cv_gcc31
=yes
49498 echo "$as_me: failed program was:" >&5
49499 sed 's/^/| /' conftest.
$ac_ext >&5
49502 bakefile_cv_gcc31
=no
49506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49509 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49510 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
49511 if test "$bakefile_cv_gcc31" = "no"; then
49512 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49513 SHARED_LD_CXX
="$SHARED_LD_CC"
49515 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49516 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49519 if test "x$GCC" == "xyes"; then
49520 PIC_FLAG
="-dynamic -fPIC"
49522 if test "x$XLCC" = "xyes"; then
49523 PIC_FLAG
="-dynamic -DPIC"
49528 if test "x$GCC" = "xyes"; then
49531 case "${BAKEFILE_HOST}" in
49533 LD_EXPFULL
="-Wl,-bexpfull"
49537 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
49538 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
49540 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49541 set dummy makeC
++SharedLib
; ac_word
=$2
49542 echo "$as_me:$LINENO: checking for $ac_word" >&5
49543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49544 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49545 echo $ECHO_N "(cached) $ECHO_C" >&6
49547 if test -n "$AIX_CXX_LD"; then
49548 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
49550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49551 for as_dir
in $PATH
49554 test -z "$as_dir" && as_dir
=.
49555 for ac_exec_ext
in '' $ac_executable_extensions; do
49556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49557 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
49558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49564 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
49567 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
49568 if test -n "$AIX_CXX_LD"; then
49569 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49570 echo "${ECHO_T}$AIX_CXX_LD" >&6
49572 echo "$as_me:$LINENO: result: no" >&5
49573 echo "${ECHO_T}no" >&6
49576 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
49577 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
49582 SHARED_LD_CC
="${LD} -nostart -o"
49583 SHARED_LD_CXX
="${LD} -nostart -o"
49587 if test "x$GCC" != "xyes"; then
49592 *-*-cygwin* | *-*-mingw32* )
49594 SHARED_LD_CC
="\$(CC) -shared -o"
49595 SHARED_LD_CXX
="\$(CXX) -shared -o"
49599 *-pc-os2_emx | *-pc-os2-emx )
49600 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49601 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49605 cat <<EOF >dllar.sh
49608 # dllar - a tool to build both a .dll and an .a file
49609 # from a set of object (.o) files for EMX/OS2.
49611 # Written by Andrew Zabolotny, bit@freya.etu.ru
49612 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49614 # This script will accept a set of files on the command line.
49615 # All the public symbols from the .o files will be exported into
49616 # a .DEF file, then linker will be run (through gcc) against them to
49617 # build a shared library consisting of all given .o files. All libraries
49618 # (.a) will be first decompressed into component .o files then act as
49619 # described above. You can optionally give a description (-d "description")
49620 # which will be put into .DLL. To see the list of accepted options (as well
49621 # as command-line format) simply run this program without options. The .DLL
49622 # is built to be imported by name (there is no guarantee that new versions
49623 # of the library you build will have same ordinals for same symbols).
49625 # dllar is free software; you can redistribute it and/or modify
49626 # it under the terms of the GNU General Public License as published by
49627 # the Free Software Foundation; either version 2, or (at your option)
49628 # any later version.
49630 # dllar is distributed in the hope that it will be useful,
49631 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49632 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49633 # GNU General Public License for more details.
49635 # You should have received a copy of the GNU General Public License
49636 # along with dllar; see the file COPYING. If not, write to the Free
49637 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49640 # To successfuly run this program you will need:
49641 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49642 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49644 # (used to build the .dll)
49646 # (used to create .def file from .o files)
49648 # (used to create .a file from .def file)
49649 # - GNU text utilites (cat, sort, uniq)
49650 # used to process emxexp output
49651 # - GNU file utilities (mv, rm)
49653 # - lxlite (optional, see flag below)
49654 # (used for general .dll cleanup)
49661 # basnam, variant of basename, which does _not_ remove the path, _iff_
49662 # second argument (suffix to remove) is given
49666 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49669 echo ${D}1 | sed 's/'${D}2'${D}//'
49672 echo "error in basnam ${D}*"
49678 # Cleanup temporary files and output
49681 for i in ${D}inputFiles ; do
49684 rm -rf \`basnam ${D}i !\`
49691 # Kill result in case of failure as there is just to many stupid make/nmake
49692 # things out there which doesn't do this.
49693 if [ ${D}# -eq 0 ]; then
49694 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49698 # Print usage and exit script with rc=1.
49700 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49701 echo ' [-name-mangler-script script.sh]'
49702 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49703 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49704 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49705 echo ' [*.o] [*.a]'
49706 echo '*> "output_file" should have no extension.'
49707 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49708 echo ' The import library name is derived from this and is set to "name".a,'
49709 echo ' unless overridden by -import'
49710 echo '*> "importlib_name" should have no extension.'
49711 echo ' If it has the .o, or .a extension, it is automatically removed.'
49712 echo ' This name is used as the import library name and may be longer and'
49713 echo ' more descriptive than the DLL name which has to follow the old '
49714 echo ' 8.3 convention of FAT.'
49715 echo '*> "script.sh may be given to override the output_file name by a'
49716 echo ' different name. It is mainly useful if the regular make process'
49717 echo ' of some package does not take into account OS/2 restriction of'
49718 echo ' DLL name lengths. It takes the importlib name as input and is'
49719 echo ' supposed to procude a shorter name as output. The script should'
49720 echo ' expect to get importlib_name without extension and should produce'
49721 echo ' a (max.) 8 letter name without extension.'
49722 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49723 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49724 echo ' These flags will be put at the start of GCC command line.'
49725 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49726 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49727 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49728 echo ' If the last character of a symbol is "*", all symbols beginning'
49729 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49730 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49731 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49732 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49733 echo ' C runtime DLLs.'
49734 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49735 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49736 echo ' unchanged to GCC at the end of command line.'
49737 echo '*> If you create a DLL from a library and you do not specify -o,'
49738 echo ' the basename for DLL and import library will be set to library name,'
49739 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49740 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49741 echo ' library will be renamed into gcc_s.a.'
49744 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49745 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49750 # Execute a command.
49751 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49752 # @Uses Whatever CleanUp() uses.
49758 if [ ${D}rcCmd -ne 0 ]; then
49759 echo "command failed, exit code="${D}rcCmd
49774 CFLAGS="-s -Zcrtdll"
49776 EXPORT_BY_ORDINALS=0
49781 case ${D}curDirS in
49785 curDirS=${D}{curDirS}"/"
49788 # Parse commandline
49791 while [ ${D}1 ]; do
49794 EXPORT_BY_ORDINALS=1;
49804 -name-mangler-script)
49825 exclude_symbols=${D}{exclude_symbols}${D}1" "
49829 library_flags=${D}{library_flags}${D}1" "
49848 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49851 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49852 if [ ${D}omfLinking -eq 1 ]; then
49853 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49855 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49860 if [ ${D}libsToLink -ne 0 ]; then
49861 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49863 for file in ${D}1 ; do
49864 if [ -f ${D}file ]; then
49865 inputFiles="${D}{inputFiles} ${D}file"
49869 if [ ${D}found -eq 0 ]; then
49870 echo "ERROR: No file(s) found: "${D}1
49877 done # iterate cmdline words
49880 if [ -z "${D}inputFiles" ]; then
49881 echo "dllar: no input files"
49885 # Now extract all .o files from .a files
49887 for file in ${D}inputFiles ; do
49898 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49903 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49905 if [ ${D}? -ne 0 ]; then
49906 echo "Failed to create subdirectory ./${D}dirname"
49910 # Append '!' to indicate archive
49911 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49912 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49915 for subfile in ${D}dirname/*.o* ; do
49916 if [ -f ${D}subfile ]; then
49918 if [ -s ${D}subfile ]; then
49919 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49920 newInputFiles="${D}newInputFiles ${D}subfile"
49924 if [ ${D}found -eq 0 ]; then
49925 echo "WARNING: there are no files in archive \\'${D}file\\'"
49929 newInputFiles="${D}{newInputFiles} ${D}file"
49933 inputFiles="${D}newInputFiles"
49935 # Output filename(s).
49937 if [ -z ${D}outFile ]; then
49939 set outFile ${D}inputFiles; outFile=${D}2
49942 # If it is an archive, remove the '!' and the '_%' suffixes
49943 case ${D}outFile in
49945 outFile=\`basnam ${D}outFile _%!\`
49950 case ${D}outFile in
49952 outFile=\`basnam ${D}outFile .dll\`
49955 outFile=\`basnam ${D}outFile .DLL\`
49958 outFile=\`basnam ${D}outFile .o\`
49961 outFile=\`basnam ${D}outFile .obj\`
49964 outFile=\`basnam ${D}outFile .a\`
49967 outFile=\`basnam ${D}outFile .lib\`
49972 case ${D}outimpFile in
49974 outimpFile=\`basnam ${D}outimpFile .a\`
49977 outimpFile=\`basnam ${D}outimpFile .lib\`
49982 if [ -z ${D}outimpFile ]; then
49983 outimpFile=${D}outFile
49985 defFile="${D}{outFile}.def"
49986 arcFile="${D}{outimpFile}.a"
49987 arcFile2="${D}{outimpFile}.lib"
49989 #create ${D}dllFile as something matching 8.3 restrictions,
49990 if [ -z ${D}renameScript ] ; then
49991 dllFile="${D}outFile"
49993 dllFile=\`${D}renameScript ${D}outimpFile\`
49996 if [ ${D}do_backup -ne 0 ] ; then
49997 if [ -f ${D}arcFile ] ; then
49998 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50000 if [ -f ${D}arcFile2 ] ; then
50001 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50005 # Extract public symbols from all the object files.
50006 tmpdefFile=${D}{defFile}_%
50007 rm -f ${D}tmpdefFile
50008 for file in ${D}inputFiles ; do
50013 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50018 # Create the def file.
50020 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50021 dllFile="${D}{dllFile}.dll"
50022 if [ ! -z ${D}description ]; then
50023 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50025 echo "EXPORTS" >> ${D}defFile
50027 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50028 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50030 # Checks if the export is ok or not.
50031 for word in ${D}exclude_symbols; do
50032 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50033 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50037 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50038 sed "=" < ${D}tmpdefFile | \\
50042 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50044 ' > ${D}{tmpdefFile}%
50045 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50047 rm -f ${D}{tmpdefFile}%
50049 cat ${D}tmpdefFile >> ${D}defFile
50050 rm -f ${D}tmpdefFile
50052 # Do linking, create implib, and apply lxlite.
50054 for file in ${D}inputFiles ; do
50059 gccCmdl="${D}gccCmdl ${D}file"
50063 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50064 touch "${D}{outFile}.dll"
50066 doCommand "emximp -o ${D}arcFile ${D}defFile"
50067 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50069 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50072 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50074 doCommand "emxomf -s -l ${D}arcFile"
50084 powerpc
-apple-macos* | \
50085 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
50095 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50096 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50097 { (exit 1); exit 1; }; }
50100 if test "x$PIC_FLAG" != "x" ; then
50101 PIC_FLAG
="$PIC_FLAG -DPIC"
50104 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50105 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
50107 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50108 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
50127 case "${BAKEFILE_HOST}" in
50128 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
50129 if test "x$SUNCXX" = "xyes"; then
50132 SONAME_FLAG
="-Wl,-soname,"
50167 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
50168 if test "${enable_dependency_tracking+set}" = set; then
50169 enableval
="$enable_dependency_tracking"
50170 bk_use_trackdeps
="$enableval"
50173 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50174 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
50177 if test "x$bk_use_trackdeps" = "xno" ; then
50179 echo "$as_me:$LINENO: result: disabled" >&5
50180 echo "${ECHO_T}disabled" >&6
50184 if test "x$GCC" = "xyes"; then
50186 case "${BAKEFILE_HOST}" in
50188 DEPSFLAG
="-no-cpp-precomp -MMD"
50194 echo "$as_me:$LINENO: result: gcc" >&5
50195 echo "${ECHO_T}gcc" >&6
50196 elif test "x$MWCC" = "xyes"; then
50199 echo "$as_me:$LINENO: result: mwcc" >&5
50200 echo "${ECHO_T}mwcc" >&6
50201 elif test "x$SUNCC" = "xyes"; then
50204 echo "$as_me:$LINENO: result: Sun cc" >&5
50205 echo "${ECHO_T}Sun cc" >&6
50206 elif test "x$SGICC" = "xyes"; then
50209 echo "$as_me:$LINENO: result: SGI cc" >&5
50210 echo "${ECHO_T}SGI cc" >&6
50211 elif test "x$HPCC" = "xyes"; then
50214 echo "$as_me:$LINENO: result: HP cc" >&5
50215 echo "${ECHO_T}HP cc" >&6
50216 elif test "x$COMPAQCC" = "xyes"; then
50219 echo "$as_me:$LINENO: result: Compaq cc" >&5
50220 echo "${ECHO_T}Compaq cc" >&6
50223 echo "$as_me:$LINENO: result: none" >&5
50224 echo "${ECHO_T}none" >&6
50227 if test $DEPS_TRACKING = 1 ; then
50233 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50234 # script. It is used to track C/C++ files dependencies in portable way.
50236 # Permission is given to use this file in any way.
50238 DEPSMODE=${DEPSMODE}
50240 DEPSFLAG="${DEPSFLAG}"
50242 mkdir -p ${D}DEPSDIR
50244 if test ${D}DEPSMODE = gcc ; then
50245 ${D}* ${D}{DEPSFLAG}
50247 if test ${D}{status} != 0 ; then
50250 # move created file to the location we want it in:
50251 while test ${D}# -gt 0; do
50265 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50266 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50267 if test -f ${D}depfile ; then
50268 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50271 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50272 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
50273 if test ! -f ${D}depfile ; then
50274 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50275 depfile="${D}objfile.d"
50277 if test -f ${D}depfile ; then
50278 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50283 elif test ${D}DEPSMODE = mwcc ; then
50284 ${D}* || exit ${D}?
50285 # Run mwcc again with -MM and redirect into the dep file we want
50286 # NOTE: We can't use shift here because we need ${D}* to be valid
50288 for arg in ${D}* ; do
50289 if test "${D}prevarg" = "-o"; then
50302 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
50304 elif test ${D}DEPSMODE = unixcc; then
50305 ${D}* || exit ${D}?
50306 # Run compiler again with deps flag and redirect into the dep file.
50307 # It doesn't work if the '-o FILE' option is used, but without it the
50308 # dependency file will contain the wrong name for the object. So it is
50309 # removed from the command line, and the dep file is fixed with sed.
50311 while test ${D}# -gt 0; do
50318 eval arg${D}#=\\${D}1
50319 cmd="${D}cmd \\${D}arg${D}#"
50324 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
50333 BK_DEPS
="`pwd`/bk-deps"
50341 case ${BAKEFILE_HOST} in
50342 *-*-cygwin* | *-*-mingw32* )
50343 if test -n "$ac_tool_prefix"; then
50344 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50345 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
50346 echo "$as_me:$LINENO: checking for $ac_word" >&5
50347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50348 if test "${ac_cv_prog_WINDRES+set}" = set; then
50349 echo $ECHO_N "(cached) $ECHO_C" >&6
50351 if test -n "$WINDRES"; then
50352 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
50354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50355 for as_dir
in $PATH
50358 test -z "$as_dir" && as_dir
=.
50359 for ac_exec_ext
in '' $ac_executable_extensions; do
50360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50361 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
50362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50370 WINDRES
=$ac_cv_prog_WINDRES
50371 if test -n "$WINDRES"; then
50372 echo "$as_me:$LINENO: result: $WINDRES" >&5
50373 echo "${ECHO_T}$WINDRES" >&6
50375 echo "$as_me:$LINENO: result: no" >&5
50376 echo "${ECHO_T}no" >&6
50380 if test -z "$ac_cv_prog_WINDRES"; then
50381 ac_ct_WINDRES
=$WINDRES
50382 # Extract the first word of "windres", so it can be a program name with args.
50383 set dummy windres
; ac_word
=$2
50384 echo "$as_me:$LINENO: checking for $ac_word" >&5
50385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50386 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50387 echo $ECHO_N "(cached) $ECHO_C" >&6
50389 if test -n "$ac_ct_WINDRES"; then
50390 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
50392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50393 for as_dir
in $PATH
50396 test -z "$as_dir" && as_dir
=.
50397 for ac_exec_ext
in '' $ac_executable_extensions; do
50398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50399 ac_cv_prog_ac_ct_WINDRES
="windres"
50400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50408 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
50409 if test -n "$ac_ct_WINDRES"; then
50410 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50411 echo "${ECHO_T}$ac_ct_WINDRES" >&6
50413 echo "$as_me:$LINENO: result: no" >&5
50414 echo "${ECHO_T}no" >&6
50417 WINDRES
=$ac_ct_WINDRES
50419 WINDRES
="$ac_cv_prog_WINDRES"
50424 *-*-darwin* | powerpc
-apple-macos* )
50425 # Extract the first word of "Rez", so it can be a program name with args.
50426 set dummy Rez
; ac_word
=$2
50427 echo "$as_me:$LINENO: checking for $ac_word" >&5
50428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50429 if test "${ac_cv_prog_REZ+set}" = set; then
50430 echo $ECHO_N "(cached) $ECHO_C" >&6
50432 if test -n "$REZ"; then
50433 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
50435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50436 for as_dir
in $PATH
50439 test -z "$as_dir" && as_dir
=.
50440 for ac_exec_ext
in '' $ac_executable_extensions; do
50441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50442 ac_cv_prog_REZ
="Rez"
50443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50449 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
50452 REZ
=$ac_cv_prog_REZ
50453 if test -n "$REZ"; then
50454 echo "$as_me:$LINENO: result: $REZ" >&5
50455 echo "${ECHO_T}$REZ" >&6
50457 echo "$as_me:$LINENO: result: no" >&5
50458 echo "${ECHO_T}no" >&6
50461 # Extract the first word of "SetFile", so it can be a program name with args.
50462 set dummy SetFile
; ac_word
=$2
50463 echo "$as_me:$LINENO: checking for $ac_word" >&5
50464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50465 if test "${ac_cv_prog_SETFILE+set}" = set; then
50466 echo $ECHO_N "(cached) $ECHO_C" >&6
50468 if test -n "$SETFILE"; then
50469 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
50471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50472 for as_dir
in $PATH
50475 test -z "$as_dir" && as_dir
=.
50476 for ac_exec_ext
in '' $ac_executable_extensions; do
50477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50478 ac_cv_prog_SETFILE
="SetFile"
50479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50485 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
50488 SETFILE
=$ac_cv_prog_SETFILE
50489 if test -n "$SETFILE"; then
50490 echo "$as_me:$LINENO: result: $SETFILE" >&5
50491 echo "${ECHO_T}$SETFILE" >&6
50493 echo "$as_me:$LINENO: result: no" >&5
50494 echo "${ECHO_T}no" >&6
50505 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
50508 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
50512 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
50513 if test "${enable_precomp_headers+set}" = set; then
50514 enableval
="$enable_precomp_headers"
50515 bk_use_pch
="$enableval"
50523 case ${BAKEFILE_HOST} in
50529 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50530 if test "x$GCC" = "xyes"; then
50531 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50532 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
50533 cat >conftest.
$ac_ext <<_ACEOF
50536 cat confdefs.h
>>conftest.
$ac_ext
50537 cat >>conftest.
$ac_ext <<_ACEOF
50538 /* end confdefs.h. */
50544 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50545 There is no PCH support
50548 There is no PCH support
50550 #if (__GNUC__ == 3) && \
50551 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50552 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50553 ( defined(__INTEL_COMPILER) )
50554 There is no PCH support
50561 rm -f conftest.
$ac_objext
50562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50563 (eval $ac_compile) 2>conftest.er1
50565 grep -v '^ *+' conftest.er1
>conftest.err
50567 cat conftest.err
>&5
50568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50569 (exit $ac_status); } &&
50570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50572 (eval $ac_try) 2>&5
50574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50575 (exit $ac_status); }; } &&
50576 { ac_try
='test -s conftest.$ac_objext'
50577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50578 (eval $ac_try) 2>&5
50580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50581 (exit $ac_status); }; }; then
50583 echo "$as_me:$LINENO: result: yes" >&5
50584 echo "${ECHO_T}yes" >&6
50588 echo "$as_me: failed program was:" >&5
50589 sed 's/^/| /' conftest.
$ac_ext >&5
50592 cat >conftest.
$ac_ext <<_ACEOF
50595 cat confdefs.h
>>conftest.
$ac_ext
50596 cat >>conftest.
$ac_ext <<_ACEOF
50597 /* end confdefs.h. */
50603 #if !defined(__INTEL_COMPILER) || \
50604 (__INTEL_COMPILER < 800)
50605 There is no PCH support
50612 rm -f conftest.
$ac_objext
50613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50614 (eval $ac_compile) 2>conftest.er1
50616 grep -v '^ *+' conftest.er1
>conftest.err
50618 cat conftest.err
>&5
50619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50620 (exit $ac_status); } &&
50621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50623 (eval $ac_try) 2>&5
50625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50626 (exit $ac_status); }; } &&
50627 { ac_try
='test -s conftest.$ac_objext'
50628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50629 (eval $ac_try) 2>&5
50631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50632 (exit $ac_status); }; }; then
50634 echo "$as_me:$LINENO: result: yes" >&5
50635 echo "${ECHO_T}yes" >&6
50639 echo "$as_me: failed program was:" >&5
50640 sed 's/^/| /' conftest.
$ac_ext >&5
50643 echo "$as_me:$LINENO: result: no" >&5
50644 echo "${ECHO_T}no" >&6
50647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
50650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
50651 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50655 cat <<EOF >bk-make-pch
50658 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50659 # script. It is used to generated precompiled headers.
50661 # Permission is given to use this file in any way.
50671 while test ${D}{#} -gt 0; do
50675 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50676 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50677 headerfile="${D}{incdir}/${D}{header}"
50680 -use-pch|-use_pch )
50685 if test ${D}add_to_cmdline = 1 ; then
50686 compiler="${D}{compiler} ${D}{1}"
50691 if test "x${D}{headerfile}" = "x" ; then
50692 echo "error: can't find header ${D}{header} in include paths" >&2
50694 if test -f ${D}{outfile} ; then
50695 rm -f ${D}{outfile}
50697 mkdir -p \`dirname ${D}{outfile}\`
50699 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50701 if test "x${GCC_PCH}" = "x1" ; then
50702 # can do this because gcc is >= 3.4:
50703 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50704 elif test "x${ICC_PCH}" = "x1" ; then
50705 filename=pch_gen-${D}${D}
50706 file=${D}{filename}.c
50707 dfile=${D}{filename}.d
50708 cat > ${D}file <<EOT
50709 #include "${D}header"
50711 # using -MF icc complains about differing command lines in creation/use
50712 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
50713 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50714 rm -f ${D}file ${D}dfile ${D}{filename}.o
50720 chmod +x bk
-make-pch
50721 BK_MAKE_PCH
="`pwd`/bk-make-pch"
50730 COND_BUILD_DEBUG
="#"
50731 if test "x$BUILD" = "xdebug" ; then
50732 COND_BUILD_DEBUG
=""
50735 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
50736 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50737 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
50740 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
50741 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50742 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
50745 COND_BUILD_DEBUG_UNICODE_0
="#"
50746 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50747 COND_BUILD_DEBUG_UNICODE_0
=""
50750 COND_BUILD_DEBUG_UNICODE_1
="#"
50751 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50752 COND_BUILD_DEBUG_UNICODE_1
=""
50755 COND_BUILD_RELEASE
="#"
50756 if test "x$BUILD" = "xrelease" ; then
50757 COND_BUILD_RELEASE
=""
50760 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
50761 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50762 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
50765 COND_BUILD_RELEASE_UNICODE_0
="#"
50766 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50767 COND_BUILD_RELEASE_UNICODE_0
=""
50770 COND_BUILD_RELEASE_UNICODE_1
="#"
50771 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50772 COND_BUILD_RELEASE_UNICODE_1
=""
50775 COND_DEBUG_FLAG_1
="#"
50776 if test "x$DEBUG_FLAG" = "x1" ; then
50777 COND_DEBUG_FLAG_1
=""
50780 COND_DEBUG_INFO_0
="#"
50781 if test "x$DEBUG_INFO" = "x0" ; then
50782 COND_DEBUG_INFO_0
=""
50785 COND_DEBUG_INFO_1
="#"
50786 if test "x$DEBUG_INFO" = "x1" ; then
50787 COND_DEBUG_INFO_1
=""
50790 COND_DEPS_TRACKING_0
="#"
50791 if test "x$DEPS_TRACKING" = "x0" ; then
50792 COND_DEPS_TRACKING_0
=""
50795 COND_DEPS_TRACKING_1
="#"
50796 if test "x$DEPS_TRACKING" = "x1" ; then
50797 COND_DEPS_TRACKING_1
=""
50801 if test "x$GCC_PCH" = "x1" ; then
50806 if test "x$ICC_PCH" = "x1" ; then
50810 COND_MONOLITHIC_0
="#"
50811 if test "x$MONOLITHIC" = "x0" ; then
50812 COND_MONOLITHIC_0
=""
50815 COND_MONOLITHIC_0_SHARED_0
="#"
50816 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50817 COND_MONOLITHIC_0_SHARED_0
=""
50820 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
50821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50822 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
50825 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
50826 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
50830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
50831 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
50835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
50836 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50837 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
50840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
50841 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
50845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
50846 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
50850 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
50851 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50852 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
50855 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
50856 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50857 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
50860 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
50861 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50862 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
50865 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
50866 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50867 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
50870 COND_MONOLITHIC_0_SHARED_1
="#"
50871 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50872 COND_MONOLITHIC_0_SHARED_1
=""
50875 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
50876 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50877 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
50880 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
50881 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50882 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
50885 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
50886 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50887 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
50890 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
50891 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50892 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
50895 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
50896 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50897 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
50900 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
50901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50902 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
50905 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
50906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50907 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
50910 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
50911 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50912 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
50915 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
50916 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50917 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
50920 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
50921 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50922 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
50925 COND_MONOLITHIC_0_USE_AUI_1
="#"
50926 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50927 COND_MONOLITHIC_0_USE_AUI_1
=""
50930 COND_MONOLITHIC_0_USE_GUI_1
="#"
50931 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50932 COND_MONOLITHIC_0_USE_GUI_1
=""
50935 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
50936 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50937 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
50940 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
="#"
50941 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50942 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
=""
50945 COND_MONOLITHIC_0_USE_HTML_1
="#"
50946 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50947 COND_MONOLITHIC_0_USE_HTML_1
=""
50950 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
50951 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50952 COND_MONOLITHIC_0_USE_MEDIA_1
=""
50955 COND_MONOLITHIC_0_USE_ODBC_1
="#"
50956 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50957 COND_MONOLITHIC_0_USE_ODBC_1
=""
50960 COND_MONOLITHIC_0_USE_QA_1
="#"
50961 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50962 COND_MONOLITHIC_0_USE_QA_1
=""
50965 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
50966 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50967 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
50970 COND_MONOLITHIC_0_USE_STC_1
="#"
50971 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50972 COND_MONOLITHIC_0_USE_STC_1
=""
50975 COND_MONOLITHIC_0_USE_XRC_1
="#"
50976 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50977 COND_MONOLITHIC_0_USE_XRC_1
=""
50980 COND_MONOLITHIC_1
="#"
50981 if test "x$MONOLITHIC" = "x1" ; then
50982 COND_MONOLITHIC_1
=""
50985 COND_MONOLITHIC_1_SHARED_0
="#"
50986 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50987 COND_MONOLITHIC_1_SHARED_0
=""
50990 COND_MONOLITHIC_1_SHARED_1
="#"
50991 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50992 COND_MONOLITHIC_1_SHARED_1
=""
50995 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
50996 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50997 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
51000 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
51001 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51002 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
51005 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
51006 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51007 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
51010 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
51011 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51012 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
51015 COND_PLATFORM_MACOSX_1
="#"
51016 if test "x$PLATFORM_MACOSX" = "x1" ; then
51017 COND_PLATFORM_MACOSX_1
=""
51020 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
51021 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51022 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
51025 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
51026 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51027 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
51030 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
51031 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51032 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
51035 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
51036 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51037 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
51040 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
51041 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51042 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
51045 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
51046 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51047 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
51050 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
51051 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51052 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
51055 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
51056 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51057 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
51060 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
51061 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51062 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
51065 COND_PLATFORM_MACOS_1
="#"
51066 if test "x$PLATFORM_MACOS" = "x1" ; then
51067 COND_PLATFORM_MACOS_1
=""
51070 COND_PLATFORM_MAC_1
="#"
51071 if test "x$PLATFORM_MAC" = "x1" ; then
51072 COND_PLATFORM_MAC_1
=""
51075 COND_PLATFORM_MSDOS_0
="#"
51076 if test "x$PLATFORM_MSDOS" = "x0" ; then
51077 COND_PLATFORM_MSDOS_0
=""
51080 COND_PLATFORM_MSDOS_1
="#"
51081 if test "x$PLATFORM_MSDOS" = "x1" ; then
51082 COND_PLATFORM_MSDOS_1
=""
51085 COND_PLATFORM_OS2_1
="#"
51086 if test "x$PLATFORM_OS2" = "x1" ; then
51087 COND_PLATFORM_OS2_1
=""
51090 COND_PLATFORM_UNIX_0
="#"
51091 if test "x$PLATFORM_UNIX" = "x0" ; then
51092 COND_PLATFORM_UNIX_0
=""
51095 COND_PLATFORM_UNIX_1
="#"
51096 if test "x$PLATFORM_UNIX" = "x1" ; then
51097 COND_PLATFORM_UNIX_1
=""
51100 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
51101 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51102 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
51105 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
51106 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51107 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
51110 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
51111 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51112 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
51115 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
51116 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51117 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
51120 COND_PLATFORM_WIN32_0
="#"
51121 if test "x$PLATFORM_WIN32" = "x0" ; then
51122 COND_PLATFORM_WIN32_0
=""
51125 COND_PLATFORM_WIN32_1
="#"
51126 if test "x$PLATFORM_WIN32" = "x1" ; then
51127 COND_PLATFORM_WIN32_1
=""
51131 if test "x$SHARED" = "x0" ; then
51135 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
51136 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51137 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
51140 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
51141 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51142 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
51145 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
51146 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51147 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
51150 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
51151 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51152 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
51155 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
51156 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51157 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
51160 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
51161 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51162 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
51165 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
51166 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51167 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
51170 COND_SHARED_0_USE_STC_1
="#"
51171 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51172 COND_SHARED_0_USE_STC_1
=""
51175 COND_SHARED_0_USE_XRC_1
="#"
51176 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51177 COND_SHARED_0_USE_XRC_1
=""
51180 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
51181 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51182 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
51185 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
51186 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
51187 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
51190 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
51191 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51192 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
51195 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
51196 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51197 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
51201 if test "x$SHARED" = "x1" ; then
51205 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
51206 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51207 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
51210 COND_SHARED_1_USE_XRC_1
="#"
51211 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51212 COND_SHARED_1_USE_XRC_1
=""
51216 if test "x$TOOLKIT" = "x" ; then
51220 COND_TOOLKIT_COCOA
="#"
51221 if test "x$TOOLKIT" = "xCOCOA" ; then
51222 COND_TOOLKIT_COCOA
=""
51225 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
51226 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51227 COND_TOOLKIT_COCOA_USE_GUI_1
=""
51230 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
51231 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51232 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
51235 COND_TOOLKIT_DFB
="#"
51236 if test "x$TOOLKIT" = "xDFB" ; then
51237 COND_TOOLKIT_DFB
=""
51240 COND_TOOLKIT_DFB_USE_GUI_1
="#"
51241 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51242 COND_TOOLKIT_DFB_USE_GUI_1
=""
51245 COND_TOOLKIT_GTK
="#"
51246 if test "x$TOOLKIT" = "xGTK" ; then
51247 COND_TOOLKIT_GTK
=""
51250 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
51251 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51252 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
51255 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
51256 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51257 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
51260 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
51261 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51262 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
51265 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
51266 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51267 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
51270 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
51271 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51272 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
51275 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
51276 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51277 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
51280 COND_TOOLKIT_GTK_USE_GUI_1
="#"
51281 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51282 COND_TOOLKIT_GTK_USE_GUI_1
=""
51285 COND_TOOLKIT_MAC
="#"
51286 if test "x$TOOLKIT" = "xMAC" ; then
51287 COND_TOOLKIT_MAC
=""
51290 COND_TOOLKIT_MAC_USE_GUI_1
="#"
51291 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51292 COND_TOOLKIT_MAC_USE_GUI_1
=""
51295 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
51296 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51297 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
51300 COND_TOOLKIT_MGL
="#"
51301 if test "x$TOOLKIT" = "xMGL" ; then
51302 COND_TOOLKIT_MGL
=""
51305 COND_TOOLKIT_MGL_USE_GUI_1
="#"
51306 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51307 COND_TOOLKIT_MGL_USE_GUI_1
=""
51310 COND_TOOLKIT_MOTIF
="#"
51311 if test "x$TOOLKIT" = "xMOTIF" ; then
51312 COND_TOOLKIT_MOTIF
=""
51315 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
51316 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51317 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
51320 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
51321 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51322 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
51325 COND_TOOLKIT_MSW
="#"
51326 if test "x$TOOLKIT" = "xMSW" ; then
51327 COND_TOOLKIT_MSW
=""
51330 COND_TOOLKIT_MSW_USE_GUI_1
="#"
51331 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51332 COND_TOOLKIT_MSW_USE_GUI_1
=""
51335 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
51336 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51337 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
51340 COND_TOOLKIT_MSW_WXUNIV_0
="#"
51341 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51342 COND_TOOLKIT_MSW_WXUNIV_0
=""
51345 COND_TOOLKIT_PM
="#"
51346 if test "x$TOOLKIT" = "xPM" ; then
51350 COND_TOOLKIT_PM_USE_GUI_1
="#"
51351 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51352 COND_TOOLKIT_PM_USE_GUI_1
=""
51355 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
51356 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51357 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
51360 COND_TOOLKIT_WINCE
="#"
51361 if test "x$TOOLKIT" = "xWINCE" ; then
51362 COND_TOOLKIT_WINCE
=""
51365 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
51366 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51367 COND_TOOLKIT_WINCE_USE_GUI_1
=""
51370 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
51371 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51372 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
51375 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
51376 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51377 COND_TOOLKIT_WINCE_WXUNIV_0
=""
51380 COND_TOOLKIT_X11
="#"
51381 if test "x$TOOLKIT" = "xX11" ; then
51382 COND_TOOLKIT_X11
=""
51385 COND_TOOLKIT_X11_USE_GUI_1
="#"
51386 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51387 COND_TOOLKIT_X11_USE_GUI_1
=""
51391 if test "x$UNICODE" = "x1" ; then
51395 COND_USE_EXCEPTIONS_0
="#"
51396 if test "x$USE_EXCEPTIONS" = "x0" ; then
51397 COND_USE_EXCEPTIONS_0
=""
51400 COND_USE_EXCEPTIONS_1
="#"
51401 if test "x$USE_EXCEPTIONS" = "x1" ; then
51402 COND_USE_EXCEPTIONS_1
=""
51406 if test "x$USE_GUI" = "x0" ; then
51411 if test "x$USE_GUI" = "x1" ; then
51415 COND_USE_GUI_1_USE_OPENGL_1
="#"
51416 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51417 COND_USE_GUI_1_USE_OPENGL_1
=""
51420 COND_USE_GUI_1_WXUNIV_0
="#"
51421 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51422 COND_USE_GUI_1_WXUNIV_0
=""
51425 COND_USE_GUI_1_WXUNIV_1
="#"
51426 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51427 COND_USE_GUI_1_WXUNIV_1
=""
51430 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
51431 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51432 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
51435 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
51436 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51437 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
51440 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
51441 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51442 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
51445 COND_USE_ODBC_1
="#"
51446 if test "x$USE_ODBC" = "x1" ; then
51450 COND_USE_OPENGL_1
="#"
51451 if test "x$USE_OPENGL" = "x1" ; then
51452 COND_USE_OPENGL_1
=""
51456 if test "x$USE_PCH" = "x1" ; then
51460 COND_USE_PLUGINS_0
="#"
51461 if test "x$USE_PLUGINS" = "x0" ; then
51462 COND_USE_PLUGINS_0
=""
51465 COND_USE_RTTI_0
="#"
51466 if test "x$USE_RTTI" = "x0" ; then
51470 COND_USE_RTTI_1
="#"
51471 if test "x$USE_RTTI" = "x1" ; then
51475 COND_USE_SOSYMLINKS_1
="#"
51476 if test "x$USE_SOSYMLINKS" = "x1" ; then
51477 COND_USE_SOSYMLINKS_1
=""
51480 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
51481 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51482 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
51485 COND_USE_SOVERLINUX_1
="#"
51486 if test "x$USE_SOVERLINUX" = "x1" ; then
51487 COND_USE_SOVERLINUX_1
=""
51490 COND_USE_SOVERSION_0
="#"
51491 if test "x$USE_SOVERSION" = "x0" ; then
51492 COND_USE_SOVERSION_0
=""
51495 COND_USE_SOVERSOLARIS_1
="#"
51496 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51497 COND_USE_SOVERSOLARIS_1
=""
51501 if test "x$USE_STC" = "x1" ; then
51505 COND_USE_THREADS_0
="#"
51506 if test "x$USE_THREADS" = "x0" ; then
51507 COND_USE_THREADS_0
=""
51510 COND_USE_THREADS_1
="#"
51511 if test "x$USE_THREADS" = "x1" ; then
51512 COND_USE_THREADS_1
=""
51516 if test "x$USE_XRC" = "x1" ; then
51520 COND_WINDOWS_IMPLIB_1
="#"
51521 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51522 COND_WINDOWS_IMPLIB_1
=""
51525 COND_WITH_PLUGIN_SDL_1
="#"
51526 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51527 COND_WITH_PLUGIN_SDL_1
=""
51531 if test "x$WXUNIV" = "x0" ; then
51536 if test "x$WXUNIV" = "x1" ; then
51540 COND_WXUSE_EXPAT_BUILTIN
="#"
51541 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51542 COND_WXUSE_EXPAT_BUILTIN
=""
51545 COND_WXUSE_LIBJPEG_BUILTIN
="#"
51546 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51547 COND_WXUSE_LIBJPEG_BUILTIN
=""
51550 COND_WXUSE_LIBPNG_BUILTIN
="#"
51551 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51552 COND_WXUSE_LIBPNG_BUILTIN
=""
51555 COND_WXUSE_LIBTIFF_BUILTIN
="#"
51556 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51557 COND_WXUSE_LIBTIFF_BUILTIN
=""
51560 COND_WXUSE_ODBC_BUILTIN
="#"
51561 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
51562 COND_WXUSE_ODBC_BUILTIN
=""
51565 COND_WXUSE_REGEX_BUILTIN
="#"
51566 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51567 COND_WXUSE_REGEX_BUILTIN
=""
51570 COND_WXUSE_ZLIB_BUILTIN
="#"
51571 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51572 COND_WXUSE_ZLIB_BUILTIN
=""
51577 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51578 { { 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
51579 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;}
51580 { (exit 1); exit 1; }; }
51583 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51584 { { 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
51585 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;}
51586 { (exit 1); exit 1; }; }
51590 if test $GCC_PCH = 1
51592 if test "$wx_cv_gcc_pch_bug" = yes; then
51593 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51594 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51595 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51596 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51597 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51598 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51601 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
51605 if test "$wxUSE_MAC" = 1 ; then
51606 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51607 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
51613 if test "$wxUSE_SHARED" = "yes"; then
51615 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
51616 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
51619 *-pc-os2_emx | *-pc-os2-emx )
51620 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51621 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51622 cp -p ${srcdir}/src
/os
2/dllnames.sh .
51623 cp -p ${srcdir}/src
/os
2/dllar.sh .
51628 EXE_LINKER
="$CXX -o"
51631 if test "$wxUSE_OMF" = "yes"; then
51633 *-pc-os2_emx | *-pc-os2-emx )
51634 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
51635 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
51636 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
51641 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51646 if "$GCC" = yes; then
51647 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
51648 LIBS
=`echo $LIBS | sed 's/-mt//'`
51649 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51654 if test "x$SUNCXX" = xyes
; then
51655 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
51656 LIBS
=`echo $LIBS | sed 's/-pthread//'`
51657 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51662 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
51663 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51665 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51727 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51728 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
51729 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
51730 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
51731 echo $ECHO_N "(cached) $ECHO_C" >&6
51733 cat >conftest.
make <<\_ACEOF
51735 @
echo 'ac_maketemp="$(MAKE)"'
51737 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51738 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
51739 if test -n "$ac_maketemp"; then
51740 eval ac_cv_prog_make_
${ac_make}_set
=yes
51742 eval ac_cv_prog_make_
${ac_make}_set
=no
51744 rm -f conftest.
make
51746 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
51747 echo "$as_me:$LINENO: result: yes" >&5
51748 echo "${ECHO_T}yes" >&6
51751 echo "$as_me:$LINENO: result: no" >&5
51752 echo "${ECHO_T}no" >&6
51753 SET_MAKE
="MAKE=${MAKE-make}"
51758 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51761 if test "$USE_WIN32" = 1; then
51762 ac_config_commands
="$ac_config_commands
51768 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51771 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51774 if test "$wx_cv_version_script" = "yes"; then
51775 ac_config_files
="$ac_config_files version-script"
51778 ac_config_files
="$ac_config_files Makefile"
51781 ac_config_commands
="$ac_config_commands wx-config"
51785 if test "$wxWITH_SUBDIRS" != "no"; then
51786 if test "$wxUSE_GUI" = "yes"; then
51787 SUBDIRS
="samples demos utils"
51788 else SUBDIRS
="samples utils"
51793 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
51794 if test "${with_cppunit_prefix+set}" = set; then
51795 withval
="$with_cppunit_prefix"
51796 cppunit_config_prefix
="$withval"
51798 cppunit_config_prefix
=""
51801 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
51802 if test "${with_cppunit_exec_prefix+set}" = set; then
51803 withval
="$with_cppunit_exec_prefix"
51804 cppunit_config_exec_prefix
="$withval"
51806 cppunit_config_exec_prefix
=""
51809 if test x
$cppunit_config_exec_prefix != x
; then
51810 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51811 if test x
${CPPUNIT_CONFIG+set} != xset
; then
51812 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
51815 if test x
$cppunit_config_prefix != x
; then
51816 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
51817 if test x
${CPPUNIT_CONFIG+set} != xset
; then
51818 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
51822 # Extract the first word of "cppunit-config", so it can be a program name with args.
51823 set dummy cppunit
-config; ac_word
=$2
51824 echo "$as_me:$LINENO: checking for $ac_word" >&5
51825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
51826 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51827 echo $ECHO_N "(cached) $ECHO_C" >&6
51829 case $CPPUNIT_CONFIG in
51831 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51835 for as_dir
in $PATH
51838 test -z "$as_dir" && as_dir
=.
51839 for ac_exec_ext
in '' $ac_executable_extensions; do
51840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51841 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
51842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51848 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
51852 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
51854 if test -n "$CPPUNIT_CONFIG"; then
51855 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51856 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
51858 echo "$as_me:$LINENO: result: no" >&5
51859 echo "${ECHO_T}no" >&6
51862 cppunit_version_min
=1.8.0
51864 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51865 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
51867 if test "$CPPUNIT_CONFIG" = "no" ; then
51868 echo "$as_me:$LINENO: result: no" >&5
51869 echo "${ECHO_T}no" >&6
51872 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
51873 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
51874 cppunit_version
=`$CPPUNIT_CONFIG --version`
51876 cppunit_major_version
=`echo $cppunit_version | \
51877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51878 cppunit_minor_version
=`echo $cppunit_version | \
51879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51880 cppunit_micro_version
=`echo $cppunit_version | \
51881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51883 cppunit_major_min
=`echo $cppunit_version_min | \
51884 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51885 cppunit_minor_min
=`echo $cppunit_version_min | \
51886 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51887 cppunit_micro_min
=`echo $cppunit_version_min | \
51888 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51890 cppunit_version_proper
=`expr \
51891 $cppunit_major_version \> $cppunit_major_min \| \
51892 $cppunit_major_version \= $cppunit_major_min \& \
51893 $cppunit_minor_version \> $cppunit_minor_min \| \
51894 $cppunit_major_version \= $cppunit_major_min \& \
51895 $cppunit_minor_version \= $cppunit_minor_min \& \
51896 $cppunit_micro_version \>= $cppunit_micro_min `
51898 if test "$cppunit_version_proper" = "1" ; then
51899 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51900 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
51902 echo "$as_me:$LINENO: result: no" >&5
51903 echo "${ECHO_T}no" >&6
51908 if test "x$no_cppunit" = x
; then
51909 SUBDIRS
="$SUBDIRS tests"
51920 for subdir
in `echo $SUBDIRS`; do
51921 if test -d ${srcdir}/${subdir} ; then
51922 if test "$wxUSE_GUI" = "yes"; then
51923 if test ${subdir} = "samples"; then
51924 makefiles
="samples/Makefile.in $makefiles"
51925 for sample
in `echo $SAMPLES_SUBDIRS`; do
51926 if test -d $srcdir/samples
/$sample; then
51927 makefiles
="samples/$sample/Makefile.in $makefiles"
51931 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
51932 eval "disabled=\$$disabled_var"
51933 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
51934 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51936 else if test ${subdir} = "samples"; then
51937 makefiles
="samples/Makefile.in samples/console/Makefile.in"
51938 elif test ${subdir} = "utils"; then
51940 for util
in HelpGen tex2rtf
; do
51941 if test -d $srcdir/utils
/$util ; then
51942 makefiles
="utils/$util/Makefile.in \
51943 utils/$util/src/Makefile.in \
51947 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51951 for mkin
in $makefiles ; do
51952 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51953 ac_config_files
="$ac_config_files $mk"
51959 cat >confcache
<<\_ACEOF
51960 # This file is a shell script that caches the results of configure
51961 # tests run on this system so they can be shared between configure
51962 # scripts and configure runs, see configure's option --config-cache.
51963 # It is not useful on other systems. If it contains results you don't
51964 # want to keep, you may remove or edit it.
51966 # config.status only pays attention to the cache file if you give it
51967 # the --recheck option to rerun configure.
51969 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51970 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51971 # following values.
51975 # The following way of writing the cache mishandles newlines in values,
51976 # but we know of no workaround that is simple, portable, and efficient.
51977 # So, don't put newlines in cache variables' values.
51978 # Ultrix sh set writes to stderr and can't be redirected directly,
51979 # and sets the high bit in the cache file unless we assign to the vars.
51982 case `(ac_space=' '; set | grep ac_space) 2>&1` in
51984 # `set' does not quote correctly, so add quotes (double-quote
51985 # substitution turns \\\\ into \\, and sed turns \\ into \).
51988 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51991 # `set' quotes correctly as required by POSIX, so do not add quotes.
51993 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
52000 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52002 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52004 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
52005 if test -w $cache_file; then
52006 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
52007 cat confcache
>$cache_file
52009 echo "not updating unwritable cache $cache_file"
52014 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52015 # Let make expand exec_prefix.
52016 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52018 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52019 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52020 # trailing colons and then remove the whole line if VPATH becomes empty
52021 # (actually we leave an empty line to preserve line numbers).
52022 if test "x$srcdir" = x.
; then
52023 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52024 s/:*\$(srcdir):*/:/;
52025 s/:*\${srcdir}:*/:/;
52027 s/^\([^=]*=[ ]*\):*/\1/;
52033 DEFS
=-DHAVE_CONFIG_H
52037 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52038 # 1. Remove the extension, and $U if already installed.
52039 ac_i
=`echo "$ac_i" |
52040 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
52042 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
52043 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
52045 LIBOBJS
=$ac_libobjs
52047 LTLIBOBJS
=$ac_ltlibobjs
52051 : ${CONFIG_STATUS=./config.status}
52052 ac_clean_files_save
=$ac_clean_files
52053 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52054 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52055 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52056 cat >$CONFIG_STATUS <<_ACEOF
52058 # Generated by $as_me.
52059 # Run this file to recreate the current configuration.
52060 # Compiler output produced by configure, useful for debugging
52061 # configure, is in config.log if it exists.
52064 ac_cs_recheck=false
52066 SHELL=\${CONFIG_SHELL-$SHELL}
52069 cat >>$CONFIG_STATUS <<\_ACEOF
52070 ## --------------------- ##
52071 ## M4sh Initialization. ##
52072 ## --------------------- ##
52074 # Be Bourne compatible
52075 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
52078 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52079 # is contrary to our usage. Disable this feature.
52080 alias -g '${1+"$@"}'='"$@"'
52081 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
52084 DUALCASE
=1; export DUALCASE
# for MKS sh
52086 # Support unset when possible.
52087 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
52094 # Work around bugs in pre-3.0 UWIN ksh.
52095 $as_unset ENV MAIL MAILPATH
52102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52104 LC_TELEPHONE LC_TIME
52106 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52107 eval $as_var=C
; export $as_var
52113 # Required to use basename.
52114 if expr a
: '\(a\)' >/dev
/null
2>&1; then
52120 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
52121 as_basename
=basename
52127 # Name of the executable.
52128 as_me
=`$as_basename "$0" ||
52129 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52130 X"$0" : 'X\(//\)$' \| \
52131 X"$0" : 'X\(/\)$' \| \
52132 . : '\(.\)' 2>/dev/null ||
52134 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
52135 /^X\/\(\/\/\)$/{ s//\1/; q; }
52136 /^X\/\(\/\).*/{ s//\1/; q; }
52140 # PATH needs CR, and LINENO needs CR and PATH.
52141 # Avoid depending upon Character Ranges.
52142 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
52143 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52144 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
52145 as_cr_digits
='0123456789'
52146 as_cr_alnum
=$as_cr_Letters$as_cr_digits
52148 # The user is always right.
52149 if test "${PATH_SEPARATOR+set}" != set; then
52150 echo "#! /bin/sh" >conf$$.sh
52151 echo "exit 0" >>conf$$.sh
52153 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52162 as_lineno_1
=$LINENO
52163 as_lineno_2
=$LINENO
52164 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
52165 test "x$as_lineno_1" != "x$as_lineno_2" &&
52166 test "x$as_lineno_3" = "x$as_lineno_2" || {
52167 # Find who we are. Look in the path if we contain no path at all
52170 *[\\/]* ) as_myself
=$0 ;;
52171 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52172 for as_dir
in $PATH
52175 test -z "$as_dir" && as_dir
=.
52176 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
52181 # We did not find ourselves, most probably we were run as `sh COMMAND'
52182 # in which case we are not to be found in the path.
52183 if test "x$as_myself" = x
; then
52186 if test ! -f "$as_myself"; then
52187 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
52188 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
52189 { (exit 1); exit 1; }; }
52191 case $CONFIG_SHELL in
52193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52194 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
52197 test -z "$as_dir" && as_dir
=.
52198 for as_base
in sh bash ksh sh5
; do
52201 if ("$as_dir/$as_base" -c '
52202 as_lineno_1=$LINENO
52203 as_lineno_2=$LINENO
52204 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
52205 test "x$as_lineno_1" != "x$as_lineno_2" &&
52206 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
52207 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
52208 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
52209 CONFIG_SHELL
=$as_dir/$as_base
52210 export CONFIG_SHELL
52211 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
52219 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52220 # uniformly replaced by the line number. The first 'sed' inserts a
52221 # line-number line before each line; the second 'sed' does the real
52222 # work. The second script uses 'N' to pair each line-number line
52223 # with the numbered line, and appends trailing '-' during
52224 # substitution so that $LINENO is not a special case at line end.
52225 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52226 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
52227 sed '=' <$as_myself |
52232 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
52235 s,^['$as_cr_digits']*\n,,
52236 ' >$as_me.lineno
&&
52237 chmod +x
$as_me.lineno
||
52238 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
52239 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
52240 { (exit 1); exit 1; }; }
52242 # Don't try to exec as it changes $[0], causing all sort of problems
52243 # (the dirname of $[0] is not the place where we might find the
52244 # original and so on. Autoconf is especially sensible to this).
52246 # Exit status is that of the last command.
52251 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
52252 *c
*,-n*) ECHO_N
= ECHO_C
='
52254 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
52255 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
52258 if expr a
: '\(a\)' >/dev
/null
2>&1; then
52264 rm -f conf$$ conf$$.exe conf$$.
file
52266 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
52267 # We could just check for DJGPP; but this test a) works b) is more generic
52268 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
52269 if test -f conf$$.exe
; then
52270 # Don't use ln at all; we don't have any links
52275 elif ln conf$$.
file conf$$
2>/dev
/null
; then
52280 rm -f conf$$ conf$$.exe conf$$.
file
52282 if mkdir -p .
2>/dev
/null
; then
52285 test -d .
/-p && rmdir .
/-p
52289 as_executable_p
="test -f"
52291 # Sed expression to map a string onto a valid CPP name.
52292 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52294 # Sed expression to map a string onto a valid variable name.
52295 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52299 # We need space, tab and new line, in precisely that order.
52309 # Open the log real soon, to keep \$[0] and so on meaningful, and to
52310 # report actual input values of CONFIG_FILES etc. instead of their
52311 # values after options handling. Logging --version etc. is OK.
52315 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52316 ## Running $as_me. ##
52321 This file was extended by wxWidgets $as_me 2.9.0, which was
52322 generated by GNU Autoconf 2.59. Invocation command line was
52324 CONFIG_FILES = $CONFIG_FILES
52325 CONFIG_HEADERS = $CONFIG_HEADERS
52326 CONFIG_LINKS = $CONFIG_LINKS
52327 CONFIG_COMMANDS = $CONFIG_COMMANDS
52331 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
52335 # Files that config.status was made for.
52336 if test -n "$ac_config_files"; then
52337 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
52340 if test -n "$ac_config_headers"; then
52341 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
52344 if test -n "$ac_config_links"; then
52345 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
52348 if test -n "$ac_config_commands"; then
52349 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
52352 cat >>$CONFIG_STATUS <<\_ACEOF
52355 \`$as_me' instantiates files from templates according to the
52356 current configuration.
52358 Usage: $0 [OPTIONS] [FILE]...
52360 -h, --help print this help, then exit
52361 -V, --version print version number, then exit
52362 -q, --quiet do not print progress messages
52363 -d, --debug don't remove temporary files
52364 --recheck update $as_me by reconfiguring in the same conditions
52365 --file=FILE[:TEMPLATE]
52366 instantiate the configuration file FILE
52367 --header=FILE[:TEMPLATE]
52368 instantiate the configuration header FILE
52370 Configuration files:
52373 Configuration headers:
52376 Configuration commands:
52379 Report bugs to <bug-autoconf@gnu.org>."
52382 cat >>$CONFIG_STATUS <<_ACEOF
52384 wxWidgets config.status 2.9.0
52385 configured by $0, generated by GNU Autoconf 2.59,
52386 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
52388 Copyright (C) 2003 Free Software Foundation, Inc.
52389 This config.status script is free software; the Free Software Foundation
52390 gives unlimited permission to copy, distribute and modify it."
52395 cat >>$CONFIG_STATUS <<\_ACEOF
52396 # If no file are specified by the user, then we need to provide default
52397 # value. By we need to know if files were specified by the user.
52403 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
52404 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
52412 *) # This is not an option, so the user has probably given explicit
52415 ac_need_defaults
=false
;;
52419 # Handling of the options.
52421 cat >>$CONFIG_STATUS <<\_ACEOF
52422 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52424 --version | --vers* | -V )
52425 echo "$ac_cs_version"; exit 0 ;;
52427 # Conflict between --help and --header
52428 { { echo "$as_me:$LINENO: error: ambiguous option: $1
52429 Try \`$0 --help' for more information." >&5
52430 echo "$as_me: error: ambiguous option: $1
52431 Try \`$0 --help' for more information." >&2;}
52432 { (exit 1); exit 1; }; };;
52433 --help | --hel | -h )
52434 echo "$ac_cs_usage"; exit 0 ;;
52435 --debug | --d* | -d )
52437 --file | --fil | --fi | --f )
52439 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
52440 ac_need_defaults
=false
;;
52441 --header | --heade | --head | --hea )
52443 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
52444 ac_need_defaults
=false
;;
52445 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52446 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52449 # This is an error.
52450 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
52451 Try \`$0 --help' for more information." >&5
52452 echo "$as_me: error: unrecognized option: $1
52453 Try \`$0 --help' for more information." >&2;}
52454 { (exit 1); exit 1; }; } ;;
52456 *) ac_config_targets
="$ac_config_targets $1" ;;
52462 ac_configure_extra_args
=
52464 if $ac_cs_silent; then
52466 ac_configure_extra_args
="$ac_configure_extra_args --silent"
52470 cat >>$CONFIG_STATUS <<_ACEOF
52471 if \$ac_cs_recheck; then
52472 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52473 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52478 cat >>$CONFIG_STATUS <<_ACEOF
52480 # INIT-COMMANDS section.
52485 infile="$srcdir/include/wx/msw/genrcdefs.h"
52486 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52489 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52490 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52491 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52499 cat >>$CONFIG_STATUS <<\_ACEOF
52500 for ac_config_target
in $ac_config_targets
52502 case "$ac_config_target" in
52503 # Handling of arguments.
52504 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52505 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52506 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
52507 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
52508 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
52509 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
52510 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
52511 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52512 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52513 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52514 { (exit 1); exit 1; }; };;
52518 # If the user did not use the arguments to specify the items to instantiate,
52519 # then the envvar interface is used. Set only those that are not.
52520 # We use the long form for the default assignment because of an extremely
52521 # bizarre bug on SunOS 4.1.3.
52522 if $ac_need_defaults; then
52523 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
52524 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
52525 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
52528 # Have a temporary directory for convenience. Make it in the build tree
52529 # simply because there is no reason to put it here, and in addition,
52530 # creating and moving files from /tmp can sometimes cause problems.
52531 # Create a temporary directory, and hook for its removal unless debugging.
52534 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
52535 trap '{ (exit 1); exit 1; }' 1 2 13 15
52538 # Create a (secure) tmp directory for tmp files.
52541 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
52542 test -n "$tmp" && test -d "$tmp"
52545 tmp
=.
/confstat$$
-$RANDOM
52546 (umask 077 && mkdir $tmp)
52549 echo "$me: cannot create a temporary directory in ." >&2
52550 { (exit 1); exit 1; }
52555 cat >>$CONFIG_STATUS <<_ACEOF
52558 # CONFIG_FILES section.
52561 # No need to generate the scripts if there are no CONFIG_FILES.
52562 # This happens for instance when ./config.status config.h
52563 if test -n "\$CONFIG_FILES"; then
52564 # Protect against being on the right side of a sed subst in config.status.
52565 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
52566 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
52567 s,@SHELL@,$SHELL,;t t
52568 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
52569 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
52570 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
52571 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
52572 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
52573 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
52574 s,@exec_prefix@,$exec_prefix,;t t
52575 s,@prefix@,$prefix,;t t
52576 s,@program_transform_name@,$program_transform_name,;t t
52577 s,@bindir@,$bindir,;t t
52578 s,@sbindir@,$sbindir,;t t
52579 s,@libexecdir@,$libexecdir,;t t
52580 s,@datadir@,$datadir,;t t
52581 s,@sysconfdir@,$sysconfdir,;t t
52582 s,@sharedstatedir@,$sharedstatedir,;t t
52583 s,@localstatedir@,$localstatedir,;t t
52584 s,@libdir@,$libdir,;t t
52585 s,@includedir@,$includedir,;t t
52586 s,@oldincludedir@,$oldincludedir,;t t
52587 s,@infodir@,$infodir,;t t
52588 s,@mandir@,$mandir,;t t
52589 s,@build_alias@,$build_alias,;t t
52590 s,@host_alias@,$host_alias,;t t
52591 s,@target_alias@,$target_alias,;t t
52592 s,@DEFS@,$DEFS,;t t
52593 s,@ECHO_C@,$ECHO_C,;t t
52594 s,@ECHO_N@,$ECHO_N,;t t
52595 s,@ECHO_T@,$ECHO_T,;t t
52596 s,@LIBS@,$LIBS,;t t
52597 s,@build@,$build,;t t
52598 s,@build_cpu@,$build_cpu,;t t
52599 s,@build_vendor@,$build_vendor,;t t
52600 s,@build_os@,$build_os,;t t
52601 s,@host@,$host,;t t
52602 s,@host_cpu@,$host_cpu,;t t
52603 s,@host_vendor@,$host_vendor,;t t
52604 s,@host_os@,$host_os,;t t
52605 s,@target@,$target,;t t
52606 s,@target_cpu@,$target_cpu,;t t
52607 s,@target_vendor@,$target_vendor,;t t
52608 s,@target_os@,$target_os,;t t
52609 s,@wx_top_builddir@,$wx_top_builddir,;t t
52611 s,@CFLAGS@,$CFLAGS,;t t
52612 s,@LDFLAGS@,$LDFLAGS,;t t
52613 s,@CPPFLAGS@,$CPPFLAGS,;t t
52614 s,@ac_ct_CC@,$ac_ct_CC,;t t
52615 s,@EXEEXT@,$EXEEXT,;t t
52616 s,@OBJEXT@,$OBJEXT,;t t
52618 s,@EGREP@,$EGREP,;t t
52620 s,@CXXFLAGS@,$CXXFLAGS,;t t
52621 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
52622 s,@RANLIB@,$RANLIB,;t t
52623 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
52625 s,@ac_ct_AR@,$ac_ct_AR,;t t
52626 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
52627 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
52628 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
52629 s,@STRIP@,$STRIP,;t t
52630 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
52631 s,@WINDRES@,$WINDRES,;t t
52632 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
52633 s,@DLLTOOL@,$DLLTOOL,;t t
52634 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
52635 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
52636 s,@LN_S@,$LN_S,;t t
52637 s,@subdirs@,$subdirs,;t t
52638 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
52639 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
52640 s,@GTK_LIBS@,$GTK_LIBS,;t t
52641 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
52642 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
52643 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
52644 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
52645 s,@X_CFLAGS@,$X_CFLAGS,;t t
52646 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
52647 s,@X_LIBS@,$X_LIBS,;t t
52648 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
52649 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
52650 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
52651 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
52652 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
52653 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
52654 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
52655 s,@CFLAGS_VISIBILITY@,$CFLAGS_VISIBILITY,;t t
52656 s,@CXXFLAGS_VISIBILITY@,$CXXFLAGS_VISIBILITY,;t t
52658 s,@DEREZ@,$DEREZ,;t t
52659 s,@SETFILE@,$SETFILE,;t t
52660 s,@LIBICONV@,$LIBICONV,;t t
52661 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
52662 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
52663 s,@SDL_LIBS@,$SDL_LIBS,;t t
52664 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
52665 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
52666 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
52667 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
52668 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
52669 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
52670 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
52671 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
52672 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
52673 s,@GST_LIBS@,$GST_LIBS,;t t
52674 s,@ALL_WX_LIBS@,$ALL_WX_LIBS,;t t
52675 s,@BUILT_WX_LIBS@,$BUILT_WX_LIBS,;t t
52676 s,@STD_BASE_LIBS@,$STD_BASE_LIBS,;t t
52677 s,@STD_GUI_LIBS@,$STD_GUI_LIBS,;t t
52678 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
52679 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
52680 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
52681 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
52682 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
52683 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
52684 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
52685 s,@VENDOR@,$VENDOR,;t t
52686 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
52687 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
52688 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
52689 s,@WXUNIV@,$WXUNIV,;t t
52690 s,@MONOLITHIC@,$MONOLITHIC,;t t
52691 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
52692 s,@CXXWARNINGS@,$CXXWARNINGS,;t t
52693 s,@EXTRALIBS@,$EXTRALIBS,;t t
52694 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
52695 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
52696 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
52697 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
52698 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
52699 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
52700 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
52701 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
52702 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
52703 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
52704 s,@UNICODE@,$UNICODE,;t t
52705 s,@BUILD@,$BUILD,;t t
52706 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
52707 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
52708 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
52709 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
52710 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
52711 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
52712 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
52713 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
52714 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
52715 s,@SET_MAKE@,$SET_MAKE,;t t
52716 s,@MAKE_SET@,$MAKE_SET,;t t
52717 s,@AROPTIONS@,$AROPTIONS,;t t
52719 s,@ac_ct_NM@,$ac_ct_NM,;t t
52720 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
52721 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
52722 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
52723 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
52724 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
52725 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
52726 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
52727 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
52728 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
52729 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
52730 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
52731 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
52732 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
52733 s,@LIBPREFIX@,$LIBPREFIX,;t t
52734 s,@LIBEXT@,$LIBEXT,;t t
52735 s,@DLLPREFIX@,$DLLPREFIX,;t t
52736 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
52737 s,@dlldir@,$dlldir,;t t
52738 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
52739 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
52740 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
52741 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
52742 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
52743 s,@PIC_FLAG@,$PIC_FLAG,;t t
52744 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
52745 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
52746 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
52747 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
52748 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
52749 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
52750 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
52751 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
52752 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
52753 s,@BK_DEPS@,$BK_DEPS,;t t
52754 s,@GCC_PCH@,$GCC_PCH,;t t
52755 s,@ICC_PCH@,$ICC_PCH,;t t
52756 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
52757 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
52758 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
52759 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
52760 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
52761 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
52762 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
52763 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
52764 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
52765 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
52766 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
52767 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
52768 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
52769 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
52770 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
52771 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
52772 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
52773 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
52774 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
52775 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
52776 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
52777 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
52778 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
52779 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
52780 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
52781 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
52782 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
52783 s,@COND_MONOLITHIC_0_SHARED_0_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_STC_1,;t t
52784 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
52785 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
52786 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
52787 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
52788 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
52789 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
52790 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
52791 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
52792 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
52793 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
52794 s,@COND_MONOLITHIC_0_SHARED_1_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_STC_1,;t t
52795 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
52796 s,@COND_MONOLITHIC_0_USE_AUI_1@,$COND_MONOLITHIC_0_USE_AUI_1,;t t
52797 s,@COND_MONOLITHIC_0_USE_GUI_1@,$COND_MONOLITHIC_0_USE_GUI_1,;t t
52798 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1,;t t
52799 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1,;t t
52800 s,@COND_MONOLITHIC_0_USE_HTML_1@,$COND_MONOLITHIC_0_USE_HTML_1,;t t
52801 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
52802 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
52803 s,@COND_MONOLITHIC_0_USE_QA_1@,$COND_MONOLITHIC_0_USE_QA_1,;t t
52804 s,@COND_MONOLITHIC_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_USE_RICHTEXT_1,;t t
52805 s,@COND_MONOLITHIC_0_USE_STC_1@,$COND_MONOLITHIC_0_USE_STC_1,;t t
52806 s,@COND_MONOLITHIC_0_USE_XRC_1@,$COND_MONOLITHIC_0_USE_XRC_1,;t t
52807 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
52808 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
52809 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
52810 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
52811 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
52812 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
52813 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
52814 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
52815 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
52816 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
52817 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
52818 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
52819 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
52820 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
52821 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
52822 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
52823 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
52824 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
52825 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
52826 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
52827 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
52828 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
52829 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
52830 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
52831 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
52832 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
52833 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
52834 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
52835 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
52836 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
52837 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
52838 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
52839 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
52840 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
52841 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
52842 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52843 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52844 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52845 s,@COND_SHARED_0_USE_STC_1@,$COND_SHARED_0_USE_STC_1,;t t
52846 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
52847 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
52848 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
52849 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
52850 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
52851 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
52852 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
52853 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
52854 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
52855 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
52856 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
52857 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
52858 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
52859 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
52860 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
52861 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
52862 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
52863 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
52864 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
52865 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
52866 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
52867 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
52868 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
52869 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
52870 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
52871 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
52872 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
52873 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
52874 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
52875 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
52876 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
52877 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
52878 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
52879 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
52880 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
52881 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
52882 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
52883 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
52884 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
52885 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
52886 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
52887 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
52888 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
52889 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
52890 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
52891 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
52892 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
52893 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
52894 s,@COND_USE_GUI_1_USE_OPENGL_1@,$COND_USE_GUI_1_USE_OPENGL_1,;t t
52895 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
52896 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
52897 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52898 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52899 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52900 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
52901 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
52902 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
52903 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
52904 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
52905 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
52906 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
52907 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
52908 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
52909 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
52910 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
52911 s,@COND_USE_STC_1@,$COND_USE_STC_1,;t t
52912 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
52913 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
52914 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
52915 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
52916 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
52917 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
52918 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
52919 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
52920 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
52921 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
52922 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
52923 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
52924 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
52925 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
52926 s,@SHARED@,$SHARED,;t t
52927 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
52928 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
52929 s,@USE_GUI@,$USE_GUI,;t t
52930 s,@AFMINSTALL@,$AFMINSTALL,;t t
52931 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
52932 s,@TOOLKIT@,$TOOLKIT,;t t
52933 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
52934 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
52935 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
52936 s,@cross_compiling@,$cross_compiling,;t t
52937 s,@WIDGET_SET@,$WIDGET_SET,;t t
52938 s,@WX_RELEASE@,$WX_RELEASE,;t t
52939 s,@WX_VERSION@,$WX_VERSION,;t t
52940 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
52941 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
52942 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
52943 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
52944 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
52945 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
52946 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
52947 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
52948 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
52949 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
52950 s,@EXE_LINKER@,$EXE_LINKER,;t t
52951 s,@GUIDIST@,$GUIDIST,;t t
52952 s,@DISTDIR@,$DISTDIR,;t t
52953 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
52954 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
52955 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
52956 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
52957 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
52958 s,@RESCOMP@,$RESCOMP,;t t
52959 s,@RESFLAGS@,$RESFLAGS,;t t
52960 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
52961 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
52962 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
52963 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
52964 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
52965 s,@MACSETFILE@,$MACSETFILE,;t t
52967 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
52968 s,@LIBOBJS@,$LIBOBJS,;t t
52969 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
52974 cat >>$CONFIG_STATUS <<\_ACEOF
52975 # Split the substitutions into bite-sized pieces for seds with
52976 # small command number limits, like on Digital OSF/1 and HP-UX.
52977 ac_max_sed_lines
=48
52978 ac_sed_frag
=1 # Number of current file.
52979 ac_beg
=1 # First line for current file.
52980 ac_end
=$ac_max_sed_lines # Line after last line for current file.
52983 while $ac_more_lines; do
52984 if test $ac_beg -gt 1; then
52985 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
52987 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
52989 if test ! -s $tmp/subs.frag
; then
52990 ac_more_lines
=false
52992 # The purpose of the label and of the branching condition is to
52993 # speed up the sed processing (if there are no `@' at all, there
52994 # is no need to browse any of the substitutions).
52995 # These are the two extra sed commands mentioned above.
52997 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
52998 if test -z "$ac_sed_cmds"; then
52999 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
53001 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
53003 ac_sed_frag
=`expr $ac_sed_frag + 1`
53005 ac_end
=`expr $ac_end + $ac_max_sed_lines`
53008 if test -z "$ac_sed_cmds"; then
53011 fi # test -n "$CONFIG_FILES"
53014 cat >>$CONFIG_STATUS <<\_ACEOF
53015 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
53016 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
53018 - | *:- | *:-:* ) # input from stdin
53020 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
53021 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
53022 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
53023 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
53024 * ) ac_file_in
=$ac_file.
in ;;
53027 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
53028 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
53029 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53030 X"$ac_file" : 'X\(//\)[^/]' \| \
53031 X"$ac_file" : 'X\(//\)$' \| \
53032 X"$ac_file" : 'X\(/\)' \| \
53033 . : '\(.\)' 2>/dev/null ||
53035 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53036 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53037 /^X\(\/\/\)$/{ s//\1/; q; }
53038 /^X\(\/\).*/{ s//\1/; q; }
53040 { if $as_mkdir_p; then
53045 while test ! -d "$as_dir"; do
53046 as_dirs
="$as_dir $as_dirs"
53047 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
53048 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53049 X"$as_dir" : 'X\(//\)[^/]' \| \
53050 X"$as_dir" : 'X\(//\)$' \| \
53051 X"$as_dir" : 'X\(/\)' \| \
53052 . : '\(.\)' 2>/dev/null ||
53054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53055 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53056 /^X\(\/\/\)$/{ s//\1/; q; }
53057 /^X\(\/\).*/{ s//\1/; q; }
53060 test ! -n "$as_dirs" || mkdir $as_dirs
53061 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53062 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53063 { (exit 1); exit 1; }; }; }
53067 if test "$ac_dir" != .
; then
53068 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53069 # A "../" for each directory in $ac_dir_suffix.
53070 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
53072 ac_dir_suffix
= ac_top_builddir
=
53076 .
) # No --srcdir option. We are building in place.
53078 if test -z "$ac_top_builddir"; then
53081 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
53083 [\\/]* | ?
:[\\/]* ) # Absolute path.
53084 ac_srcdir
=$srcdir$ac_dir_suffix;
53085 ac_top_srcdir
=$srcdir ;;
53086 *) # Relative path.
53087 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
53088 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
53091 # Do not use `cd foo && pwd` to compute absolute paths, because
53092 # the directories may not exist.
53094 .
) ac_abs_builddir
="$ac_dir";;
53097 .
) ac_abs_builddir
=`pwd`;;
53098 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
53099 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
53102 case $ac_abs_builddir in
53103 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
53105 case ${ac_top_builddir}.
in
53106 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
53107 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
53108 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
53111 case $ac_abs_builddir in
53112 .
) ac_abs_srcdir
=$ac_srcdir;;
53115 .
) ac_abs_srcdir
=$ac_abs_builddir;;
53116 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
53117 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
53120 case $ac_abs_builddir in
53121 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
53123 case $ac_top_srcdir in
53124 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
53125 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
53126 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
53132 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
53133 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
53136 # Let's still pretend it is `configure' which instantiates (i.e., don't
53137 # use $as_me), people would be surprised to read:
53138 # /* config.h. Generated by config.status. */
53139 if test x
"$ac_file" = x
-; then
53142 configure_input
="$ac_file. "
53144 configure_input
=$configure_input"Generated from `echo $ac_file_in |
53145 sed 's,.*/,,'` by configure."
53147 # First look for the input files in the build tree, otherwise in the
53149 ac_file_inputs
=`IFS=:
53150 for f in $ac_file_in; do
53152 -) echo $tmp/stdin ;;
53154 # Absolute (can't be DOS-style, as IFS=:)
53155 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
53156 echo "$as_me: error: cannot find input file: $f" >&2;}
53157 { (exit 1); exit 1; }; }
53160 if test -f "$f"; then
53163 elif test -f "$srcdir/$f"; then
53168 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
53169 echo "$as_me: error: cannot find input file: $f" >&2;}
53170 { (exit 1); exit 1; }; }
53173 done` || { (exit 1); exit 1; }
53175 if test x
"$ac_file" != x
-; then
53176 { echo "$as_me:$LINENO: creating $ac_file" >&5
53177 echo "$as_me: creating $ac_file" >&6;}
53181 cat >>$CONFIG_STATUS <<_ACEOF
53185 cat >>$CONFIG_STATUS <<\_ACEOF
53187 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
53188 s
,@configure_input@
,$configure_input,;t t
53189 s
,@srcdir@
,$ac_srcdir,;t t
53190 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
53191 s
,@top_srcdir@
,$ac_top_srcdir,;t t
53192 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
53193 s
,@builddir@
,$ac_builddir,;t t
53194 s
,@abs_builddir@
,$ac_abs_builddir,;t t
53195 s
,@top_builddir@
,$ac_top_builddir,;t t
53196 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
53197 s
,@INSTALL@
,$ac_INSTALL,;t t
53198 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
53200 if test x"$ac_file" != x-; then
53201 mv $tmp/out $ac_file
53207 # Run the commands associated with the file.
53209 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
53210 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
53214 cat >>$CONFIG_STATUS <<\_ACEOF
53217 # CONFIG_HEADER section.
53220 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
53221 # NAME is the cpp macro being defined and VALUE is the value it is being given.
53223 # ac_d sets the value in "#define NAME VALUE" lines.
53224 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
53225 ac_dB
='[ ].*$,\1#\2'
53228 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
53229 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
53230 ac_uB
='$,\1#\2define\3'
53234 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
53235 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
53237 - | *:- | *:-:* ) # input from stdin
53239 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
53240 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
53241 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
53242 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
53243 * ) ac_file_in
=$ac_file.
in ;;
53246 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
53247 echo "$as_me: creating $ac_file" >&6;}
53249 # First look for the input files in the build tree, otherwise in the
53251 ac_file_inputs
=`IFS=:
53252 for f in $ac_file_in; do
53254 -) echo $tmp/stdin ;;
53256 # Absolute (can't be DOS-style, as IFS=:)
53257 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
53258 echo "$as_me: error: cannot find input file: $f" >&2;}
53259 { (exit 1); exit 1; }; }
53260 # Do quote $f, to prevent DOS paths from being IFS'd.
53263 if test -f "$f"; then
53266 elif test -f "$srcdir/$f"; then
53271 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
53272 echo "$as_me: error: cannot find input file: $f" >&2;}
53273 { (exit 1); exit 1; }; }
53276 done` || { (exit 1); exit 1; }
53277 # Remove the trailing spaces.
53278 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
53282 # Transform confdefs.h into two sed scripts, `conftest.defines' and
53283 # `conftest.undefs', that substitutes the proper values into
53284 # config.h.in to produce config.h. The first handles `#define'
53285 # templates, and the second `#undef' templates.
53286 # And first: Protect against being on the right side of a sed subst in
53287 # config.status. Protect against being in an unquoted here document
53288 # in config.status.
53289 rm -f conftest.defines conftest.undefs
53290 # Using a here document instead of a string reduces the quoting nightmare.
53291 # Putting comments in sed scripts is not portable.
53293 # `end' is used to avoid that the second main sed command (meant for
53294 # 0-ary CPP macros) applies to n-ary macro definitions.
53295 # See the Autoconf documentation for `clear'.
53296 cat >confdef2sed.
sed <<\_ACEOF
53301 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
53303 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
53306 # If some macros were called several times there might be several times
53307 # the same #defines, which is useless. Nevertheless, we may not want to
53308 # sort them, since we want the *last* AC-DEFINE to be honored.
53309 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
53310 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
53311 rm -f confdef2sed.sed
53313 # This sed command replaces #undef with comments. This is necessary, for
53314 # example, in the case of _POSIX_SOURCE, which is predefined and required
53315 # on some systems where configure will not decide to define it.
53316 cat >>conftest.undefs <<\_ACEOF
53317 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
53320 # Break up conftest.defines because some shells have a limit on the size
53321 # of here documents, and old seds have small limits too (100 cmds).
53322 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
53323 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
53324 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
53325 echo ' :' >>$CONFIG_STATUS
53326 rm -f conftest.tail
53327 while grep . conftest.defines >/dev/null
53329 # Write a limited-size here document to $tmp/defines.sed.
53330 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
53331 # Speed up: don't consider the non `#define' lines.
53332 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
53333 # Work around the forget-to-reset-the-flag bug.
53334 echo 't clr' >>$CONFIG_STATUS
53335 echo ': clr' >>$CONFIG_STATUS
53336 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
53338 sed -f $tmp/defines.sed $tmp/in >$tmp/out
53340 mv $tmp/out $tmp/in
53342 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
53343 rm -f conftest.defines
53344 mv conftest.
tail conftest.defines
53346 rm -f conftest.defines
53347 echo ' fi # grep' >>$CONFIG_STATUS
53348 echo >>$CONFIG_STATUS
53350 # Break up conftest.undefs because some shells have a limit on the size
53351 # of here documents, and old seds have small limits too (100 cmds).
53352 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
53353 rm -f conftest.
tail
53354 while grep . conftest.undefs
>/dev
/null
53356 # Write a limited-size here document to $tmp/undefs.sed.
53357 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
53358 # Speed up: don't consider the non
`#undef'
53359 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
53360 # Work around the forget-to-reset-the-flag bug.
53361 echo 't clr' >>$CONFIG_STATUS
53362 echo ': clr' >>$CONFIG_STATUS
53363 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
53365 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
53367 mv $tmp/out $tmp/in
53369 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
53370 rm -f conftest.undefs
53371 mv conftest.tail conftest.undefs
53373 rm -f conftest.undefs
53375 cat >>$CONFIG_STATUS <<\_ACEOF
53376 # Let's still pretend it is `configure
' which instantiates (i.e., don't
53377 # use $as_me), people would be surprised to read:
53378 # /* config.h. Generated by config.status. */
53379 if test x
"$ac_file" = x
-; then
53380 echo "/* Generated by configure. */" >$tmp/config.h
53382 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
53384 cat $tmp/in >>$tmp/config.h
53386 if test x
"$ac_file" != x
-; then
53387 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
53388 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53389 echo "$as_me: $ac_file is unchanged" >&6;}
53391 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
53392 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53393 X"$ac_file" : 'X\(//\)[^/]' \| \
53394 X"$ac_file" : 'X\(//\)$' \| \
53395 X"$ac_file" : 'X\(/\)' \| \
53396 . : '\(.\)' 2>/dev/null ||
53398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53399 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53400 /^X\(\/\/\)$/{ s//\1/; q; }
53401 /^X\(\/\).*/{ s//\1/; q; }
53403 { if $as_mkdir_p; then
53408 while test ! -d "$as_dir"; do
53409 as_dirs
="$as_dir $as_dirs"
53410 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
53411 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53412 X"$as_dir" : 'X\(//\)[^/]' \| \
53413 X"$as_dir" : 'X\(//\)$' \| \
53414 X"$as_dir" : 'X\(/\)' \| \
53415 . : '\(.\)' 2>/dev/null ||
53417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53418 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53419 /^X\(\/\/\)$/{ s//\1/; q; }
53420 /^X\(\/\).*/{ s//\1/; q; }
53423 test ! -n "$as_dirs" || mkdir $as_dirs
53424 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53425 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53426 { (exit 1); exit 1; }; }; }
53429 mv $tmp/config.h
$ac_file
53433 rm -f $tmp/config.h
53437 cat >>$CONFIG_STATUS <<\_ACEOF
53440 # CONFIG_COMMANDS section.
53442 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
53443 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
53444 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
53445 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
53446 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53447 X"$ac_dest" : 'X\(//\)[^/]' \| \
53448 X"$ac_dest" : 'X\(//\)$' \| \
53449 X"$ac_dest" : 'X\(/\)' \| \
53450 . : '\(.\)' 2>/dev/null ||
53452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53453 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53454 /^X\(\/\/\)$/{ s//\1/; q; }
53455 /^X\(\/\).*/{ s//\1/; q; }
53457 { if $as_mkdir_p; then
53462 while test ! -d "$as_dir"; do
53463 as_dirs
="$as_dir $as_dirs"
53464 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
53465 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53466 X"$as_dir" : 'X\(//\)[^/]' \| \
53467 X"$as_dir" : 'X\(//\)$' \| \
53468 X"$as_dir" : 'X\(/\)' \| \
53469 . : '\(.\)' 2>/dev/null ||
53471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53473 /^X\(\/\/\)$/{ s//\1/; q; }
53474 /^X\(\/\).*/{ s//\1/; q; }
53477 test ! -n "$as_dirs" || mkdir $as_dirs
53478 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53479 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53480 { (exit 1); exit 1; }; }; }
53484 if test "$ac_dir" != .
; then
53485 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53486 # A "../" for each directory in $ac_dir_suffix.
53487 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
53489 ac_dir_suffix
= ac_top_builddir
=
53493 .
) # No --srcdir option. We are building in place.
53495 if test -z "$ac_top_builddir"; then
53498 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
53500 [\\/]* | ?
:[\\/]* ) # Absolute path.
53501 ac_srcdir
=$srcdir$ac_dir_suffix;
53502 ac_top_srcdir
=$srcdir ;;
53503 *) # Relative path.
53504 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
53505 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
53508 # Do not use `cd foo && pwd` to compute absolute paths, because
53509 # the directories may not exist.
53511 .
) ac_abs_builddir
="$ac_dir";;
53514 .
) ac_abs_builddir
=`pwd`;;
53515 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
53516 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
53519 case $ac_abs_builddir in
53520 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
53522 case ${ac_top_builddir}.
in
53523 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
53524 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
53525 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
53528 case $ac_abs_builddir in
53529 .
) ac_abs_srcdir
=$ac_srcdir;;
53532 .
) ac_abs_srcdir
=$ac_abs_builddir;;
53533 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
53534 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
53537 case $ac_abs_builddir in
53538 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
53540 case $ac_top_srcdir in
53541 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
53542 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
53543 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
53548 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
53549 echo "$as_me: executing $ac_dest commands" >&6;}
53552 mkdir -p $outdir &&
53553 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53555 wx
-config ) rm -f wx
-config
53556 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
53562 cat >>$CONFIG_STATUS <<\_ACEOF
53564 { (exit 0); exit 0; }
53566 chmod +x
$CONFIG_STATUS
53567 ac_clean_files
=$ac_clean_files_save
53570 # configure is writing to config.log, and then calls config.status.
53571 # config.status does its own redirection, appending to config.log.
53572 # Unfortunately, on DOS this fails, as config.log is still kept open
53573 # by configure, so config.status won't be able to write to it; its
53574 # output is simply discarded. So we exec the FD to /dev/null,
53575 # effectively closing config.log, so it can be properly (re)opened and
53576 # appended to by config.status. When coming back to configure, we
53577 # need to make the FD available again.
53578 if test "$no_create" != yes; then
53580 ac_config_status_args
=
53581 test "$silent" = yes &&
53582 ac_config_status_args
="$ac_config_status_args --quiet"
53584 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
53586 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53587 # would make configure fail if this is the last instruction.
53588 $ac_cs_success || { (exit 1); exit 1; }
53592 # CONFIG_SUBDIRS section.
53594 if test "$no_recursion" != yes; then
53596 # Remove --cache-file and --srcdir arguments so they do not pile up.
53597 ac_sub_configure_args
=
53599 for ac_arg
in $ac_configure_args; do
53600 if test -n "$ac_prev"; then
53605 -cache-file | --cache-file | --cache-fil | --cache-fi \
53606 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53607 ac_prev
=cache_file
;;
53608 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53609 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53612 --config-cache | -C)
53614 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53616 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53618 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53620 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53622 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
53626 # Always prepend --prefix to ensure using the same prefix
53627 # in subdir configurations.
53628 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
53631 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
53633 # Do not complain, so a configure script can configure whichever
53634 # parts of a large source tree are present.
53635 test -d $srcdir/$ac_dir || continue
53637 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
53638 echo "$as_me: configuring in $ac_dir" >&6;}
53639 { if $as_mkdir_p; then
53644 while test ! -d "$as_dir"; do
53645 as_dirs
="$as_dir $as_dirs"
53646 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
53647 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53648 X"$as_dir" : 'X\(//\)[^/]' \| \
53649 X"$as_dir" : 'X\(//\)$' \| \
53650 X"$as_dir" : 'X\(/\)' \| \
53651 . : '\(.\)' 2>/dev/null ||
53653 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53654 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53655 /^X\(\/\/\)$/{ s//\1/; q; }
53656 /^X\(\/\).*/{ s//\1/; q; }
53659 test ! -n "$as_dirs" || mkdir $as_dirs
53660 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53661 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53662 { (exit 1); exit 1; }; }; }
53666 if test "$ac_dir" != .
; then
53667 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53668 # A "../" for each directory in $ac_dir_suffix.
53669 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
53671 ac_dir_suffix
= ac_top_builddir
=
53675 .
) # No --srcdir option. We are building in place.
53677 if test -z "$ac_top_builddir"; then
53680 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
53682 [\\/]* | ?
:[\\/]* ) # Absolute path.
53683 ac_srcdir
=$srcdir$ac_dir_suffix;
53684 ac_top_srcdir
=$srcdir ;;
53685 *) # Relative path.
53686 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
53687 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
53690 # Do not use `cd foo && pwd` to compute absolute paths, because
53691 # the directories may not exist.
53693 .
) ac_abs_builddir
="$ac_dir";;
53696 .
) ac_abs_builddir
=`pwd`;;
53697 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
53698 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
53701 case $ac_abs_builddir in
53702 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
53704 case ${ac_top_builddir}.
in
53705 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
53706 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
53707 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
53710 case $ac_abs_builddir in
53711 .
) ac_abs_srcdir
=$ac_srcdir;;
53714 .
) ac_abs_srcdir
=$ac_abs_builddir;;
53715 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
53716 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
53719 case $ac_abs_builddir in
53720 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
53722 case $ac_top_srcdir in
53723 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
53724 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
53725 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
53732 # Check for guested configure; otherwise get Cygnus style configure.
53733 if test -f $ac_srcdir/configure.gnu
; then
53734 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
53735 elif test -f $ac_srcdir/configure
; then
53736 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
53737 elif test -f $ac_srcdir/configure.
in; then
53738 ac_sub_configure
=$ac_configure
53740 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53741 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53745 # The recursion is here.
53746 if test -n "$ac_sub_configure"; then
53747 # Make the cache file name correct relative to the subdirectory.
53748 case $cache_file in
53749 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53750 *) # Relative path.
53751 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
53754 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53755 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53756 # The eval makes quoting arguments work.
53757 eval $ac_sub_configure $ac_sub_configure_args \
53758 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
53759 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53760 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53761 { (exit 1); exit 1; }; }
53770 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53772 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53773 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53775 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53776 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53777 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
53778 if test "$wxUSE_UNICODE" = "yes"; then
53779 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53780 echo " (using UTF-8)"
53782 echo " (using wchar_t)"
53788 echo " What level of wxWidgets compatibility should be enabled?"
53789 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53790 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53792 echo " Which libraries should wxWidgets use?"
53793 echo " jpeg ${wxUSE_LIBJPEG-none}"
53794 echo " png ${wxUSE_LIBPNG-none}"
53795 echo " regex ${wxUSE_REGEX}"
53796 echo " tiff ${wxUSE_LIBTIFF-none}"
53797 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53798 echo " xpm ${wxUSE_LIBXPM-none}"
53800 echo " zlib ${wxUSE_ZLIB}"
53801 echo " odbc ${wxUSE_ODBC}"
53802 echo " expat ${wxUSE_EXPAT}"
53803 echo " libmspack ${wxUSE_LIBMSPACK}"
53804 echo " sdl ${wxUSE_LIBSDL}"