2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.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 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 CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS 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 --enable-gui use GUI classes
943 --enable-monolithic build wxWidgets as single library
944 --enable-plugins build parts of wxWidgets as loadable components
945 --enable-universal use wxWidgets GUI controls instead of native ones
946 --enable-nanox use NanoX
947 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
948 --enable-gpe use GNOME PDA Environment features
if possible
949 --enable-shared create shared library code
950 --enable-optimise create optimised code
951 --enable-debug same as debug_flag and debug_info
952 --enable-stl use STL
for containers
953 --enable-extended_rtti use extended RTTI
(XTI
)
954 --enable-omf use OMF object format
955 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
956 --enable-debug_info create code with debugging information
957 --enable-debug_gdb create code with extra GDB debugging information
958 --enable-debug_cntxt use wxDebugContext
959 --enable-mem_tracing create code with memory tracing
960 --enable-profile create code with profiling information
961 --enable-no_rtti create code without RTTI information
962 --enable-no_exceptions create code without C
++ exceptions handling
963 --enable-permissive compile code disregarding strict ANSI
964 --enable-no_deps create code without dependency information
965 --disable-vararg_macros don
't use vararg macros, even if they are supported
966 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
967 --enable-compat26 enable wxWidgets 2.6 compatibility
968 --disable-compat28 disable wxWidgets 2.8 compatibility
969 --disable-rpath disable use of rpath for uninstalled builds
970 --enable-intl use internationalization system
971 --enable-config use wxConfig (and derived) classes
972 --enable-protocols use wxProtocol and derived classes
973 --enable-ftp use wxFTP (requires wxProtocol
974 --enable-http use wxHTTP (requires wxProtocol
975 --enable-fileproto use wxFileProto class (requires wxProtocol
976 --enable-sockets use socket/network classes
977 --enable-ole use OLE classes (Win32 only)
978 --enable-dataobj use data object classes
979 --enable-ipc use interprocess communication (wxSocket etc.)
980 --enable-apple_ieee use the Apple IEEE codec
981 --enable-arcstream use wxArchive streams
982 --enable-backtrace use wxStackWalker class for getting backtraces
983 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
984 --enable-cmdline use wxCmdLineParser class
985 --enable-datetime use wxDateTime class
986 --enable-debugreport use wxDebugReport class
987 --enable-dialupman use dialup network classes
988 --enable-dynlib use wxLibrary class for DLL loading
989 --enable-dynamicloader use (new) wxDynamicLibrary class
990 --enable-exceptions build exception-safe library
991 --enable-ffile use wxFFile class
992 --enable-file use wxFile class
993 --enable-filesystem use virtual file systems classes
994 --enable-fontmap use font encodings conversion classes
995 --enable-fs_archive use virtual archive filesystems
996 --enable-fs_inet use virtual HTTP/FTP filesystems
997 --enable-fs_zip now replaced by fs_archive
998 --enable-geometry use geometry class
999 --enable-log use logging system
1000 --enable-longlong use wxLongLong class
1001 --enable-mimetype use wxMimeTypesManager
1002 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1003 --enable-utf8 use UTF-8 representation for strings (Unix only)
1004 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1005 --enable-snglinst use wxSingleInstanceChecker class
1006 --enable-std_iostreams use standard C++ stream classes
1007 --enable-std_string use standard C++ string classes
1008 --enable-stdpaths use wxStandardPaths class
1009 --enable-stopwatch use wxStopWatch class
1010 --enable-streams use wxStream etc classes
1011 --enable-sysoptions use wxSystemOptions
1012 --enable-tarstream use wxTar streams
1013 --enable-textbuf use wxTextBuffer class
1014 --enable-textfile use wxTextFile class
1015 --enable-timer use wxTimer class
1016 --enable-unicode compile wxString with Unicode support
1017 --enable-sound use wxSound class
1018 --enable-mediactrl use wxMediaCtrl class
1019 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1020 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1021 --enable-zipstream use wxZip streams
1022 --enable-url use wxURL class
1023 --enable-variant use wxVariant class
1024 --enable-protocol use wxProtocol class
1025 --enable-protocol-http HTTP support in wxProtocol
1026 --enable-protocol-ftp FTP support in wxProtocol
1027 --enable-protocol-file FILE support in wxProtocol
1028 --enable-threads use threads
1029 --enable-docview use document view architecture
1030 --enable-help use help subsystem
1031 --enable-mshtmlhelp use MS HTML Help (win32)
1032 --enable-html use wxHTML sub-library
1033 --enable-htmlhelp use wxHTML-based help
1034 --enable-xrc use XRC resources sub-library
1035 --enable-aui use AUI docking library
1036 --enable-stc use wxStyledTextCtrl library
1037 --enable-constraints use layout-constraints system
1038 --enable-printarch use printing architecture
1039 --enable-mdi use multiple document interface architecture
1040 --enable-mdidoc use docview architecture with MDI
1041 --enable-loggui use standard GUI logger
1042 --enable-logwin use wxLogWindow
1043 --enable-logdialog use wxLogDialog
1044 --enable-webkit use wxWebKitCtrl (Mac)
1045 --enable-richtext use wxRichTextCtrl
1046 --enable-graphics_ctx use graphics context 2D drawing API
1047 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1048 --enable-clipboard use wxClipboard class
1049 --enable-dnd use Drag'n
'Drop classes
1050 --enable-metafile use win32 metafiles
1051 --enable-controls use all usual controls
1052 --enable-accel use accelerators
1053 --enable-animatectrl use wxAnimationCtrl class
1054 --enable-button use wxButton class
1055 --enable-bmpbutton use wxBitmapButton class
1056 --enable-bmpcombobox use wxBitmapComboBox class
1057 --enable-calendar use wxCalendarCtrl class
1058 --enable-caret use wxCaret class
1059 --enable-checkbox use wxCheckBox class
1060 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1061 --enable-choice use wxChoice class
1062 --enable-choicebook use wxChoicebook class
1063 --enable-collpane use wxCollapsiblePane class
1064 --enable-colourpicker use wxColourPickerCtrl class
1065 --enable-combobox use wxComboBox class
1066 --enable-comboctrl use wxComboCtrl class
1067 --enable-datepick use wxDatePickerCtrl class
1068 --enable-dirpicker use wxDirPickerCtrl class
1069 --enable-display use wxDisplay class
1070 --enable-detect_sm use code to detect X11 session manager
1071 --enable-editablebox use wxEditableListBox class
1072 --enable-filepicker use wxFilePickerCtrl class
1073 --enable-fontpicker use wxFontPickerCtrl class
1074 --enable-gauge use wxGauge class
1075 --enable-grid use wxGrid class
1076 --enable-dataviewctrl use wxDataViewCtrl class
1077 --enable-hyperlink use wxHyperlinkCtrl class
1078 --enable-imaglist use wxImageList class
1079 --enable-listbook use wxListbook class
1080 --enable-listbox use wxListBox class
1081 --enable-listctrl use wxListCtrl class
1082 --enable-notebook use wxNotebook class
1083 --enable-odcombobox use wxOwnerDrawnComboBox class
1084 --enable-radiobox use wxRadioBox class
1085 --enable-radiobtn use wxRadioButton class
1086 --enable-sash use wxSashWindow class
1087 --enable-scrollbar use wxScrollBar class and scrollable windows
1088 --enable-searchctrl use wxSearchCtrl class
1089 --enable-slider use wxSlider class
1090 --enable-spinbtn use wxSpinButton class
1091 --enable-spinctrl use wxSpinCtrl class
1092 --enable-splitter use wxSplitterWindow class
1093 --enable-statbmp use wxStaticBitmap class
1094 --enable-statbox use wxStaticBox class
1095 --enable-statline use wxStaticLine class
1096 --enable-stattext use wxStaticText class
1097 --enable-statusbar use wxStatusBar class
1098 --enable-tabdialog use wxTabControl class
1099 --enable-textctrl use wxTextCtrl class
1100 --enable-togglebtn use wxToggleButton class
1101 --enable-toolbar use wxToolBar class
1102 --enable-tbarnative use native wxToolBar class
1103 --enable-treebook use wxTreebook class
1104 --enable-toolbook use wxToolbook class
1105 --enable-treectrl use wxTreeCtrl class
1106 --enable-tipwindow use wxTipWindow class
1107 --enable-popupwin use wxPopUpWindow class
1108 --enable-commondlg use all common dialogs
1109 --enable-aboutdlg use wxAboutBox
1110 --enable-choicedlg use wxChoiceDialog
1111 --enable-coldlg use wxColourDialog
1112 --enable-filedlg use wxFileDialog
1113 --enable-finddlg use wxFindReplaceDialog
1114 --enable-fontdlg use wxFontDialog
1115 --enable-dirdlg use wxDirDialog
1116 --enable-msgdlg use wxMessageDialog
1117 --enable-numberdlg use wxNumberEntryDialog
1118 --enable-splash use wxSplashScreen
1119 --enable-textdlg use wxTextDialog
1120 --enable-tipdlg use startup tips
1121 --enable-progressdlg use wxProgressDialog
1122 --enable-wizarddlg use wxWizard
1123 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1124 --enable-miniframe use wxMiniFrame class
1125 --enable-tooltips use wxToolTip class
1126 --enable-splines use spline drawing code
1127 --enable-mousewheel use mousewheel
1128 --enable-validators use wxValidator and derived classes
1129 --enable-busyinfo use wxBusyInfo
1130 --enable-joystick use wxJoystick
1131 --enable-metafiles use wxMetaFile (Win32 only)
1132 --enable-dragimage use wxDragImage
1133 --enable-accessibility enable accessibility support
1134 --enable-dccache cache temporary wxDC objects (Win32 only)
1135 --enable-palette use wxPalette class
1136 --enable-image use wxImage class
1137 --enable-gif use gif images (GIF file format)
1138 --enable-pcx use pcx images (PCX file format)
1139 --enable-tga use tga images (TGA file format)
1140 --enable-iff use iff images (IFF file format)
1141 --enable-pnm use pnm images (PNM file format)
1142 --enable-xpm use xpm images (XPM file format)
1143 --enable-icocur use Windows ICO and CUR formats
1144 --enable-official_build official build of wxWidgets (win32 DLL only)
1145 --enable-vendor=VENDOR vendor name (win32 DLL only)
1146 --disable-largefile omit support for large files
1147 --disable-gtktest do not try to compile and run a test GTK+ program
1148 --disable-gtktest Do not try to compile and run a test GTK program
1149 --disable-sdltest Do not try to compile and run a test SDL program
1150 --enable-omf use OMF object format (OS/2)
1151 --disable-dependency-tracking
1152 don't use dependency tracking even
if the compiler
1154 --disable-precomp-headers
1155 don
't use precompiled headers even if compiler can
1158 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1159 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1160 --without-subdirs don't generate makefiles
for samples
/demos
/...
1161 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1162 --with-motif use Motif
/Lesstif
1163 --with-mac use Mac OS X
1164 --with-cocoa use Cocoa
1165 --with-wine use Wine
1166 --with-msw use MS
-Windows
1167 --with-pm use OS
/2 Presentation Manager
1168 --with-mgl use SciTech MGL
1169 --with-directfb use DirectFB
1170 --with-microwin use MicroWindows
1172 --with-libpng use libpng
(PNG image format
)
1173 --with-libjpeg use libjpeg
(JPEG
file format
)
1174 --with-libtiff use libtiff
(TIFF
file format
)
1175 --with-libxpm use libxpm
(XPM
file format
)
1176 --with-libmspack use libmspack
(CHM
help files loading
)
1177 --with-sdl use SDL
for audio on Unix
1178 --with-gnomeprint use GNOME print
for printing under GNOME
1179 --with-gnomevfs use GNOME VFS
for associating MIME types
1180 --with-hildon use Hildon framework
for Nokia
770
1181 --with-opengl use OpenGL
(or Mesa
)
1182 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1183 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1184 --with-regex enable support
for wxRegEx class
1185 --with-zlib use zlib
for LZW compression
1186 --with-odbc use the IODBC and wxODBC classes
1187 --with-expat enable XML support using expat parser
1188 --with-flavour=NAME specify a name to identify this build
1189 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1190 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1191 --with-x use the X Window System
1192 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1193 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1194 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1195 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1196 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1198 Some influential environment variables
:
1199 CC C compiler
command
1200 CFLAGS C compiler flags
1201 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1202 nonstandard directory
<lib dir
>
1203 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1204 headers
in a nonstandard directory
<include dir
>
1206 CXX C
++ compiler
command
1207 CXXFLAGS C
++ compiler flags
1208 PKG_CONFIG path to pkg
-config utility
1210 C compiler flags
for DIRECTFB
, overriding pkg
-config
1212 linker flags
for DIRECTFB
, overriding pkg
-config
1214 C compiler flags
for PANGOX
, overriding pkg
-config
1215 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1217 C compiler flags
for PANGOFT2
, overriding pkg
-config
1219 linker flags
for PANGOFT2
, overriding pkg
-config
1221 C compiler flags
for PANGOXFT
, overriding pkg
-config
1223 linker flags
for PANGOXFT
, overriding pkg
-config
1224 LIBGNOMEPRINTUI_CFLAGS
1225 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1226 LIBGNOMEPRINTUI_LIBS
1227 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1229 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1231 linker flags
for GNOMEVFS
, overriding pkg
-config
1233 C compiler flags
for HILDON
, overriding pkg
-config
1234 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1236 C compiler flags
for CAIRO
, overriding pkg
-config
1237 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1238 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1239 GST_LIBS linker flags
for GST
, overriding pkg
-config
1241 Use these variables to override the choices made by
`configure' or to help
1242 it to find libraries and programs with nonstandard names/locations.
1244 Report bugs to <wx-dev@lists.wxwidgets.org>.
1248 if test "$ac_init_help" = "recursive"; then
1249 # If there are subdirs, report their specific --help.
1251 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1252 test -d $ac_dir || continue
1255 if test "$ac_dir" != .; then
1256 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1257 # A "../" for each directory in $ac_dir_suffix.
1258 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1260 ac_dir_suffix= ac_top_builddir=
1264 .) # No --srcdir option. We are building in place.
1266 if test -z "$ac_top_builddir"; then
1269 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1271 [\\/]* | ?:[\\/]* ) # Absolute path.
1272 ac_srcdir=$srcdir$ac_dir_suffix;
1273 ac_top_srcdir=$srcdir ;;
1275 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1276 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1279 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1280 # the directories may not exist.
1282 .) ac_abs_builddir="$ac_dir";;
1285 .) ac_abs_builddir=`pwd`;;
1286 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1287 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1290 case $ac_abs_builddir in
1291 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1293 case ${ac_top_builddir}. in
1294 .) ac_abs_top_builddir=$ac_abs_builddir;;
1295 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1296 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1299 case $ac_abs_builddir in
1300 .) ac_abs_srcdir=$ac_srcdir;;
1303 .) ac_abs_srcdir=$ac_abs_builddir;;
1304 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1305 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1308 case $ac_abs_builddir in
1309 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1311 case $ac_top_srcdir in
1312 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1313 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1314 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1319 # Check for guested configure; otherwise get Cygnus style configure.
1320 if test -f $ac_srcdir/configure.gnu; then
1322 $SHELL $ac_srcdir/configure.gnu --help=recursive
1323 elif test -f $ac_srcdir/configure; then
1325 $SHELL $ac_srcdir/configure --help=recursive
1326 elif test -f $ac_srcdir/configure.ac ||
1327 test -f $ac_srcdir/configure.in; then
1329 $ac_configure --help
1331 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1337 test -n "$ac_init_help" && exit 0
1338 if $ac_init_version; then
1340 wxWidgets configure 2.9.0
1341 generated by GNU Autoconf 2.59
1343 Copyright (C) 2003 Free Software Foundation, Inc.
1344 This configure script is free software; the Free Software Foundation
1345 gives unlimited permission to copy, distribute and modify it.
1351 This file contains any messages produced by compilers while
1352 running configure, to aid debugging if configure makes a mistake.
1354 It was created by wxWidgets $as_me 2.9.0, which was
1355 generated by GNU Autoconf 2.59. Invocation command line was
1366 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1367 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1368 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1369 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1370 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1372 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1373 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1375 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1376 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1377 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1378 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1379 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1380 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1381 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1389 test -z "$as_dir" && as_dir=.
1390 echo "PATH: $as_dir"
1405 # Keep a trace of the command line.
1406 # Strip out --no-create and --no-recursion so they do not pile up.
1407 # Strip out --silent because we don't want to record it for future runs.
1408 # Also quote any args containing shell meta-characters.
1409 # Make two passes to allow for proper duplicate-argument suppression.
1414 ac_must_keep_next=false
1420 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1422 | -silent | --silent | --silen | --sile | --sil)
1424 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1425 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1428 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1430 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1431 if test $ac_must_keep_next = true; then
1432 ac_must_keep_next=false # Got value, back to normal.
1435 *=* | --config-cache | -C | -disable-* | --disable-* \
1436 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1437 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1438 | -with-* | --with-* | -without-* | --without-* | --x)
1439 case "$ac_configure_args0 " in
1440 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1443 -* ) ac_must_keep_next=true ;;
1446 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1447 # Get rid of the leading space.
1453 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1454 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1456 # When interrupted or exit'd, cleanup temporary files, and complete
1457 # config.log. We remove comments because anyway the quotes in there
1458 # would cause problems or look ugly.
1459 # WARNING: Be sure not to use single quotes in there, as some shells,
1460 # such as our DU 5.0 friend, will then `close
' the trap.
1461 trap 'exit_status
=$?
1462 # Save into config.log some information that might help in debugging.
1467 ## ---------------- ##
1468 ## Cache variables. ##
1469 ## ---------------- ##
1472 # The following way of writing the cache mishandles newlines in values,
1475 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1478 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1490 ## ----------------- ##
1491 ## Output variables. ##
1492 ## ----------------- ##
1495 for ac_var
in $ac_subst_vars
1497 eval ac_val
=$
`echo $ac_var`
1498 echo "$ac_var='"'"'$ac_val'"'"'"
1502 if test -n "$ac_subst_files"; then
1509 for ac_var
in $ac_subst_files
1511 eval ac_val
=$
`echo $ac_var`
1512 echo "$ac_var='"'"'$ac_val'"'"'"
1517 if test -s confdefs.h
; then
1524 sed "/^$/d" confdefs.h
| sort
1527 test "$ac_signal" != 0 &&
1528 echo "$as_me: caught signal $ac_signal"
1529 echo "$as_me: exit $exit_status"
1531 rm -f core
*.core
&&
1532 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1535 for ac_signal in 1 2 13 15; do
1536 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -rf conftest* confdefs.h
1542 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1545 # Predefined preprocessor variables.
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_NAME "$PACKAGE_NAME"
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1557 cat >>confdefs.h <<_ACEOF
1558 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_STRING "$PACKAGE_STRING"
1567 cat >>confdefs.h <<_ACEOF
1568 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1572 # Let the site file select an alternate cache file if it wants to.
1573 # Prefer explicitly selected file to automatically selected ones.
1574 if test -z "$CONFIG_SITE"; then
1575 if test "x$prefix" != xNONE; then
1576 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1578 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1581 for ac_site_file in $CONFIG_SITE; do
1582 if test -r "$ac_site_file"; then
1583 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1584 echo "$as_me: loading site script $ac_site_file" >&6;}
1585 sed 's
/^
/| /' "$ac_site_file" >&5
1590 if test -r "$cache_file"; then
1591 # Some versions of bash will fail to source /dev/null (special
1592 # files actually), so we avoid doing that.
1593 if test -f "$cache_file"; then
1594 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1595 echo "$as_me: loading cache $cache_file" >&6;}
1597 [\\/]* | ?:[\\/]* ) . $cache_file;;
1598 *) . ./$cache_file;;
1602 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1603 echo "$as_me: creating cache $cache_file" >&6;}
1607 # Check that the precious variables saved in the cache have kept the same
1609 ac_cache_corrupted=false
1610 for ac_var in `(set) 2>&1 |
1611 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1612 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1613 eval ac_new_set=\$ac_env_${ac_var}_set
1614 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1615 eval ac_new_val="\$ac_env_${ac_var}_value"
1616 case $ac_old_set,$ac_new_set in
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1620 ac_cache_corrupted=: ;;
1622 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1629 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1630 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1631 echo "$as_me: former value: $ac_old_val" >&2;}
1632 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1633 echo "$as_me: current value: $ac_new_val" >&2;}
1634 ac_cache_corrupted=:
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1640 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1641 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 *) ac_arg=$ac_var=$ac_new_val ;;
1644 case " $ac_configure_args " in
1645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1646 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1650 if $ac_cache_corrupted; then
1651 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1652 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1653 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1654 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1655 { (exit 1); exit 1; }; }
1659 ac_cpp='$CPP $CPPFLAGS'
1660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1661 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1694 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1695 if test -f $ac_dir/install-sh; then
1697 ac_install_sh="$ac_aux_dir/install-sh -c"
1699 elif test -f $ac_dir/install.sh; then
1701 ac_install_sh="$ac_aux_dir/install.sh -c"
1703 elif test -f $ac_dir/shtool; then
1705 ac_install_sh="$ac_aux_dir/shtool install -c"
1709 if test -z "$ac_aux_dir"; then
1710 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1711 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1712 { (exit 1); exit 1; }; }
1714 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1715 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1716 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1718 # Make sure we can run config.sub.
1719 $ac_config_sub sun4 >/dev/null 2>&1 ||
1720 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1721 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1722 { (exit 1); exit 1; }; }
1724 echo "$as_me:$LINENO: checking build system type" >&5
1725 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1726 if test "${ac_cv_build+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 ac_cv_build_alias=$build_alias
1730 test -z "$ac_cv_build_alias" &&
1731 ac_cv_build_alias=`$ac_config_guess`
1732 test -z "$ac_cv_build_alias" &&
1733 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1734 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1735 { (exit 1); exit 1; }; }
1736 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1742 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1743 echo "${ECHO_T}$ac_cv_build" >&6
1745 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1746 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1747 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1750 echo "$as_me:$LINENO: checking host system type" >&5
1751 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1752 if test "${ac_cv_host+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 ac_cv_host_alias=$host_alias
1756 test -z "$ac_cv_host_alias" &&
1757 ac_cv_host_alias=$ac_cv_build_alias
1758 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1764 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1765 echo "${ECHO_T}$ac_cv_host" >&6
1767 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1768 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1769 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1772 echo "$as_me:$LINENO: checking target system type" >&5
1773 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1774 if test "${ac_cv_target+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1777 ac_cv_target_alias=$target_alias
1778 test "x$ac_cv_target_alias" = "x" &&
1779 ac_cv_target_alias=$ac_cv_host_alias
1780 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1781 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1782 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1783 { (exit 1); exit 1; }; }
1786 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1787 echo "${ECHO_T}$ac_cv_target" >&6
1788 target=$ac_cv_target
1789 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1790 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1791 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1794 # The aliases save the names the user supplied, while $host etc.
1795 # will get canonicalized.
1796 test -n "$target_alias" &&
1797 test "$program_prefix$program_suffix$program_transform_name" = \
1799 program_prefix=${target_alias}-
1803 wx_major_version_number=2
1804 wx_minor_version_number=9
1806 wx_subrelease_number=0
1808 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1809 WX_VERSION=$WX_RELEASE.$wx_release_number
1810 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1812 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1815 wx_top_builddir="`pwd`"
1828 USE_BSD= USE_DARWIN= USE_FREEBSD=
1834 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1840 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1842 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1844 DEFAULT_wxUSE_COCOA=0
1848 DEFAULT_wxUSE_MICROWIN=0
1849 DEFAULT_wxUSE_MOTIF=0
1855 DEFAULT_DEFAULT_wxUSE_COCOA=0
1856 DEFAULT_DEFAULT_wxUSE_GTK=0
1857 DEFAULT_DEFAULT_wxUSE_MAC=0
1858 DEFAULT_DEFAULT_wxUSE_MGL=0
1859 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1860 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1861 DEFAULT_DEFAULT_wxUSE_MSW=0
1862 DEFAULT_DEFAULT_wxUSE_PM=0
1863 DEFAULT_DEFAULT_wxUSE_X11=0
1864 DEFAULT_DEFAULT_wxUSE_DFB=0
1869 SAMPLES_RPATH_POSTLINK=
1871 DEFAULT_STD_FLAG=yes
1876 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1877 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1879 cat >>confdefs.h <<\_ACEOF
1884 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1888 cat >>confdefs.h <<\_ACEOF
1893 if test "x$TMP" = "xalpha"; then
1895 cat >>confdefs.h <<\_ACEOF
1900 DEFAULT_DEFAULT_wxUSE_GTK=1
1902 *-*-gnu* | *-*-k*bsd*-gnu )
1905 if test "x$TMP" = "xalpha"; then
1907 cat >>confdefs.h <<\_ACEOF
1912 DEFAULT_DEFAULT_wxUSE_GTK=1
1914 *-*-irix5* | *-*-irix6* )
1917 cat >>confdefs.h <<\_ACEOF
1921 cat >>confdefs.h <<\_ACEOF
1925 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1931 cat >>confdefs.h <<\_ACEOF
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __SOLARIS__ 1
1939 cat >>confdefs.h <<\_ACEOF
1943 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1944 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1950 cat >>confdefs.h <<\_ACEOF
1954 cat >>confdefs.h <<\_ACEOF
1958 cat >>confdefs.h <<\_ACEOF
1962 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1967 cat >>confdefs.h <<\_ACEOF
1968 #define __FREEBSD__ 1
1971 cat >>confdefs.h <<\_ACEOF
1975 DEFAULT_DEFAULT_wxUSE_GTK=1
1977 *-*-openbsd*|*-*-mirbsd*)
1980 cat >>confdefs.h <<\_ACEOF
1981 #define __OPENBSD__ 1
1984 cat >>confdefs.h <<\_ACEOF
1988 DEFAULT_DEFAULT_wxUSE_GTK=1
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __NETBSD__ 1
1997 cat >>confdefs.h <<\_ACEOF
2001 DEFAULT_DEFAULT_wxUSE_GTK=1
2002 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2004 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2009 cat >>confdefs.h <<\_ACEOF
2013 cat >>confdefs.h <<\_ACEOF
2017 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2018 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2023 cat >>confdefs.h <<\_ACEOF
2027 cat >>confdefs.h <<\_ACEOF
2031 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2036 cat >>confdefs.h <<\_ACEOF
2040 cat >>confdefs.h <<\_ACEOF
2044 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2051 cat >>confdefs.h <<\_ACEOF
2055 cat >>confdefs.h <<\_ACEOF
2059 cat >>confdefs.h <<\_ACEOF
2063 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2070 cat >>confdefs.h <<\_ACEOF
2071 #define __UNIXWARE__ 1
2076 *-*-cygwin* | *-*-mingw32* )
2079 DEFAULT_DEFAULT_wxUSE_MSW=1
2085 cat >>confdefs.h <<\_ACEOF
2090 DEFAULT_DEFAULT_wxUSE_MGL=1
2093 *-pc-os2_emx | *-pc-os2-emx )
2094 cat >>confdefs.h <<\_ACEOF
2099 cat >>confdefs.h <<\_ACEOF
2104 DEFAULT_DEFAULT_wxUSE_PM=1
2106 LDFLAGS="$LDFLAGS -Zcrtdll"
2107 ac_executable_extensions=".exe"
2108 export ac_executable_extensions
2112 for ac_dir in $PATH; do
2114 if test -z "$ac_TEMP_PATH"; then
2115 ac_TEMP_PATH="$ac_dir"
2117 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2120 export PATH="$ac_TEMP_PATH"
2129 cat >>confdefs.h <<\_ACEOF
2133 cat >>confdefs.h <<\_ACEOF
2134 #define __DARWIN__ 1
2137 cat >>confdefs.h <<\_ACEOF
2138 #define TARGET_CARBON 1
2141 DEFAULT_DEFAULT_wxUSE_MAC=1
2144 powerpc-apple-macos* )
2146 ac_cv_c_bigendian=yes
2148 DEFAULT_DEFAULT_wxUSE_MAC=1
2154 cat >>confdefs.h <<\_ACEOF
2161 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2162 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2163 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2164 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2166 DEFAULT_DEFAULT_wxUSE_X11=1
2167 DEFAULT_wxUSE_SHARED=no
2173 wx_arg_cache_file="configarg.cache"
2174 echo "loading argument cache $wx_arg_cache_file"
2175 rm -f ${wx_arg_cache_file}.tmp
2176 touch ${wx_arg_cache_file}.tmp
2177 touch ${wx_arg_cache_file}
2181 if test $DEBUG_CONFIGURE = 1; then
2182 DEFAULT_wxUSE_UNIVERSAL=no
2183 DEFAULT_wxUSE_STL=no
2184 DEFAULT_wxUSE_EXTENDED_RTTI=no
2186 DEFAULT_wxUSE_NANOX=no
2188 DEFAULT_wxUSE_THREADS=yes
2190 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2191 DEFAULT_wxUSE_OPTIMISE=no
2192 DEFAULT_wxUSE_PROFILE=no
2193 DEFAULT_wxUSE_NO_DEPS=no
2194 DEFAULT_wxUSE_VARARG_MACROS=no
2195 DEFAULT_wxUSE_NO_RTTI=no
2196 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2197 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2198 DEFAULT_wxUSE_RPATH=yes
2199 DEFAULT_wxUSE_PERMISSIVE=no
2200 DEFAULT_wxUSE_DEBUG_FLAG=yes
2201 DEFAULT_wxUSE_DEBUG_INFO=yes
2202 DEFAULT_wxUSE_DEBUG_GDB=yes
2203 DEFAULT_wxUSE_MEM_TRACING=no
2204 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2205 DEFAULT_wxUSE_DMALLOC=no
2206 DEFAULT_wxUSE_APPLE_IEEE=no
2208 DEFAULT_wxUSE_EXCEPTIONS=no
2209 DEFAULT_wxUSE_LOG=yes
2210 DEFAULT_wxUSE_LOGWINDOW=no
2211 DEFAULT_wxUSE_LOGGUI=no
2212 DEFAULT_wxUSE_LOGDIALOG=no
2214 DEFAULT_wxUSE_GUI=yes
2215 DEFAULT_wxUSE_CONTROLS=no
2217 DEFAULT_wxUSE_REGEX=no
2218 DEFAULT_wxUSE_XML=no
2219 DEFAULT_wxUSE_EXPAT=no
2220 DEFAULT_wxUSE_ZLIB=no
2221 DEFAULT_wxUSE_LIBPNG=no
2222 DEFAULT_wxUSE_LIBJPEG=no
2223 DEFAULT_wxUSE_LIBTIFF=no
2224 DEFAULT_wxUSE_LIBXPM=no
2225 DEFAULT_wxUSE_LIBMSPACK=no
2226 DEFAULT_wxUSE_LIBSDL=no
2227 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2228 DEFAULT_wxUSE_LIBGNOMEVFS=no
2229 DEFAULT_wxUSE_LIBHILDON=no
2230 DEFAULT_wxUSE_ODBC=no
2231 DEFAULT_wxUSE_OPENGL=no
2233 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2234 DEFAULT_wxUSE_STACKWALKER=no
2235 DEFAULT_wxUSE_DEBUGREPORT=no
2236 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2237 DEFAULT_wxUSE_STD_IOSTREAM=no
2238 DEFAULT_wxUSE_STD_STRING=no
2239 DEFAULT_wxUSE_CMDLINE_PARSER=no
2240 DEFAULT_wxUSE_DATETIME=no
2241 DEFAULT_wxUSE_TIMER=no
2242 DEFAULT_wxUSE_STOPWATCH=no
2243 DEFAULT_wxUSE_FILE=no
2244 DEFAULT_wxUSE_FFILE=no
2245 DEFAULT_wxUSE_STDPATHS=no
2246 DEFAULT_wxUSE_TEXTBUFFER=no
2247 DEFAULT_wxUSE_TEXTFILE=no
2248 DEFAULT_wxUSE_SOUND=no
2249 DEFAULT_wxUSE_MEDIACTRL=no
2250 DEFAULT_wxUSE_GSTREAMER8=no
2251 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2252 DEFAULT_wxUSE_INTL=no
2253 DEFAULT_wxUSE_CONFIG=no
2254 DEFAULT_wxUSE_FONTMAP=no
2255 DEFAULT_wxUSE_STREAMS=no
2256 DEFAULT_wxUSE_SOCKETS=no
2257 DEFAULT_wxUSE_OLE=no
2258 DEFAULT_wxUSE_DATAOBJ=no
2259 DEFAULT_wxUSE_DIALUP_MANAGER=no
2260 DEFAULT_wxUSE_JOYSTICK=no
2261 DEFAULT_wxUSE_DYNLIB_CLASS=no
2262 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2263 DEFAULT_wxUSE_LONGLONG=no
2264 DEFAULT_wxUSE_GEOMETRY=no
2266 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2267 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2268 DEFAULT_wxUSE_POSTSCRIPT=no
2270 DEFAULT_wxUSE_CLIPBOARD=no
2271 DEFAULT_wxUSE_TOOLTIPS=no
2272 DEFAULT_wxUSE_DRAG_AND_DROP=no
2273 DEFAULT_wxUSE_DRAGIMAGE=no
2274 DEFAULT_wxUSE_SPLINES=no
2275 DEFAULT_wxUSE_MOUSEWHEEL=no
2277 DEFAULT_wxUSE_MDI=no
2278 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2279 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2280 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2282 DEFAULT_wxUSE_CONSTRAINTS=no
2283 DEFAULT_wxUSE_IPC=no
2284 DEFAULT_wxUSE_HELP=no
2285 DEFAULT_wxUSE_MS_HTML_HELP=no
2286 DEFAULT_wxUSE_WXHTML_HELP=no
2287 DEFAULT_wxUSE_TREELAYOUT=no
2288 DEFAULT_wxUSE_METAFILE=no
2289 DEFAULT_wxUSE_MIMETYPE=no
2290 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2291 DEFAULT_wxUSE_PROTOCOL=no
2292 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2293 DEFAULT_wxUSE_PROTOCOL_FTP=no
2294 DEFAULT_wxUSE_PROTOCOL_FILE=no
2295 DEFAULT_wxUSE_URL=no
2296 DEFAULT_wxUSE_VARIANT=no
2298 DEFAULT_wxUSE_ABOUTDLG=no
2299 DEFAULT_wxUSE_COMMONDLGS=no
2300 DEFAULT_wxUSE_CHOICEDLG=no
2301 DEFAULT_wxUSE_COLOURDLG=no
2302 DEFAULT_wxUSE_DIRDLG=no
2303 DEFAULT_wxUSE_FILEDLG=no
2304 DEFAULT_wxUSE_FINDREPLDLG=no
2305 DEFAULT_wxUSE_FONTDLG=no
2306 DEFAULT_wxUSE_MSGDLG=no
2307 DEFAULT_wxUSE_NUMBERDLG=no
2308 DEFAULT_wxUSE_TEXTDLG=no
2309 DEFAULT_wxUSE_SPLASH=no
2310 DEFAULT_wxUSE_STARTUP_TIPS=no
2311 DEFAULT_wxUSE_PROGRESSDLG=no
2312 DEFAULT_wxUSE_WIZARDDLG=no
2314 DEFAULT_wxUSE_MENUS=no
2315 DEFAULT_wxUSE_MINIFRAME=no
2316 DEFAULT_wxUSE_HTML=no
2317 DEFAULT_wxUSE_RICHTEXT=no
2318 DEFAULT_wxUSE_XRC=no
2319 DEFAULT_wxUSE_AUI=no
2320 DEFAULT_wxUSE_STC=no
2321 DEFAULT_wxUSE_WEBKIT=no
2322 DEFAULT_wxUSE_FILESYSTEM=no
2323 DEFAULT_wxUSE_FS_INET=no
2324 DEFAULT_wxUSE_FS_ZIP=no
2325 DEFAULT_wxUSE_FS_ARCHIVE=no
2326 DEFAULT_wxUSE_BUSYINFO=no
2327 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2328 DEFAULT_wxUSE_ZIPSTREAM=no
2329 DEFAULT_wxUSE_TARSTREAM=no
2330 DEFAULT_wxUSE_VALIDATORS=no
2332 DEFAULT_wxUSE_ACCEL=no
2333 DEFAULT_wxUSE_ANIMATIONCTRL=no
2334 DEFAULT_wxUSE_BUTTON=no
2335 DEFAULT_wxUSE_BMPBUTTON=no
2336 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2337 DEFAULT_wxUSE_CALCTRL=no
2338 DEFAULT_wxUSE_CARET=no
2339 DEFAULT_wxUSE_CHECKBOX=no
2340 DEFAULT_wxUSE_CHECKLST=no
2341 DEFAULT_wxUSE_CHOICE=no
2342 DEFAULT_wxUSE_CHOICEBOOK=no
2343 DEFAULT_wxUSE_COLLPANE=no
2344 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2345 DEFAULT_wxUSE_COMBOBOX=no
2346 DEFAULT_wxUSE_COMBOCTRL=no
2347 DEFAULT_wxUSE_DATEPICKCTRL=no
2348 DEFAULT_wxUSE_DISPLAY=no
2349 DEFAULT_wxUSE_DETECT_SM=no
2350 DEFAULT_wxUSE_DIRPICKERCTRL=no
2351 DEFAULT_wxUSE_EDITABLELISTBOX=no
2352 DEFAULT_wxUSE_FILEPICKERCTRL=no
2353 DEFAULT_wxUSE_FONTPICKERCTRL=no
2354 DEFAULT_wxUSE_GAUGE=no
2355 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2356 DEFAULT_wxUSE_GRID=no
2357 DEFAULT_wxUSE_HYPERLINKCTRL=no
2358 DEFAULT_wxUSE_DATAVIEWCTRL=no
2359 DEFAULT_wxUSE_IMAGLIST=no
2360 DEFAULT_wxUSE_LISTBOOK=no
2361 DEFAULT_wxUSE_LISTBOX=no
2362 DEFAULT_wxUSE_LISTCTRL=no
2363 DEFAULT_wxUSE_NOTEBOOK=no
2364 DEFAULT_wxUSE_ODCOMBOBOX=no
2365 DEFAULT_wxUSE_RADIOBOX=no
2366 DEFAULT_wxUSE_RADIOBTN=no
2367 DEFAULT_wxUSE_SASH=no
2368 DEFAULT_wxUSE_SCROLLBAR=no
2369 DEFAULT_wxUSE_SEARCHCTRL=no
2370 DEFAULT_wxUSE_SLIDER=no
2371 DEFAULT_wxUSE_SPINBTN=no
2372 DEFAULT_wxUSE_SPINCTRL=no
2373 DEFAULT_wxUSE_SPLITTER=no
2374 DEFAULT_wxUSE_STATBMP=no
2375 DEFAULT_wxUSE_STATBOX=no
2376 DEFAULT_wxUSE_STATLINE=no
2377 DEFAULT_wxUSE_STATTEXT=no
2378 DEFAULT_wxUSE_STATUSBAR=yes
2379 DEFAULT_wxUSE_TAB_DIALOG=no
2380 DEFAULT_wxUSE_TEXTCTRL=no
2381 DEFAULT_wxUSE_TOGGLEBTN=no
2382 DEFAULT_wxUSE_TOOLBAR=no
2383 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2384 DEFAULT_wxUSE_TREEBOOK=no
2385 DEFAULT_wxUSE_TOOLBOOK=no
2386 DEFAULT_wxUSE_TREECTRL=no
2387 DEFAULT_wxUSE_POPUPWIN=no
2388 DEFAULT_wxUSE_TIPWINDOW=no
2390 DEFAULT_wxUSE_UNICODE=no
2391 DEFAULT_wxUSE_UNICODE_MSLU=no
2392 DEFAULT_wxUSE_UNICODE_UTF8=auto
2393 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2394 DEFAULT_wxUSE_WCSRTOMBS=no
2396 DEFAULT_wxUSE_PALETTE=no
2397 DEFAULT_wxUSE_IMAGE=no
2398 DEFAULT_wxUSE_GIF=no
2399 DEFAULT_wxUSE_PCX=no
2400 DEFAULT_wxUSE_TGA=no
2401 DEFAULT_wxUSE_PNM=no
2402 DEFAULT_wxUSE_IFF=no
2403 DEFAULT_wxUSE_XPM=no
2404 DEFAULT_wxUSE_ICO_CUR=no
2405 DEFAULT_wxUSE_ACCESSIBILITY=no
2407 DEFAULT_wxUSE_MONOLITHIC=no
2408 DEFAULT_wxUSE_PLUGINS=no
2409 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2411 DEFAULT_wxUSE_UNIVERSAL=no
2412 DEFAULT_wxUSE_STL=no
2413 DEFAULT_wxUSE_EXTENDED_RTTI=no
2415 DEFAULT_wxUSE_NANOX=no
2417 DEFAULT_wxUSE_THREADS=yes
2419 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2420 DEFAULT_wxUSE_OPTIMISE=yes
2421 DEFAULT_wxUSE_PROFILE=no
2422 DEFAULT_wxUSE_NO_DEPS=no
2423 DEFAULT_wxUSE_VARARG_MACROS=yes
2424 DEFAULT_wxUSE_NO_RTTI=no
2425 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2426 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2427 DEFAULT_wxUSE_RPATH=yes
2428 DEFAULT_wxUSE_PERMISSIVE=no
2429 DEFAULT_wxUSE_DEBUG_FLAG=no
2430 DEFAULT_wxUSE_DEBUG_INFO=no
2431 DEFAULT_wxUSE_DEBUG_GDB=no
2432 DEFAULT_wxUSE_MEM_TRACING=no
2433 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2434 DEFAULT_wxUSE_DMALLOC=no
2435 DEFAULT_wxUSE_APPLE_IEEE=yes
2437 DEFAULT_wxUSE_EXCEPTIONS=yes
2438 DEFAULT_wxUSE_LOG=yes
2439 DEFAULT_wxUSE_LOGWINDOW=yes
2440 DEFAULT_wxUSE_LOGGUI=yes
2441 DEFAULT_wxUSE_LOGDIALOG=yes
2443 DEFAULT_wxUSE_GUI=yes
2445 DEFAULT_wxUSE_REGEX=yes
2446 DEFAULT_wxUSE_XML=yes
2447 DEFAULT_wxUSE_EXPAT=yes
2448 DEFAULT_wxUSE_ZLIB=yes
2449 DEFAULT_wxUSE_LIBPNG=yes
2450 DEFAULT_wxUSE_LIBJPEG=yes
2451 DEFAULT_wxUSE_LIBTIFF=yes
2452 DEFAULT_wxUSE_LIBXPM=yes
2453 DEFAULT_wxUSE_LIBMSPACK=yes
2454 DEFAULT_wxUSE_LIBSDL=no
2455 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
2456 DEFAULT_wxUSE_LIBGNOMEVFS=no
2457 DEFAULT_wxUSE_LIBHILDON=no
2458 DEFAULT_wxUSE_ODBC=no
2459 DEFAULT_wxUSE_OPENGL=no
2461 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2462 DEFAULT_wxUSE_STACKWALKER=yes
2463 DEFAULT_wxUSE_DEBUGREPORT=yes
2464 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2465 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2466 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2467 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2468 DEFAULT_wxUSE_DATETIME=yes
2469 DEFAULT_wxUSE_TIMER=yes
2470 DEFAULT_wxUSE_STOPWATCH=yes
2471 DEFAULT_wxUSE_FILE=yes
2472 DEFAULT_wxUSE_FFILE=yes
2473 DEFAULT_wxUSE_STDPATHS=yes
2474 DEFAULT_wxUSE_TEXTBUFFER=yes
2475 DEFAULT_wxUSE_TEXTFILE=yes
2476 DEFAULT_wxUSE_SOUND=yes
2477 DEFAULT_wxUSE_MEDIACTRL=no
2478 DEFAULT_wxUSE_GSTREAMER8=no
2479 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2480 DEFAULT_wxUSE_INTL=yes
2481 DEFAULT_wxUSE_CONFIG=yes
2482 DEFAULT_wxUSE_FONTMAP=yes
2483 DEFAULT_wxUSE_STREAMS=yes
2484 DEFAULT_wxUSE_SOCKETS=yes
2485 DEFAULT_wxUSE_OLE=yes
2486 DEFAULT_wxUSE_DATAOBJ=yes
2487 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2488 DEFAULT_wxUSE_JOYSTICK=yes
2489 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2490 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2491 DEFAULT_wxUSE_LONGLONG=yes
2492 DEFAULT_wxUSE_GEOMETRY=yes
2494 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2495 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2496 DEFAULT_wxUSE_POSTSCRIPT=yes
2498 DEFAULT_wxUSE_CLIPBOARD=yes
2499 DEFAULT_wxUSE_TOOLTIPS=yes
2500 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2501 DEFAULT_wxUSE_DRAGIMAGE=yes
2502 DEFAULT_wxUSE_SPLINES=yes
2503 DEFAULT_wxUSE_MOUSEWHEEL=yes
2505 DEFAULT_wxUSE_MDI=yes
2506 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2507 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2508 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2510 DEFAULT_wxUSE_CONSTRAINTS=yes
2511 DEFAULT_wxUSE_IPC=yes
2512 DEFAULT_wxUSE_HELP=yes
2513 DEFAULT_wxUSE_MS_HTML_HELP=yes
2514 DEFAULT_wxUSE_WXHTML_HELP=yes
2515 DEFAULT_wxUSE_TREELAYOUT=yes
2516 DEFAULT_wxUSE_METAFILE=yes
2517 DEFAULT_wxUSE_MIMETYPE=yes
2518 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2519 DEFAULT_wxUSE_PROTOCOL=yes
2520 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2521 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2522 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2523 DEFAULT_wxUSE_URL=yes
2524 DEFAULT_wxUSE_VARIANT=yes
2526 DEFAULT_wxUSE_ABOUTDLG=yes
2527 DEFAULT_wxUSE_COMMONDLGS=yes
2528 DEFAULT_wxUSE_CHOICEDLG=yes
2529 DEFAULT_wxUSE_COLOURDLG=yes
2530 DEFAULT_wxUSE_DIRDLG=yes
2531 DEFAULT_wxUSE_FILEDLG=yes
2532 DEFAULT_wxUSE_FINDREPLDLG=yes
2533 DEFAULT_wxUSE_FONTDLG=yes
2534 DEFAULT_wxUSE_MSGDLG=yes
2535 DEFAULT_wxUSE_NUMBERDLG=yes
2536 DEFAULT_wxUSE_TEXTDLG=yes
2537 DEFAULT_wxUSE_SPLASH=yes
2538 DEFAULT_wxUSE_STARTUP_TIPS=yes
2539 DEFAULT_wxUSE_PROGRESSDLG=yes
2540 DEFAULT_wxUSE_WIZARDDLG=yes
2542 DEFAULT_wxUSE_MENUS=yes
2543 DEFAULT_wxUSE_MINIFRAME=yes
2544 DEFAULT_wxUSE_HTML=yes
2545 DEFAULT_wxUSE_RICHTEXT=yes
2546 DEFAULT_wxUSE_XRC=yes
2547 DEFAULT_wxUSE_AUI=yes
2548 DEFAULT_wxUSE_STC=yes
2549 DEFAULT_wxUSE_WEBKIT=yes
2550 DEFAULT_wxUSE_FILESYSTEM=yes
2551 DEFAULT_wxUSE_FS_INET=yes
2552 DEFAULT_wxUSE_FS_ZIP=yes
2553 DEFAULT_wxUSE_FS_ARCHIVE=yes
2554 DEFAULT_wxUSE_BUSYINFO=yes
2555 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2556 DEFAULT_wxUSE_ZIPSTREAM=yes
2557 DEFAULT_wxUSE_TARSTREAM=yes
2558 DEFAULT_wxUSE_VALIDATORS=yes
2560 DEFAULT_wxUSE_ACCEL=yes
2561 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2562 DEFAULT_wxUSE_BUTTON=yes
2563 DEFAULT_wxUSE_BMPBUTTON=yes
2564 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2565 DEFAULT_wxUSE_CALCTRL=yes
2566 DEFAULT_wxUSE_CARET=yes
2567 DEFAULT_wxUSE_CHECKBOX=yes
2568 DEFAULT_wxUSE_CHECKLST=yes
2569 DEFAULT_wxUSE_CHOICE=yes
2570 DEFAULT_wxUSE_CHOICEBOOK=yes
2571 DEFAULT_wxUSE_COLLPANE=yes
2572 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2573 DEFAULT_wxUSE_COMBOBOX=yes
2574 DEFAULT_wxUSE_COMBOCTRL=yes
2575 DEFAULT_wxUSE_DATEPICKCTRL=yes
2576 DEFAULT_wxUSE_DISPLAY=yes
2577 DEFAULT_wxUSE_DETECT_SM=yes
2578 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2579 DEFAULT_wxUSE_EDITABLELISTBOX=yes
2580 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2581 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2582 DEFAULT_wxUSE_GAUGE=yes
2583 DEFAULT_wxUSE_GRID=yes
2584 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2585 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2586 DEFAULT_wxUSE_DATAVIEWCTRL=no
2587 DEFAULT_wxUSE_IMAGLIST=yes
2588 DEFAULT_wxUSE_LISTBOOK=yes
2589 DEFAULT_wxUSE_LISTBOX=yes
2590 DEFAULT_wxUSE_LISTCTRL=yes
2591 DEFAULT_wxUSE_NOTEBOOK=yes
2592 DEFAULT_wxUSE_ODCOMBOBOX=yes
2593 DEFAULT_wxUSE_RADIOBOX=yes
2594 DEFAULT_wxUSE_RADIOBTN=yes
2595 DEFAULT_wxUSE_SASH=yes
2596 DEFAULT_wxUSE_SCROLLBAR=yes
2597 DEFAULT_wxUSE_SEARCHCTRL=yes
2598 DEFAULT_wxUSE_SLIDER=yes
2599 DEFAULT_wxUSE_SPINBTN=yes
2600 DEFAULT_wxUSE_SPINCTRL=yes
2601 DEFAULT_wxUSE_SPLITTER=yes
2602 DEFAULT_wxUSE_STATBMP=yes
2603 DEFAULT_wxUSE_STATBOX=yes
2604 DEFAULT_wxUSE_STATLINE=yes
2605 DEFAULT_wxUSE_STATTEXT=yes
2606 DEFAULT_wxUSE_STATUSBAR=yes
2607 DEFAULT_wxUSE_TAB_DIALOG=no
2608 DEFAULT_wxUSE_TEXTCTRL=yes
2609 DEFAULT_wxUSE_TOGGLEBTN=yes
2610 DEFAULT_wxUSE_TOOLBAR=yes
2611 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2612 DEFAULT_wxUSE_TREEBOOK=yes
2613 DEFAULT_wxUSE_TOOLBOOK=yes
2614 DEFAULT_wxUSE_TREECTRL=yes
2615 DEFAULT_wxUSE_POPUPWIN=yes
2616 DEFAULT_wxUSE_TIPWINDOW=yes
2618 DEFAULT_wxUSE_UNICODE=no
2619 DEFAULT_wxUSE_UNICODE_MSLU=yes
2620 DEFAULT_wxUSE_UNICODE_UTF8=auto
2621 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2622 DEFAULT_wxUSE_WCSRTOMBS=no
2624 DEFAULT_wxUSE_PALETTE=yes
2625 DEFAULT_wxUSE_IMAGE=yes
2626 DEFAULT_wxUSE_GIF=yes
2627 DEFAULT_wxUSE_PCX=yes
2628 DEFAULT_wxUSE_TGA=yes
2629 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2630 DEFAULT_wxUSE_XPM=yes
2631 DEFAULT_wxUSE_ICO_CUR=yes
2632 DEFAULT_wxUSE_ACCESSIBILITY=no
2634 DEFAULT_wxUSE_MONOLITHIC=no
2635 DEFAULT_wxUSE_PLUGINS=no
2636 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2638 DEFAULT_wxUSE_GTK2=yes
2644 for toolkit in `echo $ALL_TOOLKITS`; do
2645 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2646 if test "x$LINE" != "x" ; then
2647 has_toolkit_in_cache=1
2648 eval "DEFAULT_$LINE"
2649 eval "CACHE_$toolkit=1"
2651 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2652 if test "x$LINE" != "x" ; then
2653 eval "DEFAULT_$LINE"
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2664 # Check whether --enable-gui or --disable-gui was given.
2665 if test "${enable_gui+set}" = set; then
2666 enableval="$enable_gui"
2668 if test "$enableval" = yes; then
2669 ac_cv_use_gui='wxUSE_GUI
=yes'
2671 ac_cv_use_gui='wxUSE_GUI
=no
'
2676 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x ; then
2678 eval "DEFAULT_$LINE"
2683 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2687 eval "$ac_cv_use_gui"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2692 if test "$wxUSE_GUI" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2703 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2705 # Check whether --enable-monolithic or --disable-monolithic was given.
2706 if test "${enable_monolithic+set}" = set; then
2707 enableval="$enable_monolithic"
2709 if test "$enableval" = yes; then
2710 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2712 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2717 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2718 if test "x$LINE" != x ; then
2719 eval "DEFAULT_$LINE"
2724 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2728 eval "$ac_cv_use_monolithic"
2729 if test "$no_cache" != 1; then
2730 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2733 if test "$wxUSE_MONOLITHIC" = yes; then
2734 echo "$as_me:$LINENO: result: yes" >&5
2735 echo "${ECHO_T}yes" >&6
2737 echo "$as_me:$LINENO: result: no" >&5
2738 echo "${ECHO_T}no" >&6
2743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2744 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2746 # Check whether --enable-plugins or --disable-plugins was given.
2747 if test "${enable_plugins+set}" = set; then
2748 enableval="$enable_plugins"
2750 if test "$enableval" = yes; then
2751 ac_cv_use_plugins='wxUSE_PLUGINS
=yes'
2753 ac_cv_use_plugins='wxUSE_PLUGINS
=no
'
2758 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2759 if test "x$LINE" != x ; then
2760 eval "DEFAULT_$LINE"
2765 ac_cv_use_plugins='wxUSE_PLUGINS
='$DEFAULT_wxUSE_PLUGINS
2769 eval "$ac_cv_use_plugins"
2770 if test "$no_cache" != 1; then
2771 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2774 if test "$wxUSE_PLUGINS" = yes; then
2775 echo "$as_me:$LINENO: result: yes" >&5
2776 echo "${ECHO_T}yes" >&6
2778 echo "$as_me:$LINENO: result: no" >&5
2779 echo "${ECHO_T}no" >&6
2784 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2785 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2788 # Check whether --with-subdirs or --without-subdirs was given.
2789 if test "${with_subdirs+set}" = set; then
2790 withval="$with_subdirs"
2792 if test "$withval" = yes; then
2793 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2795 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2800 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2801 if test "x$LINE" != x ; then
2802 eval "DEFAULT_$LINE"
2807 ac_cv_use_subdirs='wxWITH_SUBDIRS
='$DEFAULT_wxWITH_SUBDIRS
2811 eval "$ac_cv_use_subdirs"
2812 if test "$no_cache" != 1; then
2813 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2816 if test "$wxWITH_SUBDIRS" = yes; then
2817 echo "$as_me:$LINENO: result: yes" >&5
2818 echo "${ECHO_T}yes" >&6
2820 echo "$as_me:$LINENO: result: no" >&5
2821 echo "${ECHO_T}no" >&6
2825 if test "$wxUSE_GUI" = "yes"; then
2829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2830 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2832 # Check whether --enable-universal or --disable-universal was given.
2833 if test "${enable_universal+set}" = set; then
2834 enableval="$enable_universal"
2836 if test "$enableval" = yes; then
2837 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2839 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2844 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2845 if test "x$LINE" != x ; then
2846 eval "DEFAULT_$LINE"
2851 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2855 eval "$ac_cv_use_universal"
2856 if test "$no_cache" != 1; then
2857 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2860 if test "$wxUSE_UNIVERSAL" = yes; then
2861 echo "$as_me:$LINENO: result: yes" >&5
2862 echo "${ECHO_T}yes" >&6
2864 echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6
2869 # Check whether --with-gtk or --without-gtk was given.
2870 if test "${with_gtk+set}" = set; then
2872 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2875 # Check whether --with-motif or --without-motif was given.
2876 if test "${with_motif+set}" = set; then
2877 withval="$with_motif"
2878 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2881 # Check whether --with-mac or --without-mac was given.
2882 if test "${with_mac+set}" = set; then
2884 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2887 # Check whether --with-cocoa or --without-cocoa was given.
2888 if test "${with_cocoa+set}" = set; then
2889 withval="$with_cocoa"
2890 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2893 # Check whether --with-wine or --without-wine was given.
2894 if test "${with_wine+set}" = set; then
2895 withval="$with_wine"
2896 wxUSE_WINE="$withval" CACHE_WINE=1
2899 # Check whether --with-msw or --without-msw was given.
2900 if test "${with_msw+set}" = set; then
2902 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2905 # Check whether --with-pm or --without-pm was given.
2906 if test "${with_pm+set}" = set; then
2908 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2911 # Check whether --with-mgl or --without-mgl was given.
2912 if test "${with_mgl+set}" = set; then
2914 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2917 # Check whether --with-directfb or --without-directfb was given.
2918 if test "${with_directfb+set}" = set; then
2919 withval="$with_directfb"
2920 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2923 # Check whether --with-microwin or --without-microwin was given.
2924 if test "${with_microwin+set}" = set; then
2925 withval="$with_microwin"
2926 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2929 # Check whether --with-x11 or --without-x11 was given.
2930 if test "${with_x11+set}" = set; then
2932 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2937 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2939 # Check whether --enable-nanox or --disable-nanox was given.
2940 if test "${enable_nanox+set}" = set; then
2941 enableval="$enable_nanox"
2943 if test "$enableval" = yes; then
2944 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2946 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2951 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2952 if test "x$LINE" != x ; then
2953 eval "DEFAULT_$LINE"
2958 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2962 eval "$ac_cv_use_nanox"
2963 if test "$no_cache" != 1; then
2964 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2967 if test "$wxUSE_NANOX" = yes; then
2968 echo "$as_me:$LINENO: result: yes" >&5
2969 echo "${ECHO_T}yes" >&6
2971 echo "$as_me:$LINENO: result: no" >&5
2972 echo "${ECHO_T}no" >&6
2976 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2977 if test "${enable_gtk2+set}" = set; then
2978 enableval="$enable_gtk2"
2979 wxUSE_GTK2="$enableval"
2983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2984 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2986 # Check whether --enable-gpe or --disable-gpe was given.
2987 if test "${enable_gpe+set}" = set; then
2988 enableval="$enable_gpe"
2990 if test "$enableval" = yes; then
2991 ac_cv_use_gpe='wxUSE_GPE
=yes'
2993 ac_cv_use_gpe='wxUSE_GPE
=no
'
2998 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2999 if test "x$LINE" != x ; then
3000 eval "DEFAULT_$LINE"
3005 ac_cv_use_gpe='wxUSE_GPE
='$DEFAULT_wxUSE_GPE
3009 eval "$ac_cv_use_gpe"
3010 if test "$no_cache" != 1; then
3011 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3014 if test "$wxUSE_GPE" = yes; then
3015 echo "$as_me:$LINENO: result: yes" >&5
3016 echo "${ECHO_T}yes" >&6
3018 echo "$as_me:$LINENO: result: no" >&5
3019 echo "${ECHO_T}no" >&6
3024 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3025 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3028 # Check whether --with-libpng or --without-libpng was given.
3029 if test "${with_libpng+set}" = set; then
3030 withval="$with_libpng"
3032 if test "$withval" = yes; then
3033 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
3034 elif test "$withval" = no; then
3035 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
3036 elif test "$withval" = sys; then
3037 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
3038 elif test "$withval" = builtin; then
3039 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
3041 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3042 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3043 { (exit 1); exit 1; }; }
3048 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3049 if test "x$LINE" != x ; then
3050 eval "DEFAULT_$LINE"
3055 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
3059 eval "$ac_cv_use_libpng"
3060 if test "$no_cache" != 1; then
3061 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3064 if test "$wxUSE_LIBPNG" = yes; then
3065 echo "$as_me:$LINENO: result: yes" >&5
3066 echo "${ECHO_T}yes" >&6
3067 elif test "$wxUSE_LIBPNG" = no; then
3068 echo "$as_me:$LINENO: result: no" >&5
3069 echo "${ECHO_T}no" >&6
3070 elif test "$wxUSE_LIBPNG" = sys; then
3071 echo "$as_me:$LINENO: result: system version" >&5
3072 echo "${ECHO_T}system version" >&6
3073 elif test "$wxUSE_LIBPNG" = builtin; then
3074 echo "$as_me:$LINENO: result: builtin version" >&5
3075 echo "${ECHO_T}builtin version" >&6
3077 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3078 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3079 { (exit 1); exit 1; }; }
3083 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3084 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3087 # Check whether --with-libjpeg or --without-libjpeg was given.
3088 if test "${with_libjpeg+set}" = set; then
3089 withval="$with_libjpeg"
3091 if test "$withval" = yes; then
3092 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3093 elif test "$withval" = no; then
3094 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3095 elif test "$withval" = sys; then
3096 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3097 elif test "$withval" = builtin; then
3098 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3100 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3101 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3102 { (exit 1); exit 1; }; }
3107 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3108 if test "x$LINE" != x ; then
3109 eval "DEFAULT_$LINE"
3114 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
3118 eval "$ac_cv_use_libjpeg"
3119 if test "$no_cache" != 1; then
3120 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3123 if test "$wxUSE_LIBJPEG" = yes; then
3124 echo "$as_me:$LINENO: result: yes" >&5
3125 echo "${ECHO_T}yes" >&6
3126 elif test "$wxUSE_LIBJPEG" = no; then
3127 echo "$as_me:$LINENO: result: no" >&5
3128 echo "${ECHO_T}no" >&6
3129 elif test "$wxUSE_LIBJPEG" = sys; then
3130 echo "$as_me:$LINENO: result: system version" >&5
3131 echo "${ECHO_T}system version" >&6
3132 elif test "$wxUSE_LIBJPEG" = builtin; then
3133 echo "$as_me:$LINENO: result: builtin version" >&5
3134 echo "${ECHO_T}builtin version" >&6
3136 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3137 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3138 { (exit 1); exit 1; }; }
3142 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3143 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3146 # Check whether --with-libtiff or --without-libtiff was given.
3147 if test "${with_libtiff+set}" = set; then
3148 withval="$with_libtiff"
3150 if test "$withval" = yes; then
3151 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
3152 elif test "$withval" = no; then
3153 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
3154 elif test "$withval" = sys; then
3155 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
3156 elif test "$withval" = builtin; then
3157 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
3159 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3160 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3161 { (exit 1); exit 1; }; }
3166 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3167 if test "x$LINE" != x ; then
3168 eval "DEFAULT_$LINE"
3173 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
3177 eval "$ac_cv_use_libtiff"
3178 if test "$no_cache" != 1; then
3179 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3182 if test "$wxUSE_LIBTIFF" = yes; then
3183 echo "$as_me:$LINENO: result: yes" >&5
3184 echo "${ECHO_T}yes" >&6
3185 elif test "$wxUSE_LIBTIFF" = no; then
3186 echo "$as_me:$LINENO: result: no" >&5
3187 echo "${ECHO_T}no" >&6
3188 elif test "$wxUSE_LIBTIFF" = sys; then
3189 echo "$as_me:$LINENO: result: system version" >&5
3190 echo "${ECHO_T}system version" >&6
3191 elif test "$wxUSE_LIBTIFF" = builtin; then
3192 echo "$as_me:$LINENO: result: builtin version" >&5
3193 echo "${ECHO_T}builtin version" >&6
3195 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3196 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3197 { (exit 1); exit 1; }; }
3201 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3202 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3205 # Check whether --with-libxpm or --without-libxpm was given.
3206 if test "${with_libxpm+set}" = set; then
3207 withval="$with_libxpm"
3209 if test "$withval" = yes; then
3210 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
3211 elif test "$withval" = no; then
3212 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
3213 elif test "$withval" = sys; then
3214 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
3215 elif test "$withval" = builtin; then
3216 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
3218 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3219 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3220 { (exit 1); exit 1; }; }
3225 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3226 if test "x$LINE" != x ; then
3227 eval "DEFAULT_$LINE"
3232 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
3236 eval "$ac_cv_use_libxpm"
3237 if test "$no_cache" != 1; then
3238 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3241 if test "$wxUSE_LIBXPM" = yes; then
3242 echo "$as_me:$LINENO: result: yes" >&5
3243 echo "${ECHO_T}yes" >&6
3244 elif test "$wxUSE_LIBXPM" = no; then
3245 echo "$as_me:$LINENO: result: no" >&5
3246 echo "${ECHO_T}no" >&6
3247 elif test "$wxUSE_LIBXPM" = sys; then
3248 echo "$as_me:$LINENO: result: system version" >&5
3249 echo "${ECHO_T}system version" >&6
3250 elif test "$wxUSE_LIBXPM" = builtin; then
3251 echo "$as_me:$LINENO: result: builtin version" >&5
3252 echo "${ECHO_T}builtin version" >&6
3254 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3255 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3256 { (exit 1); exit 1; }; }
3261 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3262 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3265 # Check whether --with-libmspack or --without-libmspack was given.
3266 if test "${with_libmspack+set}" = set; then
3267 withval="$with_libmspack"
3269 if test "$withval" = yes; then
3270 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3272 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3277 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3278 if test "x$LINE" != x ; then
3279 eval "DEFAULT_$LINE"
3284 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
3288 eval "$ac_cv_use_libmspack"
3289 if test "$no_cache" != 1; then
3290 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3293 if test "$wxUSE_LIBMSPACK" = yes; then
3294 echo "$as_me:$LINENO: result: yes" >&5
3295 echo "${ECHO_T}yes" >&6
3297 echo "$as_me:$LINENO: result: no" >&5
3298 echo "${ECHO_T}no" >&6
3303 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3304 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3307 # Check whether --with-sdl or --without-sdl was given.
3308 if test "${with_sdl+set}" = set; then
3311 if test "$withval" = yes; then
3312 ac_cv_use_sdl='wxUSE_LIBSDL
=yes'
3314 ac_cv_use_sdl='wxUSE_LIBSDL
=no
'
3319 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3320 if test "x$LINE" != x ; then
3321 eval "DEFAULT_$LINE"
3326 ac_cv_use_sdl='wxUSE_LIBSDL
='$DEFAULT_wxUSE_LIBSDL
3330 eval "$ac_cv_use_sdl"
3331 if test "$no_cache" != 1; then
3332 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3335 if test "$wxUSE_LIBSDL" = yes; then
3336 echo "$as_me:$LINENO: result: yes" >&5
3337 echo "${ECHO_T}yes" >&6
3339 echo "$as_me:$LINENO: result: no" >&5
3340 echo "${ECHO_T}no" >&6
3345 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3346 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3349 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3350 if test "${with_gnomeprint+set}" = set; then
3351 withval="$with_gnomeprint"
3353 if test "$withval" = yes; then
3354 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3356 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3361 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3362 if test "x$LINE" != x ; then
3363 eval "DEFAULT_$LINE"
3368 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
='$DEFAULT_wxUSE_LIBGNOMEPRINT
3372 eval "$ac_cv_use_gnomeprint"
3373 if test "$no_cache" != 1; then
3374 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3377 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3378 echo "$as_me:$LINENO: result: yes" >&5
3379 echo "${ECHO_T}yes" >&6
3381 echo "$as_me:$LINENO: result: no" >&5
3382 echo "${ECHO_T}no" >&6
3387 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3388 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3391 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3392 if test "${with_gnomevfs+set}" = set; then
3393 withval="$with_gnomevfs"
3395 if test "$withval" = yes; then
3396 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
3398 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
3403 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3404 if test "x$LINE" != x ; then
3405 eval "DEFAULT_$LINE"
3410 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
='$DEFAULT_wxUSE_LIBGNOMEVFS
3414 eval "$ac_cv_use_gnomevfs"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3419 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3420 echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3429 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3430 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3433 # Check whether --with-hildon or --without-hildon was given.
3434 if test "${with_hildon+set}" = set; then
3435 withval="$with_hildon"
3437 if test "$withval" = yes; then
3438 ac_cv_use_hildon='wxUSE_LIBHILDON
=yes'
3440 ac_cv_use_hildon='wxUSE_LIBHILDON
=no
'
3445 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3446 if test "x$LINE" != x ; then
3447 eval "DEFAULT_$LINE"
3452 ac_cv_use_hildon='wxUSE_LIBHILDON
='$DEFAULT_wxUSE_LIBHILDON
3456 eval "$ac_cv_use_hildon"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3461 if test "$wxUSE_LIBHILDON" = yes; then
3462 echo "$as_me:$LINENO: result: yes" >&5
3463 echo "${ECHO_T}yes" >&6
3465 echo "$as_me:$LINENO: result: no" >&5
3466 echo "${ECHO_T}no" >&6
3471 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3472 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3475 # Check whether --with-opengl or --without-opengl was given.
3476 if test "${with_opengl+set}" = set; then
3477 withval="$with_opengl"
3479 if test "$withval" = yes; then
3480 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3482 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3487 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3488 if test "x$LINE" != x ; then
3489 eval "DEFAULT_$LINE"
3494 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
3498 eval "$ac_cv_use_opengl"
3499 if test "$no_cache" != 1; then
3500 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3503 if test "$wxUSE_OPENGL" = yes; then
3504 echo "$as_me:$LINENO: result: yes" >&5
3505 echo "${ECHO_T}yes" >&6
3507 echo "$as_me:$LINENO: result: no" >&5
3508 echo "${ECHO_T}no" >&6
3512 if test "$wxUSE_UNIVERSAL" = "yes"; then
3514 # Check whether --with-themes or --without-themes was given.
3515 if test "${with_themes+set}" = set; then
3516 withval="$with_themes"
3517 wxUNIV_THEMES="$withval"
3525 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3526 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3529 # Check whether --with-dmalloc or --without-dmalloc was given.
3530 if test "${with_dmalloc+set}" = set; then
3531 withval="$with_dmalloc"
3533 if test "$withval" = yes; then
3534 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3536 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3541 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x ; then
3543 eval "DEFAULT_$LINE"
3548 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
3552 eval "$ac_cv_use_dmalloc"
3553 if test "$no_cache" != 1; then
3554 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3557 if test "$wxUSE_DMALLOC" = yes; then
3558 echo "$as_me:$LINENO: result: yes" >&5
3559 echo "${ECHO_T}yes" >&6
3561 echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3566 echo "$as_me:$LINENO: checking for --with-regex" >&5
3567 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3570 # Check whether --with-regex or --without-regex was given.
3571 if test "${with_regex+set}" = set; then
3572 withval="$with_regex"
3574 if test "$withval" = yes; then
3575 ac_cv_use_regex='wxUSE_REGEX
=yes'
3576 elif test "$withval" = no; then
3577 ac_cv_use_regex='wxUSE_REGEX
=no
'
3578 elif test "$withval" = sys; then
3579 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3580 elif test "$withval" = builtin; then
3581 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3583 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3584 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3585 { (exit 1); exit 1; }; }
3590 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3591 if test "x$LINE" != x ; then
3592 eval "DEFAULT_$LINE"
3597 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3601 eval "$ac_cv_use_regex"
3602 if test "$no_cache" != 1; then
3603 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3606 if test "$wxUSE_REGEX" = yes; then
3607 echo "$as_me:$LINENO: result: yes" >&5
3608 echo "${ECHO_T}yes" >&6
3609 elif test "$wxUSE_REGEX" = no; then
3610 echo "$as_me:$LINENO: result: no" >&5
3611 echo "${ECHO_T}no" >&6
3612 elif test "$wxUSE_REGEX" = sys; then
3613 echo "$as_me:$LINENO: result: system version" >&5
3614 echo "${ECHO_T}system version" >&6
3615 elif test "$wxUSE_REGEX" = builtin; then
3616 echo "$as_me:$LINENO: result: builtin version" >&5
3617 echo "${ECHO_T}builtin version" >&6
3619 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3620 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3621 { (exit 1); exit 1; }; }
3625 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3626 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3629 # Check whether --with-zlib or --without-zlib was given.
3630 if test "${with_zlib+set}" = set; then
3631 withval="$with_zlib"
3633 if test "$withval" = yes; then
3634 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3635 elif test "$withval" = no; then
3636 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3637 elif test "$withval" = sys; then
3638 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3639 elif test "$withval" = builtin; then
3640 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3642 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3643 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3644 { (exit 1); exit 1; }; }
3649 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3650 if test "x$LINE" != x ; then
3651 eval "DEFAULT_$LINE"
3656 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3660 eval "$ac_cv_use_zlib"
3661 if test "$no_cache" != 1; then
3662 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3665 if test "$wxUSE_ZLIB" = yes; then
3666 echo "$as_me:$LINENO: result: yes" >&5
3667 echo "${ECHO_T}yes" >&6
3668 elif test "$wxUSE_ZLIB" = no; then
3669 echo "$as_me:$LINENO: result: no" >&5
3670 echo "${ECHO_T}no" >&6
3671 elif test "$wxUSE_ZLIB" = sys; then
3672 echo "$as_me:$LINENO: result: system version" >&5
3673 echo "${ECHO_T}system version" >&6
3674 elif test "$wxUSE_ZLIB" = builtin; then
3675 echo "$as_me:$LINENO: result: builtin version" >&5
3676 echo "${ECHO_T}builtin version" >&6
3678 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3679 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3680 { (exit 1); exit 1; }; }
3684 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3685 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3688 # Check whether --with-odbc or --without-odbc was given.
3689 if test "${with_odbc+set}" = set; then
3690 withval="$with_odbc"
3692 if test "$withval" = yes; then
3693 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3694 elif test "$withval" = no; then
3695 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3696 elif test "$withval" = sys; then
3697 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3698 elif test "$withval" = builtin; then
3699 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3701 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3702 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3703 { (exit 1); exit 1; }; }
3708 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3709 if test "x$LINE" != x ; then
3710 eval "DEFAULT_$LINE"
3715 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3719 eval "$ac_cv_use_odbc"
3720 if test "$no_cache" != 1; then
3721 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3724 if test "$wxUSE_ODBC" = yes; then
3725 echo "$as_me:$LINENO: result: yes" >&5
3726 echo "${ECHO_T}yes" >&6
3727 elif test "$wxUSE_ODBC" = no; then
3728 echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6
3730 elif test "$wxUSE_ODBC" = sys; then
3731 echo "$as_me:$LINENO: result: system version" >&5
3732 echo "${ECHO_T}system version" >&6
3733 elif test "$wxUSE_ODBC" = builtin; then
3734 echo "$as_me:$LINENO: result: builtin version" >&5
3735 echo "${ECHO_T}builtin version" >&6
3737 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3738 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3739 { (exit 1); exit 1; }; }
3743 echo "$as_me:$LINENO: checking for --with-expat" >&5
3744 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3747 # Check whether --with-expat or --without-expat was given.
3748 if test "${with_expat+set}" = set; then
3749 withval="$with_expat"
3751 if test "$withval" = yes; then
3752 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3753 elif test "$withval" = no; then
3754 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3755 elif test "$withval" = sys; then
3756 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3757 elif test "$withval" = builtin; then
3758 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3760 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3761 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3762 { (exit 1); exit 1; }; }
3767 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3768 if test "x$LINE" != x ; then
3769 eval "DEFAULT_$LINE"
3774 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3778 eval "$ac_cv_use_expat"
3779 if test "$no_cache" != 1; then
3780 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3783 if test "$wxUSE_EXPAT" = yes; then
3784 echo "$as_me:$LINENO: result: yes" >&5
3785 echo "${ECHO_T}yes" >&6
3786 elif test "$wxUSE_EXPAT" = no; then
3787 echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6
3789 elif test "$wxUSE_EXPAT" = sys; then
3790 echo "$as_me:$LINENO: result: system version" >&5
3791 echo "${ECHO_T}system version" >&6
3792 elif test "$wxUSE_EXPAT" = builtin; then
3793 echo "$as_me:$LINENO: result: builtin version" >&5
3794 echo "${ECHO_T}builtin version" >&6
3796 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3797 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3798 { (exit 1); exit 1; }; }
3805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3806 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3808 # Check whether --enable-shared or --disable-shared was given.
3809 if test "${enable_shared+set}" = set; then
3810 enableval="$enable_shared"
3812 if test "$enableval" = yes; then
3813 ac_cv_use_shared='wxUSE_SHARED
=yes'
3815 ac_cv_use_shared='wxUSE_SHARED
=no
'
3820 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3821 if test "x$LINE" != x ; then
3822 eval "DEFAULT_$LINE"
3827 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3831 eval "$ac_cv_use_shared"
3832 if test "$no_cache" != 1; then
3833 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3836 if test "$wxUSE_SHARED" = yes; then
3837 echo "$as_me:$LINENO: result: yes" >&5
3838 echo "${ECHO_T}yes" >&6
3840 echo "$as_me:$LINENO: result: no" >&5
3841 echo "${ECHO_T}no" >&6
3846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3847 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3849 # Check whether --enable-optimise or --disable-optimise was given.
3850 if test "${enable_optimise+set}" = set; then
3851 enableval="$enable_optimise"
3853 if test "$enableval" = yes; then
3854 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3856 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3861 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3862 if test "x$LINE" != x ; then
3863 eval "DEFAULT_$LINE"
3868 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3872 eval "$ac_cv_use_optimise"
3873 if test "$no_cache" != 1; then
3874 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3877 if test "$wxUSE_OPTIMISE" = yes; then
3878 echo "$as_me:$LINENO: result: yes" >&5
3879 echo "${ECHO_T}yes" >&6
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3888 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3890 # Check whether --enable-debug or --disable-debug was given.
3891 if test "${enable_debug+set}" = set; then
3892 enableval="$enable_debug"
3894 if test "$enableval" = yes; then
3895 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3897 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3902 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3903 if test "x$LINE" != x ; then
3904 eval "DEFAULT_$LINE"
3909 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3913 eval "$ac_cv_use_debug"
3914 if test "$no_cache" != 1; then
3915 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3918 if test "$wxUSE_DEBUG" = yes; then
3919 echo "$as_me:$LINENO: result: yes" >&5
3920 echo "${ECHO_T}yes" >&6
3922 echo "$as_me:$LINENO: result: no" >&5
3923 echo "${ECHO_T}no" >&6
3928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3929 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3931 # Check whether --enable-stl or --disable-stl was given.
3932 if test "${enable_stl+set}" = set; then
3933 enableval="$enable_stl"
3935 if test "$enableval" = yes; then
3936 ac_cv_use_stl='wxUSE_STL
=yes'
3938 ac_cv_use_stl='wxUSE_STL
=no
'
3943 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3944 if test "x$LINE" != x ; then
3945 eval "DEFAULT_$LINE"
3950 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3954 eval "$ac_cv_use_stl"
3955 if test "$no_cache" != 1; then
3956 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3959 if test "$wxUSE_STL" = yes; then
3960 echo "$as_me:$LINENO: result: yes" >&5
3961 echo "${ECHO_T}yes" >&6
3963 echo "$as_me:$LINENO: result: no" >&5
3964 echo "${ECHO_T}no" >&6
3969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
3970 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6
3972 # Check whether --enable-extended_rtti or --disable-extended_rtti was given.
3973 if test "${enable_extended_rtti+set}" = set; then
3974 enableval="$enable_extended_rtti"
3976 if test "$enableval" = yes; then
3977 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
3979 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
3984 LINE=`grep "wxUSE_EXTENDED_RTTI" ${wx_arg_cache_file}`
3985 if test "x$LINE" != x ; then
3986 eval "DEFAULT_$LINE"
3991 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
='$DEFAULT_wxUSE_EXTENDED_RTTI
3995 eval "$ac_cv_use_extended_rtti"
3996 if test "$no_cache" != 1; then
3997 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4000 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4001 echo "$as_me:$LINENO: result: yes" >&5
4002 echo "${ECHO_T}yes" >&6
4004 echo "$as_me:$LINENO: result: no" >&5
4005 echo "${ECHO_T}no" >&6
4008 if test "$USE_OS2" = "1"; then
4009 DEFAULT_wxUSE_OMF=no
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
4015 # Check whether --enable-omf or --disable-omf was given.
4016 if test "${enable_omf+set}" = set; then
4017 enableval="$enable_omf"
4019 if test "$enableval" = yes; then
4020 ac_cv_use_omf='wxUSE_OMF
=yes'
4022 ac_cv_use_omf='wxUSE_OMF
=no
'
4027 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x ; then
4029 eval "DEFAULT_$LINE"
4034 ac_cv_use_omf='wxUSE_OMF
='$DEFAULT_wxUSE_OMF
4038 eval "$ac_cv_use_omf"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4043 if test "$wxUSE_OMF" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4053 if test "$wxUSE_DEBUG" = "yes"; then
4054 DEFAULT_wxUSE_DEBUG_FLAG=yes
4055 DEFAULT_wxUSE_DEBUG_INFO=yes
4057 elif test "$wxUSE_DEBUG" = "no"; then
4058 DEFAULT_wxUSE_DEBUG_FLAG=no
4059 DEFAULT_wxUSE_DEBUG_INFO=no
4065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4066 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4068 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4069 if test "${enable_debug_flag+set}" = set; then
4070 enableval="$enable_debug_flag"
4072 if test "$enableval" = yes; then
4073 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4075 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4080 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x ; then
4082 eval "DEFAULT_$LINE"
4087 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
4091 eval "$ac_cv_use_debug_flag"
4092 if test "$no_cache" != 1; then
4093 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4096 if test "$wxUSE_DEBUG_FLAG" = yes; then
4097 echo "$as_me:$LINENO: result: yes" >&5
4098 echo "${ECHO_T}yes" >&6
4100 echo "$as_me:$LINENO: result: no" >&5
4101 echo "${ECHO_T}no" >&6
4106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4107 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4109 # Check whether --enable-debug_info or --disable-debug_info was given.
4110 if test "${enable_debug_info+set}" = set; then
4111 enableval="$enable_debug_info"
4113 if test "$enableval" = yes; then
4114 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
4116 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
4121 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4122 if test "x$LINE" != x ; then
4123 eval "DEFAULT_$LINE"
4128 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
4132 eval "$ac_cv_use_debug_info"
4133 if test "$no_cache" != 1; then
4134 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4137 if test "$wxUSE_DEBUG_INFO" = yes; then
4138 echo "$as_me:$LINENO: result: yes" >&5
4139 echo "${ECHO_T}yes" >&6
4141 echo "$as_me:$LINENO: result: no" >&5
4142 echo "${ECHO_T}no" >&6
4147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4148 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4150 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4151 if test "${enable_debug_gdb+set}" = set; then
4152 enableval="$enable_debug_gdb"
4154 if test "$enableval" = yes; then
4155 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
4157 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
4162 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4163 if test "x$LINE" != x ; then
4164 eval "DEFAULT_$LINE"
4169 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
4173 eval "$ac_cv_use_debug_gdb"
4174 if test "$no_cache" != 1; then
4175 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4178 if test "$wxUSE_DEBUG_GDB" = yes; then
4179 echo "$as_me:$LINENO: result: yes" >&5
4180 echo "${ECHO_T}yes" >&6
4182 echo "$as_me:$LINENO: result: no" >&5
4183 echo "${ECHO_T}no" >&6
4188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4189 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4191 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4192 if test "${enable_debug_cntxt+set}" = set; then
4193 enableval="$enable_debug_cntxt"
4195 if test "$enableval" = yes; then
4196 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4198 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4203 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4204 if test "x$LINE" != x ; then
4205 eval "DEFAULT_$LINE"
4210 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
4214 eval "$ac_cv_use_debug_cntxt"
4215 if test "$no_cache" != 1; then
4216 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4219 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4220 echo "$as_me:$LINENO: result: yes" >&5
4221 echo "${ECHO_T}yes" >&6
4223 echo "$as_me:$LINENO: result: no" >&5
4224 echo "${ECHO_T}no" >&6
4229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4230 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4232 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4233 if test "${enable_mem_tracing+set}" = set; then
4234 enableval="$enable_mem_tracing"
4236 if test "$enableval" = yes; then
4237 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
4239 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
4244 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4245 if test "x$LINE" != x ; then
4246 eval "DEFAULT_$LINE"
4251 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
4255 eval "$ac_cv_use_mem_tracing"
4256 if test "$no_cache" != 1; then
4257 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4260 if test "$wxUSE_MEM_TRACING" = yes; then
4261 echo "$as_me:$LINENO: result: yes" >&5
4262 echo "${ECHO_T}yes" >&6
4264 echo "$as_me:$LINENO: result: no" >&5
4265 echo "${ECHO_T}no" >&6
4270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4271 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4273 # Check whether --enable-profile or --disable-profile was given.
4274 if test "${enable_profile+set}" = set; then
4275 enableval="$enable_profile"
4277 if test "$enableval" = yes; then
4278 ac_cv_use_profile='wxUSE_PROFILE
=yes'
4280 ac_cv_use_profile='wxUSE_PROFILE
=no
'
4285 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x ; then
4287 eval "DEFAULT_$LINE"
4292 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
4296 eval "$ac_cv_use_profile"
4297 if test "$no_cache" != 1; then
4298 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4301 if test "$wxUSE_PROFILE" = yes; then
4302 echo "$as_me:$LINENO: result: yes" >&5
4303 echo "${ECHO_T}yes" >&6
4305 echo "$as_me:$LINENO: result: no" >&5
4306 echo "${ECHO_T}no" >&6
4311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4312 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4314 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4315 if test "${enable_no_rtti+set}" = set; then
4316 enableval="$enable_no_rtti"
4318 if test "$enableval" = yes; then
4319 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
4321 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
4326 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4327 if test "x$LINE" != x ; then
4328 eval "DEFAULT_$LINE"
4333 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
4337 eval "$ac_cv_use_no_rtti"
4338 if test "$no_cache" != 1; then
4339 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4342 if test "$wxUSE_NO_RTTI" = yes; then
4343 echo "$as_me:$LINENO: result: yes" >&5
4344 echo "${ECHO_T}yes" >&6
4346 echo "$as_me:$LINENO: result: no" >&5
4347 echo "${ECHO_T}no" >&6
4352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4353 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4355 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4356 if test "${enable_no_exceptions+set}" = set; then
4357 enableval="$enable_no_exceptions"
4359 if test "$enableval" = yes; then
4360 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4362 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4367 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4368 if test "x$LINE" != x ; then
4369 eval "DEFAULT_$LINE"
4374 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
4378 eval "$ac_cv_use_no_exceptions"
4379 if test "$no_cache" != 1; then
4380 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4383 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4384 echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6
4387 echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6
4393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4394 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4396 # Check whether --enable-permissive or --disable-permissive was given.
4397 if test "${enable_permissive+set}" = set; then
4398 enableval="$enable_permissive"
4400 if test "$enableval" = yes; then
4401 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4403 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4408 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4409 if test "x$LINE" != x ; then
4410 eval "DEFAULT_$LINE"
4415 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
4419 eval "$ac_cv_use_permissive"
4420 if test "$no_cache" != 1; then
4421 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4424 if test "$wxUSE_PERMISSIVE" = yes; then
4425 echo "$as_me:$LINENO: result: yes" >&5
4426 echo "${ECHO_T}yes" >&6
4428 echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6
4434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4435 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4437 # Check whether --enable-no_deps or --disable-no_deps was given.
4438 if test "${enable_no_deps+set}" = set; then
4439 enableval="$enable_no_deps"
4441 if test "$enableval" = yes; then
4442 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
4444 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
4449 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4450 if test "x$LINE" != x ; then
4451 eval "DEFAULT_$LINE"
4456 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
4460 eval "$ac_cv_use_no_deps"
4461 if test "$no_cache" != 1; then
4462 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4465 if test "$wxUSE_NO_DEPS" = yes; then
4466 echo "$as_me:$LINENO: result: yes" >&5
4467 echo "${ECHO_T}yes" >&6
4469 echo "$as_me:$LINENO: result: no" >&5
4470 echo "${ECHO_T}no" >&6
4475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
4476 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
4478 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
4479 if test "${enable_vararg_macros+set}" = set; then
4480 enableval="$enable_vararg_macros"
4482 if test "$enableval" = yes; then
4483 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
4485 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
4490 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
4491 if test "x$LINE" != x ; then
4492 eval "DEFAULT_$LINE"
4497 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
='$DEFAULT_wxUSE_VARARG_MACROS
4501 eval "$ac_cv_use_vararg_macros"
4502 if test "$no_cache" != 1; then
4503 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
4506 if test "$wxUSE_VARARG_MACROS" = yes; then
4507 echo "$as_me:$LINENO: result: yes" >&5
4508 echo "${ECHO_T}yes" >&6
4510 echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6
4516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4517 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4519 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4520 if test "${enable_universal_binary+set}" = set; then
4521 enableval="$enable_universal_binary"
4523 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4527 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x ; then
4529 eval "DEFAULT_$LINE"
4534 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4538 eval "$wx_cv_use_universal_binary"
4539 if test "$no_cache" != 1; then
4540 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4543 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4544 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4550 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4552 # Check whether --enable-compat26 or --disable-compat26 was given.
4553 if test "${enable_compat26+set}" = set; then
4554 enableval="$enable_compat26"
4556 if test "$enableval" = yes; then
4557 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
4559 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
4564 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4565 if test "x$LINE" != x ; then
4566 eval "DEFAULT_$LINE"
4571 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4575 eval "$ac_cv_use_compat26"
4576 if test "$no_cache" != 1; then
4577 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4580 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4581 echo "$as_me:$LINENO: result: yes" >&5
4582 echo "${ECHO_T}yes" >&6
4584 echo "$as_me:$LINENO: result: no" >&5
4585 echo "${ECHO_T}no" >&6
4589 enablestring=disable
4590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
4591 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6
4593 # Check whether --enable-compat28 or --disable-compat28 was given.
4594 if test "${enable_compat28+set}" = set; then
4595 enableval="$enable_compat28"
4597 if test "$enableval" = yes; then
4598 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
4600 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
4605 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
4606 if test "x$LINE" != x ; then
4607 eval "DEFAULT_$LINE"
4612 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
='$DEFAULT_WXWIN_COMPATIBILITY_2_8
4616 eval "$ac_cv_use_compat28"
4617 if test "$no_cache" != 1; then
4618 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
4621 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
4622 echo "$as_me:$LINENO: result: yes" >&5
4623 echo "${ECHO_T}yes" >&6
4625 echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6
4632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4633 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4635 # Check whether --enable-rpath or --disable-rpath was given.
4636 if test "${enable_rpath+set}" = set; then
4637 enableval="$enable_rpath"
4639 if test "$enableval" = yes; then
4640 ac_cv_use_rpath='wxUSE_RPATH
=yes'
4642 ac_cv_use_rpath='wxUSE_RPATH
=no
'
4647 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x ; then
4649 eval "DEFAULT_$LINE"
4654 ac_cv_use_rpath='wxUSE_RPATH
='$DEFAULT_wxUSE_RPATH
4658 eval "$ac_cv_use_rpath"
4659 if test "$no_cache" != 1; then
4660 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4663 if test "$wxUSE_RPATH" = yes; then
4664 echo "$as_me:$LINENO: result: yes" >&5
4665 echo "${ECHO_T}yes" >&6
4667 echo "$as_me:$LINENO: result: no" >&5
4668 echo "${ECHO_T}no" >&6
4676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4677 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4679 # Check whether --enable-intl or --disable-intl was given.
4680 if test "${enable_intl+set}" = set; then
4681 enableval="$enable_intl"
4683 if test "$enableval" = yes; then
4684 ac_cv_use_intl='wxUSE_INTL
=yes'
4686 ac_cv_use_intl='wxUSE_INTL
=no
'
4691 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4692 if test "x$LINE" != x ; then
4693 eval "DEFAULT_$LINE"
4698 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
4702 eval "$ac_cv_use_intl"
4703 if test "$no_cache" != 1; then
4704 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4707 if test "$wxUSE_INTL" = yes; then
4708 echo "$as_me:$LINENO: result: yes" >&5
4709 echo "${ECHO_T}yes" >&6
4711 echo "$as_me:$LINENO: result: no" >&5
4712 echo "${ECHO_T}no" >&6
4717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4718 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4720 # Check whether --enable-config or --disable-config was given.
4721 if test "${enable_config+set}" = set; then
4722 enableval="$enable_config"
4724 if test "$enableval" = yes; then
4725 ac_cv_use_config='wxUSE_CONFIG
=yes'
4727 ac_cv_use_config='wxUSE_CONFIG
=no
'
4732 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4733 if test "x$LINE" != x ; then
4734 eval "DEFAULT_$LINE"
4739 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
4743 eval "$ac_cv_use_config"
4744 if test "$no_cache" != 1; then
4745 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4748 if test "$wxUSE_CONFIG" = yes; then
4749 echo "$as_me:$LINENO: result: yes" >&5
4750 echo "${ECHO_T}yes" >&6
4752 echo "$as_me:$LINENO: result: no" >&5
4753 echo "${ECHO_T}no" >&6
4759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4760 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4762 # Check whether --enable-protocols or --disable-protocols was given.
4763 if test "${enable_protocols+set}" = set; then
4764 enableval="$enable_protocols"
4766 if test "$enableval" = yes; then
4767 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4769 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4774 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4775 if test "x$LINE" != x ; then
4776 eval "DEFAULT_$LINE"
4781 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4785 eval "$ac_cv_use_protocols"
4786 if test "$no_cache" != 1; then
4787 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4790 if test "$wxUSE_PROTOCOL" = yes; then
4791 echo "$as_me:$LINENO: result: yes" >&5
4792 echo "${ECHO_T}yes" >&6
4794 echo "$as_me:$LINENO: result: no" >&5
4795 echo "${ECHO_T}no" >&6
4800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4801 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4803 # Check whether --enable-ftp or --disable-ftp was given.
4804 if test "${enable_ftp+set}" = set; then
4805 enableval="$enable_ftp"
4807 if test "$enableval" = yes; then
4808 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4810 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4815 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4816 if test "x$LINE" != x ; then
4817 eval "DEFAULT_$LINE"
4822 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4826 eval "$ac_cv_use_ftp"
4827 if test "$no_cache" != 1; then
4828 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4831 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4832 echo "$as_me:$LINENO: result: yes" >&5
4833 echo "${ECHO_T}yes" >&6
4835 echo "$as_me:$LINENO: result: no" >&5
4836 echo "${ECHO_T}no" >&6
4841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4842 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4844 # Check whether --enable-http or --disable-http was given.
4845 if test "${enable_http+set}" = set; then
4846 enableval="$enable_http"
4848 if test "$enableval" = yes; then
4849 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4851 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4856 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4857 if test "x$LINE" != x ; then
4858 eval "DEFAULT_$LINE"
4863 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4867 eval "$ac_cv_use_http"
4868 if test "$no_cache" != 1; then
4869 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4872 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4873 echo "$as_me:$LINENO: result: yes" >&5
4874 echo "${ECHO_T}yes" >&6
4876 echo "$as_me:$LINENO: result: no" >&5
4877 echo "${ECHO_T}no" >&6
4882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4883 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4885 # Check whether --enable-fileproto or --disable-fileproto was given.
4886 if test "${enable_fileproto+set}" = set; then
4887 enableval="$enable_fileproto"
4889 if test "$enableval" = yes; then
4890 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4892 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4897 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4898 if test "x$LINE" != x ; then
4899 eval "DEFAULT_$LINE"
4904 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4908 eval "$ac_cv_use_fileproto"
4909 if test "$no_cache" != 1; then
4910 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4913 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4914 echo "$as_me:$LINENO: result: yes" >&5
4915 echo "${ECHO_T}yes" >&6
4917 echo "$as_me:$LINENO: result: no" >&5
4918 echo "${ECHO_T}no" >&6
4923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4926 # Check whether --enable-sockets or --disable-sockets was given.
4927 if test "${enable_sockets+set}" = set; then
4928 enableval="$enable_sockets"
4930 if test "$enableval" = yes; then
4931 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4933 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4938 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x ; then
4940 eval "DEFAULT_$LINE"
4945 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4949 eval "$ac_cv_use_sockets"
4950 if test "$no_cache" != 1; then
4951 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4954 if test "$wxUSE_SOCKETS" = yes; then
4955 echo "$as_me:$LINENO: result: yes" >&5
4956 echo "${ECHO_T}yes" >&6
4958 echo "$as_me:$LINENO: result: no" >&5
4959 echo "${ECHO_T}no" >&6
4964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4965 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4967 # Check whether --enable-ole or --disable-ole was given.
4968 if test "${enable_ole+set}" = set; then
4969 enableval="$enable_ole"
4971 if test "$enableval" = yes; then
4972 ac_cv_use_ole='wxUSE_OLE
=yes'
4974 ac_cv_use_ole='wxUSE_OLE
=no
'
4979 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4980 if test "x$LINE" != x ; then
4981 eval "DEFAULT_$LINE"
4986 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4990 eval "$ac_cv_use_ole"
4991 if test "$no_cache" != 1; then
4992 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4995 if test "$wxUSE_OLE" = yes; then
4996 echo "$as_me:$LINENO: result: yes" >&5
4997 echo "${ECHO_T}yes" >&6
4999 echo "$as_me:$LINENO: result: no" >&5
5000 echo "${ECHO_T}no" >&6
5005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5006 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
5008 # Check whether --enable-dataobj or --disable-dataobj was given.
5009 if test "${enable_dataobj+set}" = set; then
5010 enableval="$enable_dataobj"
5012 if test "$enableval" = yes; then
5013 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
5015 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
5020 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5021 if test "x$LINE" != x ; then
5022 eval "DEFAULT_$LINE"
5027 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
5031 eval "$ac_cv_use_dataobj"
5032 if test "$no_cache" != 1; then
5033 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5036 if test "$wxUSE_DATAOBJ" = yes; then
5037 echo "$as_me:$LINENO: result: yes" >&5
5038 echo "${ECHO_T}yes" >&6
5040 echo "$as_me:$LINENO: result: no" >&5
5041 echo "${ECHO_T}no" >&6
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
5050 # Check whether --enable-ipc or --disable-ipc was given.
5051 if test "${enable_ipc+set}" = set; then
5052 enableval="$enable_ipc"
5054 if test "$enableval" = yes; then
5055 ac_cv_use_ipc='wxUSE_IPC
=yes'
5057 ac_cv_use_ipc='wxUSE_IPC
=no
'
5062 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x ; then
5064 eval "DEFAULT_$LINE"
5069 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
5073 eval "$ac_cv_use_ipc"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5078 if test "$wxUSE_IPC" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5090 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
5092 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
5093 if test "${enable_apple_ieee+set}" = set; then
5094 enableval="$enable_apple_ieee"
5096 if test "$enableval" = yes; then
5097 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
5099 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
5104 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x ; then
5106 eval "DEFAULT_$LINE"
5111 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
5115 eval "$ac_cv_use_apple_ieee"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5120 if test "$wxUSE_APPLE_IEEE" = yes; then
5121 echo "$as_me:$LINENO: result: yes" >&5
5122 echo "${ECHO_T}yes" >&6
5124 echo "$as_me:$LINENO: result: no" >&5
5125 echo "${ECHO_T}no" >&6
5130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5133 # Check whether --enable-arcstream or --disable-arcstream was given.
5134 if test "${enable_arcstream+set}" = set; then
5135 enableval="$enable_arcstream"
5137 if test "$enableval" = yes; then
5138 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
5140 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
5145 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5146 if test "x$LINE" != x ; then
5147 eval "DEFAULT_$LINE"
5152 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5156 eval "$ac_cv_use_arcstream"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5161 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5162 echo "$as_me:$LINENO: result: yes" >&5
5163 echo "${ECHO_T}yes" >&6
5165 echo "$as_me:$LINENO: result: no" >&5
5166 echo "${ECHO_T}no" >&6
5171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5172 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5174 # Check whether --enable-backtrace or --disable-backtrace was given.
5175 if test "${enable_backtrace+set}" = set; then
5176 enableval="$enable_backtrace"
5178 if test "$enableval" = yes; then
5179 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
5181 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
5186 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5187 if test "x$LINE" != x ; then
5188 eval "DEFAULT_$LINE"
5193 ac_cv_use_backtrace='wxUSE_STACKWALKER
='$DEFAULT_wxUSE_STACKWALKER
5197 eval "$ac_cv_use_backtrace"
5198 if test "$no_cache" != 1; then
5199 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5202 if test "$wxUSE_STACKWALKER" = yes; then
5203 echo "$as_me:$LINENO: result: yes" >&5
5204 echo "${ECHO_T}yes" >&6
5206 echo "$as_me:$LINENO: result: no" >&5
5207 echo "${ECHO_T}no" >&6
5212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5215 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5216 if test "${enable_catch_segvs+set}" = set; then
5217 enableval="$enable_catch_segvs"
5219 if test "$enableval" = yes; then
5220 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
5222 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
5227 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x ; then
5229 eval "DEFAULT_$LINE"
5234 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5238 eval "$ac_cv_use_catch_segvs"
5239 if test "$no_cache" != 1; then
5240 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5243 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5244 echo "$as_me:$LINENO: result: yes" >&5
5245 echo "${ECHO_T}yes" >&6
5247 echo "$as_me:$LINENO: result: no" >&5
5248 echo "${ECHO_T}no" >&6
5253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5254 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5256 # Check whether --enable-cmdline or --disable-cmdline was given.
5257 if test "${enable_cmdline+set}" = set; then
5258 enableval="$enable_cmdline"
5260 if test "$enableval" = yes; then
5261 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
5263 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
5268 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5269 if test "x$LINE" != x ; then
5270 eval "DEFAULT_$LINE"
5275 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
5279 eval "$ac_cv_use_cmdline"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5284 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5285 echo "$as_me:$LINENO: result: yes" >&5
5286 echo "${ECHO_T}yes" >&6
5288 echo "$as_me:$LINENO: result: no" >&5
5289 echo "${ECHO_T}no" >&6
5294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5297 # Check whether --enable-datetime or --disable-datetime was given.
5298 if test "${enable_datetime+set}" = set; then
5299 enableval="$enable_datetime"
5301 if test "$enableval" = yes; then
5302 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
5304 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
5309 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5310 if test "x$LINE" != x ; then
5311 eval "DEFAULT_$LINE"
5316 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
5320 eval "$ac_cv_use_datetime"
5321 if test "$no_cache" != 1; then
5322 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5325 if test "$wxUSE_DATETIME" = yes; then
5326 echo "$as_me:$LINENO: result: yes" >&5
5327 echo "${ECHO_T}yes" >&6
5329 echo "$as_me:$LINENO: result: no" >&5
5330 echo "${ECHO_T}no" >&6
5335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5338 # Check whether --enable-debugreport or --disable-debugreport was given.
5339 if test "${enable_debugreport+set}" = set; then
5340 enableval="$enable_debugreport"
5342 if test "$enableval" = yes; then
5343 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
5345 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
5350 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5351 if test "x$LINE" != x ; then
5352 eval "DEFAULT_$LINE"
5357 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
='$DEFAULT_wxUSE_DEBUGREPORT
5361 eval "$ac_cv_use_debugreport"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5366 if test "$wxUSE_DEBUGREPORT" = yes; then
5367 echo "$as_me:$LINENO: result: yes" >&5
5368 echo "${ECHO_T}yes" >&6
5370 echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6
5376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5377 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5379 # Check whether --enable-dialupman or --disable-dialupman was given.
5380 if test "${enable_dialupman+set}" = set; then
5381 enableval="$enable_dialupman"
5383 if test "$enableval" = yes; then
5384 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
5386 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
5391 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5392 if test "x$LINE" != x ; then
5393 eval "DEFAULT_$LINE"
5398 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
5402 eval "$ac_cv_use_dialupman"
5403 if test "$no_cache" != 1; then
5404 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5407 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5408 echo "$as_me:$LINENO: result: yes" >&5
5409 echo "${ECHO_T}yes" >&6
5411 echo "$as_me:$LINENO: result: no" >&5
5412 echo "${ECHO_T}no" >&6
5417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5418 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5420 # Check whether --enable-dynlib or --disable-dynlib was given.
5421 if test "${enable_dynlib+set}" = set; then
5422 enableval="$enable_dynlib"
5424 if test "$enableval" = yes; then
5425 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
5427 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
5432 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5433 if test "x$LINE" != x ; then
5434 eval "DEFAULT_$LINE"
5439 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
5443 eval "$ac_cv_use_dynlib"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5448 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5449 echo "$as_me:$LINENO: result: yes" >&5
5450 echo "${ECHO_T}yes" >&6
5452 echo "$as_me:$LINENO: result: no" >&5
5453 echo "${ECHO_T}no" >&6
5458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5461 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5462 if test "${enable_dynamicloader+set}" = set; then
5463 enableval="$enable_dynamicloader"
5465 if test "$enableval" = yes; then
5466 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
5468 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
5473 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5474 if test "x$LINE" != x ; then
5475 eval "DEFAULT_$LINE"
5480 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
5484 eval "$ac_cv_use_dynamicloader"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5489 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5490 echo "$as_me:$LINENO: result: yes" >&5
5491 echo "${ECHO_T}yes" >&6
5493 echo "$as_me:$LINENO: result: no" >&5
5494 echo "${ECHO_T}no" >&6
5499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5500 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5502 # Check whether --enable-exceptions or --disable-exceptions was given.
5503 if test "${enable_exceptions+set}" = set; then
5504 enableval="$enable_exceptions"
5506 if test "$enableval" = yes; then
5507 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
5509 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
5514 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5515 if test "x$LINE" != x ; then
5516 eval "DEFAULT_$LINE"
5521 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
5525 eval "$ac_cv_use_exceptions"
5526 if test "$no_cache" != 1; then
5527 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5530 if test "$wxUSE_EXCEPTIONS" = yes; then
5531 echo "$as_me:$LINENO: result: yes" >&5
5532 echo "${ECHO_T}yes" >&6
5534 echo "$as_me:$LINENO: result: no" >&5
5535 echo "${ECHO_T}no" >&6
5540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5543 # Check whether --enable-ffile or --disable-ffile was given.
5544 if test "${enable_ffile+set}" = set; then
5545 enableval="$enable_ffile"
5547 if test "$enableval" = yes; then
5548 ac_cv_use_ffile='wxUSE_FFILE
=yes'
5550 ac_cv_use_ffile='wxUSE_FFILE
=no
'
5555 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5556 if test "x$LINE" != x ; then
5557 eval "DEFAULT_$LINE"
5562 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
5566 eval "$ac_cv_use_ffile"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5571 if test "$wxUSE_FFILE" = yes; then
5572 echo "$as_me:$LINENO: result: yes" >&5
5573 echo "${ECHO_T}yes" >&6
5575 echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6
5581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5584 # Check whether --enable-file or --disable-file was given.
5585 if test "${enable_file+set}" = set; then
5586 enableval="$enable_file"
5588 if test "$enableval" = yes; then
5589 ac_cv_use_file='wxUSE_FILE
=yes'
5591 ac_cv_use_file='wxUSE_FILE
=no
'
5596 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5597 if test "x$LINE" != x ; then
5598 eval "DEFAULT_$LINE"
5603 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
5607 eval "$ac_cv_use_file"
5608 if test "$no_cache" != 1; then
5609 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5612 if test "$wxUSE_FILE" = yes; then
5613 echo "$as_me:$LINENO: result: yes" >&5
5614 echo "${ECHO_T}yes" >&6
5616 echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6
5622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5623 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5625 # Check whether --enable-filesystem or --disable-filesystem was given.
5626 if test "${enable_filesystem+set}" = set; then
5627 enableval="$enable_filesystem"
5629 if test "$enableval" = yes; then
5630 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5632 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5637 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5638 if test "x$LINE" != x ; then
5639 eval "DEFAULT_$LINE"
5644 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5648 eval "$ac_cv_use_filesystem"
5649 if test "$no_cache" != 1; then
5650 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5653 if test "$wxUSE_FILESYSTEM" = yes; then
5654 echo "$as_me:$LINENO: result: yes" >&5
5655 echo "${ECHO_T}yes" >&6
5657 echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6
5663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5664 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5666 # Check whether --enable-fontmap or --disable-fontmap was given.
5667 if test "${enable_fontmap+set}" = set; then
5668 enableval="$enable_fontmap"
5670 if test "$enableval" = yes; then
5671 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
5673 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
5678 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5679 if test "x$LINE" != x ; then
5680 eval "DEFAULT_$LINE"
5685 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
5689 eval "$ac_cv_use_fontmap"
5690 if test "$no_cache" != 1; then
5691 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5694 if test "$wxUSE_FONTMAP" = yes; then
5695 echo "$as_me:$LINENO: result: yes" >&5
5696 echo "${ECHO_T}yes" >&6
5698 echo "$as_me:$LINENO: result: no" >&5
5699 echo "${ECHO_T}no" >&6
5704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5705 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5707 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5708 if test "${enable_fs_archive+set}" = set; then
5709 enableval="$enable_fs_archive"
5711 if test "$enableval" = yes; then
5712 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
5714 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
5719 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5720 if test "x$LINE" != x ; then
5721 eval "DEFAULT_$LINE"
5726 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE
='$DEFAULT_wxUSE_FS_ARCHIVE
5730 eval "$ac_cv_use_fs_archive"
5731 if test "$no_cache" != 1; then
5732 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5735 if test "$wxUSE_FS_ARCHIVE" = yes; then
5736 echo "$as_me:$LINENO: result: yes" >&5
5737 echo "${ECHO_T}yes" >&6
5739 echo "$as_me:$LINENO: result: no" >&5
5740 echo "${ECHO_T}no" >&6
5745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5748 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5749 if test "${enable_fs_inet+set}" = set; then
5750 enableval="$enable_fs_inet"
5752 if test "$enableval" = yes; then
5753 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5755 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5760 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5761 if test "x$LINE" != x ; then
5762 eval "DEFAULT_$LINE"
5767 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5771 eval "$ac_cv_use_fs_inet"
5772 if test "$no_cache" != 1; then
5773 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5776 if test "$wxUSE_FS_INET" = yes; then
5777 echo "$as_me:$LINENO: result: yes" >&5
5778 echo "${ECHO_T}yes" >&6
5780 echo "$as_me:$LINENO: result: no" >&5
5781 echo "${ECHO_T}no" >&6
5786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5787 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5789 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5790 if test "${enable_fs_zip+set}" = set; then
5791 enableval="$enable_fs_zip"
5793 if test "$enableval" = yes; then
5794 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5796 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5801 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x ; then
5803 eval "DEFAULT_$LINE"
5808 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5812 eval "$ac_cv_use_fs_zip"
5813 if test "$no_cache" != 1; then
5814 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5817 if test "$wxUSE_FS_ZIP" = yes; then
5818 echo "$as_me:$LINENO: result: yes" >&5
5819 echo "${ECHO_T}yes" >&6
5821 echo "$as_me:$LINENO: result: no" >&5
5822 echo "${ECHO_T}no" >&6
5827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5828 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5830 # Check whether --enable-geometry or --disable-geometry was given.
5831 if test "${enable_geometry+set}" = set; then
5832 enableval="$enable_geometry"
5834 if test "$enableval" = yes; then
5835 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
5837 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
5842 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x ; then
5844 eval "DEFAULT_$LINE"
5849 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
5853 eval "$ac_cv_use_geometry"
5854 if test "$no_cache" != 1; then
5855 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5858 if test "$wxUSE_GEOMETRY" = yes; then
5859 echo "$as_me:$LINENO: result: yes" >&5
5860 echo "${ECHO_T}yes" >&6
5862 echo "$as_me:$LINENO: result: no" >&5
5863 echo "${ECHO_T}no" >&6
5868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5869 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5871 # Check whether --enable-log or --disable-log was given.
5872 if test "${enable_log+set}" = set; then
5873 enableval="$enable_log"
5875 if test "$enableval" = yes; then
5876 ac_cv_use_log='wxUSE_LOG
=yes'
5878 ac_cv_use_log='wxUSE_LOG
=no
'
5883 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5884 if test "x$LINE" != x ; then
5885 eval "DEFAULT_$LINE"
5890 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
5894 eval "$ac_cv_use_log"
5895 if test "$no_cache" != 1; then
5896 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5899 if test "$wxUSE_LOG" = yes; then
5900 echo "$as_me:$LINENO: result: yes" >&5
5901 echo "${ECHO_T}yes" >&6
5903 echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6
5909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5910 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5912 # Check whether --enable-longlong or --disable-longlong was given.
5913 if test "${enable_longlong+set}" = set; then
5914 enableval="$enable_longlong"
5916 if test "$enableval" = yes; then
5917 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5919 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5924 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5925 if test "x$LINE" != x ; then
5926 eval "DEFAULT_$LINE"
5931 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5935 eval "$ac_cv_use_longlong"
5936 if test "$no_cache" != 1; then
5937 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5940 if test "$wxUSE_LONGLONG" = yes; then
5941 echo "$as_me:$LINENO: result: yes" >&5
5942 echo "${ECHO_T}yes" >&6
5944 echo "$as_me:$LINENO: result: no" >&5
5945 echo "${ECHO_T}no" >&6
5950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5951 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5953 # Check whether --enable-mimetype or --disable-mimetype was given.
5954 if test "${enable_mimetype+set}" = set; then
5955 enableval="$enable_mimetype"
5957 if test "$enableval" = yes; then
5958 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5960 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5965 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5966 if test "x$LINE" != x ; then
5967 eval "DEFAULT_$LINE"
5972 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5976 eval "$ac_cv_use_mimetype"
5977 if test "$no_cache" != 1; then
5978 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5981 if test "$wxUSE_MIMETYPE" = yes; then
5982 echo "$as_me:$LINENO: result: yes" >&5
5983 echo "${ECHO_T}yes" >&6
5985 echo "$as_me:$LINENO: result: no" >&5
5986 echo "${ECHO_T}no" >&6
5991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5992 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5994 # Check whether --enable-mslu or --disable-mslu was given.
5995 if test "${enable_mslu+set}" = set; then
5996 enableval="$enable_mslu"
5998 if test "$enableval" = yes; then
5999 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
6001 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
6006 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x ; then
6008 eval "DEFAULT_$LINE"
6013 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
6017 eval "$ac_cv_use_mslu"
6018 if test "$no_cache" != 1; then
6019 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6022 if test "$wxUSE_UNICODE_MSLU" = yes; then
6023 echo "$as_me:$LINENO: result: yes" >&5
6024 echo "${ECHO_T}yes" >&6
6026 echo "$as_me:$LINENO: result: no" >&5
6027 echo "${ECHO_T}no" >&6
6032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6033 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6
6035 # Check whether --enable-utf8 or --disable-utf8 was given.
6036 if test "${enable_utf8+set}" = set; then
6037 enableval="$enable_utf8"
6039 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6043 LINE=`grep "wxUSE_UNICODE_UTF8" ${wx_arg_cache_file}`
6044 if test "x$LINE" != x ; then
6045 eval "DEFAULT_$LINE"
6050 wx_cv_use_utf8='wxUSE_UNICODE_UTF8
='$DEFAULT_wxUSE_UNICODE_UTF8
6054 eval "$wx_cv_use_utf8"
6055 if test "$no_cache" != 1; then
6056 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6059 echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
6060 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6
6064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
6065 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6
6067 # Check whether --enable-utf8only or --disable-utf8only was given.
6068 if test "${enable_utf8only+set}" = set; then
6069 enableval="$enable_utf8only"
6071 if test "$enableval" = yes; then
6072 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE
=yes'
6074 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE
=no
'
6079 LINE=`grep "wxUSE_UNICODE_UTF8_LOCALE" ${wx_arg_cache_file}`
6080 if test "x$LINE" != x ; then
6081 eval "DEFAULT_$LINE"
6086 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE
='$DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
6090 eval "$ac_cv_use_utf8only"
6091 if test "$no_cache" != 1; then
6092 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
6095 if test "$wxUSE_UNICODE_UTF8_LOCALE" = yes; then
6096 echo "$as_me:$LINENO: result: yes" >&5
6097 echo "${ECHO_T}yes" >&6
6099 echo "$as_me:$LINENO: result: no" >&5
6100 echo "${ECHO_T}no" >&6
6105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6106 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
6108 # Check whether --enable-snglinst or --disable-snglinst was given.
6109 if test "${enable_snglinst+set}" = set; then
6110 enableval="$enable_snglinst"
6112 if test "$enableval" = yes; then
6113 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
6115 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
6120 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6121 if test "x$LINE" != x ; then
6122 eval "DEFAULT_$LINE"
6127 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
6131 eval "$ac_cv_use_snglinst"
6132 if test "$no_cache" != 1; then
6133 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6136 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6137 echo "$as_me:$LINENO: result: yes" >&5
6138 echo "${ECHO_T}yes" >&6
6140 echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6
6146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6147 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6149 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6150 if test "${enable_std_iostreams+set}" = set; then
6151 enableval="$enable_std_iostreams"
6153 if test "$enableval" = yes; then
6154 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
6156 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
6161 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6162 if test "x$LINE" != x ; then
6163 eval "DEFAULT_$LINE"
6168 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
6172 eval "$ac_cv_use_std_iostreams"
6173 if test "$no_cache" != 1; then
6174 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6177 if test "$wxUSE_STD_IOSTREAM" = yes; then
6178 echo "$as_me:$LINENO: result: yes" >&5
6179 echo "${ECHO_T}yes" >&6
6181 echo "$as_me:$LINENO: result: no" >&5
6182 echo "${ECHO_T}no" >&6
6187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6188 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6190 # Check whether --enable-std_string or --disable-std_string was given.
6191 if test "${enable_std_string+set}" = set; then
6192 enableval="$enable_std_string"
6194 if test "$enableval" = yes; then
6195 ac_cv_use_std_string='wxUSE_STD_STRING
=yes'
6197 ac_cv_use_std_string='wxUSE_STD_STRING
=no
'
6202 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6203 if test "x$LINE" != x ; then
6204 eval "DEFAULT_$LINE"
6209 ac_cv_use_std_string='wxUSE_STD_STRING
='$DEFAULT_wxUSE_STD_STRING
6213 eval "$ac_cv_use_std_string"
6214 if test "$no_cache" != 1; then
6215 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6218 if test "$wxUSE_STD_STRING" = yes; then
6219 echo "$as_me:$LINENO: result: yes" >&5
6220 echo "${ECHO_T}yes" >&6
6222 echo "$as_me:$LINENO: result: no" >&5
6223 echo "${ECHO_T}no" >&6
6228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6229 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6231 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6232 if test "${enable_stdpaths+set}" = set; then
6233 enableval="$enable_stdpaths"
6235 if test "$enableval" = yes; then
6236 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
6238 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
6243 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6244 if test "x$LINE" != x ; then
6245 eval "DEFAULT_$LINE"
6250 ac_cv_use_stdpaths='wxUSE_STDPATHS
='$DEFAULT_wxUSE_STDPATHS
6254 eval "$ac_cv_use_stdpaths"
6255 if test "$no_cache" != 1; then
6256 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6259 if test "$wxUSE_STDPATHS" = yes; then
6260 echo "$as_me:$LINENO: result: yes" >&5
6261 echo "${ECHO_T}yes" >&6
6263 echo "$as_me:$LINENO: result: no" >&5
6264 echo "${ECHO_T}no" >&6
6269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6270 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6272 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6273 if test "${enable_stopwatch+set}" = set; then
6274 enableval="$enable_stopwatch"
6276 if test "$enableval" = yes; then
6277 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
6279 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
6284 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6285 if test "x$LINE" != x ; then
6286 eval "DEFAULT_$LINE"
6291 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
6295 eval "$ac_cv_use_stopwatch"
6296 if test "$no_cache" != 1; then
6297 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6300 if test "$wxUSE_STOPWATCH" = yes; then
6301 echo "$as_me:$LINENO: result: yes" >&5
6302 echo "${ECHO_T}yes" >&6
6304 echo "$as_me:$LINENO: result: no" >&5
6305 echo "${ECHO_T}no" >&6
6310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6311 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6313 # Check whether --enable-streams or --disable-streams was given.
6314 if test "${enable_streams+set}" = set; then
6315 enableval="$enable_streams"
6317 if test "$enableval" = yes; then
6318 ac_cv_use_streams='wxUSE_STREAMS
=yes'
6320 ac_cv_use_streams='wxUSE_STREAMS
=no
'
6325 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6326 if test "x$LINE" != x ; then
6327 eval "DEFAULT_$LINE"
6332 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
6336 eval "$ac_cv_use_streams"
6337 if test "$no_cache" != 1; then
6338 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6341 if test "$wxUSE_STREAMS" = yes; then
6342 echo "$as_me:$LINENO: result: yes" >&5
6343 echo "${ECHO_T}yes" >&6
6345 echo "$as_me:$LINENO: result: no" >&5
6346 echo "${ECHO_T}no" >&6
6351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6352 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6354 # Check whether --enable-system_options or --disable-system_options was given.
6355 if test "${enable_system_options+set}" = set; then
6356 enableval="$enable_system_options"
6358 if test "$enableval" = yes; then
6359 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
6361 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
6366 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6367 if test "x$LINE" != x ; then
6368 eval "DEFAULT_$LINE"
6373 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6377 eval "$ac_cv_use_system_options"
6378 if test "$no_cache" != 1; then
6379 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6382 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6383 echo "$as_me:$LINENO: result: yes" >&5
6384 echo "${ECHO_T}yes" >&6
6386 echo "$as_me:$LINENO: result: no" >&5
6387 echo "${ECHO_T}no" >&6
6392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6393 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6395 # Check whether --enable-tarstream or --disable-tarstream was given.
6396 if test "${enable_tarstream+set}" = set; then
6397 enableval="$enable_tarstream"
6399 if test "$enableval" = yes; then
6400 ac_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
6402 ac_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
6407 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6408 if test "x$LINE" != x ; then
6409 eval "DEFAULT_$LINE"
6414 ac_cv_use_tarstream='wxUSE_TARSTREAM
='$DEFAULT_wxUSE_TARSTREAM
6418 eval "$ac_cv_use_tarstream"
6419 if test "$no_cache" != 1; then
6420 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6423 if test "$wxUSE_TARSTREAM" = yes; then
6424 echo "$as_me:$LINENO: result: yes" >&5
6425 echo "${ECHO_T}yes" >&6
6427 echo "$as_me:$LINENO: result: no" >&5
6428 echo "${ECHO_T}no" >&6
6433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6436 # Check whether --enable-textbuf or --disable-textbuf was given.
6437 if test "${enable_textbuf+set}" = set; then
6438 enableval="$enable_textbuf"
6440 if test "$enableval" = yes; then
6441 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
6443 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
6448 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6449 if test "x$LINE" != x ; then
6450 eval "DEFAULT_$LINE"
6455 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
6459 eval "$ac_cv_use_textbuf"
6460 if test "$no_cache" != 1; then
6461 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6464 if test "$wxUSE_TEXTBUFFER" = yes; then
6465 echo "$as_me:$LINENO: result: yes" >&5
6466 echo "${ECHO_T}yes" >&6
6468 echo "$as_me:$LINENO: result: no" >&5
6469 echo "${ECHO_T}no" >&6
6474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6475 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6477 # Check whether --enable-textfile or --disable-textfile was given.
6478 if test "${enable_textfile+set}" = set; then
6479 enableval="$enable_textfile"
6481 if test "$enableval" = yes; then
6482 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
6484 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
6489 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6490 if test "x$LINE" != x ; then
6491 eval "DEFAULT_$LINE"
6496 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
6500 eval "$ac_cv_use_textfile"
6501 if test "$no_cache" != 1; then
6502 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6505 if test "$wxUSE_TEXTFILE" = yes; then
6506 echo "$as_me:$LINENO: result: yes" >&5
6507 echo "${ECHO_T}yes" >&6
6509 echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6
6515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6518 # Check whether --enable-timer or --disable-timer was given.
6519 if test "${enable_timer+set}" = set; then
6520 enableval="$enable_timer"
6522 if test "$enableval" = yes; then
6523 ac_cv_use_timer='wxUSE_TIMER
=yes'
6525 ac_cv_use_timer='wxUSE_TIMER
=no
'
6530 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6531 if test "x$LINE" != x ; then
6532 eval "DEFAULT_$LINE"
6537 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
6541 eval "$ac_cv_use_timer"
6542 if test "$no_cache" != 1; then
6543 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6546 if test "$wxUSE_TIMER" = yes; then
6547 echo "$as_me:$LINENO: result: yes" >&5
6548 echo "${ECHO_T}yes" >&6
6550 echo "$as_me:$LINENO: result: no" >&5
6551 echo "${ECHO_T}no" >&6
6556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6559 # Check whether --enable-unicode or --disable-unicode was given.
6560 if test "${enable_unicode+set}" = set; then
6561 enableval="$enable_unicode"
6563 if test "$enableval" = yes; then
6564 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
6566 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
6571 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6572 if test "x$LINE" != x ; then
6573 eval "DEFAULT_$LINE"
6578 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
6582 eval "$ac_cv_use_unicode"
6583 if test "$no_cache" != 1; then
6584 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6587 if test "$wxUSE_UNICODE" = yes; then
6588 echo "$as_me:$LINENO: result: yes" >&5
6589 echo "${ECHO_T}yes" >&6
6591 echo "$as_me:$LINENO: result: no" >&5
6592 echo "${ECHO_T}no" >&6
6597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6600 # Check whether --enable-sound or --disable-sound was given.
6601 if test "${enable_sound+set}" = set; then
6602 enableval="$enable_sound"
6604 if test "$enableval" = yes; then
6605 ac_cv_use_sound='wxUSE_SOUND
=yes'
6607 ac_cv_use_sound='wxUSE_SOUND
=no
'
6612 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6613 if test "x$LINE" != x ; then
6614 eval "DEFAULT_$LINE"
6619 ac_cv_use_sound='wxUSE_SOUND
='$DEFAULT_wxUSE_SOUND
6623 eval "$ac_cv_use_sound"
6624 if test "$no_cache" != 1; then
6625 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6628 if test "$wxUSE_SOUND" = yes; then
6629 echo "$as_me:$LINENO: result: yes" >&5
6630 echo "${ECHO_T}yes" >&6
6632 echo "$as_me:$LINENO: result: no" >&5
6633 echo "${ECHO_T}no" >&6
6638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6641 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6642 if test "${enable_mediactrl+set}" = set; then
6643 enableval="$enable_mediactrl"
6645 if test "$enableval" = yes; then
6646 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
6648 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
6653 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6654 if test "x$LINE" != x ; then
6655 eval "DEFAULT_$LINE"
6660 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
='$DEFAULT_wxUSE_MEDIACTRL
6664 eval "$ac_cv_use_mediactrl"
6665 if test "$no_cache" != 1; then
6666 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6669 if test "$wxUSE_MEDIACTRL" = yes; then
6670 echo "$as_me:$LINENO: result: yes" >&5
6671 echo "${ECHO_T}yes" >&6
6673 echo "$as_me:$LINENO: result: no" >&5
6674 echo "${ECHO_T}no" >&6
6679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6680 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6682 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6683 if test "${enable_gstreamer8+set}" = set; then
6684 enableval="$enable_gstreamer8"
6686 if test "$enableval" = yes; then
6687 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
6689 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
6694 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6695 if test "x$LINE" != x ; then
6696 eval "DEFAULT_$LINE"
6701 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8
='$DEFAULT_wxUSE_GSTREAMER8
6705 eval "$ac_cv_use_gstreamer8"
6706 if test "$no_cache" != 1; then
6707 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6710 if test "$wxUSE_GSTREAMER8" = yes; then
6711 echo "$as_me:$LINENO: result: yes" >&5
6712 echo "${ECHO_T}yes" >&6
6714 echo "$as_me:$LINENO: result: no" >&5
6715 echo "${ECHO_T}no" >&6
6720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6721 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6723 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6724 if test "${enable_printfposparam+set}" = set; then
6725 enableval="$enable_printfposparam"
6727 if test "$enableval" = yes; then
6728 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
6730 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
6735 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6736 if test "x$LINE" != x ; then
6737 eval "DEFAULT_$LINE"
6742 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6746 eval "$ac_cv_use_printfposparam"
6747 if test "$no_cache" != 1; then
6748 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6751 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6752 echo "$as_me:$LINENO: result: yes" >&5
6753 echo "${ECHO_T}yes" >&6
6755 echo "$as_me:$LINENO: result: no" >&5
6756 echo "${ECHO_T}no" >&6
6761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6764 # Check whether --enable-zipstream or --disable-zipstream was given.
6765 if test "${enable_zipstream+set}" = set; then
6766 enableval="$enable_zipstream"
6768 if test "$enableval" = yes; then
6769 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
6771 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
6776 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x ; then
6778 eval "DEFAULT_$LINE"
6783 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
6787 eval "$ac_cv_use_zipstream"
6788 if test "$no_cache" != 1; then
6789 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6792 if test "$wxUSE_ZIPSTREAM" = yes; then
6793 echo "$as_me:$LINENO: result: yes" >&5
6794 echo "${ECHO_T}yes" >&6
6796 echo "$as_me:$LINENO: result: no" >&5
6797 echo "${ECHO_T}no" >&6
6803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6804 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6806 # Check whether --enable-url or --disable-url was given.
6807 if test "${enable_url+set}" = set; then
6808 enableval="$enable_url"
6810 if test "$enableval" = yes; then
6811 ac_cv_use_url='wxUSE_URL
=yes'
6813 ac_cv_use_url='wxUSE_URL
=no
'
6818 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6819 if test "x$LINE" != x ; then
6820 eval "DEFAULT_$LINE"
6825 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
6829 eval "$ac_cv_use_url"
6830 if test "$no_cache" != 1; then
6831 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6834 if test "$wxUSE_URL" = yes; then
6835 echo "$as_me:$LINENO: result: yes" >&5
6836 echo "${ECHO_T}yes" >&6
6838 echo "$as_me:$LINENO: result: no" >&5
6839 echo "${ECHO_T}no" >&6
6844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6845 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6847 # Check whether --enable-variant or --disable-variant was given.
6848 if test "${enable_variant+set}" = set; then
6849 enableval="$enable_variant"
6851 if test "$enableval" = yes; then
6852 ac_cv_use_variant='wxUSE_VARIANT
=yes'
6854 ac_cv_use_variant='wxUSE_VARIANT
=no
'
6859 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6860 if test "x$LINE" != x ; then
6861 eval "DEFAULT_$LINE"
6866 ac_cv_use_variant='wxUSE_VARIANT
='$DEFAULT_wxUSE_VARIANT
6870 eval "$ac_cv_use_variant"
6871 if test "$no_cache" != 1; then
6872 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6875 if test "$wxUSE_VARIANT" = yes; then
6876 echo "$as_me:$LINENO: result: yes" >&5
6877 echo "${ECHO_T}yes" >&6
6879 echo "$as_me:$LINENO: result: no" >&5
6880 echo "${ECHO_T}no" >&6
6885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6888 # Check whether --enable-protocol or --disable-protocol was given.
6889 if test "${enable_protocol+set}" = set; then
6890 enableval="$enable_protocol"
6892 if test "$enableval" = yes; then
6893 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
6895 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
6900 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x ; then
6902 eval "DEFAULT_$LINE"
6907 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
6911 eval "$ac_cv_use_protocol"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6916 if test "$wxUSE_PROTOCOL" = yes; then
6917 echo "$as_me:$LINENO: result: yes" >&5
6918 echo "${ECHO_T}yes" >&6
6920 echo "$as_me:$LINENO: result: no" >&5
6921 echo "${ECHO_T}no" >&6
6926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6927 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6929 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6930 if test "${enable_protocol_http+set}" = set; then
6931 enableval="$enable_protocol_http"
6933 if test "$enableval" = yes; then
6934 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
6936 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
6941 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6942 if test "x$LINE" != x ; then
6943 eval "DEFAULT_$LINE"
6948 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
6952 eval "$ac_cv_use_protocol_http"
6953 if test "$no_cache" != 1; then
6954 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6957 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6958 echo "$as_me:$LINENO: result: yes" >&5
6959 echo "${ECHO_T}yes" >&6
6961 echo "$as_me:$LINENO: result: no" >&5
6962 echo "${ECHO_T}no" >&6
6967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6968 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6970 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6971 if test "${enable_protocol_ftp+set}" = set; then
6972 enableval="$enable_protocol_ftp"
6974 if test "$enableval" = yes; then
6975 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
6977 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
6982 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6983 if test "x$LINE" != x ; then
6984 eval "DEFAULT_$LINE"
6989 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
6993 eval "$ac_cv_use_protocol_ftp"
6994 if test "$no_cache" != 1; then
6995 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6998 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6999 echo "$as_me:$LINENO: result: yes" >&5
7000 echo "${ECHO_T}yes" >&6
7002 echo "$as_me:$LINENO: result: no" >&5
7003 echo "${ECHO_T}no" >&6
7008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7009 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
7011 # Check whether --enable-protocol_file or --disable-protocol_file was given.
7012 if test "${enable_protocol_file+set}" = set; then
7013 enableval="$enable_protocol_file"
7015 if test "$enableval" = yes; then
7016 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
7018 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
7023 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7024 if test "x$LINE" != x ; then
7025 eval "DEFAULT_$LINE"
7030 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
7034 eval "$ac_cv_use_protocol_file"
7035 if test "$no_cache" != 1; then
7036 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7039 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7040 echo "$as_me:$LINENO: result: yes" >&5
7041 echo "${ECHO_T}yes" >&6
7043 echo "$as_me:$LINENO: result: no" >&5
7044 echo "${ECHO_T}no" >&6
7052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7053 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
7055 # Check whether --enable-threads or --disable-threads was given.
7056 if test "${enable_threads+set}" = set; then
7057 enableval="$enable_threads"
7059 if test "$enableval" = yes; then
7060 ac_cv_use_threads='wxUSE_THREADS
=yes'
7062 ac_cv_use_threads='wxUSE_THREADS
=no
'
7067 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7068 if test "x$LINE" != x ; then
7069 eval "DEFAULT_$LINE"
7074 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
7078 eval "$ac_cv_use_threads"
7079 if test "$no_cache" != 1; then
7080 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7083 if test "$wxUSE_THREADS" = yes; then
7084 echo "$as_me:$LINENO: result: yes" >&5
7085 echo "${ECHO_T}yes" >&6
7087 echo "$as_me:$LINENO: result: no" >&5
7088 echo "${ECHO_T}no" >&6
7092 if test "$wxUSE_GUI" = "yes"; then
7097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7098 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
7100 # Check whether --enable-docview or --disable-docview was given.
7101 if test "${enable_docview+set}" = set; then
7102 enableval="$enable_docview"
7104 if test "$enableval" = yes; then
7105 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
7107 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
7112 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x ; then
7114 eval "DEFAULT_$LINE"
7119 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7123 eval "$ac_cv_use_docview"
7124 if test "$no_cache" != 1; then
7125 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7128 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7129 echo "$as_me:$LINENO: result: yes" >&5
7130 echo "${ECHO_T}yes" >&6
7132 echo "$as_me:$LINENO: result: no" >&5
7133 echo "${ECHO_T}no" >&6
7138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7141 # Check whether --enable-help or --disable-help was given.
7142 if test "${enable_help+set}" = set; then
7143 enableval="$enable_help"
7145 if test "$enableval" = yes; then
7146 ac_cv_use_help='wxUSE_HELP
=yes'
7148 ac_cv_use_help='wxUSE_HELP
=no
'
7153 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7154 if test "x$LINE" != x ; then
7155 eval "DEFAULT_$LINE"
7160 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
7164 eval "$ac_cv_use_help"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7169 if test "$wxUSE_HELP" = yes; then
7170 echo "$as_me:$LINENO: result: yes" >&5
7171 echo "${ECHO_T}yes" >&6
7173 echo "$as_me:$LINENO: result: no" >&5
7174 echo "${ECHO_T}no" >&6
7179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7182 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7183 if test "${enable_mshtmlhelp+set}" = set; then
7184 enableval="$enable_mshtmlhelp"
7186 if test "$enableval" = yes; then
7187 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
7189 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
7194 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7195 if test "x$LINE" != x ; then
7196 eval "DEFAULT_$LINE"
7201 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
7205 eval "$ac_cv_use_mshtmlhelp"
7206 if test "$no_cache" != 1; then
7207 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7210 if test "$wxUSE_MS_HTML_HELP" = yes; then
7211 echo "$as_me:$LINENO: result: yes" >&5
7212 echo "${ECHO_T}yes" >&6
7214 echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6
7220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7223 # Check whether --enable-html or --disable-html was given.
7224 if test "${enable_html+set}" = set; then
7225 enableval="$enable_html"
7227 if test "$enableval" = yes; then
7228 ac_cv_use_html='wxUSE_HTML
=yes'
7230 ac_cv_use_html='wxUSE_HTML
=no
'
7235 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x ; then
7237 eval "DEFAULT_$LINE"
7242 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
7246 eval "$ac_cv_use_html"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7251 if test "$wxUSE_HTML" = yes; then
7252 echo "$as_me:$LINENO: result: yes" >&5
7253 echo "${ECHO_T}yes" >&6
7255 echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6
7261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7264 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7265 if test "${enable_htmlhelp+set}" = set; then
7266 enableval="$enable_htmlhelp"
7268 if test "$enableval" = yes; then
7269 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
7271 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
7276 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7277 if test "x$LINE" != x ; then
7278 eval "DEFAULT_$LINE"
7283 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
7287 eval "$ac_cv_use_htmlhelp"
7288 if test "$no_cache" != 1; then
7289 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7292 if test "$wxUSE_WXHTML_HELP" = yes; then
7293 echo "$as_me:$LINENO: result: yes" >&5
7294 echo "${ECHO_T}yes" >&6
7296 echo "$as_me:$LINENO: result: no" >&5
7297 echo "${ECHO_T}no" >&6
7302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7305 # Check whether --enable-xrc or --disable-xrc was given.
7306 if test "${enable_xrc+set}" = set; then
7307 enableval="$enable_xrc"
7309 if test "$enableval" = yes; then
7310 ac_cv_use_xrc='wxUSE_XRC
=yes'
7312 ac_cv_use_xrc='wxUSE_XRC
=no
'
7317 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7318 if test "x$LINE" != x ; then
7319 eval "DEFAULT_$LINE"
7324 ac_cv_use_xrc='wxUSE_XRC
='$DEFAULT_wxUSE_XRC
7328 eval "$ac_cv_use_xrc"
7329 if test "$no_cache" != 1; then
7330 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7333 if test "$wxUSE_XRC" = yes; then
7334 echo "$as_me:$LINENO: result: yes" >&5
7335 echo "${ECHO_T}yes" >&6
7337 echo "$as_me:$LINENO: result: no" >&5
7338 echo "${ECHO_T}no" >&6
7343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7346 # Check whether --enable-aui or --disable-aui was given.
7347 if test "${enable_aui+set}" = set; then
7348 enableval="$enable_aui"
7350 if test "$enableval" = yes; then
7351 ac_cv_use_aui='wxUSE_AUI
=yes'
7353 ac_cv_use_aui='wxUSE_AUI
=no
'
7358 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7359 if test "x$LINE" != x ; then
7360 eval "DEFAULT_$LINE"
7365 ac_cv_use_aui='wxUSE_AUI
='$DEFAULT_wxUSE_AUI
7369 eval "$ac_cv_use_aui"
7370 if test "$no_cache" != 1; then
7371 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7374 if test "$wxUSE_AUI" = yes; then
7375 echo "$as_me:$LINENO: result: yes" >&5
7376 echo "${ECHO_T}yes" >&6
7378 echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6
7384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6
7387 # Check whether --enable-stc or --disable-stc was given.
7388 if test "${enable_stc+set}" = set; then
7389 enableval="$enable_stc"
7391 if test "$enableval" = yes; then
7392 ac_cv_use_stc='wxUSE_STC
=yes'
7394 ac_cv_use_stc='wxUSE_STC
=no
'
7399 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7400 if test "x$LINE" != x ; then
7401 eval "DEFAULT_$LINE"
7406 ac_cv_use_stc='wxUSE_STC
='$DEFAULT_wxUSE_STC
7410 eval "$ac_cv_use_stc"
7411 if test "$no_cache" != 1; then
7412 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
7415 if test "$wxUSE_STC" = yes; then
7416 echo "$as_me:$LINENO: result: yes" >&5
7417 echo "${ECHO_T}yes" >&6
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7426 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7428 # Check whether --enable-constraints or --disable-constraints was given.
7429 if test "${enable_constraints+set}" = set; then
7430 enableval="$enable_constraints"
7432 if test "$enableval" = yes; then
7433 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
7435 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
7440 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x ; then
7442 eval "DEFAULT_$LINE"
7447 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
7451 eval "$ac_cv_use_constraints"
7452 if test "$no_cache" != 1; then
7453 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7456 if test "$wxUSE_CONSTRAINTS" = yes; then
7457 echo "$as_me:$LINENO: result: yes" >&5
7458 echo "${ECHO_T}yes" >&6
7460 echo "$as_me:$LINENO: result: no" >&5
7461 echo "${ECHO_T}no" >&6
7466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7469 # Check whether --enable-printarch or --disable-printarch was given.
7470 if test "${enable_printarch+set}" = set; then
7471 enableval="$enable_printarch"
7473 if test "$enableval" = yes; then
7474 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
7476 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
7481 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7488 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7492 eval "$ac_cv_use_printarch"
7493 if test "$no_cache" != 1; then
7494 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7497 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7498 echo "$as_me:$LINENO: result: yes" >&5
7499 echo "${ECHO_T}yes" >&6
7501 echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6
7507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7510 # Check whether --enable-mdi or --disable-mdi was given.
7511 if test "${enable_mdi+set}" = set; then
7512 enableval="$enable_mdi"
7514 if test "$enableval" = yes; then
7515 ac_cv_use_mdi='wxUSE_MDI
=yes'
7517 ac_cv_use_mdi='wxUSE_MDI
=no
'
7522 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x ; then
7524 eval "DEFAULT_$LINE"
7529 ac_cv_use_mdi='wxUSE_MDI
='$DEFAULT_wxUSE_MDI
7533 eval "$ac_cv_use_mdi"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7538 if test "$wxUSE_MDI" = yes; then
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7542 echo "$as_me:$LINENO: result: no" >&5
7543 echo "${ECHO_T}no" >&6
7548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7549 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7551 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7552 if test "${enable_mdidoc+set}" = set; then
7553 enableval="$enable_mdidoc"
7555 if test "$enableval" = yes; then
7556 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
7558 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
7563 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x ; then
7565 eval "DEFAULT_$LINE"
7570 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7574 eval "$ac_cv_use_mdidoc"
7575 if test "$no_cache" != 1; then
7576 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7579 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7580 echo "$as_me:$LINENO: result: yes" >&5
7581 echo "${ECHO_T}yes" >&6
7583 echo "$as_me:$LINENO: result: no" >&5
7584 echo "${ECHO_T}no" >&6
7589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7592 # Check whether --enable-loggui or --disable-loggui was given.
7593 if test "${enable_loggui+set}" = set; then
7594 enableval="$enable_loggui"
7596 if test "$enableval" = yes; then
7597 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
7599 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
7604 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x ; then
7606 eval "DEFAULT_$LINE"
7611 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
7615 eval "$ac_cv_use_loggui"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7620 if test "$wxUSE_LOGGUI" = yes; then
7621 echo "$as_me:$LINENO: result: yes" >&5
7622 echo "${ECHO_T}yes" >&6
7624 echo "$as_me:$LINENO: result: no" >&5
7625 echo "${ECHO_T}no" >&6
7630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7631 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7633 # Check whether --enable-logwin or --disable-logwin was given.
7634 if test "${enable_logwin+set}" = set; then
7635 enableval="$enable_logwin"
7637 if test "$enableval" = yes; then
7638 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
7640 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
7645 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7646 if test "x$LINE" != x ; then
7647 eval "DEFAULT_$LINE"
7652 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
7656 eval "$ac_cv_use_logwin"
7657 if test "$no_cache" != 1; then
7658 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7661 if test "$wxUSE_LOGWINDOW" = yes; then
7662 echo "$as_me:$LINENO: result: yes" >&5
7663 echo "${ECHO_T}yes" >&6
7665 echo "$as_me:$LINENO: result: no" >&5
7666 echo "${ECHO_T}no" >&6
7671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7672 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7674 # Check whether --enable-logdialog or --disable-logdialog was given.
7675 if test "${enable_logdialog+set}" = set; then
7676 enableval="$enable_logdialog"
7678 if test "$enableval" = yes; then
7679 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
7681 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
7686 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7687 if test "x$LINE" != x ; then
7688 eval "DEFAULT_$LINE"
7693 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
7697 eval "$ac_cv_use_logdialog"
7698 if test "$no_cache" != 1; then
7699 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7702 if test "$wxUSE_LOGDIALOG" = yes; then
7703 echo "$as_me:$LINENO: result: yes" >&5
7704 echo "${ECHO_T}yes" >&6
7706 echo "$as_me:$LINENO: result: no" >&5
7707 echo "${ECHO_T}no" >&6
7712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7713 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7715 # Check whether --enable-webkit or --disable-webkit was given.
7716 if test "${enable_webkit+set}" = set; then
7717 enableval="$enable_webkit"
7719 if test "$enableval" = yes; then
7720 ac_cv_use_webkit='wxUSE_WEBKIT
=yes'
7722 ac_cv_use_webkit='wxUSE_WEBKIT
=no
'
7727 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7728 if test "x$LINE" != x ; then
7729 eval "DEFAULT_$LINE"
7734 ac_cv_use_webkit='wxUSE_WEBKIT
='$DEFAULT_wxUSE_WEBKIT
7738 eval "$ac_cv_use_webkit"
7739 if test "$no_cache" != 1; then
7740 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7743 if test "$wxUSE_WEBKIT" = yes; then
7744 echo "$as_me:$LINENO: result: yes" >&5
7745 echo "${ECHO_T}yes" >&6
7747 echo "$as_me:$LINENO: result: no" >&5
7748 echo "${ECHO_T}no" >&6
7753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7756 # Check whether --enable-richtext or --disable-richtext was given.
7757 if test "${enable_richtext+set}" = set; then
7758 enableval="$enable_richtext"
7760 if test "$enableval" = yes; then
7761 ac_cv_use_richtext='wxUSE_RICHTEXT
=yes'
7763 ac_cv_use_richtext='wxUSE_RICHTEXT
=no
'
7768 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7769 if test "x$LINE" != x ; then
7770 eval "DEFAULT_$LINE"
7775 ac_cv_use_richtext='wxUSE_RICHTEXT
='$DEFAULT_wxUSE_RICHTEXT
7779 eval "$ac_cv_use_richtext"
7780 if test "$no_cache" != 1; then
7781 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7784 if test "$wxUSE_RICHTEXT" = yes; then
7785 echo "$as_me:$LINENO: result: yes" >&5
7786 echo "${ECHO_T}yes" >&6
7788 echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6
7794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7797 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7798 if test "${enable_graphics_ctx+set}" = set; then
7799 enableval="$enable_graphics_ctx"
7801 if test "$enableval" = yes; then
7802 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
7804 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
7809 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x ; then
7811 eval "DEFAULT_$LINE"
7816 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7820 eval "$ac_cv_use_graphics_ctx"
7821 if test "$no_cache" != 1; then
7822 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7825 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7826 echo "$as_me:$LINENO: result: yes" >&5
7827 echo "${ECHO_T}yes" >&6
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7839 # Check whether --enable-postscript or --disable-postscript was given.
7840 if test "${enable_postscript+set}" = set; then
7841 enableval="$enable_postscript"
7843 if test "$enableval" = yes; then
7844 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
7846 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
7851 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7852 if test "x$LINE" != x ; then
7853 eval "DEFAULT_$LINE"
7858 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
7862 eval "$ac_cv_use_postscript"
7863 if test "$no_cache" != 1; then
7864 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7867 if test "$wxUSE_POSTSCRIPT" = yes; then
7868 echo "$as_me:$LINENO: result: yes" >&5
7869 echo "${ECHO_T}yes" >&6
7871 echo "$as_me:$LINENO: result: no" >&5
7872 echo "${ECHO_T}no" >&6
7880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7881 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7883 # Check whether --enable-clipboard or --disable-clipboard was given.
7884 if test "${enable_clipboard+set}" = set; then
7885 enableval="$enable_clipboard"
7887 if test "$enableval" = yes; then
7888 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
7890 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
7895 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7896 if test "x$LINE" != x ; then
7897 eval "DEFAULT_$LINE"
7902 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
7906 eval "$ac_cv_use_clipboard"
7907 if test "$no_cache" != 1; then
7908 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7911 if test "$wxUSE_CLIPBOARD" = yes; then
7912 echo "$as_me:$LINENO: result: yes" >&5
7913 echo "${ECHO_T}yes" >&6
7915 echo "$as_me:$LINENO: result: no" >&5
7916 echo "${ECHO_T}no" >&6
7921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7922 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7924 # Check whether --enable-dnd or --disable-dnd was given.
7925 if test "${enable_dnd+set}" = set; then
7926 enableval="$enable_dnd"
7928 if test "$enableval" = yes; then
7929 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
7931 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
7936 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7937 if test "x$LINE" != x ; then
7938 eval "DEFAULT_$LINE"
7943 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
7947 eval "$ac_cv_use_dnd"
7948 if test "$no_cache" != 1; then
7949 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7952 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7953 echo "$as_me:$LINENO: result: yes" >&5
7954 echo "${ECHO_T}yes" >&6
7956 echo "$as_me:$LINENO: result: no" >&5
7957 echo "${ECHO_T}no" >&6
7962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7963 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7965 # Check whether --enable-metafile or --disable-metafile was given.
7966 if test "${enable_metafile+set}" = set; then
7967 enableval="$enable_metafile"
7969 if test "$enableval" = yes; then
7970 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
7972 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
7977 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7978 if test "x$LINE" != x ; then
7979 eval "DEFAULT_$LINE"
7984 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
7988 eval "$ac_cv_use_metafile"
7989 if test "$no_cache" != 1; then
7990 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7993 if test "$wxUSE_METAFILE" = yes; then
7994 echo "$as_me:$LINENO: result: yes" >&5
7995 echo "${ECHO_T}yes" >&6
7997 echo "$as_me:$LINENO: result: no" >&5
7998 echo "${ECHO_T}no" >&6
8006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8007 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
8009 # Check whether --enable-controls or --disable-controls was given.
8010 if test "${enable_controls+set}" = set; then
8011 enableval="$enable_controls"
8013 if test "$enableval" = yes; then
8014 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
8016 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
8021 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8022 if test "x$LINE" != x ; then
8023 eval "DEFAULT_$LINE"
8028 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
8032 eval "$ac_cv_use_controls"
8033 if test "$no_cache" != 1; then
8034 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8037 if test "$wxUSE_CONTROLS" = yes; then
8038 echo "$as_me:$LINENO: result: yes" >&5
8039 echo "${ECHO_T}yes" >&6
8041 echo "$as_me:$LINENO: result: no" >&5
8042 echo "${ECHO_T}no" >&6
8046 if test "$wxUSE_CONTROLS" = "yes"; then
8047 DEFAULT_wxUSE_ACCEL=yes
8048 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8049 DEFAULT_wxUSE_BMPBUTTON=yes
8050 DEFAULT_wxUSE_BUTTON=yes
8051 DEFAULT_wxUSE_CALCTRL=yes
8052 DEFAULT_wxUSE_CARET=yes
8053 DEFAULT_wxUSE_COMBOBOX=yes
8054 DEFAULT_wxUSE_CHECKBOX=yes
8055 DEFAULT_wxUSE_CHECKLISTBOX=yes
8056 DEFAULT_wxUSE_CHOICE=yes
8057 DEFAULT_wxUSE_CHOICEBOOK=yes
8058 DEFAULT_wxUSE_COLLPANE=yes
8059 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8060 DEFAULT_wxUSE_COMBOBOX=yes
8061 DEFAULT_wxUSE_DATEPICKCTRL=yes
8062 DEFAULT_wxUSE_DISPLAY=yes
8063 DEFAULT_wxUSE_DETECT_SM=yes
8064 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8065 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8066 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8067 DEFAULT_wxUSE_GAUGE=yes
8068 DEFAULT_wxUSE_GRID=yes
8069 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8070 DEFAULT_wxUSE_DATAVIEWCTRL=no
8071 DEFAULT_wxUSE_IMAGLIST=yes
8072 DEFAULT_wxUSE_LISTBOOK=yes
8073 DEFAULT_wxUSE_LISTBOX=yes
8074 DEFAULT_wxUSE_LISTCTRL=yes
8075 DEFAULT_wxUSE_NOTEBOOK=yes
8076 DEFAULT_wxUSE_RADIOBOX=yes
8077 DEFAULT_wxUSE_RADIOBTN=yes
8078 DEFAULT_wxUSE_SASH=yes
8079 DEFAULT_wxUSE_SCROLLBAR=yes
8080 DEFAULT_wxUSE_SEARCHCTRL=yes
8081 DEFAULT_wxUSE_SLIDER=yes
8082 DEFAULT_wxUSE_SPINBTN=yes
8083 DEFAULT_wxUSE_SPINCTRL=yes
8084 DEFAULT_wxUSE_SPLITTER=yes
8085 DEFAULT_wxUSE_STATBMP=yes
8086 DEFAULT_wxUSE_STATBOX=yes
8087 DEFAULT_wxUSE_STATLINE=yes
8088 DEFAULT_wxUSE_STATUSBAR=yes
8089 DEFAULT_wxUSE_TAB_DIALOG=yes
8090 DEFAULT_wxUSE_TOGGLEBTN=yes
8091 DEFAULT_wxUSE_TOOLBAR=yes
8092 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8093 DEFAULT_wxUSE_TOOLTIPS=yes
8094 DEFAULT_wxUSE_TREEBOOK=yes
8095 DEFAULT_wxUSE_TOOLBOOK=yes
8096 DEFAULT_wxUSE_TREECTRL=yes
8097 DEFAULT_wxUSE_POPUPWIN=yes
8098 DEFAULT_wxUSE_TIPWINDOW=yes
8099 elif test "$wxUSE_CONTROLS" = "no"; then
8100 DEFAULT_wxUSE_ACCEL=no
8101 DEFAULT_wxUSE_ANIMATIONCTRL=no
8102 DEFAULT_wxUSE_BMPBUTTON=no
8103 DEFAULT_wxUSE_BUTTON=no
8104 DEFAULT_wxUSE_CALCTRL=no
8105 DEFAULT_wxUSE_CARET=no
8106 DEFAULT_wxUSE_COLLPANE=no
8107 DEFAULT_wxUSE_COMBOBOX=no
8108 DEFAULT_wxUSE_CHECKBOX=no
8109 DEFAULT_wxUSE_CHECKLISTBOX=no
8110 DEFAULT_wxUSE_CHOICE=no
8111 DEFAULT_wxUSE_CHOICEBOOK=no
8112 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8113 DEFAULT_wxUSE_COMBOBOX=no
8114 DEFAULT_wxUSE_DATEPICKCTRL=no
8115 DEFAULT_wxUSE_DISPLAY=no
8116 DEFAULT_wxUSE_DETECT_SM=no
8117 DEFAULT_wxUSE_DIRPICKERCTRL=no
8118 DEFAULT_wxUSE_FILEPICKERCTRL=no
8119 DEFAULT_wxUSE_FONTPICKERCTRL=no
8120 DEFAULT_wxUSE_GAUGE=no
8121 DEFAULT_wxUSE_GRID=no
8122 DEFAULT_wxUSE_HYPERLINKCTRL=no
8123 DEFAULT_wxUSE_DATAVIEWCTRL=no
8124 DEFAULT_wxUSE_IMAGLIST=no
8125 DEFAULT_wxUSE_LISTBOOK=no
8126 DEFAULT_wxUSE_LISTBOX=no
8127 DEFAULT_wxUSE_LISTCTRL=no
8128 DEFAULT_wxUSE_NOTEBOOK=no
8129 DEFAULT_wxUSE_RADIOBOX=no
8130 DEFAULT_wxUSE_RADIOBTN=no
8131 DEFAULT_wxUSE_SASH=no
8132 DEFAULT_wxUSE_SCROLLBAR=no
8133 DEFAULT_wxUSE_SEARCHCTRL=no
8134 DEFAULT_wxUSE_SLIDER=no
8135 DEFAULT_wxUSE_SPINBTN=no
8136 DEFAULT_wxUSE_SPINCTRL=no
8137 DEFAULT_wxUSE_SPLITTER=no
8138 DEFAULT_wxUSE_STATBMP=no
8139 DEFAULT_wxUSE_STATBOX=no
8140 DEFAULT_wxUSE_STATLINE=no
8141 DEFAULT_wxUSE_STATUSBAR=no
8142 DEFAULT_wxUSE_TAB_DIALOG=no
8143 DEFAULT_wxUSE_TOGGLEBTN=no
8144 DEFAULT_wxUSE_TOOLBAR=no
8145 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8146 DEFAULT_wxUSE_TOOLTIPS=no
8147 DEFAULT_wxUSE_TREEBOOK=no
8148 DEFAULT_wxUSE_TOOLBOOK=no
8149 DEFAULT_wxUSE_TREECTRL=no
8150 DEFAULT_wxUSE_POPUPWIN=no
8151 DEFAULT_wxUSE_TIPWINDOW=no
8156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8157 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8159 # Check whether --enable-accel or --disable-accel was given.
8160 if test "${enable_accel+set}" = set; then
8161 enableval="$enable_accel"
8163 if test "$enableval" = yes; then
8164 ac_cv_use_accel='wxUSE_ACCEL
=yes'
8166 ac_cv_use_accel='wxUSE_ACCEL
=no
'
8171 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8172 if test "x$LINE" != x ; then
8173 eval "DEFAULT_$LINE"
8178 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
8182 eval "$ac_cv_use_accel"
8183 if test "$no_cache" != 1; then
8184 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8187 if test "$wxUSE_ACCEL" = yes; then
8188 echo "$as_me:$LINENO: result: yes" >&5
8189 echo "${ECHO_T}yes" >&6
8191 echo "$as_me:$LINENO: result: no" >&5
8192 echo "${ECHO_T}no" >&6
8197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8198 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8200 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8201 if test "${enable_animatectrl+set}" = set; then
8202 enableval="$enable_animatectrl"
8204 if test "$enableval" = yes; then
8205 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
8207 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
8212 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8213 if test "x$LINE" != x ; then
8214 eval "DEFAULT_$LINE"
8219 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
='$DEFAULT_wxUSE_ANIMATIONCTRL
8223 eval "$ac_cv_use_animatectrl"
8224 if test "$no_cache" != 1; then
8225 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8228 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8229 echo "$as_me:$LINENO: result: yes" >&5
8230 echo "${ECHO_T}yes" >&6
8232 echo "$as_me:$LINENO: result: no" >&5
8233 echo "${ECHO_T}no" >&6
8238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8241 # Check whether --enable-button or --disable-button was given.
8242 if test "${enable_button+set}" = set; then
8243 enableval="$enable_button"
8245 if test "$enableval" = yes; then
8246 ac_cv_use_button='wxUSE_BUTTON
=yes'
8248 ac_cv_use_button='wxUSE_BUTTON
=no
'
8253 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8254 if test "x$LINE" != x ; then
8255 eval "DEFAULT_$LINE"
8260 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
8264 eval "$ac_cv_use_button"
8265 if test "$no_cache" != 1; then
8266 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8269 if test "$wxUSE_BUTTON" = yes; then
8270 echo "$as_me:$LINENO: result: yes" >&5
8271 echo "${ECHO_T}yes" >&6
8273 echo "$as_me:$LINENO: result: no" >&5
8274 echo "${ECHO_T}no" >&6
8279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8280 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8282 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8283 if test "${enable_bmpbutton+set}" = set; then
8284 enableval="$enable_bmpbutton"
8286 if test "$enableval" = yes; then
8287 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
8289 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
8294 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8295 if test "x$LINE" != x ; then
8296 eval "DEFAULT_$LINE"
8301 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
8305 eval "$ac_cv_use_bmpbutton"
8306 if test "$no_cache" != 1; then
8307 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8310 if test "$wxUSE_BMPBUTTON" = yes; then
8311 echo "$as_me:$LINENO: result: yes" >&5
8312 echo "${ECHO_T}yes" >&6
8314 echo "$as_me:$LINENO: result: no" >&5
8315 echo "${ECHO_T}no" >&6
8320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8321 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8323 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8324 if test "${enable_bmpcombobox+set}" = set; then
8325 enableval="$enable_bmpcombobox"
8327 if test "$enableval" = yes; then
8328 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
8330 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
8335 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8336 if test "x$LINE" != x ; then
8337 eval "DEFAULT_$LINE"
8342 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8346 eval "$ac_cv_use_bmpcombobox"
8347 if test "$no_cache" != 1; then
8348 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8351 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8352 echo "$as_me:$LINENO: result: yes" >&5
8353 echo "${ECHO_T}yes" >&6
8355 echo "$as_me:$LINENO: result: no" >&5
8356 echo "${ECHO_T}no" >&6
8361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8362 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8364 # Check whether --enable-calendar or --disable-calendar was given.
8365 if test "${enable_calendar+set}" = set; then
8366 enableval="$enable_calendar"
8368 if test "$enableval" = yes; then
8369 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
8371 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
8376 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8377 if test "x$LINE" != x ; then
8378 eval "DEFAULT_$LINE"
8383 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
8387 eval "$ac_cv_use_calendar"
8388 if test "$no_cache" != 1; then
8389 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8392 if test "$wxUSE_CALCTRL" = yes; then
8393 echo "$as_me:$LINENO: result: yes" >&5
8394 echo "${ECHO_T}yes" >&6
8396 echo "$as_me:$LINENO: result: no" >&5
8397 echo "${ECHO_T}no" >&6
8402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8403 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8405 # Check whether --enable-caret or --disable-caret was given.
8406 if test "${enable_caret+set}" = set; then
8407 enableval="$enable_caret"
8409 if test "$enableval" = yes; then
8410 ac_cv_use_caret='wxUSE_CARET
=yes'
8412 ac_cv_use_caret='wxUSE_CARET
=no
'
8417 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8418 if test "x$LINE" != x ; then
8419 eval "DEFAULT_$LINE"
8424 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
8428 eval "$ac_cv_use_caret"
8429 if test "$no_cache" != 1; then
8430 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8433 if test "$wxUSE_CARET" = yes; then
8434 echo "$as_me:$LINENO: result: yes" >&5
8435 echo "${ECHO_T}yes" >&6
8437 echo "$as_me:$LINENO: result: no" >&5
8438 echo "${ECHO_T}no" >&6
8443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8444 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8446 # Check whether --enable-checkbox or --disable-checkbox was given.
8447 if test "${enable_checkbox+set}" = set; then
8448 enableval="$enable_checkbox"
8450 if test "$enableval" = yes; then
8451 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
8453 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
8458 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8459 if test "x$LINE" != x ; then
8460 eval "DEFAULT_$LINE"
8465 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
8469 eval "$ac_cv_use_checkbox"
8470 if test "$no_cache" != 1; then
8471 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8474 if test "$wxUSE_CHECKBOX" = yes; then
8475 echo "$as_me:$LINENO: result: yes" >&5
8476 echo "${ECHO_T}yes" >&6
8478 echo "$as_me:$LINENO: result: no" >&5
8479 echo "${ECHO_T}no" >&6
8484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8485 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8487 # Check whether --enable-checklst or --disable-checklst was given.
8488 if test "${enable_checklst+set}" = set; then
8489 enableval="$enable_checklst"
8491 if test "$enableval" = yes; then
8492 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
8494 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
8499 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8500 if test "x$LINE" != x ; then
8501 eval "DEFAULT_$LINE"
8506 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
8510 eval "$ac_cv_use_checklst"
8511 if test "$no_cache" != 1; then
8512 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8515 if test "$wxUSE_CHECKLST" = yes; then
8516 echo "$as_me:$LINENO: result: yes" >&5
8517 echo "${ECHO_T}yes" >&6
8519 echo "$as_me:$LINENO: result: no" >&5
8520 echo "${ECHO_T}no" >&6
8525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8528 # Check whether --enable-choice or --disable-choice was given.
8529 if test "${enable_choice+set}" = set; then
8530 enableval="$enable_choice"
8532 if test "$enableval" = yes; then
8533 ac_cv_use_choice='wxUSE_CHOICE
=yes'
8535 ac_cv_use_choice='wxUSE_CHOICE
=no
'
8540 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8541 if test "x$LINE" != x ; then
8542 eval "DEFAULT_$LINE"
8547 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
8551 eval "$ac_cv_use_choice"
8552 if test "$no_cache" != 1; then
8553 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8556 if test "$wxUSE_CHOICE" = yes; then
8557 echo "$as_me:$LINENO: result: yes" >&5
8558 echo "${ECHO_T}yes" >&6
8560 echo "$as_me:$LINENO: result: no" >&5
8561 echo "${ECHO_T}no" >&6
8566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8567 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8569 # Check whether --enable-choicebook or --disable-choicebook was given.
8570 if test "${enable_choicebook+set}" = set; then
8571 enableval="$enable_choicebook"
8573 if test "$enableval" = yes; then
8574 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
8576 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
8581 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8582 if test "x$LINE" != x ; then
8583 eval "DEFAULT_$LINE"
8588 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
='$DEFAULT_wxUSE_CHOICEBOOK
8592 eval "$ac_cv_use_choicebook"
8593 if test "$no_cache" != 1; then
8594 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8597 if test "$wxUSE_CHOICEBOOK" = yes; then
8598 echo "$as_me:$LINENO: result: yes" >&5
8599 echo "${ECHO_T}yes" >&6
8601 echo "$as_me:$LINENO: result: no" >&5
8602 echo "${ECHO_T}no" >&6
8607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8608 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8610 # Check whether --enable-collpane or --disable-collpane was given.
8611 if test "${enable_collpane+set}" = set; then
8612 enableval="$enable_collpane"
8614 if test "$enableval" = yes; then
8615 ac_cv_use_collpane='wxUSE_COLLPANE
=yes'
8617 ac_cv_use_collpane='wxUSE_COLLPANE
=no
'
8622 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8623 if test "x$LINE" != x ; then
8624 eval "DEFAULT_$LINE"
8629 ac_cv_use_collpane='wxUSE_COLLPANE
='$DEFAULT_wxUSE_COLLPANE
8633 eval "$ac_cv_use_collpane"
8634 if test "$no_cache" != 1; then
8635 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8638 if test "$wxUSE_COLLPANE" = yes; then
8639 echo "$as_me:$LINENO: result: yes" >&5
8640 echo "${ECHO_T}yes" >&6
8642 echo "$as_me:$LINENO: result: no" >&5
8643 echo "${ECHO_T}no" >&6
8648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8651 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8652 if test "${enable_colourpicker+set}" = set; then
8653 enableval="$enable_colourpicker"
8655 if test "$enableval" = yes; then
8656 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
8658 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
8663 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8664 if test "x$LINE" != x ; then
8665 eval "DEFAULT_$LINE"
8670 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
='$DEFAULT_wxUSE_COLOURPICKERCTRL
8674 eval "$ac_cv_use_colourpicker"
8675 if test "$no_cache" != 1; then
8676 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8679 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8680 echo "$as_me:$LINENO: result: yes" >&5
8681 echo "${ECHO_T}yes" >&6
8683 echo "$as_me:$LINENO: result: no" >&5
8684 echo "${ECHO_T}no" >&6
8689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8692 # Check whether --enable-combobox or --disable-combobox was given.
8693 if test "${enable_combobox+set}" = set; then
8694 enableval="$enable_combobox"
8696 if test "$enableval" = yes; then
8697 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
8699 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
8704 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8705 if test "x$LINE" != x ; then
8706 eval "DEFAULT_$LINE"
8711 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
8715 eval "$ac_cv_use_combobox"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8720 if test "$wxUSE_COMBOBOX" = yes; then
8721 echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6
8724 echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6
8730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8733 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8734 if test "${enable_comboctrl+set}" = set; then
8735 enableval="$enable_comboctrl"
8737 if test "$enableval" = yes; then
8738 ac_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
8740 ac_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
8745 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8746 if test "x$LINE" != x ; then
8747 eval "DEFAULT_$LINE"
8752 ac_cv_use_comboctrl='wxUSE_COMBOCTRL
='$DEFAULT_wxUSE_COMBOCTRL
8756 eval "$ac_cv_use_comboctrl"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8761 if test "$wxUSE_COMBOCTRL" = yes; then
8762 echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6
8765 echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6
8771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8772 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8774 # Check whether --enable-datepick or --disable-datepick was given.
8775 if test "${enable_datepick+set}" = set; then
8776 enableval="$enable_datepick"
8778 if test "$enableval" = yes; then
8779 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
8781 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
8786 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8787 if test "x$LINE" != x ; then
8788 eval "DEFAULT_$LINE"
8793 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
='$DEFAULT_wxUSE_DATEPICKCTRL
8797 eval "$ac_cv_use_datepick"
8798 if test "$no_cache" != 1; then
8799 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8802 if test "$wxUSE_DATEPICKCTRL" = yes; then
8803 echo "$as_me:$LINENO: result: yes" >&5
8804 echo "${ECHO_T}yes" >&6
8806 echo "$as_me:$LINENO: result: no" >&5
8807 echo "${ECHO_T}no" >&6
8812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8815 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8816 if test "${enable_dirpicker+set}" = set; then
8817 enableval="$enable_dirpicker"
8819 if test "$enableval" = yes; then
8820 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
8822 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
8827 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8828 if test "x$LINE" != x ; then
8829 eval "DEFAULT_$LINE"
8834 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
='$DEFAULT_wxUSE_DIRPICKERCTRL
8838 eval "$ac_cv_use_dirpicker"
8839 if test "$no_cache" != 1; then
8840 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8843 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8844 echo "$as_me:$LINENO: result: yes" >&5
8845 echo "${ECHO_T}yes" >&6
8847 echo "$as_me:$LINENO: result: no" >&5
8848 echo "${ECHO_T}no" >&6
8853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8856 # Check whether --enable-display or --disable-display was given.
8857 if test "${enable_display+set}" = set; then
8858 enableval="$enable_display"
8860 if test "$enableval" = yes; then
8861 ac_cv_use_display='wxUSE_DISPLAY
=yes'
8863 ac_cv_use_display='wxUSE_DISPLAY
=no
'
8868 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x ; then
8870 eval "DEFAULT_$LINE"
8875 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
8879 eval "$ac_cv_use_display"
8880 if test "$no_cache" != 1; then
8881 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8884 if test "$wxUSE_DISPLAY" = yes; then
8885 echo "$as_me:$LINENO: result: yes" >&5
8886 echo "${ECHO_T}yes" >&6
8888 echo "$as_me:$LINENO: result: no" >&5
8889 echo "${ECHO_T}no" >&6
8894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8895 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8897 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8898 if test "${enable_detect_sm+set}" = set; then
8899 enableval="$enable_detect_sm"
8901 if test "$enableval" = yes; then
8902 ac_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
8904 ac_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
8909 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8910 if test "x$LINE" != x ; then
8911 eval "DEFAULT_$LINE"
8916 ac_cv_use_detect_sm='wxUSE_DETECT_SM
='$DEFAULT_wxUSE_DETECT_SM
8920 eval "$ac_cv_use_detect_sm"
8921 if test "$no_cache" != 1; then
8922 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8925 if test "$wxUSE_DETECT_SM" = yes; then
8926 echo "$as_me:$LINENO: result: yes" >&5
8927 echo "${ECHO_T}yes" >&6
8929 echo "$as_me:$LINENO: result: no" >&5
8930 echo "${ECHO_T}no" >&6
8935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6
8938 # Check whether --enable-editablebox or --disable-editablebox was given.
8939 if test "${enable_editablebox+set}" = set; then
8940 enableval="$enable_editablebox"
8942 if test "$enableval" = yes; then
8943 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
8945 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
8950 LINE=`grep "wxUSE_EDITABLELISTBOX" ${wx_arg_cache_file}`
8951 if test "x$LINE" != x ; then
8952 eval "DEFAULT_$LINE"
8957 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX
='$DEFAULT_wxUSE_EDITABLELISTBOX
8961 eval "$ac_cv_use_editablebox"
8962 if test "$no_cache" != 1; then
8963 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
8966 if test "$wxUSE_EDITABLELISTBOX" = yes; then
8967 echo "$as_me:$LINENO: result: yes" >&5
8968 echo "${ECHO_T}yes" >&6
8970 echo "$as_me:$LINENO: result: no" >&5
8971 echo "${ECHO_T}no" >&6
8976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8979 # Check whether --enable-filepicker or --disable-filepicker was given.
8980 if test "${enable_filepicker+set}" = set; then
8981 enableval="$enable_filepicker"
8983 if test "$enableval" = yes; then
8984 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
8986 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
8991 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8992 if test "x$LINE" != x ; then
8993 eval "DEFAULT_$LINE"
8998 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL
='$DEFAULT_wxUSE_FILEPICKERCTRL
9002 eval "$ac_cv_use_filepicker"
9003 if test "$no_cache" != 1; then
9004 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9007 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9008 echo "$as_me:$LINENO: result: yes" >&5
9009 echo "${ECHO_T}yes" >&6
9011 echo "$as_me:$LINENO: result: no" >&5
9012 echo "${ECHO_T}no" >&6
9017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
9020 # Check whether --enable-fontpicker or --disable-fontpicker was given.
9021 if test "${enable_fontpicker+set}" = set; then
9022 enableval="$enable_fontpicker"
9024 if test "$enableval" = yes; then
9025 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
9027 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
9032 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9033 if test "x$LINE" != x ; then
9034 eval "DEFAULT_$LINE"
9039 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
='$DEFAULT_wxUSE_FONTPICKERCTRL
9043 eval "$ac_cv_use_fontpicker"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9048 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9049 echo "$as_me:$LINENO: result: yes" >&5
9050 echo "${ECHO_T}yes" >&6
9052 echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
9061 # Check whether --enable-gauge or --disable-gauge was given.
9062 if test "${enable_gauge+set}" = set; then
9063 enableval="$enable_gauge"
9065 if test "$enableval" = yes; then
9066 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
9068 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
9073 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x ; then
9075 eval "DEFAULT_$LINE"
9080 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
9084 eval "$ac_cv_use_gauge"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9089 if test "$wxUSE_GAUGE" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
9102 # Check whether --enable-grid or --disable-grid was given.
9103 if test "${enable_grid+set}" = set; then
9104 enableval="$enable_grid"
9106 if test "$enableval" = yes; then
9107 ac_cv_use_grid='wxUSE_GRID
=yes'
9109 ac_cv_use_grid='wxUSE_GRID
=no
'
9114 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x ; then
9116 eval "DEFAULT_$LINE"
9121 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
9125 eval "$ac_cv_use_grid"
9126 if test "$no_cache" != 1; then
9127 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9130 if test "$wxUSE_GRID" = yes; then
9131 echo "$as_me:$LINENO: result: yes" >&5
9132 echo "${ECHO_T}yes" >&6
9134 echo "$as_me:$LINENO: result: no" >&5
9135 echo "${ECHO_T}no" >&6
9140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
9143 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
9144 if test "${enable_dataviewctrl+set}" = set; then
9145 enableval="$enable_dataviewctrl"
9147 if test "$enableval" = yes; then
9148 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
9150 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
9155 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9156 if test "x$LINE" != x ; then
9157 eval "DEFAULT_$LINE"
9162 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
='$DEFAULT_wxUSE_DATAVIEWCTRL
9166 eval "$ac_cv_use_dataviewctrl"
9167 if test "$no_cache" != 1; then
9168 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9171 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9172 echo "$as_me:$LINENO: result: yes" >&5
9173 echo "${ECHO_T}yes" >&6
9175 echo "$as_me:$LINENO: result: no" >&5
9176 echo "${ECHO_T}no" >&6
9181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9184 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9185 if test "${enable_hyperlink+set}" = set; then
9186 enableval="$enable_hyperlink"
9188 if test "$enableval" = yes; then
9189 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
9191 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
9196 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9197 if test "x$LINE" != x ; then
9198 eval "DEFAULT_$LINE"
9203 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
='$DEFAULT_wxUSE_HYPERLINKCTRL
9207 eval "$ac_cv_use_hyperlink"
9208 if test "$no_cache" != 1; then
9209 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9212 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9213 echo "$as_me:$LINENO: result: yes" >&5
9214 echo "${ECHO_T}yes" >&6
9216 echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6
9222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9223 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9225 # Check whether --enable-imaglist or --disable-imaglist was given.
9226 if test "${enable_imaglist+set}" = set; then
9227 enableval="$enable_imaglist"
9229 if test "$enableval" = yes; then
9230 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
9232 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
9237 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9238 if test "x$LINE" != x ; then
9239 eval "DEFAULT_$LINE"
9244 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
9248 eval "$ac_cv_use_imaglist"
9249 if test "$no_cache" != 1; then
9250 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9253 if test "$wxUSE_IMAGLIST" = yes; then
9254 echo "$as_me:$LINENO: result: yes" >&5
9255 echo "${ECHO_T}yes" >&6
9257 echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6
9263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9266 # Check whether --enable-listbook or --disable-listbook was given.
9267 if test "${enable_listbook+set}" = set; then
9268 enableval="$enable_listbook"
9270 if test "$enableval" = yes; then
9271 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
9273 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
9278 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9279 if test "x$LINE" != x ; then
9280 eval "DEFAULT_$LINE"
9285 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
9289 eval "$ac_cv_use_listbook"
9290 if test "$no_cache" != 1; then
9291 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9294 if test "$wxUSE_LISTBOOK" = yes; then
9295 echo "$as_me:$LINENO: result: yes" >&5
9296 echo "${ECHO_T}yes" >&6
9298 echo "$as_me:$LINENO: result: no" >&5
9299 echo "${ECHO_T}no" >&6
9304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9307 # Check whether --enable-listbox or --disable-listbox was given.
9308 if test "${enable_listbox+set}" = set; then
9309 enableval="$enable_listbox"
9311 if test "$enableval" = yes; then
9312 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
9314 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
9319 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9320 if test "x$LINE" != x ; then
9321 eval "DEFAULT_$LINE"
9326 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
9330 eval "$ac_cv_use_listbox"
9331 if test "$no_cache" != 1; then
9332 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9335 if test "$wxUSE_LISTBOX" = yes; then
9336 echo "$as_me:$LINENO: result: yes" >&5
9337 echo "${ECHO_T}yes" >&6
9339 echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6
9345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9348 # Check whether --enable-listctrl or --disable-listctrl was given.
9349 if test "${enable_listctrl+set}" = set; then
9350 enableval="$enable_listctrl"
9352 if test "$enableval" = yes; then
9353 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
9355 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
9360 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9361 if test "x$LINE" != x ; then
9362 eval "DEFAULT_$LINE"
9367 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
9371 eval "$ac_cv_use_listctrl"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9376 if test "$wxUSE_LISTCTRL" = yes; then
9377 echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6
9380 echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6
9386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9389 # Check whether --enable-notebook or --disable-notebook was given.
9390 if test "${enable_notebook+set}" = set; then
9391 enableval="$enable_notebook"
9393 if test "$enableval" = yes; then
9394 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
9396 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
9401 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9402 if test "x$LINE" != x ; then
9403 eval "DEFAULT_$LINE"
9408 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
9412 eval "$ac_cv_use_notebook"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9417 if test "$wxUSE_NOTEBOOK" = yes; then
9418 echo "$as_me:$LINENO: result: yes" >&5
9419 echo "${ECHO_T}yes" >&6
9421 echo "$as_me:$LINENO: result: no" >&5
9422 echo "${ECHO_T}no" >&6
9427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9428 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9430 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9431 if test "${enable_odcombobox+set}" = set; then
9432 enableval="$enable_odcombobox"
9434 if test "$enableval" = yes; then
9435 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
9437 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
9442 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9443 if test "x$LINE" != x ; then
9444 eval "DEFAULT_$LINE"
9449 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
='$DEFAULT_wxUSE_ODCOMBOBOX
9453 eval "$ac_cv_use_odcombobox"
9454 if test "$no_cache" != 1; then
9455 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9458 if test "$wxUSE_ODCOMBOBOX" = yes; then
9459 echo "$as_me:$LINENO: result: yes" >&5
9460 echo "${ECHO_T}yes" >&6
9462 echo "$as_me:$LINENO: result: no" >&5
9463 echo "${ECHO_T}no" >&6
9468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9469 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9471 # Check whether --enable-radiobox or --disable-radiobox was given.
9472 if test "${enable_radiobox+set}" = set; then
9473 enableval="$enable_radiobox"
9475 if test "$enableval" = yes; then
9476 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
9478 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
9483 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9484 if test "x$LINE" != x ; then
9485 eval "DEFAULT_$LINE"
9490 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
9494 eval "$ac_cv_use_radiobox"
9495 if test "$no_cache" != 1; then
9496 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9499 if test "$wxUSE_RADIOBOX" = yes; then
9500 echo "$as_me:$LINENO: result: yes" >&5
9501 echo "${ECHO_T}yes" >&6
9503 echo "$as_me:$LINENO: result: no" >&5
9504 echo "${ECHO_T}no" >&6
9509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9510 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9512 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9513 if test "${enable_radiobtn+set}" = set; then
9514 enableval="$enable_radiobtn"
9516 if test "$enableval" = yes; then
9517 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
9519 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
9524 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9525 if test "x$LINE" != x ; then
9526 eval "DEFAULT_$LINE"
9531 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
9535 eval "$ac_cv_use_radiobtn"
9536 if test "$no_cache" != 1; then
9537 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9540 if test "$wxUSE_RADIOBTN" = yes; then
9541 echo "$as_me:$LINENO: result: yes" >&5
9542 echo "${ECHO_T}yes" >&6
9544 echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6
9550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9551 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9553 # Check whether --enable-sash or --disable-sash was given.
9554 if test "${enable_sash+set}" = set; then
9555 enableval="$enable_sash"
9557 if test "$enableval" = yes; then
9558 ac_cv_use_sash='wxUSE_SASH
=yes'
9560 ac_cv_use_sash='wxUSE_SASH
=no
'
9565 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9566 if test "x$LINE" != x ; then
9567 eval "DEFAULT_$LINE"
9572 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
9576 eval "$ac_cv_use_sash"
9577 if test "$no_cache" != 1; then
9578 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9581 if test "$wxUSE_SASH" = yes; then
9582 echo "$as_me:$LINENO: result: yes" >&5
9583 echo "${ECHO_T}yes" >&6
9585 echo "$as_me:$LINENO: result: no" >&5
9586 echo "${ECHO_T}no" >&6
9591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9592 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9594 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9595 if test "${enable_scrollbar+set}" = set; then
9596 enableval="$enable_scrollbar"
9598 if test "$enableval" = yes; then
9599 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
9601 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
9606 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9607 if test "x$LINE" != x ; then
9608 eval "DEFAULT_$LINE"
9613 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
9617 eval "$ac_cv_use_scrollbar"
9618 if test "$no_cache" != 1; then
9619 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9622 if test "$wxUSE_SCROLLBAR" = yes; then
9623 echo "$as_me:$LINENO: result: yes" >&5
9624 echo "${ECHO_T}yes" >&6
9626 echo "$as_me:$LINENO: result: no" >&5
9627 echo "${ECHO_T}no" >&6
9632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6
9635 # Check whether --enable-searchctrl or --disable-searchctrl was given.
9636 if test "${enable_searchctrl+set}" = set; then
9637 enableval="$enable_searchctrl"
9639 if test "$enableval" = yes; then
9640 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
9642 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
9647 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
9648 if test "x$LINE" != x ; then
9649 eval "DEFAULT_$LINE"
9654 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL
='$DEFAULT_wxUSE_SEARCHCTRL
9658 eval "$ac_cv_use_searchctrl"
9659 if test "$no_cache" != 1; then
9660 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
9663 if test "$wxUSE_SEARCHCTRL" = yes; then
9664 echo "$as_me:$LINENO: result: yes" >&5
9665 echo "${ECHO_T}yes" >&6
9667 echo "$as_me:$LINENO: result: no" >&5
9668 echo "${ECHO_T}no" >&6
9673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9674 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9676 # Check whether --enable-slider or --disable-slider was given.
9677 if test "${enable_slider+set}" = set; then
9678 enableval="$enable_slider"
9680 if test "$enableval" = yes; then
9681 ac_cv_use_slider='wxUSE_SLIDER
=yes'
9683 ac_cv_use_slider='wxUSE_SLIDER
=no
'
9688 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9689 if test "x$LINE" != x ; then
9690 eval "DEFAULT_$LINE"
9695 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
9699 eval "$ac_cv_use_slider"
9700 if test "$no_cache" != 1; then
9701 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9704 if test "$wxUSE_SLIDER" = yes; then
9705 echo "$as_me:$LINENO: result: yes" >&5
9706 echo "${ECHO_T}yes" >&6
9708 echo "$as_me:$LINENO: result: no" >&5
9709 echo "${ECHO_T}no" >&6
9714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9717 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9718 if test "${enable_spinbtn+set}" = set; then
9719 enableval="$enable_spinbtn"
9721 if test "$enableval" = yes; then
9722 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
9724 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
9729 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9730 if test "x$LINE" != x ; then
9731 eval "DEFAULT_$LINE"
9736 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
9740 eval "$ac_cv_use_spinbtn"
9741 if test "$no_cache" != 1; then
9742 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9745 if test "$wxUSE_SPINBTN" = yes; then
9746 echo "$as_me:$LINENO: result: yes" >&5
9747 echo "${ECHO_T}yes" >&6
9749 echo "$as_me:$LINENO: result: no" >&5
9750 echo "${ECHO_T}no" >&6
9755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9756 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9758 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9759 if test "${enable_spinctrl+set}" = set; then
9760 enableval="$enable_spinctrl"
9762 if test "$enableval" = yes; then
9763 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
9765 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
9770 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9771 if test "x$LINE" != x ; then
9772 eval "DEFAULT_$LINE"
9777 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
9781 eval "$ac_cv_use_spinctrl"
9782 if test "$no_cache" != 1; then
9783 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9786 if test "$wxUSE_SPINCTRL" = yes; then
9787 echo "$as_me:$LINENO: result: yes" >&5
9788 echo "${ECHO_T}yes" >&6
9790 echo "$as_me:$LINENO: result: no" >&5
9791 echo "${ECHO_T}no" >&6
9796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9797 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9799 # Check whether --enable-splitter or --disable-splitter was given.
9800 if test "${enable_splitter+set}" = set; then
9801 enableval="$enable_splitter"
9803 if test "$enableval" = yes; then
9804 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
9806 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
9811 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9812 if test "x$LINE" != x ; then
9813 eval "DEFAULT_$LINE"
9818 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
9822 eval "$ac_cv_use_splitter"
9823 if test "$no_cache" != 1; then
9824 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9827 if test "$wxUSE_SPLITTER" = yes; then
9828 echo "$as_me:$LINENO: result: yes" >&5
9829 echo "${ECHO_T}yes" >&6
9831 echo "$as_me:$LINENO: result: no" >&5
9832 echo "${ECHO_T}no" >&6
9837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9838 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9840 # Check whether --enable-statbmp or --disable-statbmp was given.
9841 if test "${enable_statbmp+set}" = set; then
9842 enableval="$enable_statbmp"
9844 if test "$enableval" = yes; then
9845 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
9847 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
9852 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9853 if test "x$LINE" != x ; then
9854 eval "DEFAULT_$LINE"
9859 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
9863 eval "$ac_cv_use_statbmp"
9864 if test "$no_cache" != 1; then
9865 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9868 if test "$wxUSE_STATBMP" = yes; then
9869 echo "$as_me:$LINENO: result: yes" >&5
9870 echo "${ECHO_T}yes" >&6
9872 echo "$as_me:$LINENO: result: no" >&5
9873 echo "${ECHO_T}no" >&6
9878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9879 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9881 # Check whether --enable-statbox or --disable-statbox was given.
9882 if test "${enable_statbox+set}" = set; then
9883 enableval="$enable_statbox"
9885 if test "$enableval" = yes; then
9886 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
9888 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
9893 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9894 if test "x$LINE" != x ; then
9895 eval "DEFAULT_$LINE"
9900 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
9904 eval "$ac_cv_use_statbox"
9905 if test "$no_cache" != 1; then
9906 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9909 if test "$wxUSE_STATBOX" = yes; then
9910 echo "$as_me:$LINENO: result: yes" >&5
9911 echo "${ECHO_T}yes" >&6
9913 echo "$as_me:$LINENO: result: no" >&5
9914 echo "${ECHO_T}no" >&6
9919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9920 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9922 # Check whether --enable-statline or --disable-statline was given.
9923 if test "${enable_statline+set}" = set; then
9924 enableval="$enable_statline"
9926 if test "$enableval" = yes; then
9927 ac_cv_use_statline='wxUSE_STATLINE
=yes'
9929 ac_cv_use_statline='wxUSE_STATLINE
=no
'
9934 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9935 if test "x$LINE" != x ; then
9936 eval "DEFAULT_$LINE"
9941 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
9945 eval "$ac_cv_use_statline"
9946 if test "$no_cache" != 1; then
9947 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9950 if test "$wxUSE_STATLINE" = yes; then
9951 echo "$as_me:$LINENO: result: yes" >&5
9952 echo "${ECHO_T}yes" >&6
9954 echo "$as_me:$LINENO: result: no" >&5
9955 echo "${ECHO_T}no" >&6
9960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9961 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9963 # Check whether --enable-stattext or --disable-stattext was given.
9964 if test "${enable_stattext+set}" = set; then
9965 enableval="$enable_stattext"
9967 if test "$enableval" = yes; then
9968 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
9970 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
9975 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9976 if test "x$LINE" != x ; then
9977 eval "DEFAULT_$LINE"
9982 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
9986 eval "$ac_cv_use_stattext"
9987 if test "$no_cache" != 1; then
9988 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9991 if test "$wxUSE_STATTEXT" = yes; then
9992 echo "$as_me:$LINENO: result: yes" >&5
9993 echo "${ECHO_T}yes" >&6
9995 echo "$as_me:$LINENO: result: no" >&5
9996 echo "${ECHO_T}no" >&6
10001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10002 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
10004 # Check whether --enable-statusbar or --disable-statusbar was given.
10005 if test "${enable_statusbar+set}" = set; then
10006 enableval="$enable_statusbar"
10008 if test "$enableval" = yes; then
10009 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
10011 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
10016 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10017 if test "x$LINE" != x ; then
10018 eval "DEFAULT_$LINE"
10023 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
10027 eval "$ac_cv_use_statusbar"
10028 if test "$no_cache" != 1; then
10029 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10032 if test "$wxUSE_STATUSBAR" = yes; then
10033 echo "$as_me:$LINENO: result: yes" >&5
10034 echo "${ECHO_T}yes" >&6
10036 echo "$as_me:$LINENO: result: no" >&5
10037 echo "${ECHO_T}no" >&6
10042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10043 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
10045 # Check whether --enable-tabdialog or --disable-tabdialog was given.
10046 if test "${enable_tabdialog+set}" = set; then
10047 enableval="$enable_tabdialog"
10049 if test "$enableval" = yes; then
10050 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
10052 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
10057 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10058 if test "x$LINE" != x ; then
10059 eval "DEFAULT_$LINE"
10064 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
='$DEFAULT_wxUSE_TAB_DIALOG
10068 eval "$ac_cv_use_tabdialog"
10069 if test "$no_cache" != 1; then
10070 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10073 if test "$wxUSE_TAB_DIALOG" = yes; then
10074 echo "$as_me:$LINENO: result: yes" >&5
10075 echo "${ECHO_T}yes" >&6
10077 echo "$as_me:$LINENO: result: no" >&5
10078 echo "${ECHO_T}no" >&6
10083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10084 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
10086 # Check whether --enable-textctrl or --disable-textctrl was given.
10087 if test "${enable_textctrl+set}" = set; then
10088 enableval="$enable_textctrl"
10090 if test "$enableval" = yes; then
10091 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
10093 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
10098 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10099 if test "x$LINE" != x ; then
10100 eval "DEFAULT_$LINE"
10105 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
10109 eval "$ac_cv_use_textctrl"
10110 if test "$no_cache" != 1; then
10111 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10114 if test "$wxUSE_TEXTCTRL" = yes; then
10115 echo "$as_me:$LINENO: result: yes" >&5
10116 echo "${ECHO_T}yes" >&6
10118 echo "$as_me:$LINENO: result: no" >&5
10119 echo "${ECHO_T}no" >&6
10124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10125 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
10127 # Check whether --enable-togglebtn or --disable-togglebtn was given.
10128 if test "${enable_togglebtn+set}" = set; then
10129 enableval="$enable_togglebtn"
10131 if test "$enableval" = yes; then
10132 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
10134 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
10139 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10140 if test "x$LINE" != x ; then
10141 eval "DEFAULT_$LINE"
10146 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
10150 eval "$ac_cv_use_togglebtn"
10151 if test "$no_cache" != 1; then
10152 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10155 if test "$wxUSE_TOGGLEBTN" = yes; then
10156 echo "$as_me:$LINENO: result: yes" >&5
10157 echo "${ECHO_T}yes" >&6
10159 echo "$as_me:$LINENO: result: no" >&5
10160 echo "${ECHO_T}no" >&6
10165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10166 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
10168 # Check whether --enable-toolbar or --disable-toolbar was given.
10169 if test "${enable_toolbar+set}" = set; then
10170 enableval="$enable_toolbar"
10172 if test "$enableval" = yes; then
10173 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
10175 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
10180 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10181 if test "x$LINE" != x ; then
10182 eval "DEFAULT_$LINE"
10187 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
10191 eval "$ac_cv_use_toolbar"
10192 if test "$no_cache" != 1; then
10193 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10196 if test "$wxUSE_TOOLBAR" = yes; then
10197 echo "$as_me:$LINENO: result: yes" >&5
10198 echo "${ECHO_T}yes" >&6
10200 echo "$as_me:$LINENO: result: no" >&5
10201 echo "${ECHO_T}no" >&6
10206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10207 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10209 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10210 if test "${enable_tbarnative+set}" = set; then
10211 enableval="$enable_tbarnative"
10213 if test "$enableval" = yes; then
10214 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
10216 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
10221 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10222 if test "x$LINE" != x ; then
10223 eval "DEFAULT_$LINE"
10228 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10232 eval "$ac_cv_use_tbarnative"
10233 if test "$no_cache" != 1; then
10234 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10237 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10238 echo "$as_me:$LINENO: result: yes" >&5
10239 echo "${ECHO_T}yes" >&6
10241 echo "$as_me:$LINENO: result: no" >&5
10242 echo "${ECHO_T}no" >&6
10247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10248 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10250 # Check whether --enable-treebook or --disable-treebook was given.
10251 if test "${enable_treebook+set}" = set; then
10252 enableval="$enable_treebook"
10254 if test "$enableval" = yes; then
10255 ac_cv_use_treebook='wxUSE_TREEBOOK
=yes'
10257 ac_cv_use_treebook='wxUSE_TREEBOOK
=no
'
10262 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10263 if test "x$LINE" != x ; then
10264 eval "DEFAULT_$LINE"
10269 ac_cv_use_treebook='wxUSE_TREEBOOK
='$DEFAULT_wxUSE_TREEBOOK
10273 eval "$ac_cv_use_treebook"
10274 if test "$no_cache" != 1; then
10275 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10278 if test "$wxUSE_TREEBOOK" = yes; then
10279 echo "$as_me:$LINENO: result: yes" >&5
10280 echo "${ECHO_T}yes" >&6
10282 echo "$as_me:$LINENO: result: no" >&5
10283 echo "${ECHO_T}no" >&6
10288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10289 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10291 # Check whether --enable-toolbook or --disable-toolbook was given.
10292 if test "${enable_toolbook+set}" = set; then
10293 enableval="$enable_toolbook"
10295 if test "$enableval" = yes; then
10296 ac_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
10298 ac_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
10303 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10304 if test "x$LINE" != x ; then
10305 eval "DEFAULT_$LINE"
10310 ac_cv_use_toolbook='wxUSE_TOOLBOOK
='$DEFAULT_wxUSE_TOOLBOOK
10314 eval "$ac_cv_use_toolbook"
10315 if test "$no_cache" != 1; then
10316 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10319 if test "$wxUSE_TOOLBOOK" = yes; then
10320 echo "$as_me:$LINENO: result: yes" >&5
10321 echo "${ECHO_T}yes" >&6
10323 echo "$as_me:$LINENO: result: no" >&5
10324 echo "${ECHO_T}no" >&6
10329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10330 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10332 # Check whether --enable-treectrl or --disable-treectrl was given.
10333 if test "${enable_treectrl+set}" = set; then
10334 enableval="$enable_treectrl"
10336 if test "$enableval" = yes; then
10337 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
10339 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
10344 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10345 if test "x$LINE" != x ; then
10346 eval "DEFAULT_$LINE"
10351 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
10355 eval "$ac_cv_use_treectrl"
10356 if test "$no_cache" != 1; then
10357 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10360 if test "$wxUSE_TREECTRL" = yes; then
10361 echo "$as_me:$LINENO: result: yes" >&5
10362 echo "${ECHO_T}yes" >&6
10364 echo "$as_me:$LINENO: result: no" >&5
10365 echo "${ECHO_T}no" >&6
10370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10371 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10373 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10374 if test "${enable_tipwindow+set}" = set; then
10375 enableval="$enable_tipwindow"
10377 if test "$enableval" = yes; then
10378 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
10380 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
10385 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10386 if test "x$LINE" != x ; then
10387 eval "DEFAULT_$LINE"
10392 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
10396 eval "$ac_cv_use_tipwindow"
10397 if test "$no_cache" != 1; then
10398 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10401 if test "$wxUSE_TIPWINDOW" = yes; then
10402 echo "$as_me:$LINENO: result: yes" >&5
10403 echo "${ECHO_T}yes" >&6
10405 echo "$as_me:$LINENO: result: no" >&5
10406 echo "${ECHO_T}no" >&6
10411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10412 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10414 # Check whether --enable-popupwin or --disable-popupwin was given.
10415 if test "${enable_popupwin+set}" = set; then
10416 enableval="$enable_popupwin"
10418 if test "$enableval" = yes; then
10419 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
10421 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
10426 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10427 if test "x$LINE" != x ; then
10428 eval "DEFAULT_$LINE"
10433 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
10437 eval "$ac_cv_use_popupwin"
10438 if test "$no_cache" != 1; then
10439 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10442 if test "$wxUSE_POPUPWIN" = yes; then
10443 echo "$as_me:$LINENO: result: yes" >&5
10444 echo "${ECHO_T}yes" >&6
10446 echo "$as_me:$LINENO: result: no" >&5
10447 echo "${ECHO_T}no" >&6
10454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10455 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10457 # Check whether --enable-commondlg or --disable-commondlg was given.
10458 if test "${enable_commondlg+set}" = set; then
10459 enableval="$enable_commondlg"
10461 if test "$enableval" = yes; then
10462 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
10464 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
10469 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10470 if test "x$LINE" != x ; then
10471 eval "DEFAULT_$LINE"
10476 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
10480 eval "$ac_cv_use_commondlg"
10481 if test "$no_cache" != 1; then
10482 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10485 if test "$wxUSE_COMMONDLGS" = yes; then
10486 echo "$as_me:$LINENO: result: yes" >&5
10487 echo "${ECHO_T}yes" >&6
10489 echo "$as_me:$LINENO: result: no" >&5
10490 echo "${ECHO_T}no" >&6
10495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10496 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10498 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10499 if test "${enable_aboutdlg+set}" = set; then
10500 enableval="$enable_aboutdlg"
10502 if test "$enableval" = yes; then
10503 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
10505 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
10510 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10511 if test "x$LINE" != x ; then
10512 eval "DEFAULT_$LINE"
10517 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG
='$DEFAULT_wxUSE_ABOUTDLG
10521 eval "$ac_cv_use_aboutdlg"
10522 if test "$no_cache" != 1; then
10523 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10526 if test "$wxUSE_ABOUTDLG" = yes; then
10527 echo "$as_me:$LINENO: result: yes" >&5
10528 echo "${ECHO_T}yes" >&6
10530 echo "$as_me:$LINENO: result: no" >&5
10531 echo "${ECHO_T}no" >&6
10536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10537 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10539 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10540 if test "${enable_choicedlg+set}" = set; then
10541 enableval="$enable_choicedlg"
10543 if test "$enableval" = yes; then
10544 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
10546 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
10551 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10552 if test "x$LINE" != x ; then
10553 eval "DEFAULT_$LINE"
10558 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
10562 eval "$ac_cv_use_choicedlg"
10563 if test "$no_cache" != 1; then
10564 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10567 if test "$wxUSE_CHOICEDLG" = yes; then
10568 echo "$as_me:$LINENO: result: yes" >&5
10569 echo "${ECHO_T}yes" >&6
10571 echo "$as_me:$LINENO: result: no" >&5
10572 echo "${ECHO_T}no" >&6
10577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10578 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10580 # Check whether --enable-coldlg or --disable-coldlg was given.
10581 if test "${enable_coldlg+set}" = set; then
10582 enableval="$enable_coldlg"
10584 if test "$enableval" = yes; then
10585 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
10587 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
10592 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10593 if test "x$LINE" != x ; then
10594 eval "DEFAULT_$LINE"
10599 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
10603 eval "$ac_cv_use_coldlg"
10604 if test "$no_cache" != 1; then
10605 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10608 if test "$wxUSE_COLOURDLG" = yes; then
10609 echo "$as_me:$LINENO: result: yes" >&5
10610 echo "${ECHO_T}yes" >&6
10612 echo "$as_me:$LINENO: result: no" >&5
10613 echo "${ECHO_T}no" >&6
10618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10621 # Check whether --enable-filedlg or --disable-filedlg was given.
10622 if test "${enable_filedlg+set}" = set; then
10623 enableval="$enable_filedlg"
10625 if test "$enableval" = yes; then
10626 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
10628 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
10633 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10634 if test "x$LINE" != x ; then
10635 eval "DEFAULT_$LINE"
10640 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
10644 eval "$ac_cv_use_filedlg"
10645 if test "$no_cache" != 1; then
10646 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10649 if test "$wxUSE_FILEDLG" = yes; then
10650 echo "$as_me:$LINENO: result: yes" >&5
10651 echo "${ECHO_T}yes" >&6
10653 echo "$as_me:$LINENO: result: no" >&5
10654 echo "${ECHO_T}no" >&6
10659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10660 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10662 # Check whether --enable-finddlg or --disable-finddlg was given.
10663 if test "${enable_finddlg+set}" = set; then
10664 enableval="$enable_finddlg"
10666 if test "$enableval" = yes; then
10667 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
10669 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
10674 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10675 if test "x$LINE" != x ; then
10676 eval "DEFAULT_$LINE"
10681 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
10685 eval "$ac_cv_use_finddlg"
10686 if test "$no_cache" != 1; then
10687 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10690 if test "$wxUSE_FINDREPLDLG" = yes; then
10691 echo "$as_me:$LINENO: result: yes" >&5
10692 echo "${ECHO_T}yes" >&6
10694 echo "$as_me:$LINENO: result: no" >&5
10695 echo "${ECHO_T}no" >&6
10700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10701 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10703 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10704 if test "${enable_fontdlg+set}" = set; then
10705 enableval="$enable_fontdlg"
10707 if test "$enableval" = yes; then
10708 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
10710 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
10715 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10716 if test "x$LINE" != x ; then
10717 eval "DEFAULT_$LINE"
10722 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
10726 eval "$ac_cv_use_fontdlg"
10727 if test "$no_cache" != 1; then
10728 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10731 if test "$wxUSE_FONTDLG" = yes; then
10732 echo "$as_me:$LINENO: result: yes" >&5
10733 echo "${ECHO_T}yes" >&6
10735 echo "$as_me:$LINENO: result: no" >&5
10736 echo "${ECHO_T}no" >&6
10741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10742 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10744 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10745 if test "${enable_dirdlg+set}" = set; then
10746 enableval="$enable_dirdlg"
10748 if test "$enableval" = yes; then
10749 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
10751 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
10756 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10757 if test "x$LINE" != x ; then
10758 eval "DEFAULT_$LINE"
10763 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
10767 eval "$ac_cv_use_dirdlg"
10768 if test "$no_cache" != 1; then
10769 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10772 if test "$wxUSE_DIRDLG" = yes; then
10773 echo "$as_me:$LINENO: result: yes" >&5
10774 echo "${ECHO_T}yes" >&6
10776 echo "$as_me:$LINENO: result: no" >&5
10777 echo "${ECHO_T}no" >&6
10782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10783 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10785 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10786 if test "${enable_msgdlg+set}" = set; then
10787 enableval="$enable_msgdlg"
10789 if test "$enableval" = yes; then
10790 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
10792 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
10797 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10798 if test "x$LINE" != x ; then
10799 eval "DEFAULT_$LINE"
10804 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
10808 eval "$ac_cv_use_msgdlg"
10809 if test "$no_cache" != 1; then
10810 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10813 if test "$wxUSE_MSGDLG" = yes; then
10814 echo "$as_me:$LINENO: result: yes" >&5
10815 echo "${ECHO_T}yes" >&6
10817 echo "$as_me:$LINENO: result: no" >&5
10818 echo "${ECHO_T}no" >&6
10823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10824 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10826 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10827 if test "${enable_numberdlg+set}" = set; then
10828 enableval="$enable_numberdlg"
10830 if test "$enableval" = yes; then
10831 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
10833 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
10838 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10839 if test "x$LINE" != x ; then
10840 eval "DEFAULT_$LINE"
10845 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
10849 eval "$ac_cv_use_numberdlg"
10850 if test "$no_cache" != 1; then
10851 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10854 if test "$wxUSE_NUMBERDLG" = yes; then
10855 echo "$as_me:$LINENO: result: yes" >&5
10856 echo "${ECHO_T}yes" >&6
10858 echo "$as_me:$LINENO: result: no" >&5
10859 echo "${ECHO_T}no" >&6
10864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10865 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10867 # Check whether --enable-splash or --disable-splash was given.
10868 if test "${enable_splash+set}" = set; then
10869 enableval="$enable_splash"
10871 if test "$enableval" = yes; then
10872 ac_cv_use_splash='wxUSE_SPLASH
=yes'
10874 ac_cv_use_splash='wxUSE_SPLASH
=no
'
10879 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10880 if test "x$LINE" != x ; then
10881 eval "DEFAULT_$LINE"
10886 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
10890 eval "$ac_cv_use_splash"
10891 if test "$no_cache" != 1; then
10892 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10895 if test "$wxUSE_SPLASH" = yes; then
10896 echo "$as_me:$LINENO: result: yes" >&5
10897 echo "${ECHO_T}yes" >&6
10899 echo "$as_me:$LINENO: result: no" >&5
10900 echo "${ECHO_T}no" >&6
10905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10906 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10908 # Check whether --enable-textdlg or --disable-textdlg was given.
10909 if test "${enable_textdlg+set}" = set; then
10910 enableval="$enable_textdlg"
10912 if test "$enableval" = yes; then
10913 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
10915 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
10920 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10921 if test "x$LINE" != x ; then
10922 eval "DEFAULT_$LINE"
10927 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
10931 eval "$ac_cv_use_textdlg"
10932 if test "$no_cache" != 1; then
10933 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10936 if test "$wxUSE_TEXTDLG" = yes; then
10937 echo "$as_me:$LINENO: result: yes" >&5
10938 echo "${ECHO_T}yes" >&6
10940 echo "$as_me:$LINENO: result: no" >&5
10941 echo "${ECHO_T}no" >&6
10946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10947 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10949 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10950 if test "${enable_tipdlg+set}" = set; then
10951 enableval="$enable_tipdlg"
10953 if test "$enableval" = yes; then
10954 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
10956 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
10961 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10962 if test "x$LINE" != x ; then
10963 eval "DEFAULT_$LINE"
10968 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
10972 eval "$ac_cv_use_tipdlg"
10973 if test "$no_cache" != 1; then
10974 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10977 if test "$wxUSE_STARTUP_TIPS" = yes; then
10978 echo "$as_me:$LINENO: result: yes" >&5
10979 echo "${ECHO_T}yes" >&6
10981 echo "$as_me:$LINENO: result: no" >&5
10982 echo "${ECHO_T}no" >&6
10987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10988 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10990 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10991 if test "${enable_progressdlg+set}" = set; then
10992 enableval="$enable_progressdlg"
10994 if test "$enableval" = yes; then
10995 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
10997 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
11002 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11003 if test "x$LINE" != x ; then
11004 eval "DEFAULT_$LINE"
11009 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
11013 eval "$ac_cv_use_progressdlg"
11014 if test "$no_cache" != 1; then
11015 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11018 if test "$wxUSE_PROGRESSDLG" = yes; then
11019 echo "$as_me:$LINENO: result: yes" >&5
11020 echo "${ECHO_T}yes" >&6
11022 echo "$as_me:$LINENO: result: no" >&5
11023 echo "${ECHO_T}no" >&6
11028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11029 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
11031 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
11032 if test "${enable_wizarddlg+set}" = set; then
11033 enableval="$enable_wizarddlg"
11035 if test "$enableval" = yes; then
11036 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
11038 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
11043 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11044 if test "x$LINE" != x ; then
11045 eval "DEFAULT_$LINE"
11050 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
11054 eval "$ac_cv_use_wizarddlg"
11055 if test "$no_cache" != 1; then
11056 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11059 if test "$wxUSE_WIZARDDLG" = yes; then
11060 echo "$as_me:$LINENO: result: yes" >&5
11061 echo "${ECHO_T}yes" >&6
11063 echo "$as_me:$LINENO: result: no" >&5
11064 echo "${ECHO_T}no" >&6
11071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11072 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
11074 # Check whether --enable-menus or --disable-menus was given.
11075 if test "${enable_menus+set}" = set; then
11076 enableval="$enable_menus"
11078 if test "$enableval" = yes; then
11079 ac_cv_use_menus='wxUSE_MENUS
=yes'
11081 ac_cv_use_menus='wxUSE_MENUS
=no
'
11086 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11087 if test "x$LINE" != x ; then
11088 eval "DEFAULT_$LINE"
11093 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
11097 eval "$ac_cv_use_menus"
11098 if test "$no_cache" != 1; then
11099 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11102 if test "$wxUSE_MENUS" = yes; then
11103 echo "$as_me:$LINENO: result: yes" >&5
11104 echo "${ECHO_T}yes" >&6
11106 echo "$as_me:$LINENO: result: no" >&5
11107 echo "${ECHO_T}no" >&6
11112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11113 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
11115 # Check whether --enable-miniframe or --disable-miniframe was given.
11116 if test "${enable_miniframe+set}" = set; then
11117 enableval="$enable_miniframe"
11119 if test "$enableval" = yes; then
11120 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
11122 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
11127 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11128 if test "x$LINE" != x ; then
11129 eval "DEFAULT_$LINE"
11134 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
11138 eval "$ac_cv_use_miniframe"
11139 if test "$no_cache" != 1; then
11140 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11143 if test "$wxUSE_MINIFRAME" = yes; then
11144 echo "$as_me:$LINENO: result: yes" >&5
11145 echo "${ECHO_T}yes" >&6
11147 echo "$as_me:$LINENO: result: no" >&5
11148 echo "${ECHO_T}no" >&6
11153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11154 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
11156 # Check whether --enable-tooltips or --disable-tooltips was given.
11157 if test "${enable_tooltips+set}" = set; then
11158 enableval="$enable_tooltips"
11160 if test "$enableval" = yes; then
11161 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
11163 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
11168 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11169 if test "x$LINE" != x ; then
11170 eval "DEFAULT_$LINE"
11175 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
11179 eval "$ac_cv_use_tooltips"
11180 if test "$no_cache" != 1; then
11181 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11184 if test "$wxUSE_TOOLTIPS" = yes; then
11185 echo "$as_me:$LINENO: result: yes" >&5
11186 echo "${ECHO_T}yes" >&6
11188 echo "$as_me:$LINENO: result: no" >&5
11189 echo "${ECHO_T}no" >&6
11194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11195 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
11197 # Check whether --enable-splines or --disable-splines was given.
11198 if test "${enable_splines+set}" = set; then
11199 enableval="$enable_splines"
11201 if test "$enableval" = yes; then
11202 ac_cv_use_splines='wxUSE_SPLINES
=yes'
11204 ac_cv_use_splines='wxUSE_SPLINES
=no
'
11209 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11210 if test "x$LINE" != x ; then
11211 eval "DEFAULT_$LINE"
11216 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
11220 eval "$ac_cv_use_splines"
11221 if test "$no_cache" != 1; then
11222 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11225 if test "$wxUSE_SPLINES" = yes; then
11226 echo "$as_me:$LINENO: result: yes" >&5
11227 echo "${ECHO_T}yes" >&6
11229 echo "$as_me:$LINENO: result: no" >&5
11230 echo "${ECHO_T}no" >&6
11235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11236 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11238 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11239 if test "${enable_mousewheel+set}" = set; then
11240 enableval="$enable_mousewheel"
11242 if test "$enableval" = yes; then
11243 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
11245 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
11250 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11251 if test "x$LINE" != x ; then
11252 eval "DEFAULT_$LINE"
11257 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
='$DEFAULT_wxUSE_MOUSEWHEEL
11261 eval "$ac_cv_use_mousewheel"
11262 if test "$no_cache" != 1; then
11263 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11266 if test "$wxUSE_MOUSEWHEEL" = yes; then
11267 echo "$as_me:$LINENO: result: yes" >&5
11268 echo "${ECHO_T}yes" >&6
11270 echo "$as_me:$LINENO: result: no" >&5
11271 echo "${ECHO_T}no" >&6
11276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11277 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11279 # Check whether --enable-validators or --disable-validators was given.
11280 if test "${enable_validators+set}" = set; then
11281 enableval="$enable_validators"
11283 if test "$enableval" = yes; then
11284 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
11286 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
11291 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11292 if test "x$LINE" != x ; then
11293 eval "DEFAULT_$LINE"
11298 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
11302 eval "$ac_cv_use_validators"
11303 if test "$no_cache" != 1; then
11304 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11307 if test "$wxUSE_VALIDATORS" = yes; then
11308 echo "$as_me:$LINENO: result: yes" >&5
11309 echo "${ECHO_T}yes" >&6
11311 echo "$as_me:$LINENO: result: no" >&5
11312 echo "${ECHO_T}no" >&6
11317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11318 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11320 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11321 if test "${enable_busyinfo+set}" = set; then
11322 enableval="$enable_busyinfo"
11324 if test "$enableval" = yes; then
11325 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
11327 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
11332 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11333 if test "x$LINE" != x ; then
11334 eval "DEFAULT_$LINE"
11339 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
11343 eval "$ac_cv_use_busyinfo"
11344 if test "$no_cache" != 1; then
11345 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11348 if test "$wxUSE_BUSYINFO" = yes; then
11349 echo "$as_me:$LINENO: result: yes" >&5
11350 echo "${ECHO_T}yes" >&6
11352 echo "$as_me:$LINENO: result: no" >&5
11353 echo "${ECHO_T}no" >&6
11358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11359 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11361 # Check whether --enable-joystick or --disable-joystick was given.
11362 if test "${enable_joystick+set}" = set; then
11363 enableval="$enable_joystick"
11365 if test "$enableval" = yes; then
11366 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
11368 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
11373 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11374 if test "x$LINE" != x ; then
11375 eval "DEFAULT_$LINE"
11380 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
11384 eval "$ac_cv_use_joystick"
11385 if test "$no_cache" != 1; then
11386 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11389 if test "$wxUSE_JOYSTICK" = yes; then
11390 echo "$as_me:$LINENO: result: yes" >&5
11391 echo "${ECHO_T}yes" >&6
11393 echo "$as_me:$LINENO: result: no" >&5
11394 echo "${ECHO_T}no" >&6
11399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11400 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11402 # Check whether --enable-metafile or --disable-metafile was given.
11403 if test "${enable_metafile+set}" = set; then
11404 enableval="$enable_metafile"
11406 if test "$enableval" = yes; then
11407 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
11409 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
11414 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11415 if test "x$LINE" != x ; then
11416 eval "DEFAULT_$LINE"
11421 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
11425 eval "$ac_cv_use_metafile"
11426 if test "$no_cache" != 1; then
11427 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11430 if test "$wxUSE_METAFILE" = yes; then
11431 echo "$as_me:$LINENO: result: yes" >&5
11432 echo "${ECHO_T}yes" >&6
11434 echo "$as_me:$LINENO: result: no" >&5
11435 echo "${ECHO_T}no" >&6
11440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11441 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11443 # Check whether --enable-dragimage or --disable-dragimage was given.
11444 if test "${enable_dragimage+set}" = set; then
11445 enableval="$enable_dragimage"
11447 if test "$enableval" = yes; then
11448 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
11450 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
11455 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11456 if test "x$LINE" != x ; then
11457 eval "DEFAULT_$LINE"
11462 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
11466 eval "$ac_cv_use_dragimage"
11467 if test "$no_cache" != 1; then
11468 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11471 if test "$wxUSE_DRAGIMAGE" = yes; then
11472 echo "$as_me:$LINENO: result: yes" >&5
11473 echo "${ECHO_T}yes" >&6
11475 echo "$as_me:$LINENO: result: no" >&5
11476 echo "${ECHO_T}no" >&6
11481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11482 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11484 # Check whether --enable-accessibility or --disable-accessibility was given.
11485 if test "${enable_accessibility+set}" = set; then
11486 enableval="$enable_accessibility"
11488 if test "$enableval" = yes; then
11489 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
11491 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
11496 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11497 if test "x$LINE" != x ; then
11498 eval "DEFAULT_$LINE"
11503 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
11507 eval "$ac_cv_use_accessibility"
11508 if test "$no_cache" != 1; then
11509 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11512 if test "$wxUSE_ACCESSIBILITY" = yes; then
11513 echo "$as_me:$LINENO: result: yes" >&5
11514 echo "${ECHO_T}yes" >&6
11516 echo "$as_me:$LINENO: result: no" >&5
11517 echo "${ECHO_T}no" >&6
11521 if test "$wxUSE_MSW" = "1"; then
11524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11525 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11527 # Check whether --enable-dccache or --disable-dccache was given.
11528 if test "${enable_dccache+set}" = set; then
11529 enableval="$enable_dccache"
11531 if test "$enableval" = yes; then
11532 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
11534 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
11539 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11540 if test "x$LINE" != x ; then
11541 eval "DEFAULT_$LINE"
11546 ac_cv_use_dccache='wxUSE_DC_CACHEING
='$DEFAULT_wxUSE_DC_CACHEING
11550 eval "$ac_cv_use_dccache"
11551 if test "$no_cache" != 1; then
11552 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11555 if test "$wxUSE_DC_CACHEING" = yes; then
11556 echo "$as_me:$LINENO: result: yes" >&5
11557 echo "${ECHO_T}yes" >&6
11559 echo "$as_me:$LINENO: result: no" >&5
11560 echo "${ECHO_T}no" >&6
11568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11569 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11571 # Check whether --enable-palette or --disable-palette was given.
11572 if test "${enable_palette+set}" = set; then
11573 enableval="$enable_palette"
11575 if test "$enableval" = yes; then
11576 ac_cv_use_palette='wxUSE_PALETTE
=yes'
11578 ac_cv_use_palette='wxUSE_PALETTE
=no
'
11583 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11584 if test "x$LINE" != x ; then
11585 eval "DEFAULT_$LINE"
11590 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
11594 eval "$ac_cv_use_palette"
11595 if test "$no_cache" != 1; then
11596 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11599 if test "$wxUSE_PALETTE" = yes; then
11600 echo "$as_me:$LINENO: result: yes" >&5
11601 echo "${ECHO_T}yes" >&6
11603 echo "$as_me:$LINENO: result: no" >&5
11604 echo "${ECHO_T}no" >&6
11609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11610 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11612 # Check whether --enable-image or --disable-image was given.
11613 if test "${enable_image+set}" = set; then
11614 enableval="$enable_image"
11616 if test "$enableval" = yes; then
11617 ac_cv_use_image='wxUSE_IMAGE
=yes'
11619 ac_cv_use_image='wxUSE_IMAGE
=no
'
11624 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11625 if test "x$LINE" != x ; then
11626 eval "DEFAULT_$LINE"
11631 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
11635 eval "$ac_cv_use_image"
11636 if test "$no_cache" != 1; then
11637 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11640 if test "$wxUSE_IMAGE" = yes; then
11641 echo "$as_me:$LINENO: result: yes" >&5
11642 echo "${ECHO_T}yes" >&6
11644 echo "$as_me:$LINENO: result: no" >&5
11645 echo "${ECHO_T}no" >&6
11650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11651 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11653 # Check whether --enable-gif or --disable-gif was given.
11654 if test "${enable_gif+set}" = set; then
11655 enableval="$enable_gif"
11657 if test "$enableval" = yes; then
11658 ac_cv_use_gif='wxUSE_GIF
=yes'
11660 ac_cv_use_gif='wxUSE_GIF
=no
'
11665 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11666 if test "x$LINE" != x ; then
11667 eval "DEFAULT_$LINE"
11672 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
11676 eval "$ac_cv_use_gif"
11677 if test "$no_cache" != 1; then
11678 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11681 if test "$wxUSE_GIF" = yes; then
11682 echo "$as_me:$LINENO: result: yes" >&5
11683 echo "${ECHO_T}yes" >&6
11685 echo "$as_me:$LINENO: result: no" >&5
11686 echo "${ECHO_T}no" >&6
11691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11692 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11694 # Check whether --enable-pcx or --disable-pcx was given.
11695 if test "${enable_pcx+set}" = set; then
11696 enableval="$enable_pcx"
11698 if test "$enableval" = yes; then
11699 ac_cv_use_pcx='wxUSE_PCX
=yes'
11701 ac_cv_use_pcx='wxUSE_PCX
=no
'
11706 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11707 if test "x$LINE" != x ; then
11708 eval "DEFAULT_$LINE"
11713 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
11717 eval "$ac_cv_use_pcx"
11718 if test "$no_cache" != 1; then
11719 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11722 if test "$wxUSE_PCX" = yes; then
11723 echo "$as_me:$LINENO: result: yes" >&5
11724 echo "${ECHO_T}yes" >&6
11726 echo "$as_me:$LINENO: result: no" >&5
11727 echo "${ECHO_T}no" >&6
11732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11733 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11735 # Check whether --enable-tga or --disable-tga was given.
11736 if test "${enable_tga+set}" = set; then
11737 enableval="$enable_tga"
11739 if test "$enableval" = yes; then
11740 ac_cv_use_tga='wxUSE_TGA
=yes'
11742 ac_cv_use_tga='wxUSE_TGA
=no
'
11747 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11748 if test "x$LINE" != x ; then
11749 eval "DEFAULT_$LINE"
11754 ac_cv_use_tga='wxUSE_TGA
='$DEFAULT_wxUSE_TGA
11758 eval "$ac_cv_use_tga"
11759 if test "$no_cache" != 1; then
11760 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11763 if test "$wxUSE_TGA" = yes; then
11764 echo "$as_me:$LINENO: result: yes" >&5
11765 echo "${ECHO_T}yes" >&6
11767 echo "$as_me:$LINENO: result: no" >&5
11768 echo "${ECHO_T}no" >&6
11773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11774 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11776 # Check whether --enable-iff or --disable-iff was given.
11777 if test "${enable_iff+set}" = set; then
11778 enableval="$enable_iff"
11780 if test "$enableval" = yes; then
11781 ac_cv_use_iff='wxUSE_IFF
=yes'
11783 ac_cv_use_iff='wxUSE_IFF
=no
'
11788 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11789 if test "x$LINE" != x ; then
11790 eval "DEFAULT_$LINE"
11795 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
11799 eval "$ac_cv_use_iff"
11800 if test "$no_cache" != 1; then
11801 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11804 if test "$wxUSE_IFF" = yes; then
11805 echo "$as_me:$LINENO: result: yes" >&5
11806 echo "${ECHO_T}yes" >&6
11808 echo "$as_me:$LINENO: result: no" >&5
11809 echo "${ECHO_T}no" >&6
11814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11815 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11817 # Check whether --enable-pnm or --disable-pnm was given.
11818 if test "${enable_pnm+set}" = set; then
11819 enableval="$enable_pnm"
11821 if test "$enableval" = yes; then
11822 ac_cv_use_pnm='wxUSE_PNM
=yes'
11824 ac_cv_use_pnm='wxUSE_PNM
=no
'
11829 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11830 if test "x$LINE" != x ; then
11831 eval "DEFAULT_$LINE"
11836 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
11840 eval "$ac_cv_use_pnm"
11841 if test "$no_cache" != 1; then
11842 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11845 if test "$wxUSE_PNM" = yes; then
11846 echo "$as_me:$LINENO: result: yes" >&5
11847 echo "${ECHO_T}yes" >&6
11849 echo "$as_me:$LINENO: result: no" >&5
11850 echo "${ECHO_T}no" >&6
11855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11856 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11858 # Check whether --enable-xpm or --disable-xpm was given.
11859 if test "${enable_xpm+set}" = set; then
11860 enableval="$enable_xpm"
11862 if test "$enableval" = yes; then
11863 ac_cv_use_xpm='wxUSE_XPM
=yes'
11865 ac_cv_use_xpm='wxUSE_XPM
=no
'
11870 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11871 if test "x$LINE" != x ; then
11872 eval "DEFAULT_$LINE"
11877 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
11881 eval "$ac_cv_use_xpm"
11882 if test "$no_cache" != 1; then
11883 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11886 if test "$wxUSE_XPM" = yes; then
11887 echo "$as_me:$LINENO: result: yes" >&5
11888 echo "${ECHO_T}yes" >&6
11890 echo "$as_me:$LINENO: result: no" >&5
11891 echo "${ECHO_T}no" >&6
11896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11897 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11899 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11900 if test "${enable_ico_cur+set}" = set; then
11901 enableval="$enable_ico_cur"
11903 if test "$enableval" = yes; then
11904 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
11906 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
11911 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11912 if test "x$LINE" != x ; then
11913 eval "DEFAULT_$LINE"
11918 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
11922 eval "$ac_cv_use_ico_cur"
11923 if test "$no_cache" != 1; then
11924 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11927 if test "$wxUSE_ICO_CUR" = yes; then
11928 echo "$as_me:$LINENO: result: yes" >&5
11929 echo "${ECHO_T}yes" >&6
11931 echo "$as_me:$LINENO: result: no" >&5
11932 echo "${ECHO_T}no" >&6
11940 # Check whether --with-flavour or --without-flavour was given.
11941 if test "${with_flavour+set}" = set; then
11942 withval="$with_flavour"
11943 WX_FLAVOUR="$withval"
11949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11950 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11952 # Check whether --enable-official_build or --disable-official_build was given.
11953 if test "${enable_official_build+set}" = set; then
11954 enableval="$enable_official_build"
11956 if test "$enableval" = yes; then
11957 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
11959 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
11964 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11965 if test "x$LINE" != x ; then
11966 eval "DEFAULT_$LINE"
11971 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
11975 eval "$ac_cv_use_official_build"
11976 if test "$no_cache" != 1; then
11977 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11980 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11981 echo "$as_me:$LINENO: result: yes" >&5
11982 echo "${ECHO_T}yes" >&6
11984 echo "$as_me:$LINENO: result: no" >&5
11985 echo "${ECHO_T}no" >&6
11988 # Check whether --enable-vendor or --disable-vendor was given.
11989 if test "${enable_vendor+set}" = set; then
11990 enableval="$enable_vendor"
11991 VENDOR="$enableval"
11993 if test "x$VENDOR" = "x"; then
12000 echo "saving argument cache $wx_arg_cache_file"
12001 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12005 echo "$as_me:$LINENO: checking for toolkit" >&5
12006 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
12008 # In Wine, we need to default to MSW, not GTK or MOTIF
12009 if test "$wxUSE_WINE" = "yes"; then
12010 DEFAULT_DEFAULT_wxUSE_GTK=0
12011 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12012 DEFAULT_DEFAULT_wxUSE_MSW=1
12015 CXX=${CXX:-wineg++}
12019 if test "$wxUSE_GUI" = "yes"; then
12021 if test "$USE_BEOS" = 1; then
12022 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12023 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12024 { (exit 1); exit 1; }; }
12027 if test "$TOOLKIT_GIVEN" = 1; then
12028 for toolkit in `echo $ALL_TOOLKITS`; do
12030 eval "value=\$${var}"
12031 if test "x$value" = "xno"; then
12033 elif test "x$value" != "x"; then
12037 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12038 eval "wx${toolkit}_VERSION=$value"
12042 for toolkit in `echo $ALL_TOOLKITS`; do
12043 if test "$has_toolkit_in_cache" != 1; then
12044 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12046 var=DEFAULT_wxUSE_$toolkit
12048 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12049 if test "x$version" != "x"; then
12050 eval "wx${toolkit}_VERSION=$version"
12053 eval "wxUSE_$toolkit=\$${var}"
12057 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12058 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12059 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12062 *-pc-os2_emx | *-pc-os2-emx )
12063 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12066 case "$NUM_TOOLKITS" in
12070 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12071 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12072 { (exit 1); exit 1; }; }
12075 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12076 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12077 { (exit 1); exit 1; }; }
12080 # to be removed when --disable-gtk2 isn't needed
12081 if test "x$wxUSE_GTK2" = "xyes"; then
12083 elif test "x$wxUSE_GTK2" = "xno"; then
12087 for toolkit
in `echo $ALL_TOOLKITS`; do
12089 eval "value=\$${var}"
12090 if test "x$value" != x
; then
12091 cache_var
=CACHE_
$toolkit
12092 eval "cache=\$${cache_var}"
12093 if test "$cache" = 1; then
12094 echo "$var=$value" >> ${wx_arg_cache_file}
12095 eval "version=\$wx${toolkit}_VERSION"
12096 if test "x$version" != "x"; then
12097 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12100 if test "$value" = 1; then
12101 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12102 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12103 echo "${ECHO_T}$toolkit_echo" >&6
12108 if test "x$host_alias" != "x"; then
12109 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12110 echo "${ECHO_T}base ($host_alias hosted) only" >&6
12112 echo "$as_me:$LINENO: result: base only" >&5
12113 echo "${ECHO_T}base only" >&6
12118 cat >confcache
<<\_ACEOF
12119 # This file is a shell script that caches the results of configure
12120 # tests run on this system so they can be shared between configure
12121 # scripts and configure runs, see configure's option --config-cache.
12122 # It is not useful on other systems. If it contains results you don't
12123 # want to keep, you may remove or edit it.
12125 # config.status only pays attention to the cache file if you give it
12126 # the --recheck option to rerun configure.
12128 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12129 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12130 # following values.
12134 # The following way of writing the cache mishandles newlines in values,
12135 # but we know of no workaround that is simple, portable, and efficient.
12136 # So, don't put newlines in cache variables' values.
12137 # Ultrix sh set writes to stderr and can't be redirected directly,
12138 # and sets the high bit in the cache file unless we assign to the vars.
12141 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12143 # `set' does not quote correctly, so add quotes (double-quote
12144 # substitution turns \\\\ into \\, and sed turns \\ into \).
12147 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12150 # `set' quotes correctly as required by POSIX, so do not add quotes.
12152 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12159 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12161 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12163 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12164 if test -w $cache_file; then
12165 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12166 cat confcache
>$cache_file
12168 echo "not updating unwritable cache $cache_file"
12178 ac_cpp
='$CPP $CPPFLAGS'
12179 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12180 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12181 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12182 if test -n "$ac_tool_prefix"; then
12183 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12184 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12185 echo "$as_me:$LINENO: checking for $ac_word" >&5
12186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12187 if test "${ac_cv_prog_CC+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12190 if test -n "$CC"; then
12191 ac_cv_prog_CC
="$CC" # Let the user override the test.
12193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12194 for as_dir
in $PATH
12197 test -z "$as_dir" && as_dir
=.
12198 for ac_exec_ext
in '' $ac_executable_extensions; do
12199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12200 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12210 if test -n "$CC"; then
12211 echo "$as_me:$LINENO: result: $CC" >&5
12212 echo "${ECHO_T}$CC" >&6
12214 echo "$as_me:$LINENO: result: no" >&5
12215 echo "${ECHO_T}no" >&6
12219 if test -z "$ac_cv_prog_CC"; then
12221 # Extract the first word of "gcc", so it can be a program name with args.
12222 set dummy gcc
; ac_word
=$2
12223 echo "$as_me:$LINENO: checking for $ac_word" >&5
12224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12225 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12226 echo $ECHO_N "(cached) $ECHO_C" >&6
12228 if test -n "$ac_ct_CC"; then
12229 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12232 for as_dir
in $PATH
12235 test -z "$as_dir" && as_dir
=.
12236 for ac_exec_ext
in '' $ac_executable_extensions; do
12237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12238 ac_cv_prog_ac_ct_CC
="gcc"
12239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12247 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12248 if test -n "$ac_ct_CC"; then
12249 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12250 echo "${ECHO_T}$ac_ct_CC" >&6
12252 echo "$as_me:$LINENO: result: no" >&5
12253 echo "${ECHO_T}no" >&6
12258 CC
="$ac_cv_prog_CC"
12261 if test -z "$CC"; then
12262 if test -n "$ac_tool_prefix"; then
12263 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12264 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12265 echo "$as_me:$LINENO: checking for $ac_word" >&5
12266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12267 if test "${ac_cv_prog_CC+set}" = set; then
12268 echo $ECHO_N "(cached) $ECHO_C" >&6
12270 if test -n "$CC"; then
12271 ac_cv_prog_CC
="$CC" # Let the user override the test.
12273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12274 for as_dir
in $PATH
12277 test -z "$as_dir" && as_dir
=.
12278 for ac_exec_ext
in '' $ac_executable_extensions; do
12279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12280 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12290 if test -n "$CC"; then
12291 echo "$as_me:$LINENO: result: $CC" >&5
12292 echo "${ECHO_T}$CC" >&6
12294 echo "$as_me:$LINENO: result: no" >&5
12295 echo "${ECHO_T}no" >&6
12299 if test -z "$ac_cv_prog_CC"; then
12301 # Extract the first word of "cc", so it can be a program name with args.
12302 set dummy cc
; ac_word
=$2
12303 echo "$as_me:$LINENO: checking for $ac_word" >&5
12304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12306 echo $ECHO_N "(cached) $ECHO_C" >&6
12308 if test -n "$ac_ct_CC"; then
12309 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12312 for as_dir
in $PATH
12315 test -z "$as_dir" && as_dir
=.
12316 for ac_exec_ext
in '' $ac_executable_extensions; do
12317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12318 ac_cv_prog_ac_ct_CC
="cc"
12319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12327 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12328 if test -n "$ac_ct_CC"; then
12329 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12330 echo "${ECHO_T}$ac_ct_CC" >&6
12332 echo "$as_me:$LINENO: result: no" >&5
12333 echo "${ECHO_T}no" >&6
12338 CC
="$ac_cv_prog_CC"
12342 if test -z "$CC"; then
12343 # Extract the first word of "cc", so it can be a program name with args.
12344 set dummy cc
; ac_word
=$2
12345 echo "$as_me:$LINENO: checking for $ac_word" >&5
12346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12347 if test "${ac_cv_prog_CC+set}" = set; then
12348 echo $ECHO_N "(cached) $ECHO_C" >&6
12350 if test -n "$CC"; then
12351 ac_cv_prog_CC
="$CC" # Let the user override the test.
12353 ac_prog_rejected
=no
12354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12355 for as_dir
in $PATH
12358 test -z "$as_dir" && as_dir
=.
12359 for ac_exec_ext
in '' $ac_executable_extensions; do
12360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12361 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12362 ac_prog_rejected
=yes
12366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12372 if test $ac_prog_rejected = yes; then
12373 # We found a bogon in the path, so make sure we never use it.
12374 set dummy
$ac_cv_prog_CC
12376 if test $# != 0; then
12377 # We chose a different compiler from the bogus one.
12378 # However, it has the same basename, so the bogon will be chosen
12379 # first if we set CC to just the basename; use the full file name.
12381 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12387 if test -n "$CC"; then
12388 echo "$as_me:$LINENO: result: $CC" >&5
12389 echo "${ECHO_T}$CC" >&6
12391 echo "$as_me:$LINENO: result: no" >&5
12392 echo "${ECHO_T}no" >&6
12396 if test -z "$CC"; then
12397 if test -n "$ac_tool_prefix"; then
12400 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12401 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12402 echo "$as_me:$LINENO: checking for $ac_word" >&5
12403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12404 if test "${ac_cv_prog_CC+set}" = set; then
12405 echo $ECHO_N "(cached) $ECHO_C" >&6
12407 if test -n "$CC"; then
12408 ac_cv_prog_CC
="$CC" # Let the user override the test.
12410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12411 for as_dir
in $PATH
12414 test -z "$as_dir" && as_dir
=.
12415 for ac_exec_ext
in '' $ac_executable_extensions; do
12416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12417 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12427 if test -n "$CC"; then
12428 echo "$as_me:$LINENO: result: $CC" >&5
12429 echo "${ECHO_T}$CC" >&6
12431 echo "$as_me:$LINENO: result: no" >&5
12432 echo "${ECHO_T}no" >&6
12435 test -n "$CC" && break
12438 if test -z "$CC"; then
12442 # Extract the first word of "$ac_prog", so it can be a program name with args.
12443 set dummy
$ac_prog; ac_word
=$2
12444 echo "$as_me:$LINENO: checking for $ac_word" >&5
12445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12447 echo $ECHO_N "(cached) $ECHO_C" >&6
12449 if test -n "$ac_ct_CC"; then
12450 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12453 for as_dir
in $PATH
12456 test -z "$as_dir" && as_dir
=.
12457 for ac_exec_ext
in '' $ac_executable_extensions; do
12458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12459 ac_cv_prog_ac_ct_CC
="$ac_prog"
12460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12468 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12469 if test -n "$ac_ct_CC"; then
12470 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12471 echo "${ECHO_T}$ac_ct_CC" >&6
12473 echo "$as_me:$LINENO: result: no" >&5
12474 echo "${ECHO_T}no" >&6
12477 test -n "$ac_ct_CC" && break
12486 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12487 See \`config.log' for more details." >&5
12488 echo "$as_me: error: no acceptable C compiler found in \$PATH
12489 See \`config.log' for more details." >&2;}
12490 { (exit 1); exit 1; }; }
12492 # Provide some information about the compiler.
12493 echo "$as_me:$LINENO:" \
12494 "checking for C compiler version" >&5
12495 ac_compiler
=`set X $ac_compile; echo $2`
12496 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12497 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); }
12501 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12502 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); }
12506 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12507 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510 (exit $ac_status); }
12512 cat >conftest.
$ac_ext <<_ACEOF
12515 cat confdefs.h
>>conftest.
$ac_ext
12516 cat >>conftest.
$ac_ext <<_ACEOF
12517 /* end confdefs.h. */
12527 ac_clean_files_save
=$ac_clean_files
12528 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12529 # Try to create an executable without -o first, disregard a.out.
12530 # It will help us diagnose broken compilers, and finding out an intuition
12532 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12533 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12534 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12535 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12536 (eval $ac_link_default) 2>&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; then
12540 # Find the output, starting from the most likely. This scheme is
12541 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12544 # Be careful to initialize this variable, since it used to be cached.
12545 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12547 # b.out is created by i960 compilers.
12548 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12550 test -f "$ac_file" || continue
12552 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12555 # This is the source file.
12558 # We found the default executable, but exeext='' is most
12562 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12563 # FIXME: I believe we export ac_cv_exeext for Libtool,
12564 # but it would be cool to find out if it's true. Does anybody
12565 # maintain Libtool? --akim.
12566 export ac_cv_exeext
12573 echo "$as_me: failed program was:" >&5
12574 sed 's/^/| /' conftest.
$ac_ext >&5
12576 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12577 See \`config.log' for more details." >&5
12578 echo "$as_me: error: C compiler cannot create executables
12579 See \`config.log' for more details." >&2;}
12580 { (exit 77); exit 77; }; }
12583 ac_exeext
=$ac_cv_exeext
12584 echo "$as_me:$LINENO: result: $ac_file" >&5
12585 echo "${ECHO_T}$ac_file" >&6
12587 # Check the compiler produces executables we can run. If not, either
12588 # the compiler is broken, or we cross compile.
12589 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12590 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12591 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12592 # If not cross compiling, check that we can run a simple program.
12593 if test "$cross_compiling" != yes; then
12594 if { ac_try
='./$ac_file'
12595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12596 (eval $ac_try) 2>&5
12598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); }; }; then
12602 if test "$cross_compiling" = maybe
; then
12603 cross_compiling
=yes
12605 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12606 If you meant to cross compile, use \`--host'.
12607 See \`config.log' for more details." >&5
12608 echo "$as_me: error: cannot run C compiled programs.
12609 If you meant to cross compile, use \`--host'.
12610 See \`config.log' for more details." >&2;}
12611 { (exit 1); exit 1; }; }
12615 echo "$as_me:$LINENO: result: yes" >&5
12616 echo "${ECHO_T}yes" >&6
12618 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12619 ac_clean_files
=$ac_clean_files_save
12620 # Check the compiler produces executables we can run. If not, either
12621 # the compiler is broken, or we cross compile.
12622 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12623 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12624 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12625 echo "${ECHO_T}$cross_compiling" >&6
12627 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12628 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12630 (eval $ac_link) 2>&5
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; then
12634 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12635 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12636 # work properly (i.e., refer to `conftest.exe'), while it won't with
12638 for ac_file
in conftest.exe conftest conftest.
*; do
12639 test -f "$ac_file" || continue
12641 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12642 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12643 export ac_cv_exeext
12649 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12650 See \`config.log' for more details." >&5
12651 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12652 See \`config.log' for more details." >&2;}
12653 { (exit 1); exit 1; }; }
12656 rm -f conftest
$ac_cv_exeext
12657 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12658 echo "${ECHO_T}$ac_cv_exeext" >&6
12660 rm -f conftest.
$ac_ext
12661 EXEEXT
=$ac_cv_exeext
12663 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12664 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12665 if test "${ac_cv_objext+set}" = set; then
12666 echo $ECHO_N "(cached) $ECHO_C" >&6
12668 cat >conftest.
$ac_ext <<_ACEOF
12671 cat confdefs.h
>>conftest.
$ac_ext
12672 cat >>conftest.
$ac_ext <<_ACEOF
12673 /* end confdefs.h. */
12683 rm -f conftest.o conftest.obj
12684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12685 (eval $ac_compile) 2>&5
12687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688 (exit $ac_status); }; then
12689 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12691 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12692 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12697 echo "$as_me: failed program was:" >&5
12698 sed 's/^/| /' conftest.
$ac_ext >&5
12700 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12701 See \`config.log' for more details." >&5
12702 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12703 See \`config.log' for more details." >&2;}
12704 { (exit 1); exit 1; }; }
12707 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12709 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12710 echo "${ECHO_T}$ac_cv_objext" >&6
12711 OBJEXT
=$ac_cv_objext
12713 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12714 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12715 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12716 echo $ECHO_N "(cached) $ECHO_C" >&6
12718 cat >conftest.
$ac_ext <<_ACEOF
12721 cat confdefs.h
>>conftest.
$ac_ext
12722 cat >>conftest.
$ac_ext <<_ACEOF
12723 /* end confdefs.h. */
12736 rm -f conftest.
$ac_objext
12737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12738 (eval $ac_compile) 2>conftest.er1
12740 grep -v '^ *+' conftest.er1
>conftest.err
12742 cat conftest.err
>&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); } &&
12745 { ac_try
='test -z "$ac_c_werror_flag"
12746 || test ! -s conftest.err'
12747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12748 (eval $ac_try) 2>&5
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); }; } &&
12752 { ac_try
='test -s conftest.$ac_objext'
12753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12754 (eval $ac_try) 2>&5
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); }; }; then
12758 ac_compiler_gnu
=yes
12760 echo "$as_me: failed program was:" >&5
12761 sed 's/^/| /' conftest.
$ac_ext >&5
12765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12766 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12769 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12770 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12771 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12772 ac_test_CFLAGS
=${CFLAGS+set}
12773 ac_save_CFLAGS
=$CFLAGS
12775 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12776 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12777 if test "${ac_cv_prog_cc_g+set}" = set; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12780 cat >conftest.
$ac_ext <<_ACEOF
12783 cat confdefs.h
>>conftest.
$ac_ext
12784 cat >>conftest.
$ac_ext <<_ACEOF
12785 /* end confdefs.h. */
12795 rm -f conftest.
$ac_objext
12796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12797 (eval $ac_compile) 2>conftest.er1
12799 grep -v '^ *+' conftest.er1
>conftest.err
12801 cat conftest.err
>&5
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); } &&
12804 { ac_try
='test -z "$ac_c_werror_flag"
12805 || test ! -s conftest.err'
12806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12807 (eval $ac_try) 2>&5
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); }; } &&
12811 { ac_try
='test -s conftest.$ac_objext'
12812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12813 (eval $ac_try) 2>&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); }; }; then
12817 ac_cv_prog_cc_g
=yes
12819 echo "$as_me: failed program was:" >&5
12820 sed 's/^/| /' conftest.
$ac_ext >&5
12824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12826 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12827 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12828 if test "$ac_test_CFLAGS" = set; then
12829 CFLAGS
=$ac_save_CFLAGS
12830 elif test $ac_cv_prog_cc_g = yes; then
12831 if test "$GCC" = yes; then
12837 if test "$GCC" = yes; then
12843 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12844 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12845 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12846 echo $ECHO_N "(cached) $ECHO_C" >&6
12848 ac_cv_prog_cc_stdc
=no
12850 cat >conftest.
$ac_ext <<_ACEOF
12853 cat confdefs.h
>>conftest.
$ac_ext
12854 cat >>conftest.
$ac_ext <<_ACEOF
12855 /* end confdefs.h. */
12856 #include <stdarg.h>
12858 #include <sys/types.h>
12859 #include <sys/stat.h>
12860 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12861 struct buf { int x; };
12862 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12863 static char *e (p, i)
12869 static char *f (char * (*g) (char **, int), char **p, ...)
12874 s = g (p, va_arg (v,int));
12879 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12880 function prototypes and stuff, but not '\xHH' hex character constants.
12881 These don't provoke an error unfortunately, instead are silently treated
12882 as 'x'. The following induces an error, until -std1 is added to get
12883 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12884 array size at least. It's necessary to write '\x00'==0 to get something
12885 that's true only with -std1. */
12886 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12888 int test (int i, double x);
12889 struct s1 {int (*f) (int a);};
12890 struct s2 {int (*f) (double a);};
12891 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12897 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12902 # Don't try gcc -ansi; that turns off useful extensions and
12903 # breaks some systems' header files.
12904 # AIX -qlanglvl=ansi
12905 # Ultrix and OSF/1 -std1
12906 # HP-UX 10.20 and later -Ae
12907 # HP-UX older versions -Aa -D_HPUX_SOURCE
12908 # SVR4 -Xc -D__EXTENSIONS__
12909 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12911 CC
="$ac_save_CC $ac_arg"
12912 rm -f conftest.
$ac_objext
12913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12914 (eval $ac_compile) 2>conftest.er1
12916 grep -v '^ *+' conftest.er1
>conftest.err
12918 cat conftest.err
>&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); } &&
12921 { ac_try
='test -z "$ac_c_werror_flag"
12922 || test ! -s conftest.err'
12923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12924 (eval $ac_try) 2>&5
12926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927 (exit $ac_status); }; } &&
12928 { ac_try
='test -s conftest.$ac_objext'
12929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12930 (eval $ac_try) 2>&5
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); }; }; then
12934 ac_cv_prog_cc_stdc
=$ac_arg
12937 echo "$as_me: failed program was:" >&5
12938 sed 's/^/| /' conftest.
$ac_ext >&5
12941 rm -f conftest.err conftest.
$ac_objext
12943 rm -f conftest.
$ac_ext conftest.
$ac_objext
12948 case "x$ac_cv_prog_cc_stdc" in
12950 echo "$as_me:$LINENO: result: none needed" >&5
12951 echo "${ECHO_T}none needed" >&6 ;;
12953 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12954 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12955 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12958 # Some people use a C++ compiler to compile C. Since we use `exit',
12959 # in C++ we need to declare it. In case someone uses the same compiler
12960 # for both compiling C and C++ we need to have the C++ compiler decide
12961 # the declaration of exit, since it's the most demanding environment.
12962 cat >conftest.
$ac_ext <<_ACEOF
12963 #ifndef __cplusplus
12967 rm -f conftest.
$ac_objext
12968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12969 (eval $ac_compile) 2>conftest.er1
12971 grep -v '^ *+' conftest.er1
>conftest.err
12973 cat conftest.err
>&5
12974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975 (exit $ac_status); } &&
12976 { ac_try
='test -z "$ac_c_werror_flag"
12977 || test ! -s conftest.err'
12978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12979 (eval $ac_try) 2>&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); }; } &&
12983 { ac_try
='test -s conftest.$ac_objext'
12984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12985 (eval $ac_try) 2>&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); }; }; then
12989 for ac_declaration
in \
12991 'extern "C" void std::exit (int) throw (); using std::exit;' \
12992 'extern "C" void std::exit (int); using std::exit;' \
12993 'extern "C" void exit (int) throw ();' \
12994 'extern "C" void exit (int);' \
12997 cat >conftest.
$ac_ext <<_ACEOF
13000 cat confdefs.h
>>conftest.
$ac_ext
13001 cat >>conftest.
$ac_ext <<_ACEOF
13002 /* end confdefs.h. */
13004 #include <stdlib.h>
13013 rm -f conftest.
$ac_objext
13014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13015 (eval $ac_compile) 2>conftest.er1
13017 grep -v '^ *+' conftest.er1
>conftest.err
13019 cat conftest.err
>&5
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); } &&
13022 { ac_try
='test -z "$ac_c_werror_flag"
13023 || test ! -s conftest.err'
13024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13025 (eval $ac_try) 2>&5
13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13028 (exit $ac_status); }; } &&
13029 { ac_try
='test -s conftest.$ac_objext'
13030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13031 (eval $ac_try) 2>&5
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); }; }; then
13037 echo "$as_me: failed program was:" >&5
13038 sed 's/^/| /' conftest.
$ac_ext >&5
13042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13043 cat >conftest.
$ac_ext <<_ACEOF
13046 cat confdefs.h
>>conftest.
$ac_ext
13047 cat >>conftest.
$ac_ext <<_ACEOF
13048 /* end confdefs.h. */
13058 rm -f conftest.
$ac_objext
13059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13060 (eval $ac_compile) 2>conftest.er1
13062 grep -v '^ *+' conftest.er1
>conftest.err
13064 cat conftest.err
>&5
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); } &&
13067 { ac_try
='test -z "$ac_c_werror_flag"
13068 || test ! -s conftest.err'
13069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13070 (eval $ac_try) 2>&5
13072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073 (exit $ac_status); }; } &&
13074 { ac_try
='test -s conftest.$ac_objext'
13075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13076 (eval $ac_try) 2>&5
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079 (exit $ac_status); }; }; then
13082 echo "$as_me: failed program was:" >&5
13083 sed 's/^/| /' conftest.
$ac_ext >&5
13086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13089 if test -n "$ac_declaration"; then
13090 echo '#ifdef __cplusplus' >>confdefs.h
13091 echo $ac_declaration >>confdefs.h
13092 echo '#endif' >>confdefs.h
13096 echo "$as_me: failed program was:" >&5
13097 sed 's/^/| /' conftest.
$ac_ext >&5
13100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13102 ac_cpp
='$CPP $CPPFLAGS'
13103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13110 ac_cpp
='$CPP $CPPFLAGS'
13111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13115 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13116 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
13117 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13118 echo $ECHO_N "(cached) $ECHO_C" >&6
13120 cat >conftest.
$ac_ext <<_ACEOF
13123 cat confdefs.h
>>conftest.
$ac_ext
13124 cat >>conftest.
$ac_ext <<_ACEOF
13125 /* end confdefs.h. */
13131 #ifndef __INTEL_COMPILER
13139 rm -f conftest.
$ac_objext
13140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13141 (eval $ac_compile) 2>conftest.er1
13143 grep -v '^ *+' conftest.er1
>conftest.err
13145 cat conftest.err
>&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); } &&
13148 { ac_try
='test -z "$ac_c_werror_flag"
13149 || test ! -s conftest.err'
13150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13151 (eval $ac_try) 2>&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); }; } &&
13155 { ac_try
='test -s conftest.$ac_objext'
13156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13157 (eval $ac_try) 2>&5
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 (exit $ac_status); }; }; then
13161 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
13163 echo "$as_me: failed program was:" >&5
13164 sed 's/^/| /' conftest.
$ac_ext >&5
13166 bakefile_cv_c_compiler___INTEL_COMPILER
=no
13169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13173 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13174 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13176 ac_cpp
='$CPP $CPPFLAGS'
13177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13181 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13188 if test "x$GCC" != "xyes"; then
13189 if test "xCC" = "xC"; then
13190 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13191 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13192 if test "${bakefile_cv_c_exto+set}" = set; then
13193 echo $ECHO_N "(cached) $ECHO_C" >&6
13195 cat >conftest.
$ac_ext <<_ACEOF
13198 cat confdefs.h
>>conftest.
$ac_ext
13199 cat >>conftest.
$ac_ext <<_ACEOF
13200 /* end confdefs.h. */
13210 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13212 (eval $ac_compile) 2>&5
13214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 (exit $ac_status); }; then
13216 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13218 conftest.
$ac_ext.o
)
13219 bakefile_cv_c_exto
="-ext o"
13226 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13227 See \`config.log' for more details." >&5
13228 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13229 See \`config.log' for more details." >&2;}
13230 { (exit 1); exit 1; }; }
13234 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13237 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13238 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13239 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13240 if test "c" = "c"; then
13241 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
13243 if test "c" = "cxx"; then
13244 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
13248 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13249 unset ac_cv_prog_cc_g
13250 ac_test_CFLAGS
=${CFLAGS+set}
13251 ac_save_CFLAGS
=$CFLAGS
13253 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13254 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13255 if test "${ac_cv_prog_cc_g+set}" = set; then
13256 echo $ECHO_N "(cached) $ECHO_C" >&6
13258 cat >conftest.
$ac_ext <<_ACEOF
13261 cat confdefs.h
>>conftest.
$ac_ext
13262 cat >>conftest.
$ac_ext <<_ACEOF
13263 /* end confdefs.h. */
13273 rm -f conftest.
$ac_objext
13274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13275 (eval $ac_compile) 2>conftest.er1
13277 grep -v '^ *+' conftest.er1
>conftest.err
13279 cat conftest.err
>&5
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); } &&
13282 { ac_try
='test -z "$ac_c_werror_flag"
13283 || test ! -s conftest.err'
13284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13285 (eval $ac_try) 2>&5
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); }; } &&
13289 { ac_try
='test -s conftest.$ac_objext'
13290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13291 (eval $ac_try) 2>&5
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); }; }; then
13295 ac_cv_prog_cc_g
=yes
13297 echo "$as_me: failed program was:" >&5
13298 sed 's/^/| /' conftest.
$ac_ext >&5
13302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13304 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13305 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13306 if test "$ac_test_CFLAGS" = set; then
13307 CFLAGS
=$ac_save_CFLAGS
13308 elif test $ac_cv_prog_cc_g = yes; then
13309 if test "$GCC" = yes; then
13315 if test "$GCC" = yes; then
13327 ac_cpp
='$CPP $CPPFLAGS'
13328 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13329 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13330 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13332 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13333 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13334 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13335 echo $ECHO_N "(cached) $ECHO_C" >&6
13337 cat >conftest.
$ac_ext <<_ACEOF
13340 cat confdefs.h
>>conftest.
$ac_ext
13341 cat >>conftest.
$ac_ext <<_ACEOF
13342 /* end confdefs.h. */
13355 rm -f conftest.
$ac_objext
13356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13357 (eval $ac_compile) 2>conftest.er1
13359 grep -v '^ *+' conftest.er1
>conftest.err
13361 cat conftest.err
>&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); } &&
13364 { ac_try
='test -z "$ac_c_werror_flag"
13365 || test ! -s conftest.err'
13366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13367 (eval $ac_try) 2>&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); }; } &&
13371 { ac_try
='test -s conftest.$ac_objext'
13372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13373 (eval $ac_try) 2>&5
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); }; }; then
13377 bakefile_compiler_xlc
=yes
13379 echo "$as_me: failed program was:" >&5
13380 sed 's/^/| /' conftest.
$ac_ext >&5
13382 bakefile_compiler_xlc
=no
13384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13385 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13388 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13389 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13391 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13393 ac_cpp
='$CPP $CPPFLAGS'
13394 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13395 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13396 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13403 ac_cpp
='$CPP $CPPFLAGS'
13404 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13405 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13406 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13408 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13409 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13410 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13411 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 cat >conftest.
$ac_ext <<_ACEOF
13416 cat confdefs.h
>>conftest.
$ac_ext
13417 cat >>conftest.
$ac_ext <<_ACEOF
13418 /* end confdefs.h. */
13431 rm -f conftest.
$ac_objext
13432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13433 (eval $ac_compile) 2>conftest.er1
13435 grep -v '^ *+' conftest.er1
>conftest.err
13437 cat conftest.err
>&5
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); } &&
13440 { ac_try
='test -z "$ac_c_werror_flag"
13441 || test ! -s conftest.err'
13442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443 (eval $ac_try) 2>&5
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; } &&
13447 { ac_try
='test -s conftest.$ac_objext'
13448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13449 (eval $ac_try) 2>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); }; }; then
13453 bakefile_compiler_mwerks
=yes
13455 echo "$as_me: failed program was:" >&5
13456 sed 's/^/| /' conftest.
$ac_ext >&5
13458 bakefile_compiler_mwerks
=no
13460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13461 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13464 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13465 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13467 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13469 ac_cpp
='$CPP $CPPFLAGS'
13470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13476 ac_cpp
='$CPP $CPPFLAGS'
13477 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13478 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13479 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13481 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13482 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13483 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 cat >conftest.
$ac_ext <<_ACEOF
13489 cat confdefs.h
>>conftest.
$ac_ext
13490 cat >>conftest.
$ac_ext <<_ACEOF
13491 /* end confdefs.h. */
13504 rm -f conftest.
$ac_objext
13505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13506 (eval $ac_compile) 2>conftest.er1
13508 grep -v '^ *+' conftest.er1
>conftest.err
13510 cat conftest.err
>&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); } &&
13513 { ac_try
='test -z "$ac_c_werror_flag"
13514 || test ! -s conftest.err'
13515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13516 (eval $ac_try) 2>&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; } &&
13520 { ac_try
='test -s conftest.$ac_objext'
13521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13522 (eval $ac_try) 2>&5
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); }; }; then
13526 bakefile_compiler_xlc
=yes
13528 echo "$as_me: failed program was:" >&5
13529 sed 's/^/| /' conftest.
$ac_ext >&5
13531 bakefile_compiler_xlc
=no
13533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13534 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13537 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13538 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13540 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13542 ac_cpp
='$CPP $CPPFLAGS'
13543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13554 ac_cpp
='$CPP $CPPFLAGS'
13555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13559 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13560 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13561 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13562 echo $ECHO_N "(cached) $ECHO_C" >&6
13564 cat >conftest.
$ac_ext <<_ACEOF
13567 cat confdefs.h
>>conftest.
$ac_ext
13568 cat >>conftest.
$ac_ext <<_ACEOF
13569 /* end confdefs.h. */
13575 #ifndef _SGI_COMPILER_VERSION
13583 rm -f conftest.
$ac_objext
13584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13585 (eval $ac_compile) 2>conftest.er1
13587 grep -v '^ *+' conftest.er1
>conftest.err
13589 cat conftest.err
>&5
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); } &&
13592 { ac_try
='test -z "$ac_c_werror_flag"
13593 || test ! -s conftest.err'
13594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13595 (eval $ac_try) 2>&5
13597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13598 (exit $ac_status); }; } &&
13599 { ac_try
='test -s conftest.$ac_objext'
13600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13601 (eval $ac_try) 2>&5
13603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604 (exit $ac_status); }; }; then
13605 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13607 echo "$as_me: failed program was:" >&5
13608 sed 's/^/| /' conftest.
$ac_ext >&5
13610 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13617 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13618 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13620 ac_cpp
='$CPP $CPPFLAGS'
13621 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13622 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13623 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13625 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13638 ac_cpp
='$CPP $CPPFLAGS'
13639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13643 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13644 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13645 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13646 echo $ECHO_N "(cached) $ECHO_C" >&6
13648 cat >conftest.
$ac_ext <<_ACEOF
13651 cat confdefs.h
>>conftest.
$ac_ext
13652 cat >>conftest.
$ac_ext <<_ACEOF
13653 /* end confdefs.h. */
13667 rm -f conftest.
$ac_objext
13668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13669 (eval $ac_compile) 2>conftest.er1
13671 grep -v '^ *+' conftest.er1
>conftest.err
13673 cat conftest.err
>&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); } &&
13676 { ac_try
='test -z "$ac_c_werror_flag"
13677 || test ! -s conftest.err'
13678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13679 (eval $ac_try) 2>&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; } &&
13683 { ac_try
='test -s conftest.$ac_objext'
13684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13685 (eval $ac_try) 2>&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); }; }; then
13689 bakefile_cv_c_compiler___HP_cc
=yes
13691 echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.
$ac_ext >&5
13694 bakefile_cv_c_compiler___HP_cc
=no
13697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13701 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13702 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13704 ac_cpp
='$CPP $CPPFLAGS'
13705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13709 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13722 ac_cpp
='$CPP $CPPFLAGS'
13723 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13724 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13725 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13727 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13728 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13729 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13730 echo $ECHO_N "(cached) $ECHO_C" >&6
13732 cat >conftest.
$ac_ext <<_ACEOF
13735 cat confdefs.h
>>conftest.
$ac_ext
13736 cat >>conftest.
$ac_ext <<_ACEOF
13737 /* end confdefs.h. */
13751 rm -f conftest.
$ac_objext
13752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13753 (eval $ac_compile) 2>conftest.er1
13755 grep -v '^ *+' conftest.er1
>conftest.err
13757 cat conftest.err
>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); } &&
13760 { ac_try
='test -z "$ac_c_werror_flag"
13761 || test ! -s conftest.err'
13762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13763 (eval $ac_try) 2>&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); }; } &&
13767 { ac_try
='test -s conftest.$ac_objext'
13768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13769 (eval $ac_try) 2>&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }; }; then
13773 bakefile_cv_c_compiler___DECC
=yes
13775 echo "$as_me: failed program was:" >&5
13776 sed 's/^/| /' conftest.
$ac_ext >&5
13778 bakefile_cv_c_compiler___DECC
=no
13781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13785 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13786 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13788 ac_cpp
='$CPP $CPPFLAGS'
13789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13793 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13806 ac_cpp
='$CPP $CPPFLAGS'
13807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13811 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13812 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13813 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13814 echo $ECHO_N "(cached) $ECHO_C" >&6
13816 cat >conftest.
$ac_ext <<_ACEOF
13819 cat confdefs.h
>>conftest.
$ac_ext
13820 cat >>conftest.
$ac_ext <<_ACEOF
13821 /* end confdefs.h. */
13835 rm -f conftest.
$ac_objext
13836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13837 (eval $ac_compile) 2>conftest.er1
13839 grep -v '^ *+' conftest.er1
>conftest.err
13841 cat conftest.err
>&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); } &&
13844 { ac_try
='test -z "$ac_c_werror_flag"
13845 || test ! -s conftest.err'
13846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13847 (eval $ac_try) 2>&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); }; } &&
13851 { ac_try
='test -s conftest.$ac_objext'
13852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13853 (eval $ac_try) 2>&5
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 (exit $ac_status); }; }; then
13857 bakefile_cv_c_compiler___SUNPRO_C
=yes
13859 echo "$as_me: failed program was:" >&5
13860 sed 's/^/| /' conftest.
$ac_ext >&5
13862 bakefile_cv_c_compiler___SUNPRO_C
=no
13865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13869 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13870 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13872 ac_cpp
='$CPP $CPPFLAGS'
13873 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13874 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13875 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13877 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13891 ac_cpp
='$CPP $CPPFLAGS'
13892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13895 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13896 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13897 # On Suns, sometimes $CPP names a directory.
13898 if test -n "$CPP" && test -d "$CPP"; then
13901 if test -z "$CPP"; then
13902 if test "${ac_cv_prog_CPP+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13905 # Double quotes because CPP needs to be expanded
13906 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13908 ac_preproc_ok
=false
13909 for ac_c_preproc_warn_flag
in '' yes
13911 # Use a header file that comes with gcc, so configuring glibc
13912 # with a fresh cross-compiler works.
13913 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13914 # <limits.h> exists even on freestanding compilers.
13915 # On the NeXT, cc -E runs the code through the compiler's parser,
13916 # not just through cpp. "Syntax error" is here to catch this case.
13917 cat >conftest.
$ac_ext <<_ACEOF
13920 cat confdefs.h
>>conftest.
$ac_ext
13921 cat >>conftest.
$ac_ext <<_ACEOF
13922 /* end confdefs.h. */
13924 # include <limits.h>
13926 # include <assert.h>
13930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13931 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13933 grep -v '^ *+' conftest.er1
>conftest.err
13935 cat conftest.err
>&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); } >/dev
/null
; then
13938 if test -s conftest.err
; then
13939 ac_cpp_err
=$ac_c_preproc_warn_flag
13940 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13947 if test -z "$ac_cpp_err"; then
13950 echo "$as_me: failed program was:" >&5
13951 sed 's/^/| /' conftest.
$ac_ext >&5
13953 # Broken: fails on valid input.
13956 rm -f conftest.err conftest.
$ac_ext
13958 # OK, works on sane cases. Now check whether non-existent headers
13959 # can be detected and how.
13960 cat >conftest.
$ac_ext <<_ACEOF
13963 cat confdefs.h
>>conftest.
$ac_ext
13964 cat >>conftest.
$ac_ext <<_ACEOF
13965 /* end confdefs.h. */
13966 #include <ac_nonexistent.h>
13968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13969 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13971 grep -v '^ *+' conftest.er1
>conftest.err
13973 cat conftest.err
>&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); } >/dev
/null
; then
13976 if test -s conftest.err
; then
13977 ac_cpp_err
=$ac_c_preproc_warn_flag
13978 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13985 if test -z "$ac_cpp_err"; then
13986 # Broken: success on invalid input.
13989 echo "$as_me: failed program was:" >&5
13990 sed 's/^/| /' conftest.
$ac_ext >&5
13992 # Passes both tests.
13996 rm -f conftest.err conftest.
$ac_ext
13999 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14000 rm -f conftest.err conftest.
$ac_ext
14001 if $ac_preproc_ok; then
14006 ac_cv_prog_CPP
=$CPP
14009 CPP
=$ac_cv_prog_CPP
14011 ac_cv_prog_CPP
=$CPP
14013 echo "$as_me:$LINENO: result: $CPP" >&5
14014 echo "${ECHO_T}$CPP" >&6
14015 ac_preproc_ok
=false
14016 for ac_c_preproc_warn_flag
in '' yes
14018 # Use a header file that comes with gcc, so configuring glibc
14019 # with a fresh cross-compiler works.
14020 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14021 # <limits.h> exists even on freestanding compilers.
14022 # On the NeXT, cc -E runs the code through the compiler's parser,
14023 # not just through cpp. "Syntax error" is here to catch this case.
14024 cat >conftest.
$ac_ext <<_ACEOF
14027 cat confdefs.h
>>conftest.
$ac_ext
14028 cat >>conftest.
$ac_ext <<_ACEOF
14029 /* end confdefs.h. */
14031 # include <limits.h>
14033 # include <assert.h>
14037 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14038 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14040 grep -v '^ *+' conftest.er1
>conftest.err
14042 cat conftest.err
>&5
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); } >/dev
/null
; then
14045 if test -s conftest.err
; then
14046 ac_cpp_err
=$ac_c_preproc_warn_flag
14047 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14054 if test -z "$ac_cpp_err"; then
14057 echo "$as_me: failed program was:" >&5
14058 sed 's/^/| /' conftest.
$ac_ext >&5
14060 # Broken: fails on valid input.
14063 rm -f conftest.err conftest.
$ac_ext
14065 # OK, works on sane cases. Now check whether non-existent headers
14066 # can be detected and how.
14067 cat >conftest.
$ac_ext <<_ACEOF
14070 cat confdefs.h
>>conftest.
$ac_ext
14071 cat >>conftest.
$ac_ext <<_ACEOF
14072 /* end confdefs.h. */
14073 #include <ac_nonexistent.h>
14075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14076 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14078 grep -v '^ *+' conftest.er1
>conftest.err
14080 cat conftest.err
>&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); } >/dev
/null
; then
14083 if test -s conftest.err
; then
14084 ac_cpp_err
=$ac_c_preproc_warn_flag
14085 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14092 if test -z "$ac_cpp_err"; then
14093 # Broken: success on invalid input.
14096 echo "$as_me: failed program was:" >&5
14097 sed 's/^/| /' conftest.
$ac_ext >&5
14099 # Passes both tests.
14103 rm -f conftest.err conftest.
$ac_ext
14106 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14107 rm -f conftest.err conftest.
$ac_ext
14108 if $ac_preproc_ok; then
14111 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14112 See \`config.log' for more details." >&5
14113 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14114 See \`config.log' for more details." >&2;}
14115 { (exit 1); exit 1; }; }
14119 ac_cpp
='$CPP $CPPFLAGS'
14120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14125 echo "$as_me:$LINENO: checking for egrep" >&5
14126 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
14127 if test "${ac_cv_prog_egrep+set}" = set; then
14128 echo $ECHO_N "(cached) $ECHO_C" >&6
14130 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
14131 then ac_cv_prog_egrep
='grep -E'
14132 else ac_cv_prog_egrep
='egrep'
14135 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
14136 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
14137 EGREP
=$ac_cv_prog_egrep
14140 if test $ac_cv_c_compiler_gnu = yes; then
14141 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14142 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
14143 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14144 echo $ECHO_N "(cached) $ECHO_C" >&6
14146 ac_pattern
="Autoconf.*'x'"
14147 cat >conftest.
$ac_ext <<_ACEOF
14150 cat confdefs.h
>>conftest.
$ac_ext
14151 cat >>conftest.
$ac_ext <<_ACEOF
14152 /* end confdefs.h. */
14156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14157 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14158 ac_cv_prog_gcc_traditional
=yes
14160 ac_cv_prog_gcc_traditional
=no
14165 if test $ac_cv_prog_gcc_traditional = no
; then
14166 cat >conftest.
$ac_ext <<_ACEOF
14169 cat confdefs.h
>>conftest.
$ac_ext
14170 cat >>conftest.
$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14172 #include <termio.h>
14175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14176 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14177 ac_cv_prog_gcc_traditional
=yes
14183 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14184 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14185 if test $ac_cv_prog_gcc_traditional = yes; then
14186 CC
="$CC -traditional"
14191 CXXFLAGS
=${CXXFLAGS:=}
14196 ac_cpp
='$CXXCPP $CPPFLAGS'
14197 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14198 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14199 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14200 if test -n "$ac_tool_prefix"; then
14201 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14203 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14204 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14205 echo "$as_me:$LINENO: checking for $ac_word" >&5
14206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14207 if test "${ac_cv_prog_CXX+set}" = set; then
14208 echo $ECHO_N "(cached) $ECHO_C" >&6
14210 if test -n "$CXX"; then
14211 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
14213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14214 for as_dir
in $PATH
14217 test -z "$as_dir" && as_dir
=.
14218 for ac_exec_ext
in '' $ac_executable_extensions; do
14219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14220 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
14221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14229 CXX
=$ac_cv_prog_CXX
14230 if test -n "$CXX"; then
14231 echo "$as_me:$LINENO: result: $CXX" >&5
14232 echo "${ECHO_T}$CXX" >&6
14234 echo "$as_me:$LINENO: result: no" >&5
14235 echo "${ECHO_T}no" >&6
14238 test -n "$CXX" && break
14241 if test -z "$CXX"; then
14243 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14245 # Extract the first word of "$ac_prog", so it can be a program name with args.
14246 set dummy
$ac_prog; ac_word
=$2
14247 echo "$as_me:$LINENO: checking for $ac_word" >&5
14248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14249 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14250 echo $ECHO_N "(cached) $ECHO_C" >&6
14252 if test -n "$ac_ct_CXX"; then
14253 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
14255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14256 for as_dir
in $PATH
14259 test -z "$as_dir" && as_dir
=.
14260 for ac_exec_ext
in '' $ac_executable_extensions; do
14261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14262 ac_cv_prog_ac_ct_CXX
="$ac_prog"
14263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14271 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
14272 if test -n "$ac_ct_CXX"; then
14273 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14274 echo "${ECHO_T}$ac_ct_CXX" >&6
14276 echo "$as_me:$LINENO: result: no" >&5
14277 echo "${ECHO_T}no" >&6
14280 test -n "$ac_ct_CXX" && break
14282 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
14288 # Provide some information about the compiler.
14289 echo "$as_me:$LINENO:" \
14290 "checking for C++ compiler version" >&5
14291 ac_compiler
=`set X $ac_compile; echo $2`
14292 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14293 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); }
14297 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14298 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }
14302 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14303 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }
14308 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14309 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14310 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14311 echo $ECHO_N "(cached) $ECHO_C" >&6
14313 cat >conftest.
$ac_ext <<_ACEOF
14316 cat confdefs.h
>>conftest.
$ac_ext
14317 cat >>conftest.
$ac_ext <<_ACEOF
14318 /* end confdefs.h. */
14331 rm -f conftest.
$ac_objext
14332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14333 (eval $ac_compile) 2>conftest.er1
14335 grep -v '^ *+' conftest.er1
>conftest.err
14337 cat conftest.err
>&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); } &&
14340 { ac_try
='test -z "$ac_cxx_werror_flag"
14341 || test ! -s conftest.err'
14342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14343 (eval $ac_try) 2>&5
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); }; } &&
14347 { ac_try
='test -s conftest.$ac_objext'
14348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14349 (eval $ac_try) 2>&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); }; }; then
14353 ac_compiler_gnu
=yes
14355 echo "$as_me: failed program was:" >&5
14356 sed 's/^/| /' conftest.
$ac_ext >&5
14360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14361 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
14364 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14365 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14366 GXX
=`test $ac_compiler_gnu = yes && echo yes`
14367 ac_test_CXXFLAGS
=${CXXFLAGS+set}
14368 ac_save_CXXFLAGS
=$CXXFLAGS
14370 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14371 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14372 if test "${ac_cv_prog_cxx_g+set}" = set; then
14373 echo $ECHO_N "(cached) $ECHO_C" >&6
14375 cat >conftest.
$ac_ext <<_ACEOF
14378 cat confdefs.h
>>conftest.
$ac_ext
14379 cat >>conftest.
$ac_ext <<_ACEOF
14380 /* end confdefs.h. */
14390 rm -f conftest.
$ac_objext
14391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14392 (eval $ac_compile) 2>conftest.er1
14394 grep -v '^ *+' conftest.er1
>conftest.err
14396 cat conftest.err
>&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); } &&
14399 { ac_try
='test -z "$ac_cxx_werror_flag"
14400 || test ! -s conftest.err'
14401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14402 (eval $ac_try) 2>&5
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }; } &&
14406 { ac_try
='test -s conftest.$ac_objext'
14407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14408 (eval $ac_try) 2>&5
14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 (exit $ac_status); }; }; then
14412 ac_cv_prog_cxx_g
=yes
14414 echo "$as_me: failed program was:" >&5
14415 sed 's/^/| /' conftest.
$ac_ext >&5
14417 ac_cv_prog_cxx_g
=no
14419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14421 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14422 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14423 if test "$ac_test_CXXFLAGS" = set; then
14424 CXXFLAGS
=$ac_save_CXXFLAGS
14425 elif test $ac_cv_prog_cxx_g = yes; then
14426 if test "$GXX" = yes; then
14432 if test "$GXX" = yes; then
14438 for ac_declaration
in \
14440 'extern "C" void std::exit (int) throw (); using std::exit;' \
14441 'extern "C" void std::exit (int); using std::exit;' \
14442 'extern "C" void exit (int) throw ();' \
14443 'extern "C" void exit (int);' \
14446 cat >conftest.
$ac_ext <<_ACEOF
14449 cat confdefs.h
>>conftest.
$ac_ext
14450 cat >>conftest.
$ac_ext <<_ACEOF
14451 /* end confdefs.h. */
14453 #include <stdlib.h>
14462 rm -f conftest.
$ac_objext
14463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14464 (eval $ac_compile) 2>conftest.er1
14466 grep -v '^ *+' conftest.er1
>conftest.err
14468 cat conftest.err
>&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); } &&
14471 { ac_try
='test -z "$ac_cxx_werror_flag"
14472 || test ! -s conftest.err'
14473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14474 (eval $ac_try) 2>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }; } &&
14478 { ac_try
='test -s conftest.$ac_objext'
14479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14480 (eval $ac_try) 2>&5
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); }; }; then
14486 echo "$as_me: failed program was:" >&5
14487 sed 's/^/| /' conftest.
$ac_ext >&5
14491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14492 cat >conftest.
$ac_ext <<_ACEOF
14495 cat confdefs.h
>>conftest.
$ac_ext
14496 cat >>conftest.
$ac_ext <<_ACEOF
14497 /* end confdefs.h. */
14507 rm -f conftest.
$ac_objext
14508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14509 (eval $ac_compile) 2>conftest.er1
14511 grep -v '^ *+' conftest.er1
>conftest.err
14513 cat conftest.err
>&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); } &&
14516 { ac_try
='test -z "$ac_cxx_werror_flag"
14517 || test ! -s conftest.err'
14518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14519 (eval $ac_try) 2>&5
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); }; } &&
14523 { ac_try
='test -s conftest.$ac_objext'
14524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14525 (eval $ac_try) 2>&5
14527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528 (exit $ac_status); }; }; then
14531 echo "$as_me: failed program was:" >&5
14532 sed 's/^/| /' conftest.
$ac_ext >&5
14535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14538 if test -n "$ac_declaration"; then
14539 echo '#ifdef __cplusplus' >>confdefs.h
14540 echo $ac_declaration >>confdefs.h
14541 echo '#endif' >>confdefs.h
14545 ac_cpp
='$CPP $CPPFLAGS'
14546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14553 ac_cpp
='$CXXCPP $CPPFLAGS'
14554 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14555 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14556 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14558 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14559 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14560 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14561 echo $ECHO_N "(cached) $ECHO_C" >&6
14563 cat >conftest.
$ac_ext <<_ACEOF
14566 cat confdefs.h
>>conftest.
$ac_ext
14567 cat >>conftest.
$ac_ext <<_ACEOF
14568 /* end confdefs.h. */
14574 #ifndef __INTEL_COMPILER
14582 rm -f conftest.
$ac_objext
14583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14584 (eval $ac_compile) 2>conftest.er1
14586 grep -v '^ *+' conftest.er1
>conftest.err
14588 cat conftest.err
>&5
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); } &&
14591 { ac_try
='test -z "$ac_cxx_werror_flag"
14592 || test ! -s conftest.err'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; } &&
14598 { ac_try
='test -s conftest.$ac_objext'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; }; then
14604 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14606 echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.
$ac_ext >&5
14609 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14616 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14617 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14619 ac_cpp
='$CPP $CPPFLAGS'
14620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14624 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14631 if test "x$GCXX" != "xyes"; then
14632 if test "xCXX" = "xC"; then
14633 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14634 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14635 if test "${bakefile_cv_c_exto+set}" = set; then
14636 echo $ECHO_N "(cached) $ECHO_C" >&6
14638 cat >conftest.
$ac_ext <<_ACEOF
14641 cat confdefs.h
>>conftest.
$ac_ext
14642 cat >>conftest.
$ac_ext <<_ACEOF
14643 /* end confdefs.h. */
14653 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14655 (eval $ac_compile) 2>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; then
14659 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14661 conftest.
$ac_ext.o
)
14662 bakefile_cv_c_exto
="-ext o"
14669 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14670 See \`config.log' for more details." >&5
14671 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14672 See \`config.log' for more details." >&2;}
14673 { (exit 1); exit 1; }; }
14677 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14680 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14681 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14682 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14683 if test "c" = "c"; then
14684 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
14686 if test "c" = "cxx"; then
14687 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
14691 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14692 unset ac_cv_prog_cc_g
14693 ac_test_CFLAGS
=${CFLAGS+set}
14694 ac_save_CFLAGS
=$CFLAGS
14696 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14697 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14698 if test "${ac_cv_prog_cc_g+set}" = set; then
14699 echo $ECHO_N "(cached) $ECHO_C" >&6
14701 cat >conftest.
$ac_ext <<_ACEOF
14704 cat confdefs.h
>>conftest.
$ac_ext
14705 cat >>conftest.
$ac_ext <<_ACEOF
14706 /* end confdefs.h. */
14716 rm -f conftest.
$ac_objext
14717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14718 (eval $ac_compile) 2>conftest.er1
14720 grep -v '^ *+' conftest.er1
>conftest.err
14722 cat conftest.err
>&5
14723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 (exit $ac_status); } &&
14725 { ac_try
='test -z "$ac_c_werror_flag"
14726 || test ! -s conftest.err'
14727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14728 (eval $ac_try) 2>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }; } &&
14732 { ac_try
='test -s conftest.$ac_objext'
14733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14734 (eval $ac_try) 2>&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); }; }; then
14738 ac_cv_prog_cc_g
=yes
14740 echo "$as_me: failed program was:" >&5
14741 sed 's/^/| /' conftest.
$ac_ext >&5
14745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14747 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14748 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14749 if test "$ac_test_CFLAGS" = set; then
14750 CFLAGS
=$ac_save_CFLAGS
14751 elif test $ac_cv_prog_cc_g = yes; then
14752 if test "$GCC" = yes; then
14758 if test "$GCC" = yes; then
14770 ac_cpp
='$CXXCPP $CPPFLAGS'
14771 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14772 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14773 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14775 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14776 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14777 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14778 echo $ECHO_N "(cached) $ECHO_C" >&6
14780 cat >conftest.
$ac_ext <<_ACEOF
14783 cat confdefs.h
>>conftest.
$ac_ext
14784 cat >>conftest.
$ac_ext <<_ACEOF
14785 /* end confdefs.h. */
14798 rm -f conftest.
$ac_objext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14800 (eval $ac_compile) 2>conftest.er1
14802 grep -v '^ *+' conftest.er1
>conftest.err
14804 cat conftest.err
>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try
='test -z "$ac_cxx_werror_flag"
14808 || test ! -s conftest.err'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; } &&
14814 { ac_try
='test -s conftest.$ac_objext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14820 bakefile_compiler_xlc
=yes
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.
$ac_ext >&5
14825 bakefile_compiler_xlc
=no
14827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14828 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14831 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14832 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14834 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14836 ac_cpp
='$CPP $CPPFLAGS'
14837 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14838 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14839 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14846 ac_cpp
='$CXXCPP $CPPFLAGS'
14847 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14848 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14849 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14851 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14852 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14853 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14854 echo $ECHO_N "(cached) $ECHO_C" >&6
14856 cat >conftest.
$ac_ext <<_ACEOF
14859 cat confdefs.h
>>conftest.
$ac_ext
14860 cat >>conftest.
$ac_ext <<_ACEOF
14861 /* end confdefs.h. */
14874 rm -f conftest.
$ac_objext
14875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14876 (eval $ac_compile) 2>conftest.er1
14878 grep -v '^ *+' conftest.er1
>conftest.err
14880 cat conftest.err
>&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); } &&
14883 { ac_try
='test -z "$ac_cxx_werror_flag"
14884 || test ! -s conftest.err'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; } &&
14890 { ac_try
='test -s conftest.$ac_objext'
14891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14892 (eval $ac_try) 2>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; }; then
14896 bakefile_compiler_mwerks
=yes
14898 echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.
$ac_ext >&5
14901 bakefile_compiler_mwerks
=no
14903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14904 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14907 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14908 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14910 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14912 ac_cpp
='$CPP $CPPFLAGS'
14913 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14914 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14915 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14919 ac_cpp
='$CXXCPP $CPPFLAGS'
14920 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14921 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14922 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14924 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14925 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14926 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14927 echo $ECHO_N "(cached) $ECHO_C" >&6
14929 cat >conftest.
$ac_ext <<_ACEOF
14932 cat confdefs.h
>>conftest.
$ac_ext
14933 cat >>conftest.
$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14947 rm -f conftest.
$ac_objext
14948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14949 (eval $ac_compile) 2>conftest.er1
14951 grep -v '^ *+' conftest.er1
>conftest.err
14953 cat conftest.err
>&5
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 (exit $ac_status); } &&
14956 { ac_try
='test -z "$ac_cxx_werror_flag"
14957 || test ! -s conftest.err'
14958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14959 (eval $ac_try) 2>&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); }; } &&
14963 { ac_try
='test -s conftest.$ac_objext'
14964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14965 (eval $ac_try) 2>&5
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 (exit $ac_status); }; }; then
14969 bakefile_compiler_xlc
=yes
14971 echo "$as_me: failed program was:" >&5
14972 sed 's/^/| /' conftest.
$ac_ext >&5
14974 bakefile_compiler_xlc
=no
14976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14977 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14980 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14981 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14983 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14985 ac_cpp
='$CPP $CPPFLAGS'
14986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14997 ac_cpp
='$CXXCPP $CPPFLAGS'
14998 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14999 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15000 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15002 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15003 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
15004 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15005 echo $ECHO_N "(cached) $ECHO_C" >&6
15007 cat >conftest.
$ac_ext <<_ACEOF
15010 cat confdefs.h
>>conftest.
$ac_ext
15011 cat >>conftest.
$ac_ext <<_ACEOF
15012 /* end confdefs.h. */
15018 #ifndef _SGI_COMPILER_VERSION
15026 rm -f conftest.
$ac_objext
15027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15028 (eval $ac_compile) 2>conftest.er1
15030 grep -v '^ *+' conftest.er1
>conftest.err
15032 cat conftest.err
>&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); } &&
15035 { ac_try
='test -z "$ac_cxx_werror_flag"
15036 || test ! -s conftest.err'
15037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15038 (eval $ac_try) 2>&5
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); }; } &&
15042 { ac_try
='test -s conftest.$ac_objext'
15043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15044 (eval $ac_try) 2>&5
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); }; }; then
15048 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
15050 echo "$as_me: failed program was:" >&5
15051 sed 's/^/| /' conftest.
$ac_ext >&5
15053 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
15056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15060 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15061 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
15063 ac_cpp
='$CPP $CPPFLAGS'
15064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15068 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15081 ac_cpp
='$CXXCPP $CPPFLAGS'
15082 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15086 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15087 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
15088 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15089 echo $ECHO_N "(cached) $ECHO_C" >&6
15091 cat >conftest.
$ac_ext <<_ACEOF
15094 cat confdefs.h
>>conftest.
$ac_ext
15095 cat >>conftest.
$ac_ext <<_ACEOF
15096 /* end confdefs.h. */
15110 rm -f conftest.
$ac_objext
15111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15112 (eval $ac_compile) 2>conftest.er1
15114 grep -v '^ *+' conftest.er1
>conftest.err
15116 cat conftest.err
>&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); } &&
15119 { ac_try
='test -z "$ac_cxx_werror_flag"
15120 || test ! -s conftest.err'
15121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15122 (eval $ac_try) 2>&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); }; } &&
15126 { ac_try
='test -s conftest.$ac_objext'
15127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15128 (eval $ac_try) 2>&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }; }; then
15132 bakefile_cv_cxx_compiler___HP_aCC
=yes
15134 echo "$as_me: failed program was:" >&5
15135 sed 's/^/| /' conftest.
$ac_ext >&5
15137 bakefile_cv_cxx_compiler___HP_aCC
=no
15140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15144 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15145 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
15147 ac_cpp
='$CPP $CPPFLAGS'
15148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15152 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
15165 ac_cpp
='$CXXCPP $CPPFLAGS'
15166 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15167 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15168 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15170 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15171 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
15172 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15173 echo $ECHO_N "(cached) $ECHO_C" >&6
15175 cat >conftest.
$ac_ext <<_ACEOF
15178 cat confdefs.h
>>conftest.
$ac_ext
15179 cat >>conftest.
$ac_ext <<_ACEOF
15180 /* end confdefs.h. */
15194 rm -f conftest.
$ac_objext
15195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15196 (eval $ac_compile) 2>conftest.er1
15198 grep -v '^ *+' conftest.er1
>conftest.err
15200 cat conftest.err
>&5
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); } &&
15203 { ac_try
='test -z "$ac_cxx_werror_flag"
15204 || test ! -s conftest.err'
15205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15206 (eval $ac_try) 2>&5
15208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15209 (exit $ac_status); }; } &&
15210 { ac_try
='test -s conftest.$ac_objext'
15211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15212 (eval $ac_try) 2>&5
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); }; }; then
15216 bakefile_cv_cxx_compiler___DECCXX
=yes
15218 echo "$as_me: failed program was:" >&5
15219 sed 's/^/| /' conftest.
$ac_ext >&5
15221 bakefile_cv_cxx_compiler___DECCXX
=no
15224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15228 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15229 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15231 ac_cpp
='$CPP $CPPFLAGS'
15232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15236 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
15249 ac_cpp
='$CXXCPP $CPPFLAGS'
15250 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15251 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15252 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15254 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15255 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15256 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15259 cat >conftest.
$ac_ext <<_ACEOF
15262 cat confdefs.h
>>conftest.
$ac_ext
15263 cat >>conftest.
$ac_ext <<_ACEOF
15264 /* end confdefs.h. */
15270 #ifndef __SUNPRO_CC
15278 rm -f conftest.
$ac_objext
15279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15280 (eval $ac_compile) 2>conftest.er1
15282 grep -v '^ *+' conftest.er1
>conftest.err
15284 cat conftest.err
>&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } &&
15287 { ac_try
='test -z "$ac_cxx_werror_flag"
15288 || test ! -s conftest.err'
15289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15290 (eval $ac_try) 2>&5
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); }; } &&
15294 { ac_try
='test -s conftest.$ac_objext'
15295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15296 (eval $ac_try) 2>&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); }; }; then
15300 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
15302 echo "$as_me: failed program was:" >&5
15303 sed 's/^/| /' conftest.
$ac_ext >&5
15305 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
15308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15312 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15313 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15315 ac_cpp
='$CPP $CPPFLAGS'
15316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15320 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
15333 if test -n "$ac_tool_prefix"; then
15334 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15335 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
15336 echo "$as_me:$LINENO: checking for $ac_word" >&5
15337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15338 if test "${ac_cv_prog_RANLIB+set}" = set; then
15339 echo $ECHO_N "(cached) $ECHO_C" >&6
15341 if test -n "$RANLIB"; then
15342 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
15344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15345 for as_dir
in $PATH
15348 test -z "$as_dir" && as_dir
=.
15349 for ac_exec_ext
in '' $ac_executable_extensions; do
15350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15351 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
15352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15360 RANLIB
=$ac_cv_prog_RANLIB
15361 if test -n "$RANLIB"; then
15362 echo "$as_me:$LINENO: result: $RANLIB" >&5
15363 echo "${ECHO_T}$RANLIB" >&6
15365 echo "$as_me:$LINENO: result: no" >&5
15366 echo "${ECHO_T}no" >&6
15370 if test -z "$ac_cv_prog_RANLIB"; then
15371 ac_ct_RANLIB
=$RANLIB
15372 # Extract the first word of "ranlib", so it can be a program name with args.
15373 set dummy ranlib
; ac_word
=$2
15374 echo "$as_me:$LINENO: checking for $ac_word" >&5
15375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15376 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15377 echo $ECHO_N "(cached) $ECHO_C" >&6
15379 if test -n "$ac_ct_RANLIB"; then
15380 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
15382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15383 for as_dir
in $PATH
15386 test -z "$as_dir" && as_dir
=.
15387 for ac_exec_ext
in '' $ac_executable_extensions; do
15388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15389 ac_cv_prog_ac_ct_RANLIB
="ranlib"
15390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15396 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
15399 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15400 if test -n "$ac_ct_RANLIB"; then
15401 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15402 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15404 echo "$as_me:$LINENO: result: no" >&5
15405 echo "${ECHO_T}no" >&6
15408 RANLIB
=$ac_ct_RANLIB
15410 RANLIB
="$ac_cv_prog_RANLIB"
15414 if test "x$SUNCXX" != xyes
; then
15415 if test -n "$ac_tool_prefix"; then
15416 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15417 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15418 echo "$as_me:$LINENO: checking for $ac_word" >&5
15419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15420 if test "${ac_cv_prog_AR+set}" = set; then
15421 echo $ECHO_N "(cached) $ECHO_C" >&6
15423 if test -n "$AR"; then
15424 ac_cv_prog_AR
="$AR" # Let the user override the test.
15426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15427 for as_dir
in $PATH
15430 test -z "$as_dir" && as_dir
=.
15431 for ac_exec_ext
in '' $ac_executable_extensions; do
15432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15433 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15443 if test -n "$AR"; then
15444 echo "$as_me:$LINENO: result: $AR" >&5
15445 echo "${ECHO_T}$AR" >&6
15447 echo "$as_me:$LINENO: result: no" >&5
15448 echo "${ECHO_T}no" >&6
15452 if test -z "$ac_cv_prog_AR"; then
15454 # Extract the first word of "ar", so it can be a program name with args.
15455 set dummy
ar; ac_word
=$2
15456 echo "$as_me:$LINENO: checking for $ac_word" >&5
15457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15458 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15459 echo $ECHO_N "(cached) $ECHO_C" >&6
15461 if test -n "$ac_ct_AR"; then
15462 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15465 for as_dir
in $PATH
15468 test -z "$as_dir" && as_dir
=.
15469 for ac_exec_ext
in '' $ac_executable_extensions; do
15470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15471 ac_cv_prog_ac_ct_AR
="ar"
15472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15480 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15481 if test -n "$ac_ct_AR"; then
15482 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15483 echo "${ECHO_T}$ac_ct_AR" >&6
15485 echo "$as_me:$LINENO: result: no" >&5
15486 echo "${ECHO_T}no" >&6
15491 AR
="$ac_cv_prog_AR"
15494 if test "x$AR" = "x" ; then
15495 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15496 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15497 { (exit 1); exit 1; }; }
15501 # Find a good install program. We prefer a C program (faster),
15502 # so one script is as good as another. But avoid the broken or
15503 # incompatible versions:
15504 # SysV /etc/install, /usr/sbin/install
15505 # SunOS /usr/etc/install
15506 # IRIX /sbin/install
15508 # AmigaOS /C/install, which installs bootblocks on floppy discs
15509 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15510 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15511 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15512 # OS/2's system install, which has a completely different semantic
15513 # ./install, which can be erroneously created by make from ./install.sh.
15514 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15515 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15516 if test -z "$INSTALL"; then
15517 if test "${ac_cv_path_install+set}" = set; then
15518 echo $ECHO_N "(cached) $ECHO_C" >&6
15520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15521 for as_dir
in $PATH
15524 test -z "$as_dir" && as_dir
=.
15525 # Account for people who put trailing slashes in PATH elements.
15527 .
/ | .
// | /cC
/* | \
15528 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15529 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15532 # OSF1 and SCO ODT 3.0 have their own names for install.
15533 # Don't use installbsd from OSF since it installs stuff as root
15535 for ac_prog
in ginstall scoinst
install; do
15536 for ac_exec_ext
in '' $ac_executable_extensions; do
15537 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15538 if test $ac_prog = install &&
15539 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15540 # AIX install. It has an incompatible calling convention.
15542 elif test $ac_prog = install &&
15543 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15544 # program-specific install script used by HP pwplus--don't use.
15547 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15559 if test "${ac_cv_path_install+set}" = set; then
15560 INSTALL
=$ac_cv_path_install
15562 # As a last resort, use the slow shell script. We don't cache a
15563 # path for INSTALL within a source directory, because that will
15564 # break other packages using the cache if that directory is
15565 # removed, or if the path is relative.
15566 INSTALL
=$ac_install_sh
15569 echo "$as_me:$LINENO: result: $INSTALL" >&5
15570 echo "${ECHO_T}$INSTALL" >&6
15572 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15573 # It thinks the first close brace ends the variable substitution.
15574 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15576 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15578 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15584 ?
:* ) # Drive letter, considered as absolute.
15587 INSTALL
=`pwd`/${INSTALL} ;;
15594 INSTALL_PROGRAM
="cp -fp"
15595 INSTALL_DATA
="cp -fp"
15601 if test -n "$ac_tool_prefix"; then
15602 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15603 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15604 echo "$as_me:$LINENO: checking for $ac_word" >&5
15605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15606 if test "${ac_cv_prog_STRIP+set}" = set; then
15607 echo $ECHO_N "(cached) $ECHO_C" >&6
15609 if test -n "$STRIP"; then
15610 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15613 for as_dir
in $PATH
15616 test -z "$as_dir" && as_dir
=.
15617 for ac_exec_ext
in '' $ac_executable_extensions; do
15618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15619 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15628 STRIP
=$ac_cv_prog_STRIP
15629 if test -n "$STRIP"; then
15630 echo "$as_me:$LINENO: result: $STRIP" >&5
15631 echo "${ECHO_T}$STRIP" >&6
15633 echo "$as_me:$LINENO: result: no" >&5
15634 echo "${ECHO_T}no" >&6
15638 if test -z "$ac_cv_prog_STRIP"; then
15640 # Extract the first word of "strip", so it can be a program name with args.
15641 set dummy strip
; ac_word
=$2
15642 echo "$as_me:$LINENO: checking for $ac_word" >&5
15643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15644 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15645 echo $ECHO_N "(cached) $ECHO_C" >&6
15647 if test -n "$ac_ct_STRIP"; then
15648 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15651 for as_dir
in $PATH
15654 test -z "$as_dir" && as_dir
=.
15655 for ac_exec_ext
in '' $ac_executable_extensions; do
15656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15657 ac_cv_prog_ac_ct_STRIP
="strip"
15658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15664 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15667 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15668 if test -n "$ac_ct_STRIP"; then
15669 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15670 echo "${ECHO_T}$ac_ct_STRIP" >&6
15672 echo "$as_me:$LINENO: result: no" >&5
15673 echo "${ECHO_T}no" >&6
15678 STRIP
="$ac_cv_prog_STRIP"
15682 if test "$wxUSE_WINE" = "yes"; then
15683 if test -n "$ac_tool_prefix"; then
15684 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15685 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15686 echo "$as_me:$LINENO: checking for $ac_word" >&5
15687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15688 if test "${ac_cv_prog_WINDRES+set}" = set; then
15689 echo $ECHO_N "(cached) $ECHO_C" >&6
15691 if test -n "$WINDRES"; then
15692 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15695 for as_dir
in $PATH
15698 test -z "$as_dir" && as_dir
=.
15699 for ac_exec_ext
in '' $ac_executable_extensions; do
15700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15701 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15710 WINDRES
=$ac_cv_prog_WINDRES
15711 if test -n "$WINDRES"; then
15712 echo "$as_me:$LINENO: result: $WINDRES" >&5
15713 echo "${ECHO_T}$WINDRES" >&6
15715 echo "$as_me:$LINENO: result: no" >&5
15716 echo "${ECHO_T}no" >&6
15720 if test -z "$ac_cv_prog_WINDRES"; then
15721 ac_ct_WINDRES
=$WINDRES
15722 # Extract the first word of "wrc", so it can be a program name with args.
15723 set dummy wrc
; ac_word
=$2
15724 echo "$as_me:$LINENO: checking for $ac_word" >&5
15725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15726 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15727 echo $ECHO_N "(cached) $ECHO_C" >&6
15729 if test -n "$ac_ct_WINDRES"; then
15730 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15733 for as_dir
in $PATH
15736 test -z "$as_dir" && as_dir
=.
15737 for ac_exec_ext
in '' $ac_executable_extensions; do
15738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15739 ac_cv_prog_ac_ct_WINDRES
="wrc"
15740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15748 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15749 if test -n "$ac_ct_WINDRES"; then
15750 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15751 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15753 echo "$as_me:$LINENO: result: no" >&5
15754 echo "${ECHO_T}no" >&6
15757 WINDRES
=$ac_ct_WINDRES
15759 WINDRES
="$ac_cv_prog_WINDRES"
15765 *-*-cygwin* | *-*-mingw32* )
15766 if test -n "$ac_tool_prefix"; then
15767 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15768 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15769 echo "$as_me:$LINENO: checking for $ac_word" >&5
15770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15771 if test "${ac_cv_prog_WINDRES+set}" = set; then
15772 echo $ECHO_N "(cached) $ECHO_C" >&6
15774 if test -n "$WINDRES"; then
15775 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15778 for as_dir
in $PATH
15781 test -z "$as_dir" && as_dir
=.
15782 for ac_exec_ext
in '' $ac_executable_extensions; do
15783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15784 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15793 WINDRES
=$ac_cv_prog_WINDRES
15794 if test -n "$WINDRES"; then
15795 echo "$as_me:$LINENO: result: $WINDRES" >&5
15796 echo "${ECHO_T}$WINDRES" >&6
15798 echo "$as_me:$LINENO: result: no" >&5
15799 echo "${ECHO_T}no" >&6
15803 if test -z "$ac_cv_prog_WINDRES"; then
15804 ac_ct_WINDRES
=$WINDRES
15805 # Extract the first word of "windres", so it can be a program name with args.
15806 set dummy windres
; ac_word
=$2
15807 echo "$as_me:$LINENO: checking for $ac_word" >&5
15808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15809 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15810 echo $ECHO_N "(cached) $ECHO_C" >&6
15812 if test -n "$ac_ct_WINDRES"; then
15813 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15816 for as_dir
in $PATH
15819 test -z "$as_dir" && as_dir
=.
15820 for ac_exec_ext
in '' $ac_executable_extensions; do
15821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15822 ac_cv_prog_ac_ct_WINDRES
="windres"
15823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15831 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15832 if test -n "$ac_ct_WINDRES"; then
15833 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15834 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15836 echo "$as_me:$LINENO: result: no" >&5
15837 echo "${ECHO_T}no" >&6
15840 WINDRES
=$ac_ct_WINDRES
15842 WINDRES
="$ac_cv_prog_WINDRES"
15846 if test -n "$ac_tool_prefix"; then
15847 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15848 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15849 echo "$as_me:$LINENO: checking for $ac_word" >&5
15850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15851 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15852 echo $ECHO_N "(cached) $ECHO_C" >&6
15854 if test -n "$DLLTOOL"; then
15855 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15858 for as_dir
in $PATH
15861 test -z "$as_dir" && as_dir
=.
15862 for ac_exec_ext
in '' $ac_executable_extensions; do
15863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15864 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15873 DLLTOOL
=$ac_cv_prog_DLLTOOL
15874 if test -n "$DLLTOOL"; then
15875 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15876 echo "${ECHO_T}$DLLTOOL" >&6
15878 echo "$as_me:$LINENO: result: no" >&5
15879 echo "${ECHO_T}no" >&6
15883 if test -z "$ac_cv_prog_DLLTOOL"; then
15884 ac_ct_DLLTOOL
=$DLLTOOL
15885 # Extract the first word of "dlltool", so it can be a program name with args.
15886 set dummy dlltool
; ac_word
=$2
15887 echo "$as_me:$LINENO: checking for $ac_word" >&5
15888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15889 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15890 echo $ECHO_N "(cached) $ECHO_C" >&6
15892 if test -n "$ac_ct_DLLTOOL"; then
15893 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15896 for as_dir
in $PATH
15899 test -z "$as_dir" && as_dir
=.
15900 for ac_exec_ext
in '' $ac_executable_extensions; do
15901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15902 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15911 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15912 if test -n "$ac_ct_DLLTOOL"; then
15913 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15914 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15916 echo "$as_me:$LINENO: result: no" >&5
15917 echo "${ECHO_T}no" >&6
15920 DLLTOOL
=$ac_ct_DLLTOOL
15922 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15929 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15930 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15931 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15932 echo $ECHO_N "(cached) $ECHO_C" >&6
15935 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15936 $EGREP -s GNU
> /dev
/null
); then
15937 wx_cv_prog_makeisgnu
="yes"
15939 wx_cv_prog_makeisgnu
="no"
15943 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15944 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15946 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15954 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15955 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15956 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15957 if test "${wx_cv_prog_makevpath+set}" = set; then
15958 echo $ECHO_N "(cached) $ECHO_C" >&6
15961 cat - << EOF > confMake
15967 if test ! -d sub
; then
15970 echo dummy
> sub
/file
15971 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15973 rm -f sub
/file check final_file confMake
15975 if test "$RESULT" = 0; then
15976 wx_cv_prog_makevpath
="yes"
15978 wx_cv_prog_makevpath
="no"
15982 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15983 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15985 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15986 { { echo "$as_me:$LINENO: error:
15987 You need a make-utility that is able to use the variable
15989 If your version of make does not support VPATH correctly,
15990 please install GNU-make (possibly as gmake), and start
15991 configure with the following command:
15992 export MAKE=gmake; ./configure for sh-type shells
15993 setenv MAKE gmake; ./configure for csh-type shells
15994 Also please do remember to use gmake in this case every time
15995 you are trying to compile.
15997 echo "$as_me: error:
15998 You need a make-utility that is able to use the variable
16000 If your version of make does not support VPATH correctly,
16001 please install GNU-make (possibly as gmake), and start
16002 configure with the following command:
16003 export MAKE=gmake; ./configure for sh-type shells
16004 setenv MAKE gmake; ./configure for csh-type shells
16005 Also please do remember to use gmake in this case every time
16006 you are trying to compile.
16008 { (exit 1); exit 1; }; }
16010 echo "$as_me:$LINENO: checking whether ln -s works" >&5
16011 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
16013 if test "$LN_S" = "ln -s"; then
16014 echo "$as_me:$LINENO: result: yes" >&5
16015 echo "${ECHO_T}yes" >&6
16017 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16018 echo "${ECHO_T}no, using $LN_S" >&6
16024 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16025 CXXFLAGS
="-qunique $CXXFLAGS"
16029 powerpc
-*-darwin* )
16030 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16031 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
16032 cat >conftest.
$ac_ext <<_ACEOF
16035 cat confdefs.h
>>conftest.
$ac_ext
16036 cat >>conftest.
$ac_ext <<_ACEOF
16037 /* end confdefs.h. */
16042 #ifndef __POWERPC__
16043 choke me for lack of PowerPC
16050 rm -f conftest.
$ac_objext
16051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16052 (eval $ac_compile) 2>conftest.er1
16054 grep -v '^ *+' conftest.er1
>conftest.err
16056 cat conftest.err
>&5
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); } &&
16059 { ac_try
='test -z "$ac_c_werror_flag"
16060 || test ! -s conftest.err'
16061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16062 (eval $ac_try) 2>&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); }; } &&
16066 { ac_try
='test -s conftest.$ac_objext'
16067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16068 (eval $ac_try) 2>&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); }; }; then
16072 echo "$as_me:$LINENO: result: yes" >&5
16073 echo "${ECHO_T}yes" >&6
16075 echo "$as_me: failed program was:" >&5
16076 sed 's/^/| /' conftest.
$ac_ext >&5
16078 echo "$as_me:$LINENO: result: no" >&5
16079 echo "${ECHO_T}no" >&6
16080 cat >>confdefs.h
<<\_ACEOF
16081 #define __POWERPC__ 1
16086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16092 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
16093 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
16094 cat >conftest.
$ac_ext <<_ACEOF
16097 cat confdefs.h
>>conftest.
$ac_ext
16098 cat >>conftest.
$ac_ext <<_ACEOF
16099 /* end confdefs.h. */
16100 #include <CoreFoundation/CFBase.h>
16110 rm -f conftest.
$ac_objext
16111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16112 (eval $ac_compile) 2>conftest.er1
16114 grep -v '^ *+' conftest.er1
>conftest.err
16116 cat conftest.err
>&5
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); } &&
16119 { ac_try
='test -z "$ac_c_werror_flag"
16120 || test ! -s conftest.err'
16121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16122 (eval $ac_try) 2>&5
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); }; } &&
16126 { ac_try
='test -s conftest.$ac_objext'
16127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 (eval $ac_try) 2>&5
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); }; }; then
16132 echo "$as_me:$LINENO: result: yes" >&5
16133 echo "${ECHO_T}yes" >&6
16135 echo "$as_me: failed program was:" >&5
16136 sed 's/^/| /' conftest.
$ac_ext >&5
16138 echo "$as_me:$LINENO: result: no" >&5
16139 echo "${ECHO_T}no" >&6
16140 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
16141 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
16142 cat >conftest.
$ac_ext <<_ACEOF
16145 cat confdefs.h
>>conftest.
$ac_ext
16146 cat >>conftest.
$ac_ext <<_ACEOF
16147 /* end confdefs.h. */
16148 #define __CF_USE_FRAMEWORK_INCLUDES__
16149 #include <CoreFoundation/CFBase.h>
16159 rm -f conftest.
$ac_objext
16160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16161 (eval $ac_compile) 2>conftest.er1
16163 grep -v '^ *+' conftest.er1
>conftest.err
16165 cat conftest.err
>&5
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); } &&
16168 { ac_try
='test -z "$ac_c_werror_flag"
16169 || test ! -s conftest.err'
16170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16171 (eval $ac_try) 2>&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); }; } &&
16175 { ac_try
='test -s conftest.$ac_objext'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; }; then
16181 echo "$as_me:$LINENO: result: yes" >&5
16182 echo "${ECHO_T}yes" >&6
16183 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
16185 echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.
$ac_ext >&5
16188 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
16189 See \`config.log' for more details." >&5
16190 echo "$as_me: error: no. CoreFoundation not available.
16191 See \`config.log' for more details." >&2;}
16192 { (exit 1); exit 1; }; }
16195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16204 doesnt_want_win32
=0
16207 if test "$wxUSE_MSW" = 1 ; then
16210 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
16211 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
16212 if test "${wx_cv_nocygwin+set}" = set; then
16213 echo $ECHO_N "(cached) $ECHO_C" >&6
16216 cat >conftest.
$ac_ext <<_ACEOF
16219 cat confdefs.h
>>conftest.
$ac_ext
16220 cat >>conftest.
$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16235 rm -f conftest.
$ac_objext
16236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16237 (eval $ac_compile) 2>conftest.er1
16239 grep -v '^ *+' conftest.er1
>conftest.err
16241 cat conftest.err
>&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } &&
16244 { ac_try
='test -z "$ac_c_werror_flag"
16245 || test ! -s conftest.err'
16246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16247 (eval $ac_try) 2>&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); }; } &&
16251 { ac_try
='test -s conftest.$ac_objext'
16252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16253 (eval $ac_try) 2>&5
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); }; }; then
16259 echo "$as_me: failed program was:" >&5
16260 sed 's/^/| /' conftest.
$ac_ext >&5
16265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16269 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16270 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16272 if test "$wx_cv_nocygwin" = "yes"; then
16275 doesnt_want_win32
=1
16278 if test "$wants_win32" = 1 ; then
16279 BAKEFILE_FORCE_PLATFORM
=win32
16287 if test "$wxUSE_WINE" = "yes"; then
16289 LDFLAGS_GUI
="-mwindows"
16292 if test "$wants_win32" = 1 ; then
16295 cat >>confdefs.h
<<\_ACEOF
16296 #define __WIN32__ 1
16299 cat >>confdefs.h
<<\_ACEOF
16300 #define __WIN95__ 1
16303 cat >>confdefs.h
<<\_ACEOF
16304 #define __WINDOWS__ 1
16307 cat >>confdefs.h
<<\_ACEOF
16308 #define __GNUWIN32__ 1
16311 cat >>confdefs.h
<<\_ACEOF
16316 if test "$doesnt_want_win32" = 1 ; then
16321 if test "$USE_UNIX" = 1 ; then
16323 cat >>confdefs.h
<<\_ACEOF
16330 *-pc-os2_emx | *-pc-os2-emx )
16331 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16332 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16333 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16334 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16335 echo $ECHO_N "(cached) $ECHO_C" >&6
16337 ac_check_lib_save_LIBS
=$LIBS
16338 LIBS
="-lcExt $LIBS"
16339 cat >conftest.
$ac_ext <<_ACEOF
16342 cat confdefs.h
>>conftest.
$ac_ext
16343 cat >>conftest.
$ac_ext <<_ACEOF
16344 /* end confdefs.h. */
16346 /* Override any gcc2 internal prototype to avoid an error. */
16350 /* We use char because int might match the return type of a gcc2
16351 builtin and then its argument prototype would still apply. */
16361 rm -f conftest.
$ac_objext conftest
$ac_exeext
16362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16363 (eval $ac_link) 2>conftest.er1
16365 grep -v '^ *+' conftest.er1
>conftest.err
16367 cat conftest.err
>&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } &&
16370 { ac_try
='test -z "$ac_c_werror_flag"
16371 || test ! -s conftest.err'
16372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16373 (eval $ac_try) 2>&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); }; } &&
16377 { ac_try
='test -s conftest$ac_exeext'
16378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16379 (eval $ac_try) 2>&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); }; }; then
16383 ac_cv_lib_cExt_drand48
=yes
16385 echo "$as_me: failed program was:" >&5
16386 sed 's/^/| /' conftest.
$ac_ext >&5
16388 ac_cv_lib_cExt_drand48
=no
16390 rm -f conftest.err conftest.
$ac_objext \
16391 conftest
$ac_exeext conftest.
$ac_ext
16392 LIBS
=$ac_check_lib_save_LIBS
16394 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16395 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16396 if test $ac_cv_lib_cExt_drand48 = yes; then
16397 LIBS
="$LIBS -lcExt"
16401 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
16403 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16404 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16405 if test "${wx_cv_gccversion+set}" = set; then
16406 echo $ECHO_N "(cached) $ECHO_C" >&6
16409 if test "$cross_compiling" = yes; then
16410 wx_cv_gccversion
="EMX2"
16413 cat >conftest.
$ac_ext <<_ACEOF
16416 cat confdefs.h
>>conftest.
$ac_ext
16417 cat >>conftest.
$ac_ext <<_ACEOF
16418 /* end confdefs.h. */
16424 FILE *f=fopen("conftestval", "w");
16429 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16431 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16441 rm -f conftest
$ac_exeext
16442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16443 (eval $ac_link) 2>&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; }; then
16452 wx_cv_gccversion
=`cat conftestval`
16454 echo "$as_me: program exited with status $ac_status" >&5
16455 echo "$as_me: failed program was:" >&5
16456 sed 's/^/| /' conftest.
$ac_ext >&5
16458 ( exit $ac_status )
16459 wx_cv_gccversion
="EMX2"
16461 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16465 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16466 echo "${ECHO_T}$wx_cv_gccversion" >&6
16467 if test "$wx_cv_gccversion" = "EMX2"; then
16468 LIBS
="$LIBS -lstdcpp"
16469 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16471 if test "$wx_cv_gccversion" = "EMX3"; then
16472 LIBS
="$LIBS -lstdcxx -lgcc"
16473 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16475 LIBS
="$LIBS -lstdc++"
16478 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16479 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16480 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16487 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16488 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16489 if test "${ac_cv_string_strcasecmp+set}" = set; then
16490 echo $ECHO_N "(cached) $ECHO_C" >&6
16493 cat >conftest.
$ac_ext <<_ACEOF
16496 cat confdefs.h
>>conftest.
$ac_ext
16497 cat >>conftest.
$ac_ext <<_ACEOF
16498 /* end confdefs.h. */
16500 #include <string.h>
16506 strcasecmp("foo", "bar");
16512 rm -f conftest.
$ac_objext conftest
$ac_exeext
16513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16514 (eval $ac_link) 2>conftest.er1
16516 grep -v '^ *+' conftest.er1
>conftest.err
16518 cat conftest.err
>&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); } &&
16521 { ac_try
='test -z "$ac_c_werror_flag"
16522 || test ! -s conftest.err'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; } &&
16528 { ac_try
='test -s conftest$ac_exeext'
16529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16530 (eval $ac_try) 2>&5
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); }; }; then
16534 ac_cv_string_strcasecmp
=yes
16536 echo "$as_me: failed program was:" >&5
16537 sed 's/^/| /' conftest.
$ac_ext >&5
16539 ac_cv_string_strcasecmp
=no
16542 rm -f conftest.err conftest.
$ac_objext \
16543 conftest
$ac_exeext conftest.
$ac_ext
16546 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16547 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16549 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16550 cat >>confdefs.h
<<\_ACEOF
16551 #define HAVE_STRCASECMP_IN_STRING_H 1
16555 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16556 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16557 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16558 echo $ECHO_N "(cached) $ECHO_C" >&6
16561 cat >conftest.
$ac_ext <<_ACEOF
16564 cat confdefs.h
>>conftest.
$ac_ext
16565 cat >>conftest.
$ac_ext <<_ACEOF
16566 /* end confdefs.h. */
16568 #include <strings.h>
16574 strcasecmp("foo", "bar");
16580 rm -f conftest.
$ac_objext conftest
$ac_exeext
16581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16582 (eval $ac_link) 2>conftest.er1
16584 grep -v '^ *+' conftest.er1
>conftest.err
16586 cat conftest.err
>&5
16587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16588 (exit $ac_status); } &&
16589 { ac_try
='test -z "$ac_c_werror_flag"
16590 || test ! -s conftest.err'
16591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16592 (eval $ac_try) 2>&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); }; } &&
16596 { ac_try
='test -s conftest$ac_exeext'
16597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16598 (eval $ac_try) 2>&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); }; }; then
16602 ac_cv_strings_strcasecmp
=yes
16604 echo "$as_me: failed program was:" >&5
16605 sed 's/^/| /' conftest.
$ac_ext >&5
16607 ac_cv_strings_strcasecmp
=no
16610 rm -f conftest.err conftest.
$ac_objext \
16611 conftest
$ac_exeext conftest.
$ac_ext
16614 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16615 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16617 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16618 cat >>confdefs.h
<<\_ACEOF
16619 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16623 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16624 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16625 { (exit 1); exit 1; }; }
16633 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16634 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16635 if test "${ac_cv_header_stdc+set}" = set; then
16636 echo $ECHO_N "(cached) $ECHO_C" >&6
16638 cat >conftest.
$ac_ext <<_ACEOF
16641 cat confdefs.h
>>conftest.
$ac_ext
16642 cat >>conftest.
$ac_ext <<_ACEOF
16643 /* end confdefs.h. */
16644 #include <stdlib.h>
16645 #include <stdarg.h>
16646 #include <string.h>
16657 rm -f conftest.
$ac_objext
16658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16659 (eval $ac_compile) 2>conftest.er1
16661 grep -v '^ *+' conftest.er1
>conftest.err
16663 cat conftest.err
>&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); } &&
16666 { ac_try
='test -z "$ac_c_werror_flag"
16667 || test ! -s conftest.err'
16668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669 (eval $ac_try) 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; } &&
16673 { ac_try
='test -s conftest.$ac_objext'
16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675 (eval $ac_try) 2>&5
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); }; }; then
16679 ac_cv_header_stdc
=yes
16681 echo "$as_me: failed program was:" >&5
16682 sed 's/^/| /' conftest.
$ac_ext >&5
16684 ac_cv_header_stdc
=no
16686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16688 if test $ac_cv_header_stdc = yes; then
16689 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16690 cat >conftest.
$ac_ext <<_ACEOF
16693 cat confdefs.h
>>conftest.
$ac_ext
16694 cat >>conftest.
$ac_ext <<_ACEOF
16695 /* end confdefs.h. */
16696 #include <string.h>
16699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16700 $EGREP "memchr" >/dev
/null
2>&1; then
16703 ac_cv_header_stdc
=no
16709 if test $ac_cv_header_stdc = yes; then
16710 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16711 cat >conftest.
$ac_ext <<_ACEOF
16714 cat confdefs.h
>>conftest.
$ac_ext
16715 cat >>conftest.
$ac_ext <<_ACEOF
16716 /* end confdefs.h. */
16717 #include <stdlib.h>
16720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16721 $EGREP "free" >/dev
/null
2>&1; then
16724 ac_cv_header_stdc
=no
16730 if test $ac_cv_header_stdc = yes; then
16731 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16732 if test "$cross_compiling" = yes; then
16735 cat >conftest.
$ac_ext <<_ACEOF
16738 cat confdefs.h
>>conftest.
$ac_ext
16739 cat >>conftest.
$ac_ext <<_ACEOF
16740 /* end confdefs.h. */
16742 #if ((' ' & 0x0FF) == 0x020)
16743 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16744 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16746 # define ISLOWER(c) \
16747 (('a' <= (c) && (c) <= 'i') \
16748 || ('j' <= (c) && (c) <= 'r') \
16749 || ('s' <= (c) && (c) <= 'z'))
16750 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16753 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16758 for (i = 0; i < 256; i++)
16759 if (XOR (islower (i), ISLOWER (i))
16760 || toupper (i) != TOUPPER (i))
16765 rm -f conftest
$ac_exeext
16766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16767 (eval $ac_link) 2>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16772 (eval $ac_try) 2>&5
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); }; }; then
16778 echo "$as_me: program exited with status $ac_status" >&5
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.
$ac_ext >&5
16782 ( exit $ac_status )
16783 ac_cv_header_stdc
=no
16785 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16789 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16790 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16791 if test $ac_cv_header_stdc = yes; then
16793 cat >>confdefs.h
<<\_ACEOF
16794 #define STDC_HEADERS 1
16799 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16809 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16810 inttypes.h stdint.h unistd.h
16812 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16813 echo "$as_me:$LINENO: checking for $ac_header" >&5
16814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16816 echo $ECHO_N "(cached) $ECHO_C" >&6
16818 cat >conftest.
$ac_ext <<_ACEOF
16821 cat confdefs.h
>>conftest.
$ac_ext
16822 cat >>conftest.
$ac_ext <<_ACEOF
16823 /* end confdefs.h. */
16824 $ac_includes_default
16826 #include <$ac_header>
16828 rm -f conftest.
$ac_objext
16829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16830 (eval $ac_compile) 2>conftest.er1
16832 grep -v '^ *+' conftest.er1
>conftest.err
16834 cat conftest.err
>&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); } &&
16837 { ac_try
='test -z "$ac_c_werror_flag"
16838 || test ! -s conftest.err'
16839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16840 (eval $ac_try) 2>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); }; } &&
16844 { ac_try
='test -s conftest.$ac_objext'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; }; then
16850 eval "$as_ac_Header=yes"
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.
$ac_ext >&5
16855 eval "$as_ac_Header=no"
16857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16862 cat >>confdefs.h
<<_ACEOF
16863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16877 for ac_header
in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
16879 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16880 echo "$as_me:$LINENO: checking for $ac_header" >&5
16881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16883 echo $ECHO_N "(cached) $ECHO_C" >&6
16885 cat >conftest.
$ac_ext <<_ACEOF
16888 cat confdefs.h
>>conftest.
$ac_ext
16889 cat >>conftest.
$ac_ext <<_ACEOF
16890 /* end confdefs.h. */
16891 $ac_includes_default
16893 #include <$ac_header>
16895 rm -f conftest.
$ac_objext
16896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16897 (eval $ac_compile) 2>conftest.er1
16899 grep -v '^ *+' conftest.er1
>conftest.err
16901 cat conftest.err
>&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); } &&
16904 { ac_try
='test -z "$ac_c_werror_flag"
16905 || test ! -s conftest.err'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; } &&
16911 { ac_try
='test -s conftest.$ac_objext'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; }; then
16917 eval "$as_ac_Header=yes"
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.
$ac_ext >&5
16922 eval "$as_ac_Header=no"
16924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16928 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16929 cat >>confdefs.h
<<_ACEOF
16930 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16938 if test "$ac_cv_header_wchar_h" != "yes"; then
16939 echo "$as_me:$LINENO: checking for wcstr.h" >&5
16940 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6
16941 if test "${ac_cv_header_wcstr_h+set}" = set; then
16942 echo $ECHO_N "(cached) $ECHO_C" >&6
16944 cat >conftest.
$ac_ext <<_ACEOF
16947 cat confdefs.h
>>conftest.
$ac_ext
16948 cat >>conftest.
$ac_ext <<_ACEOF
16949 /* end confdefs.h. */
16950 $ac_includes_default
16954 rm -f conftest.
$ac_objext
16955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16956 (eval $ac_compile) 2>conftest.er1
16958 grep -v '^ *+' conftest.er1
>conftest.err
16960 cat conftest.err
>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } &&
16963 { ac_try
='test -z "$ac_c_werror_flag"
16964 || test ! -s conftest.err'
16965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966 (eval $ac_try) 2>&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; } &&
16970 { ac_try
='test -s conftest.$ac_objext'
16971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16972 (eval $ac_try) 2>&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); }; }; then
16976 ac_cv_header_wcstr_h
=yes
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.
$ac_ext >&5
16981 ac_cv_header_wcstr_h
=no
16983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16985 echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
16986 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6
16992 *-pc-os2_emx | *-pc-os2-emx )
16993 if test $ac_cv_header_langinfo_h = "yes" \
16994 -a \
( "$wx_cv_gccversion" = "EMX2" \
16995 -o "$wx_cv_gccversion" = "EMX3" \
16996 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16997 LIBS
="$LIBS -lintl"
17002 if test "$USE_UNIX" = 1 ; then
17003 echo "$as_me:$LINENO: checking for sys/select.h" >&5
17004 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6
17005 if test "${ac_cv_header_sys_select_h+set}" = set; then
17006 echo $ECHO_N "(cached) $ECHO_C" >&6
17008 cat >conftest.
$ac_ext <<_ACEOF
17011 cat confdefs.h
>>conftest.
$ac_ext
17012 cat >>conftest.
$ac_ext <<_ACEOF
17013 /* end confdefs.h. */
17014 $ac_includes_default
17016 #include <sys/select.h>
17018 rm -f conftest.
$ac_objext
17019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17020 (eval $ac_compile) 2>conftest.er1
17022 grep -v '^ *+' conftest.er1
>conftest.err
17024 cat conftest.err
>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } &&
17027 { ac_try
='test -z "$ac_c_werror_flag"
17028 || test ! -s conftest.err'
17029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17030 (eval $ac_try) 2>&5
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); }; } &&
17034 { ac_try
='test -s conftest.$ac_objext'
17035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17036 (eval $ac_try) 2>&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); }; }; then
17040 ac_cv_header_sys_select_h
=yes
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.
$ac_ext >&5
17045 ac_cv_header_sys_select_h
=no
17047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17049 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
17050 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6
17056 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17057 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17058 if test "${ac_cv_c_const+set}" = set; then
17059 echo $ECHO_N "(cached) $ECHO_C" >&6
17061 cat >conftest.
$ac_ext <<_ACEOF
17064 cat confdefs.h
>>conftest.
$ac_ext
17065 cat >>conftest.
$ac_ext <<_ACEOF
17066 /* end confdefs.h. */
17071 /* FIXME: Include the comments suggested by Paul. */
17072 #ifndef __cplusplus
17073 /* Ultrix mips cc rejects this. */
17074 typedef int charset[2];
17076 /* SunOS 4.1.1 cc rejects this. */
17077 char const *const *ccp;
17079 /* NEC SVR4.0.2 mips cc rejects this. */
17080 struct point {int x, y;};
17081 static struct point const zero = {0,0};
17082 /* AIX XL C 1.02.0.0 rejects this.
17083 It does not let you subtract one const X* pointer from another in
17084 an arm of an if-expression whose if-part is not a constant
17086 const char *g = "string";
17087 ccp = &g + (g ? g-g : 0);
17088 /* HPUX 7.0 cc rejects these. */
17091 ccp = (char const *const *) p;
17092 { /* SCO 3.2v4 cc rejects this. */
17094 char const *s = 0 ? (char *) 0 : (char const *) 0;
17098 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17099 int x[] = {25, 17};
17100 const int *foo = &x[0];
17103 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17104 typedef const int *iptr;
17108 { /* AIX XL C 1.02.0.0 rejects this saying
17109 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17110 struct s { int j; const int *ap[3]; };
17111 struct s *b; b->j = 5;
17113 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17114 const int foo = 10;
17122 rm -f conftest.
$ac_objext
17123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17124 (eval $ac_compile) 2>conftest.er1
17126 grep -v '^ *+' conftest.er1
>conftest.err
17128 cat conftest.err
>&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } &&
17131 { ac_try
='test -z "$ac_c_werror_flag"
17132 || test ! -s conftest.err'
17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17134 (eval $ac_try) 2>&5
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); }; } &&
17138 { ac_try
='test -s conftest.$ac_objext'
17139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17140 (eval $ac_try) 2>&5
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); }; }; then
17146 echo "$as_me: failed program was:" >&5
17147 sed 's/^/| /' conftest.
$ac_ext >&5
17151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17153 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17154 echo "${ECHO_T}$ac_cv_c_const" >&6
17155 if test $ac_cv_c_const = no
; then
17157 cat >>confdefs.h
<<\_ACEOF
17163 echo "$as_me:$LINENO: checking for inline" >&5
17164 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17165 if test "${ac_cv_c_inline+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17169 for ac_kw
in inline __inline__ __inline
; do
17170 cat >conftest.
$ac_ext <<_ACEOF
17173 cat confdefs.h
>>conftest.
$ac_ext
17174 cat >>conftest.
$ac_ext <<_ACEOF
17175 /* end confdefs.h. */
17176 #ifndef __cplusplus
17178 static $ac_kw foo_t static_foo () {return 0; }
17179 $ac_kw foo_t foo () {return 0; }
17183 rm -f conftest.
$ac_objext
17184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17185 (eval $ac_compile) 2>conftest.er1
17187 grep -v '^ *+' conftest.er1
>conftest.err
17189 cat conftest.err
>&5
17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); } &&
17192 { ac_try
='test -z "$ac_c_werror_flag"
17193 || test ! -s conftest.err'
17194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17195 (eval $ac_try) 2>&5
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); }; } &&
17199 { ac_try
='test -s conftest.$ac_objext'
17200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17201 (eval $ac_try) 2>&5
17203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17204 (exit $ac_status); }; }; then
17205 ac_cv_c_inline
=$ac_kw; break
17207 echo "$as_me: failed program was:" >&5
17208 sed 's/^/| /' conftest.
$ac_ext >&5
17211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17215 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17216 echo "${ECHO_T}$ac_cv_c_inline" >&6
17219 case $ac_cv_c_inline in
17222 case $ac_cv_c_inline in
17224 *) ac_val
=$ac_cv_c_inline;;
17226 cat >>confdefs.h
<<_ACEOF
17227 #ifndef __cplusplus
17228 #define inline $ac_val
17235 echo "$as_me:$LINENO: checking for short" >&5
17236 echo $ECHO_N "checking for short... $ECHO_C" >&6
17237 if test "${ac_cv_type_short+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17240 cat >conftest.
$ac_ext <<_ACEOF
17243 cat confdefs.h
>>conftest.
$ac_ext
17244 cat >>conftest.
$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17246 $ac_includes_default
17252 if (sizeof (short))
17258 rm -f conftest.
$ac_objext
17259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17260 (eval $ac_compile) 2>conftest.er1
17262 grep -v '^ *+' conftest.er1
>conftest.err
17264 cat conftest.err
>&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); } &&
17267 { ac_try
='test -z "$ac_c_werror_flag"
17268 || test ! -s conftest.err'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; } &&
17274 { ac_try
='test -s conftest.$ac_objext'
17275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17276 (eval $ac_try) 2>&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); }; }; then
17280 ac_cv_type_short
=yes
17282 echo "$as_me: failed program was:" >&5
17283 sed 's/^/| /' conftest.
$ac_ext >&5
17285 ac_cv_type_short
=no
17287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17289 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17290 echo "${ECHO_T}$ac_cv_type_short" >&6
17292 echo "$as_me:$LINENO: checking size of short" >&5
17293 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17294 if test "${ac_cv_sizeof_short+set}" = set; then
17295 echo $ECHO_N "(cached) $ECHO_C" >&6
17297 if test "$ac_cv_type_short" = yes; then
17298 # The cast to unsigned long works around a bug in the HP C Compiler
17299 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17300 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17301 # This bug is HP SR number 8606223364.
17302 if test "$cross_compiling" = yes; then
17303 # Depending upon the size, compute the lo and hi bounds.
17304 cat >conftest.
$ac_ext <<_ACEOF
17307 cat confdefs.h
>>conftest.
$ac_ext
17308 cat >>conftest.
$ac_ext <<_ACEOF
17309 /* end confdefs.h. */
17310 $ac_includes_default
17314 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17321 rm -f conftest.
$ac_objext
17322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17323 (eval $ac_compile) 2>conftest.er1
17325 grep -v '^ *+' conftest.er1
>conftest.err
17327 cat conftest.err
>&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); } &&
17330 { ac_try
='test -z "$ac_c_werror_flag"
17331 || test ! -s conftest.err'
17332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17333 (eval $ac_try) 2>&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); }; } &&
17337 { ac_try
='test -s conftest.$ac_objext'
17338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17339 (eval $ac_try) 2>&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); }; }; then
17345 cat >conftest.
$ac_ext <<_ACEOF
17348 cat confdefs.h
>>conftest.
$ac_ext
17349 cat >>conftest.
$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 $ac_includes_default
17355 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17362 rm -f conftest.
$ac_objext
17363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17364 (eval $ac_compile) 2>conftest.er1
17366 grep -v '^ *+' conftest.er1
>conftest.err
17368 cat conftest.err
>&5
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); } &&
17371 { ac_try
='test -z "$ac_c_werror_flag"
17372 || test ! -s conftest.err'
17373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17374 (eval $ac_try) 2>&5
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); }; } &&
17378 { ac_try
='test -s conftest.$ac_objext'
17379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17380 (eval $ac_try) 2>&5
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); }; }; then
17384 ac_hi
=$ac_mid; break
17386 echo "$as_me: failed program was:" >&5
17387 sed 's/^/| /' conftest.
$ac_ext >&5
17389 ac_lo
=`expr $ac_mid + 1`
17390 if test $ac_lo -le $ac_mid; then
17394 ac_mid
=`expr 2 '*' $ac_mid + 1`
17396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17399 echo "$as_me: failed program was:" >&5
17400 sed 's/^/| /' conftest.
$ac_ext >&5
17402 cat >conftest.
$ac_ext <<_ACEOF
17405 cat confdefs.h
>>conftest.
$ac_ext
17406 cat >>conftest.
$ac_ext <<_ACEOF
17407 /* end confdefs.h. */
17408 $ac_includes_default
17412 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17419 rm -f conftest.
$ac_objext
17420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17421 (eval $ac_compile) 2>conftest.er1
17423 grep -v '^ *+' conftest.er1
>conftest.err
17425 cat conftest.err
>&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); } &&
17428 { ac_try
='test -z "$ac_c_werror_flag"
17429 || test ! -s conftest.err'
17430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17431 (eval $ac_try) 2>&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); }; } &&
17435 { ac_try
='test -s conftest.$ac_objext'
17436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17437 (eval $ac_try) 2>&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); }; }; then
17443 cat >conftest.
$ac_ext <<_ACEOF
17446 cat confdefs.h
>>conftest.
$ac_ext
17447 cat >>conftest.
$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449 $ac_includes_default
17453 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17460 rm -f conftest.
$ac_objext
17461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17462 (eval $ac_compile) 2>conftest.er1
17464 grep -v '^ *+' conftest.er1
>conftest.err
17466 cat conftest.err
>&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } &&
17469 { ac_try
='test -z "$ac_c_werror_flag"
17470 || test ! -s conftest.err'
17471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17472 (eval $ac_try) 2>&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); }; } &&
17476 { ac_try
='test -s conftest.$ac_objext'
17477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17478 (eval $ac_try) 2>&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); }; }; then
17482 ac_lo
=$ac_mid; break
17484 echo "$as_me: failed program was:" >&5
17485 sed 's/^/| /' conftest.
$ac_ext >&5
17487 ac_hi
=`expr '(' $ac_mid ')' - 1`
17488 if test $ac_mid -le $ac_hi; then
17492 ac_mid
=`expr 2 '*' $ac_mid`
17494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17497 echo "$as_me: failed program was:" >&5
17498 sed 's/^/| /' conftest.
$ac_ext >&5
17502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17505 # Binary search between lo and hi bounds.
17506 while test "x$ac_lo" != "x$ac_hi"; do
17507 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17508 cat >conftest.
$ac_ext <<_ACEOF
17511 cat confdefs.h
>>conftest.
$ac_ext
17512 cat >>conftest.
$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514 $ac_includes_default
17518 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17525 rm -f conftest.
$ac_objext
17526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17527 (eval $ac_compile) 2>conftest.er1
17529 grep -v '^ *+' conftest.er1
>conftest.err
17531 cat conftest.err
>&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); } &&
17534 { ac_try
='test -z "$ac_c_werror_flag"
17535 || test ! -s conftest.err'
17536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17537 (eval $ac_try) 2>&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); }; } &&
17541 { ac_try
='test -s conftest.$ac_objext'
17542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17543 (eval $ac_try) 2>&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); }; }; then
17549 echo "$as_me: failed program was:" >&5
17550 sed 's/^/| /' conftest.
$ac_ext >&5
17552 ac_lo
=`expr '(' $ac_mid ')' + 1`
17554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17557 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17558 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17559 See \`config.log' for more details." >&5
17560 echo "$as_me: error: cannot compute sizeof (short), 77
17561 See \`config.log' for more details." >&2;}
17562 { (exit 1); exit 1; }; } ;;
17565 if test "$cross_compiling" = yes; then
17566 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17567 See \`config.log' for more details." >&5
17568 echo "$as_me: error: cannot run test program while cross compiling
17569 See \`config.log' for more details." >&2;}
17570 { (exit 1); exit 1; }; }
17572 cat >conftest.
$ac_ext <<_ACEOF
17575 cat confdefs.h
>>conftest.
$ac_ext
17576 cat >>conftest.
$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578 $ac_includes_default
17579 long longval () { return (long) (sizeof (short)); }
17580 unsigned long ulongval () { return (long) (sizeof (short)); }
17582 #include <stdlib.h>
17587 FILE *f = fopen ("conftest.val", "w");
17590 if (((long) (sizeof (short))) < 0)
17592 long i = longval ();
17593 if (i != ((long) (sizeof (short))))
17595 fprintf (f, "%ld\n", i);
17599 unsigned long i = ulongval ();
17600 if (i != ((long) (sizeof (short))))
17602 fprintf (f, "%lu\n", i);
17604 exit (ferror (f) || fclose (f) != 0);
17610 rm -f conftest
$ac_exeext
17611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17612 (eval $ac_link) 2>&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17617 (eval $ac_try) 2>&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); }; }; then
17621 ac_cv_sizeof_short
=`cat conftest.val`
17623 echo "$as_me: program exited with status $ac_status" >&5
17624 echo "$as_me: failed program was:" >&5
17625 sed 's/^/| /' conftest.
$ac_ext >&5
17627 ( exit $ac_status )
17628 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17629 See \`config.log' for more details." >&5
17630 echo "$as_me: error: cannot compute sizeof (short), 77
17631 See \`config.log' for more details." >&2;}
17632 { (exit 1); exit 1; }; }
17634 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17639 ac_cv_sizeof_short
=0
17642 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17643 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17644 cat >>confdefs.h
<<_ACEOF
17645 #define SIZEOF_SHORT $ac_cv_sizeof_short
17649 echo "$as_me:$LINENO: checking for void *" >&5
17650 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17651 if test "${ac_cv_type_void_p+set}" = set; then
17652 echo $ECHO_N "(cached) $ECHO_C" >&6
17654 cat >conftest.
$ac_ext <<_ACEOF
17657 cat confdefs.h
>>conftest.
$ac_ext
17658 cat >>conftest.
$ac_ext <<_ACEOF
17659 /* end confdefs.h. */
17660 $ac_includes_default
17666 if (sizeof (void *))
17672 rm -f conftest.
$ac_objext
17673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17674 (eval $ac_compile) 2>conftest.er1
17676 grep -v '^ *+' conftest.er1
>conftest.err
17678 cat conftest.err
>&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); } &&
17681 { ac_try
='test -z "$ac_c_werror_flag"
17682 || test ! -s conftest.err'
17683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17684 (eval $ac_try) 2>&5
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); }; } &&
17688 { ac_try
='test -s conftest.$ac_objext'
17689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690 (eval $ac_try) 2>&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; }; then
17694 ac_cv_type_void_p
=yes
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.
$ac_ext >&5
17699 ac_cv_type_void_p
=no
17701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17703 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17704 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17706 echo "$as_me:$LINENO: checking size of void *" >&5
17707 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17708 if test "${ac_cv_sizeof_void_p+set}" = set; then
17709 echo $ECHO_N "(cached) $ECHO_C" >&6
17711 if test "$ac_cv_type_void_p" = yes; then
17712 # The cast to unsigned long works around a bug in the HP C Compiler
17713 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17714 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17715 # This bug is HP SR number 8606223364.
17716 if test "$cross_compiling" = yes; then
17717 # Depending upon the size, compute the lo and hi bounds.
17718 cat >conftest.
$ac_ext <<_ACEOF
17721 cat confdefs.h
>>conftest.
$ac_ext
17722 cat >>conftest.
$ac_ext <<_ACEOF
17723 /* end confdefs.h. */
17724 $ac_includes_default
17728 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17735 rm -f conftest.
$ac_objext
17736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17737 (eval $ac_compile) 2>conftest.er1
17739 grep -v '^ *+' conftest.er1
>conftest.err
17741 cat conftest.err
>&5
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743 (exit $ac_status); } &&
17744 { ac_try
='test -z "$ac_c_werror_flag"
17745 || test ! -s conftest.err'
17746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17747 (eval $ac_try) 2>&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); }; } &&
17751 { ac_try
='test -s conftest.$ac_objext'
17752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17753 (eval $ac_try) 2>&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; }; then
17759 cat >conftest.
$ac_ext <<_ACEOF
17762 cat confdefs.h
>>conftest.
$ac_ext
17763 cat >>conftest.
$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17765 $ac_includes_default
17769 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17776 rm -f conftest.
$ac_objext
17777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17778 (eval $ac_compile) 2>conftest.er1
17780 grep -v '^ *+' conftest.er1
>conftest.err
17782 cat conftest.err
>&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); } &&
17785 { ac_try
='test -z "$ac_c_werror_flag"
17786 || test ! -s conftest.err'
17787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17788 (eval $ac_try) 2>&5
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); }; } &&
17792 { ac_try
='test -s conftest.$ac_objext'
17793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17794 (eval $ac_try) 2>&5
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); }; }; then
17798 ac_hi
=$ac_mid; break
17800 echo "$as_me: failed program was:" >&5
17801 sed 's/^/| /' conftest.
$ac_ext >&5
17803 ac_lo
=`expr $ac_mid + 1`
17804 if test $ac_lo -le $ac_mid; then
17808 ac_mid
=`expr 2 '*' $ac_mid + 1`
17810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17813 echo "$as_me: failed program was:" >&5
17814 sed 's/^/| /' conftest.
$ac_ext >&5
17816 cat >conftest.
$ac_ext <<_ACEOF
17819 cat confdefs.h
>>conftest.
$ac_ext
17820 cat >>conftest.
$ac_ext <<_ACEOF
17821 /* end confdefs.h. */
17822 $ac_includes_default
17826 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17833 rm -f conftest.
$ac_objext
17834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17835 (eval $ac_compile) 2>conftest.er1
17837 grep -v '^ *+' conftest.er1
>conftest.err
17839 cat conftest.err
>&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); } &&
17842 { ac_try
='test -z "$ac_c_werror_flag"
17843 || test ! -s conftest.err'
17844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17845 (eval $ac_try) 2>&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); }; } &&
17849 { ac_try
='test -s conftest.$ac_objext'
17850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851 (eval $ac_try) 2>&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; }; then
17857 cat >conftest.
$ac_ext <<_ACEOF
17860 cat confdefs.h
>>conftest.
$ac_ext
17861 cat >>conftest.
$ac_ext <<_ACEOF
17862 /* end confdefs.h. */
17863 $ac_includes_default
17867 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17874 rm -f conftest.
$ac_objext
17875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17876 (eval $ac_compile) 2>conftest.er1
17878 grep -v '^ *+' conftest.er1
>conftest.err
17880 cat conftest.err
>&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } &&
17883 { ac_try
='test -z "$ac_c_werror_flag"
17884 || test ! -s conftest.err'
17885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17886 (eval $ac_try) 2>&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); }; } &&
17890 { ac_try
='test -s conftest.$ac_objext'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; }; then
17896 ac_lo
=$ac_mid; break
17898 echo "$as_me: failed program was:" >&5
17899 sed 's/^/| /' conftest.
$ac_ext >&5
17901 ac_hi
=`expr '(' $ac_mid ')' - 1`
17902 if test $ac_mid -le $ac_hi; then
17906 ac_mid
=`expr 2 '*' $ac_mid`
17908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17911 echo "$as_me: failed program was:" >&5
17912 sed 's/^/| /' conftest.
$ac_ext >&5
17916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17919 # Binary search between lo and hi bounds.
17920 while test "x$ac_lo" != "x$ac_hi"; do
17921 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17922 cat >conftest.
$ac_ext <<_ACEOF
17925 cat confdefs.h
>>conftest.
$ac_ext
17926 cat >>conftest.
$ac_ext <<_ACEOF
17927 /* end confdefs.h. */
17928 $ac_includes_default
17932 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17939 rm -f conftest.
$ac_objext
17940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17941 (eval $ac_compile) 2>conftest.er1
17943 grep -v '^ *+' conftest.er1
>conftest.err
17945 cat conftest.err
>&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } &&
17948 { ac_try
='test -z "$ac_c_werror_flag"
17949 || test ! -s conftest.err'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; } &&
17955 { ac_try
='test -s conftest.$ac_objext'
17956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17957 (eval $ac_try) 2>&5
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); }; }; then
17963 echo "$as_me: failed program was:" >&5
17964 sed 's/^/| /' conftest.
$ac_ext >&5
17966 ac_lo
=`expr '(' $ac_mid ')' + 1`
17968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17971 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17972 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17973 See \`config.log' for more details." >&5
17974 echo "$as_me: error: cannot compute sizeof (void *), 77
17975 See \`config.log' for more details." >&2;}
17976 { (exit 1); exit 1; }; } ;;
17979 if test "$cross_compiling" = yes; then
17980 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17981 See \`config.log' for more details." >&5
17982 echo "$as_me: error: cannot run test program while cross compiling
17983 See \`config.log' for more details." >&2;}
17984 { (exit 1); exit 1; }; }
17986 cat >conftest.
$ac_ext <<_ACEOF
17989 cat confdefs.h
>>conftest.
$ac_ext
17990 cat >>conftest.
$ac_ext <<_ACEOF
17991 /* end confdefs.h. */
17992 $ac_includes_default
17993 long longval () { return (long) (sizeof (void *)); }
17994 unsigned long ulongval () { return (long) (sizeof (void *)); }
17996 #include <stdlib.h>
18001 FILE *f = fopen ("conftest.val", "w");
18004 if (((long) (sizeof (void *))) < 0)
18006 long i = longval ();
18007 if (i != ((long) (sizeof (void *))))
18009 fprintf (f, "%ld\n", i);
18013 unsigned long i = ulongval ();
18014 if (i != ((long) (sizeof (void *))))
18016 fprintf (f, "%lu\n", i);
18018 exit (ferror (f) || fclose (f) != 0);
18024 rm -f conftest
$ac_exeext
18025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18026 (eval $ac_link) 2>&5
18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); }; }; then
18035 ac_cv_sizeof_void_p
=`cat conftest.val`
18037 echo "$as_me: program exited with status $ac_status" >&5
18038 echo "$as_me: failed program was:" >&5
18039 sed 's/^/| /' conftest.
$ac_ext >&5
18041 ( exit $ac_status )
18042 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18043 See \`config.log' for more details." >&5
18044 echo "$as_me: error: cannot compute sizeof (void *), 77
18045 See \`config.log' for more details." >&2;}
18046 { (exit 1); exit 1; }; }
18048 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18053 ac_cv_sizeof_void_p
=0
18056 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18057 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18058 cat >>confdefs.h
<<_ACEOF
18059 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18063 echo "$as_me:$LINENO: checking for int" >&5
18064 echo $ECHO_N "checking for int... $ECHO_C" >&6
18065 if test "${ac_cv_type_int+set}" = set; then
18066 echo $ECHO_N "(cached) $ECHO_C" >&6
18068 cat >conftest.
$ac_ext <<_ACEOF
18071 cat confdefs.h
>>conftest.
$ac_ext
18072 cat >>conftest.
$ac_ext <<_ACEOF
18073 /* end confdefs.h. */
18074 $ac_includes_default
18086 rm -f conftest.
$ac_objext
18087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18088 (eval $ac_compile) 2>conftest.er1
18090 grep -v '^ *+' conftest.er1
>conftest.err
18092 cat conftest.err
>&5
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); } &&
18095 { ac_try
='test -z "$ac_c_werror_flag"
18096 || test ! -s conftest.err'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; } &&
18102 { ac_try
='test -s conftest.$ac_objext'
18103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18104 (eval $ac_try) 2>&5
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); }; }; then
18110 echo "$as_me: failed program was:" >&5
18111 sed 's/^/| /' conftest.
$ac_ext >&5
18115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18117 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18118 echo "${ECHO_T}$ac_cv_type_int" >&6
18120 echo "$as_me:$LINENO: checking size of int" >&5
18121 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18122 if test "${ac_cv_sizeof_int+set}" = set; then
18123 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 if test "$ac_cv_type_int" = yes; then
18126 # The cast to unsigned long works around a bug in the HP C Compiler
18127 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18128 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18129 # This bug is HP SR number 8606223364.
18130 if test "$cross_compiling" = yes; then
18131 # Depending upon the size, compute the lo and hi bounds.
18132 cat >conftest.
$ac_ext <<_ACEOF
18135 cat confdefs.h
>>conftest.
$ac_ext
18136 cat >>conftest.
$ac_ext <<_ACEOF
18137 /* end confdefs.h. */
18138 $ac_includes_default
18142 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18149 rm -f conftest.
$ac_objext
18150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18151 (eval $ac_compile) 2>conftest.er1
18153 grep -v '^ *+' conftest.er1
>conftest.err
18155 cat conftest.err
>&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); } &&
18158 { ac_try
='test -z "$ac_c_werror_flag"
18159 || test ! -s conftest.err'
18160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18161 (eval $ac_try) 2>&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; } &&
18165 { ac_try
='test -s conftest.$ac_objext'
18166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18167 (eval $ac_try) 2>&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; }; then
18173 cat >conftest.
$ac_ext <<_ACEOF
18176 cat confdefs.h
>>conftest.
$ac_ext
18177 cat >>conftest.
$ac_ext <<_ACEOF
18178 /* end confdefs.h. */
18179 $ac_includes_default
18183 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18190 rm -f conftest.
$ac_objext
18191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18192 (eval $ac_compile) 2>conftest.er1
18194 grep -v '^ *+' conftest.er1
>conftest.err
18196 cat conftest.err
>&5
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); } &&
18199 { ac_try
='test -z "$ac_c_werror_flag"
18200 || test ! -s conftest.err'
18201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18202 (eval $ac_try) 2>&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); }; } &&
18206 { ac_try
='test -s conftest.$ac_objext'
18207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18208 (eval $ac_try) 2>&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); }; }; then
18212 ac_hi
=$ac_mid; break
18214 echo "$as_me: failed program was:" >&5
18215 sed 's/^/| /' conftest.
$ac_ext >&5
18217 ac_lo
=`expr $ac_mid + 1`
18218 if test $ac_lo -le $ac_mid; then
18222 ac_mid
=`expr 2 '*' $ac_mid + 1`
18224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18227 echo "$as_me: failed program was:" >&5
18228 sed 's/^/| /' conftest.
$ac_ext >&5
18230 cat >conftest.
$ac_ext <<_ACEOF
18233 cat confdefs.h
>>conftest.
$ac_ext
18234 cat >>conftest.
$ac_ext <<_ACEOF
18235 /* end confdefs.h. */
18236 $ac_includes_default
18240 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18247 rm -f conftest.
$ac_objext
18248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18249 (eval $ac_compile) 2>conftest.er1
18251 grep -v '^ *+' conftest.er1
>conftest.err
18253 cat conftest.err
>&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); } &&
18256 { ac_try
='test -z "$ac_c_werror_flag"
18257 || test ! -s conftest.err'
18258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18259 (eval $ac_try) 2>&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); }; } &&
18263 { ac_try
='test -s conftest.$ac_objext'
18264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18265 (eval $ac_try) 2>&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); }; }; then
18271 cat >conftest.
$ac_ext <<_ACEOF
18274 cat confdefs.h
>>conftest.
$ac_ext
18275 cat >>conftest.
$ac_ext <<_ACEOF
18276 /* end confdefs.h. */
18277 $ac_includes_default
18281 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18288 rm -f conftest.
$ac_objext
18289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18290 (eval $ac_compile) 2>conftest.er1
18292 grep -v '^ *+' conftest.er1
>conftest.err
18294 cat conftest.err
>&5
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); } &&
18297 { ac_try
='test -z "$ac_c_werror_flag"
18298 || test ! -s conftest.err'
18299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18300 (eval $ac_try) 2>&5
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); }; } &&
18304 { ac_try
='test -s conftest.$ac_objext'
18305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18306 (eval $ac_try) 2>&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); }; }; then
18310 ac_lo
=$ac_mid; break
18312 echo "$as_me: failed program was:" >&5
18313 sed 's/^/| /' conftest.
$ac_ext >&5
18315 ac_hi
=`expr '(' $ac_mid ')' - 1`
18316 if test $ac_mid -le $ac_hi; then
18320 ac_mid
=`expr 2 '*' $ac_mid`
18322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18325 echo "$as_me: failed program was:" >&5
18326 sed 's/^/| /' conftest.
$ac_ext >&5
18330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18333 # Binary search between lo and hi bounds.
18334 while test "x$ac_lo" != "x$ac_hi"; do
18335 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18336 cat >conftest.
$ac_ext <<_ACEOF
18339 cat confdefs.h
>>conftest.
$ac_ext
18340 cat >>conftest.
$ac_ext <<_ACEOF
18341 /* end confdefs.h. */
18342 $ac_includes_default
18346 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18353 rm -f conftest.
$ac_objext
18354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18355 (eval $ac_compile) 2>conftest.er1
18357 grep -v '^ *+' conftest.er1
>conftest.err
18359 cat conftest.err
>&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); } &&
18362 { ac_try
='test -z "$ac_c_werror_flag"
18363 || test ! -s conftest.err'
18364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18365 (eval $ac_try) 2>&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); }; } &&
18369 { ac_try
='test -s conftest.$ac_objext'
18370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18371 (eval $ac_try) 2>&5
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); }; }; then
18377 echo "$as_me: failed program was:" >&5
18378 sed 's/^/| /' conftest.
$ac_ext >&5
18380 ac_lo
=`expr '(' $ac_mid ')' + 1`
18382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18385 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18386 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18387 See \`config.log' for more details." >&5
18388 echo "$as_me: error: cannot compute sizeof (int), 77
18389 See \`config.log' for more details." >&2;}
18390 { (exit 1); exit 1; }; } ;;
18393 if test "$cross_compiling" = yes; then
18394 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18395 See \`config.log' for more details." >&5
18396 echo "$as_me: error: cannot run test program while cross compiling
18397 See \`config.log' for more details." >&2;}
18398 { (exit 1); exit 1; }; }
18400 cat >conftest.
$ac_ext <<_ACEOF
18403 cat confdefs.h
>>conftest.
$ac_ext
18404 cat >>conftest.
$ac_ext <<_ACEOF
18405 /* end confdefs.h. */
18406 $ac_includes_default
18407 long longval () { return (long) (sizeof (int)); }
18408 unsigned long ulongval () { return (long) (sizeof (int)); }
18410 #include <stdlib.h>
18415 FILE *f = fopen ("conftest.val", "w");
18418 if (((long) (sizeof (int))) < 0)
18420 long i = longval ();
18421 if (i != ((long) (sizeof (int))))
18423 fprintf (f, "%ld\n", i);
18427 unsigned long i = ulongval ();
18428 if (i != ((long) (sizeof (int))))
18430 fprintf (f, "%lu\n", i);
18432 exit (ferror (f) || fclose (f) != 0);
18438 rm -f conftest
$ac_exeext
18439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18440 (eval $ac_link) 2>&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18445 (eval $ac_try) 2>&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); }; }; then
18449 ac_cv_sizeof_int
=`cat conftest.val`
18451 echo "$as_me: program exited with status $ac_status" >&5
18452 echo "$as_me: failed program was:" >&5
18453 sed 's/^/| /' conftest.
$ac_ext >&5
18455 ( exit $ac_status )
18456 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18457 See \`config.log' for more details." >&5
18458 echo "$as_me: error: cannot compute sizeof (int), 77
18459 See \`config.log' for more details." >&2;}
18460 { (exit 1); exit 1; }; }
18462 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18470 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18471 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18472 cat >>confdefs.h
<<_ACEOF
18473 #define SIZEOF_INT $ac_cv_sizeof_int
18477 echo "$as_me:$LINENO: checking for long" >&5
18478 echo $ECHO_N "checking for long... $ECHO_C" >&6
18479 if test "${ac_cv_type_long+set}" = set; then
18480 echo $ECHO_N "(cached) $ECHO_C" >&6
18482 cat >conftest.
$ac_ext <<_ACEOF
18485 cat confdefs.h
>>conftest.
$ac_ext
18486 cat >>conftest.
$ac_ext <<_ACEOF
18487 /* end confdefs.h. */
18488 $ac_includes_default
18500 rm -f conftest.
$ac_objext
18501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18502 (eval $ac_compile) 2>conftest.er1
18504 grep -v '^ *+' conftest.er1
>conftest.err
18506 cat conftest.err
>&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } &&
18509 { ac_try
='test -z "$ac_c_werror_flag"
18510 || test ! -s conftest.err'
18511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18512 (eval $ac_try) 2>&5
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); }; } &&
18516 { ac_try
='test -s conftest.$ac_objext'
18517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18518 (eval $ac_try) 2>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); }; }; then
18522 ac_cv_type_long
=yes
18524 echo "$as_me: failed program was:" >&5
18525 sed 's/^/| /' conftest.
$ac_ext >&5
18529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18531 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18532 echo "${ECHO_T}$ac_cv_type_long" >&6
18534 echo "$as_me:$LINENO: checking size of long" >&5
18535 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18536 if test "${ac_cv_sizeof_long+set}" = set; then
18537 echo $ECHO_N "(cached) $ECHO_C" >&6
18539 if test "$ac_cv_type_long" = yes; then
18540 # The cast to unsigned long works around a bug in the HP C Compiler
18541 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18542 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18543 # This bug is HP SR number 8606223364.
18544 if test "$cross_compiling" = yes; then
18545 # Depending upon the size, compute the lo and hi bounds.
18546 cat >conftest.
$ac_ext <<_ACEOF
18549 cat confdefs.h
>>conftest.
$ac_ext
18550 cat >>conftest.
$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18552 $ac_includes_default
18556 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18563 rm -f conftest.
$ac_objext
18564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18565 (eval $ac_compile) 2>conftest.er1
18567 grep -v '^ *+' conftest.er1
>conftest.err
18569 cat conftest.err
>&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); } &&
18572 { ac_try
='test -z "$ac_c_werror_flag"
18573 || test ! -s conftest.err'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; } &&
18579 { ac_try
='test -s conftest.$ac_objext'
18580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18581 (eval $ac_try) 2>&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); }; }; then
18587 cat >conftest.
$ac_ext <<_ACEOF
18590 cat confdefs.h
>>conftest.
$ac_ext
18591 cat >>conftest.
$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 $ac_includes_default
18597 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18604 rm -f conftest.
$ac_objext
18605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18606 (eval $ac_compile) 2>conftest.er1
18608 grep -v '^ *+' conftest.er1
>conftest.err
18610 cat conftest.err
>&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); } &&
18613 { ac_try
='test -z "$ac_c_werror_flag"
18614 || test ! -s conftest.err'
18615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18616 (eval $ac_try) 2>&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); }; } &&
18620 { ac_try
='test -s conftest.$ac_objext'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; }; then
18626 ac_hi
=$ac_mid; break
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.
$ac_ext >&5
18631 ac_lo
=`expr $ac_mid + 1`
18632 if test $ac_lo -le $ac_mid; then
18636 ac_mid
=`expr 2 '*' $ac_mid + 1`
18638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18641 echo "$as_me: failed program was:" >&5
18642 sed 's/^/| /' conftest.
$ac_ext >&5
18644 cat >conftest.
$ac_ext <<_ACEOF
18647 cat confdefs.h
>>conftest.
$ac_ext
18648 cat >>conftest.
$ac_ext <<_ACEOF
18649 /* end confdefs.h. */
18650 $ac_includes_default
18654 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18661 rm -f conftest.
$ac_objext
18662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18663 (eval $ac_compile) 2>conftest.er1
18665 grep -v '^ *+' conftest.er1
>conftest.err
18667 cat conftest.err
>&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); } &&
18670 { ac_try
='test -z "$ac_c_werror_flag"
18671 || test ! -s conftest.err'
18672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673 (eval $ac_try) 2>&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); }; } &&
18677 { ac_try
='test -s conftest.$ac_objext'
18678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18679 (eval $ac_try) 2>&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); }; }; then
18685 cat >conftest.
$ac_ext <<_ACEOF
18688 cat confdefs.h
>>conftest.
$ac_ext
18689 cat >>conftest.
$ac_ext <<_ACEOF
18690 /* end confdefs.h. */
18691 $ac_includes_default
18695 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18702 rm -f conftest.
$ac_objext
18703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18704 (eval $ac_compile) 2>conftest.er1
18706 grep -v '^ *+' conftest.er1
>conftest.err
18708 cat conftest.err
>&5
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); } &&
18711 { ac_try
='test -z "$ac_c_werror_flag"
18712 || test ! -s conftest.err'
18713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18714 (eval $ac_try) 2>&5
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); }; } &&
18718 { ac_try
='test -s conftest.$ac_objext'
18719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18720 (eval $ac_try) 2>&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); }; }; then
18724 ac_lo
=$ac_mid; break
18726 echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.
$ac_ext >&5
18729 ac_hi
=`expr '(' $ac_mid ')' - 1`
18730 if test $ac_mid -le $ac_hi; then
18734 ac_mid
=`expr 2 '*' $ac_mid`
18736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.
$ac_ext >&5
18744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18747 # Binary search between lo and hi bounds.
18748 while test "x$ac_lo" != "x$ac_hi"; do
18749 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18750 cat >conftest.
$ac_ext <<_ACEOF
18753 cat confdefs.h
>>conftest.
$ac_ext
18754 cat >>conftest.
$ac_ext <<_ACEOF
18755 /* end confdefs.h. */
18756 $ac_includes_default
18760 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18767 rm -f conftest.
$ac_objext
18768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18769 (eval $ac_compile) 2>conftest.er1
18771 grep -v '^ *+' conftest.er1
>conftest.err
18773 cat conftest.err
>&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); } &&
18776 { ac_try
='test -z "$ac_c_werror_flag"
18777 || test ! -s conftest.err'
18778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18779 (eval $ac_try) 2>&5
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); }; } &&
18783 { ac_try
='test -s conftest.$ac_objext'
18784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18785 (eval $ac_try) 2>&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); }; }; then
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.
$ac_ext >&5
18794 ac_lo
=`expr '(' $ac_mid ')' + 1`
18796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18799 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18800 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18801 See \`config.log' for more details." >&5
18802 echo "$as_me: error: cannot compute sizeof (long), 77
18803 See \`config.log' for more details." >&2;}
18804 { (exit 1); exit 1; }; } ;;
18807 if test "$cross_compiling" = yes; then
18808 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18809 See \`config.log' for more details." >&5
18810 echo "$as_me: error: cannot run test program while cross compiling
18811 See \`config.log' for more details." >&2;}
18812 { (exit 1); exit 1; }; }
18814 cat >conftest.
$ac_ext <<_ACEOF
18817 cat confdefs.h
>>conftest.
$ac_ext
18818 cat >>conftest.
$ac_ext <<_ACEOF
18819 /* end confdefs.h. */
18820 $ac_includes_default
18821 long longval () { return (long) (sizeof (long)); }
18822 unsigned long ulongval () { return (long) (sizeof (long)); }
18824 #include <stdlib.h>
18829 FILE *f = fopen ("conftest.val", "w");
18832 if (((long) (sizeof (long))) < 0)
18834 long i = longval ();
18835 if (i != ((long) (sizeof (long))))
18837 fprintf (f, "%ld\n", i);
18841 unsigned long i = ulongval ();
18842 if (i != ((long) (sizeof (long))))
18844 fprintf (f, "%lu\n", i);
18846 exit (ferror (f) || fclose (f) != 0);
18852 rm -f conftest
$ac_exeext
18853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18854 (eval $ac_link) 2>&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18859 (eval $ac_try) 2>&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); }; }; then
18863 ac_cv_sizeof_long
=`cat conftest.val`
18865 echo "$as_me: program exited with status $ac_status" >&5
18866 echo "$as_me: failed program was:" >&5
18867 sed 's/^/| /' conftest.
$ac_ext >&5
18869 ( exit $ac_status )
18870 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18871 See \`config.log' for more details." >&5
18872 echo "$as_me: error: cannot compute sizeof (long), 77
18873 See \`config.log' for more details." >&2;}
18874 { (exit 1); exit 1; }; }
18876 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18881 ac_cv_sizeof_long
=0
18884 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18885 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18886 cat >>confdefs.h
<<_ACEOF
18887 #define SIZEOF_LONG $ac_cv_sizeof_long
18891 echo "$as_me:$LINENO: checking for size_t" >&5
18892 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18893 if test "${ac_cv_type_size_t+set}" = set; then
18894 echo $ECHO_N "(cached) $ECHO_C" >&6
18896 cat >conftest.
$ac_ext <<_ACEOF
18899 cat confdefs.h
>>conftest.
$ac_ext
18900 cat >>conftest.
$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18902 $ac_includes_default
18908 if (sizeof (size_t))
18914 rm -f conftest.
$ac_objext
18915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18916 (eval $ac_compile) 2>conftest.er1
18918 grep -v '^ *+' conftest.er1
>conftest.err
18920 cat conftest.err
>&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); } &&
18923 { ac_try
='test -z "$ac_c_werror_flag"
18924 || test ! -s conftest.err'
18925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926 (eval $ac_try) 2>&5
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); }; } &&
18930 { ac_try
='test -s conftest.$ac_objext'
18931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18932 (eval $ac_try) 2>&5
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); }; }; then
18936 ac_cv_type_size_t
=yes
18938 echo "$as_me: failed program was:" >&5
18939 sed 's/^/| /' conftest.
$ac_ext >&5
18941 ac_cv_type_size_t
=no
18943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18945 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18946 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18948 echo "$as_me:$LINENO: checking size of size_t" >&5
18949 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18950 if test "${ac_cv_sizeof_size_t+set}" = set; then
18951 echo $ECHO_N "(cached) $ECHO_C" >&6
18953 if test "$ac_cv_type_size_t" = yes; then
18954 # The cast to unsigned long works around a bug in the HP C Compiler
18955 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18956 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18957 # This bug is HP SR number 8606223364.
18958 if test "$cross_compiling" = yes; then
18959 # Depending upon the size, compute the lo and hi bounds.
18960 cat >conftest.
$ac_ext <<_ACEOF
18963 cat confdefs.h
>>conftest.
$ac_ext
18964 cat >>conftest.
$ac_ext <<_ACEOF
18965 /* end confdefs.h. */
18966 $ac_includes_default
18970 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18977 rm -f conftest.
$ac_objext
18978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18979 (eval $ac_compile) 2>conftest.er1
18981 grep -v '^ *+' conftest.er1
>conftest.err
18983 cat conftest.err
>&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); } &&
18986 { ac_try
='test -z "$ac_c_werror_flag"
18987 || test ! -s conftest.err'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; } &&
18993 { ac_try
='test -s conftest.$ac_objext'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; }; then
19001 cat >conftest.
$ac_ext <<_ACEOF
19004 cat confdefs.h
>>conftest.
$ac_ext
19005 cat >>conftest.
$ac_ext <<_ACEOF
19006 /* end confdefs.h. */
19007 $ac_includes_default
19011 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19018 rm -f conftest.
$ac_objext
19019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19020 (eval $ac_compile) 2>conftest.er1
19022 grep -v '^ *+' conftest.er1
>conftest.err
19024 cat conftest.err
>&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); } &&
19027 { ac_try
='test -z "$ac_c_werror_flag"
19028 || test ! -s conftest.err'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030 (eval $ac_try) 2>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; } &&
19034 { ac_try
='test -s conftest.$ac_objext'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; }; then
19040 ac_hi
=$ac_mid; break
19042 echo "$as_me: failed program was:" >&5
19043 sed 's/^/| /' conftest.
$ac_ext >&5
19045 ac_lo
=`expr $ac_mid + 1`
19046 if test $ac_lo -le $ac_mid; then
19050 ac_mid
=`expr 2 '*' $ac_mid + 1`
19052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19055 echo "$as_me: failed program was:" >&5
19056 sed 's/^/| /' conftest.
$ac_ext >&5
19058 cat >conftest.
$ac_ext <<_ACEOF
19061 cat confdefs.h
>>conftest.
$ac_ext
19062 cat >>conftest.
$ac_ext <<_ACEOF
19063 /* end confdefs.h. */
19064 $ac_includes_default
19068 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19075 rm -f conftest.
$ac_objext
19076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19077 (eval $ac_compile) 2>conftest.er1
19079 grep -v '^ *+' conftest.er1
>conftest.err
19081 cat conftest.err
>&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); } &&
19084 { ac_try
='test -z "$ac_c_werror_flag"
19085 || test ! -s conftest.err'
19086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19087 (eval $ac_try) 2>&5
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); }; } &&
19091 { ac_try
='test -s conftest.$ac_objext'
19092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 (eval $ac_try) 2>&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); }; }; then
19099 cat >conftest.
$ac_ext <<_ACEOF
19102 cat confdefs.h
>>conftest.
$ac_ext
19103 cat >>conftest.
$ac_ext <<_ACEOF
19104 /* end confdefs.h. */
19105 $ac_includes_default
19109 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19116 rm -f conftest.
$ac_objext
19117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19118 (eval $ac_compile) 2>conftest.er1
19120 grep -v '^ *+' conftest.er1
>conftest.err
19122 cat conftest.err
>&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); } &&
19125 { ac_try
='test -z "$ac_c_werror_flag"
19126 || test ! -s conftest.err'
19127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19128 (eval $ac_try) 2>&5
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); }; } &&
19132 { ac_try
='test -s conftest.$ac_objext'
19133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19134 (eval $ac_try) 2>&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); }; }; then
19138 ac_lo
=$ac_mid; break
19140 echo "$as_me: failed program was:" >&5
19141 sed 's/^/| /' conftest.
$ac_ext >&5
19143 ac_hi
=`expr '(' $ac_mid ')' - 1`
19144 if test $ac_mid -le $ac_hi; then
19148 ac_mid
=`expr 2 '*' $ac_mid`
19150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.
$ac_ext >&5
19158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19161 # Binary search between lo and hi bounds.
19162 while test "x$ac_lo" != "x$ac_hi"; do
19163 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19164 cat >conftest.
$ac_ext <<_ACEOF
19167 cat confdefs.h
>>conftest.
$ac_ext
19168 cat >>conftest.
$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19170 $ac_includes_default
19174 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19181 rm -f conftest.
$ac_objext
19182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19183 (eval $ac_compile) 2>conftest.er1
19185 grep -v '^ *+' conftest.er1
>conftest.err
19187 cat conftest.err
>&5
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); } &&
19190 { ac_try
='test -z "$ac_c_werror_flag"
19191 || test ! -s conftest.err'
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); }; } &&
19197 { ac_try
='test -s conftest.$ac_objext'
19198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199 (eval $ac_try) 2>&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); }; }; then
19205 echo "$as_me: failed program was:" >&5
19206 sed 's/^/| /' conftest.
$ac_ext >&5
19208 ac_lo
=`expr '(' $ac_mid ')' + 1`
19210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19213 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19214 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19215 See \`config.log' for more details." >&5
19216 echo "$as_me: error: cannot compute sizeof (size_t), 77
19217 See \`config.log' for more details." >&2;}
19218 { (exit 1); exit 1; }; } ;;
19221 if test "$cross_compiling" = yes; then
19222 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19223 See \`config.log' for more details." >&5
19224 echo "$as_me: error: cannot run test program while cross compiling
19225 See \`config.log' for more details." >&2;}
19226 { (exit 1); exit 1; }; }
19228 cat >conftest.
$ac_ext <<_ACEOF
19231 cat confdefs.h
>>conftest.
$ac_ext
19232 cat >>conftest.
$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19234 $ac_includes_default
19235 long longval () { return (long) (sizeof (size_t)); }
19236 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19238 #include <stdlib.h>
19243 FILE *f = fopen ("conftest.val", "w");
19246 if (((long) (sizeof (size_t))) < 0)
19248 long i = longval ();
19249 if (i != ((long) (sizeof (size_t))))
19251 fprintf (f, "%ld\n", i);
19255 unsigned long i = ulongval ();
19256 if (i != ((long) (sizeof (size_t))))
19258 fprintf (f, "%lu\n", i);
19260 exit (ferror (f) || fclose (f) != 0);
19266 rm -f conftest
$ac_exeext
19267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19268 (eval $ac_link) 2>&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19273 (eval $ac_try) 2>&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); }; }; then
19277 ac_cv_sizeof_size_t
=`cat conftest.val`
19279 echo "$as_me: program exited with status $ac_status" >&5
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.
$ac_ext >&5
19283 ( exit $ac_status )
19284 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19285 See \`config.log' for more details." >&5
19286 echo "$as_me: error: cannot compute sizeof (size_t), 77
19287 See \`config.log' for more details." >&2;}
19288 { (exit 1); exit 1; }; }
19290 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19295 ac_cv_sizeof_size_t
=0
19298 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19299 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19300 cat >>confdefs.h
<<_ACEOF
19301 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19308 echo "$as_me:$LINENO: checking for long long" >&5
19309 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19310 if test "${ac_cv_type_long_long+set}" = set; then
19311 echo $ECHO_N "(cached) $ECHO_C" >&6
19313 cat >conftest.
$ac_ext <<_ACEOF
19316 cat confdefs.h
>>conftest.
$ac_ext
19317 cat >>conftest.
$ac_ext <<_ACEOF
19318 /* end confdefs.h. */
19319 $ac_includes_default
19323 if ((long long *) 0)
19325 if (sizeof (long long))
19331 rm -f conftest.
$ac_objext
19332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19333 (eval $ac_compile) 2>conftest.er1
19335 grep -v '^ *+' conftest.er1
>conftest.err
19337 cat conftest.err
>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } &&
19340 { ac_try
='test -z "$ac_c_werror_flag"
19341 || test ! -s conftest.err'
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); }; } &&
19347 { ac_try
='test -s conftest.$ac_objext'
19348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19349 (eval $ac_try) 2>&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); }; }; then
19353 ac_cv_type_long_long
=yes
19355 echo "$as_me: failed program was:" >&5
19356 sed 's/^/| /' conftest.
$ac_ext >&5
19358 ac_cv_type_long_long
=no
19360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19362 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19363 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19365 echo "$as_me:$LINENO: checking size of long long" >&5
19366 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19367 if test "${ac_cv_sizeof_long_long+set}" = set; then
19368 echo $ECHO_N "(cached) $ECHO_C" >&6
19370 if test "$ac_cv_type_long_long" = yes; then
19371 # The cast to unsigned long works around a bug in the HP C Compiler
19372 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19373 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19374 # This bug is HP SR number 8606223364.
19375 if test "$cross_compiling" = yes; then
19376 # Depending upon the size, compute the lo and hi bounds.
19377 cat >conftest.
$ac_ext <<_ACEOF
19380 cat confdefs.h
>>conftest.
$ac_ext
19381 cat >>conftest.
$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 $ac_includes_default
19387 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19394 rm -f conftest.
$ac_objext
19395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19396 (eval $ac_compile) 2>conftest.er1
19398 grep -v '^ *+' conftest.er1
>conftest.err
19400 cat conftest.err
>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } &&
19403 { ac_try
='test -z "$ac_c_werror_flag"
19404 || test ! -s conftest.err'
19405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406 (eval $ac_try) 2>&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); }; } &&
19410 { ac_try
='test -s conftest.$ac_objext'
19411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412 (eval $ac_try) 2>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; }; then
19418 cat >conftest.
$ac_ext <<_ACEOF
19421 cat confdefs.h
>>conftest.
$ac_ext
19422 cat >>conftest.
$ac_ext <<_ACEOF
19423 /* end confdefs.h. */
19424 $ac_includes_default
19428 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19435 rm -f conftest.
$ac_objext
19436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19437 (eval $ac_compile) 2>conftest.er1
19439 grep -v '^ *+' conftest.er1
>conftest.err
19441 cat conftest.err
>&5
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); } &&
19444 { ac_try
='test -z "$ac_c_werror_flag"
19445 || test ! -s conftest.err'
19446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19447 (eval $ac_try) 2>&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); }; } &&
19451 { ac_try
='test -s conftest.$ac_objext'
19452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19453 (eval $ac_try) 2>&5
19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); }; }; then
19457 ac_hi
=$ac_mid; break
19459 echo "$as_me: failed program was:" >&5
19460 sed 's/^/| /' conftest.
$ac_ext >&5
19462 ac_lo
=`expr $ac_mid + 1`
19463 if test $ac_lo -le $ac_mid; then
19467 ac_mid
=`expr 2 '*' $ac_mid + 1`
19469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19472 echo "$as_me: failed program was:" >&5
19473 sed 's/^/| /' conftest.
$ac_ext >&5
19475 cat >conftest.
$ac_ext <<_ACEOF
19478 cat confdefs.h
>>conftest.
$ac_ext
19479 cat >>conftest.
$ac_ext <<_ACEOF
19480 /* end confdefs.h. */
19481 $ac_includes_default
19485 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19492 rm -f conftest.
$ac_objext
19493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19494 (eval $ac_compile) 2>conftest.er1
19496 grep -v '^ *+' conftest.er1
>conftest.err
19498 cat conftest.err
>&5
19499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19500 (exit $ac_status); } &&
19501 { ac_try
='test -z "$ac_c_werror_flag"
19502 || test ! -s conftest.err'
19503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19504 (eval $ac_try) 2>&5
19506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507 (exit $ac_status); }; } &&
19508 { ac_try
='test -s conftest.$ac_objext'
19509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19510 (eval $ac_try) 2>&5
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513 (exit $ac_status); }; }; then
19516 cat >conftest.
$ac_ext <<_ACEOF
19519 cat confdefs.h
>>conftest.
$ac_ext
19520 cat >>conftest.
$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522 $ac_includes_default
19526 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19533 rm -f conftest.
$ac_objext
19534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19535 (eval $ac_compile) 2>conftest.er1
19537 grep -v '^ *+' conftest.er1
>conftest.err
19539 cat conftest.err
>&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); } &&
19542 { ac_try
='test -z "$ac_c_werror_flag"
19543 || test ! -s conftest.err'
19544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19545 (eval $ac_try) 2>&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); }; } &&
19549 { ac_try
='test -s conftest.$ac_objext'
19550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19551 (eval $ac_try) 2>&5
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); }; }; then
19555 ac_lo
=$ac_mid; break
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.
$ac_ext >&5
19560 ac_hi
=`expr '(' $ac_mid ')' - 1`
19561 if test $ac_mid -le $ac_hi; then
19565 ac_mid
=`expr 2 '*' $ac_mid`
19567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19570 echo "$as_me: failed program was:" >&5
19571 sed 's/^/| /' conftest.
$ac_ext >&5
19575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19578 # Binary search between lo and hi bounds.
19579 while test "x$ac_lo" != "x$ac_hi"; do
19580 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19581 cat >conftest.
$ac_ext <<_ACEOF
19584 cat confdefs.h
>>conftest.
$ac_ext
19585 cat >>conftest.
$ac_ext <<_ACEOF
19586 /* end confdefs.h. */
19587 $ac_includes_default
19591 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19598 rm -f conftest.
$ac_objext
19599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19600 (eval $ac_compile) 2>conftest.er1
19602 grep -v '^ *+' conftest.er1
>conftest.err
19604 cat conftest.err
>&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); } &&
19607 { ac_try
='test -z "$ac_c_werror_flag"
19608 || test ! -s conftest.err'
19609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19610 (eval $ac_try) 2>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; } &&
19614 { ac_try
='test -s conftest.$ac_objext'
19615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616 (eval $ac_try) 2>&5
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); }; }; then
19622 echo "$as_me: failed program was:" >&5
19623 sed 's/^/| /' conftest.
$ac_ext >&5
19625 ac_lo
=`expr '(' $ac_mid ')' + 1`
19627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19630 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19631 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19632 See \`config.log' for more details." >&5
19633 echo "$as_me: error: cannot compute sizeof (long long), 77
19634 See \`config.log' for more details." >&2;}
19635 { (exit 1); exit 1; }; } ;;
19638 if test "$cross_compiling" = yes; then
19639 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19640 See \`config.log' for more details." >&5
19641 echo "$as_me: error: cannot run test program while cross compiling
19642 See \`config.log' for more details." >&2;}
19643 { (exit 1); exit 1; }; }
19645 cat >conftest.
$ac_ext <<_ACEOF
19648 cat confdefs.h
>>conftest.
$ac_ext
19649 cat >>conftest.
$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19651 $ac_includes_default
19652 long longval () { return (long) (sizeof (long long)); }
19653 unsigned long ulongval () { return (long) (sizeof (long long)); }
19655 #include <stdlib.h>
19660 FILE *f = fopen ("conftest.val", "w");
19663 if (((long) (sizeof (long long))) < 0)
19665 long i = longval ();
19666 if (i != ((long) (sizeof (long long))))
19668 fprintf (f, "%ld\n", i);
19672 unsigned long i = ulongval ();
19673 if (i != ((long) (sizeof (long long))))
19675 fprintf (f, "%lu\n", i);
19677 exit (ferror (f) || fclose (f) != 0);
19683 rm -f conftest
$ac_exeext
19684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19685 (eval $ac_link) 2>&5
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19690 (eval $ac_try) 2>&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); }; }; then
19694 ac_cv_sizeof_long_long
=`cat conftest.val`
19696 echo "$as_me: program exited with status $ac_status" >&5
19697 echo "$as_me: failed program was:" >&5
19698 sed 's/^/| /' conftest.
$ac_ext >&5
19700 ( exit $ac_status )
19701 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19702 See \`config.log' for more details." >&5
19703 echo "$as_me: error: cannot compute sizeof (long long), 77
19704 See \`config.log' for more details." >&2;}
19705 { (exit 1); exit 1; }; }
19707 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19712 ac_cv_sizeof_long_long
=0
19715 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19716 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19717 cat >>confdefs.h
<<_ACEOF
19718 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19724 echo "$as_me:$LINENO: checking for long long" >&5
19725 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19726 if test "${ac_cv_type_long_long+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19729 cat >conftest.
$ac_ext <<_ACEOF
19732 cat confdefs.h
>>conftest.
$ac_ext
19733 cat >>conftest.
$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 $ac_includes_default
19739 if ((long long *) 0)
19741 if (sizeof (long long))
19747 rm -f conftest.
$ac_objext
19748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19749 (eval $ac_compile) 2>conftest.er1
19751 grep -v '^ *+' conftest.er1
>conftest.err
19753 cat conftest.err
>&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); } &&
19756 { ac_try
='test -z "$ac_c_werror_flag"
19757 || test ! -s conftest.err'
19758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19759 (eval $ac_try) 2>&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); }; } &&
19763 { ac_try
='test -s conftest.$ac_objext'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; }; then
19769 ac_cv_type_long_long
=yes
19771 echo "$as_me: failed program was:" >&5
19772 sed 's/^/| /' conftest.
$ac_ext >&5
19774 ac_cv_type_long_long
=no
19776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19778 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19779 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19781 echo "$as_me:$LINENO: checking size of long long" >&5
19782 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19783 if test "${ac_cv_sizeof_long_long+set}" = set; then
19784 echo $ECHO_N "(cached) $ECHO_C" >&6
19786 if test "$ac_cv_type_long_long" = yes; then
19787 # The cast to unsigned long works around a bug in the HP C Compiler
19788 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19789 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19790 # This bug is HP SR number 8606223364.
19791 if test "$cross_compiling" = yes; then
19792 # Depending upon the size, compute the lo and hi bounds.
19793 cat >conftest.
$ac_ext <<_ACEOF
19796 cat confdefs.h
>>conftest.
$ac_ext
19797 cat >>conftest.
$ac_ext <<_ACEOF
19798 /* end confdefs.h. */
19799 $ac_includes_default
19803 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19810 rm -f conftest.
$ac_objext
19811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19812 (eval $ac_compile) 2>conftest.er1
19814 grep -v '^ *+' conftest.er1
>conftest.err
19816 cat conftest.err
>&5
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); } &&
19819 { ac_try
='test -z "$ac_c_werror_flag"
19820 || test ! -s conftest.err'
19821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19822 (eval $ac_try) 2>&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); }; } &&
19826 { ac_try
='test -s conftest.$ac_objext'
19827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19828 (eval $ac_try) 2>&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); }; }; then
19834 cat >conftest.
$ac_ext <<_ACEOF
19837 cat confdefs.h
>>conftest.
$ac_ext
19838 cat >>conftest.
$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 $ac_includes_default
19844 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19851 rm -f conftest.
$ac_objext
19852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19853 (eval $ac_compile) 2>conftest.er1
19855 grep -v '^ *+' conftest.er1
>conftest.err
19857 cat conftest.err
>&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } &&
19860 { ac_try
='test -z "$ac_c_werror_flag"
19861 || test ! -s conftest.err'
19862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19863 (eval $ac_try) 2>&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); }; } &&
19867 { ac_try
='test -s conftest.$ac_objext'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; }; then
19873 ac_hi
=$ac_mid; break
19875 echo "$as_me: failed program was:" >&5
19876 sed 's/^/| /' conftest.
$ac_ext >&5
19878 ac_lo
=`expr $ac_mid + 1`
19879 if test $ac_lo -le $ac_mid; then
19883 ac_mid
=`expr 2 '*' $ac_mid + 1`
19885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19888 echo "$as_me: failed program was:" >&5
19889 sed 's/^/| /' conftest.
$ac_ext >&5
19891 cat >conftest.
$ac_ext <<_ACEOF
19894 cat confdefs.h
>>conftest.
$ac_ext
19895 cat >>conftest.
$ac_ext <<_ACEOF
19896 /* end confdefs.h. */
19897 $ac_includes_default
19901 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19908 rm -f conftest.
$ac_objext
19909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19910 (eval $ac_compile) 2>conftest.er1
19912 grep -v '^ *+' conftest.er1
>conftest.err
19914 cat conftest.err
>&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); } &&
19917 { ac_try
='test -z "$ac_c_werror_flag"
19918 || test ! -s conftest.err'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; } &&
19924 { ac_try
='test -s conftest.$ac_objext'
19925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19926 (eval $ac_try) 2>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); }; }; then
19932 cat >conftest.
$ac_ext <<_ACEOF
19935 cat confdefs.h
>>conftest.
$ac_ext
19936 cat >>conftest.
$ac_ext <<_ACEOF
19937 /* end confdefs.h. */
19938 $ac_includes_default
19942 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19949 rm -f conftest.
$ac_objext
19950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19951 (eval $ac_compile) 2>conftest.er1
19953 grep -v '^ *+' conftest.er1
>conftest.err
19955 cat conftest.err
>&5
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); } &&
19958 { ac_try
='test -z "$ac_c_werror_flag"
19959 || test ! -s conftest.err'
19960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19961 (eval $ac_try) 2>&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); }; } &&
19965 { ac_try
='test -s conftest.$ac_objext'
19966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19967 (eval $ac_try) 2>&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); }; }; then
19971 ac_lo
=$ac_mid; break
19973 echo "$as_me: failed program was:" >&5
19974 sed 's/^/| /' conftest.
$ac_ext >&5
19976 ac_hi
=`expr '(' $ac_mid ')' - 1`
19977 if test $ac_mid -le $ac_hi; then
19981 ac_mid
=`expr 2 '*' $ac_mid`
19983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.
$ac_ext >&5
19991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19994 # Binary search between lo and hi bounds.
19995 while test "x$ac_lo" != "x$ac_hi"; do
19996 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19997 cat >conftest.
$ac_ext <<_ACEOF
20000 cat confdefs.h
>>conftest.
$ac_ext
20001 cat >>conftest.
$ac_ext <<_ACEOF
20002 /* end confdefs.h. */
20003 $ac_includes_default
20007 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20014 rm -f conftest.
$ac_objext
20015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20016 (eval $ac_compile) 2>conftest.er1
20018 grep -v '^ *+' conftest.er1
>conftest.err
20020 cat conftest.err
>&5
20021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022 (exit $ac_status); } &&
20023 { ac_try
='test -z "$ac_c_werror_flag"
20024 || test ! -s conftest.err'
20025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20026 (eval $ac_try) 2>&5
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); }; } &&
20030 { ac_try
='test -s conftest.$ac_objext'
20031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20032 (eval $ac_try) 2>&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); }; }; then
20038 echo "$as_me: failed program was:" >&5
20039 sed 's/^/| /' conftest.
$ac_ext >&5
20041 ac_lo
=`expr '(' $ac_mid ')' + 1`
20043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20046 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20047 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20048 See \`config.log' for more details." >&5
20049 echo "$as_me: error: cannot compute sizeof (long long), 77
20050 See \`config.log' for more details." >&2;}
20051 { (exit 1); exit 1; }; } ;;
20054 if test "$cross_compiling" = yes; then
20055 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20056 See \`config.log' for more details." >&5
20057 echo "$as_me: error: cannot run test program while cross compiling
20058 See \`config.log' for more details." >&2;}
20059 { (exit 1); exit 1; }; }
20061 cat >conftest.
$ac_ext <<_ACEOF
20064 cat confdefs.h
>>conftest.
$ac_ext
20065 cat >>conftest.
$ac_ext <<_ACEOF
20066 /* end confdefs.h. */
20067 $ac_includes_default
20068 long longval () { return (long) (sizeof (long long)); }
20069 unsigned long ulongval () { return (long) (sizeof (long long)); }
20071 #include <stdlib.h>
20076 FILE *f = fopen ("conftest.val", "w");
20079 if (((long) (sizeof (long long))) < 0)
20081 long i = longval ();
20082 if (i != ((long) (sizeof (long long))))
20084 fprintf (f, "%ld\n", i);
20088 unsigned long i = ulongval ();
20089 if (i != ((long) (sizeof (long long))))
20091 fprintf (f, "%lu\n", i);
20093 exit (ferror (f) || fclose (f) != 0);
20099 rm -f conftest
$ac_exeext
20100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20101 (eval $ac_link) 2>&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20106 (eval $ac_try) 2>&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); }; }; then
20110 ac_cv_sizeof_long_long
=`cat conftest.val`
20112 echo "$as_me: program exited with status $ac_status" >&5
20113 echo "$as_me: failed program was:" >&5
20114 sed 's/^/| /' conftest.
$ac_ext >&5
20116 ( exit $ac_status )
20117 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20118 See \`config.log' for more details." >&5
20119 echo "$as_me: error: cannot compute sizeof (long long), 77
20120 See \`config.log' for more details." >&2;}
20121 { (exit 1); exit 1; }; }
20123 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20128 ac_cv_sizeof_long_long
=0
20131 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20132 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20133 cat >>confdefs.h
<<_ACEOF
20134 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20138 if test "$ac_cv_sizeof_long_long" != "0"; then
20139 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20143 echo "$as_me:$LINENO: checking for long long" >&5
20144 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20145 if test "${ac_cv_type_long_long+set}" = set; then
20146 echo $ECHO_N "(cached) $ECHO_C" >&6
20148 cat >conftest.
$ac_ext <<_ACEOF
20151 cat confdefs.h
>>conftest.
$ac_ext
20152 cat >>conftest.
$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20154 $ac_includes_default
20158 if ((long long *) 0)
20160 if (sizeof (long long))
20166 rm -f conftest.
$ac_objext
20167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20168 (eval $ac_compile) 2>conftest.er1
20170 grep -v '^ *+' conftest.er1
>conftest.err
20172 cat conftest.err
>&5
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); } &&
20175 { ac_try
='test -z "$ac_c_werror_flag"
20176 || test ! -s conftest.err'
20177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20178 (eval $ac_try) 2>&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); }; } &&
20182 { ac_try
='test -s conftest.$ac_objext'
20183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184 (eval $ac_try) 2>&5
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); }; }; then
20188 ac_cv_type_long_long
=yes
20190 echo "$as_me: failed program was:" >&5
20191 sed 's/^/| /' conftest.
$ac_ext >&5
20193 ac_cv_type_long_long
=no
20195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20197 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20198 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20200 echo "$as_me:$LINENO: checking size of long long" >&5
20201 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20202 if test "${ac_cv_sizeof_long_long+set}" = set; then
20203 echo $ECHO_N "(cached) $ECHO_C" >&6
20205 if test "$ac_cv_type_long_long" = yes; then
20206 # The cast to unsigned long works around a bug in the HP C Compiler
20207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20208 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20209 # This bug is HP SR number 8606223364.
20210 if test "$cross_compiling" = yes; then
20211 # Depending upon the size, compute the lo and hi bounds.
20212 cat >conftest.
$ac_ext <<_ACEOF
20215 cat confdefs.h
>>conftest.
$ac_ext
20216 cat >>conftest.
$ac_ext <<_ACEOF
20217 /* end confdefs.h. */
20218 $ac_includes_default
20222 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20229 rm -f conftest.
$ac_objext
20230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20231 (eval $ac_compile) 2>conftest.er1
20233 grep -v '^ *+' conftest.er1
>conftest.err
20235 cat conftest.err
>&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); } &&
20238 { ac_try
='test -z "$ac_c_werror_flag"
20239 || test ! -s conftest.err'
20240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20241 (eval $ac_try) 2>&5
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); }; } &&
20245 { ac_try
='test -s conftest.$ac_objext'
20246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20247 (eval $ac_try) 2>&5
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); }; }; then
20253 cat >conftest.
$ac_ext <<_ACEOF
20256 cat confdefs.h
>>conftest.
$ac_ext
20257 cat >>conftest.
$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20259 $ac_includes_default
20263 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20270 rm -f conftest.
$ac_objext
20271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20272 (eval $ac_compile) 2>conftest.er1
20274 grep -v '^ *+' conftest.er1
>conftest.err
20276 cat conftest.err
>&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); } &&
20279 { ac_try
='test -z "$ac_c_werror_flag"
20280 || test ! -s conftest.err'
20281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282 (eval $ac_try) 2>&5
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); }; } &&
20286 { ac_try
='test -s conftest.$ac_objext'
20287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20288 (eval $ac_try) 2>&5
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); }; }; then
20292 ac_hi
=$ac_mid; break
20294 echo "$as_me: failed program was:" >&5
20295 sed 's/^/| /' conftest.
$ac_ext >&5
20297 ac_lo
=`expr $ac_mid + 1`
20298 if test $ac_lo -le $ac_mid; then
20302 ac_mid
=`expr 2 '*' $ac_mid + 1`
20304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20307 echo "$as_me: failed program was:" >&5
20308 sed 's/^/| /' conftest.
$ac_ext >&5
20310 cat >conftest.
$ac_ext <<_ACEOF
20313 cat confdefs.h
>>conftest.
$ac_ext
20314 cat >>conftest.
$ac_ext <<_ACEOF
20315 /* end confdefs.h. */
20316 $ac_includes_default
20320 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20327 rm -f conftest.
$ac_objext
20328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20329 (eval $ac_compile) 2>conftest.er1
20331 grep -v '^ *+' conftest.er1
>conftest.err
20333 cat conftest.err
>&5
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); } &&
20336 { ac_try
='test -z "$ac_c_werror_flag"
20337 || test ! -s conftest.err'
20338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20339 (eval $ac_try) 2>&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); }; } &&
20343 { ac_try
='test -s conftest.$ac_objext'
20344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20345 (eval $ac_try) 2>&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); }; }; then
20351 cat >conftest.
$ac_ext <<_ACEOF
20354 cat confdefs.h
>>conftest.
$ac_ext
20355 cat >>conftest.
$ac_ext <<_ACEOF
20356 /* end confdefs.h. */
20357 $ac_includes_default
20361 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20368 rm -f conftest.
$ac_objext
20369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20370 (eval $ac_compile) 2>conftest.er1
20372 grep -v '^ *+' conftest.er1
>conftest.err
20374 cat conftest.err
>&5
20375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20376 (exit $ac_status); } &&
20377 { ac_try
='test -z "$ac_c_werror_flag"
20378 || test ! -s conftest.err'
20379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20380 (eval $ac_try) 2>&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); }; } &&
20384 { ac_try
='test -s conftest.$ac_objext'
20385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20386 (eval $ac_try) 2>&5
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); }; }; then
20390 ac_lo
=$ac_mid; break
20392 echo "$as_me: failed program was:" >&5
20393 sed 's/^/| /' conftest.
$ac_ext >&5
20395 ac_hi
=`expr '(' $ac_mid ')' - 1`
20396 if test $ac_mid -le $ac_hi; then
20400 ac_mid
=`expr 2 '*' $ac_mid`
20402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20405 echo "$as_me: failed program was:" >&5
20406 sed 's/^/| /' conftest.
$ac_ext >&5
20410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20413 # Binary search between lo and hi bounds.
20414 while test "x$ac_lo" != "x$ac_hi"; do
20415 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20416 cat >conftest.
$ac_ext <<_ACEOF
20419 cat confdefs.h
>>conftest.
$ac_ext
20420 cat >>conftest.
$ac_ext <<_ACEOF
20421 /* end confdefs.h. */
20422 $ac_includes_default
20426 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20433 rm -f conftest.
$ac_objext
20434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20435 (eval $ac_compile) 2>conftest.er1
20437 grep -v '^ *+' conftest.er1
>conftest.err
20439 cat conftest.err
>&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); } &&
20442 { ac_try
='test -z "$ac_c_werror_flag"
20443 || test ! -s conftest.err'
20444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20445 (eval $ac_try) 2>&5
20447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448 (exit $ac_status); }; } &&
20449 { ac_try
='test -s conftest.$ac_objext'
20450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20451 (eval $ac_try) 2>&5
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); }; }; then
20457 echo "$as_me: failed program was:" >&5
20458 sed 's/^/| /' conftest.
$ac_ext >&5
20460 ac_lo
=`expr '(' $ac_mid ')' + 1`
20462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20465 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20466 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20467 See \`config.log' for more details." >&5
20468 echo "$as_me: error: cannot compute sizeof (long long), 77
20469 See \`config.log' for more details." >&2;}
20470 { (exit 1); exit 1; }; } ;;
20473 if test "$cross_compiling" = yes; then
20474 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20475 See \`config.log' for more details." >&5
20476 echo "$as_me: error: cannot run test program while cross compiling
20477 See \`config.log' for more details." >&2;}
20478 { (exit 1); exit 1; }; }
20480 cat >conftest.
$ac_ext <<_ACEOF
20483 cat confdefs.h
>>conftest.
$ac_ext
20484 cat >>conftest.
$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486 $ac_includes_default
20487 long longval () { return (long) (sizeof (long long)); }
20488 unsigned long ulongval () { return (long) (sizeof (long long)); }
20490 #include <stdlib.h>
20495 FILE *f = fopen ("conftest.val", "w");
20498 if (((long) (sizeof (long long))) < 0)
20500 long i = longval ();
20501 if (i != ((long) (sizeof (long long))))
20503 fprintf (f, "%ld\n", i);
20507 unsigned long i = ulongval ();
20508 if (i != ((long) (sizeof (long long))))
20510 fprintf (f, "%lu\n", i);
20512 exit (ferror (f) || fclose (f) != 0);
20518 rm -f conftest
$ac_exeext
20519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20520 (eval $ac_link) 2>&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20525 (eval $ac_try) 2>&5
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); }; }; then
20529 ac_cv_sizeof_long_long
=`cat conftest.val`
20531 echo "$as_me: program exited with status $ac_status" >&5
20532 echo "$as_me: failed program was:" >&5
20533 sed 's/^/| /' conftest.
$ac_ext >&5
20535 ( exit $ac_status )
20536 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20537 See \`config.log' for more details." >&5
20538 echo "$as_me: error: cannot compute sizeof (long long), 77
20539 See \`config.log' for more details." >&2;}
20540 { (exit 1); exit 1; }; }
20542 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20547 ac_cv_sizeof_long_long
=0
20550 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20551 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20552 cat >>confdefs.h
<<_ACEOF
20553 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20559 echo "$as_me:$LINENO: checking for wchar_t" >&5
20560 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20561 if test "${ac_cv_type_wchar_t+set}" = set; then
20562 echo $ECHO_N "(cached) $ECHO_C" >&6
20564 cat >conftest.
$ac_ext <<_ACEOF
20567 cat confdefs.h
>>conftest.
$ac_ext
20568 cat >>conftest.
$ac_ext <<_ACEOF
20569 /* end confdefs.h. */
20571 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20572 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20573 # error "fake wchar_t"
20575 #ifdef HAVE_WCHAR_H
20577 # include <stddef.h>
20579 # include <wchar.h>
20581 #ifdef HAVE_STDLIB_H
20582 # include <stdlib.h>
20593 if (sizeof (wchar_t))
20599 rm -f conftest.
$ac_objext
20600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20601 (eval $ac_compile) 2>conftest.er1
20603 grep -v '^ *+' conftest.er1
>conftest.err
20605 cat conftest.err
>&5
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); } &&
20608 { ac_try
='test -z "$ac_c_werror_flag"
20609 || test ! -s conftest.err'
20610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20611 (eval $ac_try) 2>&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); }; } &&
20615 { ac_try
='test -s conftest.$ac_objext'
20616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20617 (eval $ac_try) 2>&5
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; }; then
20621 ac_cv_type_wchar_t
=yes
20623 echo "$as_me: failed program was:" >&5
20624 sed 's/^/| /' conftest.
$ac_ext >&5
20626 ac_cv_type_wchar_t
=no
20628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20630 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20631 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20633 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20634 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20635 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20636 echo $ECHO_N "(cached) $ECHO_C" >&6
20638 if test "$ac_cv_type_wchar_t" = yes; then
20639 # The cast to unsigned long works around a bug in the HP C Compiler
20640 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20641 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20642 # This bug is HP SR number 8606223364.
20643 if test "$cross_compiling" = yes; then
20644 # Depending upon the size, compute the lo and hi bounds.
20645 cat >conftest.
$ac_ext <<_ACEOF
20648 cat confdefs.h
>>conftest.
$ac_ext
20649 cat >>conftest.
$ac_ext <<_ACEOF
20650 /* end confdefs.h. */
20652 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20653 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20654 # error "fake wchar_t"
20656 #ifdef HAVE_WCHAR_H
20658 # include <stddef.h>
20660 # include <wchar.h>
20662 #ifdef HAVE_STDLIB_H
20663 # include <stdlib.h>
20672 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20679 rm -f conftest.
$ac_objext
20680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20681 (eval $ac_compile) 2>conftest.er1
20683 grep -v '^ *+' conftest.er1
>conftest.err
20685 cat conftest.err
>&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); } &&
20688 { ac_try
='test -z "$ac_c_werror_flag"
20689 || test ! -s conftest.err'
20690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20691 (eval $ac_try) 2>&5
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); }; } &&
20695 { ac_try
='test -s conftest.$ac_objext'
20696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20697 (eval $ac_try) 2>&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); }; }; then
20703 cat >conftest.
$ac_ext <<_ACEOF
20706 cat confdefs.h
>>conftest.
$ac_ext
20707 cat >>conftest.
$ac_ext <<_ACEOF
20708 /* end confdefs.h. */
20710 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20711 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20712 # error "fake wchar_t"
20714 #ifdef HAVE_WCHAR_H
20716 # include <stddef.h>
20718 # include <wchar.h>
20720 #ifdef HAVE_STDLIB_H
20721 # include <stdlib.h>
20730 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20737 rm -f conftest.
$ac_objext
20738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20739 (eval $ac_compile) 2>conftest.er1
20741 grep -v '^ *+' conftest.er1
>conftest.err
20743 cat conftest.err
>&5
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); } &&
20746 { ac_try
='test -z "$ac_c_werror_flag"
20747 || test ! -s conftest.err'
20748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20749 (eval $ac_try) 2>&5
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); }; } &&
20753 { ac_try
='test -s conftest.$ac_objext'
20754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20755 (eval $ac_try) 2>&5
20757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); }; }; then
20759 ac_hi
=$ac_mid; break
20761 echo "$as_me: failed program was:" >&5
20762 sed 's/^/| /' conftest.
$ac_ext >&5
20764 ac_lo
=`expr $ac_mid + 1`
20765 if test $ac_lo -le $ac_mid; then
20769 ac_mid
=`expr 2 '*' $ac_mid + 1`
20771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20774 echo "$as_me: failed program was:" >&5
20775 sed 's/^/| /' conftest.
$ac_ext >&5
20777 cat >conftest.
$ac_ext <<_ACEOF
20780 cat confdefs.h
>>conftest.
$ac_ext
20781 cat >>conftest.
$ac_ext <<_ACEOF
20782 /* end confdefs.h. */
20784 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20785 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20786 # error "fake wchar_t"
20788 #ifdef HAVE_WCHAR_H
20790 # include <stddef.h>
20792 # include <wchar.h>
20794 #ifdef HAVE_STDLIB_H
20795 # include <stdlib.h>
20804 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20811 rm -f conftest.
$ac_objext
20812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20813 (eval $ac_compile) 2>conftest.er1
20815 grep -v '^ *+' conftest.er1
>conftest.err
20817 cat conftest.err
>&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); } &&
20820 { ac_try
='test -z "$ac_c_werror_flag"
20821 || test ! -s conftest.err'
20822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20823 (eval $ac_try) 2>&5
20825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826 (exit $ac_status); }; } &&
20827 { ac_try
='test -s conftest.$ac_objext'
20828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20829 (eval $ac_try) 2>&5
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); }; }; then
20835 cat >conftest.
$ac_ext <<_ACEOF
20838 cat confdefs.h
>>conftest.
$ac_ext
20839 cat >>conftest.
$ac_ext <<_ACEOF
20840 /* end confdefs.h. */
20842 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20843 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20844 # error "fake wchar_t"
20846 #ifdef HAVE_WCHAR_H
20848 # include <stddef.h>
20850 # include <wchar.h>
20852 #ifdef HAVE_STDLIB_H
20853 # include <stdlib.h>
20862 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20869 rm -f conftest.
$ac_objext
20870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20871 (eval $ac_compile) 2>conftest.er1
20873 grep -v '^ *+' conftest.er1
>conftest.err
20875 cat conftest.err
>&5
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); } &&
20878 { ac_try
='test -z "$ac_c_werror_flag"
20879 || test ! -s conftest.err'
20880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20881 (eval $ac_try) 2>&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); }; } &&
20885 { ac_try
='test -s conftest.$ac_objext'
20886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20887 (eval $ac_try) 2>&5
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); }; }; then
20891 ac_lo
=$ac_mid; break
20893 echo "$as_me: failed program was:" >&5
20894 sed 's/^/| /' conftest.
$ac_ext >&5
20896 ac_hi
=`expr '(' $ac_mid ')' - 1`
20897 if test $ac_mid -le $ac_hi; then
20901 ac_mid
=`expr 2 '*' $ac_mid`
20903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20906 echo "$as_me: failed program was:" >&5
20907 sed 's/^/| /' conftest.
$ac_ext >&5
20911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20914 # Binary search between lo and hi bounds.
20915 while test "x$ac_lo" != "x$ac_hi"; do
20916 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20917 cat >conftest.
$ac_ext <<_ACEOF
20920 cat confdefs.h
>>conftest.
$ac_ext
20921 cat >>conftest.
$ac_ext <<_ACEOF
20922 /* end confdefs.h. */
20924 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20925 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20926 # error "fake wchar_t"
20928 #ifdef HAVE_WCHAR_H
20930 # include <stddef.h>
20932 # include <wchar.h>
20934 #ifdef HAVE_STDLIB_H
20935 # include <stdlib.h>
20944 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20951 rm -f conftest.
$ac_objext
20952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20953 (eval $ac_compile) 2>conftest.er1
20955 grep -v '^ *+' conftest.er1
>conftest.err
20957 cat conftest.err
>&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } &&
20960 { ac_try
='test -z "$ac_c_werror_flag"
20961 || test ! -s conftest.err'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; } &&
20967 { ac_try
='test -s conftest.$ac_objext'
20968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20969 (eval $ac_try) 2>&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); }; }; then
20975 echo "$as_me: failed program was:" >&5
20976 sed 's/^/| /' conftest.
$ac_ext >&5
20978 ac_lo
=`expr '(' $ac_mid ')' + 1`
20980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20983 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
20984 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20985 See \`config.log' for more details." >&5
20986 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20987 See \`config.log' for more details." >&2;}
20988 { (exit 1); exit 1; }; } ;;
20991 if test "$cross_compiling" = yes; then
20992 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20993 See \`config.log' for more details." >&5
20994 echo "$as_me: error: cannot run test program while cross compiling
20995 See \`config.log' for more details." >&2;}
20996 { (exit 1); exit 1; }; }
20998 cat >conftest.
$ac_ext <<_ACEOF
21001 cat confdefs.h
>>conftest.
$ac_ext
21002 cat >>conftest.
$ac_ext <<_ACEOF
21003 /* end confdefs.h. */
21005 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21006 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21007 # error "fake wchar_t"
21009 #ifdef HAVE_WCHAR_H
21011 # include <stddef.h>
21013 # include <wchar.h>
21015 #ifdef HAVE_STDLIB_H
21016 # include <stdlib.h>
21022 long longval () { return (long) (sizeof (wchar_t)); }
21023 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21025 #include <stdlib.h>
21030 FILE *f = fopen ("conftest.val", "w");
21033 if (((long) (sizeof (wchar_t))) < 0)
21035 long i = longval ();
21036 if (i != ((long) (sizeof (wchar_t))))
21038 fprintf (f, "%ld\n", i);
21042 unsigned long i = ulongval ();
21043 if (i != ((long) (sizeof (wchar_t))))
21045 fprintf (f, "%lu\n", i);
21047 exit (ferror (f) || fclose (f) != 0);
21053 rm -f conftest
$ac_exeext
21054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21055 (eval $ac_link) 2>&5
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21060 (eval $ac_try) 2>&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; }; then
21064 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21066 echo "$as_me: program exited with status $ac_status" >&5
21067 echo "$as_me: failed program was:" >&5
21068 sed 's/^/| /' conftest.
$ac_ext >&5
21070 ( exit $ac_status )
21071 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21072 See \`config.log' for more details." >&5
21073 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21074 See \`config.log' for more details." >&2;}
21075 { (exit 1); exit 1; }; }
21077 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21082 ac_cv_sizeof_wchar_t
=0
21085 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21086 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21087 cat >>confdefs.h
<<_ACEOF
21088 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21092 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21098 echo "$as_me:$LINENO: checking for va_copy" >&5
21099 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21100 if test "${wx_cv_func_va_copy+set}" = set; then
21101 echo $ECHO_N "(cached) $ECHO_C" >&6
21104 cat >conftest.
$ac_ext <<_ACEOF
21106 #include <stdarg.h>
21107 void foo(char *f, ...)
21121 rm -f conftest.
$ac_objext conftest
$ac_exeext
21122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21123 (eval $ac_link) 2>conftest.er1
21125 grep -v '^ *+' conftest.er1
>conftest.err
21127 cat conftest.err
>&5
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); } &&
21130 { ac_try
='test -z "$ac_c_werror_flag"
21131 || test ! -s conftest.err'
21132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21133 (eval $ac_try) 2>&5
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); }; } &&
21137 { ac_try
='test -s conftest$ac_exeext'
21138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21139 (eval $ac_try) 2>&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); }; }; then
21143 wx_cv_func_va_copy
=yes
21145 echo "$as_me: failed program was:" >&5
21146 sed 's/^/| /' conftest.
$ac_ext >&5
21148 wx_cv_func_va_copy
=no
21151 rm -f conftest.err conftest.
$ac_objext \
21152 conftest
$ac_exeext conftest.
$ac_ext
21156 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21157 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21159 if test $wx_cv_func_va_copy = "yes"; then
21160 cat >>confdefs.h
<<\_ACEOF
21161 #define HAVE_VA_COPY 1
21165 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21166 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21167 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21168 echo $ECHO_N "(cached) $ECHO_C" >&6
21171 if test "$cross_compiling" = yes; then
21172 wx_cv_type_va_list_lvalue
=yes
21175 cat >conftest.
$ac_ext <<_ACEOF
21177 #include <stdarg.h>
21178 int foo(char *f, ...)
21183 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21191 return foo("hi", 17);
21194 rm -f conftest
$ac_exeext
21195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21196 (eval $ac_link) 2>&5
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21201 (eval $ac_try) 2>&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); }; }; then
21205 wx_cv_type_va_list_lvalue
=yes
21207 echo "$as_me: program exited with status $ac_status" >&5
21208 echo "$as_me: failed program was:" >&5
21209 sed 's/^/| /' conftest.
$ac_ext >&5
21211 ( exit $ac_status )
21212 wx_cv_type_va_list_lvalue
=no
21214 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21219 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21220 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21222 if test $wx_cv_type_va_list_lvalue != "yes"; then
21223 cat >>confdefs.h
<<\_ACEOF
21224 #define VA_LIST_IS_ARRAY 1
21230 if test "$wxUSE_VARARG_MACROS" = "yes"; then
21232 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21233 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21234 if test "${wx_cv_have_variadic_macros+set}" = set; then
21235 echo $ECHO_N "(cached) $ECHO_C" >&6
21239 ac_cpp
='$CXXCPP $CPPFLAGS'
21240 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21241 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21242 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21244 cat >conftest.
$ac_ext <<_ACEOF
21247 cat confdefs.h
>>conftest.
$ac_ext
21248 cat >>conftest.
$ac_ext <<_ACEOF
21249 /* end confdefs.h. */
21252 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21258 test("%s %d %p", "test", 1, 0);
21265 rm -f conftest.
$ac_objext
21266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21267 (eval $ac_compile) 2>conftest.er1
21269 grep -v '^ *+' conftest.er1
>conftest.err
21271 cat conftest.err
>&5
21272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273 (exit $ac_status); } &&
21274 { ac_try
='test -z "$ac_cxx_werror_flag"
21275 || test ! -s conftest.err'
21276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21277 (eval $ac_try) 2>&5
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); }; } &&
21281 { ac_try
='test -s conftest.$ac_objext'
21282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21283 (eval $ac_try) 2>&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); }; }; then
21287 wx_cv_have_variadic_macros
=yes
21289 echo "$as_me: failed program was:" >&5
21290 sed 's/^/| /' conftest.
$ac_ext >&5
21292 wx_cv_have_variadic_macros
=no
21295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21297 ac_cpp
='$CPP $CPPFLAGS'
21298 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21299 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21300 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21305 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21306 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21308 if test $wx_cv_have_variadic_macros = "yes"; then
21309 cat >>confdefs.h
<<\_ACEOF
21310 #define HAVE_VARIADIC_MACROS 1
21316 # Check whether --enable-largefile or --disable-largefile was given.
21317 if test "${enable_largefile+set}" = set; then
21318 enableval
="$enable_largefile"
21321 if test "$enable_largefile" != no
; then
21324 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21325 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21326 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21327 echo $ECHO_N "(cached) $ECHO_C" >&6
21330 cat >conftest.
$ac_ext <<_ACEOF
21333 cat confdefs.h
>>conftest.
$ac_ext
21334 cat >>conftest.
$ac_ext <<_ACEOF
21335 /* end confdefs.h. */
21336 #define _FILE_OFFSET_BITS 64
21337 #include <sys/types.h>
21342 unsigned int field: sizeof(off_t) == 8;
21349 rm -f conftest.
$ac_objext
21350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21351 (eval $ac_compile) 2>conftest.er1
21353 grep -v '^ *+' conftest.er1
>conftest.err
21355 cat conftest.err
>&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); } &&
21358 { ac_try
='test -z "$ac_c_werror_flag"
21359 || test ! -s conftest.err'
21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; } &&
21365 { ac_try
='test -s conftest.$ac_objext'
21366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21367 (eval $ac_try) 2>&5
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); }; }; then
21371 ac_cv_sys_file_offset_bits
=64
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.
$ac_ext >&5
21376 ac_cv_sys_file_offset_bits
=no
21378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21382 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21383 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21385 if test "$ac_cv_sys_file_offset_bits" != no
; then
21387 cat >>confdefs.h
<<_ACEOF
21388 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21393 if test "x$wx_largefile" != "xyes"; then
21395 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21396 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21397 if test "${ac_cv_sys_large_files+set}" = set; then
21398 echo $ECHO_N "(cached) $ECHO_C" >&6
21401 cat >conftest.
$ac_ext <<_ACEOF
21404 cat confdefs.h
>>conftest.
$ac_ext
21405 cat >>conftest.
$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 #define _LARGE_FILES 1
21408 #include <sys/types.h>
21413 unsigned int field: sizeof(off_t) == 8;
21420 rm -f conftest.
$ac_objext
21421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21422 (eval $ac_compile) 2>conftest.er1
21424 grep -v '^ *+' conftest.er1
>conftest.err
21426 cat conftest.err
>&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); } &&
21429 { ac_try
='test -z "$ac_c_werror_flag"
21430 || test ! -s conftest.err'
21431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432 (eval $ac_try) 2>&5
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); }; } &&
21436 { ac_try
='test -s conftest.$ac_objext'
21437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21438 (eval $ac_try) 2>&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); }; }; then
21442 ac_cv_sys_large_files
=1
21444 echo "$as_me: failed program was:" >&5
21445 sed 's/^/| /' conftest.
$ac_ext >&5
21447 ac_cv_sys_large_files
=no
21449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21453 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21454 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21456 if test "$ac_cv_sys_large_files" != no
; then
21458 cat >>confdefs.h
<<_ACEOF
21459 #define _LARGE_FILES $ac_cv_sys_large_files
21466 echo "$as_me:$LINENO: checking if large file support is available" >&5
21467 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21468 if test "x$wx_largefile" = "xyes"; then
21469 cat >>confdefs.h
<<\_ACEOF
21470 #define HAVE_LARGEFILE_SUPPORT 1
21474 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21475 echo "${ECHO_T}$wx_largefile" >&6
21479 if test "x$wx_largefile" = "xyes"; then
21480 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21481 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21483 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21484 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21485 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21486 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21487 echo $ECHO_N "(cached) $ECHO_C" >&6
21491 ac_cpp
='$CXXCPP $CPPFLAGS'
21492 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21493 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21494 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21496 cat >conftest.
$ac_ext <<_ACEOF
21499 cat confdefs.h
>>conftest.
$ac_ext
21500 cat >>conftest.
$ac_ext <<_ACEOF
21501 /* end confdefs.h. */
21507 #ifndef __STDC_EXT__
21515 rm -f conftest.
$ac_objext
21516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21517 (eval $ac_compile) 2>conftest.er1
21519 grep -v '^ *+' conftest.er1
>conftest.err
21521 cat conftest.err
>&5
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); } &&
21524 { ac_try
='test -z "$ac_cxx_werror_flag"
21525 || test ! -s conftest.err'
21526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21527 (eval $ac_try) 2>&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); }; } &&
21531 { ac_try
='test -s conftest.$ac_objext'
21532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21533 (eval $ac_try) 2>&5
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); }; }; then
21537 wx_cv_STDC_EXT_required
=no
21539 echo "$as_me: failed program was:" >&5
21540 sed 's/^/| /' conftest.
$ac_ext >&5
21542 wx_cv_STDC_EXT_required
=yes
21545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21547 ac_cpp
='$CPP $CPPFLAGS'
21548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21555 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21556 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21557 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21558 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21562 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21564 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21565 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21566 if test "${ac_cv_sys_largefile_source+set}" = set; then
21567 echo $ECHO_N "(cached) $ECHO_C" >&6
21570 ac_cv_sys_largefile_source
=no
21571 cat >conftest.
$ac_ext <<_ACEOF
21574 cat confdefs.h
>>conftest.
$ac_ext
21575 cat >>conftest.
$ac_ext <<_ACEOF
21576 /* end confdefs.h. */
21586 rm -f conftest.
$ac_objext
21587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21588 (eval $ac_compile) 2>conftest.er1
21590 grep -v '^ *+' conftest.er1
>conftest.err
21592 cat conftest.err
>&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); } &&
21595 { ac_try
='test -z "$ac_c_werror_flag"
21596 || test ! -s conftest.err'
21597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21598 (eval $ac_try) 2>&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); }; } &&
21602 { ac_try
='test -s conftest.$ac_objext'
21603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21604 (eval $ac_try) 2>&5
21606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21607 (exit $ac_status); }; }; then
21610 echo "$as_me: failed program was:" >&5
21611 sed 's/^/| /' conftest.
$ac_ext >&5
21614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21615 cat >conftest.
$ac_ext <<_ACEOF
21618 cat confdefs.h
>>conftest.
$ac_ext
21619 cat >>conftest.
$ac_ext <<_ACEOF
21620 /* end confdefs.h. */
21621 #define _LARGEFILE_SOURCE 1
21631 rm -f conftest.
$ac_objext
21632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21633 (eval $ac_compile) 2>conftest.er1
21635 grep -v '^ *+' conftest.er1
>conftest.err
21637 cat conftest.err
>&5
21638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 (exit $ac_status); } &&
21640 { ac_try
='test -z "$ac_c_werror_flag"
21641 || test ! -s conftest.err'
21642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21643 (eval $ac_try) 2>&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); }; } &&
21647 { ac_try
='test -s conftest.$ac_objext'
21648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21649 (eval $ac_try) 2>&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); }; }; then
21653 ac_cv_sys_largefile_source
=1; break
21655 echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.
$ac_ext >&5
21659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21663 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21664 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21665 if test "$ac_cv_sys_largefile_source" != no
; then
21667 cat >>confdefs.h
<<_ACEOF
21668 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21674 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21675 # in glibc 2.1.3, but that breaks too many other things.
21676 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21677 echo "$as_me:$LINENO: checking for fseeko" >&5
21678 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21679 if test "${ac_cv_func_fseeko+set}" = set; then
21680 echo $ECHO_N "(cached) $ECHO_C" >&6
21682 cat >conftest.
$ac_ext <<_ACEOF
21685 cat confdefs.h
>>conftest.
$ac_ext
21686 cat >>conftest.
$ac_ext <<_ACEOF
21687 /* end confdefs.h. */
21692 return fseeko && fseeko (stdin, 0, 0);
21697 rm -f conftest.
$ac_objext conftest
$ac_exeext
21698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21699 (eval $ac_link) 2>conftest.er1
21701 grep -v '^ *+' conftest.er1
>conftest.err
21703 cat conftest.err
>&5
21704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705 (exit $ac_status); } &&
21706 { ac_try
='test -z "$ac_c_werror_flag"
21707 || test ! -s conftest.err'
21708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21709 (eval $ac_try) 2>&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); }; } &&
21713 { ac_try
='test -s conftest$ac_exeext'
21714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21715 (eval $ac_try) 2>&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); }; }; then
21719 ac_cv_func_fseeko
=yes
21721 echo "$as_me: failed program was:" >&5
21722 sed 's/^/| /' conftest.
$ac_ext >&5
21724 ac_cv_func_fseeko
=no
21726 rm -f conftest.err conftest.
$ac_objext \
21727 conftest
$ac_exeext conftest.
$ac_ext
21729 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21730 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21731 if test $ac_cv_func_fseeko = yes; then
21733 cat >>confdefs.h
<<\_ACEOF
21734 #define HAVE_FSEEKO 1
21739 if test "$ac_cv_sys_largefile_source" != no
; then
21740 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21744 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21745 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21746 if test "${ac_cv_c_bigendian+set}" = set; then
21747 echo $ECHO_N "(cached) $ECHO_C" >&6
21749 ac_cv_c_bigendian
=unknown
21750 # See if sys/param.h defines the BYTE_ORDER macro.
21751 cat >conftest.
$ac_ext <<_ACEOF
21754 cat confdefs.h
>>conftest.
$ac_ext
21755 cat >>conftest.
$ac_ext <<_ACEOF
21756 /* end confdefs.h. */
21757 #include <sys/types.h>
21758 #include <sys/param.h>
21763 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21764 bogus endian macros
21770 rm -f conftest.
$ac_objext
21771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21772 (eval $ac_compile) 2>conftest.er1
21774 grep -v '^ *+' conftest.er1
>conftest.err
21776 cat conftest.err
>&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); } &&
21779 { ac_try
='test -z "$ac_c_werror_flag"
21780 || test ! -s conftest.err'
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); }; } &&
21786 { ac_try
='test -s conftest.$ac_objext'
21787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21788 (eval $ac_try) 2>&5
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); }; }; then
21792 # It does; now see whether it defined to BIG_ENDIAN or not.
21793 cat >conftest.
$ac_ext <<_ACEOF
21796 cat confdefs.h
>>conftest.
$ac_ext
21797 cat >>conftest.
$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21799 #include <sys/types.h>
21800 #include <sys/param.h>
21805 #if BYTE_ORDER != BIG_ENDIAN
21812 rm -f conftest.
$ac_objext
21813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21814 (eval $ac_compile) 2>conftest.er1
21816 grep -v '^ *+' conftest.er1
>conftest.err
21818 cat conftest.err
>&5
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); } &&
21821 { ac_try
='test -z "$ac_c_werror_flag"
21822 || test ! -s conftest.err'
21823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21824 (eval $ac_try) 2>&5
21826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827 (exit $ac_status); }; } &&
21828 { ac_try
='test -s conftest.$ac_objext'
21829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21830 (eval $ac_try) 2>&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); }; }; then
21834 ac_cv_c_bigendian
=yes
21836 echo "$as_me: failed program was:" >&5
21837 sed 's/^/| /' conftest.
$ac_ext >&5
21839 ac_cv_c_bigendian
=no
21841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21843 echo "$as_me: failed program was:" >&5
21844 sed 's/^/| /' conftest.
$ac_ext >&5
21847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21848 if test $ac_cv_c_bigendian = unknown
; then
21849 if test "$cross_compiling" = yes; then
21850 ac_cv_c_bigendian
=unknown
21852 cat >conftest.
$ac_ext <<_ACEOF
21855 cat confdefs.h
>>conftest.
$ac_ext
21856 cat >>conftest.
$ac_ext <<_ACEOF
21857 /* end confdefs.h. */
21859 /* Are we little or big endian? From Harbison&Steele. */
21863 char c[sizeof (long)];
21866 exit (u.c[sizeof (long) - 1] == 1);
21869 rm -f conftest
$ac_exeext
21870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21871 (eval $ac_link) 2>&5
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21876 (eval $ac_try) 2>&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); }; }; then
21880 ac_cv_c_bigendian
=no
21882 echo "$as_me: program exited with status $ac_status" >&5
21883 echo "$as_me: failed program was:" >&5
21884 sed 's/^/| /' conftest.
$ac_ext >&5
21886 ( exit $ac_status )
21887 ac_cv_c_bigendian
=yes
21889 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21893 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21894 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21895 if test $ac_cv_c_bigendian = unknown
; then
21896 { 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
21897 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;}
21899 if test $ac_cv_c_bigendian = yes; then
21900 cat >>confdefs.h
<<\_ACEOF
21901 #define WORDS_BIGENDIAN 1
21911 ac_cpp
='$CXXCPP $CPPFLAGS'
21912 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21913 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21914 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21917 echo "$as_me:$LINENO: checking for iostream" >&5
21918 echo $ECHO_N "checking for iostream... $ECHO_C" >&6
21919 if test "${ac_cv_header_iostream+set}" = set; then
21920 echo $ECHO_N "(cached) $ECHO_C" >&6
21922 cat >conftest.
$ac_ext <<_ACEOF
21925 cat confdefs.h
>>conftest.
$ac_ext
21926 cat >>conftest.
$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21930 #include <iostream>
21932 rm -f conftest.
$ac_objext
21933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21934 (eval $ac_compile) 2>conftest.er1
21936 grep -v '^ *+' conftest.er1
>conftest.err
21938 cat conftest.err
>&5
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); } &&
21941 { ac_try
='test -z "$ac_cxx_werror_flag"
21942 || test ! -s conftest.err'
21943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21944 (eval $ac_try) 2>&5
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); }; } &&
21948 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
21954 ac_cv_header_iostream
=yes
21956 echo "$as_me: failed program was:" >&5
21957 sed 's/^/| /' conftest.
$ac_ext >&5
21959 ac_cv_header_iostream
=no
21961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21963 echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
21964 echo "${ECHO_T}$ac_cv_header_iostream" >&6
21968 if test "$ac_cv_header_iostream" = "yes" ; then
21971 cat >>confdefs.h
<<\_ACEOF
21972 #define wxUSE_IOSTREAMH 1
21978 ac_cpp
='$CPP $CPPFLAGS'
21979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21986 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21987 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21988 if test "${wx_cv_cpp_bool+set}" = set; then
21989 echo $ECHO_N "(cached) $ECHO_C" >&6
21995 ac_cpp
='$CXXCPP $CPPFLAGS'
21996 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21997 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21998 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22001 cat >conftest.
$ac_ext <<_ACEOF
22004 cat confdefs.h
>>conftest.
$ac_ext
22005 cat >>conftest.
$ac_ext <<_ACEOF
22006 /* end confdefs.h. */
22021 rm -f conftest.
$ac_objext
22022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22023 (eval $ac_compile) 2>conftest.er1
22025 grep -v '^ *+' conftest.er1
>conftest.err
22027 cat conftest.err
>&5
22028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22029 (exit $ac_status); } &&
22030 { ac_try
='test -z "$ac_cxx_werror_flag"
22031 || test ! -s conftest.err'
22032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22033 (eval $ac_try) 2>&5
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); }; } &&
22037 { ac_try
='test -s conftest.$ac_objext'
22038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22039 (eval $ac_try) 2>&5
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); }; }; then
22047 echo "$as_me: failed program was:" >&5
22048 sed 's/^/| /' conftest.
$ac_ext >&5
22055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22058 ac_cpp
='$CPP $CPPFLAGS'
22059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22065 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22066 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22068 if test "$wx_cv_cpp_bool" = "yes"; then
22069 cat >>confdefs.h
<<\_ACEOF
22070 #define HAVE_BOOL 1
22077 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22078 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22079 if test "${wx_cv_explicit+set}" = set; then
22080 echo $ECHO_N "(cached) $ECHO_C" >&6
22086 ac_cpp
='$CXXCPP $CPPFLAGS'
22087 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22088 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22089 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22092 cat >conftest.
$ac_ext <<_ACEOF
22095 cat confdefs.h
>>conftest.
$ac_ext
22096 cat >>conftest.
$ac_ext <<_ACEOF
22097 /* end confdefs.h. */
22099 class Foo { public: explicit Foo(int) {} };
22111 rm -f conftest.
$ac_objext
22112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22113 (eval $ac_compile) 2>conftest.er1
22115 grep -v '^ *+' conftest.er1
>conftest.err
22117 cat conftest.err
>&5
22118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119 (exit $ac_status); } &&
22120 { ac_try
='test -z "$ac_cxx_werror_flag"
22121 || test ! -s conftest.err'
22122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22123 (eval $ac_try) 2>&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); }; } &&
22127 { ac_try
='test -s conftest.$ac_objext'
22128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22129 (eval $ac_try) 2>&5
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); }; }; then
22134 cat >conftest.
$ac_ext <<_ACEOF
22137 cat confdefs.h
>>conftest.
$ac_ext
22138 cat >>conftest.
$ac_ext <<_ACEOF
22139 /* end confdefs.h. */
22141 class Foo { public: explicit Foo(int) {} };
22142 static void TakeFoo(const Foo& foo) { }
22155 rm -f conftest.
$ac_objext
22156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22157 (eval $ac_compile) 2>conftest.er1
22159 grep -v '^ *+' conftest.er1
>conftest.err
22161 cat conftest.err
>&5
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); } &&
22164 { ac_try
='test -z "$ac_cxx_werror_flag"
22165 || test ! -s conftest.err'
22166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22167 (eval $ac_try) 2>&5
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); }; } &&
22171 { ac_try
='test -s conftest.$ac_objext'
22172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22173 (eval $ac_try) 2>&5
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; }; then
22179 echo "$as_me: failed program was:" >&5
22180 sed 's/^/| /' conftest.
$ac_ext >&5
22185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22188 echo "$as_me: failed program was:" >&5
22189 sed 's/^/| /' conftest.
$ac_ext >&5
22194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22197 ac_cpp
='$CPP $CPPFLAGS'
22198 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22199 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22200 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22204 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22205 echo "${ECHO_T}$wx_cv_explicit" >&6
22207 if test "$wx_cv_explicit" = "yes"; then
22208 cat >>confdefs.h
<<\_ACEOF
22209 #define HAVE_EXPLICIT 1
22215 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22216 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22217 if test "${ac_cv_cxx_const_cast+set}" = set; then
22218 echo $ECHO_N "(cached) $ECHO_C" >&6
22223 ac_cpp
='$CXXCPP $CPPFLAGS'
22224 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22225 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22226 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22228 cat >conftest.
$ac_ext <<_ACEOF
22231 cat confdefs.h
>>conftest.
$ac_ext
22232 cat >>conftest.
$ac_ext <<_ACEOF
22233 /* end confdefs.h. */
22238 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22243 rm -f conftest.
$ac_objext
22244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22245 (eval $ac_compile) 2>conftest.er1
22247 grep -v '^ *+' conftest.er1
>conftest.err
22249 cat conftest.err
>&5
22250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251 (exit $ac_status); } &&
22252 { ac_try
='test -z "$ac_cxx_werror_flag"
22253 || test ! -s conftest.err'
22254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22255 (eval $ac_try) 2>&5
22257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22258 (exit $ac_status); }; } &&
22259 { ac_try
='test -s conftest.$ac_objext'
22260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22261 (eval $ac_try) 2>&5
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); }; }; then
22265 ac_cv_cxx_const_cast
=yes
22267 echo "$as_me: failed program was:" >&5
22268 sed 's/^/| /' conftest.
$ac_ext >&5
22270 ac_cv_cxx_const_cast
=no
22272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22274 ac_cpp
='$CPP $CPPFLAGS'
22275 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22276 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22277 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22281 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22282 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22283 if test "$ac_cv_cxx_const_cast" = yes; then
22285 cat >>confdefs.h
<<\_ACEOF
22286 #define HAVE_CONST_CAST
22291 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22292 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22293 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22294 echo $ECHO_N "(cached) $ECHO_C" >&6
22299 ac_cpp
='$CXXCPP $CPPFLAGS'
22300 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22301 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22302 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22304 cat >conftest.
$ac_ext <<_ACEOF
22307 cat confdefs.h
>>conftest.
$ac_ext
22308 cat >>conftest.
$ac_ext <<_ACEOF
22309 /* end confdefs.h. */
22310 #include <typeinfo>
22311 class Base { public : Base () {} virtual void f () = 0;};
22312 class Derived : public Base { public : Derived () {} virtual void f () {} };
22313 class Unrelated { public : Unrelated () {} };
22314 int g (Unrelated&) { return 0; }
22319 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22324 rm -f conftest.
$ac_objext
22325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22326 (eval $ac_compile) 2>conftest.er1
22328 grep -v '^ *+' conftest.er1
>conftest.err
22330 cat conftest.err
>&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); } &&
22333 { ac_try
='test -z "$ac_cxx_werror_flag"
22334 || test ! -s conftest.err'
22335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22336 (eval $ac_try) 2>&5
22338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339 (exit $ac_status); }; } &&
22340 { ac_try
='test -s conftest.$ac_objext'
22341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22342 (eval $ac_try) 2>&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); }; }; then
22346 ac_cv_cxx_reinterpret_cast
=yes
22348 echo "$as_me: failed program was:" >&5
22349 sed 's/^/| /' conftest.
$ac_ext >&5
22351 ac_cv_cxx_reinterpret_cast
=no
22353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22355 ac_cpp
='$CPP $CPPFLAGS'
22356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22362 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22363 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22364 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22366 cat >>confdefs.h
<<\_ACEOF
22367 #define HAVE_REINTERPRET_CAST
22372 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22373 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22374 if test "${ac_cv_cxx_static_cast+set}" = set; then
22375 echo $ECHO_N "(cached) $ECHO_C" >&6
22380 ac_cpp
='$CXXCPP $CPPFLAGS'
22381 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22382 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22383 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22385 cat >conftest.
$ac_ext <<_ACEOF
22388 cat confdefs.h
>>conftest.
$ac_ext
22389 cat >>conftest.
$ac_ext <<_ACEOF
22390 /* end confdefs.h. */
22391 #include <typeinfo>
22392 class Base { public : Base () {} virtual void f () = 0; };
22393 class Derived : public Base { public : Derived () {} virtual void f () {} };
22394 int g (Derived&) { return 0; }
22399 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
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_cxx_werror_flag"
22414 || test ! -s conftest.err'
22415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22416 (eval $ac_try) 2>&5
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); }; } &&
22420 { ac_try
='test -s conftest.$ac_objext'
22421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22422 (eval $ac_try) 2>&5
22424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22425 (exit $ac_status); }; }; then
22426 ac_cv_cxx_static_cast
=yes
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.
$ac_ext >&5
22431 ac_cv_cxx_static_cast
=no
22433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22435 ac_cpp
='$CPP $CPPFLAGS'
22436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22442 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22443 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22444 if test "$ac_cv_cxx_static_cast" = yes; then
22446 cat >>confdefs.h
<<\_ACEOF
22447 #define HAVE_STATIC_CAST
22453 if test "x$SUNCXX" = xyes
; then
22454 CXXFLAGS
="-features=tmplife $CXXFLAGS"
22457 if test "x$SUNCC" = xyes
; then
22458 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22461 if test "x$SGICC" = "xyes"; then
22462 CFLAGS
="-woff 3970 $CFLAGS"
22464 if test "x$SGICXX" = "xyes"; then
22465 CXXFLAGS
="-woff 3970 $CXXFLAGS"
22468 if test "x$HPCC" = "xyes"; then
22469 CFLAGS
="+W 2011,2450 $CFLAGS"
22471 if test "x$HPCXX" = "xyes"; then
22472 CXXFLAGS
="+W 2340 $CXXFLAGS"
22475 if test "x$COMPAQCXX" = "xyes"; then
22476 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22480 ac_cpp
='$CXXCPP $CPPFLAGS'
22481 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22482 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22483 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22486 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22487 if test "$wxUSE_UNICODE" = "yes"; then
22488 std_string
="std::wstring"
22489 char_type
="wchar_t"
22491 std_string
="std::string"
22495 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22496 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22497 if test "${wx_cv_class_stdstring+set}" = set; then
22498 echo $ECHO_N "(cached) $ECHO_C" >&6
22501 cat >conftest.
$ac_ext <<_ACEOF
22504 cat confdefs.h
>>conftest.
$ac_ext
22505 cat >>conftest.
$ac_ext <<_ACEOF
22506 /* end confdefs.h. */
22516 rm -f conftest.
$ac_objext
22517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22518 (eval $ac_compile) 2>conftest.er1
22520 grep -v '^ *+' conftest.er1
>conftest.err
22522 cat conftest.err
>&5
22523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); } &&
22525 { ac_try
='test -z "$ac_cxx_werror_flag"
22526 || test ! -s conftest.err'
22527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22528 (eval $ac_try) 2>&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); }; } &&
22532 { ac_try
='test -s conftest.$ac_objext'
22533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22534 (eval $ac_try) 2>&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); }; }; then
22538 wx_cv_class_stdstring
=yes
22540 echo "$as_me: failed program was:" >&5
22541 sed 's/^/| /' conftest.
$ac_ext >&5
22543 wx_cv_class_stdstring
=no
22546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22550 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
22551 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
22553 if test "$wx_cv_class_stdstring" = yes; then
22554 if test "$wxUSE_UNICODE" = "yes"; then
22555 cat >>confdefs.h
<<\_ACEOF
22556 #define HAVE_STD_WSTRING 1
22561 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22562 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22563 if test "${wx_cv_class_stdbasicstring+set}" = set; then
22564 echo $ECHO_N "(cached) $ECHO_C" >&6
22567 cat >conftest.
$ac_ext <<_ACEOF
22570 cat confdefs.h
>>conftest.
$ac_ext
22571 cat >>conftest.
$ac_ext <<_ACEOF
22572 /* end confdefs.h. */
22574 #ifdef HAVE_WCHAR_H
22576 # include <stddef.h>
22578 # include <wchar.h>
22580 #ifdef HAVE_STDLIB_H
22581 # include <stdlib.h>
22589 std::basic_string<$char_type> foo;
22590 const $char_type* dummy = foo.c_str();
22595 rm -f conftest.
$ac_objext
22596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22597 (eval $ac_compile) 2>conftest.er1
22599 grep -v '^ *+' conftest.er1
>conftest.err
22601 cat conftest.err
>&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); } &&
22604 { ac_try
='test -z "$ac_cxx_werror_flag"
22605 || test ! -s conftest.err'
22606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22607 (eval $ac_try) 2>&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); }; } &&
22611 { ac_try
='test -s conftest.$ac_objext'
22612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22613 (eval $ac_try) 2>&5
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); }; }; then
22617 wx_cv_class_stdbasicstring
=yes
22619 echo "$as_me: failed program was:" >&5
22620 sed 's/^/| /' conftest.
$ac_ext >&5
22622 wx_cv_class_stdbasicstring
=no
22625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22629 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
22630 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
22632 if test "$wx_cv_class_stdbasicstring" != yes; then
22633 if test "$wxUSE_STL" = "yes"; then
22634 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22635 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22636 { (exit 1); exit 1; }; }
22637 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22638 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22639 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22640 { (exit 1); exit 1; }; }
22642 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22643 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22644 wxUSE_STD_STRING
=no
22650 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22651 echo "$as_me:$LINENO: checking for std::istream" >&5
22652 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22653 if test "${ac_cv_type_std__istream+set}" = set; then
22654 echo $ECHO_N "(cached) $ECHO_C" >&6
22656 cat >conftest.
$ac_ext <<_ACEOF
22659 cat confdefs.h
>>conftest.
$ac_ext
22660 cat >>conftest.
$ac_ext <<_ACEOF
22661 /* end confdefs.h. */
22662 #include <iostream>
22667 if ((std::istream *) 0)
22669 if (sizeof (std::istream))
22675 rm -f conftest.
$ac_objext
22676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22677 (eval $ac_compile) 2>conftest.er1
22679 grep -v '^ *+' conftest.er1
>conftest.err
22681 cat conftest.err
>&5
22682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22683 (exit $ac_status); } &&
22684 { ac_try
='test -z "$ac_cxx_werror_flag"
22685 || test ! -s conftest.err'
22686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22687 (eval $ac_try) 2>&5
22689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22690 (exit $ac_status); }; } &&
22691 { ac_try
='test -s conftest.$ac_objext'
22692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22693 (eval $ac_try) 2>&5
22695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22696 (exit $ac_status); }; }; then
22697 ac_cv_type_std__istream
=yes
22699 echo "$as_me: failed program was:" >&5
22700 sed 's/^/| /' conftest.
$ac_ext >&5
22702 ac_cv_type_std__istream
=no
22704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22706 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22707 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22708 if test $ac_cv_type_std__istream = yes; then
22710 cat >>confdefs.h
<<_ACEOF
22711 #define HAVE_STD__ISTREAM 1
22716 wxUSE_STD_IOSTREAM
=no
22718 echo "$as_me:$LINENO: checking for std::ostream" >&5
22719 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22720 if test "${ac_cv_type_std__ostream+set}" = set; then
22721 echo $ECHO_N "(cached) $ECHO_C" >&6
22723 cat >conftest.
$ac_ext <<_ACEOF
22726 cat confdefs.h
>>conftest.
$ac_ext
22727 cat >>conftest.
$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22729 #include <iostream>
22734 if ((std::ostream *) 0)
22736 if (sizeof (std::ostream))
22742 rm -f conftest.
$ac_objext
22743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22744 (eval $ac_compile) 2>conftest.er1
22746 grep -v '^ *+' conftest.er1
>conftest.err
22748 cat conftest.err
>&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } &&
22751 { ac_try
='test -z "$ac_cxx_werror_flag"
22752 || test ! -s conftest.err'
22753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22754 (eval $ac_try) 2>&5
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); }; } &&
22758 { ac_try
='test -s conftest.$ac_objext'
22759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22760 (eval $ac_try) 2>&5
22762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763 (exit $ac_status); }; }; then
22764 ac_cv_type_std__ostream
=yes
22766 echo "$as_me: failed program was:" >&5
22767 sed 's/^/| /' conftest.
$ac_ext >&5
22769 ac_cv_type_std__ostream
=no
22771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22773 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22774 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22775 if test $ac_cv_type_std__ostream = yes; then
22777 cat >>confdefs.h
<<_ACEOF
22778 #define HAVE_STD__OSTREAM 1
22783 wxUSE_STD_IOSTREAM
=no
22787 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22788 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
22789 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22790 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22791 { (exit 1); exit 1; }; }
22793 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22794 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22799 if test "$wxUSE_STL" = "yes"; then
22800 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22801 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22802 if test "${wx_cv_lib_stl+set}" = set; then
22803 echo $ECHO_N "(cached) $ECHO_C" >&6
22805 cat >conftest.
$ac_ext <<_ACEOF
22808 cat confdefs.h
>>conftest.
$ac_ext
22809 cat >>conftest.
$ac_ext <<_ACEOF
22810 /* end confdefs.h. */
22812 #include <functional>
22813 #include <algorithm>
22819 std::vector<int> moo;
22820 std::list<int> foo;
22821 std::vector<int>::iterator it =
22822 std::find_if(moo.begin(), moo.end(),
22823 std::bind2nd(std::less<int>(), 3));
22828 rm -f conftest.
$ac_objext
22829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22830 (eval $ac_compile) 2>conftest.er1
22832 grep -v '^ *+' conftest.er1
>conftest.err
22834 cat conftest.err
>&5
22835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836 (exit $ac_status); } &&
22837 { ac_try
='test -z "$ac_cxx_werror_flag"
22838 || test ! -s conftest.err'
22839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22840 (eval $ac_try) 2>&5
22842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22843 (exit $ac_status); }; } &&
22844 { ac_try
='test -s conftest.$ac_objext'
22845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22846 (eval $ac_try) 2>&5
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); }; }; then
22852 echo "$as_me: failed program was:" >&5
22853 sed 's/^/| /' conftest.
$ac_ext >&5
22858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22861 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
22862 echo "${ECHO_T}$wx_cv_lib_stl" >&6
22864 if test "$wx_cv_lib_stl" != yes; then
22865 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
22866 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
22867 { (exit 1); exit 1; }; }
22870 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22871 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22872 if test "${wx_cv_func_stdstring_compare+set}" = set; then
22873 echo $ECHO_N "(cached) $ECHO_C" >&6
22875 cat >conftest.
$ac_ext <<_ACEOF
22878 cat confdefs.h
>>conftest.
$ac_ext
22879 cat >>conftest.
$ac_ext <<_ACEOF
22880 /* end confdefs.h. */
22885 std::string foo, bar;
22887 foo.compare(1, 1, bar);
22888 foo.compare(1, 1, bar, 1, 1);
22890 foo.compare(1, 1, "");
22891 foo.compare(1, 1, "", 2);
22896 rm -f conftest.
$ac_objext
22897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22898 (eval $ac_compile) 2>conftest.er1
22900 grep -v '^ *+' conftest.er1
>conftest.err
22902 cat conftest.err
>&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } &&
22905 { ac_try
='test -z "$ac_cxx_werror_flag"
22906 || test ! -s conftest.err'
22907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22908 (eval $ac_try) 2>&5
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); }; } &&
22912 { ac_try
='test -s conftest.$ac_objext'
22913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22914 (eval $ac_try) 2>&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); }; }; then
22918 wx_cv_func_stdstring_compare
=yes
22920 echo "$as_me: failed program was:" >&5
22921 sed 's/^/| /' conftest.
$ac_ext >&5
22923 wx_cv_func_stdstring_compare
=no
22926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22929 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
22930 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
22932 if test "$wx_cv_func_stdstring_compare" = yes; then
22933 cat >>confdefs.h
<<\_ACEOF
22934 #define HAVE_STD_STRING_COMPARE 1
22939 echo "$as_me:$LINENO: checking for hash_map" >&5
22940 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22941 if test "${ac_cv_header_hash_map+set}" = set; then
22942 echo $ECHO_N "(cached) $ECHO_C" >&6
22944 cat >conftest.
$ac_ext <<_ACEOF
22947 cat confdefs.h
>>conftest.
$ac_ext
22948 cat >>conftest.
$ac_ext <<_ACEOF
22949 /* end confdefs.h. */
22953 #include <hash_map>
22955 rm -f conftest.
$ac_objext
22956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22957 (eval $ac_compile) 2>conftest.er1
22959 grep -v '^ *+' conftest.er1
>conftest.err
22961 cat conftest.err
>&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); } &&
22964 { ac_try
='test -z "$ac_cxx_werror_flag"
22965 || test ! -s conftest.err'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; } &&
22971 { ac_try
='test -s conftest.$ac_objext'
22972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973 (eval $ac_try) 2>&5
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); }; }; then
22977 ac_cv_header_hash_map
=yes
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.
$ac_ext >&5
22982 ac_cv_header_hash_map
=no
22984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22986 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22987 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22988 if test $ac_cv_header_hash_map = yes; then
22989 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
22990 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
22991 if test "${wx_cv_class_stdhashmapset+set}" = set; then
22992 echo $ECHO_N "(cached) $ECHO_C" >&6
22994 cat >conftest.
$ac_ext <<_ACEOF
22997 cat confdefs.h
>>conftest.
$ac_ext
22998 cat >>conftest.
$ac_ext <<_ACEOF
22999 /* end confdefs.h. */
23000 #include <hash_map>
23001 #include <hash_set>
23005 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23006 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23011 rm -f conftest.
$ac_objext
23012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23013 (eval $ac_compile) 2>conftest.er1
23015 grep -v '^ *+' conftest.er1
>conftest.err
23017 cat conftest.err
>&5
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); } &&
23020 { ac_try
='test -z "$ac_cxx_werror_flag"
23021 || test ! -s conftest.err'
23022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23023 (eval $ac_try) 2>&5
23025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026 (exit $ac_status); }; } &&
23027 { ac_try
='test -s conftest.$ac_objext'
23028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23029 (eval $ac_try) 2>&5
23031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032 (exit $ac_status); }; }; then
23033 wx_cv_class_stdhashmapset
=yes
23035 echo "$as_me: failed program was:" >&5
23036 sed 's/^/| /' conftest.
$ac_ext >&5
23038 wx_cv_class_stdhashmapset
=no
23040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23044 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23045 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23050 if test "$wx_cv_class_stdhashmapset" = yes; then
23051 cat >>confdefs.h
<<\_ACEOF
23052 #define HAVE_HASH_MAP 1
23055 cat >>confdefs.h
<<\_ACEOF
23056 #define HAVE_STD_HASH_MAP 1
23061 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23062 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23063 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23064 echo $ECHO_N "(cached) $ECHO_C" >&6
23066 cat >conftest.
$ac_ext <<_ACEOF
23069 cat confdefs.h
>>conftest.
$ac_ext
23070 cat >>conftest.
$ac_ext <<_ACEOF
23071 /* end confdefs.h. */
23075 #include <ext/hash_map>
23077 rm -f conftest.
$ac_objext
23078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23079 (eval $ac_compile) 2>conftest.er1
23081 grep -v '^ *+' conftest.er1
>conftest.err
23083 cat conftest.err
>&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); } &&
23086 { ac_try
='test -z "$ac_cxx_werror_flag"
23087 || test ! -s conftest.err'
23088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23089 (eval $ac_try) 2>&5
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); }; } &&
23093 { ac_try
='test -s conftest.$ac_objext'
23094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23095 (eval $ac_try) 2>&5
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); }; }; then
23099 ac_cv_header_ext_hash_map
=yes
23101 echo "$as_me: failed program was:" >&5
23102 sed 's/^/| /' conftest.
$ac_ext >&5
23104 ac_cv_header_ext_hash_map
=no
23106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23108 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23109 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23110 if test $ac_cv_header_ext_hash_map = yes; then
23111 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23112 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
23113 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23114 echo $ECHO_N "(cached) $ECHO_C" >&6
23116 cat >conftest.
$ac_ext <<_ACEOF
23119 cat confdefs.h
>>conftest.
$ac_ext
23120 cat >>conftest.
$ac_ext <<_ACEOF
23121 /* end confdefs.h. */
23122 #include <ext/hash_map>
23123 #include <ext/hash_set>
23127 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23128 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23133 rm -f conftest.
$ac_objext
23134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23135 (eval $ac_compile) 2>conftest.er1
23137 grep -v '^ *+' conftest.er1
>conftest.err
23139 cat conftest.err
>&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); } &&
23142 { ac_try
='test -z "$ac_cxx_werror_flag"
23143 || test ! -s conftest.err'
23144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23145 (eval $ac_try) 2>&5
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); }; } &&
23149 { ac_try
='test -s conftest.$ac_objext'
23150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23151 (eval $ac_try) 2>&5
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); }; }; then
23155 wx_cv_class_gnuhashmapset
=yes
23157 echo "$as_me: failed program was:" >&5
23158 sed 's/^/| /' conftest.
$ac_ext >&5
23160 wx_cv_class_gnuhashmapset
=no
23162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23166 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23167 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
23172 if test "$wx_cv_class_gnuhashmapset" = yes; then
23173 cat >>confdefs.h
<<\_ACEOF
23174 #define HAVE_EXT_HASH_MAP 1
23177 cat >>confdefs.h
<<\_ACEOF
23178 #define HAVE_GNU_CXX_HASH_MAP 1
23185 ac_cpp
='$CPP $CPPFLAGS'
23186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23193 /usr/local/include \
23195 /usr/Motif-2.1/include \
23196 /usr/Motif-1.2/include \
23197 /usr/include/Motif1.2 \
23200 /usr/openwin/include \
23204 /usr/X11R6/include \
23205 /usr/X11R6.4/include \
23206 /usr/X11R5/include \
23207 /usr/X11R4/include \
23209 /usr/include/X11R6 \
23210 /usr/include/X11R5 \
23211 /usr/include/X11R4 \
23213 /usr/local/X11R6/include \
23214 /usr/local/X11R5/include \
23215 /usr/local/X11R4/include \
23217 /usr/local/include/X11R6 \
23218 /usr/local/include/X11R5 \
23219 /usr/local/include/X11R4 \
23223 /usr/local/X11/include \
23224 /usr/local/include/X11 \
23226 /usr/XFree86/include/X11 \
23229 /usr/openwin/share/include"
23231 echo "$as_me:$LINENO: checking for libraries directory" >&5
23232 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23236 if test "${wx_cv_std_libpath+set}" = set; then
23237 echo $ECHO_N "(cached) $ECHO_C" >&6
23240 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23241 for e
in a so sl dylib dll.a
; do
23243 if test -f $libc; then
23246 cat >conftest.
$ac_ext <<_ACEOF
23247 int main() { return 0; }
23249 rm -f conftest.
$ac_objext conftest
$ac_exeext
23250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23251 (eval $ac_link) 2>conftest.er1
23253 grep -v '^ *+' conftest.er1
>conftest.err
23255 cat conftest.err
>&5
23256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23257 (exit $ac_status); } &&
23258 { ac_try
='test -z "$ac_c_werror_flag"
23259 || test ! -s conftest.err'
23260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23261 (eval $ac_try) 2>&5
23263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23264 (exit $ac_status); }; } &&
23265 { ac_try
='test -s conftest$ac_exeext'
23266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23267 (eval $ac_try) 2>&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); }; }; then
23271 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23273 echo "$as_me: failed program was:" >&5
23274 sed 's/^/| /' conftest.
$ac_ext >&5
23277 rm -f conftest.err conftest.
$ac_objext \
23278 conftest
$ac_exeext conftest.
$ac_ext
23280 if test "x$wx_cv_std_libpath" != "x"; then
23286 if test "x$wx_cv_std_libpath" = "x"; then
23287 wx_cv_std_libpath
="lib"
23296 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23297 wx_cv_std_libpath
="lib/64"
23299 wx_cv_std_libpath
="lib"
23304 if test "$ac_cv_sizeof_void_p" = 8 -a \
23305 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23306 wx_cv_std_libpath
="lib64"
23308 wx_cv_std_libpath
="lib"
23313 wx_cv_std_libpath
="lib";
23317 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23318 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23320 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23322 if test "$build" != "$host" -a "$GCC" = yes; then
23323 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23324 cross_root
=`dirname $cross_root`
23325 cross_root
=`dirname $cross_root`
23327 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23328 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23329 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23331 if test -z "$PKG_CONFIG_PATH"; then
23332 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23333 export PKG_CONFIG_PATH
23336 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23339 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23341 if test -f "$ac_dir/X11/Intrinsic.h"; then
23342 ac_find_includes
=$ac_dir
23347 x_includes
=$ac_find_includes
23349 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23352 for ac_dir
in $SEARCH_LIB;
23354 for ac_extension
in a so sl dylib dll.a
; do
23355 if test -f "$ac_dir/libXt.$ac_extension"; then
23356 ac_find_libraries
=$ac_dir
23362 x_libraries
=$ac_find_libraries
23368 cat >confcache
<<\_ACEOF
23369 # This file is a shell script that caches the results of configure
23370 # tests run on this system so they can be shared between configure
23371 # scripts and configure runs, see configure's option --config-cache.
23372 # It is not useful on other systems. If it contains results you don't
23373 # want to keep, you may remove or edit it.
23375 # config.status only pays attention to the cache file if you give it
23376 # the --recheck option to rerun configure.
23378 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23379 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23380 # following values.
23384 # The following way of writing the cache mishandles newlines in values,
23385 # but we know of no workaround that is simple, portable, and efficient.
23386 # So, don't put newlines in cache variables' values.
23387 # Ultrix sh set writes to stderr and can't be redirected directly,
23388 # and sets the high bit in the cache file unless we assign to the vars.
23391 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23393 # `set' does not quote correctly, so add quotes (double-quote
23394 # substitution turns \\\\ into \\, and sed turns \\ into \).
23397 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23400 # `set' quotes correctly as required by POSIX, so do not add quotes.
23402 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23409 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23411 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23413 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23414 if test -w $cache_file; then
23415 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23416 cat confcache
>$cache_file
23418 echo "not updating unwritable cache $cache_file"
23423 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23424 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23425 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23426 if test "${wx_cv_lib_glibc21+set}" = set; then
23427 echo $ECHO_N "(cached) $ECHO_C" >&6
23430 cat >conftest.
$ac_ext <<_ACEOF
23433 cat confdefs.h
>>conftest.
$ac_ext
23434 cat >>conftest.
$ac_ext <<_ACEOF
23435 /* end confdefs.h. */
23436 #include <features.h>
23441 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23449 rm -f conftest.
$ac_objext
23450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23451 (eval $ac_compile) 2>conftest.er1
23453 grep -v '^ *+' conftest.er1
>conftest.err
23455 cat conftest.err
>&5
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); } &&
23458 { ac_try
='test -z "$ac_c_werror_flag"
23459 || test ! -s conftest.err'
23460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23461 (eval $ac_try) 2>&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); }; } &&
23465 { ac_try
='test -s conftest.$ac_objext'
23466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467 (eval $ac_try) 2>&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; }; then
23472 wx_cv_lib_glibc21
=yes
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.
$ac_ext >&5
23479 wx_cv_lib_glibc21
=no
23483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23486 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23487 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23488 if test "$wx_cv_lib_glibc21" = "yes"; then
23489 cat >>confdefs.h
<<\_ACEOF
23490 #define wxHAVE_GLIBC2 1
23496 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23497 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23498 cat >>confdefs.h
<<\_ACEOF
23499 #define _GNU_SOURCE 1
23510 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23511 echo "$as_me:$LINENO: checking for $ac_func" >&5
23512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23513 if eval "test \"\${$as_ac_var+set}\" = set"; then
23514 echo $ECHO_N "(cached) $ECHO_C" >&6
23516 cat >conftest.
$ac_ext <<_ACEOF
23519 cat confdefs.h
>>conftest.
$ac_ext
23520 cat >>conftest.
$ac_ext <<_ACEOF
23521 /* end confdefs.h. */
23522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23524 #define $ac_func innocuous_$ac_func
23526 /* System header to define __stub macros and hopefully few prototypes,
23527 which can conflict with char $ac_func (); below.
23528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23529 <limits.h> exists even on freestanding compilers. */
23532 # include <limits.h>
23534 # include <assert.h>
23539 /* Override any gcc2 internal prototype to avoid an error. */
23544 /* We use char because int might match the return type of a gcc2
23545 builtin and then its argument prototype would still apply. */
23547 /* The GNU C library defines this for functions which it implements
23548 to always fail with ENOSYS. Some functions are actually named
23549 something starting with __ and the normal name is an alias. */
23550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23553 char (*f) () = $ac_func;
23562 return f != $ac_func;
23567 rm -f conftest.
$ac_objext conftest
$ac_exeext
23568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23569 (eval $ac_link) 2>conftest.er1
23571 grep -v '^ *+' conftest.er1
>conftest.err
23573 cat conftest.err
>&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } &&
23576 { ac_try
='test -z "$ac_c_werror_flag"
23577 || test ! -s conftest.err'
23578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23579 (eval $ac_try) 2>&5
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); }; } &&
23583 { ac_try
='test -s conftest$ac_exeext'
23584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23585 (eval $ac_try) 2>&5
23587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588 (exit $ac_status); }; }; then
23589 eval "$as_ac_var=yes"
23591 echo "$as_me: failed program was:" >&5
23592 sed 's/^/| /' conftest.
$ac_ext >&5
23594 eval "$as_ac_var=no"
23596 rm -f conftest.err conftest.
$ac_objext \
23597 conftest
$ac_exeext conftest.
$ac_ext
23599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23601 if test `eval echo '${'$as_ac_var'}'` = yes; then
23602 cat >>confdefs.h
<<_ACEOF
23603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23610 for ac_func
in floor
23612 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23613 echo "$as_me:$LINENO: checking for $ac_func" >&5
23614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23615 if eval "test \"\${$as_ac_var+set}\" = set"; then
23616 echo $ECHO_N "(cached) $ECHO_C" >&6
23618 cat >conftest.
$ac_ext <<_ACEOF
23621 cat confdefs.h
>>conftest.
$ac_ext
23622 cat >>conftest.
$ac_ext <<_ACEOF
23623 /* end confdefs.h. */
23624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23626 #define $ac_func innocuous_$ac_func
23628 /* System header to define __stub macros and hopefully few prototypes,
23629 which can conflict with char $ac_func (); below.
23630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23631 <limits.h> exists even on freestanding compilers. */
23634 # include <limits.h>
23636 # include <assert.h>
23641 /* Override any gcc2 internal prototype to avoid an error. */
23646 /* We use char because int might match the return type of a gcc2
23647 builtin and then its argument prototype would still apply. */
23649 /* The GNU C library defines this for functions which it implements
23650 to always fail with ENOSYS. Some functions are actually named
23651 something starting with __ and the normal name is an alias. */
23652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23655 char (*f) () = $ac_func;
23664 return f != $ac_func;
23669 rm -f conftest.
$ac_objext conftest
$ac_exeext
23670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23671 (eval $ac_link) 2>conftest.er1
23673 grep -v '^ *+' conftest.er1
>conftest.err
23675 cat conftest.err
>&5
23676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677 (exit $ac_status); } &&
23678 { ac_try
='test -z "$ac_c_werror_flag"
23679 || test ! -s conftest.err'
23680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23681 (eval $ac_try) 2>&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); }; } &&
23685 { ac_try
='test -s conftest$ac_exeext'
23686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23687 (eval $ac_try) 2>&5
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); }; }; then
23691 eval "$as_ac_var=yes"
23693 echo "$as_me: failed program was:" >&5
23694 sed 's/^/| /' conftest.
$ac_ext >&5
23696 eval "$as_ac_var=no"
23698 rm -f conftest.err conftest.
$ac_objext \
23699 conftest
$ac_exeext conftest.
$ac_ext
23701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23703 if test `eval echo '${'$as_ac_var'}'` = yes; then
23704 cat >>confdefs.h
<<_ACEOF
23705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23711 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
23712 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
23713 if test "$have_cos" = 1 -a "$have_floor" = 1; then
23714 echo "$as_me:$LINENO: result: yes" >&5
23715 echo "${ECHO_T}yes" >&6
23717 echo "$as_me:$LINENO: result: no" >&5
23718 echo "${ECHO_T}no" >&6
23720 # use different functions to avoid configure caching
23726 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23727 echo "$as_me:$LINENO: checking for $ac_func" >&5
23728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23729 if eval "test \"\${$as_ac_var+set}\" = set"; then
23730 echo $ECHO_N "(cached) $ECHO_C" >&6
23732 cat >conftest.
$ac_ext <<_ACEOF
23735 cat confdefs.h
>>conftest.
$ac_ext
23736 cat >>conftest.
$ac_ext <<_ACEOF
23737 /* end confdefs.h. */
23738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23740 #define $ac_func innocuous_$ac_func
23742 /* System header to define __stub macros and hopefully few prototypes,
23743 which can conflict with char $ac_func (); below.
23744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23745 <limits.h> exists even on freestanding compilers. */
23748 # include <limits.h>
23750 # include <assert.h>
23755 /* Override any gcc2 internal prototype to avoid an error. */
23760 /* We use char because int might match the return type of a gcc2
23761 builtin and then its argument prototype would still apply. */
23763 /* The GNU C library defines this for functions which it implements
23764 to always fail with ENOSYS. Some functions are actually named
23765 something starting with __ and the normal name is an alias. */
23766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23769 char (*f) () = $ac_func;
23778 return f != $ac_func;
23783 rm -f conftest.
$ac_objext conftest
$ac_exeext
23784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23785 (eval $ac_link) 2>conftest.er1
23787 grep -v '^ *+' conftest.er1
>conftest.err
23789 cat conftest.err
>&5
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); } &&
23792 { ac_try
='test -z "$ac_c_werror_flag"
23793 || test ! -s conftest.err'
23794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23795 (eval $ac_try) 2>&5
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); }; } &&
23799 { ac_try
='test -s conftest$ac_exeext'
23800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23801 (eval $ac_try) 2>&5
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; }; then
23805 eval "$as_ac_var=yes"
23807 echo "$as_me: failed program was:" >&5
23808 sed 's/^/| /' conftest.
$ac_ext >&5
23810 eval "$as_ac_var=no"
23812 rm -f conftest.err conftest.
$ac_objext \
23813 conftest
$ac_exeext conftest.
$ac_ext
23815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23817 if test `eval echo '${'$as_ac_var'}'` = yes; then
23818 cat >>confdefs.h
<<_ACEOF
23819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23826 for ac_func
in ceil
23828 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23829 echo "$as_me:$LINENO: checking for $ac_func" >&5
23830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23831 if eval "test \"\${$as_ac_var+set}\" = set"; then
23832 echo $ECHO_N "(cached) $ECHO_C" >&6
23834 cat >conftest.
$ac_ext <<_ACEOF
23837 cat confdefs.h
>>conftest.
$ac_ext
23838 cat >>conftest.
$ac_ext <<_ACEOF
23839 /* end confdefs.h. */
23840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23842 #define $ac_func innocuous_$ac_func
23844 /* System header to define __stub macros and hopefully few prototypes,
23845 which can conflict with char $ac_func (); below.
23846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23847 <limits.h> exists even on freestanding compilers. */
23850 # include <limits.h>
23852 # include <assert.h>
23857 /* Override any gcc2 internal prototype to avoid an error. */
23862 /* We use char because int might match the return type of a gcc2
23863 builtin and then its argument prototype would still apply. */
23865 /* The GNU C library defines this for functions which it implements
23866 to always fail with ENOSYS. Some functions are actually named
23867 something starting with __ and the normal name is an alias. */
23868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23871 char (*f) () = $ac_func;
23880 return f != $ac_func;
23885 rm -f conftest.
$ac_objext conftest
$ac_exeext
23886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23887 (eval $ac_link) 2>conftest.er1
23889 grep -v '^ *+' conftest.er1
>conftest.err
23891 cat conftest.err
>&5
23892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23893 (exit $ac_status); } &&
23894 { ac_try
='test -z "$ac_c_werror_flag"
23895 || test ! -s conftest.err'
23896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23897 (eval $ac_try) 2>&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); }; } &&
23901 { ac_try
='test -s conftest$ac_exeext'
23902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23903 (eval $ac_try) 2>&5
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); }; }; then
23907 eval "$as_ac_var=yes"
23909 echo "$as_me: failed program was:" >&5
23910 sed 's/^/| /' conftest.
$ac_ext >&5
23912 eval "$as_ac_var=no"
23914 rm -f conftest.err conftest.
$ac_objext \
23915 conftest
$ac_exeext conftest.
$ac_ext
23917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23919 if test `eval echo '${'$as_ac_var'}'` = yes; then
23920 cat >>confdefs.h
<<_ACEOF
23921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23927 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
23928 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
23929 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
23930 echo "$as_me:$LINENO: result: yes" >&5
23931 echo "${ECHO_T}yes" >&6
23933 echo "$as_me:$LINENO: result: no" >&5
23934 echo "${ECHO_T}no" >&6
23935 # not sure we should warn the user, crash, etc.
23940 ac_cpp
='$CXXCPP $CPPFLAGS'
23941 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23942 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23943 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23945 if test "wxUSE_UNICODE" = "yes"; then
23947 for wx_func
in wcstoull
23949 echo "$as_me:$LINENO: checking for $wx_func" >&5
23950 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
23951 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
23952 echo $ECHO_N "(cached) $ECHO_C" >&6
23955 cat >conftest.
$ac_ext <<_ACEOF
23959 cat confdefs.h
>>conftest.
$ac_ext
23960 cat >>conftest.
$ac_ext <<_ACEOF
23961 /* end confdefs.h. */
23964 $ac_includes_default
23980 rm -f conftest.
$ac_objext conftest
$ac_exeext
23981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23982 (eval $ac_link) 2>conftest.er1
23984 grep -v '^ *+' conftest.er1
>conftest.err
23986 cat conftest.err
>&5
23987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23988 (exit $ac_status); } &&
23989 { ac_try
='test -z "$ac_cxx_werror_flag"
23990 || test ! -s conftest.err'
23991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23992 (eval $ac_try) 2>&5
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); }; } &&
23996 { ac_try
='test -s conftest$ac_exeext'
23997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23998 (eval $ac_try) 2>&5
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); }; }; then
24002 eval wx_cv_func_
$wx_func=yes
24004 echo "$as_me: failed program was:" >&5
24005 sed 's/^/| /' conftest.
$ac_ext >&5
24007 eval wx_cv_func_
$wx_func=no
24009 rm -f conftest.err conftest.
$ac_objext \
24010 conftest
$ac_exeext conftest.
$ac_ext
24013 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24014 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24016 if eval test \
$wx_cv_func_$wx_func = yes
24018 cat >>confdefs.h
<<_ACEOF
24019 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24031 for wx_func
in strtoull
24033 echo "$as_me:$LINENO: checking for $wx_func" >&5
24034 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24035 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24036 echo $ECHO_N "(cached) $ECHO_C" >&6
24039 cat >conftest.
$ac_ext <<_ACEOF
24043 cat confdefs.h
>>conftest.
$ac_ext
24044 cat >>conftest.
$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24048 $ac_includes_default
24064 rm -f conftest.
$ac_objext conftest
$ac_exeext
24065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24066 (eval $ac_link) 2>conftest.er1
24068 grep -v '^ *+' conftest.er1
>conftest.err
24070 cat conftest.err
>&5
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); } &&
24073 { ac_try
='test -z "$ac_cxx_werror_flag"
24074 || test ! -s conftest.err'
24075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24076 (eval $ac_try) 2>&5
24078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24079 (exit $ac_status); }; } &&
24080 { ac_try
='test -s conftest$ac_exeext'
24081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24082 (eval $ac_try) 2>&5
24084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24085 (exit $ac_status); }; }; then
24086 eval wx_cv_func_
$wx_func=yes
24088 echo "$as_me: failed program was:" >&5
24089 sed 's/^/| /' conftest.
$ac_ext >&5
24091 eval wx_cv_func_
$wx_func=no
24093 rm -f conftest.err conftest.
$ac_objext \
24094 conftest
$ac_exeext conftest.
$ac_ext
24097 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24098 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24100 if eval test \
$wx_cv_func_$wx_func = yes
24102 cat >>confdefs.h
<<_ACEOF
24103 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24115 ac_cpp
='$CPP $CPPFLAGS'
24116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24123 if test "$wxUSE_REGEX" != "no"; then
24124 cat >>confdefs.h
<<\_ACEOF
24125 #define wxUSE_REGEX 1
24129 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24130 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24131 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24132 wxUSE_REGEX
=builtin
24135 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24136 echo "$as_me:$LINENO: checking for regex.h" >&5
24137 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24138 if test "${ac_cv_header_regex_h+set}" = set; then
24139 echo $ECHO_N "(cached) $ECHO_C" >&6
24141 cat >conftest.
$ac_ext <<_ACEOF
24144 cat confdefs.h
>>conftest.
$ac_ext
24145 cat >>conftest.
$ac_ext <<_ACEOF
24146 /* end confdefs.h. */
24151 rm -f conftest.
$ac_objext
24152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24153 (eval $ac_compile) 2>conftest.er1
24155 grep -v '^ *+' conftest.er1
>conftest.err
24157 cat conftest.err
>&5
24158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159 (exit $ac_status); } &&
24160 { ac_try
='test -z "$ac_c_werror_flag"
24161 || test ! -s conftest.err'
24162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24163 (eval $ac_try) 2>&5
24165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166 (exit $ac_status); }; } &&
24167 { ac_try
='test -s conftest.$ac_objext'
24168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24169 (eval $ac_try) 2>&5
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); }; }; then
24173 ac_cv_header_regex_h
=yes
24175 echo "$as_me: failed program was:" >&5
24176 sed 's/^/| /' conftest.
$ac_ext >&5
24178 ac_cv_header_regex_h
=no
24180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24182 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24183 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24184 if test $ac_cv_header_regex_h = yes; then
24187 for ac_func
in regcomp re_search
24189 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24190 echo "$as_me:$LINENO: checking for $ac_func" >&5
24191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24192 if eval "test \"\${$as_ac_var+set}\" = set"; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24195 cat >conftest.
$ac_ext <<_ACEOF
24198 cat confdefs.h
>>conftest.
$ac_ext
24199 cat >>conftest.
$ac_ext <<_ACEOF
24200 /* end confdefs.h. */
24201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24203 #define $ac_func innocuous_$ac_func
24205 /* System header to define __stub macros and hopefully few prototypes,
24206 which can conflict with char $ac_func (); below.
24207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24208 <limits.h> exists even on freestanding compilers. */
24211 # include <limits.h>
24213 # include <assert.h>
24218 /* Override any gcc2 internal prototype to avoid an error. */
24223 /* We use char because int might match the return type of a gcc2
24224 builtin and then its argument prototype would still apply. */
24226 /* The GNU C library defines this for functions which it implements
24227 to always fail with ENOSYS. Some functions are actually named
24228 something starting with __ and the normal name is an alias. */
24229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24232 char (*f) () = $ac_func;
24241 return f != $ac_func;
24246 rm -f conftest.
$ac_objext conftest
$ac_exeext
24247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24248 (eval $ac_link) 2>conftest.er1
24250 grep -v '^ *+' conftest.er1
>conftest.err
24252 cat conftest.err
>&5
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); } &&
24255 { ac_try
='test -z "$ac_c_werror_flag"
24256 || test ! -s conftest.err'
24257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24258 (eval $ac_try) 2>&5
24260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24261 (exit $ac_status); }; } &&
24262 { ac_try
='test -s conftest$ac_exeext'
24263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24264 (eval $ac_try) 2>&5
24266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267 (exit $ac_status); }; }; then
24268 eval "$as_ac_var=yes"
24270 echo "$as_me: failed program was:" >&5
24271 sed 's/^/| /' conftest.
$ac_ext >&5
24273 eval "$as_ac_var=no"
24275 rm -f conftest.err conftest.
$ac_objext \
24276 conftest
$ac_exeext conftest.
$ac_ext
24278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24280 if test `eval echo '${'$as_ac_var'}'` = yes; then
24281 cat >>confdefs.h
<<_ACEOF
24282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24292 if test "x$ac_cv_func_regcomp" != "xyes"; then
24293 if test "$wxUSE_REGEX" = "sys" ; then
24294 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24295 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24296 { (exit 1); exit 1; }; }
24298 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24299 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24300 wxUSE_REGEX
=builtin
24304 cat >>confdefs.h
<<\_ACEOF
24305 #define WX_NO_REGEX_ADVANCED 1
24314 if test "$wxUSE_ZLIB" != "no" ; then
24315 cat >>confdefs.h
<<\_ACEOF
24316 #define wxUSE_ZLIB 1
24320 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24321 if test "$USE_DARWIN" = 1; then
24322 system_zlib_h_ok
="yes"
24324 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24325 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24326 if test "${ac_cv_header_zlib_h+set}" = set; then
24327 echo $ECHO_N "(cached) $ECHO_C" >&6
24329 if test "$cross_compiling" = yes; then
24330 unset ac_cv_header_zlib_h
24333 cat >conftest.
$ac_ext <<_ACEOF
24336 cat confdefs.h
>>conftest.
$ac_ext
24337 cat >>conftest.
$ac_ext <<_ACEOF
24338 /* end confdefs.h. */
24345 FILE *f=fopen("conftestval", "w");
24348 ZLIB_VERSION[0] == '1' &&
24349 (ZLIB_VERSION[2] > '1' ||
24350 (ZLIB_VERSION[2] == '1' &&
24351 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24356 rm -f conftest
$ac_exeext
24357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24358 (eval $ac_link) 2>&5
24360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24361 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24363 (eval $ac_try) 2>&5
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); }; }; then
24367 ac_cv_header_zlib_h
=`cat conftestval`
24369 echo "$as_me: program exited with status $ac_status" >&5
24370 echo "$as_me: failed program was:" >&5
24371 sed 's/^/| /' conftest.
$ac_ext >&5
24373 ( exit $ac_status )
24374 ac_cv_header_zlib_h
=no
24376 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24380 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24381 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24382 echo "$as_me:$LINENO: checking for zlib.h" >&5
24383 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24384 if test "${ac_cv_header_zlib_h+set}" = set; then
24385 echo $ECHO_N "(cached) $ECHO_C" >&6
24387 cat >conftest.
$ac_ext <<_ACEOF
24390 cat confdefs.h
>>conftest.
$ac_ext
24391 cat >>conftest.
$ac_ext <<_ACEOF
24392 /* end confdefs.h. */
24397 rm -f conftest.
$ac_objext
24398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24399 (eval $ac_compile) 2>conftest.er1
24401 grep -v '^ *+' conftest.er1
>conftest.err
24403 cat conftest.err
>&5
24404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24405 (exit $ac_status); } &&
24406 { ac_try
='test -z "$ac_c_werror_flag"
24407 || test ! -s conftest.err'
24408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24409 (eval $ac_try) 2>&5
24411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24412 (exit $ac_status); }; } &&
24413 { ac_try
='test -s conftest.$ac_objext'
24414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24415 (eval $ac_try) 2>&5
24417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24418 (exit $ac_status); }; }; then
24419 ac_cv_header_zlib_h
=yes
24421 echo "$as_me: failed program was:" >&5
24422 sed 's/^/| /' conftest.
$ac_ext >&5
24424 ac_cv_header_zlib_h
=no
24426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24428 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24429 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24433 system_zlib_h_ok
=$ac_cv_header_zlib_h
24436 if test "$system_zlib_h_ok" = "yes"; then
24437 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24438 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24439 if test "${ac_cv_lib_z_deflate+set}" = set; then
24440 echo $ECHO_N "(cached) $ECHO_C" >&6
24442 ac_check_lib_save_LIBS
=$LIBS
24444 cat >conftest.
$ac_ext <<_ACEOF
24447 cat confdefs.h
>>conftest.
$ac_ext
24448 cat >>conftest.
$ac_ext <<_ACEOF
24449 /* end confdefs.h. */
24451 /* Override any gcc2 internal prototype to avoid an error. */
24455 /* We use char because int might match the return type of a gcc2
24456 builtin and then its argument prototype would still apply. */
24466 rm -f conftest.
$ac_objext conftest
$ac_exeext
24467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24468 (eval $ac_link) 2>conftest.er1
24470 grep -v '^ *+' conftest.er1
>conftest.err
24472 cat conftest.err
>&5
24473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24474 (exit $ac_status); } &&
24475 { ac_try
='test -z "$ac_c_werror_flag"
24476 || test ! -s conftest.err'
24477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24478 (eval $ac_try) 2>&5
24480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24481 (exit $ac_status); }; } &&
24482 { ac_try
='test -s conftest$ac_exeext'
24483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24484 (eval $ac_try) 2>&5
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); }; }; then
24488 ac_cv_lib_z_deflate
=yes
24490 echo "$as_me: failed program was:" >&5
24491 sed 's/^/| /' conftest.
$ac_ext >&5
24493 ac_cv_lib_z_deflate
=no
24495 rm -f conftest.err conftest.
$ac_objext \
24496 conftest
$ac_exeext conftest.
$ac_ext
24497 LIBS
=$ac_check_lib_save_LIBS
24499 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24500 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24501 if test $ac_cv_lib_z_deflate = yes; then
24507 if test "x$ZLIB_LINK" = "x" ; then
24508 if test "$wxUSE_ZLIB" = "sys" ; then
24509 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24510 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24511 { (exit 1); exit 1; }; }
24513 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24514 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24525 if test "$wxUSE_LIBPNG" != "no" ; then
24526 cat >>confdefs.h
<<\_ACEOF
24527 #define wxUSE_LIBPNG 1
24531 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24532 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24533 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24537 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24538 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24539 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24540 wxUSE_LIBPNG
=builtin
24543 if test "$wxUSE_MGL" != 1 ; then
24544 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24545 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24546 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24547 if test "${ac_cv_header_png_h+set}" = set; then
24548 echo $ECHO_N "(cached) $ECHO_C" >&6
24550 if test "$cross_compiling" = yes; then
24551 unset ac_cv_header_png_h
24554 cat >conftest.
$ac_ext <<_ACEOF
24557 cat confdefs.h
>>conftest.
$ac_ext
24558 cat >>conftest.
$ac_ext <<_ACEOF
24559 /* end confdefs.h. */
24566 FILE *f=fopen("conftestval", "w");
24569 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24574 rm -f conftest
$ac_exeext
24575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24576 (eval $ac_link) 2>&5
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24581 (eval $ac_try) 2>&5
24583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584 (exit $ac_status); }; }; then
24585 ac_cv_header_png_h
=`cat conftestval`
24587 echo "$as_me: program exited with status $ac_status" >&5
24588 echo "$as_me: failed program was:" >&5
24589 sed 's/^/| /' conftest.
$ac_ext >&5
24591 ( exit $ac_status )
24592 ac_cv_header_png_h
=no
24594 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24598 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24599 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24600 echo "$as_me:$LINENO: checking for png.h" >&5
24601 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24602 if test "${ac_cv_header_png_h+set}" = set; then
24603 echo $ECHO_N "(cached) $ECHO_C" >&6
24605 cat >conftest.
$ac_ext <<_ACEOF
24608 cat confdefs.h
>>conftest.
$ac_ext
24609 cat >>conftest.
$ac_ext <<_ACEOF
24610 /* end confdefs.h. */
24615 rm -f conftest.
$ac_objext
24616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24617 (eval $ac_compile) 2>conftest.er1
24619 grep -v '^ *+' conftest.er1
>conftest.err
24621 cat conftest.err
>&5
24622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); } &&
24624 { ac_try
='test -z "$ac_c_werror_flag"
24625 || test ! -s conftest.err'
24626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24627 (eval $ac_try) 2>&5
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); }; } &&
24631 { ac_try
='test -s conftest.$ac_objext'
24632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24633 (eval $ac_try) 2>&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); }; }; then
24637 ac_cv_header_png_h
=yes
24639 echo "$as_me: failed program was:" >&5
24640 sed 's/^/| /' conftest.
$ac_ext >&5
24642 ac_cv_header_png_h
=no
24644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24646 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24647 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24651 if test "$ac_cv_header_png_h" = "yes"; then
24652 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24653 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24654 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24655 echo $ECHO_N "(cached) $ECHO_C" >&6
24657 ac_check_lib_save_LIBS
=$LIBS
24658 LIBS
="-lpng -lz -lm $LIBS"
24659 cat >conftest.
$ac_ext <<_ACEOF
24662 cat confdefs.h
>>conftest.
$ac_ext
24663 cat >>conftest.
$ac_ext <<_ACEOF
24664 /* end confdefs.h. */
24666 /* Override any gcc2 internal prototype to avoid an error. */
24670 /* We use char because int might match the return type of a gcc2
24671 builtin and then its argument prototype would still apply. */
24672 char png_check_sig ();
24681 rm -f conftest.
$ac_objext conftest
$ac_exeext
24682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24683 (eval $ac_link) 2>conftest.er1
24685 grep -v '^ *+' conftest.er1
>conftest.err
24687 cat conftest.err
>&5
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); } &&
24690 { ac_try
='test -z "$ac_c_werror_flag"
24691 || test ! -s conftest.err'
24692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24693 (eval $ac_try) 2>&5
24695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696 (exit $ac_status); }; } &&
24697 { ac_try
='test -s conftest$ac_exeext'
24698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24699 (eval $ac_try) 2>&5
24701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24702 (exit $ac_status); }; }; then
24703 ac_cv_lib_png_png_check_sig
=yes
24705 echo "$as_me: failed program was:" >&5
24706 sed 's/^/| /' conftest.
$ac_ext >&5
24708 ac_cv_lib_png_png_check_sig
=no
24710 rm -f conftest.err conftest.
$ac_objext \
24711 conftest
$ac_exeext conftest.
$ac_ext
24712 LIBS
=$ac_check_lib_save_LIBS
24714 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24715 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24716 if test $ac_cv_lib_png_png_check_sig = yes; then
24717 PNG_LINK
=" -lpng -lz"
24722 if test "x$PNG_LINK" = "x" ; then
24723 if test "$wxUSE_LIBPNG" = "sys" ; then
24724 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24725 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24726 { (exit 1); exit 1; }; }
24728 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24729 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24730 wxUSE_LIBPNG
=builtin
24738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
24743 if test "$wxUSE_LIBJPEG" != "no" ; then
24744 cat >>confdefs.h
<<\_ACEOF
24745 #define wxUSE_LIBJPEG 1
24749 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24750 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24751 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24755 if test "$wxUSE_MGL" != 1 ; then
24756 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24757 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24758 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24759 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24760 echo $ECHO_N "(cached) $ECHO_C" >&6
24762 cat >conftest.
$ac_ext <<_ACEOF
24765 cat confdefs.h
>>conftest.
$ac_ext
24766 cat >>conftest.
$ac_ext <<_ACEOF
24767 /* end confdefs.h. */
24769 #undef HAVE_STDLIB_H
24771 #include <jpeglib.h>
24782 rm -f conftest.
$ac_objext
24783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24784 (eval $ac_compile) 2>conftest.er1
24786 grep -v '^ *+' conftest.er1
>conftest.err
24788 cat conftest.err
>&5
24789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24790 (exit $ac_status); } &&
24791 { ac_try
='test -z "$ac_c_werror_flag"
24792 || test ! -s conftest.err'
24793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24794 (eval $ac_try) 2>&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); }; } &&
24798 { ac_try
='test -s conftest.$ac_objext'
24799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24800 (eval $ac_try) 2>&5
24802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24803 (exit $ac_status); }; }; then
24804 ac_cv_header_jpeglib_h
=yes
24806 echo "$as_me: failed program was:" >&5
24807 sed 's/^/| /' conftest.
$ac_ext >&5
24809 ac_cv_header_jpeglib_h
=no
24812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24816 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24817 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24819 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24820 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24821 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24822 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24823 echo $ECHO_N "(cached) $ECHO_C" >&6
24825 ac_check_lib_save_LIBS
=$LIBS
24826 LIBS
="-ljpeg $LIBS"
24827 cat >conftest.
$ac_ext <<_ACEOF
24830 cat confdefs.h
>>conftest.
$ac_ext
24831 cat >>conftest.
$ac_ext <<_ACEOF
24832 /* end confdefs.h. */
24834 /* Override any gcc2 internal prototype to avoid an error. */
24838 /* We use char because int might match the return type of a gcc2
24839 builtin and then its argument prototype would still apply. */
24840 char jpeg_read_header ();
24844 jpeg_read_header ();
24849 rm -f conftest.
$ac_objext conftest
$ac_exeext
24850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24851 (eval $ac_link) 2>conftest.er1
24853 grep -v '^ *+' conftest.er1
>conftest.err
24855 cat conftest.err
>&5
24856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24857 (exit $ac_status); } &&
24858 { ac_try
='test -z "$ac_c_werror_flag"
24859 || test ! -s conftest.err'
24860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24861 (eval $ac_try) 2>&5
24863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24864 (exit $ac_status); }; } &&
24865 { ac_try
='test -s conftest$ac_exeext'
24866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24867 (eval $ac_try) 2>&5
24869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870 (exit $ac_status); }; }; then
24871 ac_cv_lib_jpeg_jpeg_read_header
=yes
24873 echo "$as_me: failed program was:" >&5
24874 sed 's/^/| /' conftest.
$ac_ext >&5
24876 ac_cv_lib_jpeg_jpeg_read_header
=no
24878 rm -f conftest.err conftest.
$ac_objext \
24879 conftest
$ac_exeext conftest.
$ac_ext
24880 LIBS
=$ac_check_lib_save_LIBS
24882 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24883 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24884 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24885 JPEG_LINK
=" -ljpeg"
24890 if test "x$JPEG_LINK" = "x" ; then
24891 if test "$wxUSE_LIBJPEG" = "sys" ; then
24892 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24893 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24894 { (exit 1); exit 1; }; }
24896 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24897 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24898 wxUSE_LIBJPEG
=builtin
24903 if test "$wxUSE_MSW" = 1; then
24904 echo "$as_me:$LINENO: checking for boolean" >&5
24905 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
24906 if test "${ac_cv_type_boolean+set}" = set; then
24907 echo $ECHO_N "(cached) $ECHO_C" >&6
24909 cat >conftest.
$ac_ext <<_ACEOF
24912 cat confdefs.h
>>conftest.
$ac_ext
24913 cat >>conftest.
$ac_ext <<_ACEOF
24914 /* end confdefs.h. */
24915 #include <windows.h>
24922 if (sizeof (boolean))
24928 rm -f conftest.
$ac_objext
24929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24930 (eval $ac_compile) 2>conftest.er1
24932 grep -v '^ *+' conftest.er1
>conftest.err
24934 cat conftest.err
>&5
24935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24936 (exit $ac_status); } &&
24937 { ac_try
='test -z "$ac_c_werror_flag"
24938 || test ! -s conftest.err'
24939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24940 (eval $ac_try) 2>&5
24942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24943 (exit $ac_status); }; } &&
24944 { ac_try
='test -s conftest.$ac_objext'
24945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24946 (eval $ac_try) 2>&5
24948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949 (exit $ac_status); }; }; then
24950 ac_cv_type_boolean
=yes
24952 echo "$as_me: failed program was:" >&5
24953 sed 's/^/| /' conftest.
$ac_ext >&5
24955 ac_cv_type_boolean
=no
24957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24959 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
24960 echo "${ECHO_T}$ac_cv_type_boolean" >&6
24961 if test $ac_cv_type_boolean = yes; then
24963 cat >>confdefs.h
<<_ACEOF
24964 #define HAVE_BOOLEAN 1
24968 echo "$as_me:$LINENO: checking for boolean" >&5
24969 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
24970 if test "${ac_cv_type_boolean+set}" = set; then
24971 echo $ECHO_N "(cached) $ECHO_C" >&6
24973 cat >conftest.
$ac_ext <<_ACEOF
24976 cat confdefs.h
>>conftest.
$ac_ext
24977 cat >>conftest.
$ac_ext <<_ACEOF
24978 /* end confdefs.h. */
24980 #undef HAVE_BOOLEAN
24982 #include <jpeglib.h>
24990 if (sizeof (boolean))
24996 rm -f conftest.
$ac_objext
24997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24998 (eval $ac_compile) 2>conftest.er1
25000 grep -v '^ *+' conftest.er1
>conftest.err
25002 cat conftest.err
>&5
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); } &&
25005 { ac_try
='test -z "$ac_c_werror_flag"
25006 || test ! -s conftest.err'
25007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25008 (eval $ac_try) 2>&5
25010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25011 (exit $ac_status); }; } &&
25012 { ac_try
='test -s conftest.$ac_objext'
25013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25014 (eval $ac_try) 2>&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); }; }; then
25018 ac_cv_type_boolean
=yes
25020 echo "$as_me: failed program was:" >&5
25021 sed 's/^/| /' conftest.
$ac_ext >&5
25023 ac_cv_type_boolean
=no
25025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25027 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25028 echo "${ECHO_T}$ac_cv_type_boolean" >&6
25030 echo "$as_me:$LINENO: checking size of boolean" >&5
25031 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
25032 if test "${ac_cv_sizeof_boolean+set}" = set; then
25033 echo $ECHO_N "(cached) $ECHO_C" >&6
25035 if test "$ac_cv_type_boolean" = yes; then
25036 # The cast to unsigned long works around a bug in the HP C Compiler
25037 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25038 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25039 # This bug is HP SR number 8606223364.
25040 if test "$cross_compiling" = yes; then
25041 # Depending upon the size, compute the lo and hi bounds.
25042 cat >conftest.
$ac_ext <<_ACEOF
25045 cat confdefs.h
>>conftest.
$ac_ext
25046 cat >>conftest.
$ac_ext <<_ACEOF
25047 /* end confdefs.h. */
25049 #undef HAVE_BOOLEAN
25051 #include <jpeglib.h>
25057 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
25064 rm -f conftest.
$ac_objext
25065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25066 (eval $ac_compile) 2>conftest.er1
25068 grep -v '^ *+' conftest.er1
>conftest.err
25070 cat conftest.err
>&5
25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072 (exit $ac_status); } &&
25073 { ac_try
='test -z "$ac_c_werror_flag"
25074 || test ! -s conftest.err'
25075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076 (eval $ac_try) 2>&5
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); }; } &&
25080 { ac_try
='test -s conftest.$ac_objext'
25081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25082 (eval $ac_try) 2>&5
25084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25085 (exit $ac_status); }; }; then
25088 cat >conftest.
$ac_ext <<_ACEOF
25091 cat confdefs.h
>>conftest.
$ac_ext
25092 cat >>conftest.
$ac_ext <<_ACEOF
25093 /* end confdefs.h. */
25095 #undef HAVE_BOOLEAN
25097 #include <jpeglib.h>
25103 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
25110 rm -f conftest.
$ac_objext
25111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25112 (eval $ac_compile) 2>conftest.er1
25114 grep -v '^ *+' conftest.er1
>conftest.err
25116 cat conftest.err
>&5
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); } &&
25119 { ac_try
='test -z "$ac_c_werror_flag"
25120 || test ! -s conftest.err'
25121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25122 (eval $ac_try) 2>&5
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); }; } &&
25126 { ac_try
='test -s conftest.$ac_objext'
25127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25128 (eval $ac_try) 2>&5
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); }; }; then
25132 ac_hi
=$ac_mid; break
25134 echo "$as_me: failed program was:" >&5
25135 sed 's/^/| /' conftest.
$ac_ext >&5
25137 ac_lo
=`expr $ac_mid + 1`
25138 if test $ac_lo -le $ac_mid; then
25142 ac_mid
=`expr 2 '*' $ac_mid + 1`
25144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25147 echo "$as_me: failed program was:" >&5
25148 sed 's/^/| /' conftest.
$ac_ext >&5
25150 cat >conftest.
$ac_ext <<_ACEOF
25153 cat confdefs.h
>>conftest.
$ac_ext
25154 cat >>conftest.
$ac_ext <<_ACEOF
25155 /* end confdefs.h. */
25157 #undef HAVE_BOOLEAN
25159 #include <jpeglib.h>
25165 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
25172 rm -f conftest.
$ac_objext
25173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25174 (eval $ac_compile) 2>conftest.er1
25176 grep -v '^ *+' conftest.er1
>conftest.err
25178 cat conftest.err
>&5
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); } &&
25181 { ac_try
='test -z "$ac_c_werror_flag"
25182 || test ! -s conftest.err'
25183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25184 (eval $ac_try) 2>&5
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); }; } &&
25188 { ac_try
='test -s conftest.$ac_objext'
25189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25190 (eval $ac_try) 2>&5
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); }; }; then
25196 cat >conftest.
$ac_ext <<_ACEOF
25199 cat confdefs.h
>>conftest.
$ac_ext
25200 cat >>conftest.
$ac_ext <<_ACEOF
25201 /* end confdefs.h. */
25203 #undef HAVE_BOOLEAN
25205 #include <jpeglib.h>
25211 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
25218 rm -f conftest.
$ac_objext
25219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25220 (eval $ac_compile) 2>conftest.er1
25222 grep -v '^ *+' conftest.er1
>conftest.err
25224 cat conftest.err
>&5
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); } &&
25227 { ac_try
='test -z "$ac_c_werror_flag"
25228 || test ! -s conftest.err'
25229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25230 (eval $ac_try) 2>&5
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); }; } &&
25234 { ac_try
='test -s conftest.$ac_objext'
25235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25236 (eval $ac_try) 2>&5
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); }; }; then
25240 ac_lo
=$ac_mid; break
25242 echo "$as_me: failed program was:" >&5
25243 sed 's/^/| /' conftest.
$ac_ext >&5
25245 ac_hi
=`expr '(' $ac_mid ')' - 1`
25246 if test $ac_mid -le $ac_hi; then
25250 ac_mid
=`expr 2 '*' $ac_mid`
25252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25255 echo "$as_me: failed program was:" >&5
25256 sed 's/^/| /' conftest.
$ac_ext >&5
25260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25263 # Binary search between lo and hi bounds.
25264 while test "x$ac_lo" != "x$ac_hi"; do
25265 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25266 cat >conftest.
$ac_ext <<_ACEOF
25269 cat confdefs.h
>>conftest.
$ac_ext
25270 cat >>conftest.
$ac_ext <<_ACEOF
25271 /* end confdefs.h. */
25273 #undef HAVE_BOOLEAN
25275 #include <jpeglib.h>
25281 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
25288 rm -f conftest.
$ac_objext
25289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25290 (eval $ac_compile) 2>conftest.er1
25292 grep -v '^ *+' conftest.er1
>conftest.err
25294 cat conftest.err
>&5
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); } &&
25297 { ac_try
='test -z "$ac_c_werror_flag"
25298 || test ! -s conftest.err'
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); }; } &&
25304 { ac_try
='test -s conftest.$ac_objext'
25305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25306 (eval $ac_try) 2>&5
25308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309 (exit $ac_status); }; }; then
25312 echo "$as_me: failed program was:" >&5
25313 sed 's/^/| /' conftest.
$ac_ext >&5
25315 ac_lo
=`expr '(' $ac_mid ')' + 1`
25317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25320 ?
*) ac_cv_sizeof_boolean
=$ac_lo;;
25321 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
25322 See \`config.log' for more details." >&5
25323 echo "$as_me: error: cannot compute sizeof (boolean), 77
25324 See \`config.log' for more details." >&2;}
25325 { (exit 1); exit 1; }; } ;;
25328 if test "$cross_compiling" = yes; then
25329 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25330 See \`config.log' for more details." >&5
25331 echo "$as_me: error: cannot run test program while cross compiling
25332 See \`config.log' for more details." >&2;}
25333 { (exit 1); exit 1; }; }
25335 cat >conftest.
$ac_ext <<_ACEOF
25338 cat confdefs.h
>>conftest.
$ac_ext
25339 cat >>conftest.
$ac_ext <<_ACEOF
25340 /* end confdefs.h. */
25342 #undef HAVE_BOOLEAN
25344 #include <jpeglib.h>
25347 long longval () { return (long) (sizeof (boolean)); }
25348 unsigned long ulongval () { return (long) (sizeof (boolean)); }
25350 #include <stdlib.h>
25355 FILE *f = fopen ("conftest.val", "w");
25358 if (((long) (sizeof (boolean))) < 0)
25360 long i = longval ();
25361 if (i != ((long) (sizeof (boolean))))
25363 fprintf (f, "%ld\n", i);
25367 unsigned long i = ulongval ();
25368 if (i != ((long) (sizeof (boolean))))
25370 fprintf (f, "%lu\n", i);
25372 exit (ferror (f) || fclose (f) != 0);
25378 rm -f conftest
$ac_exeext
25379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25380 (eval $ac_link) 2>&5
25382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25383 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25385 (eval $ac_try) 2>&5
25387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388 (exit $ac_status); }; }; then
25389 ac_cv_sizeof_boolean
=`cat conftest.val`
25391 echo "$as_me: program exited with status $ac_status" >&5
25392 echo "$as_me: failed program was:" >&5
25393 sed 's/^/| /' conftest.
$ac_ext >&5
25395 ( exit $ac_status )
25396 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
25397 See \`config.log' for more details." >&5
25398 echo "$as_me: error: cannot compute sizeof (boolean), 77
25399 See \`config.log' for more details." >&2;}
25400 { (exit 1); exit 1; }; }
25402 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25407 ac_cv_sizeof_boolean
=0
25410 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
25411 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
25412 cat >>confdefs.h
<<_ACEOF
25413 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
25417 cat >>confdefs.h
<<_ACEOF
25418 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
25432 TIFF_PREREQ_LINKS
=-lm
25433 if test "$wxUSE_LIBTIFF" != "no" ; then
25434 cat >>confdefs.h
<<\_ACEOF
25435 #define wxUSE_LIBTIFF 1
25439 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25440 if test "$wxUSE_LIBJPEG" = "sys"; then
25441 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
25443 if test "$wxUSE_ZLIB" = "sys"; then
25444 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25446 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25447 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25448 if test "${ac_cv_header_tiffio_h+set}" = set; then
25449 echo $ECHO_N "(cached) $ECHO_C" >&6
25451 cat >conftest.
$ac_ext <<_ACEOF
25454 cat confdefs.h
>>conftest.
$ac_ext
25455 cat >>conftest.
$ac_ext <<_ACEOF
25456 /* end confdefs.h. */
25460 #include <tiffio.h>
25462 rm -f conftest.
$ac_objext
25463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25464 (eval $ac_compile) 2>conftest.er1
25466 grep -v '^ *+' conftest.er1
>conftest.err
25468 cat conftest.err
>&5
25469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25470 (exit $ac_status); } &&
25471 { ac_try
='test -z "$ac_c_werror_flag"
25472 || test ! -s conftest.err'
25473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25474 (eval $ac_try) 2>&5
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); }; } &&
25478 { ac_try
='test -s conftest.$ac_objext'
25479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25480 (eval $ac_try) 2>&5
25482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25483 (exit $ac_status); }; }; then
25484 ac_cv_header_tiffio_h
=yes
25486 echo "$as_me: failed program was:" >&5
25487 sed 's/^/| /' conftest.
$ac_ext >&5
25489 ac_cv_header_tiffio_h
=no
25491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25493 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25494 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25495 if test $ac_cv_header_tiffio_h = yes; then
25497 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25498 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25499 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25500 echo $ECHO_N "(cached) $ECHO_C" >&6
25502 ac_check_lib_save_LIBS
=$LIBS
25503 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25504 cat >conftest.
$ac_ext <<_ACEOF
25507 cat confdefs.h
>>conftest.
$ac_ext
25508 cat >>conftest.
$ac_ext <<_ACEOF
25509 /* end confdefs.h. */
25511 /* Override any gcc2 internal prototype to avoid an error. */
25515 /* We use char because int might match the return type of a gcc2
25516 builtin and then its argument prototype would still apply. */
25526 rm -f conftest.
$ac_objext conftest
$ac_exeext
25527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25528 (eval $ac_link) 2>conftest.er1
25530 grep -v '^ *+' conftest.er1
>conftest.err
25532 cat conftest.err
>&5
25533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25534 (exit $ac_status); } &&
25535 { ac_try
='test -z "$ac_c_werror_flag"
25536 || test ! -s conftest.err'
25537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25538 (eval $ac_try) 2>&5
25540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541 (exit $ac_status); }; } &&
25542 { ac_try
='test -s conftest$ac_exeext'
25543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25544 (eval $ac_try) 2>&5
25546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25547 (exit $ac_status); }; }; then
25548 ac_cv_lib_tiff_TIFFError
=yes
25550 echo "$as_me: failed program was:" >&5
25551 sed 's/^/| /' conftest.
$ac_ext >&5
25553 ac_cv_lib_tiff_TIFFError
=no
25555 rm -f conftest.err conftest.
$ac_objext \
25556 conftest
$ac_exeext conftest.
$ac_ext
25557 LIBS
=$ac_check_lib_save_LIBS
25559 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25560 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25561 if test $ac_cv_lib_tiff_TIFFError = yes; then
25562 TIFF_LINK
=" -ltiff"
25570 if test "x$TIFF_LINK" = "x" ; then
25571 if test "$wxUSE_LIBTIFF" = "sys" ; then
25572 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25573 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25574 { (exit 1); exit 1; }; }
25576 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25577 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25578 wxUSE_LIBTIFF
=builtin
25587 if test "$wxUSE_WCHAR_T" != "yes"; then
25588 if test "$wxUSE_EXPAT" != "no"; then
25589 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25590 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25593 if test "$wxUSE_XML" != "no"; then
25594 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25595 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25600 if test "$wxUSE_EXPAT" != "no"; then
25602 cat >>confdefs.h
<<\_ACEOF
25603 #define wxUSE_EXPAT 1
25606 cat >>confdefs.h
<<\_ACEOF
25607 #define wxUSE_XML 1
25611 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25612 echo "$as_me:$LINENO: checking for expat.h" >&5
25613 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25614 if test "${ac_cv_header_expat_h+set}" = set; then
25615 echo $ECHO_N "(cached) $ECHO_C" >&6
25617 cat >conftest.
$ac_ext <<_ACEOF
25620 cat confdefs.h
>>conftest.
$ac_ext
25621 cat >>conftest.
$ac_ext <<_ACEOF
25622 /* end confdefs.h. */
25627 rm -f conftest.
$ac_objext
25628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25629 (eval $ac_compile) 2>conftest.er1
25631 grep -v '^ *+' conftest.er1
>conftest.err
25633 cat conftest.err
>&5
25634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635 (exit $ac_status); } &&
25636 { ac_try
='test -z "$ac_c_werror_flag"
25637 || test ! -s conftest.err'
25638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25639 (eval $ac_try) 2>&5
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); }; } &&
25643 { ac_try
='test -s conftest.$ac_objext'
25644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25645 (eval $ac_try) 2>&5
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); }; }; then
25649 ac_cv_header_expat_h
=yes
25651 echo "$as_me: failed program was:" >&5
25652 sed 's/^/| /' conftest.
$ac_ext >&5
25654 ac_cv_header_expat_h
=no
25656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25658 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25659 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25660 if test $ac_cv_header_expat_h = yes; then
25665 if test "x$found_expat_h" = "x1"; then
25666 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25667 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25668 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25669 echo $ECHO_N "(cached) $ECHO_C" >&6
25673 ac_cpp
='$CXXCPP $CPPFLAGS'
25674 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25675 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25676 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25678 cat >conftest.
$ac_ext <<_ACEOF
25681 cat confdefs.h
>>conftest.
$ac_ext
25682 cat >>conftest.
$ac_ext <<_ACEOF
25683 /* end confdefs.h. */
25693 rm -f conftest.
$ac_objext
25694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25695 (eval $ac_compile) 2>conftest.er1
25697 grep -v '^ *+' conftest.er1
>conftest.err
25699 cat conftest.err
>&5
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); } &&
25702 { ac_try
='test -z "$ac_cxx_werror_flag"
25703 || test ! -s conftest.err'
25704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25705 (eval $ac_try) 2>&5
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); }; } &&
25709 { ac_try
='test -s conftest.$ac_objext'
25710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25711 (eval $ac_try) 2>&5
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); }; }; then
25715 wx_cv_expat_is_not_broken
=yes
25717 echo "$as_me: failed program was:" >&5
25718 sed 's/^/| /' conftest.
$ac_ext >&5
25720 wx_cv_expat_is_not_broken
=no
25723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25725 ac_cpp
='$CPP $CPPFLAGS'
25726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25733 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25734 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25735 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25736 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25737 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25738 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25739 echo $ECHO_N "(cached) $ECHO_C" >&6
25741 ac_check_lib_save_LIBS
=$LIBS
25742 LIBS
="-lexpat $LIBS"
25743 cat >conftest.
$ac_ext <<_ACEOF
25746 cat confdefs.h
>>conftest.
$ac_ext
25747 cat >>conftest.
$ac_ext <<_ACEOF
25748 /* end confdefs.h. */
25750 /* Override any gcc2 internal prototype to avoid an error. */
25754 /* We use char because int might match the return type of a gcc2
25755 builtin and then its argument prototype would still apply. */
25756 char XML_ParserCreate ();
25760 XML_ParserCreate ();
25765 rm -f conftest.
$ac_objext conftest
$ac_exeext
25766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25767 (eval $ac_link) 2>conftest.er1
25769 grep -v '^ *+' conftest.er1
>conftest.err
25771 cat conftest.err
>&5
25772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773 (exit $ac_status); } &&
25774 { ac_try
='test -z "$ac_c_werror_flag"
25775 || test ! -s conftest.err'
25776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25777 (eval $ac_try) 2>&5
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); }; } &&
25781 { ac_try
='test -s conftest$ac_exeext'
25782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25783 (eval $ac_try) 2>&5
25785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786 (exit $ac_status); }; }; then
25787 ac_cv_lib_expat_XML_ParserCreate
=yes
25789 echo "$as_me: failed program was:" >&5
25790 sed 's/^/| /' conftest.
$ac_ext >&5
25792 ac_cv_lib_expat_XML_ParserCreate
=no
25794 rm -f conftest.err conftest.
$ac_objext \
25795 conftest
$ac_exeext conftest.
$ac_ext
25796 LIBS
=$ac_check_lib_save_LIBS
25798 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25799 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25800 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25801 EXPAT_LINK
=" -lexpat"
25806 if test "x$EXPAT_LINK" = "x" ; then
25807 if test "$wxUSE_EXPAT" = "sys" ; then
25808 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25809 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25810 { (exit 1); exit 1; }; }
25812 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25813 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25814 wxUSE_EXPAT
=builtin
25820 if test "$wxUSE_EXPAT" = "builtin" ; then
25823 subdirs
="$subdirs src/expat"
25830 if test "$wxUSE_LIBMSPACK" != "no"; then
25831 echo "$as_me:$LINENO: checking for mspack.h" >&5
25832 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25833 if test "${ac_cv_header_mspack_h+set}" = set; then
25834 echo $ECHO_N "(cached) $ECHO_C" >&6
25836 cat >conftest.
$ac_ext <<_ACEOF
25839 cat confdefs.h
>>conftest.
$ac_ext
25840 cat >>conftest.
$ac_ext <<_ACEOF
25841 /* end confdefs.h. */
25844 #include <mspack.h>
25846 rm -f conftest.
$ac_objext
25847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25848 (eval $ac_compile) 2>conftest.er1
25850 grep -v '^ *+' conftest.er1
>conftest.err
25852 cat conftest.err
>&5
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); } &&
25855 { ac_try
='test -z "$ac_c_werror_flag"
25856 || test ! -s conftest.err'
25857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25858 (eval $ac_try) 2>&5
25860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861 (exit $ac_status); }; } &&
25862 { ac_try
='test -s conftest.$ac_objext'
25863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25864 (eval $ac_try) 2>&5
25866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867 (exit $ac_status); }; }; then
25868 ac_cv_header_mspack_h
=yes
25870 echo "$as_me: failed program was:" >&5
25871 sed 's/^/| /' conftest.
$ac_ext >&5
25873 ac_cv_header_mspack_h
=no
25875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25877 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25878 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25879 if test $ac_cv_header_mspack_h = yes; then
25884 if test "x$found_mspack_h" = "x1"; then
25885 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25886 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25887 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25888 echo $ECHO_N "(cached) $ECHO_C" >&6
25890 ac_check_lib_save_LIBS
=$LIBS
25891 LIBS
="-lmspack $LIBS"
25892 cat >conftest.
$ac_ext <<_ACEOF
25895 cat confdefs.h
>>conftest.
$ac_ext
25896 cat >>conftest.
$ac_ext <<_ACEOF
25897 /* end confdefs.h. */
25899 /* Override any gcc2 internal prototype to avoid an error. */
25903 /* We use char because int might match the return type of a gcc2
25904 builtin and then its argument prototype would still apply. */
25905 char mspack_create_chm_decompressor ();
25909 mspack_create_chm_decompressor ();
25914 rm -f conftest.
$ac_objext conftest
$ac_exeext
25915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25916 (eval $ac_link) 2>conftest.er1
25918 grep -v '^ *+' conftest.er1
>conftest.err
25920 cat conftest.err
>&5
25921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922 (exit $ac_status); } &&
25923 { ac_try
='test -z "$ac_c_werror_flag"
25924 || test ! -s conftest.err'
25925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25926 (eval $ac_try) 2>&5
25928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25929 (exit $ac_status); }; } &&
25930 { ac_try
='test -s conftest$ac_exeext'
25931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25932 (eval $ac_try) 2>&5
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); }; }; then
25936 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
25938 echo "$as_me: failed program was:" >&5
25939 sed 's/^/| /' conftest.
$ac_ext >&5
25941 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
25943 rm -f conftest.err conftest.
$ac_objext \
25944 conftest
$ac_exeext conftest.
$ac_ext
25945 LIBS
=$ac_check_lib_save_LIBS
25947 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25948 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25949 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25950 MSPACK_LINK
=" -lmspack"
25954 if test "x$MSPACK_LINK" = "x" ; then
25959 if test "$wxUSE_LIBMSPACK" != "no"; then
25960 cat >>confdefs.h
<<\_ACEOF
25961 #define wxUSE_LIBMSPACK 1
25975 if test "$USE_WIN32" = 1 ; then
25976 echo "$as_me:$LINENO: checking for w32api.h" >&5
25977 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6
25978 if test "${ac_cv_header_w32api_h+set}" = set; then
25979 echo $ECHO_N "(cached) $ECHO_C" >&6
25981 cat >conftest.
$ac_ext <<_ACEOF
25984 cat confdefs.h
>>conftest.
$ac_ext
25985 cat >>conftest.
$ac_ext <<_ACEOF
25986 /* end confdefs.h. */
25989 #include <w32api.h>
25991 rm -f conftest.
$ac_objext
25992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25993 (eval $ac_compile) 2>conftest.er1
25995 grep -v '^ *+' conftest.er1
>conftest.err
25997 cat conftest.err
>&5
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); } &&
26000 { ac_try
='test -z "$ac_c_werror_flag"
26001 || test ! -s conftest.err'
26002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26003 (eval $ac_try) 2>&5
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); }; } &&
26007 { ac_try
='test -s conftest.$ac_objext'
26008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26009 (eval $ac_try) 2>&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); }; }; then
26013 ac_cv_header_w32api_h
=yes
26015 echo "$as_me: failed program was:" >&5
26016 sed 's/^/| /' conftest.
$ac_ext >&5
26018 ac_cv_header_w32api_h
=no
26020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26022 echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26023 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6
26026 echo "$as_me:$LINENO: checking for windows.h" >&5
26027 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26028 if test "${ac_cv_header_windows_h+set}" = set; then
26029 echo $ECHO_N "(cached) $ECHO_C" >&6
26031 cat >conftest.
$ac_ext <<_ACEOF
26034 cat confdefs.h
>>conftest.
$ac_ext
26035 cat >>conftest.
$ac_ext <<_ACEOF
26036 /* end confdefs.h. */
26039 #include <windows.h>
26041 rm -f conftest.
$ac_objext
26042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26043 (eval $ac_compile) 2>conftest.er1
26045 grep -v '^ *+' conftest.er1
>conftest.err
26047 cat conftest.err
>&5
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); } &&
26050 { ac_try
='test -z "$ac_c_werror_flag"
26051 || test ! -s conftest.err'
26052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26053 (eval $ac_try) 2>&5
26055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26056 (exit $ac_status); }; } &&
26057 { ac_try
='test -s conftest.$ac_objext'
26058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26059 (eval $ac_try) 2>&5
26061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26062 (exit $ac_status); }; }; then
26063 ac_cv_header_windows_h
=yes
26065 echo "$as_me: failed program was:" >&5
26066 sed 's/^/| /' conftest.
$ac_ext >&5
26068 ac_cv_header_windows_h
=no
26070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26072 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26073 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26074 if test $ac_cv_header_windows_h = yes; then
26078 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26079 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26080 { (exit 1); exit 1; }; }
26086 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26088 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26089 LIBS
="$LIBS -loleacc"
26094 LIBS
="$LIBS -lkernel32 -luser32"
26097 if test "$wxUSE_ODBC" = "sys" ; then
26100 if test "$wxUSE_ODBC" = "yes" ; then
26101 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26102 cat >>confdefs.h
<<\_ACEOF
26103 #define wxUSE_ODBC 1
26108 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26109 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26111 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26113 WIN32INSTALL
=win32install
26115 echo "$as_me:$LINENO: checking for pbt.h" >&5
26116 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6
26117 if test "${ac_cv_header_pbt_h+set}" = set; then
26118 echo $ECHO_N "(cached) $ECHO_C" >&6
26120 cat >conftest.
$ac_ext <<_ACEOF
26123 cat confdefs.h
>>conftest.
$ac_ext
26124 cat >>conftest.
$ac_ext <<_ACEOF
26125 /* end confdefs.h. */
26130 rm -f conftest.
$ac_objext
26131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26132 (eval $ac_compile) 2>conftest.er1
26134 grep -v '^ *+' conftest.er1
>conftest.err
26136 cat conftest.err
>&5
26137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26138 (exit $ac_status); } &&
26139 { ac_try
='test -z "$ac_c_werror_flag"
26140 || test ! -s conftest.err'
26141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26142 (eval $ac_try) 2>&5
26144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26145 (exit $ac_status); }; } &&
26146 { ac_try
='test -s conftest.$ac_objext'
26147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26148 (eval $ac_try) 2>&5
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); }; }; then
26152 ac_cv_header_pbt_h
=yes
26154 echo "$as_me: failed program was:" >&5
26155 sed 's/^/| /' conftest.
$ac_ext >&5
26157 ac_cv_header_pbt_h
=no
26159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26161 echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26162 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6
26163 if test $ac_cv_header_pbt_h = yes; then
26166 cat >>confdefs.h
<<\_ACEOF
26167 #define NEED_PBT_H 1
26175 if test "$wxUSE_GUI" = "yes"; then
26185 if test "$wxUSE_COCOA" = 1 ; then
26186 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26187 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26188 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26189 wxUSE_PRINTING_ARCHITECTURE
=no
26191 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26192 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26193 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26194 wxUSE_DRAG_AND_DROP
=no
26196 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26197 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26198 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26203 if test "$wxUSE_MSW" = 1 ; then
26209 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26213 if test "$wxUSE_GTK" = 1; then
26214 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26215 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26217 gtk_version_cached
=1
26218 if test "${wx_cv_lib_gtk+set}" = set; then
26219 echo $ECHO_N "(cached) $ECHO_C" >&6
26222 gtk_version_cached
=0
26223 echo "$as_me:$LINENO: result: " >&5
26224 echo "${ECHO_T}" >&6
26227 if test "$wxUSE_THREADS" = "yes"; then
26228 GTK_MODULES
=gthread
26232 if test "x$wxGTK_VERSION" != "x1"
26236 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26241 # Check whether --enable-gtktest or --disable-gtktest was given.
26242 if test "${enable_gtktest+set}" = set; then
26243 enableval
="$enable_gtktest"
26249 pkg_config_args
=gtk
+-2.0
26250 for module
in .
$GTK_MODULES
26254 pkg_config_args
="$pkg_config_args gthread-2.0"
26261 # Extract the first word of "pkg-config", so it can be a program name with args.
26262 set dummy pkg
-config; ac_word
=$2
26263 echo "$as_me:$LINENO: checking for $ac_word" >&5
26264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26265 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26266 echo $ECHO_N "(cached) $ECHO_C" >&6
26268 case $PKG_CONFIG in
26270 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26274 for as_dir
in $PATH
26277 test -z "$as_dir" && as_dir
=.
26278 for ac_exec_ext
in '' $ac_executable_extensions; do
26279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26280 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26287 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26291 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26293 if test -n "$PKG_CONFIG"; then
26294 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26295 echo "${ECHO_T}$PKG_CONFIG" >&6
26297 echo "$as_me:$LINENO: result: no" >&5
26298 echo "${ECHO_T}no" >&6
26302 if test x
$PKG_CONFIG != xno
; then
26303 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
26306 echo "*** pkg-config too old; version 0.7 or better required."
26314 min_gtk_version
=2.0.0
26315 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26316 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26318 if test x
$PKG_CONFIG != xno
; then
26319 ## don't try to run the test against uninstalled libtool libs
26320 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26321 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26325 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26332 if test x
"$no_gtk" = x
; then
26333 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26334 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26335 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26336 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26337 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26338 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26339 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26340 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26341 if test "x$enable_gtktest" = "xyes" ; then
26342 ac_save_CFLAGS
="$CFLAGS"
26343 ac_save_LIBS
="$LIBS"
26344 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26345 LIBS
="$GTK_LIBS $LIBS"
26347 if test "$cross_compiling" = yes; then
26348 echo $ac_n "cross compiling; assumed OK... $ac_c"
26350 cat >conftest.
$ac_ext <<_ACEOF
26353 cat confdefs.h
>>conftest.
$ac_ext
26354 cat >>conftest.
$ac_ext <<_ACEOF
26355 /* end confdefs.h. */
26357 #include <gtk/gtk.h>
26359 #include <stdlib.h>
26364 int major, minor, micro;
26367 system ("touch conf.gtktest");
26369 /* HP/UX 9 (%@#!) writes to sscanf strings */
26370 tmp_version = g_strdup("$min_gtk_version");
26371 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26372 printf("%s, bad version string\n", "$min_gtk_version");
26376 if ((gtk_major_version != $gtk_config_major_version) ||
26377 (gtk_minor_version != $gtk_config_minor_version) ||
26378 (gtk_micro_version != $gtk_config_micro_version))
26380 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26381 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26382 gtk_major_version, gtk_minor_version, gtk_micro_version);
26383 printf ("*** was found! If pkg-config was correct, then it is best\n");
26384 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26385 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26386 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26387 printf("*** required on your system.\n");
26388 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26389 printf("*** to point to the correct configuration files\n");
26391 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26392 (gtk_minor_version != GTK_MINOR_VERSION) ||
26393 (gtk_micro_version != GTK_MICRO_VERSION))
26395 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26396 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26397 printf("*** library (version %d.%d.%d)\n",
26398 gtk_major_version, gtk_minor_version, gtk_micro_version);
26402 if ((gtk_major_version > major) ||
26403 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26404 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26410 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26411 gtk_major_version, gtk_minor_version, gtk_micro_version);
26412 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26413 major, minor, micro);
26414 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26416 printf("*** If you have already installed a sufficiently new version, this error\n");
26417 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26418 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26419 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26420 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26421 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26422 printf("*** so that the correct libraries are found at run-time))\n");
26429 rm -f conftest
$ac_exeext
26430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26431 (eval $ac_link) 2>&5
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26436 (eval $ac_try) 2>&5
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); }; }; then
26442 echo "$as_me: program exited with status $ac_status" >&5
26443 echo "$as_me: failed program was:" >&5
26444 sed 's/^/| /' conftest.
$ac_ext >&5
26446 ( exit $ac_status )
26449 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26451 CFLAGS
="$ac_save_CFLAGS"
26452 LIBS
="$ac_save_LIBS"
26455 if test "x$no_gtk" = x
; then
26456 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26457 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26460 echo "$as_me:$LINENO: result: no" >&5
26461 echo "${ECHO_T}no" >&6
26462 if test "$PKG_CONFIG" = "no" ; then
26463 echo "*** A new enough version of pkg-config was not found."
26464 echo "*** See http://pkgconfig.sourceforge.net"
26466 if test -f conf.gtktest
; then
26469 echo "*** Could not run GTK+ test program, checking why..."
26470 ac_save_CFLAGS
="$CFLAGS"
26471 ac_save_LIBS
="$LIBS"
26472 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26473 LIBS
="$LIBS $GTK_LIBS"
26474 cat >conftest.
$ac_ext <<_ACEOF
26477 cat confdefs.h
>>conftest.
$ac_ext
26478 cat >>conftest.
$ac_ext <<_ACEOF
26479 /* end confdefs.h. */
26481 #include <gtk/gtk.h>
26487 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26492 rm -f conftest.
$ac_objext conftest
$ac_exeext
26493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26494 (eval $ac_link) 2>conftest.er1
26496 grep -v '^ *+' conftest.er1
>conftest.err
26498 cat conftest.err
>&5
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); } &&
26501 { ac_try
='test -z "$ac_c_werror_flag"
26502 || test ! -s conftest.err'
26503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26504 (eval $ac_try) 2>&5
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); }; } &&
26508 { ac_try
='test -s conftest$ac_exeext'
26509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26510 (eval $ac_try) 2>&5
26512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); }; }; then
26514 echo "*** The test program compiled, but did not run. This usually means"
26515 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26516 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26517 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26518 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26519 echo "*** is required on your system"
26521 echo "*** If you have an old version installed, it is best to remove it, although"
26522 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26524 echo "$as_me: failed program was:" >&5
26525 sed 's/^/| /' conftest.
$ac_ext >&5
26527 echo "*** The test program failed to compile or link. See the file config.log for the"
26528 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26530 rm -f conftest.err conftest.
$ac_objext \
26531 conftest
$ac_exeext conftest.
$ac_ext
26532 CFLAGS
="$ac_save_CFLAGS"
26533 LIBS
="$ac_save_LIBS"
26547 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26548 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26549 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26551 if test "$wxUSE_SHARED" != "yes"; then
26552 GTK_LIBS
="$GTK_LIBS -lX11"
26557 if test -z "$wx_cv_lib_gtk"; then
26558 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26560 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26561 if test "${with_gtk_prefix+set}" = set; then
26562 withval
="$with_gtk_prefix"
26563 gtk_config_prefix
="$withval"
26565 gtk_config_prefix
=""
26568 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26569 if test "${with_gtk_exec_prefix+set}" = set; then
26570 withval
="$with_gtk_exec_prefix"
26571 gtk_config_exec_prefix
="$withval"
26573 gtk_config_exec_prefix
=""
26575 # Check whether --enable-gtktest or --disable-gtktest was given.
26576 if test "${enable_gtktest+set}" = set; then
26577 enableval
="$enable_gtktest"
26583 for module
in .
$GTK_MODULES
26587 gtk_config_args
="$gtk_config_args gthread"
26592 if test x
$gtk_config_exec_prefix != x
; then
26593 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26594 if test x
${GTK_CONFIG+set} != xset
; then
26595 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26598 if test x
$gtk_config_prefix != x
; then
26599 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26600 if test x
${GTK_CONFIG+set} != xset
; then
26601 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26605 # Extract the first word of "gtk-config", so it can be a program name with args.
26606 set dummy gtk
-config; ac_word
=$2
26607 echo "$as_me:$LINENO: checking for $ac_word" >&5
26608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26609 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26610 echo $ECHO_N "(cached) $ECHO_C" >&6
26612 case $GTK_CONFIG in
26614 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26618 for as_dir
in $PATH
26621 test -z "$as_dir" && as_dir
=.
26622 for ac_exec_ext
in '' $ac_executable_extensions; do
26623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26624 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26631 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26635 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26637 if test -n "$GTK_CONFIG"; then
26638 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26639 echo "${ECHO_T}$GTK_CONFIG" >&6
26641 echo "$as_me:$LINENO: result: no" >&5
26642 echo "${ECHO_T}no" >&6
26645 min_gtk_version
=1.2.7
26646 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26647 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26649 if test "$GTK_CONFIG" = "no" ; then
26652 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26653 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26654 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26655 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26656 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26657 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26658 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26659 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26660 if test "x$enable_gtktest" = "xyes" ; then
26661 ac_save_CFLAGS
="$CFLAGS"
26662 ac_save_LIBS
="$LIBS"
26663 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26664 LIBS
="$GTK_LIBS $LIBS"
26666 if test "$cross_compiling" = yes; then
26667 echo $ac_n "cross compiling; assumed OK... $ac_c"
26669 cat >conftest.
$ac_ext <<_ACEOF
26672 cat confdefs.h
>>conftest.
$ac_ext
26673 cat >>conftest.
$ac_ext <<_ACEOF
26674 /* end confdefs.h. */
26676 #include <gtk/gtk.h>
26678 #include <stdlib.h>
26683 int major, minor, micro;
26686 system ("touch conf.gtktest");
26688 /* HP/UX 9 (%@#!) writes to sscanf strings */
26689 tmp_version = g_strdup("$min_gtk_version");
26690 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26691 printf("%s, bad version string\n", "$min_gtk_version");
26695 if ((gtk_major_version != $gtk_config_major_version) ||
26696 (gtk_minor_version != $gtk_config_minor_version) ||
26697 (gtk_micro_version != $gtk_config_micro_version))
26699 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26700 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26701 gtk_major_version, gtk_minor_version, gtk_micro_version);
26702 printf ("*** was found! If gtk-config was correct, then it is best\n");
26703 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26704 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26705 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26706 printf("*** required on your system.\n");
26707 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26708 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26709 printf("*** before re-running configure\n");
26711 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26712 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26713 (gtk_minor_version != GTK_MINOR_VERSION) ||
26714 (gtk_micro_version != GTK_MICRO_VERSION))
26716 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26717 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26718 printf("*** library (version %d.%d.%d)\n",
26719 gtk_major_version, gtk_minor_version, gtk_micro_version);
26721 #endif /* defined (GTK_MAJOR_VERSION) ... */
26724 if ((gtk_major_version > major) ||
26725 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26726 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26732 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26733 gtk_major_version, gtk_minor_version, gtk_micro_version);
26734 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26735 major, minor, micro);
26736 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26738 printf("*** If you have already installed a sufficiently new version, this error\n");
26739 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26740 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26741 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26742 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26743 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26744 printf("*** so that the correct libraries are found at run-time))\n");
26751 rm -f conftest
$ac_exeext
26752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26753 (eval $ac_link) 2>&5
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26758 (eval $ac_try) 2>&5
26760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761 (exit $ac_status); }; }; then
26764 echo "$as_me: program exited with status $ac_status" >&5
26765 echo "$as_me: failed program was:" >&5
26766 sed 's/^/| /' conftest.
$ac_ext >&5
26768 ( exit $ac_status )
26771 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26773 CFLAGS
="$ac_save_CFLAGS"
26774 LIBS
="$ac_save_LIBS"
26777 if test "x$no_gtk" = x
; then
26778 echo "$as_me:$LINENO: result: yes" >&5
26779 echo "${ECHO_T}yes" >&6
26780 wx_cv_lib_gtk
=1.2.7
26782 echo "$as_me:$LINENO: result: no" >&5
26783 echo "${ECHO_T}no" >&6
26784 if test "$GTK_CONFIG" = "no" ; then
26785 echo "*** The gtk-config script installed by GTK could not be found"
26786 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26787 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26788 echo "*** full path to gtk-config."
26790 if test -f conf.gtktest
; then
26793 echo "*** Could not run GTK test program, checking why..."
26794 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26795 LIBS
="$LIBS $GTK_LIBS"
26796 cat >conftest.
$ac_ext <<_ACEOF
26799 cat confdefs.h
>>conftest.
$ac_ext
26800 cat >>conftest.
$ac_ext <<_ACEOF
26801 /* end confdefs.h. */
26803 #include <gtk/gtk.h>
26809 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26814 rm -f conftest.
$ac_objext conftest
$ac_exeext
26815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26816 (eval $ac_link) 2>conftest.er1
26818 grep -v '^ *+' conftest.er1
>conftest.err
26820 cat conftest.err
>&5
26821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26822 (exit $ac_status); } &&
26823 { ac_try
='test -z "$ac_c_werror_flag"
26824 || test ! -s conftest.err'
26825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26826 (eval $ac_try) 2>&5
26828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829 (exit $ac_status); }; } &&
26830 { ac_try
='test -s conftest$ac_exeext'
26831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26832 (eval $ac_try) 2>&5
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); }; }; then
26836 echo "*** The test program compiled, but did not run. This usually means"
26837 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26838 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26839 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26840 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26841 echo "*** is required on your system"
26843 echo "*** If you have an old version installed, it is best to remove it, although"
26844 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26846 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26847 echo "*** came with the system with the command"
26849 echo "*** rpm --erase --nodeps gtk gtk-devel"
26851 echo "$as_me: failed program was:" >&5
26852 sed 's/^/| /' conftest.
$ac_ext >&5
26854 echo "*** The test program failed to compile or link. See the file config.log for the"
26855 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26856 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26857 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26859 rm -f conftest.err conftest.
$ac_objext \
26860 conftest
$ac_exeext conftest.
$ac_ext
26861 CFLAGS
="$ac_save_CFLAGS"
26862 LIBS
="$ac_save_LIBS"
26874 if test -z "$wx_cv_lib_gtk"; then
26876 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26877 if test "${with_gtk_prefix+set}" = set; then
26878 withval
="$with_gtk_prefix"
26879 gtk_config_prefix
="$withval"
26881 gtk_config_prefix
=""
26884 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26885 if test "${with_gtk_exec_prefix+set}" = set; then
26886 withval
="$with_gtk_exec_prefix"
26887 gtk_config_exec_prefix
="$withval"
26889 gtk_config_exec_prefix
=""
26891 # Check whether --enable-gtktest or --disable-gtktest was given.
26892 if test "${enable_gtktest+set}" = set; then
26893 enableval
="$enable_gtktest"
26899 for module
in .
$GTK_MODULES
26903 gtk_config_args
="$gtk_config_args gthread"
26908 if test x
$gtk_config_exec_prefix != x
; then
26909 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26910 if test x
${GTK_CONFIG+set} != xset
; then
26911 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26914 if test x
$gtk_config_prefix != x
; then
26915 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26916 if test x
${GTK_CONFIG+set} != xset
; then
26917 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26921 # Extract the first word of "gtk-config", so it can be a program name with args.
26922 set dummy gtk
-config; ac_word
=$2
26923 echo "$as_me:$LINENO: checking for $ac_word" >&5
26924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26925 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26926 echo $ECHO_N "(cached) $ECHO_C" >&6
26928 case $GTK_CONFIG in
26930 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26934 for as_dir
in $PATH
26937 test -z "$as_dir" && as_dir
=.
26938 for ac_exec_ext
in '' $ac_executable_extensions; do
26939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26940 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26947 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26951 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26953 if test -n "$GTK_CONFIG"; then
26954 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26955 echo "${ECHO_T}$GTK_CONFIG" >&6
26957 echo "$as_me:$LINENO: result: no" >&5
26958 echo "${ECHO_T}no" >&6
26961 min_gtk_version
=1.2.3
26962 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26963 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26965 if test "$GTK_CONFIG" = "no" ; then
26968 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26969 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26970 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26971 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26972 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26973 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26974 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26976 if test "x$enable_gtktest" = "xyes" ; then
26977 ac_save_CFLAGS
="$CFLAGS"
26978 ac_save_LIBS
="$LIBS"
26979 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26980 LIBS
="$GTK_LIBS $LIBS"
26982 if test "$cross_compiling" = yes; then
26983 echo $ac_n "cross compiling; assumed OK... $ac_c"
26985 cat >conftest.
$ac_ext <<_ACEOF
26988 cat confdefs.h
>>conftest.
$ac_ext
26989 cat >>conftest.
$ac_ext <<_ACEOF
26990 /* end confdefs.h. */
26992 #include <gtk/gtk.h>
26994 #include <stdlib.h>
26999 int major, minor, micro;
27002 system ("touch conf.gtktest");
27004 /* HP/UX 9 (%@#!) writes to sscanf strings */
27005 tmp_version = g_strdup("$min_gtk_version");
27006 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27007 printf("%s, bad version string\n", "$min_gtk_version");
27011 if ((gtk_major_version != $gtk_config_major_version) ||
27012 (gtk_minor_version != $gtk_config_minor_version) ||
27013 (gtk_micro_version != $gtk_config_micro_version))
27015 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27016 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27017 gtk_major_version, gtk_minor_version, gtk_micro_version);
27018 printf ("*** was found! If gtk-config was correct, then it is best\n");
27019 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27020 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27021 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27022 printf("*** required on your system.\n");
27023 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27024 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27025 printf("*** before re-running configure\n");
27027 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27028 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27029 (gtk_minor_version != GTK_MINOR_VERSION) ||
27030 (gtk_micro_version != GTK_MICRO_VERSION))
27032 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27033 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27034 printf("*** library (version %d.%d.%d)\n",
27035 gtk_major_version, gtk_minor_version, gtk_micro_version);
27037 #endif /* defined (GTK_MAJOR_VERSION) ... */
27040 if ((gtk_major_version > major) ||
27041 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27042 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27048 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27049 gtk_major_version, gtk_minor_version, gtk_micro_version);
27050 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27051 major, minor, micro);
27052 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27054 printf("*** If you have already installed a sufficiently new version, this error\n");
27055 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27056 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27057 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27058 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27059 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27060 printf("*** so that the correct libraries are found at run-time))\n");
27067 rm -f conftest
$ac_exeext
27068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27069 (eval $ac_link) 2>&5
27071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27074 (eval $ac_try) 2>&5
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); }; }; then
27080 echo "$as_me: program exited with status $ac_status" >&5
27081 echo "$as_me: failed program was:" >&5
27082 sed 's/^/| /' conftest.
$ac_ext >&5
27084 ( exit $ac_status )
27087 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27089 CFLAGS
="$ac_save_CFLAGS"
27090 LIBS
="$ac_save_LIBS"
27093 if test "x$no_gtk" = x
; then
27094 echo "$as_me:$LINENO: result: yes" >&5
27095 echo "${ECHO_T}yes" >&6
27096 wx_cv_lib_gtk
=1.2.3
27098 echo "$as_me:$LINENO: result: no" >&5
27099 echo "${ECHO_T}no" >&6
27100 if test "$GTK_CONFIG" = "no" ; then
27101 echo "*** The gtk-config script installed by GTK could not be found"
27102 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27103 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27104 echo "*** full path to gtk-config."
27106 if test -f conf.gtktest
; then
27109 echo "*** Could not run GTK test program, checking why..."
27110 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27111 LIBS
="$LIBS $GTK_LIBS"
27112 cat >conftest.
$ac_ext <<_ACEOF
27115 cat confdefs.h
>>conftest.
$ac_ext
27116 cat >>conftest.
$ac_ext <<_ACEOF
27117 /* end confdefs.h. */
27119 #include <gtk/gtk.h>
27125 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27130 rm -f conftest.
$ac_objext conftest
$ac_exeext
27131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27132 (eval $ac_link) 2>conftest.er1
27134 grep -v '^ *+' conftest.er1
>conftest.err
27136 cat conftest.err
>&5
27137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27138 (exit $ac_status); } &&
27139 { ac_try
='test -z "$ac_c_werror_flag"
27140 || test ! -s conftest.err'
27141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27142 (eval $ac_try) 2>&5
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); }; } &&
27146 { ac_try
='test -s conftest$ac_exeext'
27147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27148 (eval $ac_try) 2>&5
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); }; }; then
27152 echo "*** The test program compiled, but did not run. This usually means"
27153 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27154 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27155 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27156 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27157 echo "*** is required on your system"
27159 echo "*** If you have an old version installed, it is best to remove it, although"
27160 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27162 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27163 echo "*** came with the system with the command"
27165 echo "*** rpm --erase --nodeps gtk gtk-devel"
27167 echo "$as_me: failed program was:" >&5
27168 sed 's/^/| /' conftest.
$ac_ext >&5
27170 echo "*** The test program failed to compile or link. See the file config.log for the"
27171 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27172 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27173 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27175 rm -f conftest.err conftest.
$ac_objext \
27176 conftest
$ac_exeext conftest.
$ac_ext
27177 CFLAGS
="$ac_save_CFLAGS"
27178 LIBS
="$ac_save_LIBS"
27193 if test -z "$wx_cv_lib_gtk"; then
27196 wx_cv_cflags_gtk
=$GTK_CFLAGS
27197 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27204 if test "$gtk_version_cached" = 1; then
27205 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27206 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27209 case "$wx_cv_lib_gtk" in
27218 *) { { echo "$as_me:$LINENO: error:
27219 The development files for GTK+ were not found. For GTK+ 2, please
27220 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27221 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27222 and that the version is 1.2.3 or above. Also check that the
27223 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27224 --libs' are in the LD_LIBRARY_PATH or equivalent.
27226 echo "$as_me: error:
27227 The development files for GTK+ were not found. For GTK+ 2, please
27228 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27229 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27230 and that the version is 1.2.3 or above. Also check that the
27231 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27232 --libs' are in the LD_LIBRARY_PATH or equivalent.
27234 { (exit 1); exit 1; }; }
27238 if test "$WXGTK20" = 1; then
27239 save_CFLAGS
="$CFLAGS"
27241 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
27242 LIBS
="$LIBS $wx_cv_libs_gtk"
27244 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27245 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
27246 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27247 echo $ECHO_N "(cached) $ECHO_C" >&6
27249 cat >conftest.
$ac_ext <<_ACEOF
27252 cat confdefs.h
>>conftest.
$ac_ext
27253 cat >>conftest.
$ac_ext <<_ACEOF
27254 /* end confdefs.h. */
27255 #include <gtk/gtk.h>
27260 #ifndef gtk_icon_size_lookup
27261 char *p = (char *) gtk_icon_size_lookup;
27268 rm -f conftest.
$ac_objext
27269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27270 (eval $ac_compile) 2>conftest.er1
27272 grep -v '^ *+' conftest.er1
>conftest.err
27274 cat conftest.err
>&5
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); } &&
27277 { ac_try
='test -z "$ac_c_werror_flag"
27278 || test ! -s conftest.err'
27279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27280 (eval $ac_try) 2>&5
27282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27283 (exit $ac_status); }; } &&
27284 { ac_try
='test -s conftest.$ac_objext'
27285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27286 (eval $ac_try) 2>&5
27288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289 (exit $ac_status); }; }; then
27290 ac_cv_have_decl_gtk_icon_size_lookup
=yes
27292 echo "$as_me: failed program was:" >&5
27293 sed 's/^/| /' conftest.
$ac_ext >&5
27295 ac_cv_have_decl_gtk_icon_size_lookup
=no
27297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27299 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27300 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
27301 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27303 cat >>confdefs.h
<<_ACEOF
27304 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27309 cat >>confdefs.h
<<_ACEOF
27310 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27313 cat >>confdefs.h
<<\_ACEOF
27314 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27322 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27323 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6
27324 cat >conftest.
$ac_ext <<_ACEOF
27327 cat confdefs.h
>>conftest.
$ac_ext
27328 cat >>conftest.
$ac_ext <<_ACEOF
27329 /* end confdefs.h. */
27331 #include <gtk/gtk.h>
27337 #if !GTK_CHECK_VERSION(2,10,0)
27345 rm -f conftest.
$ac_objext
27346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27347 (eval $ac_compile) 2>conftest.er1
27349 grep -v '^ *+' conftest.er1
>conftest.err
27351 cat conftest.err
>&5
27352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27353 (exit $ac_status); } &&
27354 { ac_try
='test -z "$ac_c_werror_flag"
27355 || test ! -s conftest.err'
27356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27357 (eval $ac_try) 2>&5
27359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360 (exit $ac_status); }; } &&
27361 { ac_try
='test -s conftest.$ac_objext'
27362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27363 (eval $ac_try) 2>&5
27365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27366 (exit $ac_status); }; }; then
27368 cat >>confdefs.h
<<\_ACEOF
27369 #define __WXGTK210__ 1
27372 cat >>confdefs.h
<<\_ACEOF
27373 #define __WXGTK26__ 1
27376 cat >>confdefs.h
<<\_ACEOF
27377 #define __WXGTK24__ 1
27380 echo "$as_me:$LINENO: result: yes" >&5
27381 echo "${ECHO_T}yes" >&6
27385 echo "$as_me: failed program was:" >&5
27386 sed 's/^/| /' conftest.
$ac_ext >&5
27389 echo "$as_me:$LINENO: result: no" >&5
27390 echo "${ECHO_T}no" >&6
27394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27396 if test "$ac_wxgtk210" = 0; then
27397 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
27398 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
27399 cat >conftest.
$ac_ext <<_ACEOF
27402 cat confdefs.h
>>conftest.
$ac_ext
27403 cat >>conftest.
$ac_ext <<_ACEOF
27404 /* end confdefs.h. */
27406 #include <gtk/gtk.h>
27412 #if !GTK_CHECK_VERSION(2,6,0)
27420 rm -f conftest.
$ac_objext
27421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27422 (eval $ac_compile) 2>conftest.er1
27424 grep -v '^ *+' conftest.er1
>conftest.err
27426 cat conftest.err
>&5
27427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428 (exit $ac_status); } &&
27429 { ac_try
='test -z "$ac_c_werror_flag"
27430 || test ! -s conftest.err'
27431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27432 (eval $ac_try) 2>&5
27434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435 (exit $ac_status); }; } &&
27436 { ac_try
='test -s conftest.$ac_objext'
27437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27438 (eval $ac_try) 2>&5
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); }; }; then
27443 cat >>confdefs.h
<<\_ACEOF
27444 #define __WXGTK26__ 1
27447 cat >>confdefs.h
<<\_ACEOF
27448 #define __WXGTK24__ 1
27451 echo "$as_me:$LINENO: result: yes" >&5
27452 echo "${ECHO_T}yes" >&6
27456 echo "$as_me: failed program was:" >&5
27457 sed 's/^/| /' conftest.
$ac_ext >&5
27460 echo "$as_me:$LINENO: result: no" >&5
27461 echo "${ECHO_T}no" >&6
27465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27468 if test "$ac_wxgtk26" = 0; then
27469 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27470 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27471 cat >conftest.
$ac_ext <<_ACEOF
27474 cat confdefs.h
>>conftest.
$ac_ext
27475 cat >>conftest.
$ac_ext <<_ACEOF
27476 /* end confdefs.h. */
27478 #include <gtk/gtk.h>
27484 #if !GTK_CHECK_VERSION(2,4,0)
27492 rm -f conftest.
$ac_objext
27493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27494 (eval $ac_compile) 2>conftest.er1
27496 grep -v '^ *+' conftest.er1
>conftest.err
27498 cat conftest.err
>&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); } &&
27501 { ac_try
='test -z "$ac_c_werror_flag"
27502 || test ! -s conftest.err'
27503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27504 (eval $ac_try) 2>&5
27506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27507 (exit $ac_status); }; } &&
27508 { ac_try
='test -s conftest.$ac_objext'
27509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27510 (eval $ac_try) 2>&5
27512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513 (exit $ac_status); }; }; then
27515 cat >>confdefs.h
<<\_ACEOF
27516 #define __WXGTK24__ 1
27519 echo "$as_me:$LINENO: result: yes" >&5
27520 echo "${ECHO_T}yes" >&6
27523 echo "$as_me: failed program was:" >&5
27524 sed 's/^/| /' conftest.
$ac_ext >&5
27527 echo "$as_me:$LINENO: result: no" >&5
27528 echo "${ECHO_T}no" >&6
27531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27534 CFLAGS
="$save_CFLAGS"
27537 if test "$wxUSE_UNICODE" = "yes"; then
27538 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27539 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27543 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27544 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27545 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27546 echo $ECHO_N "(cached) $ECHO_C" >&6
27548 ac_check_lib_save_LIBS
=$LIBS
27550 cat >conftest.
$ac_ext <<_ACEOF
27553 cat confdefs.h
>>conftest.
$ac_ext
27554 cat >>conftest.
$ac_ext <<_ACEOF
27555 /* end confdefs.h. */
27557 /* Override any gcc2 internal prototype to avoid an error. */
27561 /* We use char because int might match the return type of a gcc2
27562 builtin and then its argument prototype would still apply. */
27563 char gdk_im_open ();
27572 rm -f conftest.
$ac_objext conftest
$ac_exeext
27573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27574 (eval $ac_link) 2>conftest.er1
27576 grep -v '^ *+' conftest.er1
>conftest.err
27578 cat conftest.err
>&5
27579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580 (exit $ac_status); } &&
27581 { ac_try
='test -z "$ac_c_werror_flag"
27582 || test ! -s conftest.err'
27583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27584 (eval $ac_try) 2>&5
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); }; } &&
27588 { ac_try
='test -s conftest$ac_exeext'
27589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27590 (eval $ac_try) 2>&5
27592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27593 (exit $ac_status); }; }; then
27594 ac_cv_lib_gdk_gdk_im_open
=yes
27596 echo "$as_me: failed program was:" >&5
27597 sed 's/^/| /' conftest.
$ac_ext >&5
27599 ac_cv_lib_gdk_gdk_im_open
=no
27601 rm -f conftest.err conftest.
$ac_objext \
27602 conftest
$ac_exeext conftest.
$ac_ext
27603 LIBS
=$ac_check_lib_save_LIBS
27605 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27606 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27607 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27608 cat >>confdefs.h
<<\_ACEOF
27615 if test "$USE_DARWIN" != 1; then
27617 for ac_func
in poll
27619 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27620 echo "$as_me:$LINENO: checking for $ac_func" >&5
27621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27622 if eval "test \"\${$as_ac_var+set}\" = set"; then
27623 echo $ECHO_N "(cached) $ECHO_C" >&6
27625 cat >conftest.
$ac_ext <<_ACEOF
27628 cat confdefs.h
>>conftest.
$ac_ext
27629 cat >>conftest.
$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27633 #define $ac_func innocuous_$ac_func
27635 /* System header to define __stub macros and hopefully few prototypes,
27636 which can conflict with char $ac_func (); below.
27637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27638 <limits.h> exists even on freestanding compilers. */
27641 # include <limits.h>
27643 # include <assert.h>
27648 /* Override any gcc2 internal prototype to avoid an error. */
27653 /* We use char because int might match the return type of a gcc2
27654 builtin and then its argument prototype would still apply. */
27656 /* The GNU C library defines this for functions which it implements
27657 to always fail with ENOSYS. Some functions are actually named
27658 something starting with __ and the normal name is an alias. */
27659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27662 char (*f) () = $ac_func;
27671 return f != $ac_func;
27676 rm -f conftest.
$ac_objext conftest
$ac_exeext
27677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27678 (eval $ac_link) 2>conftest.er1
27680 grep -v '^ *+' conftest.er1
>conftest.err
27682 cat conftest.err
>&5
27683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27684 (exit $ac_status); } &&
27685 { ac_try
='test -z "$ac_c_werror_flag"
27686 || test ! -s conftest.err'
27687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27688 (eval $ac_try) 2>&5
27690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27691 (exit $ac_status); }; } &&
27692 { ac_try
='test -s conftest$ac_exeext'
27693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27694 (eval $ac_try) 2>&5
27696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697 (exit $ac_status); }; }; then
27698 eval "$as_ac_var=yes"
27700 echo "$as_me: failed program was:" >&5
27701 sed 's/^/| /' conftest.
$ac_ext >&5
27703 eval "$as_ac_var=no"
27705 rm -f conftest.err conftest.
$ac_objext \
27706 conftest
$ac_exeext conftest.
$ac_ext
27708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27710 if test `eval echo '${'$as_ac_var'}'` = yes; then
27711 cat >>confdefs.h
<<_ACEOF
27712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27721 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27722 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27724 AFMINSTALL
=afminstall
27728 if test "$wxUSE_GPE" = "yes"; then
27729 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27730 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27733 for ac_dir
in $SEARCH_LIB;
27735 for ac_extension
in a so sl dylib dll.a
; do
27736 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27737 ac_find_libraries
=$ac_dir
27743 if test "$ac_find_libraries" != "" ; then
27745 if test "$ac_find_libraries" = "default location"; then
27748 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27750 if test $result = 0; then
27753 ac_path_to_link
=" -L$ac_find_libraries"
27757 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27759 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27760 echo "${ECHO_T}found in $ac_find_libraries" >&6
27762 echo "$as_me:$LINENO: result: not found" >&5
27763 echo "${ECHO_T}not found" >&6
27769 if test "$wxUSE_MGL" = 1; then
27770 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27771 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27772 if test "x$MGL_ROOT" = x
; then
27773 echo "$as_me:$LINENO: result: not found" >&5
27774 echo "${ECHO_T}not found" >&6
27775 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27776 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27777 { (exit 1); exit 1; }; }
27779 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27780 echo "${ECHO_T}$MGL_ROOT" >&6
27783 echo "$as_me:$LINENO: checking for libmgl location" >&5
27784 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27787 if test "x$wxUSE_SHARED" = xyes
; then
27788 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27790 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27794 mgl_os_candidates
="dos32/dj2"
27797 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27798 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27799 { (exit 1); exit 1; }; }
27805 for mgl_os_i
in $mgl_os_candidates ; do
27806 if test "x$mgl_os" = x
; then
27807 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27808 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27809 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27814 if test "x$mgl_lib_type" = x
; then
27815 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27816 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27817 mgl_lib_type
=release
27824 if test "x$mgl_os" = x
; then
27825 echo "$as_me:$LINENO: result: not found" >&5
27826 echo "${ECHO_T}not found" >&6
27827 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27828 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27829 { (exit 1); exit 1; }; }
27831 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27832 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27834 wxUSE_UNIVERSAL
="yes"
27836 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27837 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27839 AFMINSTALL
=afminstall
27844 if test "$wxUSE_DFB" = 1; then
27847 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27848 if test -n "$ac_tool_prefix"; then
27849 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27850 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27851 echo "$as_me:$LINENO: checking for $ac_word" >&5
27852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27853 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27854 echo $ECHO_N "(cached) $ECHO_C" >&6
27856 case $PKG_CONFIG in
27858 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27862 for as_dir
in $PATH
27865 test -z "$as_dir" && as_dir
=.
27866 for ac_exec_ext
in '' $ac_executable_extensions; do
27867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27868 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27878 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27880 if test -n "$PKG_CONFIG"; then
27881 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27882 echo "${ECHO_T}$PKG_CONFIG" >&6
27884 echo "$as_me:$LINENO: result: no" >&5
27885 echo "${ECHO_T}no" >&6
27889 if test -z "$ac_cv_path_PKG_CONFIG"; then
27890 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27891 # Extract the first word of "pkg-config", so it can be a program name with args.
27892 set dummy pkg
-config; ac_word
=$2
27893 echo "$as_me:$LINENO: checking for $ac_word" >&5
27894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27895 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
27896 echo $ECHO_N "(cached) $ECHO_C" >&6
27898 case $ac_pt_PKG_CONFIG in
27900 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27904 for as_dir
in $PATH
27907 test -z "$as_dir" && as_dir
=.
27908 for ac_exec_ext
in '' $ac_executable_extensions; do
27909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27910 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27920 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27922 if test -n "$ac_pt_PKG_CONFIG"; then
27923 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
27924 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
27926 echo "$as_me:$LINENO: result: no" >&5
27927 echo "${ECHO_T}no" >&6
27930 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27932 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27936 if test -n "$PKG_CONFIG"; then
27937 _pkg_min_version
=0.9.0
27938 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
27939 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
27940 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27941 echo "$as_me:$LINENO: result: yes" >&5
27942 echo "${ECHO_T}yes" >&6
27944 echo "$as_me:$LINENO: result: no" >&5
27945 echo "${ECHO_T}no" >&6
27953 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
27954 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
27956 if test -n "$PKG_CONFIG"; then
27957 if test -n "$DIRECTFB_CFLAGS"; then
27958 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
27960 if test -n "$PKG_CONFIG" && \
27961 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
27962 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
27964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965 (exit $ac_status); }; then
27966 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
27974 if test -n "$PKG_CONFIG"; then
27975 if test -n "$DIRECTFB_LIBS"; then
27976 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
27978 if test -n "$PKG_CONFIG" && \
27979 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
27980 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
27982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27983 (exit $ac_status); }; then
27984 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
27995 if test $pkg_failed = yes; then
27997 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27998 _pkg_short_errors_supported
=yes
28000 _pkg_short_errors_supported
=no
28002 if test $_pkg_short_errors_supported = yes; then
28003 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28005 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28007 # Put the nasty error message in config.log where it belongs
28008 echo "$DIRECTFB_PKG_ERRORS" >&5
28011 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28012 echo "$as_me: error: DirectFB not found." >&2;}
28013 { (exit 1); exit 1; }; }
28016 elif test $pkg_failed = untried
; then
28018 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28019 echo "$as_me: error: DirectFB not found." >&2;}
28020 { (exit 1); exit 1; }; }
28024 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
28025 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
28026 echo "$as_me:$LINENO: result: yes" >&5
28027 echo "${ECHO_T}yes" >&6
28029 wxUSE_UNIVERSAL
="yes"
28030 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
28031 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
28038 if test "$wxUSE_MICROWIN" = 1; then
28039 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28040 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28041 if test "x$MICROWINDOWS" = x
; then
28042 echo "$as_me:$LINENO: result: not found" >&5
28043 echo "${ECHO_T}not found" >&6
28044 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28045 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28046 { (exit 1); exit 1; }; }
28048 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28049 echo "${ECHO_T}$MICROWINDOWS" >&6
28052 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
28053 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28054 echo "${ECHO_T}MicroWindows' libraries found." >&6
28056 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28057 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28058 { (exit 1); exit 1; }; }
28061 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
28062 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28064 wxUSE_UNIVERSAL
="yes"
28066 AFMINSTALL
=afminstall
28068 GUIDIST
=MICROWIN_DIST
28070 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28073 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28074 echo "$as_me:$LINENO: checking for X" >&5
28075 echo $ECHO_N "checking for X... $ECHO_C" >&6
28078 # Check whether --with-x or --without-x was given.
28079 if test "${with_x+set}" = set; then
28083 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28084 if test "x$with_x" = xno
; then
28085 # The user explicitly disabled X.
28088 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
28089 # Both variables are already set.
28092 if test "${ac_cv_have_x+set}" = set; then
28093 echo $ECHO_N "(cached) $ECHO_C" >&6
28095 # One or both of the vars are not set, and there is no cached value.
28096 ac_x_includes
=no ac_x_libraries
=no
28097 rm -fr conftest.dir
28098 if mkdir conftest.dir
; then
28100 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28101 cat >Imakefile
<<'_ACEOF'
28103 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28105 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28106 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28107 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28108 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28109 for ac_extension
in a so sl
; do
28110 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28111 test -f $ac_im_libdir/libX11.
$ac_extension; then
28112 ac_im_usrlibdir
=$ac_im_libdir; break
28115 # Screen out bogus values from the imake configuration. They are
28116 # bogus both because they are the default anyway, and because
28117 # using them would break gcc on systems where it needs fixed includes.
28118 case $ac_im_incroot in
28120 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28122 case $ac_im_usrlibdir in
28123 /usr
/lib
| /lib
) ;;
28124 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28128 rm -fr conftest.dir
28131 # Standard set of common directories for X headers.
28132 # Check X11 before X11Rn because it is often a symlink to the current release.
28144 /usr/local/X11/include
28145 /usr/local/X11R6/include
28146 /usr/local/X11R5/include
28147 /usr/local/X11R4/include
28149 /usr/local/include/X11
28150 /usr/local/include/X11R6
28151 /usr/local/include/X11R5
28152 /usr/local/include/X11R4
28156 /usr/XFree86/include/X11
28160 /usr/unsupported/include
28161 /usr/athena/include
28162 /usr/local/x11r5/include
28163 /usr/lpp/Xamples/include
28165 /usr/openwin/include
28166 /usr/openwin/share/include'
28168 if test "$ac_x_includes" = no
; then
28169 # Guess where to find include files, by looking for Intrinsic.h.
28170 # First, try using that file with no special directory specified.
28171 cat >conftest.
$ac_ext <<_ACEOF
28174 cat confdefs.h
>>conftest.
$ac_ext
28175 cat >>conftest.
$ac_ext <<_ACEOF
28176 /* end confdefs.h. */
28177 #include <X11/Intrinsic.h>
28179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28180 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28182 grep -v '^ *+' conftest.er1
>conftest.err
28184 cat conftest.err
>&5
28185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28186 (exit $ac_status); } >/dev
/null
; then
28187 if test -s conftest.err
; then
28188 ac_cpp_err
=$ac_c_preproc_warn_flag
28189 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28196 if test -z "$ac_cpp_err"; then
28197 # We can compile using X headers with no special include directory.
28200 echo "$as_me: failed program was:" >&5
28201 sed 's/^/| /' conftest.
$ac_ext >&5
28203 for ac_dir
in $ac_x_header_dirs; do
28204 if test -r "$ac_dir/X11/Intrinsic.h"; then
28205 ac_x_includes
=$ac_dir
28210 rm -f conftest.err conftest.
$ac_ext
28211 fi # $ac_x_includes = no
28213 if test "$ac_x_libraries" = no
; then
28214 # Check for the libraries.
28215 # See if we find them without any special options.
28216 # Don't add to $LIBS permanently.
28219 cat >conftest.
$ac_ext <<_ACEOF
28222 cat confdefs.h
>>conftest.
$ac_ext
28223 cat >>conftest.
$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28225 #include <X11/Intrinsic.h>
28234 rm -f conftest.
$ac_objext conftest
$ac_exeext
28235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28236 (eval $ac_link) 2>conftest.er1
28238 grep -v '^ *+' conftest.er1
>conftest.err
28240 cat conftest.err
>&5
28241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242 (exit $ac_status); } &&
28243 { ac_try
='test -z "$ac_c_werror_flag"
28244 || test ! -s conftest.err'
28245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28246 (eval $ac_try) 2>&5
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); }; } &&
28250 { ac_try
='test -s conftest$ac_exeext'
28251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28252 (eval $ac_try) 2>&5
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); }; }; then
28257 # We can link X programs with no special library path.
28260 echo "$as_me: failed program was:" >&5
28261 sed 's/^/| /' conftest.
$ac_ext >&5
28264 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28266 # Don't even attempt the hair of trying to link an X program!
28267 for ac_extension
in a so sl
; do
28268 if test -r $ac_dir/libXt.
$ac_extension; then
28269 ac_x_libraries
=$ac_dir
28275 rm -f conftest.err conftest.
$ac_objext \
28276 conftest
$ac_exeext conftest.
$ac_ext
28277 fi # $ac_x_libraries = no
28279 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
28280 # Didn't find X anywhere. Cache the known absence of X.
28281 ac_cv_have_x
="have_x=no"
28283 # Record where we found X for the cache.
28284 ac_cv_have_x
="have_x=yes \
28285 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28290 eval "$ac_cv_have_x"
28293 if test "$have_x" != yes; then
28294 echo "$as_me:$LINENO: result: $have_x" >&5
28295 echo "${ECHO_T}$have_x" >&6
28298 # If each of the values was on the command line, it overrides each guess.
28299 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
28300 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
28301 # Update the cache value to reflect the command line values.
28302 ac_cv_have_x
="have_x=yes \
28303 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28304 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28305 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
28308 if test "$no_x" = yes; then
28309 # Not all programs may use this symbol, but it does not hurt to define it.
28311 cat >>confdefs.h
<<\_ACEOF
28312 #define X_DISPLAY_MISSING 1
28315 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
28317 if test -n "$x_includes"; then
28318 X_CFLAGS
="$X_CFLAGS -I$x_includes"
28321 # It would also be nice to do this for all -L options, not just this one.
28322 if test -n "$x_libraries"; then
28323 X_LIBS
="$X_LIBS -L$x_libraries"
28324 # For Solaris; some versions of Sun CC require a space after -R and
28325 # others require no space. Words are not sufficient . . . .
28326 case `(uname -sr) 2>/dev/null` in
28328 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28329 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28330 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
28331 cat >conftest.
$ac_ext <<_ACEOF
28334 cat confdefs.h
>>conftest.
$ac_ext
28335 cat >>conftest.
$ac_ext <<_ACEOF
28336 /* end confdefs.h. */
28346 rm -f conftest.
$ac_objext conftest
$ac_exeext
28347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28348 (eval $ac_link) 2>conftest.er1
28350 grep -v '^ *+' conftest.er1
>conftest.err
28352 cat conftest.err
>&5
28353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354 (exit $ac_status); } &&
28355 { ac_try
='test -z "$ac_c_werror_flag"
28356 || test ! -s conftest.err'
28357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28358 (eval $ac_try) 2>&5
28360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28361 (exit $ac_status); }; } &&
28362 { ac_try
='test -s conftest$ac_exeext'
28363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28364 (eval $ac_try) 2>&5
28366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367 (exit $ac_status); }; }; then
28370 echo "$as_me: failed program was:" >&5
28371 sed 's/^/| /' conftest.
$ac_ext >&5
28375 rm -f conftest.err conftest.
$ac_objext \
28376 conftest
$ac_exeext conftest.
$ac_ext
28377 if test $ac_R_nospace = yes; then
28378 echo "$as_me:$LINENO: result: no" >&5
28379 echo "${ECHO_T}no" >&6
28380 X_LIBS
="$X_LIBS -R$x_libraries"
28382 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28383 cat >conftest.
$ac_ext <<_ACEOF
28386 cat confdefs.h
>>conftest.
$ac_ext
28387 cat >>conftest.
$ac_ext <<_ACEOF
28388 /* end confdefs.h. */
28398 rm -f conftest.
$ac_objext conftest
$ac_exeext
28399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28400 (eval $ac_link) 2>conftest.er1
28402 grep -v '^ *+' conftest.er1
>conftest.err
28404 cat conftest.err
>&5
28405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28406 (exit $ac_status); } &&
28407 { ac_try
='test -z "$ac_c_werror_flag"
28408 || test ! -s conftest.err'
28409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28410 (eval $ac_try) 2>&5
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); }; } &&
28414 { ac_try
='test -s conftest$ac_exeext'
28415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28416 (eval $ac_try) 2>&5
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); }; }; then
28422 echo "$as_me: failed program was:" >&5
28423 sed 's/^/| /' conftest.
$ac_ext >&5
28427 rm -f conftest.err conftest.
$ac_objext \
28428 conftest
$ac_exeext conftest.
$ac_ext
28429 if test $ac_R_space = yes; then
28430 echo "$as_me:$LINENO: result: yes" >&5
28431 echo "${ECHO_T}yes" >&6
28432 X_LIBS
="$X_LIBS -R $x_libraries"
28434 echo "$as_me:$LINENO: result: neither works" >&5
28435 echo "${ECHO_T}neither works" >&6
28438 LIBS
=$ac_xsave_LIBS
28442 # Check for system-dependent libraries X programs must link with.
28443 # Do this before checking for the system-independent R6 libraries
28444 # (-lICE), since we may need -lsocket or whatever for X linking.
28446 if test "$ISC" = yes; then
28447 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28449 # Martyn Johnson says this is needed for Ultrix, if the X
28450 # libraries were built with DECnet support. And Karl Berry says
28451 # the Alpha needs dnet_stub (dnet does not exist).
28452 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28453 cat >conftest.
$ac_ext <<_ACEOF
28456 cat confdefs.h
>>conftest.
$ac_ext
28457 cat >>conftest.
$ac_ext <<_ACEOF
28458 /* end confdefs.h. */
28460 /* Override any gcc2 internal prototype to avoid an error. */
28464 /* We use char because int might match the return type of a gcc2
28465 builtin and then its argument prototype would still apply. */
28466 char XOpenDisplay ();
28475 rm -f conftest.
$ac_objext conftest
$ac_exeext
28476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28477 (eval $ac_link) 2>conftest.er1
28479 grep -v '^ *+' conftest.er1
>conftest.err
28481 cat conftest.err
>&5
28482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28483 (exit $ac_status); } &&
28484 { ac_try
='test -z "$ac_c_werror_flag"
28485 || test ! -s conftest.err'
28486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28487 (eval $ac_try) 2>&5
28489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28490 (exit $ac_status); }; } &&
28491 { ac_try
='test -s conftest$ac_exeext'
28492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28493 (eval $ac_try) 2>&5
28495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496 (exit $ac_status); }; }; then
28499 echo "$as_me: failed program was:" >&5
28500 sed 's/^/| /' conftest.
$ac_ext >&5
28502 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28503 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28504 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28505 echo $ECHO_N "(cached) $ECHO_C" >&6
28507 ac_check_lib_save_LIBS
=$LIBS
28508 LIBS
="-ldnet $LIBS"
28509 cat >conftest.
$ac_ext <<_ACEOF
28512 cat confdefs.h
>>conftest.
$ac_ext
28513 cat >>conftest.
$ac_ext <<_ACEOF
28514 /* end confdefs.h. */
28516 /* Override any gcc2 internal prototype to avoid an error. */
28520 /* We use char because int might match the return type of a gcc2
28521 builtin and then its argument prototype would still apply. */
28531 rm -f conftest.
$ac_objext conftest
$ac_exeext
28532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28533 (eval $ac_link) 2>conftest.er1
28535 grep -v '^ *+' conftest.er1
>conftest.err
28537 cat conftest.err
>&5
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); } &&
28540 { ac_try
='test -z "$ac_c_werror_flag"
28541 || test ! -s conftest.err'
28542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28543 (eval $ac_try) 2>&5
28545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28546 (exit $ac_status); }; } &&
28547 { ac_try
='test -s conftest$ac_exeext'
28548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28549 (eval $ac_try) 2>&5
28551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28552 (exit $ac_status); }; }; then
28553 ac_cv_lib_dnet_dnet_ntoa
=yes
28555 echo "$as_me: failed program was:" >&5
28556 sed 's/^/| /' conftest.
$ac_ext >&5
28558 ac_cv_lib_dnet_dnet_ntoa
=no
28560 rm -f conftest.err conftest.
$ac_objext \
28561 conftest
$ac_exeext conftest.
$ac_ext
28562 LIBS
=$ac_check_lib_save_LIBS
28564 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28565 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28566 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28567 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
28570 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
28571 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28572 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28573 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28574 echo $ECHO_N "(cached) $ECHO_C" >&6
28576 ac_check_lib_save_LIBS
=$LIBS
28577 LIBS
="-ldnet_stub $LIBS"
28578 cat >conftest.
$ac_ext <<_ACEOF
28581 cat confdefs.h
>>conftest.
$ac_ext
28582 cat >>conftest.
$ac_ext <<_ACEOF
28583 /* end confdefs.h. */
28585 /* Override any gcc2 internal prototype to avoid an error. */
28589 /* We use char because int might match the return type of a gcc2
28590 builtin and then its argument prototype would still apply. */
28600 rm -f conftest.
$ac_objext conftest
$ac_exeext
28601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28602 (eval $ac_link) 2>conftest.er1
28604 grep -v '^ *+' conftest.er1
>conftest.err
28606 cat conftest.err
>&5
28607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608 (exit $ac_status); } &&
28609 { ac_try
='test -z "$ac_c_werror_flag"
28610 || test ! -s conftest.err'
28611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28612 (eval $ac_try) 2>&5
28614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28615 (exit $ac_status); }; } &&
28616 { ac_try
='test -s conftest$ac_exeext'
28617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28618 (eval $ac_try) 2>&5
28620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28621 (exit $ac_status); }; }; then
28622 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
28624 echo "$as_me: failed program was:" >&5
28625 sed 's/^/| /' conftest.
$ac_ext >&5
28627 ac_cv_lib_dnet_stub_dnet_ntoa
=no
28629 rm -f conftest.err conftest.
$ac_objext \
28630 conftest
$ac_exeext conftest.
$ac_ext
28631 LIBS
=$ac_check_lib_save_LIBS
28633 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28634 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28635 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28636 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
28641 rm -f conftest.err conftest.
$ac_objext \
28642 conftest
$ac_exeext conftest.
$ac_ext
28643 LIBS
="$ac_xsave_LIBS"
28645 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28646 # to get the SysV transport functions.
28647 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28649 # The nsl library prevents programs from opening the X display
28650 # on Irix 5.2, according to T.E. Dickey.
28651 # The functions gethostbyname, getservbyname, and inet_addr are
28652 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28653 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28654 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28655 if test "${ac_cv_func_gethostbyname+set}" = set; then
28656 echo $ECHO_N "(cached) $ECHO_C" >&6
28658 cat >conftest.
$ac_ext <<_ACEOF
28661 cat confdefs.h
>>conftest.
$ac_ext
28662 cat >>conftest.
$ac_ext <<_ACEOF
28663 /* end confdefs.h. */
28664 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28666 #define gethostbyname innocuous_gethostbyname
28668 /* System header to define __stub macros and hopefully few prototypes,
28669 which can conflict with char gethostbyname (); below.
28670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28671 <limits.h> exists even on freestanding compilers. */
28674 # include <limits.h>
28676 # include <assert.h>
28679 #undef gethostbyname
28681 /* Override any gcc2 internal prototype to avoid an error. */
28686 /* We use char because int might match the return type of a gcc2
28687 builtin and then its argument prototype would still apply. */
28688 char gethostbyname ();
28689 /* The GNU C library defines this for functions which it implements
28690 to always fail with ENOSYS. Some functions are actually named
28691 something starting with __ and the normal name is an alias. */
28692 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28695 char (*f) () = gethostbyname;
28704 return f != gethostbyname;
28709 rm -f conftest.
$ac_objext conftest
$ac_exeext
28710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28711 (eval $ac_link) 2>conftest.er1
28713 grep -v '^ *+' conftest.er1
>conftest.err
28715 cat conftest.err
>&5
28716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717 (exit $ac_status); } &&
28718 { ac_try
='test -z "$ac_c_werror_flag"
28719 || test ! -s conftest.err'
28720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28721 (eval $ac_try) 2>&5
28723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28724 (exit $ac_status); }; } &&
28725 { ac_try
='test -s conftest$ac_exeext'
28726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28727 (eval $ac_try) 2>&5
28729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730 (exit $ac_status); }; }; then
28731 ac_cv_func_gethostbyname
=yes
28733 echo "$as_me: failed program was:" >&5
28734 sed 's/^/| /' conftest.
$ac_ext >&5
28736 ac_cv_func_gethostbyname
=no
28738 rm -f conftest.err conftest.
$ac_objext \
28739 conftest
$ac_exeext conftest.
$ac_ext
28741 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28742 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28744 if test $ac_cv_func_gethostbyname = no
; then
28745 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28746 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28747 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28748 echo $ECHO_N "(cached) $ECHO_C" >&6
28750 ac_check_lib_save_LIBS
=$LIBS
28752 cat >conftest.
$ac_ext <<_ACEOF
28755 cat confdefs.h
>>conftest.
$ac_ext
28756 cat >>conftest.
$ac_ext <<_ACEOF
28757 /* end confdefs.h. */
28759 /* Override any gcc2 internal prototype to avoid an error. */
28763 /* We use char because int might match the return type of a gcc2
28764 builtin and then its argument prototype would still apply. */
28765 char gethostbyname ();
28774 rm -f conftest.
$ac_objext conftest
$ac_exeext
28775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28776 (eval $ac_link) 2>conftest.er1
28778 grep -v '^ *+' conftest.er1
>conftest.err
28780 cat conftest.err
>&5
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); } &&
28783 { ac_try
='test -z "$ac_c_werror_flag"
28784 || test ! -s conftest.err'
28785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28786 (eval $ac_try) 2>&5
28788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28789 (exit $ac_status); }; } &&
28790 { ac_try
='test -s conftest$ac_exeext'
28791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28792 (eval $ac_try) 2>&5
28794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795 (exit $ac_status); }; }; then
28796 ac_cv_lib_nsl_gethostbyname
=yes
28798 echo "$as_me: failed program was:" >&5
28799 sed 's/^/| /' conftest.
$ac_ext >&5
28801 ac_cv_lib_nsl_gethostbyname
=no
28803 rm -f conftest.err conftest.
$ac_objext \
28804 conftest
$ac_exeext conftest.
$ac_ext
28805 LIBS
=$ac_check_lib_save_LIBS
28807 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28808 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28809 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28810 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28813 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28814 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28815 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28816 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28817 echo $ECHO_N "(cached) $ECHO_C" >&6
28819 ac_check_lib_save_LIBS
=$LIBS
28821 cat >conftest.
$ac_ext <<_ACEOF
28824 cat confdefs.h
>>conftest.
$ac_ext
28825 cat >>conftest.
$ac_ext <<_ACEOF
28826 /* end confdefs.h. */
28828 /* Override any gcc2 internal prototype to avoid an error. */
28832 /* We use char because int might match the return type of a gcc2
28833 builtin and then its argument prototype would still apply. */
28834 char gethostbyname ();
28843 rm -f conftest.
$ac_objext conftest
$ac_exeext
28844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28845 (eval $ac_link) 2>conftest.er1
28847 grep -v '^ *+' conftest.er1
>conftest.err
28849 cat conftest.err
>&5
28850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 (exit $ac_status); } &&
28852 { ac_try
='test -z "$ac_c_werror_flag"
28853 || test ! -s conftest.err'
28854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28855 (eval $ac_try) 2>&5
28857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28858 (exit $ac_status); }; } &&
28859 { ac_try
='test -s conftest$ac_exeext'
28860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28861 (eval $ac_try) 2>&5
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); }; }; then
28865 ac_cv_lib_bsd_gethostbyname
=yes
28867 echo "$as_me: failed program was:" >&5
28868 sed 's/^/| /' conftest.
$ac_ext >&5
28870 ac_cv_lib_bsd_gethostbyname
=no
28872 rm -f conftest.err conftest.
$ac_objext \
28873 conftest
$ac_exeext conftest.
$ac_ext
28874 LIBS
=$ac_check_lib_save_LIBS
28876 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28877 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28878 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28879 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28885 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28886 # socket/setsockopt and other routines are undefined under SCO ODT
28887 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28888 # on later versions), says Simon Leinen: it contains gethostby*
28889 # variants that don't use the name server (or something). -lsocket
28890 # must be given before -lnsl if both are needed. We assume that
28891 # if connect needs -lnsl, so does gethostbyname.
28892 echo "$as_me:$LINENO: checking for connect" >&5
28893 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28894 if test "${ac_cv_func_connect+set}" = set; then
28895 echo $ECHO_N "(cached) $ECHO_C" >&6
28897 cat >conftest.
$ac_ext <<_ACEOF
28900 cat confdefs.h
>>conftest.
$ac_ext
28901 cat >>conftest.
$ac_ext <<_ACEOF
28902 /* end confdefs.h. */
28903 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28905 #define connect innocuous_connect
28907 /* System header to define __stub macros and hopefully few prototypes,
28908 which can conflict with char connect (); below.
28909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28910 <limits.h> exists even on freestanding compilers. */
28913 # include <limits.h>
28915 # include <assert.h>
28920 /* Override any gcc2 internal prototype to avoid an error. */
28925 /* We use char because int might match the return type of a gcc2
28926 builtin and then its argument prototype would still apply. */
28928 /* The GNU C library defines this for functions which it implements
28929 to always fail with ENOSYS. Some functions are actually named
28930 something starting with __ and the normal name is an alias. */
28931 #if defined (__stub_connect) || defined (__stub___connect)
28934 char (*f) () = connect;
28943 return f != connect;
28948 rm -f conftest.
$ac_objext conftest
$ac_exeext
28949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28950 (eval $ac_link) 2>conftest.er1
28952 grep -v '^ *+' conftest.er1
>conftest.err
28954 cat conftest.err
>&5
28955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28956 (exit $ac_status); } &&
28957 { ac_try
='test -z "$ac_c_werror_flag"
28958 || test ! -s conftest.err'
28959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28960 (eval $ac_try) 2>&5
28962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28963 (exit $ac_status); }; } &&
28964 { ac_try
='test -s conftest$ac_exeext'
28965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28966 (eval $ac_try) 2>&5
28968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969 (exit $ac_status); }; }; then
28970 ac_cv_func_connect
=yes
28972 echo "$as_me: failed program was:" >&5
28973 sed 's/^/| /' conftest.
$ac_ext >&5
28975 ac_cv_func_connect
=no
28977 rm -f conftest.err conftest.
$ac_objext \
28978 conftest
$ac_exeext conftest.
$ac_ext
28980 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28981 echo "${ECHO_T}$ac_cv_func_connect" >&6
28983 if test $ac_cv_func_connect = no
; then
28984 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28985 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28986 if test "${ac_cv_lib_socket_connect+set}" = set; then
28987 echo $ECHO_N "(cached) $ECHO_C" >&6
28989 ac_check_lib_save_LIBS
=$LIBS
28990 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28991 cat >conftest.
$ac_ext <<_ACEOF
28994 cat confdefs.h
>>conftest.
$ac_ext
28995 cat >>conftest.
$ac_ext <<_ACEOF
28996 /* end confdefs.h. */
28998 /* Override any gcc2 internal prototype to avoid an error. */
29002 /* We use char because int might match the return type of a gcc2
29003 builtin and then its argument prototype would still apply. */
29013 rm -f conftest.
$ac_objext conftest
$ac_exeext
29014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29015 (eval $ac_link) 2>conftest.er1
29017 grep -v '^ *+' conftest.er1
>conftest.err
29019 cat conftest.err
>&5
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); } &&
29022 { ac_try
='test -z "$ac_c_werror_flag"
29023 || test ! -s conftest.err'
29024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29025 (eval $ac_try) 2>&5
29027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29028 (exit $ac_status); }; } &&
29029 { ac_try
='test -s conftest$ac_exeext'
29030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29031 (eval $ac_try) 2>&5
29033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29034 (exit $ac_status); }; }; then
29035 ac_cv_lib_socket_connect
=yes
29037 echo "$as_me: failed program was:" >&5
29038 sed 's/^/| /' conftest.
$ac_ext >&5
29040 ac_cv_lib_socket_connect
=no
29042 rm -f conftest.err conftest.
$ac_objext \
29043 conftest
$ac_exeext conftest.
$ac_ext
29044 LIBS
=$ac_check_lib_save_LIBS
29046 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29047 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29048 if test $ac_cv_lib_socket_connect = yes; then
29049 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
29054 # Guillermo Gomez says -lposix is necessary on A/UX.
29055 echo "$as_me:$LINENO: checking for remove" >&5
29056 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29057 if test "${ac_cv_func_remove+set}" = set; then
29058 echo $ECHO_N "(cached) $ECHO_C" >&6
29060 cat >conftest.
$ac_ext <<_ACEOF
29063 cat confdefs.h
>>conftest.
$ac_ext
29064 cat >>conftest.
$ac_ext <<_ACEOF
29065 /* end confdefs.h. */
29066 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29068 #define remove innocuous_remove
29070 /* System header to define __stub macros and hopefully few prototypes,
29071 which can conflict with char remove (); below.
29072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29073 <limits.h> exists even on freestanding compilers. */
29076 # include <limits.h>
29078 # include <assert.h>
29083 /* Override any gcc2 internal prototype to avoid an error. */
29088 /* We use char because int might match the return type of a gcc2
29089 builtin and then its argument prototype would still apply. */
29091 /* The GNU C library defines this for functions which it implements
29092 to always fail with ENOSYS. Some functions are actually named
29093 something starting with __ and the normal name is an alias. */
29094 #if defined (__stub_remove) || defined (__stub___remove)
29097 char (*f) () = remove;
29106 return f != remove;
29111 rm -f conftest.
$ac_objext conftest
$ac_exeext
29112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29113 (eval $ac_link) 2>conftest.er1
29115 grep -v '^ *+' conftest.er1
>conftest.err
29117 cat conftest.err
>&5
29118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29119 (exit $ac_status); } &&
29120 { ac_try
='test -z "$ac_c_werror_flag"
29121 || test ! -s conftest.err'
29122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29123 (eval $ac_try) 2>&5
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); }; } &&
29127 { ac_try
='test -s conftest$ac_exeext'
29128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29129 (eval $ac_try) 2>&5
29131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29132 (exit $ac_status); }; }; then
29133 ac_cv_func_remove
=yes
29135 echo "$as_me: failed program was:" >&5
29136 sed 's/^/| /' conftest.
$ac_ext >&5
29138 ac_cv_func_remove
=no
29140 rm -f conftest.err conftest.
$ac_objext \
29141 conftest
$ac_exeext conftest.
$ac_ext
29143 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29144 echo "${ECHO_T}$ac_cv_func_remove" >&6
29146 if test $ac_cv_func_remove = no
; then
29147 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29148 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29149 if test "${ac_cv_lib_posix_remove+set}" = set; then
29150 echo $ECHO_N "(cached) $ECHO_C" >&6
29152 ac_check_lib_save_LIBS
=$LIBS
29153 LIBS
="-lposix $LIBS"
29154 cat >conftest.
$ac_ext <<_ACEOF
29157 cat confdefs.h
>>conftest.
$ac_ext
29158 cat >>conftest.
$ac_ext <<_ACEOF
29159 /* end confdefs.h. */
29161 /* Override any gcc2 internal prototype to avoid an error. */
29165 /* We use char because int might match the return type of a gcc2
29166 builtin and then its argument prototype would still apply. */
29176 rm -f conftest.
$ac_objext conftest
$ac_exeext
29177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29178 (eval $ac_link) 2>conftest.er1
29180 grep -v '^ *+' conftest.er1
>conftest.err
29182 cat conftest.err
>&5
29183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184 (exit $ac_status); } &&
29185 { ac_try
='test -z "$ac_c_werror_flag"
29186 || test ! -s conftest.err'
29187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29188 (eval $ac_try) 2>&5
29190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29191 (exit $ac_status); }; } &&
29192 { ac_try
='test -s conftest$ac_exeext'
29193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29194 (eval $ac_try) 2>&5
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); }; }; then
29198 ac_cv_lib_posix_remove
=yes
29200 echo "$as_me: failed program was:" >&5
29201 sed 's/^/| /' conftest.
$ac_ext >&5
29203 ac_cv_lib_posix_remove
=no
29205 rm -f conftest.err conftest.
$ac_objext \
29206 conftest
$ac_exeext conftest.
$ac_ext
29207 LIBS
=$ac_check_lib_save_LIBS
29209 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29210 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29211 if test $ac_cv_lib_posix_remove = yes; then
29212 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
29217 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29218 echo "$as_me:$LINENO: checking for shmat" >&5
29219 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29220 if test "${ac_cv_func_shmat+set}" = set; then
29221 echo $ECHO_N "(cached) $ECHO_C" >&6
29223 cat >conftest.
$ac_ext <<_ACEOF
29226 cat confdefs.h
>>conftest.
$ac_ext
29227 cat >>conftest.
$ac_ext <<_ACEOF
29228 /* end confdefs.h. */
29229 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29231 #define shmat innocuous_shmat
29233 /* System header to define __stub macros and hopefully few prototypes,
29234 which can conflict with char shmat (); below.
29235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29236 <limits.h> exists even on freestanding compilers. */
29239 # include <limits.h>
29241 # include <assert.h>
29246 /* Override any gcc2 internal prototype to avoid an error. */
29251 /* We use char because int might match the return type of a gcc2
29252 builtin and then its argument prototype would still apply. */
29254 /* The GNU C library defines this for functions which it implements
29255 to always fail with ENOSYS. Some functions are actually named
29256 something starting with __ and the normal name is an alias. */
29257 #if defined (__stub_shmat) || defined (__stub___shmat)
29260 char (*f) () = shmat;
29274 rm -f conftest.
$ac_objext conftest
$ac_exeext
29275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29276 (eval $ac_link) 2>conftest.er1
29278 grep -v '^ *+' conftest.er1
>conftest.err
29280 cat conftest.err
>&5
29281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29282 (exit $ac_status); } &&
29283 { ac_try
='test -z "$ac_c_werror_flag"
29284 || test ! -s conftest.err'
29285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29286 (eval $ac_try) 2>&5
29288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29289 (exit $ac_status); }; } &&
29290 { ac_try
='test -s conftest$ac_exeext'
29291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29292 (eval $ac_try) 2>&5
29294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29295 (exit $ac_status); }; }; then
29296 ac_cv_func_shmat
=yes
29298 echo "$as_me: failed program was:" >&5
29299 sed 's/^/| /' conftest.
$ac_ext >&5
29301 ac_cv_func_shmat
=no
29303 rm -f conftest.err conftest.
$ac_objext \
29304 conftest
$ac_exeext conftest.
$ac_ext
29306 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29307 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29309 if test $ac_cv_func_shmat = no
; then
29310 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29311 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29312 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29313 echo $ECHO_N "(cached) $ECHO_C" >&6
29315 ac_check_lib_save_LIBS
=$LIBS
29317 cat >conftest.
$ac_ext <<_ACEOF
29320 cat confdefs.h
>>conftest.
$ac_ext
29321 cat >>conftest.
$ac_ext <<_ACEOF
29322 /* end confdefs.h. */
29324 /* Override any gcc2 internal prototype to avoid an error. */
29328 /* We use char because int might match the return type of a gcc2
29329 builtin and then its argument prototype would still apply. */
29339 rm -f conftest.
$ac_objext conftest
$ac_exeext
29340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29341 (eval $ac_link) 2>conftest.er1
29343 grep -v '^ *+' conftest.er1
>conftest.err
29345 cat conftest.err
>&5
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); } &&
29348 { ac_try
='test -z "$ac_c_werror_flag"
29349 || test ! -s conftest.err'
29350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29351 (eval $ac_try) 2>&5
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); }; } &&
29355 { ac_try
='test -s conftest$ac_exeext'
29356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29357 (eval $ac_try) 2>&5
29359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360 (exit $ac_status); }; }; then
29361 ac_cv_lib_ipc_shmat
=yes
29363 echo "$as_me: failed program was:" >&5
29364 sed 's/^/| /' conftest.
$ac_ext >&5
29366 ac_cv_lib_ipc_shmat
=no
29368 rm -f conftest.err conftest.
$ac_objext \
29369 conftest
$ac_exeext conftest.
$ac_ext
29370 LIBS
=$ac_check_lib_save_LIBS
29372 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29373 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29374 if test $ac_cv_lib_ipc_shmat = yes; then
29375 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
29381 # Check for libraries that X11R6 Xt/Xaw programs need.
29382 ac_save_LDFLAGS
=$LDFLAGS
29383 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
29384 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29385 # check for ICE first), but we must link in the order -lSM -lICE or
29386 # we get undefined symbols. So assume we have SM if we have ICE.
29387 # These have to be linked with before -lX11, unlike the other
29388 # libraries we check for below, so use a different variable.
29389 # John Interrante, Karl Berry
29390 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29391 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29392 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29393 echo $ECHO_N "(cached) $ECHO_C" >&6
29395 ac_check_lib_save_LIBS
=$LIBS
29396 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
29397 cat >conftest.
$ac_ext <<_ACEOF
29400 cat confdefs.h
>>conftest.
$ac_ext
29401 cat >>conftest.
$ac_ext <<_ACEOF
29402 /* end confdefs.h. */
29404 /* Override any gcc2 internal prototype to avoid an error. */
29408 /* We use char because int might match the return type of a gcc2
29409 builtin and then its argument prototype would still apply. */
29410 char IceConnectionNumber ();
29414 IceConnectionNumber ();
29419 rm -f conftest.
$ac_objext conftest
$ac_exeext
29420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29421 (eval $ac_link) 2>conftest.er1
29423 grep -v '^ *+' conftest.er1
>conftest.err
29425 cat conftest.err
>&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } &&
29428 { ac_try
='test -z "$ac_c_werror_flag"
29429 || test ! -s conftest.err'
29430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29431 (eval $ac_try) 2>&5
29433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434 (exit $ac_status); }; } &&
29435 { ac_try
='test -s conftest$ac_exeext'
29436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29437 (eval $ac_try) 2>&5
29439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29440 (exit $ac_status); }; }; then
29441 ac_cv_lib_ICE_IceConnectionNumber
=yes
29443 echo "$as_me: failed program was:" >&5
29444 sed 's/^/| /' conftest.
$ac_ext >&5
29446 ac_cv_lib_ICE_IceConnectionNumber
=no
29448 rm -f conftest.err conftest.
$ac_objext \
29449 conftest
$ac_exeext conftest.
$ac_ext
29450 LIBS
=$ac_check_lib_save_LIBS
29452 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29453 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29454 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29455 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29458 LDFLAGS
=$ac_save_LDFLAGS
29463 if test "$no_x" = "yes"; then
29464 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29465 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29466 { (exit 1); exit 1; }; }
29469 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29470 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
29471 AFMINSTALL
=afminstall
29472 COMPILED_X_PROGRAM
=0
29476 if test "$wxUSE_X11" = 1; then
29477 if test "$wxUSE_NANOX" = "yes"; then
29478 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29479 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29480 if test "x$MICROWIN" = x
; then
29481 echo "$as_me:$LINENO: result: not found" >&5
29482 echo "${ECHO_T}not found" >&6
29483 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29484 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29485 { (exit 1); exit 1; }; }
29487 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29488 echo "${ECHO_T}$MICROWIN" >&6
29489 cat >>confdefs.h
<<\_ACEOF
29490 #define wxUSE_NANOX 1
29496 if test "$wxUSE_UNICODE" = "yes"; then
29499 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29500 if test -n "$ac_tool_prefix"; then
29501 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29502 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29503 echo "$as_me:$LINENO: checking for $ac_word" >&5
29504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29505 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29506 echo $ECHO_N "(cached) $ECHO_C" >&6
29508 case $PKG_CONFIG in
29510 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29514 for as_dir
in $PATH
29517 test -z "$as_dir" && as_dir
=.
29518 for ac_exec_ext
in '' $ac_executable_extensions; do
29519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29520 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29530 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29532 if test -n "$PKG_CONFIG"; then
29533 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29534 echo "${ECHO_T}$PKG_CONFIG" >&6
29536 echo "$as_me:$LINENO: result: no" >&5
29537 echo "${ECHO_T}no" >&6
29541 if test -z "$ac_cv_path_PKG_CONFIG"; then
29542 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29543 # Extract the first word of "pkg-config", so it can be a program name with args.
29544 set dummy pkg
-config; ac_word
=$2
29545 echo "$as_me:$LINENO: checking for $ac_word" >&5
29546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29547 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29548 echo $ECHO_N "(cached) $ECHO_C" >&6
29550 case $ac_pt_PKG_CONFIG in
29552 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29556 for as_dir
in $PATH
29559 test -z "$as_dir" && as_dir
=.
29560 for ac_exec_ext
in '' $ac_executable_extensions; do
29561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29562 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29572 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29574 if test -n "$ac_pt_PKG_CONFIG"; then
29575 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29576 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29578 echo "$as_me:$LINENO: result: no" >&5
29579 echo "${ECHO_T}no" >&6
29582 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29584 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29588 if test -n "$PKG_CONFIG"; then
29589 _pkg_min_version
=0.9.0
29590 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29591 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29592 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29593 echo "$as_me:$LINENO: result: yes" >&5
29594 echo "${ECHO_T}yes" >&6
29596 echo "$as_me:$LINENO: result: no" >&5
29597 echo "${ECHO_T}no" >&6
29605 echo "$as_me:$LINENO: checking for PANGOX" >&5
29606 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
29608 if test -n "$PKG_CONFIG"; then
29609 if test -n "$PANGOX_CFLAGS"; then
29610 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
29612 if test -n "$PKG_CONFIG" && \
29613 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
29614 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); }; then
29618 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
29626 if test -n "$PKG_CONFIG"; then
29627 if test -n "$PANGOX_LIBS"; then
29628 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
29630 if test -n "$PKG_CONFIG" && \
29631 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
29632 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
29634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29635 (exit $ac_status); }; then
29636 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
29647 if test $pkg_failed = yes; then
29649 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29650 _pkg_short_errors_supported
=yes
29652 _pkg_short_errors_supported
=no
29654 if test $_pkg_short_errors_supported = yes; then
29655 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
29657 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29659 # Put the nasty error message in config.log where it belongs
29660 echo "$PANGOX_PKG_ERRORS" >&5
29663 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29664 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29665 { (exit 1); exit 1; }; }
29668 elif test $pkg_failed = untried
; then
29670 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29671 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29672 { (exit 1); exit 1; }; }
29676 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
29677 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
29678 echo "$as_me:$LINENO: result: yes" >&5
29679 echo "${ECHO_T}yes" >&6
29681 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
29682 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29683 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
29688 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
29689 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
29691 if test -n "$PKG_CONFIG"; then
29692 if test -n "$PANGOFT2_CFLAGS"; then
29693 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
29695 if test -n "$PKG_CONFIG" && \
29696 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
29697 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); }; then
29701 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
29709 if test -n "$PKG_CONFIG"; then
29710 if test -n "$PANGOFT2_LIBS"; then
29711 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
29713 if test -n "$PKG_CONFIG" && \
29714 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
29715 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); }; then
29719 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
29730 if test $pkg_failed = yes; then
29732 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29733 _pkg_short_errors_supported
=yes
29735 _pkg_short_errors_supported
=no
29737 if test $_pkg_short_errors_supported = yes; then
29738 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
29740 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29742 # Put the nasty error message in config.log where it belongs
29743 echo "$PANGOFT2_PKG_ERRORS" >&5
29746 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29747 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29748 wxUSE_PRINTING_ARCHITECTURE
="no"
29751 elif test $pkg_failed = untried
; then
29753 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29754 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29755 wxUSE_PRINTING_ARCHITECTURE
="no"
29759 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
29760 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
29761 echo "$as_me:$LINENO: result: yes" >&5
29762 echo "${ECHO_T}yes" >&6
29764 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
29765 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
29766 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29771 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
29772 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
29774 if test -n "$PKG_CONFIG"; then
29775 if test -n "$PANGOXFT_CFLAGS"; then
29776 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
29778 if test -n "$PKG_CONFIG" && \
29779 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
29780 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); }; then
29784 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
29792 if test -n "$PKG_CONFIG"; then
29793 if test -n "$PANGOXFT_LIBS"; then
29794 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
29796 if test -n "$PKG_CONFIG" && \
29797 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
29798 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); }; then
29802 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
29813 if test $pkg_failed = yes; then
29815 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29816 _pkg_short_errors_supported
=yes
29818 _pkg_short_errors_supported
=no
29820 if test $_pkg_short_errors_supported = yes; then
29821 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
29823 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29825 # Put the nasty error message in config.log where it belongs
29826 echo "$PANGOXFT_PKG_ERRORS" >&5
29829 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29830 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29833 elif test $pkg_failed = untried
; then
29835 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29836 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29840 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
29841 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
29842 echo "$as_me:$LINENO: result: yes" >&5
29843 echo "${ECHO_T}yes" >&6
29845 cat >>confdefs.h
<<\_ACEOF
29846 #define HAVE_PANGO_XFT 1
29849 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
29850 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
29851 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29855 LIBS
="$LIBS $PANGOX_LIBS"
29857 for ac_func
in pango_font_family_is_monospace
29859 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29860 echo "$as_me:$LINENO: checking for $ac_func" >&5
29861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29862 if eval "test \"\${$as_ac_var+set}\" = set"; then
29863 echo $ECHO_N "(cached) $ECHO_C" >&6
29865 cat >conftest.
$ac_ext <<_ACEOF
29868 cat confdefs.h
>>conftest.
$ac_ext
29869 cat >>conftest.
$ac_ext <<_ACEOF
29870 /* end confdefs.h. */
29871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29873 #define $ac_func innocuous_$ac_func
29875 /* System header to define __stub macros and hopefully few prototypes,
29876 which can conflict with char $ac_func (); below.
29877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29878 <limits.h> exists even on freestanding compilers. */
29881 # include <limits.h>
29883 # include <assert.h>
29888 /* Override any gcc2 internal prototype to avoid an error. */
29893 /* We use char because int might match the return type of a gcc2
29894 builtin and then its argument prototype would still apply. */
29896 /* The GNU C library defines this for functions which it implements
29897 to always fail with ENOSYS. Some functions are actually named
29898 something starting with __ and the normal name is an alias. */
29899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29902 char (*f) () = $ac_func;
29911 return f != $ac_func;
29916 rm -f conftest.
$ac_objext conftest
$ac_exeext
29917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29918 (eval $ac_link) 2>conftest.er1
29920 grep -v '^ *+' conftest.er1
>conftest.err
29922 cat conftest.err
>&5
29923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924 (exit $ac_status); } &&
29925 { ac_try
='test -z "$ac_c_werror_flag"
29926 || test ! -s conftest.err'
29927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29928 (eval $ac_try) 2>&5
29930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931 (exit $ac_status); }; } &&
29932 { ac_try
='test -s conftest$ac_exeext'
29933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29934 (eval $ac_try) 2>&5
29936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937 (exit $ac_status); }; }; then
29938 eval "$as_ac_var=yes"
29940 echo "$as_me: failed program was:" >&5
29941 sed 's/^/| /' conftest.
$ac_ext >&5
29943 eval "$as_ac_var=no"
29945 rm -f conftest.err conftest.
$ac_objext \
29946 conftest
$ac_exeext conftest.
$ac_ext
29948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29950 if test `eval echo '${'$as_ac_var'}'` = yes; then
29951 cat >>confdefs.h
<<_ACEOF
29952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29961 wxUSE_UNIVERSAL
="yes"
29963 if test "$wxUSE_NANOX" = "yes"; then
29964 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29965 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"
29966 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29968 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29975 if test "$wxUSE_MOTIF" = 1; then
29976 if test "$wxUSE_UNICODE" = "yes"; then
29977 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29978 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29979 { (exit 1); exit 1; }; }
29982 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29983 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29986 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29988 if test -f "$ac_dir/Xm/Xm.h"; then
29989 ac_find_includes
=$ac_dir
29994 if test "$ac_find_includes" != "" ; then
29995 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29996 echo "${ECHO_T}found in $ac_find_includes" >&6
29998 if test "x$ac_find_includes" = "x/usr/include"; then
29999 ac_path_to_include
=""
30001 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
30003 if test $result = 0; then
30004 ac_path_to_include
=""
30006 ac_path_to_include
=" -I$ac_find_includes"
30010 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
30012 save_CFLAGS
=$CFLAGS
30013 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30015 cat >conftest.
$ac_ext <<_ACEOF
30018 cat confdefs.h
>>conftest.
$ac_ext
30019 cat >>conftest.
$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30029 version = xmUseVersion;
30035 rm -f conftest.
$ac_objext
30036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30037 (eval $ac_compile) 2>conftest.er1
30039 grep -v '^ *+' conftest.er1
>conftest.err
30041 cat conftest.err
>&5
30042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30043 (exit $ac_status); } &&
30044 { ac_try
='test -z "$ac_c_werror_flag"
30045 || test ! -s conftest.err'
30046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30047 (eval $ac_try) 2>&5
30049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050 (exit $ac_status); }; } &&
30051 { ac_try
='test -s conftest.$ac_objext'
30052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30053 (eval $ac_try) 2>&5
30055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30056 (exit $ac_status); }; }; then
30058 echo "$as_me:$LINENO: result: found in default search path" >&5
30059 echo "${ECHO_T}found in default search path" >&6
30060 COMPILED_X_PROGRAM
=1
30063 echo "$as_me: failed program was:" >&5
30064 sed 's/^/| /' conftest.
$ac_ext >&5
30067 echo "$as_me:$LINENO: result: no" >&5
30068 echo "${ECHO_T}no" >&6
30069 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30070 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30071 { (exit 1); exit 1; }; }
30075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30077 CFLAGS
=$save_CFLAGS
30081 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30082 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30085 for ac_dir
in $SEARCH_LIB;
30087 for ac_extension
in a so sl dylib dll.a
; do
30088 if test -f "$ac_dir/libXm.$ac_extension"; then
30089 ac_find_libraries
=$ac_dir
30096 if test "x$ac_find_libraries" != "x" ; then
30097 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30098 echo "${ECHO_T}found in $ac_find_libraries" >&6
30101 if test "$ac_find_libraries" = "default location"; then
30104 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30106 if test $result = 0; then
30109 ac_path_to_link
=" -L$ac_find_libraries"
30113 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30115 save_CFLAGS
=$CFLAGS
30116 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30118 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30120 cat >conftest.
$ac_ext <<_ACEOF
30123 cat confdefs.h
>>conftest.
$ac_ext
30124 cat >>conftest.
$ac_ext <<_ACEOF
30125 /* end confdefs.h. */
30134 version = xmUseVersion;
30140 rm -f conftest.
$ac_objext conftest
$ac_exeext
30141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30142 (eval $ac_link) 2>conftest.er1
30144 grep -v '^ *+' conftest.er1
>conftest.err
30146 cat conftest.err
>&5
30147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30148 (exit $ac_status); } &&
30149 { ac_try
='test -z "$ac_c_werror_flag"
30150 || test ! -s conftest.err'
30151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30152 (eval $ac_try) 2>&5
30154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30155 (exit $ac_status); }; } &&
30156 { ac_try
='test -s conftest$ac_exeext'
30157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30158 (eval $ac_try) 2>&5
30160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30161 (exit $ac_status); }; }; then
30163 echo "$as_me:$LINENO: result: found in default search path" >&5
30164 echo "${ECHO_T}found in default search path" >&6
30165 COMPILED_X_PROGRAM
=1
30168 echo "$as_me: failed program was:" >&5
30169 sed 's/^/| /' conftest.
$ac_ext >&5
30172 echo "$as_me:$LINENO: result: no" >&5
30173 echo "${ECHO_T}no" >&6
30174 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30175 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30176 { (exit 1); exit 1; }; }
30180 rm -f conftest.err conftest.
$ac_objext \
30181 conftest
$ac_exeext conftest.
$ac_ext
30183 CFLAGS
=$save_CFLAGS
30187 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30188 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30192 for libp
in "" " -lXp"; do
30193 if test "$libs_found" = "0"; then
30194 for libsm_ice
in "" " -lSM -lICE"; do
30195 if test "$libs_found" = "0"; then
30197 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30198 save_CFLAGS
=$CFLAGS
30199 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30201 cat >conftest.
$ac_ext <<_ACEOF
30204 cat confdefs.h
>>conftest.
$ac_ext
30205 cat >>conftest.
$ac_ext <<_ACEOF
30206 /* end confdefs.h. */
30209 #include <Xm/List.h>
30215 XmString string = NULL;
30218 XmListAddItem(w, string, position);
30224 rm -f conftest.
$ac_objext conftest
$ac_exeext
30225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30226 (eval $ac_link) 2>conftest.er1
30228 grep -v '^ *+' conftest.er1
>conftest.err
30230 cat conftest.err
>&5
30231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30232 (exit $ac_status); } &&
30233 { ac_try
='test -z "$ac_c_werror_flag"
30234 || test ! -s conftest.err'
30235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30236 (eval $ac_try) 2>&5
30238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30239 (exit $ac_status); }; } &&
30240 { ac_try
='test -s conftest$ac_exeext'
30241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30242 (eval $ac_try) 2>&5
30244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245 (exit $ac_status); }; }; then
30248 libsm_ice_link
="$libsm_ice"
30249 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30250 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30254 echo "$as_me: failed program was:" >&5
30255 sed 's/^/| /' conftest.
$ac_ext >&5
30260 rm -f conftest.err conftest.
$ac_objext \
30261 conftest
$ac_exeext conftest.
$ac_ext
30264 CFLAGS
=$save_CFLAGS
30270 if test "$libs_found" = "0"; then
30271 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30272 echo "${ECHO_T}can't find the right libraries" >&6
30273 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30274 echo "$as_me: error: can't link a simple motif program" >&2;}
30275 { (exit 1); exit 1; }; }
30278 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30279 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30280 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30281 echo $ECHO_N "(cached) $ECHO_C" >&6
30283 ac_check_lib_save_LIBS
=$LIBS
30285 cat >conftest.
$ac_ext <<_ACEOF
30288 cat confdefs.h
>>conftest.
$ac_ext
30289 cat >>conftest.
$ac_ext <<_ACEOF
30290 /* end confdefs.h. */
30292 /* Override any gcc2 internal prototype to avoid an error. */
30296 /* We use char because int might match the return type of a gcc2
30297 builtin and then its argument prototype would still apply. */
30298 char SgCreateList ();
30307 rm -f conftest.
$ac_objext conftest
$ac_exeext
30308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30309 (eval $ac_link) 2>conftest.er1
30311 grep -v '^ *+' conftest.er1
>conftest.err
30313 cat conftest.err
>&5
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); } &&
30316 { ac_try
='test -z "$ac_c_werror_flag"
30317 || test ! -s conftest.err'
30318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30319 (eval $ac_try) 2>&5
30321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322 (exit $ac_status); }; } &&
30323 { ac_try
='test -s conftest$ac_exeext'
30324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30325 (eval $ac_try) 2>&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); }; }; then
30329 ac_cv_lib_Sgm_SgCreateList
=yes
30331 echo "$as_me: failed program was:" >&5
30332 sed 's/^/| /' conftest.
$ac_ext >&5
30334 ac_cv_lib_Sgm_SgCreateList
=no
30336 rm -f conftest.err conftest.
$ac_objext \
30337 conftest
$ac_exeext conftest.
$ac_ext
30338 LIBS
=$ac_check_lib_save_LIBS
30340 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30341 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30342 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30343 libsgm_link
=" -lSgm"
30347 save_CFLAGS
=$CFLAGS
30348 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30350 echo "$as_me:$LINENO: checking for Motif 2" >&5
30351 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30352 if test "${wx_cv_lib_motif2+set}" = set; then
30353 echo $ECHO_N "(cached) $ECHO_C" >&6
30355 cat >conftest.
$ac_ext <<_ACEOF
30358 cat confdefs.h
>>conftest.
$ac_ext
30359 cat >>conftest.
$ac_ext <<_ACEOF
30360 /* end confdefs.h. */
30368 #if XmVersion < 2000
30376 rm -f conftest.
$ac_objext
30377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30378 (eval $ac_compile) 2>conftest.er1
30380 grep -v '^ *+' conftest.er1
>conftest.err
30382 cat conftest.err
>&5
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); } &&
30385 { ac_try
='test -z "$ac_c_werror_flag"
30386 || test ! -s conftest.err'
30387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30388 (eval $ac_try) 2>&5
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); }; } &&
30392 { ac_try
='test -s conftest.$ac_objext'
30393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30394 (eval $ac_try) 2>&5
30396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30397 (exit $ac_status); }; }; then
30398 wx_cv_lib_motif2
="yes"
30400 echo "$as_me: failed program was:" >&5
30401 sed 's/^/| /' conftest.
$ac_ext >&5
30403 wx_cv_lib_motif2
="no"
30405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30407 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30408 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30409 if test "$wx_cv_lib_motif2" = "yes"; then
30410 cat >>confdefs.h
<<\_ACEOF
30411 #define __WXMOTIF20__ 1
30415 cat >>confdefs.h
<<\_ACEOF
30416 #define __WXMOTIF20__ 0
30421 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30422 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30423 if test "${wx_cv_lib_lesstif+set}" = set; then
30424 echo $ECHO_N "(cached) $ECHO_C" >&6
30426 cat >conftest.
$ac_ext <<_ACEOF
30429 cat confdefs.h
>>conftest.
$ac_ext
30430 cat >>conftest.
$ac_ext <<_ACEOF
30431 /* end confdefs.h. */
30439 #if !defined(LesstifVersion) || LesstifVersion <= 0
30447 rm -f conftest.
$ac_objext
30448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30449 (eval $ac_compile) 2>conftest.er1
30451 grep -v '^ *+' conftest.er1
>conftest.err
30453 cat conftest.err
>&5
30454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30455 (exit $ac_status); } &&
30456 { ac_try
='test -z "$ac_c_werror_flag"
30457 || test ! -s conftest.err'
30458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30459 (eval $ac_try) 2>&5
30461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30462 (exit $ac_status); }; } &&
30463 { ac_try
='test -s conftest.$ac_objext'
30464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30465 (eval $ac_try) 2>&5
30467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468 (exit $ac_status); }; }; then
30469 wx_cv_lib_lesstif
="yes"
30471 echo "$as_me: failed program was:" >&5
30472 sed 's/^/| /' conftest.
$ac_ext >&5
30474 wx_cv_lib_lesstif
="no"
30476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30479 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30480 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30481 if test "$wx_cv_lib_lesstif" = "yes"; then
30482 cat >>confdefs.h
<<\_ACEOF
30483 #define __WXLESSTIF__ 1
30487 cat >>confdefs.h
<<\_ACEOF
30488 #define __WXLESSTIF__ 0
30493 CFLAGS
=$save_CFLAGS
30495 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30500 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30501 if test "$wxUSE_LIBXPM" = "sys"; then
30502 echo "$as_me:$LINENO: checking for Xpm library" >&5
30503 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30506 for ac_dir
in $SEARCH_LIB;
30508 for ac_extension
in a so sl dylib dll.a
; do
30509 if test -f "$ac_dir/libXpm.$ac_extension"; then
30510 ac_find_libraries
=$ac_dir
30516 if test "$ac_find_libraries" != "" ; then
30518 if test "$ac_find_libraries" = "default location"; then
30521 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30523 if test $result = 0; then
30526 ac_path_to_link
=" -L$ac_find_libraries"
30530 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30531 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30532 echo "${ECHO_T}found in $ac_find_libraries" >&6
30534 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30535 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30536 if test "${wx_cv_x11_xpm_h+set}" = set; then
30537 echo $ECHO_N "(cached) $ECHO_C" >&6
30540 save_CFLAGS
=$CFLAGS
30541 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30543 cat >conftest.
$ac_ext <<_ACEOF
30546 cat confdefs.h
>>conftest.
$ac_ext
30547 cat >>conftest.
$ac_ext <<_ACEOF
30548 /* end confdefs.h. */
30550 #include <X11/xpm.h>
30557 version = XpmLibraryVersion();
30563 rm -f conftest.
$ac_objext
30564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30565 (eval $ac_compile) 2>conftest.er1
30567 grep -v '^ *+' conftest.er1
>conftest.err
30569 cat conftest.err
>&5
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); } &&
30572 { ac_try
='test -z "$ac_c_werror_flag"
30573 || test ! -s conftest.err'
30574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30575 (eval $ac_try) 2>&5
30577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30578 (exit $ac_status); }; } &&
30579 { ac_try
='test -s conftest.$ac_objext'
30580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30581 (eval $ac_try) 2>&5
30583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30584 (exit $ac_status); }; }; then
30585 wx_cv_x11_xpm_h
=yes
30587 echo "$as_me: failed program was:" >&5
30588 sed 's/^/| /' conftest.
$ac_ext >&5
30593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30595 CFLAGS
=$save_CFLAGS
30599 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30600 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30602 if test $wx_cv_x11_xpm_h = "yes"; then
30603 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
30604 cat >>confdefs.h
<<\_ACEOF
30605 #define wxHAVE_LIB_XPM 1
30609 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30610 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30616 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30617 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30618 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30619 echo $ECHO_N "(cached) $ECHO_C" >&6
30621 ac_check_lib_save_LIBS
=$LIBS
30622 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30623 cat >conftest.
$ac_ext <<_ACEOF
30626 cat confdefs.h
>>conftest.
$ac_ext
30627 cat >>conftest.
$ac_ext <<_ACEOF
30628 /* end confdefs.h. */
30630 /* Override any gcc2 internal prototype to avoid an error. */
30634 /* We use char because int might match the return type of a gcc2
30635 builtin and then its argument prototype would still apply. */
30636 char XShapeQueryExtension ();
30640 XShapeQueryExtension ();
30645 rm -f conftest.
$ac_objext conftest
$ac_exeext
30646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30647 (eval $ac_link) 2>conftest.er1
30649 grep -v '^ *+' conftest.er1
>conftest.err
30651 cat conftest.err
>&5
30652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30653 (exit $ac_status); } &&
30654 { ac_try
='test -z "$ac_c_werror_flag"
30655 || test ! -s conftest.err'
30656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30657 (eval $ac_try) 2>&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); }; } &&
30661 { ac_try
='test -s conftest$ac_exeext'
30662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30663 (eval $ac_try) 2>&5
30665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30666 (exit $ac_status); }; }; then
30667 ac_cv_lib_Xext_XShapeQueryExtension
=yes
30669 echo "$as_me: failed program was:" >&5
30670 sed 's/^/| /' conftest.
$ac_ext >&5
30672 ac_cv_lib_Xext_XShapeQueryExtension
=no
30674 rm -f conftest.err conftest.
$ac_objext \
30675 conftest
$ac_exeext conftest.
$ac_ext
30676 LIBS
=$ac_check_lib_save_LIBS
30678 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30679 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30680 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30682 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
30688 if test "$wxHAVE_XEXT_LIB" = 1; then
30689 save_CFLAGS
="$CFLAGS"
30690 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30692 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30693 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30694 cat >conftest.
$ac_ext <<_ACEOF
30697 cat confdefs.h
>>conftest.
$ac_ext
30698 cat >>conftest.
$ac_ext <<_ACEOF
30699 /* end confdefs.h. */
30701 #include <X11/Xlib.h>
30702 #include <X11/extensions/shape.h>
30708 int dummy1, dummy2;
30709 XShapeQueryExtension((Display*)NULL,
30710 (int*)NULL, (int*)NULL);
30716 rm -f conftest.
$ac_objext
30717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30718 (eval $ac_compile) 2>conftest.er1
30720 grep -v '^ *+' conftest.er1
>conftest.err
30722 cat conftest.err
>&5
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); } &&
30725 { ac_try
='test -z "$ac_c_werror_flag"
30726 || test ! -s conftest.err'
30727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30728 (eval $ac_try) 2>&5
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); }; } &&
30732 { ac_try
='test -s conftest.$ac_objext'
30733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30734 (eval $ac_try) 2>&5
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); }; }; then
30739 cat >>confdefs.h
<<\_ACEOF
30740 #define HAVE_XSHAPE 1
30743 echo "$as_me:$LINENO: result: found" >&5
30744 echo "${ECHO_T}found" >&6
30747 echo "$as_me: failed program was:" >&5
30748 sed 's/^/| /' conftest.
$ac_ext >&5
30751 echo "$as_me:$LINENO: result: not found" >&5
30752 echo "${ECHO_T}not found" >&6
30755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30756 CFLAGS
="$save_CFLAGS"
30761 if test "$wxUSE_MAC" = 1; then
30762 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30763 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30764 if test "$GCC" = yes; then
30765 echo "$as_me:$LINENO: result: gcc" >&5
30766 echo "${ECHO_T}gcc" >&6
30767 CPPFLAGS_PASCAL
="-fpascal-strings"
30768 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30769 echo "$as_me:$LINENO: result: xlc" >&5
30770 echo "${ECHO_T}xlc" >&6
30771 CPPFLAGS_PASCAL
="-qmacpstr"
30773 echo "$as_me:$LINENO: result: none" >&5
30774 echo "${ECHO_T}none" >&6
30777 if test "x$wxUSE_UNIX" = "xyes"; then
30778 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30780 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30785 WXBASEPORT
="_carbon"
30788 if test "$wxUSE_COCOA" = 1; then
30793 if test "$wxUSE_PM" = 1; then
30796 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30797 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30798 if test "${wx_cv_spbcdata+set}" = set; then
30799 echo $ECHO_N "(cached) $ECHO_C" >&6
30802 cat >conftest.
$ac_ext <<_ACEOF
30805 cat confdefs.h
>>conftest.
$ac_ext
30806 cat >>conftest.
$ac_ext <<_ACEOF
30807 /* end confdefs.h. */
30822 rm -f conftest.
$ac_objext
30823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30824 (eval $ac_compile) 2>conftest.er1
30826 grep -v '^ *+' conftest.er1
>conftest.err
30828 cat conftest.err
>&5
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); } &&
30831 { ac_try
='test -z "$ac_c_werror_flag"
30832 || test ! -s conftest.err'
30833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30834 (eval $ac_try) 2>&5
30836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30837 (exit $ac_status); }; } &&
30838 { ac_try
='test -s conftest.$ac_objext'
30839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30840 (eval $ac_try) 2>&5
30842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30843 (exit $ac_status); }; }; then
30846 echo "$as_me: failed program was:" >&5
30847 sed 's/^/| /' conftest.
$ac_ext >&5
30852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30856 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30857 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30859 if test $wx_cv_spbcdata = "yes"; then
30860 cat >>confdefs.h
<<\_ACEOF
30861 #define HAVE_SPBCDATA 1
30867 if test "$TOOLKIT" = "PM" ; then
30870 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30873 if test "$wxUSE_UNIVERSAL" = "yes"; then
30874 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30878 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30879 DISTDIR
="wx\$(TOOLKIT)"
30885 if test "$USE_WIN32" = 1 ; then
30889 GUIDIST
="BASE_DIST"
30895 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
30896 if test "$TOOLKIT" = "DFB" ; then
30897 wxUSE_UNICODE_UTF8
=yes
30898 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
30899 wxUSE_UNICODE_UTF8
=yes
30901 wxUSE_UNICODE_UTF8
=no
30906 if test "$wxUSE_GUI" = "yes"; then
30907 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30908 echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
30909 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6
30910 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
30911 echo $ECHO_N "(cached) $ECHO_C" >&6
30913 cat >conftest.
$ac_ext <<_ACEOF
30916 cat confdefs.h
>>conftest.
$ac_ext
30917 cat >>conftest.
$ac_ext <<_ACEOF
30918 /* end confdefs.h. */
30921 #include <X11/Xlib.h>
30923 rm -f conftest.
$ac_objext
30924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30925 (eval $ac_compile) 2>conftest.er1
30927 grep -v '^ *+' conftest.er1
>conftest.err
30929 cat conftest.err
>&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); } &&
30932 { ac_try
='test -z "$ac_c_werror_flag"
30933 || test ! -s conftest.err'
30934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30935 (eval $ac_try) 2>&5
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); }; } &&
30939 { ac_try
='test -s conftest.$ac_objext'
30940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30941 (eval $ac_try) 2>&5
30943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30944 (exit $ac_status); }; }; then
30945 ac_cv_header_X11_Xlib_h
=yes
30947 echo "$as_me: failed program was:" >&5
30948 sed 's/^/| /' conftest.
$ac_ext >&5
30950 ac_cv_header_X11_Xlib_h
=no
30952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30954 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
30955 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6
30958 echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
30959 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6
30960 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
30961 echo $ECHO_N "(cached) $ECHO_C" >&6
30963 cat >conftest.
$ac_ext <<_ACEOF
30966 cat confdefs.h
>>conftest.
$ac_ext
30967 cat >>conftest.
$ac_ext <<_ACEOF
30968 /* end confdefs.h. */
30970 #if HAVE_X11_XLIB_H
30971 #include <X11/Xlib.h>
30975 #include <X11/XKBlib.h>
30977 rm -f conftest.
$ac_objext
30978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30979 (eval $ac_compile) 2>conftest.er1
30981 grep -v '^ *+' conftest.er1
>conftest.err
30983 cat conftest.err
>&5
30984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30985 (exit $ac_status); } &&
30986 { ac_try
='test -z "$ac_c_werror_flag"
30987 || test ! -s conftest.err'
30988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30989 (eval $ac_try) 2>&5
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); }; } &&
30993 { ac_try
='test -s conftest.$ac_objext'
30994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30995 (eval $ac_try) 2>&5
30997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30998 (exit $ac_status); }; }; then
30999 ac_cv_header_X11_XKBlib_h
=yes
31001 echo "$as_me: failed program was:" >&5
31002 sed 's/^/| /' conftest.
$ac_ext >&5
31004 ac_cv_header_X11_XKBlib_h
=no
31006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31008 echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31009 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6
31020 if test "$TOOLKIT" != "MSW" ; then
31022 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31024 echo "$as_me:$LINENO: checking for sql.h" >&5
31025 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31026 if test "${ac_cv_header_sql_h+set}" = set; then
31027 echo $ECHO_N "(cached) $ECHO_C" >&6
31029 cat >conftest.
$ac_ext <<_ACEOF
31032 cat confdefs.h
>>conftest.
$ac_ext
31033 cat >>conftest.
$ac_ext <<_ACEOF
31034 /* end confdefs.h. */
31039 rm -f conftest.
$ac_objext
31040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31041 (eval $ac_compile) 2>conftest.er1
31043 grep -v '^ *+' conftest.er1
>conftest.err
31045 cat conftest.err
>&5
31046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31047 (exit $ac_status); } &&
31048 { ac_try
='test -z "$ac_c_werror_flag"
31049 || test ! -s conftest.err'
31050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31051 (eval $ac_try) 2>&5
31053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31054 (exit $ac_status); }; } &&
31055 { ac_try
='test -s conftest.$ac_objext'
31056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31057 (eval $ac_try) 2>&5
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); }; }; then
31061 ac_cv_header_sql_h
=yes
31063 echo "$as_me: failed program was:" >&5
31064 sed 's/^/| /' conftest.
$ac_ext >&5
31066 ac_cv_header_sql_h
=no
31068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31070 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31071 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31072 if test $ac_cv_header_sql_h = yes; then
31077 if test "x$found_sql_h" = "x1" ; then
31078 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31079 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31080 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31081 echo $ECHO_N "(cached) $ECHO_C" >&6
31083 ac_check_lib_save_LIBS
=$LIBS
31084 LIBS
="-liodbc $LIBS"
31085 cat >conftest.
$ac_ext <<_ACEOF
31088 cat confdefs.h
>>conftest.
$ac_ext
31089 cat >>conftest.
$ac_ext <<_ACEOF
31090 /* end confdefs.h. */
31092 /* Override any gcc2 internal prototype to avoid an error. */
31096 /* We use char because int might match the return type of a gcc2
31097 builtin and then its argument prototype would still apply. */
31098 char SQLAllocEnv ();
31107 rm -f conftest.
$ac_objext conftest
$ac_exeext
31108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31109 (eval $ac_link) 2>conftest.er1
31111 grep -v '^ *+' conftest.er1
>conftest.err
31113 cat conftest.err
>&5
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); } &&
31116 { ac_try
='test -z "$ac_c_werror_flag"
31117 || test ! -s conftest.err'
31118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31119 (eval $ac_try) 2>&5
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); }; } &&
31123 { ac_try
='test -s conftest$ac_exeext'
31124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31125 (eval $ac_try) 2>&5
31127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 (exit $ac_status); }; }; then
31129 ac_cv_lib_iodbc_SQLAllocEnv
=yes
31131 echo "$as_me: failed program was:" >&5
31132 sed 's/^/| /' conftest.
$ac_ext >&5
31134 ac_cv_lib_iodbc_SQLAllocEnv
=no
31136 rm -f conftest.err conftest.
$ac_objext \
31137 conftest
$ac_exeext conftest.
$ac_ext
31138 LIBS
=$ac_check_lib_save_LIBS
31140 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31141 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31142 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31143 ODBC_LINK
=" -liodbc"
31146 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31147 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31148 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31149 echo $ECHO_N "(cached) $ECHO_C" >&6
31151 ac_check_lib_save_LIBS
=$LIBS
31152 LIBS
="-lunixodbc $LIBS"
31153 cat >conftest.
$ac_ext <<_ACEOF
31156 cat confdefs.h
>>conftest.
$ac_ext
31157 cat >>conftest.
$ac_ext <<_ACEOF
31158 /* end confdefs.h. */
31160 /* Override any gcc2 internal prototype to avoid an error. */
31164 /* We use char because int might match the return type of a gcc2
31165 builtin and then its argument prototype would still apply. */
31166 char SQLAllocEnv ();
31175 rm -f conftest.
$ac_objext conftest
$ac_exeext
31176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31177 (eval $ac_link) 2>conftest.er1
31179 grep -v '^ *+' conftest.er1
>conftest.err
31181 cat conftest.err
>&5
31182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183 (exit $ac_status); } &&
31184 { ac_try
='test -z "$ac_c_werror_flag"
31185 || test ! -s conftest.err'
31186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31187 (eval $ac_try) 2>&5
31189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190 (exit $ac_status); }; } &&
31191 { ac_try
='test -s conftest$ac_exeext'
31192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31193 (eval $ac_try) 2>&5
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); }; }; then
31197 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31199 echo "$as_me: failed program was:" >&5
31200 sed 's/^/| /' conftest.
$ac_ext >&5
31202 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31204 rm -f conftest.err conftest.
$ac_objext \
31205 conftest
$ac_exeext conftest.
$ac_ext
31206 LIBS
=$ac_check_lib_save_LIBS
31208 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31209 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31210 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31211 ODBC_LINK
=" -lunixodbc"
31214 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31215 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31216 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31217 echo $ECHO_N "(cached) $ECHO_C" >&6
31219 ac_check_lib_save_LIBS
=$LIBS
31220 LIBS
="-lodbc $LIBS"
31221 cat >conftest.
$ac_ext <<_ACEOF
31224 cat confdefs.h
>>conftest.
$ac_ext
31225 cat >>conftest.
$ac_ext <<_ACEOF
31226 /* end confdefs.h. */
31228 /* Override any gcc2 internal prototype to avoid an error. */
31232 /* We use char because int might match the return type of a gcc2
31233 builtin and then its argument prototype would still apply. */
31234 char SQLAllocEnv ();
31243 rm -f conftest.
$ac_objext conftest
$ac_exeext
31244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31245 (eval $ac_link) 2>conftest.er1
31247 grep -v '^ *+' conftest.er1
>conftest.err
31249 cat conftest.err
>&5
31250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251 (exit $ac_status); } &&
31252 { ac_try
='test -z "$ac_c_werror_flag"
31253 || test ! -s conftest.err'
31254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31255 (eval $ac_try) 2>&5
31257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31258 (exit $ac_status); }; } &&
31259 { ac_try
='test -s conftest$ac_exeext'
31260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31261 (eval $ac_try) 2>&5
31263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31264 (exit $ac_status); }; }; then
31265 ac_cv_lib_odbc_SQLAllocEnv
=yes
31267 echo "$as_me: failed program was:" >&5
31268 sed 's/^/| /' conftest.
$ac_ext >&5
31270 ac_cv_lib_odbc_SQLAllocEnv
=no
31272 rm -f conftest.err conftest.
$ac_objext \
31273 conftest
$ac_exeext conftest.
$ac_ext
31274 LIBS
=$ac_check_lib_save_LIBS
31276 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31277 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31278 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31279 ODBC_LINK
=" -lodbc"
31289 if test "x$ODBC_LINK" = "x" ; then
31290 if test "$wxUSE_ODBC" = "sys" ; then
31291 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31292 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31293 { (exit 1); exit 1; }; }
31295 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31296 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31304 if test "$wxUSE_ODBC" = "builtin" ; then
31305 cat >>confdefs.h
<<\_ACEOF
31306 #define wxUSE_BUILTIN_IODBC 1
31312 if test "$wxUSE_ODBC" != "no" ; then
31313 cat >>confdefs.h
<<\_ACEOF
31314 #define wxUSE_ODBC 1
31317 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
31319 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
31323 if test "$wxUSE_DISPLAY" = "yes"; then
31324 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31325 echo "$as_me:$LINENO: checking for Xinerama" >&5
31326 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31329 for ac_dir
in $SEARCH_LIB;
31331 for ac_extension
in a so sl dylib dll.a
; do
31332 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31333 ac_find_libraries
=$ac_dir
31339 if test "$ac_find_libraries" != "" ; then
31341 if test "$ac_find_libraries" = "default location"; then
31344 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31346 if test $result = 0; then
31349 ac_path_to_link
=" -L$ac_find_libraries"
31353 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31354 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31356 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
31357 echo "$as_me:$LINENO: result: yes" >&5
31358 echo "${ECHO_T}yes" >&6
31360 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31361 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31364 for ac_dir
in $SEARCH_LIB;
31366 for ac_extension
in a so sl dylib dll.a
; do
31367 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31368 ac_find_libraries
=$ac_dir
31374 if test "$ac_find_libraries" != "" ; then
31375 echo "$as_me:$LINENO: result: yes" >&5
31376 echo "${ECHO_T}yes" >&6
31377 echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31378 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6
31379 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31380 echo $ECHO_N "(cached) $ECHO_C" >&6
31382 cat >conftest.
$ac_ext <<_ACEOF
31385 cat confdefs.h
>>conftest.
$ac_ext
31386 cat >>conftest.
$ac_ext <<_ACEOF
31387 /* end confdefs.h. */
31389 #if HAVE_X11_XLIB_H
31390 #include <X11/Xlib.h>
31394 #include <X11/extensions/xf86vmode.h>
31396 rm -f conftest.
$ac_objext
31397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31398 (eval $ac_compile) 2>conftest.er1
31400 grep -v '^ *+' conftest.er1
>conftest.err
31402 cat conftest.err
>&5
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); } &&
31405 { ac_try
='test -z "$ac_c_werror_flag"
31406 || test ! -s conftest.err'
31407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31408 (eval $ac_try) 2>&5
31410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31411 (exit $ac_status); }; } &&
31412 { ac_try
='test -s conftest.$ac_objext'
31413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31414 (eval $ac_try) 2>&5
31416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417 (exit $ac_status); }; }; then
31418 ac_cv_header_X11_extensions_xf86vmode_h
=yes
31420 echo "$as_me: failed program was:" >&5
31421 sed 's/^/| /' conftest.
$ac_ext >&5
31423 ac_cv_header_X11_extensions_xf86vmode_h
=no
31425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31427 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31428 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6
31429 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31431 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31437 echo "$as_me:$LINENO: result: no" >&5
31438 echo "${ECHO_T}no" >&6
31442 echo "$as_me:$LINENO: result: no" >&5
31443 echo "${ECHO_T}no" >&6
31444 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31445 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31448 elif test "$wxUSE_MSW" = 1; then
31449 echo "$as_me:$LINENO: checking for ddraw.h" >&5
31450 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6
31451 if test "${ac_cv_header_ddraw_h+set}" = set; then
31452 echo $ECHO_N "(cached) $ECHO_C" >&6
31454 cat >conftest.
$ac_ext <<_ACEOF
31457 cat confdefs.h
>>conftest.
$ac_ext
31458 cat >>conftest.
$ac_ext <<_ACEOF
31459 /* end confdefs.h. */
31460 #include <windows.h>
31464 rm -f conftest.
$ac_objext
31465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31466 (eval $ac_compile) 2>conftest.er1
31468 grep -v '^ *+' conftest.er1
>conftest.err
31470 cat conftest.err
>&5
31471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472 (exit $ac_status); } &&
31473 { ac_try
='test -z "$ac_c_werror_flag"
31474 || test ! -s conftest.err'
31475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31476 (eval $ac_try) 2>&5
31478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31479 (exit $ac_status); }; } &&
31480 { ac_try
='test -s conftest.$ac_objext'
31481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31482 (eval $ac_try) 2>&5
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); }; }; then
31486 ac_cv_header_ddraw_h
=yes
31488 echo "$as_me: failed program was:" >&5
31489 sed 's/^/| /' conftest.
$ac_ext >&5
31491 ac_cv_header_ddraw_h
=no
31493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31495 echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
31496 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6
31502 if test "$wxUSE_DETECT_SM" = "yes"; then
31503 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31504 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
31505 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
31508 for ac_dir
in $SEARCH_LIB;
31510 for ac_extension
in a so sl dylib dll.a
; do
31511 if test -f "$ac_dir/libSM.$ac_extension"; then
31512 ac_find_libraries
=$ac_dir
31518 if test "$ac_find_libraries" != "" ; then
31520 if test "$ac_find_libraries" = "default location"; then
31523 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31525 if test $result = 0; then
31528 ac_path_to_link
=" -L$ac_find_libraries"
31532 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31533 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31535 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
31536 echo "$as_me:$LINENO: result: yes" >&5
31537 echo "${ECHO_T}yes" >&6
31539 echo "$as_me:$LINENO: result: no" >&5
31540 echo "${ECHO_T}no" >&6
31541 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
31542 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
31543 wxUSE_DETECT_SM
="no"
31546 wxUSE_DETECT_SM
="no"
31553 if test "$wxUSE_OPENGL" = "yes"; then
31554 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
31555 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
31556 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
31558 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31559 OPENGL_LIBS
="-framework OpenGL -framework AGL"
31560 elif test "$wxUSE_MSW" = 1; then
31561 OPENGL_LIBS
="-lopengl32 -lglu32"
31563 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
31564 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
31567 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
;
31569 if test -f "$ac_dir/GL/gl.h"; then
31570 ac_find_includes
=$ac_dir
31575 if test "$ac_find_includes" != "" ; then
31576 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31577 echo "${ECHO_T}found in $ac_find_includes" >&6
31579 if test "x$ac_find_includes" = "x/usr/include"; then
31580 ac_path_to_include
=""
31582 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
31584 if test $result = 0; then
31585 ac_path_to_include
=""
31587 ac_path_to_include
=" -I$ac_find_includes"
31591 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
31593 echo "$as_me:$LINENO: result: not found" >&5
31594 echo "${ECHO_T}not found" >&6
31597 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31598 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31599 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31600 echo $ECHO_N "(cached) $ECHO_C" >&6
31602 cat >conftest.
$ac_ext <<_ACEOF
31605 cat confdefs.h
>>conftest.
$ac_ext
31606 cat >>conftest.
$ac_ext <<_ACEOF
31607 /* end confdefs.h. */
31612 rm -f conftest.
$ac_objext
31613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31614 (eval $ac_compile) 2>conftest.er1
31616 grep -v '^ *+' conftest.er1
>conftest.err
31618 cat conftest.err
>&5
31619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31620 (exit $ac_status); } &&
31621 { ac_try
='test -z "$ac_c_werror_flag"
31622 || test ! -s conftest.err'
31623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31624 (eval $ac_try) 2>&5
31626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31627 (exit $ac_status); }; } &&
31628 { ac_try
='test -s conftest.$ac_objext'
31629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31630 (eval $ac_try) 2>&5
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); }; }; then
31634 ac_cv_header_GL_gl_h
=yes
31636 echo "$as_me: failed program was:" >&5
31637 sed 's/^/| /' conftest.
$ac_ext >&5
31639 ac_cv_header_GL_gl_h
=no
31641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31643 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31644 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31645 if test $ac_cv_header_GL_gl_h = yes; then
31647 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31648 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
31649 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
31650 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31651 echo $ECHO_N "(cached) $ECHO_C" >&6
31653 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
31654 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
31656 # Is the header compilable?
31657 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
31658 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
31659 cat >conftest.
$ac_ext <<_ACEOF
31662 cat confdefs.h
>>conftest.
$ac_ext
31663 cat >>conftest.
$ac_ext <<_ACEOF
31664 /* end confdefs.h. */
31665 $ac_includes_default
31666 #include <GL/glu.h>
31668 rm -f conftest.
$ac_objext
31669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31670 (eval $ac_compile) 2>conftest.er1
31672 grep -v '^ *+' conftest.er1
>conftest.err
31674 cat conftest.err
>&5
31675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31676 (exit $ac_status); } &&
31677 { ac_try
='test -z "$ac_c_werror_flag"
31678 || test ! -s conftest.err'
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); }; } &&
31684 { ac_try
='test -s conftest.$ac_objext'
31685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31686 (eval $ac_try) 2>&5
31688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31689 (exit $ac_status); }; }; then
31690 ac_header_compiler
=yes
31692 echo "$as_me: failed program was:" >&5
31693 sed 's/^/| /' conftest.
$ac_ext >&5
31695 ac_header_compiler
=no
31697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31698 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31699 echo "${ECHO_T}$ac_header_compiler" >&6
31701 # Is the header present?
31702 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
31703 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
31704 cat >conftest.
$ac_ext <<_ACEOF
31707 cat confdefs.h
>>conftest.
$ac_ext
31708 cat >>conftest.
$ac_ext <<_ACEOF
31709 /* end confdefs.h. */
31710 #include <GL/glu.h>
31712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31713 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31715 grep -v '^ *+' conftest.er1
>conftest.err
31717 cat conftest.err
>&5
31718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31719 (exit $ac_status); } >/dev
/null
; then
31720 if test -s conftest.err
; then
31721 ac_cpp_err
=$ac_c_preproc_warn_flag
31722 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31729 if test -z "$ac_cpp_err"; then
31730 ac_header_preproc
=yes
31732 echo "$as_me: failed program was:" >&5
31733 sed 's/^/| /' conftest.
$ac_ext >&5
31735 ac_header_preproc
=no
31737 rm -f conftest.err conftest.
$ac_ext
31738 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31739 echo "${ECHO_T}$ac_header_preproc" >&6
31741 # So? What about this header?
31742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31744 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
31745 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31746 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
31747 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
31748 ac_header_preproc
=yes
31751 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
31752 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
31753 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
31754 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
31755 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
31756 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
31757 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
31758 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
31759 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
31760 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
31761 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
31762 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
31765 ## ----------------------------------------- ##
31766 ## Report this to wx-dev@lists.wxwidgets.org ##
31767 ## ----------------------------------------- ##
31770 sed "s/^/$as_me: WARNING: /" >&2
31773 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
31774 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
31775 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31776 echo $ECHO_N "(cached) $ECHO_C" >&6
31778 ac_cv_header_GL_glu_h
=$ac_header_preproc
31780 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
31781 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
31784 if test $ac_cv_header_GL_glu_h = yes; then
31788 echo "$as_me:$LINENO: checking for -lGL" >&5
31789 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31792 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
31794 for ac_extension
in a so sl dylib dll.a
; do
31795 if test -f "$ac_dir/libGL.$ac_extension"; then
31796 ac_find_libraries
=$ac_dir
31802 if test "$ac_find_libraries" != "" ; then
31803 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31804 echo "${ECHO_T}found in $ac_find_libraries" >&6
31807 if test "$ac_find_libraries" = "default location"; then
31810 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31812 if test $result = 0; then
31815 ac_path_to_link
=" -L$ac_find_libraries"
31819 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31820 LDFLAGS_GL
="$ac_path_to_link"
31823 echo "$as_me:$LINENO: checking for -lGLU" >&5
31824 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31827 for ac_dir
in $SEARCH_LIB;
31829 for ac_extension
in a so sl dylib dll.a
; do
31830 if test -f "$ac_dir/libGLU.$ac_extension"; then
31831 ac_find_libraries
=$ac_dir
31837 if test "$ac_find_libraries" != "" ; then
31839 if test "$ac_find_libraries" = "default location"; then
31842 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31844 if test $result = 0; then
31847 ac_path_to_link
=" -L$ac_find_libraries"
31851 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31852 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31853 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31857 OPENGL_LIBS
="-lGL -lGLU"
31858 echo "$as_me:$LINENO: result: yes" >&5
31859 echo "${ECHO_T}yes" >&6
31861 echo "$as_me:$LINENO: result: no" >&5
31862 echo "${ECHO_T}no" >&6
31865 echo "$as_me:$LINENO: result: no" >&5
31866 echo "${ECHO_T}no" >&6
31869 if test "$found_gl" != 1; then
31870 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31871 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31874 for ac_dir
in $SEARCH_LIB;
31876 for ac_extension
in a so sl dylib dll.a
; do
31877 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31878 ac_find_libraries
=$ac_dir
31884 if test "$ac_find_libraries" != "" ; then
31886 if test "$ac_find_libraries" = "default location"; then
31889 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31891 if test $result = 0; then
31894 ac_path_to_link
=" -L$ac_find_libraries"
31898 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31899 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31900 echo "$as_me:$LINENO: result: yes" >&5
31901 echo "${ECHO_T}yes" >&6
31903 echo "$as_me:$LINENO: result: no" >&5
31904 echo "${ECHO_T}no" >&6
31916 if test "x$OPENGL_LIBS" = "x"; then
31917 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31918 echo "$as_me: error: OpenGL libraries not available" >&2;}
31919 { (exit 1); exit 1; }; }
31923 if test "$wxUSE_OPENGL" = "yes"; then
31925 cat >>confdefs.h
<<\_ACEOF
31926 #define wxUSE_OPENGL 1
31929 cat >>confdefs.h
<<\_ACEOF
31930 #define wxUSE_GLCANVAS 1
31933 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31938 if test -n "$TOOLKIT" ; then
31939 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31944 if test "$wxUSE_SHARED" = "yes"; then
31948 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31949 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31954 if test "$wxUSE_SHARED" = "yes"; then
31958 *-*-cygwin* | *-*-mingw* )
31959 wx_cv_version_script
=no
31963 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31964 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31965 if test "${wx_cv_version_script+set}" = set; then
31966 echo $ECHO_N "(cached) $ECHO_C" >&6
31969 echo "VER_1 { *; };" >conftest.sym
31970 echo "int main() { return 0; }" >conftest.cpp
31973 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31974 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31976 (eval $ac_try) 2>&5
31978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31979 (exit $ac_status); }; } ; then
31980 if test -s conftest.stderr
; then
31981 wx_cv_version_script
=no
31983 wx_cv_version_script
=yes
31986 wx_cv_version_script
=no
31989 if test $wx_cv_version_script = yes
31991 echo "struct B { virtual ~B() { } }; \
31992 struct D : public B { }; \
31993 void F() { D d; }" > conftest.cpp
31996 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31997 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31999 (eval $ac_try) 2>&5
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); }; } &&
32004 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32005 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32007 (eval $ac_try) 2>&5
32009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010 (exit $ac_status); }; }
32013 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32014 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32016 (eval $ac_try) 2>&5
32018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32019 (exit $ac_status); }; }
32021 wx_cv_version_script
=yes
32023 wx_cv_version_script
=no
32028 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32029 rm -f conftest1.output conftest2.output conftest3.output
32032 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32033 echo "${ECHO_T}$wx_cv_version_script" >&6
32035 if test $wx_cv_version_script = yes ; then
32036 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32043 *-*-linux* | *-*-gnu* )
32044 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
32045 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32049 if test "$GCC" = yes ; then
32050 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32052 saveLdflags
="$LDFLAGS"
32053 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32054 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32055 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32056 cat >conftest.
$ac_ext <<_ACEOF
32059 cat confdefs.h
>>conftest.
$ac_ext
32060 cat >>conftest.
$ac_ext <<_ACEOF
32061 /* end confdefs.h. */
32071 rm -f conftest.
$ac_objext conftest
$ac_exeext
32072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32073 (eval $ac_link) 2>conftest.er1
32075 grep -v '^ *+' conftest.er1
>conftest.err
32077 cat conftest.err
>&5
32078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32079 (exit $ac_status); } &&
32080 { ac_try
='test -z "$ac_c_werror_flag"
32081 || test ! -s conftest.err'
32082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32083 (eval $ac_try) 2>&5
32085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32086 (exit $ac_status); }; } &&
32087 { ac_try
='test -s conftest$ac_exeext'
32088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32089 (eval $ac_try) 2>&5
32091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32092 (exit $ac_status); }; }; then
32094 echo "$as_me:$LINENO: result: yes" >&5
32095 echo "${ECHO_T}yes" >&6
32096 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
32097 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32100 echo "$as_me: failed program was:" >&5
32101 sed 's/^/| /' conftest.
$ac_ext >&5
32104 echo "$as_me:$LINENO: result: no" >&5
32105 echo "${ECHO_T}no" >&6
32106 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32107 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32108 LDFLAGS
="$saveLdflags -Wl,-R,/"
32109 cat >conftest.
$ac_ext <<_ACEOF
32112 cat confdefs.h
>>conftest.
$ac_ext
32113 cat >>conftest.
$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32124 rm -f conftest.
$ac_objext conftest
$ac_exeext
32125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32126 (eval $ac_link) 2>conftest.er1
32128 grep -v '^ *+' conftest.er1
>conftest.err
32130 cat conftest.err
>&5
32131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32132 (exit $ac_status); } &&
32133 { ac_try
='test -z "$ac_c_werror_flag"
32134 || test ! -s conftest.err'
32135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32136 (eval $ac_try) 2>&5
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); }; } &&
32140 { ac_try
='test -s conftest$ac_exeext'
32141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32142 (eval $ac_try) 2>&5
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 (exit $ac_status); }; }; then
32147 echo "$as_me:$LINENO: result: yes" >&5
32148 echo "${ECHO_T}yes" >&6
32149 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
32150 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32153 echo "$as_me: failed program was:" >&5
32154 sed 's/^/| /' conftest.
$ac_ext >&5
32157 echo "$as_me:$LINENO: result: no" >&5
32158 echo "${ECHO_T}no" >&6
32161 rm -f conftest.err conftest.
$ac_objext \
32162 conftest
$ac_exeext conftest.
$ac_ext
32165 rm -f conftest.err conftest.
$ac_objext \
32166 conftest
$ac_exeext conftest.
$ac_ext
32167 LDFLAGS
="$saveLdflags"
32169 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
32170 WXCONFIG_RPATH
="-R\$libdir"
32175 install_name_tool
=`which install_name_tool`
32176 if test "$install_name_tool" -a -x "$install_name_tool"; then
32177 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32178 cat <<EOF >change-install-names
32180 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32181 inst_cmd="install_name_tool "
32182 for i in \${libnames} ; do
32183 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32187 chmod +x change
-install-names
32191 *-*-cygwin* | *-*-mingw32* )
32192 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32196 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
32197 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32202 if test $wxUSE_RPATH = "no"; then
32203 SAMPLES_RPATH_FLAG
=''
32204 SAMPLES_RPATH_POSTLINK
=''
32212 config_linkage_component
="-static"
32219 lib_unicode_suffix
=
32221 if test "$wxUSE_UNICODE" = "yes"; then
32222 lib_unicode_suffix
=u
32223 WX_CHARTYPE
="unicode"
32228 WX_DEBUGTYPE
="release"
32230 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32232 WX_DEBUGTYPE
="debug"
32236 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32237 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32240 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32244 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32246 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32248 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32250 if test "$cross_compiling" = "yes"; then
32251 HOST_SUFFIX
="-$host_alias"
32252 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32253 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32256 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32257 if test "${TOOLKIT_DIR}" = "os2"; then
32258 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32260 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32265 if test "$wxUSE_COCOA" = 1; then
32269 ac_cpp
='$CPP $CPPFLAGS'
32270 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32271 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32272 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32276 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32277 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32278 cat >conftest.
$ac_ext <<_ACEOF
32281 cat confdefs.h
>>conftest.
$ac_ext
32282 cat >>conftest.
$ac_ext <<_ACEOF
32283 /* end confdefs.h. */
32284 #include <AppKit/NSEvent.h>
32285 #include <CoreFoundation/CoreFoundation.h>
32295 rm -f conftest.
$ac_objext
32296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32297 (eval $ac_compile) 2>conftest.er1
32299 grep -v '^ *+' conftest.er1
>conftest.err
32301 cat conftest.err
>&5
32302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32303 (exit $ac_status); } &&
32304 { ac_try
='test -z "$ac_c_werror_flag"
32305 || test ! -s conftest.err'
32306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32307 (eval $ac_try) 2>&5
32309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32310 (exit $ac_status); }; } &&
32311 { ac_try
='test -s conftest.$ac_objext'
32312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32313 (eval $ac_try) 2>&5
32315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32316 (exit $ac_status); }; }; then
32317 echo "$as_me:$LINENO: result: no" >&5
32318 echo "${ECHO_T}no" >&6
32320 echo "$as_me: failed program was:" >&5
32321 sed 's/^/| /' conftest.
$ac_ext >&5
32323 echo "$as_me:$LINENO: result: yes" >&5
32324 echo "${ECHO_T}yes" >&6
32325 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32326 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32327 cat >conftest.
$ac_ext <<_ACEOF
32330 cat confdefs.h
>>conftest.
$ac_ext
32331 cat >>conftest.
$ac_ext <<_ACEOF
32332 /* end confdefs.h. */
32333 #define __Point__ 1
32334 #include <AppKit/NSEvent.h>
32335 #include <CoreFoundation/CoreFoundation.h>
32345 rm -f conftest.
$ac_objext
32346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32347 (eval $ac_compile) 2>conftest.er1
32349 grep -v '^ *+' conftest.er1
>conftest.err
32351 cat conftest.err
>&5
32352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353 (exit $ac_status); } &&
32354 { ac_try
='test -z "$ac_c_werror_flag"
32355 || test ! -s conftest.err'
32356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32357 (eval $ac_try) 2>&5
32359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32360 (exit $ac_status); }; } &&
32361 { ac_try
='test -s conftest.$ac_objext'
32362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32363 (eval $ac_try) 2>&5
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); }; }; then
32367 echo "$as_me:$LINENO: result: yes" >&5
32368 echo "${ECHO_T}yes" >&6
32369 cat >>confdefs.h
<<\_ACEOF
32370 #define __Point__ 1
32375 echo "$as_me: failed program was:" >&5
32376 sed 's/^/| /' conftest.
$ac_ext >&5
32378 { { echo "$as_me:$LINENO: error: no
32379 See \`config.log' for more details." >&5
32380 echo "$as_me: error: no
32381 See \`config.log' for more details." >&2;}
32382 { (exit 1); exit 1; }; }
32385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32390 ac_cpp
='$CPP $CPPFLAGS'
32391 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32392 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32393 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32397 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32398 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32399 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32401 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32403 # Extract the first word of "Rez", so it can be a program name with args.
32404 set dummy Rez
; ac_word
=$2
32405 echo "$as_me:$LINENO: checking for $ac_word" >&5
32406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32407 if test "${ac_cv_prog_REZ+set}" = set; then
32408 echo $ECHO_N "(cached) $ECHO_C" >&6
32410 if test -n "$REZ"; then
32411 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32414 for as_dir
in $PATH
32417 test -z "$as_dir" && as_dir
=.
32418 for ac_exec_ext
in '' $ac_executable_extensions; do
32419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32420 ac_cv_prog_REZ
="Rez"
32421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32427 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32430 REZ
=$ac_cv_prog_REZ
32431 if test -n "$REZ"; then
32432 echo "$as_me:$LINENO: result: $REZ" >&5
32433 echo "${ECHO_T}$REZ" >&6
32435 echo "$as_me:$LINENO: result: no" >&5
32436 echo "${ECHO_T}no" >&6
32439 # Extract the first word of "DeRez", so it can be a program name with args.
32440 set dummy DeRez
; ac_word
=$2
32441 echo "$as_me:$LINENO: checking for $ac_word" >&5
32442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32443 if test "${ac_cv_prog_DEREZ+set}" = set; then
32444 echo $ECHO_N "(cached) $ECHO_C" >&6
32446 if test -n "$DEREZ"; then
32447 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32450 for as_dir
in $PATH
32453 test -z "$as_dir" && as_dir
=.
32454 for ac_exec_ext
in '' $ac_executable_extensions; do
32455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32456 ac_cv_prog_DEREZ
="DeRez"
32457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32463 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32466 DEREZ
=$ac_cv_prog_DEREZ
32467 if test -n "$DEREZ"; then
32468 echo "$as_me:$LINENO: result: $DEREZ" >&5
32469 echo "${ECHO_T}$DEREZ" >&6
32471 echo "$as_me:$LINENO: result: no" >&5
32472 echo "${ECHO_T}no" >&6
32475 # Extract the first word of "SetFile", so it can be a program name with args.
32476 set dummy SetFile
; ac_word
=$2
32477 echo "$as_me:$LINENO: checking for $ac_word" >&5
32478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32479 if test "${ac_cv_prog_SETFILE+set}" = set; then
32480 echo $ECHO_N "(cached) $ECHO_C" >&6
32482 if test -n "$SETFILE"; then
32483 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32486 for as_dir
in $PATH
32489 test -z "$as_dir" && as_dir
=.
32490 for ac_exec_ext
in '' $ac_executable_extensions; do
32491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32492 ac_cv_prog_SETFILE
="SetFile"
32493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32499 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32502 SETFILE
=$ac_cv_prog_SETFILE
32503 if test -n "$SETFILE"; then
32504 echo "$as_me:$LINENO: result: $SETFILE" >&5
32505 echo "${ECHO_T}$SETFILE" >&6
32507 echo "$as_me:$LINENO: result: no" >&5
32508 echo "${ECHO_T}no" >&6
32512 MACSETFILE
="\$(SETFILE)"
32514 if test "$wxUSE_MAC" = 1; then
32515 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32517 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32519 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32520 RESCOMP
="echo -n \| $REZ"
32521 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32527 if test "$wxUSE_PM" = 1; then
32529 WXCONFIG_RESFLAGS
="-ep"
32531 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32533 POSTLINK_COMMAND
="@true"
32540 echo "$as_me:$LINENO: checking for mode_t" >&5
32541 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32542 if test "${ac_cv_type_mode_t+set}" = set; then
32543 echo $ECHO_N "(cached) $ECHO_C" >&6
32545 cat >conftest.
$ac_ext <<_ACEOF
32548 cat confdefs.h
>>conftest.
$ac_ext
32549 cat >>conftest.
$ac_ext <<_ACEOF
32550 /* end confdefs.h. */
32551 $ac_includes_default
32557 if (sizeof (mode_t))
32563 rm -f conftest.
$ac_objext
32564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32565 (eval $ac_compile) 2>conftest.er1
32567 grep -v '^ *+' conftest.er1
>conftest.err
32569 cat conftest.err
>&5
32570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32571 (exit $ac_status); } &&
32572 { ac_try
='test -z "$ac_c_werror_flag"
32573 || test ! -s conftest.err'
32574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32575 (eval $ac_try) 2>&5
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); }; } &&
32579 { ac_try
='test -s conftest.$ac_objext'
32580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32581 (eval $ac_try) 2>&5
32583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32584 (exit $ac_status); }; }; then
32585 ac_cv_type_mode_t
=yes
32587 echo "$as_me: failed program was:" >&5
32588 sed 's/^/| /' conftest.
$ac_ext >&5
32590 ac_cv_type_mode_t
=no
32592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32594 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32595 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32596 if test $ac_cv_type_mode_t = yes; then
32600 cat >>confdefs.h
<<_ACEOF
32606 echo "$as_me:$LINENO: checking for off_t" >&5
32607 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32608 if test "${ac_cv_type_off_t+set}" = set; then
32609 echo $ECHO_N "(cached) $ECHO_C" >&6
32611 cat >conftest.
$ac_ext <<_ACEOF
32614 cat confdefs.h
>>conftest.
$ac_ext
32615 cat >>conftest.
$ac_ext <<_ACEOF
32616 /* end confdefs.h. */
32617 $ac_includes_default
32623 if (sizeof (off_t))
32629 rm -f conftest.
$ac_objext
32630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32631 (eval $ac_compile) 2>conftest.er1
32633 grep -v '^ *+' conftest.er1
>conftest.err
32635 cat conftest.err
>&5
32636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32637 (exit $ac_status); } &&
32638 { ac_try
='test -z "$ac_c_werror_flag"
32639 || test ! -s conftest.err'
32640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32641 (eval $ac_try) 2>&5
32643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32644 (exit $ac_status); }; } &&
32645 { ac_try
='test -s conftest.$ac_objext'
32646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32647 (eval $ac_try) 2>&5
32649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32650 (exit $ac_status); }; }; then
32651 ac_cv_type_off_t
=yes
32653 echo "$as_me: failed program was:" >&5
32654 sed 's/^/| /' conftest.
$ac_ext >&5
32656 ac_cv_type_off_t
=no
32658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32660 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32661 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32662 if test $ac_cv_type_off_t = yes; then
32666 cat >>confdefs.h
<<_ACEOF
32672 echo "$as_me:$LINENO: checking for pid_t" >&5
32673 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32674 if test "${ac_cv_type_pid_t+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 $ac_includes_default
32689 if (sizeof (pid_t))
32695 rm -f conftest.
$ac_objext
32696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32697 (eval $ac_compile) 2>conftest.er1
32699 grep -v '^ *+' conftest.er1
>conftest.err
32701 cat conftest.err
>&5
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); } &&
32704 { ac_try
='test -z "$ac_c_werror_flag"
32705 || test ! -s conftest.err'
32706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32707 (eval $ac_try) 2>&5
32709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710 (exit $ac_status); }; } &&
32711 { ac_try
='test -s conftest.$ac_objext'
32712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32713 (eval $ac_try) 2>&5
32715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716 (exit $ac_status); }; }; then
32717 ac_cv_type_pid_t
=yes
32719 echo "$as_me: failed program was:" >&5
32720 sed 's/^/| /' conftest.
$ac_ext >&5
32722 ac_cv_type_pid_t
=no
32724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32726 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32727 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32728 if test $ac_cv_type_pid_t = yes; then
32732 cat >>confdefs.h
<<_ACEOF
32738 echo "$as_me:$LINENO: checking for size_t" >&5
32739 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32740 if test "${ac_cv_type_size_t+set}" = set; then
32741 echo $ECHO_N "(cached) $ECHO_C" >&6
32743 cat >conftest.
$ac_ext <<_ACEOF
32746 cat confdefs.h
>>conftest.
$ac_ext
32747 cat >>conftest.
$ac_ext <<_ACEOF
32748 /* end confdefs.h. */
32749 $ac_includes_default
32755 if (sizeof (size_t))
32761 rm -f conftest.
$ac_objext
32762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32763 (eval $ac_compile) 2>conftest.er1
32765 grep -v '^ *+' conftest.er1
>conftest.err
32767 cat conftest.err
>&5
32768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769 (exit $ac_status); } &&
32770 { ac_try
='test -z "$ac_c_werror_flag"
32771 || test ! -s conftest.err'
32772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32773 (eval $ac_try) 2>&5
32775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32776 (exit $ac_status); }; } &&
32777 { ac_try
='test -s conftest.$ac_objext'
32778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32779 (eval $ac_try) 2>&5
32781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782 (exit $ac_status); }; }; then
32783 ac_cv_type_size_t
=yes
32785 echo "$as_me: failed program was:" >&5
32786 sed 's/^/| /' conftest.
$ac_ext >&5
32788 ac_cv_type_size_t
=no
32790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32792 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32793 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32794 if test $ac_cv_type_size_t = yes; then
32798 cat >>confdefs.h
<<_ACEOF
32799 #define size_t unsigned
32804 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32805 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32806 if test "${ac_cv_type_uid_t+set}" = set; then
32807 echo $ECHO_N "(cached) $ECHO_C" >&6
32809 cat >conftest.
$ac_ext <<_ACEOF
32812 cat confdefs.h
>>conftest.
$ac_ext
32813 cat >>conftest.
$ac_ext <<_ACEOF
32814 /* end confdefs.h. */
32815 #include <sys/types.h>
32818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32819 $EGREP "uid_t" >/dev
/null
2>&1; then
32820 ac_cv_type_uid_t
=yes
32822 ac_cv_type_uid_t
=no
32827 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32828 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32829 if test $ac_cv_type_uid_t = no
; then
32831 cat >>confdefs.h
<<\_ACEOF
32836 cat >>confdefs.h
<<\_ACEOF
32843 echo "$as_me:$LINENO: checking for ssize_t" >&5
32844 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32845 if test "${ac_cv_type_ssize_t+set}" = set; then
32846 echo $ECHO_N "(cached) $ECHO_C" >&6
32848 cat >conftest.
$ac_ext <<_ACEOF
32851 cat confdefs.h
>>conftest.
$ac_ext
32852 cat >>conftest.
$ac_ext <<_ACEOF
32853 /* end confdefs.h. */
32854 $ac_includes_default
32860 if (sizeof (ssize_t))
32866 rm -f conftest.
$ac_objext
32867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32868 (eval $ac_compile) 2>conftest.er1
32870 grep -v '^ *+' conftest.er1
>conftest.err
32872 cat conftest.err
>&5
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); } &&
32875 { ac_try
='test -z "$ac_c_werror_flag"
32876 || test ! -s conftest.err'
32877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32878 (eval $ac_try) 2>&5
32880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32881 (exit $ac_status); }; } &&
32882 { ac_try
='test -s conftest.$ac_objext'
32883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32884 (eval $ac_try) 2>&5
32886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32887 (exit $ac_status); }; }; then
32888 ac_cv_type_ssize_t
=yes
32890 echo "$as_me: failed program was:" >&5
32891 sed 's/^/| /' conftest.
$ac_ext >&5
32893 ac_cv_type_ssize_t
=no
32895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32897 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32898 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32899 if test $ac_cv_type_ssize_t = yes; then
32901 cat >>confdefs.h
<<_ACEOF
32902 #define HAVE_SSIZE_T 1
32910 ac_cpp
='$CXXCPP $CPPFLAGS'
32911 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32912 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32913 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32914 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32915 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32916 if test "${wx_cv_size_t_is_uint+set}" = set; then
32917 echo $ECHO_N "(cached) $ECHO_C" >&6
32920 cat >conftest.
$ac_ext <<_ACEOF
32923 cat confdefs.h
>>conftest.
$ac_ext
32924 cat >>conftest.
$ac_ext <<_ACEOF
32925 /* end confdefs.h. */
32926 #include <stddef.h>
32933 struct Foo { void foo(size_t); void foo(unsigned int); };
32941 rm -f conftest.
$ac_objext
32942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32943 (eval $ac_compile) 2>conftest.er1
32945 grep -v '^ *+' conftest.er1
>conftest.err
32947 cat conftest.err
>&5
32948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32949 (exit $ac_status); } &&
32950 { ac_try
='test -z "$ac_cxx_werror_flag"
32951 || test ! -s conftest.err'
32952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32953 (eval $ac_try) 2>&5
32955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32956 (exit $ac_status); }; } &&
32957 { ac_try
='test -s conftest.$ac_objext'
32958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32959 (eval $ac_try) 2>&5
32961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32962 (exit $ac_status); }; }; then
32963 wx_cv_size_t_is_uint
=no
32965 echo "$as_me: failed program was:" >&5
32966 sed 's/^/| /' conftest.
$ac_ext >&5
32968 wx_cv_size_t_is_uint
=yes
32971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32975 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32976 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32978 if test "$wx_cv_size_t_is_uint" = "yes"; then
32979 cat >>confdefs.h
<<\_ACEOF
32980 #define wxSIZE_T_IS_UINT 1
32984 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32985 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32986 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32987 echo $ECHO_N "(cached) $ECHO_C" >&6
32989 cat >conftest.
$ac_ext <<_ACEOF
32992 cat confdefs.h
>>conftest.
$ac_ext
32993 cat >>conftest.
$ac_ext <<_ACEOF
32994 /* end confdefs.h. */
32995 #include <stddef.h>
33002 struct Foo { void foo(size_t); void foo(unsigned long); };
33010 rm -f conftest.
$ac_objext
33011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33012 (eval $ac_compile) 2>conftest.er1
33014 grep -v '^ *+' conftest.er1
>conftest.err
33016 cat conftest.err
>&5
33017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33018 (exit $ac_status); } &&
33019 { ac_try
='test -z "$ac_cxx_werror_flag"
33020 || test ! -s conftest.err'
33021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33022 (eval $ac_try) 2>&5
33024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33025 (exit $ac_status); }; } &&
33026 { ac_try
='test -s conftest.$ac_objext'
33027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33028 (eval $ac_try) 2>&5
33030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33031 (exit $ac_status); }; }; then
33032 wx_cv_size_t_is_ulong
=no
33034 echo "$as_me: failed program was:" >&5
33035 sed 's/^/| /' conftest.
$ac_ext >&5
33037 wx_cv_size_t_is_ulong
=yes
33040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33043 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33044 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33046 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33047 cat >>confdefs.h
<<\_ACEOF
33048 #define wxSIZE_T_IS_ULONG 1
33055 ac_cpp
='$CPP $CPPFLAGS'
33056 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33057 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33058 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33061 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33062 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33063 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33064 echo $ECHO_N "(cached) $ECHO_C" >&6
33067 cat >conftest.
$ac_ext <<_ACEOF
33070 cat confdefs.h
>>conftest.
$ac_ext
33071 cat >>conftest.
$ac_ext <<_ACEOF
33072 /* end confdefs.h. */
33086 rm -f conftest.
$ac_objext
33087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33088 (eval $ac_compile) 2>conftest.er1
33090 grep -v '^ *+' conftest.er1
>conftest.err
33092 cat conftest.err
>&5
33093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33094 (exit $ac_status); } &&
33095 { ac_try
='test -z "$ac_c_werror_flag"
33096 || test ! -s conftest.err'
33097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33098 (eval $ac_try) 2>&5
33100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101 (exit $ac_status); }; } &&
33102 { ac_try
='test -s conftest.$ac_objext'
33103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33104 (eval $ac_try) 2>&5
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); }; }; then
33109 wx_cv_struct_pw_gecos
=yes
33112 echo "$as_me: failed program was:" >&5
33113 sed 's/^/| /' conftest.
$ac_ext >&5
33116 wx_cv_struct_pw_gecos
=no
33120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33124 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33125 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33127 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33128 cat >>confdefs.h
<<\_ACEOF
33129 #define HAVE_PW_GECOS 1
33135 if test "$wxUSE_WCHAR_T" = "yes"; then
33136 cat >>confdefs.h
<<\_ACEOF
33137 #define wxUSE_WCHAR_T 1
33144 for ac_func
in wcslen
33146 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33147 echo "$as_me:$LINENO: checking for $ac_func" >&5
33148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33149 if eval "test \"\${$as_ac_var+set}\" = set"; then
33150 echo $ECHO_N "(cached) $ECHO_C" >&6
33152 cat >conftest.
$ac_ext <<_ACEOF
33155 cat confdefs.h
>>conftest.
$ac_ext
33156 cat >>conftest.
$ac_ext <<_ACEOF
33157 /* end confdefs.h. */
33158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33160 #define $ac_func innocuous_$ac_func
33162 /* System header to define __stub macros and hopefully few prototypes,
33163 which can conflict with char $ac_func (); below.
33164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33165 <limits.h> exists even on freestanding compilers. */
33168 # include <limits.h>
33170 # include <assert.h>
33175 /* Override any gcc2 internal prototype to avoid an error. */
33180 /* We use char because int might match the return type of a gcc2
33181 builtin and then its argument prototype would still apply. */
33183 /* The GNU C library defines this for functions which it implements
33184 to always fail with ENOSYS. Some functions are actually named
33185 something starting with __ and the normal name is an alias. */
33186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33189 char (*f) () = $ac_func;
33198 return f != $ac_func;
33203 rm -f conftest.
$ac_objext conftest
$ac_exeext
33204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33205 (eval $ac_link) 2>conftest.er1
33207 grep -v '^ *+' conftest.er1
>conftest.err
33209 cat conftest.err
>&5
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); } &&
33212 { ac_try
='test -z "$ac_c_werror_flag"
33213 || test ! -s conftest.err'
33214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33215 (eval $ac_try) 2>&5
33217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33218 (exit $ac_status); }; } &&
33219 { ac_try
='test -s conftest$ac_exeext'
33220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33221 (eval $ac_try) 2>&5
33223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33224 (exit $ac_status); }; }; then
33225 eval "$as_ac_var=yes"
33227 echo "$as_me: failed program was:" >&5
33228 sed 's/^/| /' conftest.
$ac_ext >&5
33230 eval "$as_ac_var=no"
33232 rm -f conftest.err conftest.
$ac_objext \
33233 conftest
$ac_exeext conftest.
$ac_ext
33235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33237 if test `eval echo '${'$as_ac_var'}'` = yes; then
33238 cat >>confdefs.h
<<_ACEOF
33239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33246 if test "$WCSLEN_FOUND" = 0; then
33247 if test "$TOOLKIT" = "MSW"; then
33248 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33249 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33250 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33251 echo $ECHO_N "(cached) $ECHO_C" >&6
33253 ac_check_lib_save_LIBS
=$LIBS
33254 LIBS
="-lmsvcrt $LIBS"
33255 cat >conftest.
$ac_ext <<_ACEOF
33258 cat confdefs.h
>>conftest.
$ac_ext
33259 cat >>conftest.
$ac_ext <<_ACEOF
33260 /* end confdefs.h. */
33262 /* Override any gcc2 internal prototype to avoid an error. */
33266 /* We use char because int might match the return type of a gcc2
33267 builtin and then its argument prototype would still apply. */
33277 rm -f conftest.
$ac_objext conftest
$ac_exeext
33278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33279 (eval $ac_link) 2>conftest.er1
33281 grep -v '^ *+' conftest.er1
>conftest.err
33283 cat conftest.err
>&5
33284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33285 (exit $ac_status); } &&
33286 { ac_try
='test -z "$ac_c_werror_flag"
33287 || test ! -s conftest.err'
33288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33289 (eval $ac_try) 2>&5
33291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33292 (exit $ac_status); }; } &&
33293 { ac_try
='test -s conftest$ac_exeext'
33294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33295 (eval $ac_try) 2>&5
33297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33298 (exit $ac_status); }; }; then
33299 ac_cv_lib_msvcrt_wcslen
=yes
33301 echo "$as_me: failed program was:" >&5
33302 sed 's/^/| /' conftest.
$ac_ext >&5
33304 ac_cv_lib_msvcrt_wcslen
=no
33306 rm -f conftest.err conftest.
$ac_objext \
33307 conftest
$ac_exeext conftest.
$ac_ext
33308 LIBS
=$ac_check_lib_save_LIBS
33310 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33311 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33312 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33317 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33318 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33319 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33320 echo $ECHO_N "(cached) $ECHO_C" >&6
33322 ac_check_lib_save_LIBS
=$LIBS
33324 cat >conftest.
$ac_ext <<_ACEOF
33327 cat confdefs.h
>>conftest.
$ac_ext
33328 cat >>conftest.
$ac_ext <<_ACEOF
33329 /* end confdefs.h. */
33331 /* Override any gcc2 internal prototype to avoid an error. */
33335 /* We use char because int might match the return type of a gcc2
33336 builtin and then its argument prototype would still apply. */
33346 rm -f conftest.
$ac_objext conftest
$ac_exeext
33347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33348 (eval $ac_link) 2>conftest.er1
33350 grep -v '^ *+' conftest.er1
>conftest.err
33352 cat conftest.err
>&5
33353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33354 (exit $ac_status); } &&
33355 { ac_try
='test -z "$ac_c_werror_flag"
33356 || test ! -s conftest.err'
33357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33358 (eval $ac_try) 2>&5
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); }; } &&
33362 { ac_try
='test -s conftest$ac_exeext'
33363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33364 (eval $ac_try) 2>&5
33366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33367 (exit $ac_status); }; }; then
33368 ac_cv_lib_w_wcslen
=yes
33370 echo "$as_me: failed program was:" >&5
33371 sed 's/^/| /' conftest.
$ac_ext >&5
33373 ac_cv_lib_w_wcslen
=no
33375 rm -f conftest.err conftest.
$ac_objext \
33376 conftest
$ac_exeext conftest.
$ac_ext
33377 LIBS
=$ac_check_lib_save_LIBS
33379 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33380 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33381 if test $ac_cv_lib_w_wcslen = yes; then
33391 if test "$WCSLEN_FOUND" = 1; then
33392 cat >>confdefs.h
<<\_ACEOF
33393 #define HAVE_WCSLEN 1
33398 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33399 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33402 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33403 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33404 if test "${ac_cv_type_mbstate_t+set}" = set; then
33405 echo $ECHO_N "(cached) $ECHO_C" >&6
33407 cat >conftest.
$ac_ext <<_ACEOF
33410 cat confdefs.h
>>conftest.
$ac_ext
33411 cat >>conftest.
$ac_ext <<_ACEOF
33412 /* end confdefs.h. */
33418 if ((mbstate_t *) 0)
33420 if (sizeof (mbstate_t))
33426 rm -f conftest.
$ac_objext
33427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33428 (eval $ac_compile) 2>conftest.er1
33430 grep -v '^ *+' conftest.er1
>conftest.err
33432 cat conftest.err
>&5
33433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33434 (exit $ac_status); } &&
33435 { ac_try
='test -z "$ac_c_werror_flag"
33436 || test ! -s conftest.err'
33437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33438 (eval $ac_try) 2>&5
33440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33441 (exit $ac_status); }; } &&
33442 { ac_try
='test -s conftest.$ac_objext'
33443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33444 (eval $ac_try) 2>&5
33446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33447 (exit $ac_status); }; }; then
33448 ac_cv_type_mbstate_t
=yes
33450 echo "$as_me: failed program was:" >&5
33451 sed 's/^/| /' conftest.
$ac_ext >&5
33453 ac_cv_type_mbstate_t
=no
33455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33457 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33458 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33459 if test $ac_cv_type_mbstate_t = yes; then
33461 cat >>confdefs.h
<<_ACEOF
33462 #define HAVE_MBSTATE_T 1
33466 for ac_func
in wcsrtombs
33468 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33469 echo "$as_me:$LINENO: checking for $ac_func" >&5
33470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33471 if eval "test \"\${$as_ac_var+set}\" = set"; then
33472 echo $ECHO_N "(cached) $ECHO_C" >&6
33474 cat >conftest.
$ac_ext <<_ACEOF
33477 cat confdefs.h
>>conftest.
$ac_ext
33478 cat >>conftest.
$ac_ext <<_ACEOF
33479 /* end confdefs.h. */
33480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33482 #define $ac_func innocuous_$ac_func
33484 /* System header to define __stub macros and hopefully few prototypes,
33485 which can conflict with char $ac_func (); below.
33486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33487 <limits.h> exists even on freestanding compilers. */
33490 # include <limits.h>
33492 # include <assert.h>
33497 /* Override any gcc2 internal prototype to avoid an error. */
33502 /* We use char because int might match the return type of a gcc2
33503 builtin and then its argument prototype would still apply. */
33505 /* The GNU C library defines this for functions which it implements
33506 to always fail with ENOSYS. Some functions are actually named
33507 something starting with __ and the normal name is an alias. */
33508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33511 char (*f) () = $ac_func;
33520 return f != $ac_func;
33525 rm -f conftest.
$ac_objext conftest
$ac_exeext
33526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33527 (eval $ac_link) 2>conftest.er1
33529 grep -v '^ *+' conftest.er1
>conftest.err
33531 cat conftest.err
>&5
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); } &&
33534 { ac_try
='test -z "$ac_c_werror_flag"
33535 || test ! -s conftest.err'
33536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33537 (eval $ac_try) 2>&5
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); }; } &&
33541 { ac_try
='test -s conftest$ac_exeext'
33542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33543 (eval $ac_try) 2>&5
33545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546 (exit $ac_status); }; }; then
33547 eval "$as_ac_var=yes"
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.
$ac_ext >&5
33552 eval "$as_ac_var=no"
33554 rm -f conftest.err conftest.
$ac_objext \
33555 conftest
$ac_exeext conftest.
$ac_ext
33557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33559 if test `eval echo '${'$as_ac_var'}'` = yes; then
33560 cat >>confdefs.h
<<_ACEOF
33561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33570 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33571 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33576 for ac_func
in snprintf vsnprintf
33578 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33579 echo "$as_me:$LINENO: checking for $ac_func" >&5
33580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33581 if eval "test \"\${$as_ac_var+set}\" = set"; then
33582 echo $ECHO_N "(cached) $ECHO_C" >&6
33584 cat >conftest.
$ac_ext <<_ACEOF
33587 cat confdefs.h
>>conftest.
$ac_ext
33588 cat >>conftest.
$ac_ext <<_ACEOF
33589 /* end confdefs.h. */
33590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33592 #define $ac_func innocuous_$ac_func
33594 /* System header to define __stub macros and hopefully few prototypes,
33595 which can conflict with char $ac_func (); below.
33596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33597 <limits.h> exists even on freestanding compilers. */
33600 # include <limits.h>
33602 # include <assert.h>
33607 /* Override any gcc2 internal prototype to avoid an error. */
33612 /* We use char because int might match the return type of a gcc2
33613 builtin and then its argument prototype would still apply. */
33615 /* The GNU C library defines this for functions which it implements
33616 to always fail with ENOSYS. Some functions are actually named
33617 something starting with __ and the normal name is an alias. */
33618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33621 char (*f) () = $ac_func;
33630 return f != $ac_func;
33635 rm -f conftest.
$ac_objext conftest
$ac_exeext
33636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33637 (eval $ac_link) 2>conftest.er1
33639 grep -v '^ *+' conftest.er1
>conftest.err
33641 cat conftest.err
>&5
33642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33643 (exit $ac_status); } &&
33644 { ac_try
='test -z "$ac_c_werror_flag"
33645 || test ! -s conftest.err'
33646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33647 (eval $ac_try) 2>&5
33649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33650 (exit $ac_status); }; } &&
33651 { ac_try
='test -s conftest$ac_exeext'
33652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33653 (eval $ac_try) 2>&5
33655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33656 (exit $ac_status); }; }; then
33657 eval "$as_ac_var=yes"
33659 echo "$as_me: failed program was:" >&5
33660 sed 's/^/| /' conftest.
$ac_ext >&5
33662 eval "$as_ac_var=no"
33664 rm -f conftest.err conftest.
$ac_objext \
33665 conftest
$ac_exeext conftest.
$ac_ext
33667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33669 if test `eval echo '${'$as_ac_var'}'` = yes; then
33670 cat >>confdefs.h
<<_ACEOF
33671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33678 if test "$ac_cv_func_vsnprintf" = "yes"; then
33679 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33680 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33681 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33682 echo $ECHO_N "(cached) $ECHO_C" >&6
33685 cat >conftest.
$ac_ext <<_ACEOF
33688 cat confdefs.h
>>conftest.
$ac_ext
33689 cat >>conftest.
$ac_ext <<_ACEOF
33690 /* end confdefs.h. */
33693 #include <stdarg.h>
33695 #if __MSL__ >= 0x6000
33697 using namespace std;
33707 vsnprintf(buf, 10u, "%s", ap);
33713 rm -f conftest.
$ac_objext
33714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33715 (eval $ac_compile) 2>conftest.er1
33717 grep -v '^ *+' conftest.er1
>conftest.err
33719 cat conftest.err
>&5
33720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33721 (exit $ac_status); } &&
33722 { ac_try
='test -z "$ac_c_werror_flag"
33723 || test ! -s conftest.err'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; } &&
33729 { ac_try
='test -s conftest.$ac_objext'
33730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33731 (eval $ac_try) 2>&5
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); }; }; then
33735 wx_cv_func_vsnprintf_decl
=yes
33737 echo "$as_me: failed program was:" >&5
33738 sed 's/^/| /' conftest.
$ac_ext >&5
33740 wx_cv_func_vsnprintf_decl
=no
33743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33747 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33748 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33750 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33751 cat >>confdefs.h
<<\_ACEOF
33752 #define HAVE_VSNPRINTF_DECL 1
33756 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33757 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33758 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33759 echo $ECHO_N "(cached) $ECHO_C" >&6
33762 cat >conftest.
$ac_ext <<_ACEOF
33765 cat confdefs.h
>>conftest.
$ac_ext
33766 cat >>conftest.
$ac_ext <<_ACEOF
33767 /* end confdefs.h. */
33770 #include <stdarg.h>
33772 #if __MSL__ >= 0x6000
33774 using namespace std;
33784 const char *fmt = "%s";
33785 vsnprintf(buf, 10u, fmt, ap);
33791 rm -f conftest.
$ac_objext
33792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33793 (eval $ac_compile) 2>conftest.er1
33795 grep -v '^ *+' conftest.er1
>conftest.err
33797 cat conftest.err
>&5
33798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33799 (exit $ac_status); } &&
33800 { ac_try
='test -z "$ac_c_werror_flag"
33801 || test ! -s conftest.err'
33802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33803 (eval $ac_try) 2>&5
33805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33806 (exit $ac_status); }; } &&
33807 { ac_try
='test -s conftest.$ac_objext'
33808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33809 (eval $ac_try) 2>&5
33811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33812 (exit $ac_status); }; }; then
33813 wx_cv_func_broken_vsnprintf_decl
=no
33815 echo "$as_me: failed program was:" >&5
33816 sed 's/^/| /' conftest.
$ac_ext >&5
33818 wx_cv_func_broken_vsnprintf_decl
=yes
33821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33825 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33826 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33828 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33829 cat >>confdefs.h
<<\_ACEOF
33830 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33837 if test "$ac_cv_func_snprintf" = "yes"; then
33838 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33839 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33840 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33841 echo $ECHO_N "(cached) $ECHO_C" >&6
33844 cat >conftest.
$ac_ext <<_ACEOF
33847 cat confdefs.h
>>conftest.
$ac_ext
33848 cat >>conftest.
$ac_ext <<_ACEOF
33849 /* end confdefs.h. */
33852 #include <stdarg.h>
33854 #if __MSL__ >= 0x6000
33856 using namespace std;
33865 snprintf(buf, 10u, "%s", "wx");
33871 rm -f conftest.
$ac_objext
33872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33873 (eval $ac_compile) 2>conftest.er1
33875 grep -v '^ *+' conftest.er1
>conftest.err
33877 cat conftest.err
>&5
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); } &&
33880 { ac_try
='test -z "$ac_c_werror_flag"
33881 || test ! -s conftest.err'
33882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33883 (eval $ac_try) 2>&5
33885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886 (exit $ac_status); }; } &&
33887 { ac_try
='test -s conftest.$ac_objext'
33888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33889 (eval $ac_try) 2>&5
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); }; }; then
33893 wx_cv_func_snprintf_decl
=yes
33895 echo "$as_me: failed program was:" >&5
33896 sed 's/^/| /' conftest.
$ac_ext >&5
33898 wx_cv_func_snprintf_decl
=no
33901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33905 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33906 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33908 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33909 cat >>confdefs.h
<<\_ACEOF
33910 #define HAVE_SNPRINTF_DECL 1
33914 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33915 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33916 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33917 echo $ECHO_N "(cached) $ECHO_C" >&6
33920 cat >conftest.
$ac_ext <<_ACEOF
33923 cat confdefs.h
>>conftest.
$ac_ext
33924 cat >>conftest.
$ac_ext <<_ACEOF
33925 /* end confdefs.h. */
33928 #include <stdarg.h>
33930 #if __MSL__ >= 0x6000
33932 using namespace std;
33941 const char *fmt = "%s";
33942 snprintf(buf, 10u, fmt, "wx");
33948 rm -f conftest.
$ac_objext
33949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33950 (eval $ac_compile) 2>conftest.er1
33952 grep -v '^ *+' conftest.er1
>conftest.err
33954 cat conftest.err
>&5
33955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33956 (exit $ac_status); } &&
33957 { ac_try
='test -z "$ac_c_werror_flag"
33958 || test ! -s conftest.err'
33959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33960 (eval $ac_try) 2>&5
33962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33963 (exit $ac_status); }; } &&
33964 { ac_try
='test -s conftest.$ac_objext'
33965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33966 (eval $ac_try) 2>&5
33968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33969 (exit $ac_status); }; }; then
33970 wx_cv_func_broken_snprintf_decl
=no
33972 echo "$as_me: failed program was:" >&5
33973 sed 's/^/| /' conftest.
$ac_ext >&5
33975 wx_cv_func_broken_snprintf_decl
=yes
33978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33982 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33983 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33985 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33986 cat >>confdefs.h
<<\_ACEOF
33987 #define HAVE_BROKEN_SNPRINTF_DECL 1
33993 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
33995 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
33996 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
33997 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
33998 echo $ECHO_N "(cached) $ECHO_C" >&6
34001 if test "$cross_compiling" = yes; then
34003 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34004 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34005 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34006 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34007 wx_cv_func_snprintf_pos_params
=no
34011 cat >conftest.
$ac_ext <<_ACEOF
34014 cat confdefs.h
>>conftest.
$ac_ext
34015 cat >>conftest.
$ac_ext <<_ACEOF
34016 /* end confdefs.h. */
34023 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34024 if (strcmp ("2 3 1", buffer) == 0)
34030 rm -f conftest
$ac_exeext
34031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34032 (eval $ac_link) 2>&5
34034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34035 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34037 (eval $ac_try) 2>&5
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); }; }; then
34041 wx_cv_func_snprintf_pos_params
=no
34043 echo "$as_me: program exited with status $ac_status" >&5
34044 echo "$as_me: failed program was:" >&5
34045 sed 's/^/| /' conftest.
$ac_ext >&5
34047 ( exit $ac_status )
34048 wx_cv_func_snprintf_pos_params
=yes
34050 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34055 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34056 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
34058 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34059 cat >>confdefs.h
<<\_ACEOF
34060 #define HAVE_UNIX98_PRINTF 1
34067 if test "$wxUSE_UNICODE" = yes; then
34070 for ac_func
in swprintf
34072 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34073 echo "$as_me:$LINENO: checking for $ac_func" >&5
34074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34075 if eval "test \"\${$as_ac_var+set}\" = set"; then
34076 echo $ECHO_N "(cached) $ECHO_C" >&6
34078 cat >conftest.
$ac_ext <<_ACEOF
34081 cat confdefs.h
>>conftest.
$ac_ext
34082 cat >>conftest.
$ac_ext <<_ACEOF
34083 /* end confdefs.h. */
34084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34086 #define $ac_func innocuous_$ac_func
34088 /* System header to define __stub macros and hopefully few prototypes,
34089 which can conflict with char $ac_func (); below.
34090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34091 <limits.h> exists even on freestanding compilers. */
34094 # include <limits.h>
34096 # include <assert.h>
34101 /* Override any gcc2 internal prototype to avoid an error. */
34106 /* We use char because int might match the return type of a gcc2
34107 builtin and then its argument prototype would still apply. */
34109 /* The GNU C library defines this for functions which it implements
34110 to always fail with ENOSYS. Some functions are actually named
34111 something starting with __ and the normal name is an alias. */
34112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34115 char (*f) () = $ac_func;
34124 return f != $ac_func;
34129 rm -f conftest.
$ac_objext conftest
$ac_exeext
34130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34131 (eval $ac_link) 2>conftest.er1
34133 grep -v '^ *+' conftest.er1
>conftest.err
34135 cat conftest.err
>&5
34136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137 (exit $ac_status); } &&
34138 { ac_try
='test -z "$ac_c_werror_flag"
34139 || test ! -s conftest.err'
34140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34141 (eval $ac_try) 2>&5
34143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34144 (exit $ac_status); }; } &&
34145 { ac_try
='test -s conftest$ac_exeext'
34146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34147 (eval $ac_try) 2>&5
34149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34150 (exit $ac_status); }; }; then
34151 eval "$as_ac_var=yes"
34153 echo "$as_me: failed program was:" >&5
34154 sed 's/^/| /' conftest.
$ac_ext >&5
34156 eval "$as_ac_var=no"
34158 rm -f conftest.err conftest.
$ac_objext \
34159 conftest
$ac_exeext conftest.
$ac_ext
34161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34163 if test `eval echo '${'$as_ac_var'}'` = yes; then
34164 cat >>confdefs.h
<<_ACEOF
34165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34172 if test "$ac_cv_func_swprintf" = "yes"; then
34173 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34174 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
34175 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34176 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. */
34187 #include <stdarg.h>
34195 const wchar_t *fmt = L"test";
34196 swprintf(buf, 10u, fmt);
34202 rm -f conftest.
$ac_objext
34203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34204 (eval $ac_compile) 2>conftest.er1
34206 grep -v '^ *+' conftest.er1
>conftest.err
34208 cat conftest.err
>&5
34209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34210 (exit $ac_status); } &&
34211 { ac_try
='test -z "$ac_c_werror_flag"
34212 || test ! -s conftest.err'
34213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34214 (eval $ac_try) 2>&5
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); }; } &&
34218 { ac_try
='test -s conftest.$ac_objext'
34219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34220 (eval $ac_try) 2>&5
34222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34223 (exit $ac_status); }; }; then
34224 wx_cv_func_broken_swprintf_decl
=no
34226 echo "$as_me: failed program was:" >&5
34227 sed 's/^/| /' conftest.
$ac_ext >&5
34229 wx_cv_func_broken_swprintf_decl
=yes
34232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34236 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34237 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
34239 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34240 cat >>confdefs.h
<<\_ACEOF
34241 #define HAVE_BROKEN_SWPRINTF_DECL 1
34247 wchar_headers
="#include <stdio.h>
34248 #include <wchar.h>"
34251 echo "$as_me:$LINENO: checking for widec.h" >&5
34252 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6
34253 if test "${ac_cv_header_widec_h+set}" = set; then
34254 echo $ECHO_N "(cached) $ECHO_C" >&6
34256 cat >conftest.
$ac_ext <<_ACEOF
34259 cat confdefs.h
>>conftest.
$ac_ext
34260 cat >>conftest.
$ac_ext <<_ACEOF
34261 /* end confdefs.h. */
34262 $ac_includes_default
34266 rm -f conftest.
$ac_objext
34267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34268 (eval $ac_compile) 2>conftest.er1
34270 grep -v '^ *+' conftest.er1
>conftest.err
34272 cat conftest.err
>&5
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); } &&
34275 { ac_try
='test -z "$ac_c_werror_flag"
34276 || test ! -s conftest.err'
34277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34278 (eval $ac_try) 2>&5
34280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34281 (exit $ac_status); }; } &&
34282 { ac_try
='test -s conftest.$ac_objext'
34283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34284 (eval $ac_try) 2>&5
34286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34287 (exit $ac_status); }; }; then
34288 ac_cv_header_widec_h
=yes
34290 echo "$as_me: failed program was:" >&5
34291 sed 's/^/| /' conftest.
$ac_ext >&5
34293 ac_cv_header_widec_h
=no
34295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34297 echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34298 echo "${ECHO_T}$ac_cv_header_widec_h" >&6
34301 if test "$ac_cv_header_widec_h" = "yes"; then
34302 wchar_headers
="$wchar_headers
34303 #include <widec.h>"
34308 for wx_func
in wputc wputchar putws fputws wprintf vswprintf
34310 echo "$as_me:$LINENO: checking for $wx_func" >&5
34311 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34312 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34313 echo $ECHO_N "(cached) $ECHO_C" >&6
34316 cat >conftest.
$ac_ext <<_ACEOF
34320 cat confdefs.h
>>conftest.
$ac_ext
34321 cat >>conftest.
$ac_ext <<_ACEOF
34322 /* end confdefs.h. */
34325 $ac_includes_default
34341 rm -f conftest.
$ac_objext conftest
$ac_exeext
34342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34343 (eval $ac_link) 2>conftest.er1
34345 grep -v '^ *+' conftest.er1
>conftest.err
34347 cat conftest.err
>&5
34348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34349 (exit $ac_status); } &&
34350 { ac_try
='test -z "$ac_c_werror_flag"
34351 || test ! -s conftest.err'
34352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34353 (eval $ac_try) 2>&5
34355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34356 (exit $ac_status); }; } &&
34357 { ac_try
='test -s conftest$ac_exeext'
34358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34359 (eval $ac_try) 2>&5
34361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34362 (exit $ac_status); }; }; then
34363 eval wx_cv_func_
$wx_func=yes
34365 echo "$as_me: failed program was:" >&5
34366 sed 's/^/| /' conftest.
$ac_ext >&5
34368 eval wx_cv_func_
$wx_func=no
34370 rm -f conftest.err conftest.
$ac_objext \
34371 conftest
$ac_exeext conftest.
$ac_ext
34374 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34375 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34377 if eval test \
$wx_cv_func_$wx_func = yes
34379 cat >>confdefs.h
<<_ACEOF
34380 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34391 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34392 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34393 cat >conftest.
$ac_ext <<_ACEOF
34396 cat confdefs.h
>>conftest.
$ac_ext
34397 cat >>conftest.
$ac_ext <<_ACEOF
34398 /* end confdefs.h. */
34408 rm -f conftest.
$ac_objext
34409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34410 (eval $ac_compile) 2>conftest.er1
34412 grep -v '^ *+' conftest.er1
>conftest.err
34414 cat conftest.err
>&5
34415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416 (exit $ac_status); } &&
34417 { ac_try
='test -z "$ac_c_werror_flag"
34418 || test ! -s conftest.err'
34419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34420 (eval $ac_try) 2>&5
34422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34423 (exit $ac_status); }; } &&
34424 { ac_try
='test -s conftest.$ac_objext'
34425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34426 (eval $ac_try) 2>&5
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); }; }; then
34430 echo "$as_me:$LINENO: result: yes" >&5
34431 echo "${ECHO_T}yes" >&6
34432 cat >>confdefs.h
<<\_ACEOF
34433 #define HAVE__VSNWPRINTF 1
34437 echo "$as_me: failed program was:" >&5
34438 sed 's/^/| /' conftest.
$ac_ext >&5
34440 echo "$as_me:$LINENO: result: no" >&5
34441 echo "${ECHO_T}no" >&6
34443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
34446 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34448 for wx_func
in fnmatch
34450 echo "$as_me:$LINENO: checking for $wx_func" >&5
34451 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34452 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34453 echo $ECHO_N "(cached) $ECHO_C" >&6
34456 cat >conftest.
$ac_ext <<_ACEOF
34460 cat confdefs.h
>>conftest.
$ac_ext
34461 cat >>conftest.
$ac_ext <<_ACEOF
34462 /* end confdefs.h. */
34464 #include <fnmatch.h>
34465 $ac_includes_default
34481 rm -f conftest.
$ac_objext conftest
$ac_exeext
34482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34483 (eval $ac_link) 2>conftest.er1
34485 grep -v '^ *+' conftest.er1
>conftest.err
34487 cat conftest.err
>&5
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); } &&
34490 { ac_try
='test -z "$ac_c_werror_flag"
34491 || test ! -s conftest.err'
34492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34493 (eval $ac_try) 2>&5
34495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34496 (exit $ac_status); }; } &&
34497 { ac_try
='test -s conftest$ac_exeext'
34498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34499 (eval $ac_try) 2>&5
34501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502 (exit $ac_status); }; }; then
34503 eval wx_cv_func_
$wx_func=yes
34505 echo "$as_me: failed program was:" >&5
34506 sed 's/^/| /' conftest.
$ac_ext >&5
34508 eval wx_cv_func_
$wx_func=no
34510 rm -f conftest.err conftest.
$ac_objext \
34511 conftest
$ac_exeext conftest.
$ac_ext
34514 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34515 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34517 if eval test \
$wx_cv_func_$wx_func = yes
34519 cat >>confdefs.h
<<_ACEOF
34520 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34532 if test "$wxUSE_FILE" = "yes"; then
34534 for wx_func
in fsync
34536 echo "$as_me:$LINENO: checking for $wx_func" >&5
34537 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34538 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34539 echo $ECHO_N "(cached) $ECHO_C" >&6
34542 cat >conftest.
$ac_ext <<_ACEOF
34546 cat confdefs.h
>>conftest.
$ac_ext
34547 cat >>conftest.
$ac_ext <<_ACEOF
34548 /* end confdefs.h. */
34551 $ac_includes_default
34567 rm -f conftest.
$ac_objext conftest
$ac_exeext
34568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34569 (eval $ac_link) 2>conftest.er1
34571 grep -v '^ *+' conftest.er1
>conftest.err
34573 cat conftest.err
>&5
34574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34575 (exit $ac_status); } &&
34576 { ac_try
='test -z "$ac_c_werror_flag"
34577 || test ! -s conftest.err'
34578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34579 (eval $ac_try) 2>&5
34581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34582 (exit $ac_status); }; } &&
34583 { ac_try
='test -s conftest$ac_exeext'
34584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34585 (eval $ac_try) 2>&5
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); }; }; then
34589 eval wx_cv_func_
$wx_func=yes
34591 echo "$as_me: failed program was:" >&5
34592 sed 's/^/| /' conftest.
$ac_ext >&5
34594 eval wx_cv_func_
$wx_func=no
34596 rm -f conftest.err conftest.
$ac_objext \
34597 conftest
$ac_exeext conftest.
$ac_ext
34600 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34601 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34603 if eval test \
$wx_cv_func_$wx_func = yes
34605 cat >>confdefs.h
<<_ACEOF
34606 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34619 for wx_func
in round
34621 echo "$as_me:$LINENO: checking for $wx_func" >&5
34622 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34623 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34624 echo $ECHO_N "(cached) $ECHO_C" >&6
34627 cat >conftest.
$ac_ext <<_ACEOF
34631 cat confdefs.h
>>conftest.
$ac_ext
34632 cat >>conftest.
$ac_ext <<_ACEOF
34633 /* end confdefs.h. */
34636 $ac_includes_default
34652 rm -f conftest.
$ac_objext conftest
$ac_exeext
34653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34654 (eval $ac_link) 2>conftest.er1
34656 grep -v '^ *+' conftest.er1
>conftest.err
34658 cat conftest.err
>&5
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); } &&
34661 { ac_try
='test -z "$ac_c_werror_flag"
34662 || test ! -s conftest.err'
34663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34664 (eval $ac_try) 2>&5
34666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34667 (exit $ac_status); }; } &&
34668 { ac_try
='test -s conftest$ac_exeext'
34669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34670 (eval $ac_try) 2>&5
34672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34673 (exit $ac_status); }; }; then
34674 eval wx_cv_func_
$wx_func=yes
34676 echo "$as_me: failed program was:" >&5
34677 sed 's/^/| /' conftest.
$ac_ext >&5
34679 eval wx_cv_func_
$wx_func=no
34681 rm -f conftest.err conftest.
$ac_objext \
34682 conftest
$ac_exeext conftest.
$ac_ext
34685 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34686 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34688 if eval test \
$wx_cv_func_$wx_func = yes
34690 cat >>confdefs.h
<<_ACEOF
34691 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34702 if test "$TOOLKIT" != "MSW"; then
34708 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34709 if test "${with_libiconv_prefix+set}" = set; then
34710 withval
="$with_libiconv_prefix"
34712 for dir
in `echo "$withval" | tr : ' '`; do
34713 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
34714 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
34719 echo "$as_me:$LINENO: checking for iconv" >&5
34720 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34721 if test "${am_cv_func_iconv+set}" = set; then
34722 echo $ECHO_N "(cached) $ECHO_C" >&6
34725 am_cv_func_iconv
="no, consider installing GNU libiconv"
34727 cat >conftest.
$ac_ext <<_ACEOF
34730 cat confdefs.h
>>conftest.
$ac_ext
34731 cat >>conftest.
$ac_ext <<_ACEOF
34732 /* end confdefs.h. */
34733 #include <stdlib.h>
34738 iconv_t cd = iconv_open("","");
34739 iconv(cd,NULL,NULL,NULL,NULL);
34745 rm -f conftest.
$ac_objext conftest
$ac_exeext
34746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34747 (eval $ac_link) 2>conftest.er1
34749 grep -v '^ *+' conftest.er1
>conftest.err
34751 cat conftest.err
>&5
34752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34753 (exit $ac_status); } &&
34754 { ac_try
='test -z "$ac_c_werror_flag"
34755 || test ! -s conftest.err'
34756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34757 (eval $ac_try) 2>&5
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); }; } &&
34761 { ac_try
='test -s conftest$ac_exeext'
34762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34763 (eval $ac_try) 2>&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); }; }; then
34767 am_cv_func_iconv
=yes
34769 echo "$as_me: failed program was:" >&5
34770 sed 's/^/| /' conftest.
$ac_ext >&5
34773 rm -f conftest.err conftest.
$ac_objext \
34774 conftest
$ac_exeext conftest.
$ac_ext
34775 if test "$am_cv_func_iconv" != yes; then
34776 am_save_LIBS
="$LIBS"
34777 LIBS
="$LIBS -liconv"
34778 cat >conftest.
$ac_ext <<_ACEOF
34781 cat confdefs.h
>>conftest.
$ac_ext
34782 cat >>conftest.
$ac_ext <<_ACEOF
34783 /* end confdefs.h. */
34784 #include <stdlib.h>
34789 iconv_t cd = iconv_open("","");
34790 iconv(cd,NULL,NULL,NULL,NULL);
34796 rm -f conftest.
$ac_objext conftest
$ac_exeext
34797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34798 (eval $ac_link) 2>conftest.er1
34800 grep -v '^ *+' conftest.er1
>conftest.err
34802 cat conftest.err
>&5
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); } &&
34805 { ac_try
='test -z "$ac_c_werror_flag"
34806 || test ! -s conftest.err'
34807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34808 (eval $ac_try) 2>&5
34810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34811 (exit $ac_status); }; } &&
34812 { ac_try
='test -s conftest$ac_exeext'
34813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34814 (eval $ac_try) 2>&5
34816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34817 (exit $ac_status); }; }; then
34818 am_cv_lib_iconv
=yes
34819 am_cv_func_iconv
=yes
34821 echo "$as_me: failed program was:" >&5
34822 sed 's/^/| /' conftest.
$ac_ext >&5
34825 rm -f conftest.err conftest.
$ac_objext \
34826 conftest
$ac_exeext conftest.
$ac_ext
34827 LIBS
="$am_save_LIBS"
34831 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34832 echo "${ECHO_T}$am_cv_func_iconv" >&6
34833 if test "$am_cv_func_iconv" = yes; then
34835 cat >>confdefs.h
<<\_ACEOF
34836 #define HAVE_ICONV 1
34839 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34840 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34841 if test "${wx_cv_func_iconv_const+set}" = set; then
34842 echo $ECHO_N "(cached) $ECHO_C" >&6
34844 cat >conftest.
$ac_ext <<_ACEOF
34847 cat confdefs.h
>>conftest.
$ac_ext
34848 cat >>conftest.
$ac_ext <<_ACEOF
34849 /* end confdefs.h. */
34851 #include <stdlib.h>
34857 #if defined(__STDC__) || defined(__cplusplus)
34858 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34871 rm -f conftest.
$ac_objext
34872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34873 (eval $ac_compile) 2>conftest.er1
34875 grep -v '^ *+' conftest.er1
>conftest.err
34877 cat conftest.err
>&5
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); } &&
34880 { ac_try
='test -z "$ac_c_werror_flag"
34881 || test ! -s conftest.err'
34882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34883 (eval $ac_try) 2>&5
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); }; } &&
34887 { ac_try
='test -s conftest.$ac_objext'
34888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34889 (eval $ac_try) 2>&5
34891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34892 (exit $ac_status); }; }; then
34893 wx_cv_func_iconv_const
="no"
34895 echo "$as_me: failed program was:" >&5
34896 sed 's/^/| /' conftest.
$ac_ext >&5
34898 wx_cv_func_iconv_const
="yes"
34901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34904 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34905 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34908 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34909 iconv_const
="const"
34913 cat >>confdefs.h
<<_ACEOF
34914 #define ICONV_CONST $iconv_const
34919 if test "$am_cv_lib_iconv" = yes; then
34924 LIBS
="$LIBICONV $LIBS"
34926 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34928 for ac_func
in sigaction
34930 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34931 echo "$as_me:$LINENO: checking for $ac_func" >&5
34932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34933 if eval "test \"\${$as_ac_var+set}\" = set"; then
34934 echo $ECHO_N "(cached) $ECHO_C" >&6
34936 cat >conftest.
$ac_ext <<_ACEOF
34939 cat confdefs.h
>>conftest.
$ac_ext
34940 cat >>conftest.
$ac_ext <<_ACEOF
34941 /* end confdefs.h. */
34942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34944 #define $ac_func innocuous_$ac_func
34946 /* System header to define __stub macros and hopefully few prototypes,
34947 which can conflict with char $ac_func (); below.
34948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34949 <limits.h> exists even on freestanding compilers. */
34952 # include <limits.h>
34954 # include <assert.h>
34959 /* Override any gcc2 internal prototype to avoid an error. */
34964 /* We use char because int might match the return type of a gcc2
34965 builtin and then its argument prototype would still apply. */
34967 /* The GNU C library defines this for functions which it implements
34968 to always fail with ENOSYS. Some functions are actually named
34969 something starting with __ and the normal name is an alias. */
34970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34973 char (*f) () = $ac_func;
34982 return f != $ac_func;
34987 rm -f conftest.
$ac_objext conftest
$ac_exeext
34988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34989 (eval $ac_link) 2>conftest.er1
34991 grep -v '^ *+' conftest.er1
>conftest.err
34993 cat conftest.err
>&5
34994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34995 (exit $ac_status); } &&
34996 { ac_try
='test -z "$ac_c_werror_flag"
34997 || test ! -s conftest.err'
34998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34999 (eval $ac_try) 2>&5
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); }; } &&
35003 { ac_try
='test -s conftest$ac_exeext'
35004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35005 (eval $ac_try) 2>&5
35007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35008 (exit $ac_status); }; }; then
35009 eval "$as_ac_var=yes"
35011 echo "$as_me: failed program was:" >&5
35012 sed 's/^/| /' conftest.
$ac_ext >&5
35014 eval "$as_ac_var=no"
35016 rm -f conftest.err conftest.
$ac_objext \
35017 conftest
$ac_exeext conftest.
$ac_ext
35019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35021 if test `eval echo '${'$as_ac_var'}'` = yes; then
35022 cat >>confdefs.h
<<_ACEOF
35023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35030 if test "$ac_cv_func_sigaction" = "no"; then
35031 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35032 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35033 wxUSE_ON_FATAL_EXCEPTION
=no
35036 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35037 echo "$as_me:$LINENO: checking for sa_handler type" >&5
35038 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
35039 if test "${wx_cv_type_sa_handler+set}" = set; then
35040 echo $ECHO_N "(cached) $ECHO_C" >&6
35044 ac_cpp
='$CXXCPP $CPPFLAGS'
35045 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35046 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35047 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35049 cat >conftest.
$ac_ext <<_ACEOF
35052 cat confdefs.h
>>conftest.
$ac_ext
35053 cat >>conftest.
$ac_ext <<_ACEOF
35054 /* end confdefs.h. */
35055 #include <signal.h>
35060 extern void testSigHandler(int);
35062 struct sigaction sa;
35063 sa.sa_handler = testSigHandler;
35069 rm -f conftest.
$ac_objext
35070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35071 (eval $ac_compile) 2>conftest.er1
35073 grep -v '^ *+' conftest.er1
>conftest.err
35075 cat conftest.err
>&5
35076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35077 (exit $ac_status); } &&
35078 { ac_try
='test -z "$ac_cxx_werror_flag"
35079 || test ! -s conftest.err'
35080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35081 (eval $ac_try) 2>&5
35083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35084 (exit $ac_status); }; } &&
35085 { ac_try
='test -s conftest.$ac_objext'
35086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35087 (eval $ac_try) 2>&5
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); }; }; then
35092 wx_cv_type_sa_handler
=int
35095 echo "$as_me: failed program was:" >&5
35096 sed 's/^/| /' conftest.
$ac_ext >&5
35099 wx_cv_type_sa_handler
=void
35102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35104 ac_cpp
='$CPP $CPPFLAGS'
35105 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35106 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35107 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35111 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35112 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35114 cat >>confdefs.h
<<_ACEOF
35115 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35121 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35122 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35123 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35124 if test "${wx_cv_func_backtrace+set}" = set; then
35125 echo $ECHO_N "(cached) $ECHO_C" >&6
35129 ac_cpp
='$CXXCPP $CPPFLAGS'
35130 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35134 cat >conftest.
$ac_ext <<_ACEOF
35137 cat confdefs.h
>>conftest.
$ac_ext
35138 cat >>conftest.
$ac_ext <<_ACEOF
35139 /* end confdefs.h. */
35140 #include <execinfo.h>
35148 backtrace(trace, 1);
35149 messages = backtrace_symbols(trace, 1);
35155 rm -f conftest.
$ac_objext
35156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35157 (eval $ac_compile) 2>conftest.er1
35159 grep -v '^ *+' conftest.er1
>conftest.err
35161 cat conftest.err
>&5
35162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35163 (exit $ac_status); } &&
35164 { ac_try
='test -z "$ac_cxx_werror_flag"
35165 || test ! -s conftest.err'
35166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35167 (eval $ac_try) 2>&5
35169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35170 (exit $ac_status); }; } &&
35171 { ac_try
='test -s conftest.$ac_objext'
35172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35173 (eval $ac_try) 2>&5
35175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35176 (exit $ac_status); }; }; then
35177 wx_cv_func_backtrace
=yes
35179 echo "$as_me: failed program was:" >&5
35180 sed 's/^/| /' conftest.
$ac_ext >&5
35182 wx_cv_func_backtrace
=no
35185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35187 ac_cpp
='$CPP $CPPFLAGS'
35188 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35195 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35196 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35199 if test "$wx_cv_func_backtrace" = "no"; then
35200 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35201 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35202 wxUSE_STACKWALKER
=no
35204 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35205 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35206 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35207 echo $ECHO_N "(cached) $ECHO_C" >&6
35211 ac_cpp
='$CXXCPP $CPPFLAGS'
35212 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35213 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35214 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35216 cat >conftest.
$ac_ext <<_ACEOF
35219 cat confdefs.h
>>conftest.
$ac_ext
35220 cat >>conftest.
$ac_ext <<_ACEOF
35221 /* end confdefs.h. */
35222 #include <cxxabi.h>
35228 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35234 rm -f conftest.
$ac_objext conftest
$ac_exeext
35235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35236 (eval $ac_link) 2>conftest.er1
35238 grep -v '^ *+' conftest.er1
>conftest.err
35240 cat conftest.err
>&5
35241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35242 (exit $ac_status); } &&
35243 { ac_try
='test -z "$ac_cxx_werror_flag"
35244 || test ! -s conftest.err'
35245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35246 (eval $ac_try) 2>&5
35248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35249 (exit $ac_status); }; } &&
35250 { ac_try
='test -s conftest$ac_exeext'
35251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35252 (eval $ac_try) 2>&5
35254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35255 (exit $ac_status); }; }; then
35256 wx_cv_func_cxa_demangle
=yes
35258 echo "$as_me: failed program was:" >&5
35259 sed 's/^/| /' conftest.
$ac_ext >&5
35261 wx_cv_func_cxa_demangle
=no
35264 rm -f conftest.err conftest.
$ac_objext \
35265 conftest
$ac_exeext conftest.
$ac_ext
35267 ac_cpp
='$CPP $CPPFLAGS'
35268 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35269 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35270 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35275 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35276 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35278 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35279 cat >>confdefs.h
<<\_ACEOF
35280 #define HAVE_CXA_DEMANGLE 1
35287 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35288 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35289 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35290 wxUSE_STACKWALKER
=no
35296 for ac_func
in mkstemp mktemp
35298 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35299 echo "$as_me:$LINENO: checking for $ac_func" >&5
35300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35301 if eval "test \"\${$as_ac_var+set}\" = set"; then
35302 echo $ECHO_N "(cached) $ECHO_C" >&6
35304 cat >conftest.
$ac_ext <<_ACEOF
35307 cat confdefs.h
>>conftest.
$ac_ext
35308 cat >>conftest.
$ac_ext <<_ACEOF
35309 /* end confdefs.h. */
35310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35312 #define $ac_func innocuous_$ac_func
35314 /* System header to define __stub macros and hopefully few prototypes,
35315 which can conflict with char $ac_func (); below.
35316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35317 <limits.h> exists even on freestanding compilers. */
35320 # include <limits.h>
35322 # include <assert.h>
35327 /* Override any gcc2 internal prototype to avoid an error. */
35332 /* We use char because int might match the return type of a gcc2
35333 builtin and then its argument prototype would still apply. */
35335 /* The GNU C library defines this for functions which it implements
35336 to always fail with ENOSYS. Some functions are actually named
35337 something starting with __ and the normal name is an alias. */
35338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35341 char (*f) () = $ac_func;
35350 return f != $ac_func;
35355 rm -f conftest.
$ac_objext conftest
$ac_exeext
35356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35357 (eval $ac_link) 2>conftest.er1
35359 grep -v '^ *+' conftest.er1
>conftest.err
35361 cat conftest.err
>&5
35362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363 (exit $ac_status); } &&
35364 { ac_try
='test -z "$ac_c_werror_flag"
35365 || test ! -s conftest.err'
35366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35367 (eval $ac_try) 2>&5
35369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370 (exit $ac_status); }; } &&
35371 { ac_try
='test -s conftest$ac_exeext'
35372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35373 (eval $ac_try) 2>&5
35375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35376 (exit $ac_status); }; }; then
35377 eval "$as_ac_var=yes"
35379 echo "$as_me: failed program was:" >&5
35380 sed 's/^/| /' conftest.
$ac_ext >&5
35382 eval "$as_ac_var=no"
35384 rm -f conftest.err conftest.
$ac_objext \
35385 conftest
$ac_exeext conftest.
$ac_ext
35387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35389 if test `eval echo '${'$as_ac_var'}'` = yes; then
35390 cat >>confdefs.h
<<_ACEOF
35391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35398 echo "$as_me:$LINENO: checking for statfs" >&5
35399 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35400 if test "${wx_cv_func_statfs+set}" = set; then
35401 echo $ECHO_N "(cached) $ECHO_C" >&6
35403 cat >conftest.
$ac_ext <<_ACEOF
35406 cat confdefs.h
>>conftest.
$ac_ext
35407 cat >>conftest.
$ac_ext <<_ACEOF
35408 /* end confdefs.h. */
35410 #if defined(__BSD__)
35411 #include <sys/param.h>
35412 #include <sys/mount.h>
35414 #include <sys/vfs.h>
35432 rm -f conftest.
$ac_objext
35433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35434 (eval $ac_compile) 2>conftest.er1
35436 grep -v '^ *+' conftest.er1
>conftest.err
35438 cat conftest.err
>&5
35439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35440 (exit $ac_status); } &&
35441 { ac_try
='test -z "$ac_c_werror_flag"
35442 || test ! -s conftest.err'
35443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35444 (eval $ac_try) 2>&5
35446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35447 (exit $ac_status); }; } &&
35448 { ac_try
='test -s conftest.$ac_objext'
35449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35450 (eval $ac_try) 2>&5
35452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35453 (exit $ac_status); }; }; then
35454 wx_cv_func_statfs
=yes
35456 echo "$as_me: failed program was:" >&5
35457 sed 's/^/| /' conftest.
$ac_ext >&5
35459 wx_cv_func_statfs
=no
35462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35465 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35466 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35468 if test "$wx_cv_func_statfs" = "yes"; then
35469 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35470 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35471 if test "${wx_cv_func_statfs_decl+set}" = set; then
35472 echo $ECHO_N "(cached) $ECHO_C" >&6
35475 ac_cpp
='$CXXCPP $CPPFLAGS'
35476 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35477 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35478 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35480 cat >conftest.
$ac_ext <<_ACEOF
35483 cat confdefs.h
>>conftest.
$ac_ext
35484 cat >>conftest.
$ac_ext <<_ACEOF
35485 /* end confdefs.h. */
35487 #if defined(__BSD__)
35488 #include <sys/param.h>
35489 #include <sys/mount.h>
35491 #include <sys/vfs.h>
35505 rm -f conftest.
$ac_objext
35506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35507 (eval $ac_compile) 2>conftest.er1
35509 grep -v '^ *+' conftest.er1
>conftest.err
35511 cat conftest.err
>&5
35512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35513 (exit $ac_status); } &&
35514 { ac_try
='test -z "$ac_cxx_werror_flag"
35515 || test ! -s conftest.err'
35516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35517 (eval $ac_try) 2>&5
35519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520 (exit $ac_status); }; } &&
35521 { ac_try
='test -s conftest.$ac_objext'
35522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35523 (eval $ac_try) 2>&5
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); }; }; then
35527 wx_cv_func_statfs_decl
=yes
35529 echo "$as_me: failed program was:" >&5
35530 sed 's/^/| /' conftest.
$ac_ext >&5
35532 wx_cv_func_statfs_decl
=no
35535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35537 ac_cpp
='$CPP $CPPFLAGS'
35538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35544 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35545 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35547 if test "$wx_cv_func_statfs_decl" = "yes"; then
35548 cat >>confdefs.h
<<\_ACEOF
35549 #define HAVE_STATFS_DECL 1
35554 wx_cv_type_statvfs_t
="struct statfs"
35555 cat >>confdefs.h
<<\_ACEOF
35556 #define HAVE_STATFS 1
35560 echo "$as_me:$LINENO: checking for statvfs" >&5
35561 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35562 if test "${wx_cv_func_statvfs+set}" = set; then
35563 echo $ECHO_N "(cached) $ECHO_C" >&6
35565 cat >conftest.
$ac_ext <<_ACEOF
35568 cat confdefs.h
>>conftest.
$ac_ext
35569 cat >>conftest.
$ac_ext <<_ACEOF
35570 /* end confdefs.h. */
35572 #include <stddef.h>
35573 #include <sys/statvfs.h>
35579 statvfs("/", NULL);
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"
35595 || test ! -s conftest.err'
35596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35597 (eval $ac_try) 2>&5
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); }; } &&
35601 { ac_try
='test -s conftest.$ac_objext'
35602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35603 (eval $ac_try) 2>&5
35605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35606 (exit $ac_status); }; }; then
35607 wx_cv_func_statvfs
=yes
35609 echo "$as_me: failed program was:" >&5
35610 sed 's/^/| /' conftest.
$ac_ext >&5
35612 wx_cv_func_statvfs
=no
35615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35618 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35619 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35621 if test "$wx_cv_func_statvfs" = "yes"; then
35622 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35623 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35624 if test "${wx_cv_type_statvfs_t+set}" = set; then
35625 echo $ECHO_N "(cached) $ECHO_C" >&6
35628 ac_cpp
='$CXXCPP $CPPFLAGS'
35629 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35630 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35631 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35633 cat >conftest.
$ac_ext <<_ACEOF
35636 cat confdefs.h
>>conftest.
$ac_ext
35637 cat >>conftest.
$ac_ext <<_ACEOF
35638 /* end confdefs.h. */
35640 #include <sys/statvfs.h>
35657 rm -f conftest.
$ac_objext
35658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35659 (eval $ac_compile) 2>conftest.er1
35661 grep -v '^ *+' conftest.er1
>conftest.err
35663 cat conftest.err
>&5
35664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665 (exit $ac_status); } &&
35666 { ac_try
='test -z "$ac_cxx_werror_flag"
35667 || test ! -s conftest.err'
35668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35669 (eval $ac_try) 2>&5
35671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35672 (exit $ac_status); }; } &&
35673 { ac_try
='test -s conftest.$ac_objext'
35674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35675 (eval $ac_try) 2>&5
35677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35678 (exit $ac_status); }; }; then
35679 wx_cv_type_statvfs_t
=statvfs_t
35681 echo "$as_me: failed program was:" >&5
35682 sed 's/^/| /' conftest.
$ac_ext >&5
35685 cat >conftest.
$ac_ext <<_ACEOF
35688 cat confdefs.h
>>conftest.
$ac_ext
35689 cat >>conftest.
$ac_ext <<_ACEOF
35690 /* end confdefs.h. */
35692 #include <sys/statvfs.h>
35709 rm -f conftest.
$ac_objext
35710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35711 (eval $ac_compile) 2>conftest.er1
35713 grep -v '^ *+' conftest.er1
>conftest.err
35715 cat conftest.err
>&5
35716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35717 (exit $ac_status); } &&
35718 { ac_try
='test -z "$ac_cxx_werror_flag"
35719 || test ! -s conftest.err'
35720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35721 (eval $ac_try) 2>&5
35723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35724 (exit $ac_status); }; } &&
35725 { ac_try
='test -s conftest.$ac_objext'
35726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35727 (eval $ac_try) 2>&5
35729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 (exit $ac_status); }; }; then
35731 wx_cv_type_statvfs_t
="struct statvfs"
35733 echo "$as_me: failed program was:" >&5
35734 sed 's/^/| /' conftest.
$ac_ext >&5
35736 wx_cv_type_statvfs_t
="unknown"
35739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35745 ac_cpp
='$CPP $CPPFLAGS'
35746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35752 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35753 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35755 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35756 cat >>confdefs.h
<<\_ACEOF
35757 #define HAVE_STATVFS 1
35762 wx_cv_type_statvfs_t
="unknown"
35766 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35767 cat >>confdefs.h
<<_ACEOF
35768 #define WX_STATFS_T $wx_cv_type_statvfs_t
35772 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35773 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35776 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35779 for ac_func
in fcntl flock
35781 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35782 echo "$as_me:$LINENO: checking for $ac_func" >&5
35783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35784 if eval "test \"\${$as_ac_var+set}\" = set"; then
35785 echo $ECHO_N "(cached) $ECHO_C" >&6
35787 cat >conftest.
$ac_ext <<_ACEOF
35790 cat confdefs.h
>>conftest.
$ac_ext
35791 cat >>conftest.
$ac_ext <<_ACEOF
35792 /* end confdefs.h. */
35793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35795 #define $ac_func innocuous_$ac_func
35797 /* System header to define __stub macros and hopefully few prototypes,
35798 which can conflict with char $ac_func (); below.
35799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35800 <limits.h> exists even on freestanding compilers. */
35803 # include <limits.h>
35805 # include <assert.h>
35810 /* Override any gcc2 internal prototype to avoid an error. */
35815 /* We use char because int might match the return type of a gcc2
35816 builtin and then its argument prototype would still apply. */
35818 /* The GNU C library defines this for functions which it implements
35819 to always fail with ENOSYS. Some functions are actually named
35820 something starting with __ and the normal name is an alias. */
35821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35824 char (*f) () = $ac_func;
35833 return f != $ac_func;
35838 rm -f conftest.
$ac_objext conftest
$ac_exeext
35839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35840 (eval $ac_link) 2>conftest.er1
35842 grep -v '^ *+' conftest.er1
>conftest.err
35844 cat conftest.err
>&5
35845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35846 (exit $ac_status); } &&
35847 { ac_try
='test -z "$ac_c_werror_flag"
35848 || test ! -s conftest.err'
35849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35850 (eval $ac_try) 2>&5
35852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35853 (exit $ac_status); }; } &&
35854 { ac_try
='test -s conftest$ac_exeext'
35855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35856 (eval $ac_try) 2>&5
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); }; }; then
35860 eval "$as_ac_var=yes"
35862 echo "$as_me: failed program was:" >&5
35863 sed 's/^/| /' conftest.
$ac_ext >&5
35865 eval "$as_ac_var=no"
35867 rm -f conftest.err conftest.
$ac_objext \
35868 conftest
$ac_exeext conftest.
$ac_ext
35870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35872 if test `eval echo '${'$as_ac_var'}'` = yes; then
35873 cat >>confdefs.h
<<_ACEOF
35874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35881 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35882 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35883 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35884 wxUSE_SNGLINST_CHECKER
=no
35889 for ac_func
in timegm
35891 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35892 echo "$as_me:$LINENO: checking for $ac_func" >&5
35893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35894 if eval "test \"\${$as_ac_var+set}\" = set"; then
35895 echo $ECHO_N "(cached) $ECHO_C" >&6
35897 cat >conftest.
$ac_ext <<_ACEOF
35900 cat confdefs.h
>>conftest.
$ac_ext
35901 cat >>conftest.
$ac_ext <<_ACEOF
35902 /* end confdefs.h. */
35903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35905 #define $ac_func innocuous_$ac_func
35907 /* System header to define __stub macros and hopefully few prototypes,
35908 which can conflict with char $ac_func (); below.
35909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35910 <limits.h> exists even on freestanding compilers. */
35913 # include <limits.h>
35915 # include <assert.h>
35920 /* Override any gcc2 internal prototype to avoid an error. */
35925 /* We use char because int might match the return type of a gcc2
35926 builtin and then its argument prototype would still apply. */
35928 /* The GNU C library defines this for functions which it implements
35929 to always fail with ENOSYS. Some functions are actually named
35930 something starting with __ and the normal name is an alias. */
35931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35934 char (*f) () = $ac_func;
35943 return f != $ac_func;
35948 rm -f conftest.
$ac_objext conftest
$ac_exeext
35949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35950 (eval $ac_link) 2>conftest.er1
35952 grep -v '^ *+' conftest.er1
>conftest.err
35954 cat conftest.err
>&5
35955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35956 (exit $ac_status); } &&
35957 { ac_try
='test -z "$ac_c_werror_flag"
35958 || test ! -s conftest.err'
35959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35960 (eval $ac_try) 2>&5
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); }; } &&
35964 { ac_try
='test -s conftest$ac_exeext'
35965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35966 (eval $ac_try) 2>&5
35968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35969 (exit $ac_status); }; }; then
35970 eval "$as_ac_var=yes"
35972 echo "$as_me: failed program was:" >&5
35973 sed 's/^/| /' conftest.
$ac_ext >&5
35975 eval "$as_ac_var=no"
35977 rm -f conftest.err conftest.
$ac_objext \
35978 conftest
$ac_exeext conftest.
$ac_ext
35980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35982 if test `eval echo '${'$as_ac_var'}'` = yes; then
35983 cat >>confdefs.h
<<_ACEOF
35984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35993 for ac_func
in putenv setenv
35995 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35996 echo "$as_me:$LINENO: checking for $ac_func" >&5
35997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35998 if eval "test \"\${$as_ac_var+set}\" = set"; then
35999 echo $ECHO_N "(cached) $ECHO_C" >&6
36001 cat >conftest.
$ac_ext <<_ACEOF
36004 cat confdefs.h
>>conftest.
$ac_ext
36005 cat >>conftest.
$ac_ext <<_ACEOF
36006 /* end confdefs.h. */
36007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36009 #define $ac_func innocuous_$ac_func
36011 /* System header to define __stub macros and hopefully few prototypes,
36012 which can conflict with char $ac_func (); below.
36013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36014 <limits.h> exists even on freestanding compilers. */
36017 # include <limits.h>
36019 # include <assert.h>
36024 /* Override any gcc2 internal prototype to avoid an error. */
36029 /* We use char because int might match the return type of a gcc2
36030 builtin and then its argument prototype would still apply. */
36032 /* The GNU C library defines this for functions which it implements
36033 to always fail with ENOSYS. Some functions are actually named
36034 something starting with __ and the normal name is an alias. */
36035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36038 char (*f) () = $ac_func;
36047 return f != $ac_func;
36052 rm -f conftest.
$ac_objext conftest
$ac_exeext
36053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36054 (eval $ac_link) 2>conftest.er1
36056 grep -v '^ *+' conftest.er1
>conftest.err
36058 cat conftest.err
>&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } &&
36061 { ac_try
='test -z "$ac_c_werror_flag"
36062 || test ! -s conftest.err'
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); }; } &&
36068 { ac_try
='test -s conftest$ac_exeext'
36069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36070 (eval $ac_try) 2>&5
36072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36073 (exit $ac_status); }; }; then
36074 eval "$as_ac_var=yes"
36076 echo "$as_me: failed program was:" >&5
36077 sed 's/^/| /' conftest.
$ac_ext >&5
36079 eval "$as_ac_var=no"
36081 rm -f conftest.err conftest.
$ac_objext \
36082 conftest
$ac_exeext conftest.
$ac_ext
36084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36086 if test `eval echo '${'$as_ac_var'}'` = yes; then
36087 cat >>confdefs.h
<<_ACEOF
36088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36095 HAVE_SOME_SLEEP_FUNC
=0
36096 if test "$USE_BEOS" = 1; then
36097 cat >>confdefs.h
<<\_ACEOF
36098 #define HAVE_SLEEP 1
36101 HAVE_SOME_SLEEP_FUNC
=1
36104 if test "$USE_DARWIN" = 1; then
36105 cat >>confdefs.h
<<\_ACEOF
36106 #define HAVE_USLEEP 1
36109 HAVE_SOME_SLEEP_FUNC
=1
36112 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36115 for ac_func
in nanosleep
36117 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36118 echo "$as_me:$LINENO: checking for $ac_func" >&5
36119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36120 if eval "test \"\${$as_ac_var+set}\" = set"; then
36121 echo $ECHO_N "(cached) $ECHO_C" >&6
36123 cat >conftest.
$ac_ext <<_ACEOF
36126 cat confdefs.h
>>conftest.
$ac_ext
36127 cat >>conftest.
$ac_ext <<_ACEOF
36128 /* end confdefs.h. */
36129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36131 #define $ac_func innocuous_$ac_func
36133 /* System header to define __stub macros and hopefully few prototypes,
36134 which can conflict with char $ac_func (); below.
36135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36136 <limits.h> exists even on freestanding compilers. */
36139 # include <limits.h>
36141 # include <assert.h>
36146 /* Override any gcc2 internal prototype to avoid an error. */
36151 /* We use char because int might match the return type of a gcc2
36152 builtin and then its argument prototype would still apply. */
36154 /* The GNU C library defines this for functions which it implements
36155 to always fail with ENOSYS. Some functions are actually named
36156 something starting with __ and the normal name is an alias. */
36157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36160 char (*f) () = $ac_func;
36169 return f != $ac_func;
36174 rm -f conftest.
$ac_objext conftest
$ac_exeext
36175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36176 (eval $ac_link) 2>conftest.er1
36178 grep -v '^ *+' conftest.er1
>conftest.err
36180 cat conftest.err
>&5
36181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36182 (exit $ac_status); } &&
36183 { ac_try
='test -z "$ac_c_werror_flag"
36184 || test ! -s conftest.err'
36185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36186 (eval $ac_try) 2>&5
36188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36189 (exit $ac_status); }; } &&
36190 { ac_try
='test -s conftest$ac_exeext'
36191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36192 (eval $ac_try) 2>&5
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); }; }; then
36196 eval "$as_ac_var=yes"
36198 echo "$as_me: failed program was:" >&5
36199 sed 's/^/| /' conftest.
$ac_ext >&5
36201 eval "$as_ac_var=no"
36203 rm -f conftest.err conftest.
$ac_objext \
36204 conftest
$ac_exeext conftest.
$ac_ext
36206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36208 if test `eval echo '${'$as_ac_var'}'` = yes; then
36209 cat >>confdefs.h
<<_ACEOF
36210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36212 cat >>confdefs.h
<<\_ACEOF
36213 #define HAVE_NANOSLEEP 1
36218 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36219 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36220 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36221 echo $ECHO_N "(cached) $ECHO_C" >&6
36223 ac_check_lib_save_LIBS
=$LIBS
36224 LIBS
="-lposix4 $LIBS"
36225 cat >conftest.
$ac_ext <<_ACEOF
36228 cat confdefs.h
>>conftest.
$ac_ext
36229 cat >>conftest.
$ac_ext <<_ACEOF
36230 /* end confdefs.h. */
36232 /* Override any gcc2 internal prototype to avoid an error. */
36236 /* We use char because int might match the return type of a gcc2
36237 builtin and then its argument prototype would still apply. */
36247 rm -f conftest.
$ac_objext conftest
$ac_exeext
36248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36249 (eval $ac_link) 2>conftest.er1
36251 grep -v '^ *+' conftest.er1
>conftest.err
36253 cat conftest.err
>&5
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); } &&
36256 { ac_try
='test -z "$ac_c_werror_flag"
36257 || test ! -s conftest.err'
36258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36259 (eval $ac_try) 2>&5
36261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36262 (exit $ac_status); }; } &&
36263 { ac_try
='test -s conftest$ac_exeext'
36264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36265 (eval $ac_try) 2>&5
36267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268 (exit $ac_status); }; }; then
36269 ac_cv_lib_posix4_nanosleep
=yes
36271 echo "$as_me: failed program was:" >&5
36272 sed 's/^/| /' conftest.
$ac_ext >&5
36274 ac_cv_lib_posix4_nanosleep
=no
36276 rm -f conftest.err conftest.
$ac_objext \
36277 conftest
$ac_exeext conftest.
$ac_ext
36278 LIBS
=$ac_check_lib_save_LIBS
36280 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36281 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36282 if test $ac_cv_lib_posix4_nanosleep = yes; then
36284 cat >>confdefs.h
<<\_ACEOF
36285 #define HAVE_NANOSLEEP 1
36288 POSIX4_LINK
=" -lposix4"
36293 for wx_func
in usleep
36295 echo "$as_me:$LINENO: checking for $wx_func" >&5
36296 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36297 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36298 echo $ECHO_N "(cached) $ECHO_C" >&6
36301 cat >conftest.
$ac_ext <<_ACEOF
36305 cat confdefs.h
>>conftest.
$ac_ext
36306 cat >>conftest.
$ac_ext <<_ACEOF
36307 /* end confdefs.h. */
36310 $ac_includes_default
36326 rm -f conftest.
$ac_objext conftest
$ac_exeext
36327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36328 (eval $ac_link) 2>conftest.er1
36330 grep -v '^ *+' conftest.er1
>conftest.err
36332 cat conftest.err
>&5
36333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36334 (exit $ac_status); } &&
36335 { ac_try
='test -z "$ac_c_werror_flag"
36336 || test ! -s conftest.err'
36337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36338 (eval $ac_try) 2>&5
36340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36341 (exit $ac_status); }; } &&
36342 { ac_try
='test -s conftest$ac_exeext'
36343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36344 (eval $ac_try) 2>&5
36346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347 (exit $ac_status); }; }; then
36348 eval wx_cv_func_
$wx_func=yes
36350 echo "$as_me: failed program was:" >&5
36351 sed 's/^/| /' conftest.
$ac_ext >&5
36353 eval wx_cv_func_
$wx_func=no
36355 rm -f conftest.err conftest.
$ac_objext \
36356 conftest
$ac_exeext conftest.
$ac_ext
36359 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36360 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36362 if eval test \
$wx_cv_func_$wx_func = yes
36364 cat >>confdefs.h
<<_ACEOF
36365 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36371 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36372 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36389 for wx_func
in uname
36391 echo "$as_me:$LINENO: checking for $wx_func" >&5
36392 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36393 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36394 echo $ECHO_N "(cached) $ECHO_C" >&6
36397 cat >conftest.
$ac_ext <<_ACEOF
36401 cat confdefs.h
>>conftest.
$ac_ext
36402 cat >>conftest.
$ac_ext <<_ACEOF
36403 /* end confdefs.h. */
36405 #include <sys/utsname.h>
36406 $ac_includes_default
36422 rm -f conftest.
$ac_objext conftest
$ac_exeext
36423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36424 (eval $ac_link) 2>conftest.er1
36426 grep -v '^ *+' conftest.er1
>conftest.err
36428 cat conftest.err
>&5
36429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36430 (exit $ac_status); } &&
36431 { ac_try
='test -z "$ac_c_werror_flag"
36432 || test ! -s conftest.err'
36433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36434 (eval $ac_try) 2>&5
36436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36437 (exit $ac_status); }; } &&
36438 { ac_try
='test -s conftest$ac_exeext'
36439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36440 (eval $ac_try) 2>&5
36442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443 (exit $ac_status); }; }; then
36444 eval wx_cv_func_
$wx_func=yes
36446 echo "$as_me: failed program was:" >&5
36447 sed 's/^/| /' conftest.
$ac_ext >&5
36449 eval wx_cv_func_
$wx_func=no
36451 rm -f conftest.err conftest.
$ac_objext \
36452 conftest
$ac_exeext conftest.
$ac_ext
36455 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36456 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36458 if eval test \
$wx_cv_func_$wx_func = yes
36460 cat >>confdefs.h
<<_ACEOF
36461 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36471 if test "$wx_cv_func_uname" != yes; then
36473 for wx_func
in gethostname
36475 echo "$as_me:$LINENO: checking for $wx_func" >&5
36476 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36477 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36478 echo $ECHO_N "(cached) $ECHO_C" >&6
36481 cat >conftest.
$ac_ext <<_ACEOF
36485 cat confdefs.h
>>conftest.
$ac_ext
36486 cat >>conftest.
$ac_ext <<_ACEOF
36487 /* end confdefs.h. */
36490 $ac_includes_default
36506 rm -f conftest.
$ac_objext conftest
$ac_exeext
36507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36508 (eval $ac_link) 2>conftest.er1
36510 grep -v '^ *+' conftest.er1
>conftest.err
36512 cat conftest.err
>&5
36513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514 (exit $ac_status); } &&
36515 { ac_try
='test -z "$ac_c_werror_flag"
36516 || test ! -s conftest.err'
36517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36518 (eval $ac_try) 2>&5
36520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36521 (exit $ac_status); }; } &&
36522 { ac_try
='test -s conftest$ac_exeext'
36523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36524 (eval $ac_try) 2>&5
36526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36527 (exit $ac_status); }; }; then
36528 eval wx_cv_func_
$wx_func=yes
36530 echo "$as_me: failed program was:" >&5
36531 sed 's/^/| /' conftest.
$ac_ext >&5
36533 eval wx_cv_func_
$wx_func=no
36535 rm -f conftest.err conftest.
$ac_objext \
36536 conftest
$ac_exeext conftest.
$ac_ext
36539 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36540 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36542 if eval test \
$wx_cv_func_$wx_func = yes
36544 cat >>confdefs.h
<<_ACEOF
36545 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36558 for wx_func
in strtok_r
36560 echo "$as_me:$LINENO: checking for $wx_func" >&5
36561 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36562 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36563 echo $ECHO_N "(cached) $ECHO_C" >&6
36566 cat >conftest.
$ac_ext <<_ACEOF
36570 cat confdefs.h
>>conftest.
$ac_ext
36571 cat >>conftest.
$ac_ext <<_ACEOF
36572 /* end confdefs.h. */
36575 $ac_includes_default
36591 rm -f conftest.
$ac_objext conftest
$ac_exeext
36592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36593 (eval $ac_link) 2>conftest.er1
36595 grep -v '^ *+' conftest.er1
>conftest.err
36597 cat conftest.err
>&5
36598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36599 (exit $ac_status); } &&
36600 { ac_try
='test -z "$ac_c_werror_flag"
36601 || test ! -s conftest.err'
36602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36603 (eval $ac_try) 2>&5
36605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606 (exit $ac_status); }; } &&
36607 { ac_try
='test -s conftest$ac_exeext'
36608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36609 (eval $ac_try) 2>&5
36611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612 (exit $ac_status); }; }; then
36613 eval wx_cv_func_
$wx_func=yes
36615 echo "$as_me: failed program was:" >&5
36616 sed 's/^/| /' conftest.
$ac_ext >&5
36618 eval wx_cv_func_
$wx_func=no
36620 rm -f conftest.err conftest.
$ac_objext \
36621 conftest
$ac_exeext conftest.
$ac_ext
36624 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36625 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36627 if eval test \
$wx_cv_func_$wx_func = yes
36629 cat >>confdefs.h
<<_ACEOF
36630 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36643 for ac_func
in inet_addr
36645 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36646 echo "$as_me:$LINENO: checking for $ac_func" >&5
36647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36648 if eval "test \"\${$as_ac_var+set}\" = set"; then
36649 echo $ECHO_N "(cached) $ECHO_C" >&6
36651 cat >conftest.
$ac_ext <<_ACEOF
36654 cat confdefs.h
>>conftest.
$ac_ext
36655 cat >>conftest.
$ac_ext <<_ACEOF
36656 /* end confdefs.h. */
36657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36659 #define $ac_func innocuous_$ac_func
36661 /* System header to define __stub macros and hopefully few prototypes,
36662 which can conflict with char $ac_func (); below.
36663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36664 <limits.h> exists even on freestanding compilers. */
36667 # include <limits.h>
36669 # include <assert.h>
36674 /* Override any gcc2 internal prototype to avoid an error. */
36679 /* We use char because int might match the return type of a gcc2
36680 builtin and then its argument prototype would still apply. */
36682 /* The GNU C library defines this for functions which it implements
36683 to always fail with ENOSYS. Some functions are actually named
36684 something starting with __ and the normal name is an alias. */
36685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36688 char (*f) () = $ac_func;
36697 return f != $ac_func;
36702 rm -f conftest.
$ac_objext conftest
$ac_exeext
36703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36704 (eval $ac_link) 2>conftest.er1
36706 grep -v '^ *+' conftest.er1
>conftest.err
36708 cat conftest.err
>&5
36709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36710 (exit $ac_status); } &&
36711 { ac_try
='test -z "$ac_c_werror_flag"
36712 || test ! -s conftest.err'
36713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36714 (eval $ac_try) 2>&5
36716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36717 (exit $ac_status); }; } &&
36718 { ac_try
='test -s conftest$ac_exeext'
36719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36720 (eval $ac_try) 2>&5
36722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36723 (exit $ac_status); }; }; then
36724 eval "$as_ac_var=yes"
36726 echo "$as_me: failed program was:" >&5
36727 sed 's/^/| /' conftest.
$ac_ext >&5
36729 eval "$as_ac_var=no"
36731 rm -f conftest.err conftest.
$ac_objext \
36732 conftest
$ac_exeext conftest.
$ac_ext
36734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36736 if test `eval echo '${'$as_ac_var'}'` = yes; then
36737 cat >>confdefs.h
<<_ACEOF
36738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36740 cat >>confdefs.h
<<\_ACEOF
36741 #define HAVE_INET_ADDR 1
36746 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36747 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36748 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36749 echo $ECHO_N "(cached) $ECHO_C" >&6
36751 ac_check_lib_save_LIBS
=$LIBS
36753 cat >conftest.
$ac_ext <<_ACEOF
36756 cat confdefs.h
>>conftest.
$ac_ext
36757 cat >>conftest.
$ac_ext <<_ACEOF
36758 /* end confdefs.h. */
36760 /* Override any gcc2 internal prototype to avoid an error. */
36764 /* We use char because int might match the return type of a gcc2
36765 builtin and then its argument prototype would still apply. */
36775 rm -f conftest.
$ac_objext conftest
$ac_exeext
36776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36777 (eval $ac_link) 2>conftest.er1
36779 grep -v '^ *+' conftest.er1
>conftest.err
36781 cat conftest.err
>&5
36782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36783 (exit $ac_status); } &&
36784 { ac_try
='test -z "$ac_c_werror_flag"
36785 || test ! -s conftest.err'
36786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36787 (eval $ac_try) 2>&5
36789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36790 (exit $ac_status); }; } &&
36791 { ac_try
='test -s conftest$ac_exeext'
36792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36793 (eval $ac_try) 2>&5
36795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36796 (exit $ac_status); }; }; then
36797 ac_cv_lib_nsl_inet_addr
=yes
36799 echo "$as_me: failed program was:" >&5
36800 sed 's/^/| /' conftest.
$ac_ext >&5
36802 ac_cv_lib_nsl_inet_addr
=no
36804 rm -f conftest.err conftest.
$ac_objext \
36805 conftest
$ac_exeext conftest.
$ac_ext
36806 LIBS
=$ac_check_lib_save_LIBS
36808 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36809 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36810 if test $ac_cv_lib_nsl_inet_addr = yes; then
36814 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36815 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36816 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36817 echo $ECHO_N "(cached) $ECHO_C" >&6
36819 ac_check_lib_save_LIBS
=$LIBS
36820 LIBS
="-lresolv $LIBS"
36821 cat >conftest.
$ac_ext <<_ACEOF
36824 cat confdefs.h
>>conftest.
$ac_ext
36825 cat >>conftest.
$ac_ext <<_ACEOF
36826 /* end confdefs.h. */
36828 /* Override any gcc2 internal prototype to avoid an error. */
36832 /* We use char because int might match the return type of a gcc2
36833 builtin and then its argument prototype would still apply. */
36843 rm -f conftest.
$ac_objext conftest
$ac_exeext
36844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36845 (eval $ac_link) 2>conftest.er1
36847 grep -v '^ *+' conftest.er1
>conftest.err
36849 cat conftest.err
>&5
36850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36851 (exit $ac_status); } &&
36852 { ac_try
='test -z "$ac_c_werror_flag"
36853 || test ! -s conftest.err'
36854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36855 (eval $ac_try) 2>&5
36857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36858 (exit $ac_status); }; } &&
36859 { ac_try
='test -s conftest$ac_exeext'
36860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36861 (eval $ac_try) 2>&5
36863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36864 (exit $ac_status); }; }; then
36865 ac_cv_lib_resolv_inet_addr
=yes
36867 echo "$as_me: failed program was:" >&5
36868 sed 's/^/| /' conftest.
$ac_ext >&5
36870 ac_cv_lib_resolv_inet_addr
=no
36872 rm -f conftest.err conftest.
$ac_objext \
36873 conftest
$ac_exeext conftest.
$ac_ext
36874 LIBS
=$ac_check_lib_save_LIBS
36876 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36877 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36878 if test $ac_cv_lib_resolv_inet_addr = yes; then
36882 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36883 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36884 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36885 echo $ECHO_N "(cached) $ECHO_C" >&6
36887 ac_check_lib_save_LIBS
=$LIBS
36888 LIBS
="-lsocket $LIBS"
36889 cat >conftest.
$ac_ext <<_ACEOF
36892 cat confdefs.h
>>conftest.
$ac_ext
36893 cat >>conftest.
$ac_ext <<_ACEOF
36894 /* end confdefs.h. */
36896 /* Override any gcc2 internal prototype to avoid an error. */
36900 /* We use char because int might match the return type of a gcc2
36901 builtin and then its argument prototype would still apply. */
36911 rm -f conftest.
$ac_objext conftest
$ac_exeext
36912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36913 (eval $ac_link) 2>conftest.er1
36915 grep -v '^ *+' conftest.er1
>conftest.err
36917 cat conftest.err
>&5
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); } &&
36920 { ac_try
='test -z "$ac_c_werror_flag"
36921 || test ! -s conftest.err'
36922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36923 (eval $ac_try) 2>&5
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); }; } &&
36927 { ac_try
='test -s conftest$ac_exeext'
36928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36929 (eval $ac_try) 2>&5
36931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36932 (exit $ac_status); }; }; then
36933 ac_cv_lib_socket_inet_addr
=yes
36935 echo "$as_me: failed program was:" >&5
36936 sed 's/^/| /' conftest.
$ac_ext >&5
36938 ac_cv_lib_socket_inet_addr
=no
36940 rm -f conftest.err conftest.
$ac_objext \
36941 conftest
$ac_exeext conftest.
$ac_ext
36942 LIBS
=$ac_check_lib_save_LIBS
36944 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36945 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36946 if test $ac_cv_lib_socket_inet_addr = yes; then
36966 for ac_func
in inet_aton
36968 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36969 echo "$as_me:$LINENO: checking for $ac_func" >&5
36970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36971 if eval "test \"\${$as_ac_var+set}\" = set"; then
36972 echo $ECHO_N "(cached) $ECHO_C" >&6
36974 cat >conftest.
$ac_ext <<_ACEOF
36977 cat confdefs.h
>>conftest.
$ac_ext
36978 cat >>conftest.
$ac_ext <<_ACEOF
36979 /* end confdefs.h. */
36980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36982 #define $ac_func innocuous_$ac_func
36984 /* System header to define __stub macros and hopefully few prototypes,
36985 which can conflict with char $ac_func (); below.
36986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36987 <limits.h> exists even on freestanding compilers. */
36990 # include <limits.h>
36992 # include <assert.h>
36997 /* Override any gcc2 internal prototype to avoid an error. */
37002 /* We use char because int might match the return type of a gcc2
37003 builtin and then its argument prototype would still apply. */
37005 /* The GNU C library defines this for functions which it implements
37006 to always fail with ENOSYS. Some functions are actually named
37007 something starting with __ and the normal name is an alias. */
37008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37011 char (*f) () = $ac_func;
37020 return f != $ac_func;
37025 rm -f conftest.
$ac_objext conftest
$ac_exeext
37026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37027 (eval $ac_link) 2>conftest.er1
37029 grep -v '^ *+' conftest.er1
>conftest.err
37031 cat conftest.err
>&5
37032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 (exit $ac_status); } &&
37034 { ac_try
='test -z "$ac_c_werror_flag"
37035 || test ! -s conftest.err'
37036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37037 (eval $ac_try) 2>&5
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); }; } &&
37041 { ac_try
='test -s conftest$ac_exeext'
37042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37043 (eval $ac_try) 2>&5
37045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37046 (exit $ac_status); }; }; then
37047 eval "$as_ac_var=yes"
37049 echo "$as_me: failed program was:" >&5
37050 sed 's/^/| /' conftest.
$ac_ext >&5
37052 eval "$as_ac_var=no"
37054 rm -f conftest.err conftest.
$ac_objext \
37055 conftest
$ac_exeext conftest.
$ac_ext
37057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37059 if test `eval echo '${'$as_ac_var'}'` = yes; then
37060 cat >>confdefs.h
<<_ACEOF
37061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37063 cat >>confdefs.h
<<\_ACEOF
37064 #define HAVE_INET_ATON 1
37069 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37070 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37071 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37072 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37073 echo $ECHO_N "(cached) $ECHO_C" >&6
37075 ac_check_lib_save_LIBS
=$LIBS
37076 LIBS
="-l$INET_LINK $LIBS"
37077 cat >conftest.
$ac_ext <<_ACEOF
37080 cat confdefs.h
>>conftest.
$ac_ext
37081 cat >>conftest.
$ac_ext <<_ACEOF
37082 /* end confdefs.h. */
37084 /* Override any gcc2 internal prototype to avoid an error. */
37088 /* We use char because int might match the return type of a gcc2
37089 builtin and then its argument prototype would still apply. */
37099 rm -f conftest.
$ac_objext conftest
$ac_exeext
37100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37101 (eval $ac_link) 2>conftest.er1
37103 grep -v '^ *+' conftest.er1
>conftest.err
37105 cat conftest.err
>&5
37106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37107 (exit $ac_status); } &&
37108 { ac_try
='test -z "$ac_c_werror_flag"
37109 || test ! -s conftest.err'
37110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37111 (eval $ac_try) 2>&5
37113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37114 (exit $ac_status); }; } &&
37115 { ac_try
='test -s conftest$ac_exeext'
37116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37117 (eval $ac_try) 2>&5
37119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37120 (exit $ac_status); }; }; then
37121 eval "$as_ac_Lib=yes"
37123 echo "$as_me: failed program was:" >&5
37124 sed 's/^/| /' conftest.
$ac_ext >&5
37126 eval "$as_ac_Lib=no"
37128 rm -f conftest.err conftest.
$ac_objext \
37129 conftest
$ac_exeext conftest.
$ac_ext
37130 LIBS
=$ac_check_lib_save_LIBS
37132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37133 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37134 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37135 cat >>confdefs.h
<<\_ACEOF
37136 #define HAVE_INET_ATON 1
37146 if test "x$INET_LINK" != "x"; then
37147 cat >>confdefs.h
<<\_ACEOF
37148 #define HAVE_INET_ADDR 1
37151 INET_LINK
=" -l$INET_LINK"
37155 for wx_func
in fdopen
37157 echo "$as_me:$LINENO: checking for $wx_func" >&5
37158 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37159 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37160 echo $ECHO_N "(cached) $ECHO_C" >&6
37163 cat >conftest.
$ac_ext <<_ACEOF
37167 cat confdefs.h
>>conftest.
$ac_ext
37168 cat >>conftest.
$ac_ext <<_ACEOF
37169 /* end confdefs.h. */
37172 $ac_includes_default
37188 rm -f conftest.
$ac_objext conftest
$ac_exeext
37189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37190 (eval $ac_link) 2>conftest.er1
37192 grep -v '^ *+' conftest.er1
>conftest.err
37194 cat conftest.err
>&5
37195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37196 (exit $ac_status); } &&
37197 { ac_try
='test -z "$ac_c_werror_flag"
37198 || test ! -s conftest.err'
37199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37200 (eval $ac_try) 2>&5
37202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37203 (exit $ac_status); }; } &&
37204 { ac_try
='test -s conftest$ac_exeext'
37205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37206 (eval $ac_try) 2>&5
37208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37209 (exit $ac_status); }; }; then
37210 eval wx_cv_func_
$wx_func=yes
37212 echo "$as_me: failed program was:" >&5
37213 sed 's/^/| /' conftest.
$ac_ext >&5
37215 eval wx_cv_func_
$wx_func=no
37217 rm -f conftest.err conftest.
$ac_objext \
37218 conftest
$ac_exeext conftest.
$ac_ext
37221 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37222 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37224 if eval test \
$wx_cv_func_$wx_func = yes
37226 cat >>confdefs.h
<<_ACEOF
37227 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37242 cat >confcache
<<\_ACEOF
37243 # This file is a shell script that caches the results of configure
37244 # tests run on this system so they can be shared between configure
37245 # scripts and configure runs, see configure's option --config-cache.
37246 # It is not useful on other systems. If it contains results you don't
37247 # want to keep, you may remove or edit it.
37249 # config.status only pays attention to the cache file if you give it
37250 # the --recheck option to rerun configure.
37252 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37253 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37254 # following values.
37258 # The following way of writing the cache mishandles newlines in values,
37259 # but we know of no workaround that is simple, portable, and efficient.
37260 # So, don't put newlines in cache variables' values.
37261 # Ultrix sh set writes to stderr and can't be redirected directly,
37262 # and sets the high bit in the cache file unless we assign to the vars.
37265 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37267 # `set' does not quote correctly, so add quotes (double-quote
37268 # substitution turns \\\\ into \\, and sed turns \\ into \).
37271 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37274 # `set' quotes correctly as required by POSIX, so do not add quotes.
37276 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37283 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37285 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37287 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
37288 if test -w $cache_file; then
37289 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37290 cat confcache
>$cache_file
37292 echo "not updating unwritable cache $cache_file"
37298 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37304 if test "$wxUSE_THREADS" = "yes" ; then
37305 if test "$USE_BEOS" = 1; then
37306 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37307 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37312 if test "$wxUSE_THREADS" = "yes" ; then
37315 THREAD_OPTS
="-pthread"
37317 *-*-solaris2* | *-*-sunos4* )
37318 if test "x$GCC" = "xyes"; then
37319 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37321 THREAD_OPTS
="-mt $THREAD_OPTS"
37325 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37327 *-*-darwin* | *-*-cygwin* )
37331 THREAD_OPTS
="pthreads"
37334 if test "x$GCC" = "xyes"; then
37335 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37343 if test "x$GCC" = "xyes"; then
37349 if test "x$GCC" != "xyes"; then
37350 THREAD_OPTS
="-Ethread"
37355 THREAD_OPTS
="$THREAD_OPTS pthread none"
37358 for flag
in $THREAD_OPTS; do
37361 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37362 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37366 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37367 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37368 THREADS_CFLAGS
="$flag"
37372 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37373 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37374 THREADS_LINK
="-l$flag"
37379 save_CFLAGS
="$CFLAGS"
37380 LIBS
="$THREADS_LINK $LIBS"
37381 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
37383 cat >conftest.
$ac_ext <<_ACEOF
37386 cat confdefs.h
>>conftest.
$ac_ext
37387 cat >>conftest.
$ac_ext <<_ACEOF
37388 /* end confdefs.h. */
37389 #include <pthread.h>
37393 pthread_create(0,0,0,0);
37398 rm -f conftest.
$ac_objext conftest
$ac_exeext
37399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37400 (eval $ac_link) 2>conftest.er1
37402 grep -v '^ *+' conftest.er1
>conftest.err
37404 cat conftest.err
>&5
37405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37406 (exit $ac_status); } &&
37407 { ac_try
='test -z "$ac_c_werror_flag"
37408 || test ! -s conftest.err'
37409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37410 (eval $ac_try) 2>&5
37412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37413 (exit $ac_status); }; } &&
37414 { ac_try
='test -s conftest$ac_exeext'
37415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37416 (eval $ac_try) 2>&5
37418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37419 (exit $ac_status); }; }; then
37422 echo "$as_me: failed program was:" >&5
37423 sed 's/^/| /' conftest.
$ac_ext >&5
37426 rm -f conftest.err conftest.
$ac_objext \
37427 conftest
$ac_exeext conftest.
$ac_ext
37430 CFLAGS
="$save_CFLAGS"
37432 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37433 echo "${ECHO_T}$THREADS_OK" >&6
37434 if test "x$THREADS_OK" = "xyes"; then
37442 if test "x$THREADS_OK" != "xyes"; then
37444 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37445 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37447 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
37448 LIBS
="$THREADS_LINK $LIBS"
37450 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37451 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37455 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37456 flag
="-D_THREAD_SAFE"
37459 flag
="-D_THREAD_SAFE"
37462 flag
="-D_REENTRANT"
37463 if test "x$GCC" != "xyes"; then
37464 flag
="$flag -D_RWSTD_MULTI_THREAD"
37467 *solaris
* | alpha
*-osf*)
37468 flag
="-D_REENTRANT"
37471 echo "$as_me:$LINENO: result: ${flag}" >&5
37472 echo "${ECHO_T}${flag}" >&6
37473 if test "x$flag" != xno
; then
37474 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
37477 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37481 if test "$wxUSE_THREADS" = "yes" ; then
37483 for ac_func
in thr_setconcurrency
37485 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37486 echo "$as_me:$LINENO: checking for $ac_func" >&5
37487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37488 if eval "test \"\${$as_ac_var+set}\" = set"; then
37489 echo $ECHO_N "(cached) $ECHO_C" >&6
37491 cat >conftest.
$ac_ext <<_ACEOF
37494 cat confdefs.h
>>conftest.
$ac_ext
37495 cat >>conftest.
$ac_ext <<_ACEOF
37496 /* end confdefs.h. */
37497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37499 #define $ac_func innocuous_$ac_func
37501 /* System header to define __stub macros and hopefully few prototypes,
37502 which can conflict with char $ac_func (); below.
37503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37504 <limits.h> exists even on freestanding compilers. */
37507 # include <limits.h>
37509 # include <assert.h>
37514 /* Override any gcc2 internal prototype to avoid an error. */
37519 /* We use char because int might match the return type of a gcc2
37520 builtin and then its argument prototype would still apply. */
37522 /* The GNU C library defines this for functions which it implements
37523 to always fail with ENOSYS. Some functions are actually named
37524 something starting with __ and the normal name is an alias. */
37525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37528 char (*f) () = $ac_func;
37537 return f != $ac_func;
37542 rm -f conftest.
$ac_objext conftest
$ac_exeext
37543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37544 (eval $ac_link) 2>conftest.er1
37546 grep -v '^ *+' conftest.er1
>conftest.err
37548 cat conftest.err
>&5
37549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37550 (exit $ac_status); } &&
37551 { ac_try
='test -z "$ac_c_werror_flag"
37552 || test ! -s conftest.err'
37553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37554 (eval $ac_try) 2>&5
37556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37557 (exit $ac_status); }; } &&
37558 { ac_try
='test -s conftest$ac_exeext'
37559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37560 (eval $ac_try) 2>&5
37562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37563 (exit $ac_status); }; }; then
37564 eval "$as_ac_var=yes"
37566 echo "$as_me: failed program was:" >&5
37567 sed 's/^/| /' conftest.
$ac_ext >&5
37569 eval "$as_ac_var=no"
37571 rm -f conftest.err conftest.
$ac_objext \
37572 conftest
$ac_exeext conftest.
$ac_ext
37574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37576 if test `eval echo '${'$as_ac_var'}'` = yes; then
37577 cat >>confdefs.h
<<_ACEOF
37578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37585 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37586 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37587 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37588 echo $ECHO_N "(cached) $ECHO_C" >&6
37591 cat >conftest.
$ac_ext <<_ACEOF
37594 cat confdefs.h
>>conftest.
$ac_ext
37595 cat >>conftest.
$ac_ext <<_ACEOF
37596 /* end confdefs.h. */
37597 #include <pthread.h>
37598 void ThreadCleanupFunc(void *p);
37605 pthread_cleanup_push(ThreadCleanupFunc, p);
37606 pthread_cleanup_pop(0);
37612 rm -f conftest.
$ac_objext
37613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37614 (eval $ac_compile) 2>conftest.er1
37616 grep -v '^ *+' conftest.er1
>conftest.err
37618 cat conftest.err
>&5
37619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37620 (exit $ac_status); } &&
37621 { ac_try
='test -z "$ac_c_werror_flag"
37622 || 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_objext'
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
37635 wx_cv_func_pthread_cleanup
=yes
37638 echo "$as_me: failed program was:" >&5
37639 sed 's/^/| /' conftest.
$ac_ext >&5
37642 wx_cv_func_pthread_cleanup
=no
37646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37649 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37650 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37651 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37652 cat >>confdefs.h
<<\_ACEOF
37653 #define wxHAVE_PTHREAD_CLEANUP 1
37658 echo "$as_me:$LINENO: checking for sched.h" >&5
37659 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6
37660 if test "${ac_cv_header_sched_h+set}" = set; then
37661 echo $ECHO_N "(cached) $ECHO_C" >&6
37663 cat >conftest.
$ac_ext <<_ACEOF
37666 cat confdefs.h
>>conftest.
$ac_ext
37667 cat >>conftest.
$ac_ext <<_ACEOF
37668 /* end confdefs.h. */
37669 $ac_includes_default
37673 rm -f conftest.
$ac_objext
37674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37675 (eval $ac_compile) 2>conftest.er1
37677 grep -v '^ *+' conftest.er1
>conftest.err
37679 cat conftest.err
>&5
37680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37681 (exit $ac_status); } &&
37682 { ac_try
='test -z "$ac_c_werror_flag"
37683 || test ! -s conftest.err'
37684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37685 (eval $ac_try) 2>&5
37687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37688 (exit $ac_status); }; } &&
37689 { ac_try
='test -s conftest.$ac_objext'
37690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37691 (eval $ac_try) 2>&5
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); }; }; then
37695 ac_cv_header_sched_h
=yes
37697 echo "$as_me: failed program was:" >&5
37698 sed 's/^/| /' conftest.
$ac_ext >&5
37700 ac_cv_header_sched_h
=no
37702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37704 echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
37705 echo "${ECHO_T}$ac_cv_header_sched_h" >&6
37708 if test "$ac_cv_header_sched_h" = "yes"; then
37709 echo "$as_me:$LINENO: checking for sched_yield" >&5
37710 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37711 if test "${ac_cv_func_sched_yield+set}" = set; then
37712 echo $ECHO_N "(cached) $ECHO_C" >&6
37714 cat >conftest.
$ac_ext <<_ACEOF
37717 cat confdefs.h
>>conftest.
$ac_ext
37718 cat >>conftest.
$ac_ext <<_ACEOF
37719 /* end confdefs.h. */
37720 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37722 #define sched_yield innocuous_sched_yield
37724 /* System header to define __stub macros and hopefully few prototypes,
37725 which can conflict with char sched_yield (); below.
37726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37727 <limits.h> exists even on freestanding compilers. */
37730 # include <limits.h>
37732 # include <assert.h>
37737 /* Override any gcc2 internal prototype to avoid an error. */
37742 /* We use char because int might match the return type of a gcc2
37743 builtin and then its argument prototype would still apply. */
37744 char sched_yield ();
37745 /* The GNU C library defines this for functions which it implements
37746 to always fail with ENOSYS. Some functions are actually named
37747 something starting with __ and the normal name is an alias. */
37748 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37751 char (*f) () = sched_yield;
37760 return f != sched_yield;
37765 rm -f conftest.
$ac_objext conftest
$ac_exeext
37766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37767 (eval $ac_link) 2>conftest.er1
37769 grep -v '^ *+' conftest.er1
>conftest.err
37771 cat conftest.err
>&5
37772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); } &&
37774 { ac_try
='test -z "$ac_c_werror_flag"
37775 || test ! -s conftest.err'
37776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37777 (eval $ac_try) 2>&5
37779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37780 (exit $ac_status); }; } &&
37781 { ac_try
='test -s conftest$ac_exeext'
37782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37783 (eval $ac_try) 2>&5
37785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37786 (exit $ac_status); }; }; then
37787 ac_cv_func_sched_yield
=yes
37789 echo "$as_me: failed program was:" >&5
37790 sed 's/^/| /' conftest.
$ac_ext >&5
37792 ac_cv_func_sched_yield
=no
37794 rm -f conftest.err conftest.
$ac_objext \
37795 conftest
$ac_exeext conftest.
$ac_ext
37797 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37798 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37799 if test $ac_cv_func_sched_yield = yes; then
37800 cat >>confdefs.h
<<\_ACEOF
37801 #define HAVE_SCHED_YIELD 1
37806 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37807 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37808 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37809 echo $ECHO_N "(cached) $ECHO_C" >&6
37811 ac_check_lib_save_LIBS
=$LIBS
37812 LIBS
="-lposix4 $LIBS"
37813 cat >conftest.
$ac_ext <<_ACEOF
37816 cat confdefs.h
>>conftest.
$ac_ext
37817 cat >>conftest.
$ac_ext <<_ACEOF
37818 /* end confdefs.h. */
37820 /* Override any gcc2 internal prototype to avoid an error. */
37824 /* We use char because int might match the return type of a gcc2
37825 builtin and then its argument prototype would still apply. */
37826 char sched_yield ();
37835 rm -f conftest.
$ac_objext conftest
$ac_exeext
37836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37837 (eval $ac_link) 2>conftest.er1
37839 grep -v '^ *+' conftest.er1
>conftest.err
37841 cat conftest.err
>&5
37842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37843 (exit $ac_status); } &&
37844 { ac_try
='test -z "$ac_c_werror_flag"
37845 || test ! -s conftest.err'
37846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37847 (eval $ac_try) 2>&5
37849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37850 (exit $ac_status); }; } &&
37851 { ac_try
='test -s conftest$ac_exeext'
37852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37853 (eval $ac_try) 2>&5
37855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37856 (exit $ac_status); }; }; then
37857 ac_cv_lib_posix4_sched_yield
=yes
37859 echo "$as_me: failed program was:" >&5
37860 sed 's/^/| /' conftest.
$ac_ext >&5
37862 ac_cv_lib_posix4_sched_yield
=no
37864 rm -f conftest.err conftest.
$ac_objext \
37865 conftest
$ac_exeext conftest.
$ac_ext
37866 LIBS
=$ac_check_lib_save_LIBS
37868 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37869 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37870 if test $ac_cv_lib_posix4_sched_yield = yes; then
37871 cat >>confdefs.h
<<\_ACEOF
37872 #define HAVE_SCHED_YIELD 1
37874 POSIX4_LINK
=" -lposix4"
37876 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37877 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37888 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37889 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37890 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37891 echo $ECHO_N "(cached) $ECHO_C" >&6
37893 cat >conftest.
$ac_ext <<_ACEOF
37896 cat confdefs.h
>>conftest.
$ac_ext
37897 cat >>conftest.
$ac_ext <<_ACEOF
37898 /* end confdefs.h. */
37899 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37901 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37903 /* System header to define __stub macros and hopefully few prototypes,
37904 which can conflict with char pthread_attr_getschedpolicy (); below.
37905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37906 <limits.h> exists even on freestanding compilers. */
37909 # include <limits.h>
37911 # include <assert.h>
37914 #undef pthread_attr_getschedpolicy
37916 /* Override any gcc2 internal prototype to avoid an error. */
37921 /* We use char because int might match the return type of a gcc2
37922 builtin and then its argument prototype would still apply. */
37923 char pthread_attr_getschedpolicy ();
37924 /* The GNU C library defines this for functions which it implements
37925 to always fail with ENOSYS. Some functions are actually named
37926 something starting with __ and the normal name is an alias. */
37927 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37930 char (*f) () = pthread_attr_getschedpolicy;
37939 return f != pthread_attr_getschedpolicy;
37944 rm -f conftest.
$ac_objext conftest
$ac_exeext
37945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37946 (eval $ac_link) 2>conftest.er1
37948 grep -v '^ *+' conftest.er1
>conftest.err
37950 cat conftest.err
>&5
37951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37952 (exit $ac_status); } &&
37953 { ac_try
='test -z "$ac_c_werror_flag"
37954 || test ! -s conftest.err'
37955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37956 (eval $ac_try) 2>&5
37958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37959 (exit $ac_status); }; } &&
37960 { ac_try
='test -s conftest$ac_exeext'
37961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37962 (eval $ac_try) 2>&5
37964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37965 (exit $ac_status); }; }; then
37966 ac_cv_func_pthread_attr_getschedpolicy
=yes
37968 echo "$as_me: failed program was:" >&5
37969 sed 's/^/| /' conftest.
$ac_ext >&5
37971 ac_cv_func_pthread_attr_getschedpolicy
=no
37973 rm -f conftest.err conftest.
$ac_objext \
37974 conftest
$ac_exeext conftest.
$ac_ext
37976 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37977 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37978 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37979 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37980 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37981 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37982 echo $ECHO_N "(cached) $ECHO_C" >&6
37984 cat >conftest.
$ac_ext <<_ACEOF
37987 cat confdefs.h
>>conftest.
$ac_ext
37988 cat >>conftest.
$ac_ext <<_ACEOF
37989 /* end confdefs.h. */
37990 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37992 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37994 /* System header to define __stub macros and hopefully few prototypes,
37995 which can conflict with char pthread_attr_setschedparam (); below.
37996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37997 <limits.h> exists even on freestanding compilers. */
38000 # include <limits.h>
38002 # include <assert.h>
38005 #undef pthread_attr_setschedparam
38007 /* Override any gcc2 internal prototype to avoid an error. */
38012 /* We use char because int might match the return type of a gcc2
38013 builtin and then its argument prototype would still apply. */
38014 char pthread_attr_setschedparam ();
38015 /* The GNU C library defines this for functions which it implements
38016 to always fail with ENOSYS. Some functions are actually named
38017 something starting with __ and the normal name is an alias. */
38018 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38021 char (*f) () = pthread_attr_setschedparam;
38030 return f != pthread_attr_setschedparam;
38035 rm -f conftest.
$ac_objext conftest
$ac_exeext
38036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38037 (eval $ac_link) 2>conftest.er1
38039 grep -v '^ *+' conftest.er1
>conftest.err
38041 cat conftest.err
>&5
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); } &&
38044 { ac_try
='test -z "$ac_c_werror_flag"
38045 || test ! -s conftest.err'
38046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38047 (eval $ac_try) 2>&5
38049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38050 (exit $ac_status); }; } &&
38051 { ac_try
='test -s conftest$ac_exeext'
38052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38053 (eval $ac_try) 2>&5
38055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38056 (exit $ac_status); }; }; then
38057 ac_cv_func_pthread_attr_setschedparam
=yes
38059 echo "$as_me: failed program was:" >&5
38060 sed 's/^/| /' conftest.
$ac_ext >&5
38062 ac_cv_func_pthread_attr_setschedparam
=no
38064 rm -f conftest.err conftest.
$ac_objext \
38065 conftest
$ac_exeext conftest.
$ac_ext
38067 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38068 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38069 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38070 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38071 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38072 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38073 echo $ECHO_N "(cached) $ECHO_C" >&6
38075 cat >conftest.
$ac_ext <<_ACEOF
38078 cat confdefs.h
>>conftest.
$ac_ext
38079 cat >>conftest.
$ac_ext <<_ACEOF
38080 /* end confdefs.h. */
38081 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38083 #define sched_get_priority_max innocuous_sched_get_priority_max
38085 /* System header to define __stub macros and hopefully few prototypes,
38086 which can conflict with char sched_get_priority_max (); below.
38087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38088 <limits.h> exists even on freestanding compilers. */
38091 # include <limits.h>
38093 # include <assert.h>
38096 #undef sched_get_priority_max
38098 /* Override any gcc2 internal prototype to avoid an error. */
38103 /* We use char because int might match the return type of a gcc2
38104 builtin and then its argument prototype would still apply. */
38105 char sched_get_priority_max ();
38106 /* The GNU C library defines this for functions which it implements
38107 to always fail with ENOSYS. Some functions are actually named
38108 something starting with __ and the normal name is an alias. */
38109 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38112 char (*f) () = sched_get_priority_max;
38121 return f != sched_get_priority_max;
38126 rm -f conftest.
$ac_objext conftest
$ac_exeext
38127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38128 (eval $ac_link) 2>conftest.er1
38130 grep -v '^ *+' conftest.er1
>conftest.err
38132 cat conftest.err
>&5
38133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38134 (exit $ac_status); } &&
38135 { ac_try
='test -z "$ac_c_werror_flag"
38136 || test ! -s conftest.err'
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); }; } &&
38142 { ac_try
='test -s conftest$ac_exeext'
38143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38144 (eval $ac_try) 2>&5
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); }; }; then
38148 ac_cv_func_sched_get_priority_max
=yes
38150 echo "$as_me: failed program was:" >&5
38151 sed 's/^/| /' conftest.
$ac_ext >&5
38153 ac_cv_func_sched_get_priority_max
=no
38155 rm -f conftest.err conftest.
$ac_objext \
38156 conftest
$ac_exeext conftest.
$ac_ext
38158 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38159 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38160 if test $ac_cv_func_sched_get_priority_max = yes; then
38163 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38164 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38165 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38166 echo $ECHO_N "(cached) $ECHO_C" >&6
38168 ac_check_lib_save_LIBS
=$LIBS
38169 LIBS
="-lposix4 $LIBS"
38170 cat >conftest.
$ac_ext <<_ACEOF
38173 cat confdefs.h
>>conftest.
$ac_ext
38174 cat >>conftest.
$ac_ext <<_ACEOF
38175 /* end confdefs.h. */
38177 /* Override any gcc2 internal prototype to avoid an error. */
38181 /* We use char because int might match the return type of a gcc2
38182 builtin and then its argument prototype would still apply. */
38183 char sched_get_priority_max ();
38187 sched_get_priority_max ();
38192 rm -f conftest.
$ac_objext conftest
$ac_exeext
38193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38194 (eval $ac_link) 2>conftest.er1
38196 grep -v '^ *+' conftest.er1
>conftest.err
38198 cat conftest.err
>&5
38199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38200 (exit $ac_status); } &&
38201 { ac_try
='test -z "$ac_c_werror_flag"
38202 || test ! -s conftest.err'
38203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38204 (eval $ac_try) 2>&5
38206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38207 (exit $ac_status); }; } &&
38208 { ac_try
='test -s conftest$ac_exeext'
38209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38210 (eval $ac_try) 2>&5
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); }; }; then
38214 ac_cv_lib_posix4_sched_get_priority_max
=yes
38216 echo "$as_me: failed program was:" >&5
38217 sed 's/^/| /' conftest.
$ac_ext >&5
38219 ac_cv_lib_posix4_sched_get_priority_max
=no
38221 rm -f conftest.err conftest.
$ac_objext \
38222 conftest
$ac_exeext conftest.
$ac_ext
38223 LIBS
=$ac_check_lib_save_LIBS
38225 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38226 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38227 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38230 POSIX4_LINK
=" -lposix4"
38244 if test "$HAVE_PRIOR_FUNCS" = 1; then
38245 cat >>confdefs.h
<<\_ACEOF
38246 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38250 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38251 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38254 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38255 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38256 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38257 echo $ECHO_N "(cached) $ECHO_C" >&6
38259 cat >conftest.
$ac_ext <<_ACEOF
38262 cat confdefs.h
>>conftest.
$ac_ext
38263 cat >>conftest.
$ac_ext <<_ACEOF
38264 /* end confdefs.h. */
38265 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38267 #define pthread_cancel innocuous_pthread_cancel
38269 /* System header to define __stub macros and hopefully few prototypes,
38270 which can conflict with char pthread_cancel (); below.
38271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38272 <limits.h> exists even on freestanding compilers. */
38275 # include <limits.h>
38277 # include <assert.h>
38280 #undef pthread_cancel
38282 /* Override any gcc2 internal prototype to avoid an error. */
38287 /* We use char because int might match the return type of a gcc2
38288 builtin and then its argument prototype would still apply. */
38289 char pthread_cancel ();
38290 /* The GNU C library defines this for functions which it implements
38291 to always fail with ENOSYS. Some functions are actually named
38292 something starting with __ and the normal name is an alias. */
38293 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38296 char (*f) () = pthread_cancel;
38305 return f != pthread_cancel;
38310 rm -f conftest.
$ac_objext conftest
$ac_exeext
38311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38312 (eval $ac_link) 2>conftest.er1
38314 grep -v '^ *+' conftest.er1
>conftest.err
38316 cat conftest.err
>&5
38317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38318 (exit $ac_status); } &&
38319 { ac_try
='test -z "$ac_c_werror_flag"
38320 || test ! -s conftest.err'
38321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38322 (eval $ac_try) 2>&5
38324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38325 (exit $ac_status); }; } &&
38326 { ac_try
='test -s conftest$ac_exeext'
38327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38328 (eval $ac_try) 2>&5
38330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38331 (exit $ac_status); }; }; then
38332 ac_cv_func_pthread_cancel
=yes
38334 echo "$as_me: failed program was:" >&5
38335 sed 's/^/| /' conftest.
$ac_ext >&5
38337 ac_cv_func_pthread_cancel
=no
38339 rm -f conftest.err conftest.
$ac_objext \
38340 conftest
$ac_exeext conftest.
$ac_ext
38342 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38343 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38344 if test $ac_cv_func_pthread_cancel = yes; then
38345 cat >>confdefs.h
<<\_ACEOF
38346 #define HAVE_PTHREAD_CANCEL 1
38350 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38351 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38355 echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38356 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6
38357 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38358 echo $ECHO_N "(cached) $ECHO_C" >&6
38360 cat >conftest.
$ac_ext <<_ACEOF
38363 cat confdefs.h
>>conftest.
$ac_ext
38364 cat >>conftest.
$ac_ext <<_ACEOF
38365 /* end confdefs.h. */
38366 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38368 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38370 /* System header to define __stub macros and hopefully few prototypes,
38371 which can conflict with char pthread_mutex_timedlock (); below.
38372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38373 <limits.h> exists even on freestanding compilers. */
38376 # include <limits.h>
38378 # include <assert.h>
38381 #undef pthread_mutex_timedlock
38383 /* Override any gcc2 internal prototype to avoid an error. */
38388 /* We use char because int might match the return type of a gcc2
38389 builtin and then its argument prototype would still apply. */
38390 char pthread_mutex_timedlock ();
38391 /* The GNU C library defines this for functions which it implements
38392 to always fail with ENOSYS. Some functions are actually named
38393 something starting with __ and the normal name is an alias. */
38394 #if defined (__stub_pthread_mutex_timedlock) || defined (__stub___pthread_mutex_timedlock)
38397 char (*f) () = pthread_mutex_timedlock;
38406 return f != pthread_mutex_timedlock;
38411 rm -f conftest.
$ac_objext conftest
$ac_exeext
38412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38413 (eval $ac_link) 2>conftest.er1
38415 grep -v '^ *+' conftest.er1
>conftest.err
38417 cat conftest.err
>&5
38418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38419 (exit $ac_status); } &&
38420 { ac_try
='test -z "$ac_c_werror_flag"
38421 || test ! -s conftest.err'
38422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38423 (eval $ac_try) 2>&5
38425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38426 (exit $ac_status); }; } &&
38427 { ac_try
='test -s conftest$ac_exeext'
38428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38429 (eval $ac_try) 2>&5
38431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38432 (exit $ac_status); }; }; then
38433 ac_cv_func_pthread_mutex_timedlock
=yes
38435 echo "$as_me: failed program was:" >&5
38436 sed 's/^/| /' conftest.
$ac_ext >&5
38438 ac_cv_func_pthread_mutex_timedlock
=no
38440 rm -f conftest.err conftest.
$ac_objext \
38441 conftest
$ac_exeext conftest.
$ac_ext
38443 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38444 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6
38445 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38446 cat >>confdefs.h
<<\_ACEOF
38447 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38451 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38452 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38456 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38457 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38458 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38459 echo $ECHO_N "(cached) $ECHO_C" >&6
38461 cat >conftest.
$ac_ext <<_ACEOF
38464 cat confdefs.h
>>conftest.
$ac_ext
38465 cat >>conftest.
$ac_ext <<_ACEOF
38466 /* end confdefs.h. */
38467 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38469 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38471 /* System header to define __stub macros and hopefully few prototypes,
38472 which can conflict with char pthread_attr_setstacksize (); below.
38473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38474 <limits.h> exists even on freestanding compilers. */
38477 # include <limits.h>
38479 # include <assert.h>
38482 #undef pthread_attr_setstacksize
38484 /* Override any gcc2 internal prototype to avoid an error. */
38489 /* We use char because int might match the return type of a gcc2
38490 builtin and then its argument prototype would still apply. */
38491 char pthread_attr_setstacksize ();
38492 /* The GNU C library defines this for functions which it implements
38493 to always fail with ENOSYS. Some functions are actually named
38494 something starting with __ and the normal name is an alias. */
38495 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38498 char (*f) () = pthread_attr_setstacksize;
38507 return f != pthread_attr_setstacksize;
38512 rm -f conftest.
$ac_objext conftest
$ac_exeext
38513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38514 (eval $ac_link) 2>conftest.er1
38516 grep -v '^ *+' conftest.er1
>conftest.err
38518 cat conftest.err
>&5
38519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38520 (exit $ac_status); } &&
38521 { ac_try
='test -z "$ac_c_werror_flag"
38522 || test ! -s conftest.err'
38523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38524 (eval $ac_try) 2>&5
38526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38527 (exit $ac_status); }; } &&
38528 { ac_try
='test -s conftest$ac_exeext'
38529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38530 (eval $ac_try) 2>&5
38532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533 (exit $ac_status); }; }; then
38534 ac_cv_func_pthread_attr_setstacksize
=yes
38536 echo "$as_me: failed program was:" >&5
38537 sed 's/^/| /' conftest.
$ac_ext >&5
38539 ac_cv_func_pthread_attr_setstacksize
=no
38541 rm -f conftest.err conftest.
$ac_objext \
38542 conftest
$ac_exeext conftest.
$ac_ext
38544 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38545 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38546 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38547 cat >>confdefs.h
<<\_ACEOF
38548 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38555 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38556 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38557 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38558 echo $ECHO_N "(cached) $ECHO_C" >&6
38561 cat >conftest.
$ac_ext <<_ACEOF
38564 cat confdefs.h
>>conftest.
$ac_ext
38565 cat >>conftest.
$ac_ext <<_ACEOF
38566 /* end confdefs.h. */
38567 #include <pthread.h>
38572 pthread_mutexattr_t attr;
38573 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38579 rm -f conftest.
$ac_objext
38580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38581 (eval $ac_compile) 2>conftest.er1
38583 grep -v '^ *+' conftest.er1
>conftest.err
38585 cat conftest.err
>&5
38586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38587 (exit $ac_status); } &&
38588 { ac_try
='test -z "$ac_c_werror_flag"
38589 || test ! -s conftest.err'
38590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38591 (eval $ac_try) 2>&5
38593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38594 (exit $ac_status); }; } &&
38595 { ac_try
='test -s conftest.$ac_objext'
38596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38597 (eval $ac_try) 2>&5
38599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38600 (exit $ac_status); }; }; then
38601 wx_cv_type_pthread_mutexattr_t
=yes
38603 echo "$as_me: failed program was:" >&5
38604 sed 's/^/| /' conftest.
$ac_ext >&5
38606 wx_cv_type_pthread_mutexattr_t
=no
38609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38612 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38613 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38615 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38616 cat >>confdefs.h
<<\_ACEOF
38617 #define HAVE_PTHREAD_MUTEXATTR_T 1
38621 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38622 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38623 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38624 echo $ECHO_N "(cached) $ECHO_C" >&6
38627 cat >conftest.
$ac_ext <<_ACEOF
38630 cat confdefs.h
>>conftest.
$ac_ext
38631 cat >>conftest.
$ac_ext <<_ACEOF
38632 /* end confdefs.h. */
38633 #include <pthread.h>
38638 pthread_mutexattr_t attr;
38639 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38645 rm -f conftest.
$ac_objext
38646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38647 (eval $ac_compile) 2>conftest.er1
38649 grep -v '^ *+' conftest.er1
>conftest.err
38651 cat conftest.err
>&5
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); } &&
38654 { ac_try
='test -z "$ac_c_werror_flag"
38655 || test ! -s conftest.err'
38656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38657 (eval $ac_try) 2>&5
38659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38660 (exit $ac_status); }; } &&
38661 { ac_try
='test -s conftest.$ac_objext'
38662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38663 (eval $ac_try) 2>&5
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); }; }; then
38667 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38669 echo "$as_me: failed program was:" >&5
38670 sed 's/^/| /' conftest.
$ac_ext >&5
38672 wx_cv_func_pthread_mutexattr_settype_decl
=no
38675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38678 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38679 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38680 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38681 cat >>confdefs.h
<<\_ACEOF
38682 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38687 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38688 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38689 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38690 echo $ECHO_N "(cached) $ECHO_C" >&6
38693 cat >conftest.
$ac_ext <<_ACEOF
38696 cat confdefs.h
>>conftest.
$ac_ext
38697 cat >>conftest.
$ac_ext <<_ACEOF
38698 /* end confdefs.h. */
38699 #include <pthread.h>
38704 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38710 rm -f conftest.
$ac_objext
38711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38712 (eval $ac_compile) 2>conftest.er1
38714 grep -v '^ *+' conftest.er1
>conftest.err
38716 cat conftest.err
>&5
38717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38718 (exit $ac_status); } &&
38719 { ac_try
='test -z "$ac_c_werror_flag"
38720 || test ! -s conftest.err'
38721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38722 (eval $ac_try) 2>&5
38724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38725 (exit $ac_status); }; } &&
38726 { ac_try
='test -s conftest.$ac_objext'
38727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38728 (eval $ac_try) 2>&5
38730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38731 (exit $ac_status); }; }; then
38733 wx_cv_type_pthread_rec_mutex_init
=yes
38736 echo "$as_me: failed program was:" >&5
38737 sed 's/^/| /' conftest.
$ac_ext >&5
38740 wx_cv_type_pthread_rec_mutex_init
=no
38744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38747 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38748 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38749 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38750 cat >>confdefs.h
<<\_ACEOF
38751 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38755 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38756 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38762 if test "$wxUSE_THREADS" = "yes" ; then
38765 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38766 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38767 if test "${wx_cv_cflags_mthread+set}" = set; then
38768 echo $ECHO_N "(cached) $ECHO_C" >&6
38771 CFLAGS_OLD
="$CFLAGS"
38772 CFLAGS
="-mthreads $CFLAGS"
38773 cat >conftest.
$ac_ext <<_ACEOF
38776 cat confdefs.h
>>conftest.
$ac_ext
38777 cat >>conftest.
$ac_ext <<_ACEOF
38778 /* end confdefs.h. */
38788 rm -f conftest.
$ac_objext
38789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38790 (eval $ac_compile) 2>conftest.er1
38792 grep -v '^ *+' conftest.er1
>conftest.err
38794 cat conftest.err
>&5
38795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38796 (exit $ac_status); } &&
38797 { ac_try
='test -z "$ac_c_werror_flag"
38798 || test ! -s conftest.err'
38799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38800 (eval $ac_try) 2>&5
38802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38803 (exit $ac_status); }; } &&
38804 { ac_try
='test -s conftest.$ac_objext'
38805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38806 (eval $ac_try) 2>&5
38808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38809 (exit $ac_status); }; }; then
38810 wx_cv_cflags_mthread
=yes
38812 echo "$as_me: failed program was:" >&5
38813 sed 's/^/| /' conftest.
$ac_ext >&5
38815 wx_cv_cflags_mthread
=no
38818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38822 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38823 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38825 if test "$wx_cv_cflags_mthread" = "yes"; then
38826 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
38827 LDFLAGS
="$LDFLAGS -mthreads"
38829 CFLAGS
="$CFLAGS_OLD"
38833 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38834 LDFLAGS
="$LDFLAGS -Zmt"
38840 echo "$as_me:$LINENO: checking for localtime_r" >&5
38841 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38842 if test "${ac_cv_func_localtime_r+set}" = set; then
38843 echo $ECHO_N "(cached) $ECHO_C" >&6
38845 cat >conftest.
$ac_ext <<_ACEOF
38848 cat confdefs.h
>>conftest.
$ac_ext
38849 cat >>conftest.
$ac_ext <<_ACEOF
38850 /* end confdefs.h. */
38851 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38853 #define localtime_r innocuous_localtime_r
38855 /* System header to define __stub macros and hopefully few prototypes,
38856 which can conflict with char localtime_r (); below.
38857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38858 <limits.h> exists even on freestanding compilers. */
38861 # include <limits.h>
38863 # include <assert.h>
38868 /* Override any gcc2 internal prototype to avoid an error. */
38873 /* We use char because int might match the return type of a gcc2
38874 builtin and then its argument prototype would still apply. */
38875 char localtime_r ();
38876 /* The GNU C library defines this for functions which it implements
38877 to always fail with ENOSYS. Some functions are actually named
38878 something starting with __ and the normal name is an alias. */
38879 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38882 char (*f) () = localtime_r;
38891 return f != localtime_r;
38896 rm -f conftest.
$ac_objext conftest
$ac_exeext
38897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38898 (eval $ac_link) 2>conftest.er1
38900 grep -v '^ *+' conftest.er1
>conftest.err
38902 cat conftest.err
>&5
38903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38904 (exit $ac_status); } &&
38905 { ac_try
='test -z "$ac_c_werror_flag"
38906 || test ! -s conftest.err'
38907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38908 (eval $ac_try) 2>&5
38910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38911 (exit $ac_status); }; } &&
38912 { ac_try
='test -s conftest$ac_exeext'
38913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38914 (eval $ac_try) 2>&5
38916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38917 (exit $ac_status); }; }; then
38918 ac_cv_func_localtime_r
=yes
38920 echo "$as_me: failed program was:" >&5
38921 sed 's/^/| /' conftest.
$ac_ext >&5
38923 ac_cv_func_localtime_r
=no
38925 rm -f conftest.err conftest.
$ac_objext \
38926 conftest
$ac_exeext conftest.
$ac_ext
38928 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38929 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38930 if test $ac_cv_func_localtime_r = yes; then
38931 cat >>confdefs.h
<<\_ACEOF
38932 #define HAVE_LOCALTIME_R 1
38937 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38938 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38939 if test "${ac_cv_func_gmtime_r+set}" = set; then
38940 echo $ECHO_N "(cached) $ECHO_C" >&6
38942 cat >conftest.
$ac_ext <<_ACEOF
38945 cat confdefs.h
>>conftest.
$ac_ext
38946 cat >>conftest.
$ac_ext <<_ACEOF
38947 /* end confdefs.h. */
38948 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38950 #define gmtime_r innocuous_gmtime_r
38952 /* System header to define __stub macros and hopefully few prototypes,
38953 which can conflict with char gmtime_r (); below.
38954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38955 <limits.h> exists even on freestanding compilers. */
38958 # include <limits.h>
38960 # include <assert.h>
38965 /* Override any gcc2 internal prototype to avoid an error. */
38970 /* We use char because int might match the return type of a gcc2
38971 builtin and then its argument prototype would still apply. */
38973 /* The GNU C library defines this for functions which it implements
38974 to always fail with ENOSYS. Some functions are actually named
38975 something starting with __ and the normal name is an alias. */
38976 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38979 char (*f) () = gmtime_r;
38988 return f != gmtime_r;
38993 rm -f conftest.
$ac_objext conftest
$ac_exeext
38994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38995 (eval $ac_link) 2>conftest.er1
38997 grep -v '^ *+' conftest.er1
>conftest.err
38999 cat conftest.err
>&5
39000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001 (exit $ac_status); } &&
39002 { ac_try
='test -z "$ac_c_werror_flag"
39003 || test ! -s conftest.err'
39004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39005 (eval $ac_try) 2>&5
39007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39008 (exit $ac_status); }; } &&
39009 { ac_try
='test -s conftest$ac_exeext'
39010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39011 (eval $ac_try) 2>&5
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); }; }; then
39015 ac_cv_func_gmtime_r
=yes
39017 echo "$as_me: failed program was:" >&5
39018 sed 's/^/| /' conftest.
$ac_ext >&5
39020 ac_cv_func_gmtime_r
=no
39022 rm -f conftest.err conftest.
$ac_objext \
39023 conftest
$ac_exeext conftest.
$ac_ext
39025 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39026 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39027 if test $ac_cv_func_gmtime_r = yes; then
39028 cat >>confdefs.h
<<\_ACEOF
39029 #define HAVE_GMTIME_R 1
39034 echo "$as_me:$LINENO: checking for readdir_r" >&5
39035 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39036 if test "${ac_cv_func_readdir_r+set}" = set; then
39037 echo $ECHO_N "(cached) $ECHO_C" >&6
39039 cat >conftest.
$ac_ext <<_ACEOF
39042 cat confdefs.h
>>conftest.
$ac_ext
39043 cat >>conftest.
$ac_ext <<_ACEOF
39044 /* end confdefs.h. */
39045 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39047 #define readdir_r innocuous_readdir_r
39049 /* System header to define __stub macros and hopefully few prototypes,
39050 which can conflict with char readdir_r (); below.
39051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39052 <limits.h> exists even on freestanding compilers. */
39055 # include <limits.h>
39057 # include <assert.h>
39062 /* Override any gcc2 internal prototype to avoid an error. */
39067 /* We use char because int might match the return type of a gcc2
39068 builtin and then its argument prototype would still apply. */
39070 /* The GNU C library defines this for functions which it implements
39071 to always fail with ENOSYS. Some functions are actually named
39072 something starting with __ and the normal name is an alias. */
39073 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39076 char (*f) () = readdir_r;
39085 return f != readdir_r;
39090 rm -f conftest.
$ac_objext conftest
$ac_exeext
39091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39092 (eval $ac_link) 2>conftest.er1
39094 grep -v '^ *+' conftest.er1
>conftest.err
39096 cat conftest.err
>&5
39097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39098 (exit $ac_status); } &&
39099 { ac_try
='test -z "$ac_c_werror_flag"
39100 || test ! -s conftest.err'
39101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39102 (eval $ac_try) 2>&5
39104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39105 (exit $ac_status); }; } &&
39106 { ac_try
='test -s conftest$ac_exeext'
39107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39108 (eval $ac_try) 2>&5
39110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39111 (exit $ac_status); }; }; then
39112 ac_cv_func_readdir_r
=yes
39114 echo "$as_me: failed program was:" >&5
39115 sed 's/^/| /' conftest.
$ac_ext >&5
39117 ac_cv_func_readdir_r
=no
39119 rm -f conftest.err conftest.
$ac_objext \
39120 conftest
$ac_exeext conftest.
$ac_ext
39122 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39123 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39124 if test $ac_cv_func_readdir_r = yes; then
39125 cat >>confdefs.h
<<\_ACEOF
39126 #define HAVE_READDIR_R 1
39135 ac_cpp
='$CPP $CPPFLAGS'
39136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39140 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39141 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39143 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39144 echo $ECHO_N "(cached) $ECHO_C" >&6
39149 ac_cv_func_which_gethostbyname_r
=unknown
39152 # ONE ARGUMENT (sanity check)
39155 # This should fail, as there is no variant of gethostbyname_r() that takes
39156 # a single argument. If it actually compiles, then we can assume that
39157 # netdb.h is not declaring the function, and the compiler is thereby
39158 # assuming an implicit prototype. In which case, we're out of luck.
39160 cat >conftest.
$ac_ext <<_ACEOF
39163 cat confdefs.h
>>conftest.
$ac_ext
39164 cat >>conftest.
$ac_ext <<_ACEOF
39165 /* end confdefs.h. */
39171 char *name = "www.gnu.org";
39172 (void)gethostbyname_r(name) /* ; */
39178 rm -f conftest.
$ac_objext
39179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39180 (eval $ac_compile) 2>conftest.er1
39182 grep -v '^ *+' conftest.er1
>conftest.err
39184 cat conftest.err
>&5
39185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39186 (exit $ac_status); } &&
39187 { ac_try
='test -z "$ac_c_werror_flag"
39188 || test ! -s conftest.err'
39189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39190 (eval $ac_try) 2>&5
39192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39193 (exit $ac_status); }; } &&
39194 { ac_try
='test -s conftest.$ac_objext'
39195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39196 (eval $ac_try) 2>&5
39198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39199 (exit $ac_status); }; }; then
39200 ac_cv_func_which_gethostbyname_r
=no
39202 echo "$as_me: failed program was:" >&5
39203 sed 's/^/| /' conftest.
$ac_ext >&5
39206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39213 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39215 cat >conftest.
$ac_ext <<_ACEOF
39218 cat confdefs.h
>>conftest.
$ac_ext
39219 cat >>conftest.
$ac_ext <<_ACEOF
39220 /* end confdefs.h. */
39226 char *name = "www.gnu.org";
39227 struct hostent ret, *retp;
39231 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39237 rm -f conftest.
$ac_objext
39238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39239 (eval $ac_compile) 2>conftest.er1
39241 grep -v '^ *+' conftest.er1
>conftest.err
39243 cat conftest.err
>&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } &&
39246 { ac_try
='test -z "$ac_c_werror_flag"
39247 || test ! -s conftest.err'
39248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39249 (eval $ac_try) 2>&5
39251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39252 (exit $ac_status); }; } &&
39253 { ac_try
='test -s conftest.$ac_objext'
39254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39255 (eval $ac_try) 2>&5
39257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39258 (exit $ac_status); }; }; then
39259 ac_cv_func_which_gethostbyname_r
=six
39261 echo "$as_me: failed program was:" >&5
39262 sed 's/^/| /' conftest.
$ac_ext >&5
39265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39274 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39276 cat >conftest.
$ac_ext <<_ACEOF
39279 cat confdefs.h
>>conftest.
$ac_ext
39280 cat >>conftest.
$ac_ext <<_ACEOF
39281 /* end confdefs.h. */
39287 char *name = "www.gnu.org";
39288 struct hostent ret;
39292 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39298 rm -f conftest.
$ac_objext
39299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39300 (eval $ac_compile) 2>conftest.er1
39302 grep -v '^ *+' conftest.er1
>conftest.err
39304 cat conftest.err
>&5
39305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306 (exit $ac_status); } &&
39307 { ac_try
='test -z "$ac_c_werror_flag"
39308 || test ! -s conftest.err'
39309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39310 (eval $ac_try) 2>&5
39312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39313 (exit $ac_status); }; } &&
39314 { ac_try
='test -s conftest.$ac_objext'
39315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39316 (eval $ac_try) 2>&5
39318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39319 (exit $ac_status); }; }; then
39320 ac_cv_func_which_gethostbyname_r
=five
39322 echo "$as_me: failed program was:" >&5
39323 sed 's/^/| /' conftest.
$ac_ext >&5
39326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39332 # (e.g. AIX, HP-UX, Tru64)
39335 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39337 cat >conftest.
$ac_ext <<_ACEOF
39340 cat confdefs.h
>>conftest.
$ac_ext
39341 cat >>conftest.
$ac_ext <<_ACEOF
39342 /* end confdefs.h. */
39348 char *name = "www.gnu.org";
39349 struct hostent ret;
39350 struct hostent_data data;
39351 (void)gethostbyname_r(name, &ret, &data) /* ; */
39357 rm -f conftest.
$ac_objext
39358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39359 (eval $ac_compile) 2>conftest.er1
39361 grep -v '^ *+' conftest.er1
>conftest.err
39363 cat conftest.err
>&5
39364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39365 (exit $ac_status); } &&
39366 { ac_try
='test -z "$ac_c_werror_flag"
39367 || test ! -s conftest.err'
39368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39369 (eval $ac_try) 2>&5
39371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39372 (exit $ac_status); }; } &&
39373 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
39379 ac_cv_func_which_gethostbyname_r
=three
39381 echo "$as_me: failed program was:" >&5
39382 sed 's/^/| /' conftest.
$ac_ext >&5
39385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39393 case "$ac_cv_func_which_gethostbyname_r" in
39395 echo "$as_me:$LINENO: result: three" >&5
39396 echo "${ECHO_T}three" >&6
39397 cat >>confdefs.h
<<\_ACEOF
39398 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39404 echo "$as_me:$LINENO: result: five" >&5
39405 echo "${ECHO_T}five" >&6
39406 cat >>confdefs.h
<<\_ACEOF
39407 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39413 echo "$as_me:$LINENO: result: six" >&5
39414 echo "${ECHO_T}six" >&6
39415 cat >>confdefs.h
<<\_ACEOF
39416 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39422 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39423 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39427 echo "$as_me:$LINENO: result: can't tell" >&5
39428 echo "${ECHO_T}can't tell" >&6
39432 { { echo "$as_me:$LINENO: error: internal error" >&5
39433 echo "$as_me: error: internal error" >&2;}
39434 { (exit 1); exit 1; }; }
39439 ac_cpp
='$CPP $CPPFLAGS'
39440 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39441 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39442 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39446 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39447 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39448 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39449 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39450 if test "${ac_cv_func_gethostbyname+set}" = set; then
39451 echo $ECHO_N "(cached) $ECHO_C" >&6
39453 cat >conftest.
$ac_ext <<_ACEOF
39456 cat confdefs.h
>>conftest.
$ac_ext
39457 cat >>conftest.
$ac_ext <<_ACEOF
39458 /* end confdefs.h. */
39459 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39461 #define gethostbyname innocuous_gethostbyname
39463 /* System header to define __stub macros and hopefully few prototypes,
39464 which can conflict with char gethostbyname (); below.
39465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39466 <limits.h> exists even on freestanding compilers. */
39469 # include <limits.h>
39471 # include <assert.h>
39474 #undef gethostbyname
39476 /* Override any gcc2 internal prototype to avoid an error. */
39481 /* We use char because int might match the return type of a gcc2
39482 builtin and then its argument prototype would still apply. */
39483 char gethostbyname ();
39484 /* The GNU C library defines this for functions which it implements
39485 to always fail with ENOSYS. Some functions are actually named
39486 something starting with __ and the normal name is an alias. */
39487 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39490 char (*f) () = gethostbyname;
39499 return f != gethostbyname;
39504 rm -f conftest.
$ac_objext conftest
$ac_exeext
39505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39506 (eval $ac_link) 2>conftest.er1
39508 grep -v '^ *+' conftest.er1
>conftest.err
39510 cat conftest.err
>&5
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); } &&
39513 { ac_try
='test -z "$ac_c_werror_flag"
39514 || test ! -s conftest.err'
39515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39516 (eval $ac_try) 2>&5
39518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39519 (exit $ac_status); }; } &&
39520 { ac_try
='test -s conftest$ac_exeext'
39521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39522 (eval $ac_try) 2>&5
39524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39525 (exit $ac_status); }; }; then
39526 ac_cv_func_gethostbyname
=yes
39528 echo "$as_me: failed program was:" >&5
39529 sed 's/^/| /' conftest.
$ac_ext >&5
39531 ac_cv_func_gethostbyname
=no
39533 rm -f conftest.err conftest.
$ac_objext \
39534 conftest
$ac_exeext conftest.
$ac_ext
39536 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39537 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39538 if test $ac_cv_func_gethostbyname = yes; then
39539 cat >>confdefs.h
<<\_ACEOF
39540 #define HAVE_GETHOSTBYNAME 1
39546 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39547 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39548 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39549 echo $ECHO_N "(cached) $ECHO_C" >&6
39552 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39553 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39554 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39555 echo $ECHO_N "(cached) $ECHO_C" >&6
39557 cat >conftest.
$ac_ext <<_ACEOF
39560 cat confdefs.h
>>conftest.
$ac_ext
39561 cat >>conftest.
$ac_ext <<_ACEOF
39562 /* end confdefs.h. */
39563 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39565 #define getservbyname_r innocuous_getservbyname_r
39567 /* System header to define __stub macros and hopefully few prototypes,
39568 which can conflict with char getservbyname_r (); below.
39569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39570 <limits.h> exists even on freestanding compilers. */
39573 # include <limits.h>
39575 # include <assert.h>
39578 #undef getservbyname_r
39580 /* Override any gcc2 internal prototype to avoid an error. */
39585 /* We use char because int might match the return type of a gcc2
39586 builtin and then its argument prototype would still apply. */
39587 char getservbyname_r ();
39588 /* The GNU C library defines this for functions which it implements
39589 to always fail with ENOSYS. Some functions are actually named
39590 something starting with __ and the normal name is an alias. */
39591 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39594 char (*f) () = getservbyname_r;
39603 return f != getservbyname_r;
39608 rm -f conftest.
$ac_objext conftest
$ac_exeext
39609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39610 (eval $ac_link) 2>conftest.er1
39612 grep -v '^ *+' conftest.er1
>conftest.err
39614 cat conftest.err
>&5
39615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616 (exit $ac_status); } &&
39617 { ac_try
='test -z "$ac_c_werror_flag"
39618 || test ! -s conftest.err'
39619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39620 (eval $ac_try) 2>&5
39622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39623 (exit $ac_status); }; } &&
39624 { ac_try
='test -s conftest$ac_exeext'
39625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39626 (eval $ac_try) 2>&5
39628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39629 (exit $ac_status); }; }; then
39630 ac_cv_func_getservbyname_r
=yes
39632 echo "$as_me: failed program was:" >&5
39633 sed 's/^/| /' conftest.
$ac_ext >&5
39635 ac_cv_func_getservbyname_r
=no
39637 rm -f conftest.err conftest.
$ac_objext \
39638 conftest
$ac_exeext conftest.
$ac_ext
39640 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39641 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39642 if test $ac_cv_func_getservbyname_r = yes; then
39644 cat >conftest.
$ac_ext <<_ACEOF
39647 cat confdefs.h
>>conftest.
$ac_ext
39648 cat >>conftest.
$ac_ext <<_ACEOF
39649 /* end confdefs.h. */
39651 # include <netdb.h>
39660 struct servent *se;
39661 struct servent_data data;
39662 (void) getservbyname_r(name, proto, se, &data);
39669 rm -f conftest.
$ac_objext
39670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39671 (eval $ac_compile) 2>conftest.er1
39673 grep -v '^ *+' conftest.er1
>conftest.err
39675 cat conftest.err
>&5
39676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39677 (exit $ac_status); } &&
39678 { ac_try
='test -z "$ac_c_werror_flag"
39679 || test ! -s conftest.err'
39680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39681 (eval $ac_try) 2>&5
39683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39684 (exit $ac_status); }; } &&
39685 { ac_try
='test -s conftest.$ac_objext'
39686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39687 (eval $ac_try) 2>&5
39689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39690 (exit $ac_status); }; }; then
39691 ac_cv_func_which_getservbyname_r
=four
39693 echo "$as_me: failed program was:" >&5
39694 sed 's/^/| /' conftest.
$ac_ext >&5
39697 cat >conftest.
$ac_ext <<_ACEOF
39700 cat confdefs.h
>>conftest.
$ac_ext
39701 cat >>conftest.
$ac_ext <<_ACEOF
39702 /* end confdefs.h. */
39704 # include <netdb.h>
39712 struct servent *se, *res;
39715 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39721 rm -f conftest.
$ac_objext
39722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39723 (eval $ac_compile) 2>conftest.er1
39725 grep -v '^ *+' conftest.er1
>conftest.err
39727 cat conftest.err
>&5
39728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39729 (exit $ac_status); } &&
39730 { ac_try
='test -z "$ac_c_werror_flag"
39731 || test ! -s conftest.err'
39732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39733 (eval $ac_try) 2>&5
39735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39736 (exit $ac_status); }; } &&
39737 { ac_try
='test -s conftest.$ac_objext'
39738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39739 (eval $ac_try) 2>&5
39741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39742 (exit $ac_status); }; }; then
39743 ac_cv_func_which_getservbyname_r
=six
39745 echo "$as_me: failed program was:" >&5
39746 sed 's/^/| /' conftest.
$ac_ext >&5
39749 cat >conftest.
$ac_ext <<_ACEOF
39752 cat confdefs.h
>>conftest.
$ac_ext
39753 cat >>conftest.
$ac_ext <<_ACEOF
39754 /* end confdefs.h. */
39756 # include <netdb.h>
39764 struct servent *se;
39767 (void) getservbyname_r(name, proto, se, buffer, buflen)
39773 rm -f conftest.
$ac_objext
39774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39775 (eval $ac_compile) 2>conftest.er1
39777 grep -v '^ *+' conftest.er1
>conftest.err
39779 cat conftest.err
>&5
39780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39781 (exit $ac_status); } &&
39782 { ac_try
='test -z "$ac_c_werror_flag"
39783 || test ! -s conftest.err'
39784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39785 (eval $ac_try) 2>&5
39787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788 (exit $ac_status); }; } &&
39789 { ac_try
='test -s conftest.$ac_objext'
39790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39791 (eval $ac_try) 2>&5
39793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39794 (exit $ac_status); }; }; then
39795 ac_cv_func_which_getservbyname_r
=five
39797 echo "$as_me: failed program was:" >&5
39798 sed 's/^/| /' conftest.
$ac_ext >&5
39800 ac_cv_func_which_getservbyname_r
=no
39802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39815 ac_cv_func_which_getservbyname_r
=no
39819 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39820 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
39822 if test $ac_cv_func_which_getservbyname_r = six
; then
39823 cat >>confdefs.h
<<\_ACEOF
39824 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39827 elif test $ac_cv_func_which_getservbyname_r = five
; then
39828 cat >>confdefs.h
<<\_ACEOF
39829 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39832 elif test $ac_cv_func_which_getservbyname_r = four
; then
39833 cat >>confdefs.h
<<\_ACEOF
39834 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39841 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39842 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39844 for ac_func
in getservbyname
39846 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39847 echo "$as_me:$LINENO: checking for $ac_func" >&5
39848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39849 if eval "test \"\${$as_ac_var+set}\" = set"; then
39850 echo $ECHO_N "(cached) $ECHO_C" >&6
39852 cat >conftest.
$ac_ext <<_ACEOF
39855 cat confdefs.h
>>conftest.
$ac_ext
39856 cat >>conftest.
$ac_ext <<_ACEOF
39857 /* end confdefs.h. */
39858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39860 #define $ac_func innocuous_$ac_func
39862 /* System header to define __stub macros and hopefully few prototypes,
39863 which can conflict with char $ac_func (); below.
39864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39865 <limits.h> exists even on freestanding compilers. */
39868 # include <limits.h>
39870 # include <assert.h>
39875 /* Override any gcc2 internal prototype to avoid an error. */
39880 /* We use char because int might match the return type of a gcc2
39881 builtin and then its argument prototype would still apply. */
39883 /* The GNU C library defines this for functions which it implements
39884 to always fail with ENOSYS. Some functions are actually named
39885 something starting with __ and the normal name is an alias. */
39886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39889 char (*f) () = $ac_func;
39898 return f != $ac_func;
39903 rm -f conftest.
$ac_objext conftest
$ac_exeext
39904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39905 (eval $ac_link) 2>conftest.er1
39907 grep -v '^ *+' conftest.er1
>conftest.err
39909 cat conftest.err
>&5
39910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39911 (exit $ac_status); } &&
39912 { ac_try
='test -z "$ac_c_werror_flag"
39913 || test ! -s conftest.err'
39914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39915 (eval $ac_try) 2>&5
39917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39918 (exit $ac_status); }; } &&
39919 { ac_try
='test -s conftest$ac_exeext'
39920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39921 (eval $ac_try) 2>&5
39923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39924 (exit $ac_status); }; }; then
39925 eval "$as_ac_var=yes"
39927 echo "$as_me: failed program was:" >&5
39928 sed 's/^/| /' conftest.
$ac_ext >&5
39930 eval "$as_ac_var=no"
39932 rm -f conftest.err conftest.
$ac_objext \
39933 conftest
$ac_exeext conftest.
$ac_ext
39935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39937 if test `eval echo '${'$as_ac_var'}'` = yes; then
39938 cat >>confdefs.h
<<_ACEOF
39939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39941 cat >>confdefs.h
<<\_ACEOF
39942 #define HAVE_GETSERVBYNAME 1
39950 if test "$wxUSE_THREADS" = "yes"; then
39951 cat >>confdefs.h
<<\_ACEOF
39952 #define wxUSE_THREADS 1
39956 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
39958 if test "$wx_cv_func_strtok_r" = "yes"; then
39959 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39960 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39961 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39962 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39963 echo "$as_me:$LINENO: result: yes" >&5
39964 echo "${ECHO_T}yes" >&6
39966 echo "$as_me:$LINENO: result: no" >&5
39967 echo "${ECHO_T}no" >&6
39972 if test "$WXGTK20" = 1 ; then
39973 cat >>confdefs.h
<<_ACEOF
39974 #define __WXGTK20__ $WXGTK20
39980 if test "$WXGTK12" = 1 ; then
39981 cat >>confdefs.h
<<_ACEOF
39982 #define __WXGTK12__ $WXGTK12
39987 if test "$WXGTK127" = 1 ; then
39988 cat >>confdefs.h
<<_ACEOF
39989 #define __WXGTK127__ $WXGTK127
39994 if test "$WXGPE" = 1 ; then
39995 cat >>confdefs.h
<<_ACEOF
39996 #define __WXGPE__ $WXGPE
40002 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40007 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40008 wxUSE_DEBUG_INFO
=yes
40009 if test "$GCC" = yes; then
40010 DEBUG_CFLAGS
="-ggdb"
40014 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40015 cat >>confdefs.h
<<\_ACEOF
40019 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40021 if test "$wxUSE_GTK" = 1 ; then
40022 if test "x$wxGTK_VERSION" = "x1" ; then
40023 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40028 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40029 cat >>confdefs.h
<<\_ACEOF
40030 #define wxUSE_MEMORY_TRACING 1
40033 cat >>confdefs.h
<<\_ACEOF
40034 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40037 cat >>confdefs.h
<<\_ACEOF
40038 #define wxUSE_DEBUG_NEW_ALWAYS 1
40041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40044 if test "$wxUSE_DMALLOC" = "yes" ; then
40045 DMALLOC_LIBS
="-ldmallocthcxx"
40049 if test "$wxUSE_PROFILE" = "yes" ; then
40050 PROFILE_FLAGS
=" -pg"
40053 if test "$GCC" = "yes" ; then
40054 if test "$wxUSE_NO_RTTI" = "yes" ; then
40055 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40057 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40058 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40060 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40061 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40066 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40069 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40075 if test "$wxUSE_OPTIMISE" = "no" ; then
40076 if test "$GCC" = yes ; then
40077 OPTIMISE_CFLAGS
="-O0"
40080 if test "$GCC" = yes ; then
40082 *-pc-os2_emx | *-pc-os2-emx )
40083 OPTIMISE_CFLAGS
="-O2"
40086 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40090 OPTIMISE_CFLAGS
="-O"
40095 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40096 cat >>confdefs.h
<<\_ACEOF
40097 #define WXWIN_COMPATIBILITY_2_6 1
40101 WXWIN_COMPATIBILITY_2_8
="yes"
40104 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40105 cat >>confdefs.h
<<\_ACEOF
40106 #define WXWIN_COMPATIBILITY_2_8 1
40112 if test "$wxUSE_GUI" = "yes"; then
40113 cat >>confdefs.h
<<\_ACEOF
40114 #define wxUSE_GUI 1
40121 if test "$wxUSE_UNIX" = "yes"; then
40122 cat >>confdefs.h
<<\_ACEOF
40123 #define wxUSE_UNIX 1
40129 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40133 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40134 if test "$USE_DARWIN" = 1; then
40136 elif test "$USE_DOS" = 1; then
40140 for ac_func
in dlopen
40142 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40143 echo "$as_me:$LINENO: checking for $ac_func" >&5
40144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40145 if eval "test \"\${$as_ac_var+set}\" = set"; then
40146 echo $ECHO_N "(cached) $ECHO_C" >&6
40148 cat >conftest.
$ac_ext <<_ACEOF
40151 cat confdefs.h
>>conftest.
$ac_ext
40152 cat >>conftest.
$ac_ext <<_ACEOF
40153 /* end confdefs.h. */
40154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40156 #define $ac_func innocuous_$ac_func
40158 /* System header to define __stub macros and hopefully few prototypes,
40159 which can conflict with char $ac_func (); below.
40160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40161 <limits.h> exists even on freestanding compilers. */
40164 # include <limits.h>
40166 # include <assert.h>
40171 /* Override any gcc2 internal prototype to avoid an error. */
40176 /* We use char because int might match the return type of a gcc2
40177 builtin and then its argument prototype would still apply. */
40179 /* The GNU C library defines this for functions which it implements
40180 to always fail with ENOSYS. Some functions are actually named
40181 something starting with __ and the normal name is an alias. */
40182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40185 char (*f) () = $ac_func;
40194 return f != $ac_func;
40199 rm -f conftest.
$ac_objext conftest
$ac_exeext
40200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40201 (eval $ac_link) 2>conftest.er1
40203 grep -v '^ *+' conftest.er1
>conftest.err
40205 cat conftest.err
>&5
40206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40207 (exit $ac_status); } &&
40208 { ac_try
='test -z "$ac_c_werror_flag"
40209 || test ! -s conftest.err'
40210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40211 (eval $ac_try) 2>&5
40213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40214 (exit $ac_status); }; } &&
40215 { ac_try
='test -s conftest$ac_exeext'
40216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40217 (eval $ac_try) 2>&5
40219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40220 (exit $ac_status); }; }; then
40221 eval "$as_ac_var=yes"
40223 echo "$as_me: failed program was:" >&5
40224 sed 's/^/| /' conftest.
$ac_ext >&5
40226 eval "$as_ac_var=no"
40228 rm -f conftest.err conftest.
$ac_objext \
40229 conftest
$ac_exeext conftest.
$ac_ext
40231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40233 if test `eval echo '${'$as_ac_var'}'` = yes; then
40234 cat >>confdefs.h
<<_ACEOF
40235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40238 cat >>confdefs.h
<<\_ACEOF
40239 #define HAVE_DLOPEN 1
40246 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40247 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40248 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40249 echo $ECHO_N "(cached) $ECHO_C" >&6
40251 ac_check_lib_save_LIBS
=$LIBS
40253 cat >conftest.
$ac_ext <<_ACEOF
40256 cat confdefs.h
>>conftest.
$ac_ext
40257 cat >>conftest.
$ac_ext <<_ACEOF
40258 /* end confdefs.h. */
40260 /* Override any gcc2 internal prototype to avoid an error. */
40264 /* We use char because int might match the return type of a gcc2
40265 builtin and then its argument prototype would still apply. */
40275 rm -f conftest.
$ac_objext conftest
$ac_exeext
40276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40277 (eval $ac_link) 2>conftest.er1
40279 grep -v '^ *+' conftest.er1
>conftest.err
40281 cat conftest.err
>&5
40282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40283 (exit $ac_status); } &&
40284 { ac_try
='test -z "$ac_c_werror_flag"
40285 || test ! -s conftest.err'
40286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40287 (eval $ac_try) 2>&5
40289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40290 (exit $ac_status); }; } &&
40291 { ac_try
='test -s conftest$ac_exeext'
40292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40293 (eval $ac_try) 2>&5
40295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40296 (exit $ac_status); }; }; then
40297 ac_cv_lib_dl_dlopen
=yes
40299 echo "$as_me: failed program was:" >&5
40300 sed 's/^/| /' conftest.
$ac_ext >&5
40302 ac_cv_lib_dl_dlopen
=no
40304 rm -f conftest.err conftest.
$ac_objext \
40305 conftest
$ac_exeext conftest.
$ac_ext
40306 LIBS
=$ac_check_lib_save_LIBS
40308 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40309 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40310 if test $ac_cv_lib_dl_dlopen = yes; then
40312 cat >>confdefs.h
<<\_ACEOF
40313 #define HAVE_DLOPEN 1
40317 DL_LINK
=" -ldl$DL_LINK"
40322 for ac_func
in shl_load
40324 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40325 echo "$as_me:$LINENO: checking for $ac_func" >&5
40326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40327 if eval "test \"\${$as_ac_var+set}\" = set"; then
40328 echo $ECHO_N "(cached) $ECHO_C" >&6
40330 cat >conftest.
$ac_ext <<_ACEOF
40333 cat confdefs.h
>>conftest.
$ac_ext
40334 cat >>conftest.
$ac_ext <<_ACEOF
40335 /* end confdefs.h. */
40336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40338 #define $ac_func innocuous_$ac_func
40340 /* System header to define __stub macros and hopefully few prototypes,
40341 which can conflict with char $ac_func (); below.
40342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40343 <limits.h> exists even on freestanding compilers. */
40346 # include <limits.h>
40348 # include <assert.h>
40353 /* Override any gcc2 internal prototype to avoid an error. */
40358 /* We use char because int might match the return type of a gcc2
40359 builtin and then its argument prototype would still apply. */
40361 /* The GNU C library defines this for functions which it implements
40362 to always fail with ENOSYS. Some functions are actually named
40363 something starting with __ and the normal name is an alias. */
40364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40367 char (*f) () = $ac_func;
40376 return f != $ac_func;
40381 rm -f conftest.
$ac_objext conftest
$ac_exeext
40382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40383 (eval $ac_link) 2>conftest.er1
40385 grep -v '^ *+' conftest.er1
>conftest.err
40387 cat conftest.err
>&5
40388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40389 (exit $ac_status); } &&
40390 { ac_try
='test -z "$ac_c_werror_flag"
40391 || test ! -s conftest.err'
40392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40393 (eval $ac_try) 2>&5
40395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40396 (exit $ac_status); }; } &&
40397 { ac_try
='test -s conftest$ac_exeext'
40398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40399 (eval $ac_try) 2>&5
40401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40402 (exit $ac_status); }; }; then
40403 eval "$as_ac_var=yes"
40405 echo "$as_me: failed program was:" >&5
40406 sed 's/^/| /' conftest.
$ac_ext >&5
40408 eval "$as_ac_var=no"
40410 rm -f conftest.err conftest.
$ac_objext \
40411 conftest
$ac_exeext conftest.
$ac_ext
40413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40415 if test `eval echo '${'$as_ac_var'}'` = yes; then
40416 cat >>confdefs.h
<<_ACEOF
40417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40420 cat >>confdefs.h
<<\_ACEOF
40421 #define HAVE_SHL_LOAD 1
40428 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40429 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40430 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40431 echo $ECHO_N "(cached) $ECHO_C" >&6
40433 ac_check_lib_save_LIBS
=$LIBS
40434 LIBS
="-lshl_load $LIBS"
40435 cat >conftest.
$ac_ext <<_ACEOF
40438 cat confdefs.h
>>conftest.
$ac_ext
40439 cat >>conftest.
$ac_ext <<_ACEOF
40440 /* end confdefs.h. */
40442 /* Override any gcc2 internal prototype to avoid an error. */
40446 /* We use char because int might match the return type of a gcc2
40447 builtin and then its argument prototype would still apply. */
40457 rm -f conftest.
$ac_objext conftest
$ac_exeext
40458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40459 (eval $ac_link) 2>conftest.er1
40461 grep -v '^ *+' conftest.er1
>conftest.err
40463 cat conftest.err
>&5
40464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40465 (exit $ac_status); } &&
40466 { ac_try
='test -z "$ac_c_werror_flag"
40467 || test ! -s conftest.err'
40468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40469 (eval $ac_try) 2>&5
40471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40472 (exit $ac_status); }; } &&
40473 { ac_try
='test -s conftest$ac_exeext'
40474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40475 (eval $ac_try) 2>&5
40477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40478 (exit $ac_status); }; }; then
40479 ac_cv_lib_shl_load_dld
=yes
40481 echo "$as_me: failed program was:" >&5
40482 sed 's/^/| /' conftest.
$ac_ext >&5
40484 ac_cv_lib_shl_load_dld
=no
40486 rm -f conftest.err conftest.
$ac_objext \
40487 conftest
$ac_exeext conftest.
$ac_ext
40488 LIBS
=$ac_check_lib_save_LIBS
40490 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40491 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40492 if test $ac_cv_lib_shl_load_dld = yes; then
40495 DL_LINK
=" -ldld$DL_LINK"
40511 if test "$HAVE_DL_FUNCS" = 1; then
40513 for ac_func
in dlerror
40515 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40516 echo "$as_me:$LINENO: checking for $ac_func" >&5
40517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40518 if eval "test \"\${$as_ac_var+set}\" = set"; then
40519 echo $ECHO_N "(cached) $ECHO_C" >&6
40521 cat >conftest.
$ac_ext <<_ACEOF
40524 cat confdefs.h
>>conftest.
$ac_ext
40525 cat >>conftest.
$ac_ext <<_ACEOF
40526 /* end confdefs.h. */
40527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40529 #define $ac_func innocuous_$ac_func
40531 /* System header to define __stub macros and hopefully few prototypes,
40532 which can conflict with char $ac_func (); below.
40533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40534 <limits.h> exists even on freestanding compilers. */
40537 # include <limits.h>
40539 # include <assert.h>
40544 /* Override any gcc2 internal prototype to avoid an error. */
40549 /* We use char because int might match the return type of a gcc2
40550 builtin and then its argument prototype would still apply. */
40552 /* The GNU C library defines this for functions which it implements
40553 to always fail with ENOSYS. Some functions are actually named
40554 something starting with __ and the normal name is an alias. */
40555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40558 char (*f) () = $ac_func;
40567 return f != $ac_func;
40572 rm -f conftest.
$ac_objext conftest
$ac_exeext
40573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40574 (eval $ac_link) 2>conftest.er1
40576 grep -v '^ *+' conftest.er1
>conftest.err
40578 cat conftest.err
>&5
40579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40580 (exit $ac_status); } &&
40581 { ac_try
='test -z "$ac_c_werror_flag"
40582 || test ! -s conftest.err'
40583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40584 (eval $ac_try) 2>&5
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); }; } &&
40588 { ac_try
='test -s conftest$ac_exeext'
40589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40590 (eval $ac_try) 2>&5
40592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40593 (exit $ac_status); }; }; then
40594 eval "$as_ac_var=yes"
40596 echo "$as_me: failed program was:" >&5
40597 sed 's/^/| /' conftest.
$ac_ext >&5
40599 eval "$as_ac_var=no"
40601 rm -f conftest.err conftest.
$ac_objext \
40602 conftest
$ac_exeext conftest.
$ac_ext
40604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40606 if test `eval echo '${'$as_ac_var'}'` = yes; then
40607 cat >>confdefs.h
<<_ACEOF
40608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40610 cat >>confdefs.h
<<\_ACEOF
40611 #define HAVE_DLERROR 1
40616 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40617 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40618 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40619 echo $ECHO_N "(cached) $ECHO_C" >&6
40621 ac_check_lib_save_LIBS
=$LIBS
40623 cat >conftest.
$ac_ext <<_ACEOF
40626 cat confdefs.h
>>conftest.
$ac_ext
40627 cat >>conftest.
$ac_ext <<_ACEOF
40628 /* end confdefs.h. */
40630 /* Override any gcc2 internal prototype to avoid an error. */
40634 /* We use char because int might match the return type of a gcc2
40635 builtin and then its argument prototype would still apply. */
40645 rm -f conftest.
$ac_objext conftest
$ac_exeext
40646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40647 (eval $ac_link) 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_c_werror_flag"
40655 || test ! -s conftest.err'
40656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40657 (eval $ac_try) 2>&5
40659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40660 (exit $ac_status); }; } &&
40661 { ac_try
='test -s conftest$ac_exeext'
40662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40663 (eval $ac_try) 2>&5
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); }; }; then
40667 ac_cv_lib_dl_dlerror
=yes
40669 echo "$as_me: failed program was:" >&5
40670 sed 's/^/| /' conftest.
$ac_ext >&5
40672 ac_cv_lib_dl_dlerror
=no
40674 rm -f conftest.err conftest.
$ac_objext \
40675 conftest
$ac_exeext conftest.
$ac_ext
40676 LIBS
=$ac_check_lib_save_LIBS
40678 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40679 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40680 if test $ac_cv_lib_dl_dlerror = yes; then
40681 cat >>confdefs.h
<<\_ACEOF
40682 #define HAVE_DLERROR 1
40695 if test "$HAVE_DL_FUNCS" = 0; then
40696 if test "$HAVE_SHL_FUNCS" = 0; then
40697 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40698 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40699 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40700 wxUSE_DYNAMIC_LOADER
=no
40701 wxUSE_DYNLIB_CLASS
=no
40703 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40704 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40711 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40712 cat >>confdefs.h
<<\_ACEOF
40713 #define wxUSE_DYNAMIC_LOADER 1
40717 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40718 cat >>confdefs.h
<<\_ACEOF
40719 #define wxUSE_DYNLIB_CLASS 1
40726 if test "$wxUSE_PLUGINS" = "yes" ; then
40727 if test "$wxUSE_SHARED" = "no" ; then
40728 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40729 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40732 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40733 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40734 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40737 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40738 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40739 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40742 if test "$wxUSE_PLUGINS" = "yes" ; then
40743 cat >>confdefs.h
<<\_ACEOF
40744 #define wxUSE_PLUGINS 1
40751 if test "$wxUSE_STL" = "yes"; then
40752 cat >>confdefs.h
<<\_ACEOF
40753 #define wxUSE_STL 1
40758 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
40759 cat >>confdefs.h
<<\_ACEOF
40760 #define wxUSE_EXTENDED_RTTI 1
40765 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40766 cat >>confdefs.h
<<\_ACEOF
40767 #define wxUSE_APPLE_IEEE 1
40772 if test "$wxUSE_TIMER" = "yes"; then
40773 cat >>confdefs.h
<<\_ACEOF
40774 #define wxUSE_TIMER 1
40779 if test "$USE_UNIX" = "1" ; then
40780 if test "$wxUSE_MGL" != 1; then
40781 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40782 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
40783 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40784 echo $ECHO_N "(cached) $ECHO_C" >&6
40787 cat >conftest.
$ac_ext <<_ACEOF
40790 cat confdefs.h
>>conftest.
$ac_ext
40791 cat >>conftest.
$ac_ext <<_ACEOF
40792 /* end confdefs.h. */
40794 #include <sys/ioctl.h>
40795 #include <sys/soundcard.h>
40801 ioctl(0, SNDCTL_DSP_SPEED, 0);
40807 rm -f conftest.
$ac_objext conftest
$ac_exeext
40808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40809 (eval $ac_link) 2>conftest.er1
40811 grep -v '^ *+' conftest.er1
>conftest.err
40813 cat conftest.err
>&5
40814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40815 (exit $ac_status); } &&
40816 { ac_try
='test -z "$ac_c_werror_flag"
40817 || test ! -s conftest.err'
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); }; } &&
40823 { ac_try
='test -s conftest$ac_exeext'
40824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40825 (eval $ac_try) 2>&5
40827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40828 (exit $ac_status); }; }; then
40829 ac_cv_header_sys_soundcard
=yes
40831 echo "$as_me: failed program was:" >&5
40832 sed 's/^/| /' conftest.
$ac_ext >&5
40836 LIBS
="$saveLibs -lossaudio"
40837 cat >conftest.
$ac_ext <<_ACEOF
40840 cat confdefs.h
>>conftest.
$ac_ext
40841 cat >>conftest.
$ac_ext <<_ACEOF
40842 /* end confdefs.h. */
40844 #include <sys/ioctl.h>
40845 #include <sys/soundcard.h>
40851 ioctl(0, SNDCTL_DSP_SPEED, 0);
40857 rm -f conftest.
$ac_objext conftest
$ac_exeext
40858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40859 (eval $ac_link) 2>conftest.er1
40861 grep -v '^ *+' conftest.er1
>conftest.err
40863 cat conftest.err
>&5
40864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40865 (exit $ac_status); } &&
40866 { ac_try
='test -z "$ac_c_werror_flag"
40867 || test ! -s conftest.err'
40868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40869 (eval $ac_try) 2>&5
40871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40872 (exit $ac_status); }; } &&
40873 { ac_try
='test -s conftest$ac_exeext'
40874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40875 (eval $ac_try) 2>&5
40877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40878 (exit $ac_status); }; }; then
40879 ac_cv_header_sys_soundcard
=yes
40881 echo "$as_me: failed program was:" >&5
40882 sed 's/^/| /' conftest.
$ac_ext >&5
40886 ac_cv_header_sys_soundcard
=no
40890 rm -f conftest.err conftest.
$ac_objext \
40891 conftest
$ac_exeext conftest.
$ac_ext
40895 rm -f conftest.err conftest.
$ac_objext \
40896 conftest
$ac_exeext conftest.
$ac_ext
40899 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40900 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40903 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40904 cat >>confdefs.h
<<\_ACEOF
40905 #define HAVE_SYS_SOUNDCARD_H 1
40912 if test "$wxUSE_SOUND" = "yes"; then
40913 if test "$USE_UNIX" = "1" ; then
40914 if test "$wxUSE_LIBSDL" != "no"; then
40916 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40917 if test "${with_sdl_prefix+set}" = set; then
40918 withval
="$with_sdl_prefix"
40919 sdl_prefix
="$withval"
40924 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40925 if test "${with_sdl_exec_prefix+set}" = set; then
40926 withval
="$with_sdl_exec_prefix"
40927 sdl_exec_prefix
="$withval"
40931 # Check whether --enable-sdltest or --disable-sdltest was given.
40932 if test "${enable_sdltest+set}" = set; then
40933 enableval
="$enable_sdltest"
40939 if test x
$sdl_exec_prefix != x
; then
40940 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40941 if test x
${SDL_CONFIG+set} != xset
; then
40942 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40945 if test x
$sdl_prefix != x
; then
40946 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40947 if test x
${SDL_CONFIG+set} != xset
; then
40948 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40952 if test "x$prefix" != xNONE
; then
40953 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40955 # Extract the first word of "sdl-config", so it can be a program name with args.
40956 set dummy sdl
-config; ac_word
=$2
40957 echo "$as_me:$LINENO: checking for $ac_word" >&5
40958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40959 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40960 echo $ECHO_N "(cached) $ECHO_C" >&6
40962 case $SDL_CONFIG in
40964 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40968 for as_dir
in $PATH
40971 test -z "$as_dir" && as_dir
=.
40972 for ac_exec_ext
in '' $ac_executable_extensions; do
40973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40974 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40981 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
40985 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
40987 if test -n "$SDL_CONFIG"; then
40988 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40989 echo "${ECHO_T}$SDL_CONFIG" >&6
40991 echo "$as_me:$LINENO: result: no" >&5
40992 echo "${ECHO_T}no" >&6
40995 min_sdl_version
=1.2.0
40996 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40997 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40999 if test "$SDL_CONFIG" = "no" ; then
41002 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41003 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41005 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41006 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41007 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41008 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41009 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41010 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41011 if test "x$enable_sdltest" = "xyes" ; then
41012 ac_save_CFLAGS
="$CFLAGS"
41013 ac_save_CXXFLAGS
="$CXXFLAGS"
41014 ac_save_LIBS
="$LIBS"
41015 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41016 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41017 LIBS
="$LIBS $SDL_LIBS"
41019 if test "$cross_compiling" = yes; then
41020 echo $ac_n "cross compiling; assumed OK... $ac_c"
41022 cat >conftest.
$ac_ext <<_ACEOF
41025 cat confdefs.h
>>conftest.
$ac_ext
41026 cat >>conftest.
$ac_ext <<_ACEOF
41027 /* end confdefs.h. */
41030 #include <stdlib.h>
41031 #include <string.h>
41035 my_strdup (char *str)
41041 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41042 strcpy (new_str, str);
41050 int main (int argc, char *argv[])
41052 int major, minor, micro;
41055 /* This hangs on some systems (?)
41056 system ("touch conf.sdltest");
41058 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41060 /* HP/UX 9 (%@#!) writes to sscanf strings */
41061 tmp_version = my_strdup("$min_sdl_version");
41062 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41063 printf("%s, bad version string\n", "$min_sdl_version");
41067 if (($sdl_major_version > major) ||
41068 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41069 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41075 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41076 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41077 printf("*** best to upgrade to the required version.\n");
41078 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41079 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41080 printf("*** config.cache before re-running configure\n");
41087 rm -f conftest
$ac_exeext
41088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41089 (eval $ac_link) 2>&5
41091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41092 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
41093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41094 (eval $ac_try) 2>&5
41096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41097 (exit $ac_status); }; }; then
41100 echo "$as_me: program exited with status $ac_status" >&5
41101 echo "$as_me: failed program was:" >&5
41102 sed 's/^/| /' conftest.
$ac_ext >&5
41104 ( exit $ac_status )
41107 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41109 CFLAGS
="$ac_save_CFLAGS"
41110 CXXFLAGS
="$ac_save_CXXFLAGS"
41111 LIBS
="$ac_save_LIBS"
41114 if test "x$no_sdl" = x
; then
41115 echo "$as_me:$LINENO: result: yes" >&5
41116 echo "${ECHO_T}yes" >&6
41118 EXTRALIBS_SDL
="$SDL_LIBS"
41119 CFLAGS
="$SDL_CFLAGS $CFLAGS"
41120 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41121 cat >>confdefs.h
<<\_ACEOF
41122 #define wxUSE_LIBSDL 1
41127 echo "$as_me:$LINENO: result: no" >&5
41128 echo "${ECHO_T}no" >&6
41129 if test "$SDL_CONFIG" = "no" ; then
41130 echo "*** The sdl-config script installed by SDL could not be found"
41131 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41132 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41133 echo "*** full path to sdl-config."
41135 if test -f conf.sdltest
; then
41138 echo "*** Could not run SDL test program, checking why..."
41139 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41140 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41141 LIBS
="$LIBS $SDL_LIBS"
41142 cat >conftest.
$ac_ext <<_ACEOF
41145 cat confdefs.h
>>conftest.
$ac_ext
41146 cat >>conftest.
$ac_ext <<_ACEOF
41147 /* end confdefs.h. */
41152 int main(int argc, char *argv[])
41155 #define main K_and_R_C_main
41165 rm -f conftest.
$ac_objext conftest
$ac_exeext
41166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41167 (eval $ac_link) 2>conftest.er1
41169 grep -v '^ *+' conftest.er1
>conftest.err
41171 cat conftest.err
>&5
41172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41173 (exit $ac_status); } &&
41174 { ac_try
='test -z "$ac_c_werror_flag"
41175 || test ! -s conftest.err'
41176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41177 (eval $ac_try) 2>&5
41179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41180 (exit $ac_status); }; } &&
41181 { ac_try
='test -s conftest$ac_exeext'
41182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41183 (eval $ac_try) 2>&5
41185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41186 (exit $ac_status); }; }; then
41187 echo "*** The test program compiled, but did not run. This usually means"
41188 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41189 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41190 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41191 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41192 echo "*** is required on your system"
41194 echo "*** If you have an old version installed, it is best to remove it, although"
41195 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41197 echo "$as_me: failed program was:" >&5
41198 sed 's/^/| /' conftest.
$ac_ext >&5
41200 echo "*** The test program failed to compile or link. See the file config.log for the"
41201 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41202 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41203 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41205 rm -f conftest.err conftest.
$ac_objext \
41206 conftest
$ac_exeext conftest.
$ac_ext
41207 CFLAGS
="$ac_save_CFLAGS"
41208 CXXFLAGS
="$ac_save_CXXFLAGS"
41209 LIBS
="$ac_save_LIBS"
41220 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41225 if test "$wxUSE_MGL" = 1; then
41226 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41227 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41233 if test "$wxUSE_SOUND" = "yes"; then
41234 cat >>confdefs.h
<<\_ACEOF
41235 #define wxUSE_SOUND 1
41238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41241 if test "$WXGTK20" = 1; then
41244 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41245 if test -n "$ac_tool_prefix"; then
41246 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41247 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
41248 echo "$as_me:$LINENO: checking for $ac_word" >&5
41249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41250 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41251 echo $ECHO_N "(cached) $ECHO_C" >&6
41253 case $PKG_CONFIG in
41255 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41259 for as_dir
in $PATH
41262 test -z "$as_dir" && as_dir
=.
41263 for ac_exec_ext
in '' $ac_executable_extensions; do
41264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41265 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41275 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41277 if test -n "$PKG_CONFIG"; then
41278 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41279 echo "${ECHO_T}$PKG_CONFIG" >&6
41281 echo "$as_me:$LINENO: result: no" >&5
41282 echo "${ECHO_T}no" >&6
41286 if test -z "$ac_cv_path_PKG_CONFIG"; then
41287 ac_pt_PKG_CONFIG
=$PKG_CONFIG
41288 # Extract the first word of "pkg-config", so it can be a program name with args.
41289 set dummy pkg
-config; ac_word
=$2
41290 echo "$as_me:$LINENO: checking for $ac_word" >&5
41291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41292 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41293 echo $ECHO_N "(cached) $ECHO_C" >&6
41295 case $ac_pt_PKG_CONFIG in
41297 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41301 for as_dir
in $PATH
41304 test -z "$as_dir" && as_dir
=.
41305 for ac_exec_ext
in '' $ac_executable_extensions; do
41306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41307 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41317 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
41319 if test -n "$ac_pt_PKG_CONFIG"; then
41320 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41321 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
41323 echo "$as_me:$LINENO: result: no" >&5
41324 echo "${ECHO_T}no" >&6
41327 PKG_CONFIG
=$ac_pt_PKG_CONFIG
41329 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
41333 if test -n "$PKG_CONFIG"; then
41334 _pkg_min_version
=0.9.0
41335 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41336 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
41337 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41338 echo "$as_me:$LINENO: result: yes" >&5
41339 echo "${ECHO_T}yes" >&6
41341 echo "$as_me:$LINENO: result: no" >&5
41342 echo "${ECHO_T}no" >&6
41348 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41349 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41353 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41354 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
41356 if test -n "$PKG_CONFIG"; then
41357 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41358 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
41360 if test -n "$PKG_CONFIG" && \
41361 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41362 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41365 (exit $ac_status); }; then
41366 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41374 if test -n "$PKG_CONFIG"; then
41375 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41376 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
41378 if test -n "$PKG_CONFIG" && \
41379 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41380 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41383 (exit $ac_status); }; then
41384 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41395 if test $pkg_failed = yes; then
41397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41398 _pkg_short_errors_supported
=yes
41400 _pkg_short_errors_supported
=no
41402 if test $_pkg_short_errors_supported = yes; then
41403 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41405 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41407 # Put the nasty error message in config.log where it belongs
41408 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41411 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41412 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41413 wxUSE_LIBGNOMEPRINT
="no"
41416 elif test $pkg_failed = untried
; then
41418 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41419 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41420 wxUSE_LIBGNOMEPRINT
="no"
41424 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41425 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41426 echo "$as_me:$LINENO: result: yes" >&5
41427 echo "${ECHO_T}yes" >&6
41429 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41430 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41431 cat >>confdefs.h
<<\_ACEOF
41432 #define wxUSE_LIBGNOMEPRINT 1
41440 if test "$wxUSE_MIMETYPE" = "yes" ; then
41441 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41445 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41446 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
41448 if test -n "$PKG_CONFIG"; then
41449 if test -n "$GNOMEVFS_CFLAGS"; then
41450 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
41452 if test -n "$PKG_CONFIG" && \
41453 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41454 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41457 (exit $ac_status); }; then
41458 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41466 if test -n "$PKG_CONFIG"; then
41467 if test -n "$GNOMEVFS_LIBS"; then
41468 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
41470 if test -n "$PKG_CONFIG" && \
41471 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41472 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41475 (exit $ac_status); }; then
41476 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41487 if test $pkg_failed = yes; then
41489 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41490 _pkg_short_errors_supported
=yes
41492 _pkg_short_errors_supported
=no
41494 if test $_pkg_short_errors_supported = yes; then
41495 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41497 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41499 # Put the nasty error message in config.log where it belongs
41500 echo "$GNOMEVFS_PKG_ERRORS" >&5
41503 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41504 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41505 wxUSE_LIBGNOMEVFS
="no"
41508 elif test $pkg_failed = untried
; then
41510 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41511 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41512 wxUSE_LIBGNOMEVFS
="no"
41516 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
41517 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
41518 echo "$as_me:$LINENO: result: yes" >&5
41519 echo "${ECHO_T}yes" >&6
41521 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
41522 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41523 cat >>confdefs.h
<<\_ACEOF
41524 #define wxUSE_LIBGNOMEVFS 1
41532 if test "$wxUSE_LIBHILDON" = "yes" ; then
41535 echo "$as_me:$LINENO: checking for HILDON" >&5
41536 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
41538 if test -n "$PKG_CONFIG"; then
41539 if test -n "$HILDON_CFLAGS"; then
41540 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
41542 if test -n "$PKG_CONFIG" && \
41543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41544 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41547 (exit $ac_status); }; then
41548 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41556 if test -n "$PKG_CONFIG"; then
41557 if test -n "$HILDON_LIBS"; then
41558 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
41560 if test -n "$PKG_CONFIG" && \
41561 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41562 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41565 (exit $ac_status); }; then
41566 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41577 if test $pkg_failed = yes; then
41579 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41580 _pkg_short_errors_supported
=yes
41582 _pkg_short_errors_supported
=no
41584 if test $_pkg_short_errors_supported = yes; then
41585 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41587 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41589 # Put the nasty error message in config.log where it belongs
41590 echo "$HILDON_PKG_ERRORS" >&5
41593 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41594 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41595 wxUSE_LIBHILDON
="no"
41598 elif test $pkg_failed = untried
; then
41600 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41601 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41602 wxUSE_LIBHILDON
="no"
41606 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
41607 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
41608 echo "$as_me:$LINENO: result: yes" >&5
41609 echo "${ECHO_T}yes" >&6
41611 EXTRALIBS_HILDON
="$HILDON_LIBS"
41612 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
41613 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41614 cat >>confdefs.h
<<\_ACEOF
41615 #define wxUSE_LIBHILDON 1
41623 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41624 cat >>confdefs.h
<<\_ACEOF
41625 #define wxUSE_CMDLINE_PARSER 1
41630 if test "$wxUSE_STOPWATCH" = "yes"; then
41631 cat >>confdefs.h
<<\_ACEOF
41632 #define wxUSE_STOPWATCH 1
41637 if test "$wxUSE_DATETIME" = "yes"; then
41638 cat >>confdefs.h
<<\_ACEOF
41639 #define wxUSE_DATETIME 1
41644 if test "$wxUSE_FILE" = "yes"; then
41645 cat >>confdefs.h
<<\_ACEOF
41646 #define wxUSE_FILE 1
41651 if test "$wxUSE_FFILE" = "yes"; then
41652 cat >>confdefs.h
<<\_ACEOF
41653 #define wxUSE_FFILE 1
41658 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41659 if test "$wxUSE_STREAMS" != yes; then
41660 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41661 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41662 wxUSE_ARCHIVE_STREAMS
=no
41664 cat >>confdefs.h
<<\_ACEOF
41665 #define wxUSE_ARCHIVE_STREAMS 1
41671 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41672 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41673 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41674 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41675 elif test "$wxUSE_ZLIB" = "no"; then
41676 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41677 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41679 cat >>confdefs.h
<<\_ACEOF
41680 #define wxUSE_ZIPSTREAM 1
41686 if test "$wxUSE_TARSTREAM" = "yes"; then
41687 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41688 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41689 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41691 cat >>confdefs.h
<<\_ACEOF
41692 #define wxUSE_TARSTREAM 1
41698 if test "$wxUSE_FILESYSTEM" = "yes"; then
41699 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
41700 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41701 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41702 wxUSE_FILESYSTEM
=no
41704 cat >>confdefs.h
<<\_ACEOF
41705 #define wxUSE_FILESYSTEM 1
41711 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41712 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41713 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41714 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41716 cat >>confdefs.h
<<\_ACEOF
41717 #define wxUSE_FS_ARCHIVE 1
41723 if test "$wxUSE_FS_ZIP" = "yes"; then
41724 if test "$wxUSE_FS_ARCHIVE" != yes; then
41725 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41726 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41728 cat >>confdefs.h
<<\_ACEOF
41729 #define wxUSE_FS_ZIP 1
41735 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41736 if test "$USE_UNIX" != 1; then
41737 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41738 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41739 wxUSE_ON_FATAL_EXCEPTION
=no
41741 cat >>confdefs.h
<<\_ACEOF
41742 #define wxUSE_ON_FATAL_EXCEPTION 1
41748 if test "$wxUSE_STACKWALKER" = "yes"; then
41749 cat >>confdefs.h
<<\_ACEOF
41750 #define wxUSE_STACKWALKER 1
41755 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41756 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41757 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41758 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41759 wxUSE_DEBUGREPORT
=no
41761 cat >>confdefs.h
<<\_ACEOF
41762 #define wxUSE_DEBUGREPORT 1
41765 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41766 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41771 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41772 cat >>confdefs.h
<<\_ACEOF
41773 #define wxUSE_SNGLINST_CHECKER 1
41778 if test "$wxUSE_BUSYINFO" = "yes"; then
41779 cat >>confdefs.h
<<\_ACEOF
41780 #define wxUSE_BUSYINFO 1
41785 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41786 cat >>confdefs.h
<<\_ACEOF
41787 #define wxUSE_STD_IOSTREAM 1
41792 if test "$wxUSE_STD_STRING" = "yes"; then
41793 cat >>confdefs.h
<<\_ACEOF
41794 #define wxUSE_STD_STRING 1
41799 if test "$wxUSE_STDPATHS" = "yes"; then
41800 cat >>confdefs.h
<<\_ACEOF
41801 #define wxUSE_STDPATHS 1
41806 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41807 cat >>confdefs.h
<<\_ACEOF
41808 #define wxUSE_TEXTBUFFER 1
41813 if test "$wxUSE_TEXTFILE" = "yes"; then
41814 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41815 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41816 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41818 cat >>confdefs.h
<<\_ACEOF
41819 #define wxUSE_TEXTFILE 1
41825 if test "$wxUSE_CONFIG" = "yes" ; then
41826 if test "$wxUSE_TEXTFILE" != "yes"; then
41827 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41828 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41830 cat >>confdefs.h
<<\_ACEOF
41831 #define wxUSE_CONFIG 1
41834 cat >>confdefs.h
<<\_ACEOF
41835 #define wxUSE_CONFIG_NATIVE 1
41838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41842 if test "$wxUSE_INTL" = "yes" ; then
41843 if test "$wxUSE_FILE" != "yes"; then
41844 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41845 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41847 cat >>confdefs.h
<<\_ACEOF
41848 #define wxUSE_INTL 1
41851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
41852 GUIDIST
="$GUIDIST INTL_DIST"
41856 if test "$wxUSE_LOG" = "yes"; then
41857 cat >>confdefs.h
<<\_ACEOF
41858 #define wxUSE_LOG 1
41862 if test "$wxUSE_LOGGUI" = "yes"; then
41863 cat >>confdefs.h
<<\_ACEOF
41864 #define wxUSE_LOGGUI 1
41869 if test "$wxUSE_LOGWINDOW" = "yes"; then
41870 cat >>confdefs.h
<<\_ACEOF
41871 #define wxUSE_LOGWINDOW 1
41876 if test "$wxUSE_LOGDIALOG" = "yes"; then
41877 cat >>confdefs.h
<<\_ACEOF
41878 #define wxUSE_LOG_DIALOG 1
41883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
41886 if test "$wxUSE_LONGLONG" = "yes"; then
41887 cat >>confdefs.h
<<\_ACEOF
41888 #define wxUSE_LONGLONG 1
41893 if test "$wxUSE_GEOMETRY" = "yes"; then
41894 cat >>confdefs.h
<<\_ACEOF
41895 #define wxUSE_GEOMETRY 1
41900 if test "$wxUSE_STREAMS" = "yes" ; then
41901 cat >>confdefs.h
<<\_ACEOF
41902 #define wxUSE_STREAMS 1
41907 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
41908 cat >>confdefs.h
<<\_ACEOF
41909 #define wxUSE_PRINTF_POS_PARAMS 1
41916 if test "$wxUSE_DATETIME" = "yes"; then
41918 for ac_func
in strptime
41920 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41921 echo "$as_me:$LINENO: checking for $ac_func" >&5
41922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41923 if eval "test \"\${$as_ac_var+set}\" = set"; then
41924 echo $ECHO_N "(cached) $ECHO_C" >&6
41926 cat >conftest.
$ac_ext <<_ACEOF
41929 cat confdefs.h
>>conftest.
$ac_ext
41930 cat >>conftest.
$ac_ext <<_ACEOF
41931 /* end confdefs.h. */
41932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41934 #define $ac_func innocuous_$ac_func
41936 /* System header to define __stub macros and hopefully few prototypes,
41937 which can conflict with char $ac_func (); below.
41938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41939 <limits.h> exists even on freestanding compilers. */
41942 # include <limits.h>
41944 # include <assert.h>
41949 /* Override any gcc2 internal prototype to avoid an error. */
41954 /* We use char because int might match the return type of a gcc2
41955 builtin and then its argument prototype would still apply. */
41957 /* The GNU C library defines this for functions which it implements
41958 to always fail with ENOSYS. Some functions are actually named
41959 something starting with __ and the normal name is an alias. */
41960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41963 char (*f) () = $ac_func;
41972 return f != $ac_func;
41977 rm -f conftest.
$ac_objext conftest
$ac_exeext
41978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41979 (eval $ac_link) 2>conftest.er1
41981 grep -v '^ *+' conftest.er1
>conftest.err
41983 cat conftest.err
>&5
41984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41985 (exit $ac_status); } &&
41986 { ac_try
='test -z "$ac_c_werror_flag"
41987 || test ! -s conftest.err'
41988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41989 (eval $ac_try) 2>&5
41991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41992 (exit $ac_status); }; } &&
41993 { ac_try
='test -s conftest$ac_exeext'
41994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41995 (eval $ac_try) 2>&5
41997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41998 (exit $ac_status); }; }; then
41999 eval "$as_ac_var=yes"
42001 echo "$as_me: failed program was:" >&5
42002 sed 's/^/| /' conftest.
$ac_ext >&5
42004 eval "$as_ac_var=no"
42006 rm -f conftest.err conftest.
$ac_objext \
42007 conftest
$ac_exeext conftest.
$ac_ext
42009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42011 if test `eval echo '${'$as_ac_var'}'` = yes; then
42012 cat >>confdefs.h
<<_ACEOF
42013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42019 if test "$ac_cv_func_strptime" = "yes"; then
42020 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42021 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42022 if test "${wx_cv_func_strptime_decl+set}" = set; then
42023 echo $ECHO_N "(cached) $ECHO_C" >&6
42027 ac_cpp
='$CXXCPP $CPPFLAGS'
42028 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42029 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42030 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42032 cat >conftest.
$ac_ext <<_ACEOF
42035 cat confdefs.h
>>conftest.
$ac_ext
42036 cat >>conftest.
$ac_ext <<_ACEOF
42037 /* end confdefs.h. */
42046 strptime("foo", "bar", &t);
42052 rm -f conftest.
$ac_objext
42053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42054 (eval $ac_compile) 2>conftest.er1
42056 grep -v '^ *+' conftest.er1
>conftest.err
42058 cat conftest.err
>&5
42059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42060 (exit $ac_status); } &&
42061 { ac_try
='test -z "$ac_cxx_werror_flag"
42062 || test ! -s conftest.err'
42063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42064 (eval $ac_try) 2>&5
42066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42067 (exit $ac_status); }; } &&
42068 { ac_try
='test -s conftest.$ac_objext'
42069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42070 (eval $ac_try) 2>&5
42072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42073 (exit $ac_status); }; }; then
42074 wx_cv_func_strptime_decl
=yes
42076 echo "$as_me: failed program was:" >&5
42077 sed 's/^/| /' conftest.
$ac_ext >&5
42079 wx_cv_func_strptime_decl
=no
42082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42084 ac_cpp
='$CPP $CPPFLAGS'
42085 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42086 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42087 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42092 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42093 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
42095 if test "$wx_cv_func_strptime_decl" = "yes"; then
42096 cat >>confdefs.h
<<\_ACEOF
42097 #define HAVE_STRPTIME_DECL 1
42102 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42103 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
42104 if test "${wx_cv_var_timezone+set}" = set; then
42105 echo $ECHO_N "(cached) $ECHO_C" >&6
42109 ac_cpp
='$CXXCPP $CPPFLAGS'
42110 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42111 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42112 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42114 cat >conftest.
$ac_ext <<_ACEOF
42117 cat confdefs.h
>>conftest.
$ac_ext
42118 cat >>conftest.
$ac_ext <<_ACEOF
42119 /* end confdefs.h. */
42134 rm -f conftest.
$ac_objext
42135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42136 (eval $ac_compile) 2>conftest.er1
42138 grep -v '^ *+' conftest.er1
>conftest.err
42140 cat conftest.err
>&5
42141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42142 (exit $ac_status); } &&
42143 { ac_try
='test -z "$ac_cxx_werror_flag"
42144 || test ! -s conftest.err'
42145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42146 (eval $ac_try) 2>&5
42148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42149 (exit $ac_status); }; } &&
42150 { ac_try
='test -s conftest.$ac_objext'
42151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42152 (eval $ac_try) 2>&5
42154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42155 (exit $ac_status); }; }; then
42157 wx_cv_var_timezone
=timezone
42160 echo "$as_me: failed program was:" >&5
42161 sed 's/^/| /' conftest.
$ac_ext >&5
42164 cat >conftest.
$ac_ext <<_ACEOF
42167 cat confdefs.h
>>conftest.
$ac_ext
42168 cat >>conftest.
$ac_ext <<_ACEOF
42169 /* end confdefs.h. */
42184 rm -f conftest.
$ac_objext
42185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42186 (eval $ac_compile) 2>conftest.er1
42188 grep -v '^ *+' conftest.er1
>conftest.err
42190 cat conftest.err
>&5
42191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42192 (exit $ac_status); } &&
42193 { ac_try
='test -z "$ac_cxx_werror_flag"
42194 || test ! -s conftest.err'
42195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42196 (eval $ac_try) 2>&5
42198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42199 (exit $ac_status); }; } &&
42200 { ac_try
='test -s conftest.$ac_objext'
42201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42202 (eval $ac_try) 2>&5
42204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42205 (exit $ac_status); }; }; then
42207 wx_cv_var_timezone
=_timezone
42210 echo "$as_me: failed program was:" >&5
42211 sed 's/^/| /' conftest.
$ac_ext >&5
42214 cat >conftest.
$ac_ext <<_ACEOF
42217 cat confdefs.h
>>conftest.
$ac_ext
42218 cat >>conftest.
$ac_ext <<_ACEOF
42219 /* end confdefs.h. */
42234 rm -f conftest.
$ac_objext
42235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42236 (eval $ac_compile) 2>conftest.er1
42238 grep -v '^ *+' conftest.er1
>conftest.err
42240 cat conftest.err
>&5
42241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42242 (exit $ac_status); } &&
42243 { ac_try
='test -z "$ac_cxx_werror_flag"
42244 || test ! -s conftest.err'
42245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42246 (eval $ac_try) 2>&5
42248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42249 (exit $ac_status); }; } &&
42250 { ac_try
='test -s conftest.$ac_objext'
42251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42252 (eval $ac_try) 2>&5
42254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42255 (exit $ac_status); }; }; then
42257 wx_cv_var_timezone
=__timezone
42260 echo "$as_me: failed program was:" >&5
42261 sed 's/^/| /' conftest.
$ac_ext >&5
42264 if test "$USE_DOS" = 0 ; then
42265 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42266 echo "$as_me: WARNING: no timezone variable" >&2;}
42271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42281 ac_cpp
='$CPP $CPPFLAGS'
42282 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42283 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42284 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42289 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42290 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42292 if test "x$wx_cv_var_timezone" != x
; then
42293 cat >>confdefs.h
<<_ACEOF
42294 #define WX_TIMEZONE $wx_cv_var_timezone
42300 for ac_func
in localtime
42302 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42303 echo "$as_me:$LINENO: checking for $ac_func" >&5
42304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42305 if eval "test \"\${$as_ac_var+set}\" = set"; then
42306 echo $ECHO_N "(cached) $ECHO_C" >&6
42308 cat >conftest.
$ac_ext <<_ACEOF
42311 cat confdefs.h
>>conftest.
$ac_ext
42312 cat >>conftest.
$ac_ext <<_ACEOF
42313 /* end confdefs.h. */
42314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42316 #define $ac_func innocuous_$ac_func
42318 /* System header to define __stub macros and hopefully few prototypes,
42319 which can conflict with char $ac_func (); below.
42320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42321 <limits.h> exists even on freestanding compilers. */
42324 # include <limits.h>
42326 # include <assert.h>
42331 /* Override any gcc2 internal prototype to avoid an error. */
42336 /* We use char because int might match the return type of a gcc2
42337 builtin and then its argument prototype would still apply. */
42339 /* The GNU C library defines this for functions which it implements
42340 to always fail with ENOSYS. Some functions are actually named
42341 something starting with __ and the normal name is an alias. */
42342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42345 char (*f) () = $ac_func;
42354 return f != $ac_func;
42359 rm -f conftest.
$ac_objext conftest
$ac_exeext
42360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42361 (eval $ac_link) 2>conftest.er1
42363 grep -v '^ *+' conftest.er1
>conftest.err
42365 cat conftest.err
>&5
42366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42367 (exit $ac_status); } &&
42368 { ac_try
='test -z "$ac_c_werror_flag"
42369 || test ! -s conftest.err'
42370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42371 (eval $ac_try) 2>&5
42373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42374 (exit $ac_status); }; } &&
42375 { ac_try
='test -s conftest$ac_exeext'
42376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42377 (eval $ac_try) 2>&5
42379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42380 (exit $ac_status); }; }; then
42381 eval "$as_ac_var=yes"
42383 echo "$as_me: failed program was:" >&5
42384 sed 's/^/| /' conftest.
$ac_ext >&5
42386 eval "$as_ac_var=no"
42388 rm -f conftest.err conftest.
$ac_objext \
42389 conftest
$ac_exeext conftest.
$ac_ext
42391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42393 if test `eval echo '${'$as_ac_var'}'` = yes; then
42394 cat >>confdefs.h
<<_ACEOF
42395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42402 if test "$ac_cv_func_localtime" = "yes"; then
42403 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42404 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42405 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42406 echo $ECHO_N "(cached) $ECHO_C" >&6
42409 cat >conftest.
$ac_ext <<_ACEOF
42412 cat confdefs.h
>>conftest.
$ac_ext
42413 cat >>conftest.
$ac_ext <<_ACEOF
42414 /* end confdefs.h. */
42429 rm -f conftest.
$ac_objext
42430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42431 (eval $ac_compile) 2>conftest.er1
42433 grep -v '^ *+' conftest.er1
>conftest.err
42435 cat conftest.err
>&5
42436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42437 (exit $ac_status); } &&
42438 { ac_try
='test -z "$ac_c_werror_flag"
42439 || test ! -s conftest.err'
42440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42441 (eval $ac_try) 2>&5
42443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42444 (exit $ac_status); }; } &&
42445 { ac_try
='test -s conftest.$ac_objext'
42446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42447 (eval $ac_try) 2>&5
42449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42450 (exit $ac_status); }; }; then
42452 wx_cv_struct_tm_has_gmtoff
=yes
42455 echo "$as_me: failed program was:" >&5
42456 sed 's/^/| /' conftest.
$ac_ext >&5
42458 wx_cv_struct_tm_has_gmtoff
=no
42461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42464 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42465 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42468 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42469 cat >>confdefs.h
<<\_ACEOF
42470 #define WX_GMTOFF_IN_TM 1
42477 for ac_func
in gettimeofday ftime
42479 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42480 echo "$as_me:$LINENO: checking for $ac_func" >&5
42481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42482 if eval "test \"\${$as_ac_var+set}\" = set"; then
42483 echo $ECHO_N "(cached) $ECHO_C" >&6
42485 cat >conftest.
$ac_ext <<_ACEOF
42488 cat confdefs.h
>>conftest.
$ac_ext
42489 cat >>conftest.
$ac_ext <<_ACEOF
42490 /* end confdefs.h. */
42491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42493 #define $ac_func innocuous_$ac_func
42495 /* System header to define __stub macros and hopefully few prototypes,
42496 which can conflict with char $ac_func (); below.
42497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42498 <limits.h> exists even on freestanding compilers. */
42501 # include <limits.h>
42503 # include <assert.h>
42508 /* Override any gcc2 internal prototype to avoid an error. */
42513 /* We use char because int might match the return type of a gcc2
42514 builtin and then its argument prototype would still apply. */
42516 /* The GNU C library defines this for functions which it implements
42517 to always fail with ENOSYS. Some functions are actually named
42518 something starting with __ and the normal name is an alias. */
42519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42522 char (*f) () = $ac_func;
42531 return f != $ac_func;
42536 rm -f conftest.
$ac_objext conftest
$ac_exeext
42537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42538 (eval $ac_link) 2>conftest.er1
42540 grep -v '^ *+' conftest.er1
>conftest.err
42542 cat conftest.err
>&5
42543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42544 (exit $ac_status); } &&
42545 { ac_try
='test -z "$ac_c_werror_flag"
42546 || test ! -s conftest.err'
42547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42548 (eval $ac_try) 2>&5
42550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42551 (exit $ac_status); }; } &&
42552 { ac_try
='test -s conftest$ac_exeext'
42553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42554 (eval $ac_try) 2>&5
42556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42557 (exit $ac_status); }; }; then
42558 eval "$as_ac_var=yes"
42560 echo "$as_me: failed program was:" >&5
42561 sed 's/^/| /' conftest.
$ac_ext >&5
42563 eval "$as_ac_var=no"
42565 rm -f conftest.err conftest.
$ac_objext \
42566 conftest
$ac_exeext conftest.
$ac_ext
42568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42570 if test `eval echo '${'$as_ac_var'}'` = yes; then
42571 cat >>confdefs.h
<<_ACEOF
42572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42579 if test "$ac_cv_func_gettimeofday" = "yes"; then
42580 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42581 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42582 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42583 echo $ECHO_N "(cached) $ECHO_C" >&6
42586 cat >conftest.
$ac_ext <<_ACEOF
42589 cat confdefs.h
>>conftest.
$ac_ext
42590 cat >>conftest.
$ac_ext <<_ACEOF
42591 /* end confdefs.h. */
42593 #include <sys/time.h>
42594 #include <unistd.h>
42601 gettimeofday(&tv, NULL);
42607 rm -f conftest.
$ac_objext
42608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42609 (eval $ac_compile) 2>conftest.er1
42611 grep -v '^ *+' conftest.er1
>conftest.err
42613 cat conftest.err
>&5
42614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42615 (exit $ac_status); } &&
42616 { ac_try
='test -z "$ac_c_werror_flag"
42617 || test ! -s conftest.err'
42618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42619 (eval $ac_try) 2>&5
42621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42622 (exit $ac_status); }; } &&
42623 { ac_try
='test -s conftest.$ac_objext'
42624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42625 (eval $ac_try) 2>&5
42627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42628 (exit $ac_status); }; }; then
42629 wx_cv_func_gettimeofday_has_2_args
=yes
42631 echo "$as_me: failed program was:" >&5
42632 sed 's/^/| /' conftest.
$ac_ext >&5
42634 cat >conftest.
$ac_ext <<_ACEOF
42637 cat confdefs.h
>>conftest.
$ac_ext
42638 cat >>conftest.
$ac_ext <<_ACEOF
42639 /* end confdefs.h. */
42641 #include <sys/time.h>
42642 #include <unistd.h>
42655 rm -f conftest.
$ac_objext
42656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42657 (eval $ac_compile) 2>conftest.er1
42659 grep -v '^ *+' conftest.er1
>conftest.err
42661 cat conftest.err
>&5
42662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42663 (exit $ac_status); } &&
42664 { ac_try
='test -z "$ac_c_werror_flag"
42665 || test ! -s conftest.err'
42666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42667 (eval $ac_try) 2>&5
42669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42670 (exit $ac_status); }; } &&
42671 { ac_try
='test -s conftest.$ac_objext'
42672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42673 (eval $ac_try) 2>&5
42675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42676 (exit $ac_status); }; }; then
42677 wx_cv_func_gettimeofday_has_2_args
=no
42679 echo "$as_me: failed program was:" >&5
42680 sed 's/^/| /' conftest.
$ac_ext >&5
42683 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42684 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42685 wx_cv_func_gettimeofday_has_2_args
=unknown
42689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42695 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42696 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42698 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42699 cat >>confdefs.h
<<\_ACEOF
42700 #define WX_GETTIMEOFDAY_NO_TZ 1
42706 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42710 if test "$wxUSE_SOCKETS" = "yes"; then
42711 if test "$wxUSE_MGL" = "1"; then
42712 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42713 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42718 if test "$wxUSE_SOCKETS" = "yes"; then
42719 if test "$TOOLKIT" != "MSW"; then
42720 echo "$as_me:$LINENO: checking for socket" >&5
42721 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42722 if test "${ac_cv_func_socket+set}" = set; then
42723 echo $ECHO_N "(cached) $ECHO_C" >&6
42725 cat >conftest.
$ac_ext <<_ACEOF
42728 cat confdefs.h
>>conftest.
$ac_ext
42729 cat >>conftest.
$ac_ext <<_ACEOF
42730 /* end confdefs.h. */
42731 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42733 #define socket innocuous_socket
42735 /* System header to define __stub macros and hopefully few prototypes,
42736 which can conflict with char socket (); below.
42737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42738 <limits.h> exists even on freestanding compilers. */
42741 # include <limits.h>
42743 # include <assert.h>
42748 /* Override any gcc2 internal prototype to avoid an error. */
42753 /* We use char because int might match the return type of a gcc2
42754 builtin and then its argument prototype would still apply. */
42756 /* The GNU C library defines this for functions which it implements
42757 to always fail with ENOSYS. Some functions are actually named
42758 something starting with __ and the normal name is an alias. */
42759 #if defined (__stub_socket) || defined (__stub___socket)
42762 char (*f) () = socket;
42771 return f != socket;
42776 rm -f conftest.
$ac_objext conftest
$ac_exeext
42777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42778 (eval $ac_link) 2>conftest.er1
42780 grep -v '^ *+' conftest.er1
>conftest.err
42782 cat conftest.err
>&5
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); } &&
42785 { ac_try
='test -z "$ac_c_werror_flag"
42786 || test ! -s conftest.err'
42787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42788 (eval $ac_try) 2>&5
42790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42791 (exit $ac_status); }; } &&
42792 { ac_try
='test -s conftest$ac_exeext'
42793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42794 (eval $ac_try) 2>&5
42796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42797 (exit $ac_status); }; }; then
42798 ac_cv_func_socket
=yes
42800 echo "$as_me: failed program was:" >&5
42801 sed 's/^/| /' conftest.
$ac_ext >&5
42803 ac_cv_func_socket
=no
42805 rm -f conftest.err conftest.
$ac_objext \
42806 conftest
$ac_exeext conftest.
$ac_ext
42808 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42809 echo "${ECHO_T}$ac_cv_func_socket" >&6
42810 if test $ac_cv_func_socket = yes; then
42814 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42815 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42816 if test "${ac_cv_lib_socket_socket+set}" = set; then
42817 echo $ECHO_N "(cached) $ECHO_C" >&6
42819 ac_check_lib_save_LIBS
=$LIBS
42820 LIBS
="-lsocket $LIBS"
42821 cat >conftest.
$ac_ext <<_ACEOF
42824 cat confdefs.h
>>conftest.
$ac_ext
42825 cat >>conftest.
$ac_ext <<_ACEOF
42826 /* end confdefs.h. */
42828 /* Override any gcc2 internal prototype to avoid an error. */
42832 /* We use char because int might match the return type of a gcc2
42833 builtin and then its argument prototype would still apply. */
42843 rm -f conftest.
$ac_objext conftest
$ac_exeext
42844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42845 (eval $ac_link) 2>conftest.er1
42847 grep -v '^ *+' conftest.er1
>conftest.err
42849 cat conftest.err
>&5
42850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42851 (exit $ac_status); } &&
42852 { ac_try
='test -z "$ac_c_werror_flag"
42853 || test ! -s conftest.err'
42854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42855 (eval $ac_try) 2>&5
42857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42858 (exit $ac_status); }; } &&
42859 { ac_try
='test -s conftest$ac_exeext'
42860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42861 (eval $ac_try) 2>&5
42863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42864 (exit $ac_status); }; }; then
42865 ac_cv_lib_socket_socket
=yes
42867 echo "$as_me: failed program was:" >&5
42868 sed 's/^/| /' conftest.
$ac_ext >&5
42870 ac_cv_lib_socket_socket
=no
42872 rm -f conftest.err conftest.
$ac_objext \
42873 conftest
$ac_exeext conftest.
$ac_ext
42874 LIBS
=$ac_check_lib_save_LIBS
42876 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42877 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42878 if test $ac_cv_lib_socket_socket = yes; then
42879 if test "$INET_LINK" != " -lsocket"; then
42880 INET_LINK
="$INET_LINK -lsocket"
42884 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42885 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42898 if test "$wxUSE_SOCKETS" = "yes" ; then
42899 if test "$TOOLKIT" != "MSW"; then
42900 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42901 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42902 if test "${wx_cv_type_getsockname3+set}" = set; then
42903 echo $ECHO_N "(cached) $ECHO_C" >&6
42907 ac_cpp
='$CXXCPP $CPPFLAGS'
42908 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42909 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42910 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42912 cat >conftest.
$ac_ext <<_ACEOF
42915 cat confdefs.h
>>conftest.
$ac_ext
42916 cat >>conftest.
$ac_ext <<_ACEOF
42917 /* end confdefs.h. */
42919 #include <sys/types.h>
42920 #include <sys/socket.h>
42927 getsockname(0, 0, &len);
42933 rm -f conftest.
$ac_objext
42934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42935 (eval $ac_compile) 2>conftest.er1
42937 grep -v '^ *+' conftest.er1
>conftest.err
42939 cat conftest.err
>&5
42940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42941 (exit $ac_status); } &&
42942 { ac_try
='test -z "$ac_cxx_werror_flag"
42943 || test ! -s conftest.err'
42944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42945 (eval $ac_try) 2>&5
42947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42948 (exit $ac_status); }; } &&
42949 { ac_try
='test -s conftest.$ac_objext'
42950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42951 (eval $ac_try) 2>&5
42953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42954 (exit $ac_status); }; }; then
42955 wx_cv_type_getsockname3
=socklen_t
42957 echo "$as_me: failed program was:" >&5
42958 sed 's/^/| /' conftest.
$ac_ext >&5
42961 CFLAGS_OLD
="$CFLAGS"
42962 if test "$GCC" = yes ; then
42963 CFLAGS
="-Werror $CFLAGS"
42966 cat >conftest.
$ac_ext <<_ACEOF
42969 cat confdefs.h
>>conftest.
$ac_ext
42970 cat >>conftest.
$ac_ext <<_ACEOF
42971 /* end confdefs.h. */
42973 #include <sys/types.h>
42974 #include <sys/socket.h>
42981 getsockname(0, 0, &len);
42987 rm -f conftest.
$ac_objext
42988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42989 (eval $ac_compile) 2>conftest.er1
42991 grep -v '^ *+' conftest.er1
>conftest.err
42993 cat conftest.err
>&5
42994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42995 (exit $ac_status); } &&
42996 { ac_try
='test -z "$ac_cxx_werror_flag"
42997 || test ! -s conftest.err'
42998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42999 (eval $ac_try) 2>&5
43001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43002 (exit $ac_status); }; } &&
43003 { ac_try
='test -s conftest.$ac_objext'
43004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43005 (eval $ac_try) 2>&5
43007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43008 (exit $ac_status); }; }; then
43009 wx_cv_type_getsockname3
=size_t
43011 echo "$as_me: failed program was:" >&5
43012 sed 's/^/| /' conftest.
$ac_ext >&5
43014 cat >conftest.
$ac_ext <<_ACEOF
43017 cat confdefs.h
>>conftest.
$ac_ext
43018 cat >>conftest.
$ac_ext <<_ACEOF
43019 /* end confdefs.h. */
43021 #include <sys/types.h>
43022 #include <sys/socket.h>
43029 getsockname(0, 0, &len);
43035 rm -f conftest.
$ac_objext
43036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43037 (eval $ac_compile) 2>conftest.er1
43039 grep -v '^ *+' conftest.er1
>conftest.err
43041 cat conftest.err
>&5
43042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43043 (exit $ac_status); } &&
43044 { ac_try
='test -z "$ac_cxx_werror_flag"
43045 || test ! -s conftest.err'
43046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43047 (eval $ac_try) 2>&5
43049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43050 (exit $ac_status); }; } &&
43051 { ac_try
='test -s conftest.$ac_objext'
43052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43053 (eval $ac_try) 2>&5
43055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43056 (exit $ac_status); }; }; then
43057 wx_cv_type_getsockname3
=int
43059 echo "$as_me: failed program was:" >&5
43060 sed 's/^/| /' conftest.
$ac_ext >&5
43062 wx_cv_type_getsockname3
=unknown
43065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43070 CFLAGS
="$CFLAGS_OLD"
43074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43076 ac_cpp
='$CPP $CPPFLAGS'
43077 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43078 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43079 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43083 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43084 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43086 if test "$wx_cv_type_getsockname3" = "unknown"; then
43088 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43089 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43091 cat >>confdefs.h
<<_ACEOF
43092 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43096 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43097 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43098 if test "${wx_cv_type_getsockopt5+set}" = set; then
43099 echo $ECHO_N "(cached) $ECHO_C" >&6
43103 ac_cpp
='$CXXCPP $CPPFLAGS'
43104 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43105 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43106 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43108 cat >conftest.
$ac_ext <<_ACEOF
43111 cat confdefs.h
>>conftest.
$ac_ext
43112 cat >>conftest.
$ac_ext <<_ACEOF
43113 /* end confdefs.h. */
43115 #include <sys/types.h>
43116 #include <sys/socket.h>
43123 getsockopt(0, 0, 0, 0, &len);
43129 rm -f conftest.
$ac_objext
43130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43131 (eval $ac_compile) 2>conftest.er1
43133 grep -v '^ *+' conftest.er1
>conftest.err
43135 cat conftest.err
>&5
43136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43137 (exit $ac_status); } &&
43138 { ac_try
='test -z "$ac_cxx_werror_flag"
43139 || test ! -s conftest.err'
43140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43141 (eval $ac_try) 2>&5
43143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43144 (exit $ac_status); }; } &&
43145 { ac_try
='test -s conftest.$ac_objext'
43146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43147 (eval $ac_try) 2>&5
43149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43150 (exit $ac_status); }; }; then
43151 wx_cv_type_getsockopt5
=socklen_t
43153 echo "$as_me: failed program was:" >&5
43154 sed 's/^/| /' conftest.
$ac_ext >&5
43157 cat >conftest.
$ac_ext <<_ACEOF
43160 cat confdefs.h
>>conftest.
$ac_ext
43161 cat >>conftest.
$ac_ext <<_ACEOF
43162 /* end confdefs.h. */
43164 #include <sys/types.h>
43165 #include <sys/socket.h>
43172 getsockopt(0, 0, 0, 0, &len);
43178 rm -f conftest.
$ac_objext
43179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43180 (eval $ac_compile) 2>conftest.er1
43182 grep -v '^ *+' conftest.er1
>conftest.err
43184 cat conftest.err
>&5
43185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43186 (exit $ac_status); } &&
43187 { ac_try
='test -z "$ac_cxx_werror_flag"
43188 || test ! -s conftest.err'
43189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43190 (eval $ac_try) 2>&5
43192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43193 (exit $ac_status); }; } &&
43194 { ac_try
='test -s conftest.$ac_objext'
43195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43196 (eval $ac_try) 2>&5
43198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43199 (exit $ac_status); }; }; then
43200 wx_cv_type_getsockopt5
=size_t
43202 echo "$as_me: failed program was:" >&5
43203 sed 's/^/| /' conftest.
$ac_ext >&5
43205 cat >conftest.
$ac_ext <<_ACEOF
43208 cat confdefs.h
>>conftest.
$ac_ext
43209 cat >>conftest.
$ac_ext <<_ACEOF
43210 /* end confdefs.h. */
43212 #include <sys/types.h>
43213 #include <sys/socket.h>
43220 getsockopt(0, 0, 0, 0, &len);
43226 rm -f conftest.
$ac_objext
43227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43228 (eval $ac_compile) 2>conftest.er1
43230 grep -v '^ *+' conftest.er1
>conftest.err
43232 cat conftest.err
>&5
43233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43234 (exit $ac_status); } &&
43235 { ac_try
='test -z "$ac_cxx_werror_flag"
43236 || test ! -s conftest.err'
43237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43238 (eval $ac_try) 2>&5
43240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43241 (exit $ac_status); }; } &&
43242 { ac_try
='test -s conftest.$ac_objext'
43243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43244 (eval $ac_try) 2>&5
43246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43247 (exit $ac_status); }; }; then
43248 wx_cv_type_getsockopt5
=int
43250 echo "$as_me: failed program was:" >&5
43251 sed 's/^/| /' conftest.
$ac_ext >&5
43253 wx_cv_type_getsockopt5
=unknown
43256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43265 ac_cpp
='$CPP $CPPFLAGS'
43266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43272 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43273 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43275 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43277 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43278 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43280 cat >>confdefs.h
<<_ACEOF
43281 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43288 if test "$wxUSE_SOCKETS" = "yes" ; then
43289 cat >>confdefs.h
<<\_ACEOF
43290 #define wxUSE_SOCKETS 1
43293 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
43296 if test "$wxUSE_PROTOCOL" = "yes"; then
43297 if test "$wxUSE_SOCKETS" != "yes"; then
43298 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43299 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43304 if test "$wxUSE_PROTOCOL" = "yes"; then
43305 cat >>confdefs.h
<<\_ACEOF
43306 #define wxUSE_PROTOCOL 1
43310 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43311 cat >>confdefs.h
<<\_ACEOF
43312 #define wxUSE_PROTOCOL_HTTP 1
43316 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43317 cat >>confdefs.h
<<\_ACEOF
43318 #define wxUSE_PROTOCOL_FTP 1
43322 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43323 cat >>confdefs.h
<<\_ACEOF
43324 #define wxUSE_PROTOCOL_FILE 1
43329 if test "$wxUSE_FS_INET" = "yes"; then
43330 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43331 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43336 if test "$wxUSE_URL" = "yes"; then
43337 if test "$wxUSE_PROTOCOL" != "yes"; then
43338 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43339 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43342 if test "$wxUSE_URL" = "yes"; then
43343 cat >>confdefs.h
<<\_ACEOF
43344 #define wxUSE_URL 1
43350 if test "$wxUSE_VARIANT" = "yes"; then
43351 cat >>confdefs.h
<<\_ACEOF
43352 #define wxUSE_VARIANT 1
43357 if test "$wxUSE_FS_INET" = "yes"; then
43358 cat >>confdefs.h
<<\_ACEOF
43359 #define wxUSE_FS_INET 1
43365 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43368 if test "$TOOLKIT" = "MSW"; then
43371 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43372 if test "$USE_DARWIN" = 1; then
43373 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43374 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43376 ac_cpp
='$CXXCPP $CPPFLAGS'
43377 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43378 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43379 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43381 cat >conftest.
$ac_ext <<_ACEOF
43384 cat confdefs.h
>>conftest.
$ac_ext
43385 cat >>conftest.
$ac_ext <<_ACEOF
43386 /* end confdefs.h. */
43387 #include <IOKit/hid/IOHIDLib.h>
43391 IOHIDQueueInterface *qi = NULL;
43392 IOHIDCallbackFunction cb = NULL;
43393 qi->setEventCallout(NULL, cb, NULL, NULL);
43398 rm -f conftest.
$ac_objext
43399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43400 (eval $ac_compile) 2>conftest.er1
43402 grep -v '^ *+' conftest.er1
>conftest.err
43404 cat conftest.err
>&5
43405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43406 (exit $ac_status); } &&
43407 { ac_try
='test -z "$ac_cxx_werror_flag"
43408 || test ! -s conftest.err'
43409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43410 (eval $ac_try) 2>&5
43412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43413 (exit $ac_status); }; } &&
43414 { ac_try
='test -s conftest.$ac_objext'
43415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43416 (eval $ac_try) 2>&5
43418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43419 (exit $ac_status); }; }; then
43423 echo "$as_me: failed program was:" >&5
43424 sed 's/^/| /' conftest.
$ac_ext >&5
43427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43429 ac_cpp
='$CPP $CPPFLAGS'
43430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43434 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43435 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43439 if test "$wxUSE_MGL" != "1"; then
43440 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43441 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
43442 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43443 echo $ECHO_N "(cached) $ECHO_C" >&6
43445 cat >conftest.
$ac_ext <<_ACEOF
43448 cat confdefs.h
>>conftest.
$ac_ext
43449 cat >>conftest.
$ac_ext <<_ACEOF
43450 /* end confdefs.h. */
43451 $ac_includes_default
43453 #include <linux/joystick.h>
43455 rm -f conftest.
$ac_objext
43456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43457 (eval $ac_compile) 2>conftest.er1
43459 grep -v '^ *+' conftest.er1
>conftest.err
43461 cat conftest.err
>&5
43462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43463 (exit $ac_status); } &&
43464 { ac_try
='test -z "$ac_c_werror_flag"
43465 || test ! -s conftest.err'
43466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43467 (eval $ac_try) 2>&5
43469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43470 (exit $ac_status); }; } &&
43471 { ac_try
='test -s conftest.$ac_objext'
43472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43473 (eval $ac_try) 2>&5
43475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43476 (exit $ac_status); }; }; then
43477 ac_cv_header_linux_joystick_h
=yes
43479 echo "$as_me: failed program was:" >&5
43480 sed 's/^/| /' conftest.
$ac_ext >&5
43482 ac_cv_header_linux_joystick_h
=no
43484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43486 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43487 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
43488 if test $ac_cv_header_linux_joystick_h = yes; then
43496 if test "$wxUSE_JOYSTICK" = "yes"; then
43497 cat >>confdefs.h
<<\_ACEOF
43498 #define wxUSE_JOYSTICK 1
43501 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43503 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43504 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43510 if test "$wxUSE_FONTMAP" = "yes" ; then
43511 cat >>confdefs.h
<<\_ACEOF
43512 #define wxUSE_FONTMAP 1
43517 if test "$wxUSE_UNICODE" = "yes" ; then
43518 cat >>confdefs.h
<<\_ACEOF
43519 #define wxUSE_UNICODE 1
43523 if test "$USE_WIN32" != 1; then
43524 wxUSE_UNICODE_MSLU
=no
43527 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43528 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43529 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43530 if test "${ac_cv_lib_unicows_main+set}" = set; then
43531 echo $ECHO_N "(cached) $ECHO_C" >&6
43533 ac_check_lib_save_LIBS
=$LIBS
43534 LIBS
="-lunicows $LIBS"
43535 cat >conftest.
$ac_ext <<_ACEOF
43538 cat confdefs.h
>>conftest.
$ac_ext
43539 cat >>conftest.
$ac_ext <<_ACEOF
43540 /* end confdefs.h. */
43551 rm -f conftest.
$ac_objext conftest
$ac_exeext
43552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43553 (eval $ac_link) 2>conftest.er1
43555 grep -v '^ *+' conftest.er1
>conftest.err
43557 cat conftest.err
>&5
43558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43559 (exit $ac_status); } &&
43560 { ac_try
='test -z "$ac_c_werror_flag"
43561 || test ! -s conftest.err'
43562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43563 (eval $ac_try) 2>&5
43565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43566 (exit $ac_status); }; } &&
43567 { ac_try
='test -s conftest$ac_exeext'
43568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43569 (eval $ac_try) 2>&5
43571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43572 (exit $ac_status); }; }; then
43573 ac_cv_lib_unicows_main
=yes
43575 echo "$as_me: failed program was:" >&5
43576 sed 's/^/| /' conftest.
$ac_ext >&5
43578 ac_cv_lib_unicows_main
=no
43580 rm -f conftest.err conftest.
$ac_objext \
43581 conftest
$ac_exeext conftest.
$ac_ext
43582 LIBS
=$ac_check_lib_save_LIBS
43584 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43585 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43586 if test $ac_cv_lib_unicows_main = yes; then
43588 cat >>confdefs.h
<<\_ACEOF
43589 #define wxUSE_UNICODE_MSLU 1
43595 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43596 Applications will only run on Windows NT/2000/XP!" >&5
43597 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43598 Applications will only run on Windows NT/2000/XP!" >&2;}
43599 wxUSE_UNICODE_MSLU
=no
43606 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43607 cat >>confdefs.h
<<\_ACEOF
43608 #define wxUSE_UNICODE_UTF8 1
43612 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
43613 cat >>confdefs.h
<<\_ACEOF
43614 #define wxUSE_UTF8_LOCALE_ONLY 1
43620 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43621 cat >>confdefs.h
<<\_ACEOF
43622 #define wxUSE_EXPERIMENTAL_PRINTF 1
43628 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43629 cat >>confdefs.h
<<\_ACEOF
43630 #define wxUSE_POSTSCRIPT 1
43635 cat >>confdefs.h
<<\_ACEOF
43636 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43640 cat >>confdefs.h
<<\_ACEOF
43641 #define wxUSE_NORMALIZED_PS_FONTS 1
43646 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43647 cat >>confdefs.h
<<\_ACEOF
43648 #define wxUSE_CONSTRAINTS 1
43651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43654 if test "$wxUSE_MDI" = "yes"; then
43655 cat >>confdefs.h
<<\_ACEOF
43656 #define wxUSE_MDI 1
43660 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43661 cat >>confdefs.h
<<\_ACEOF
43662 #define wxUSE_MDI_ARCHITECTURE 1
43665 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43669 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43670 cat >>confdefs.h
<<\_ACEOF
43671 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43675 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43680 if test "$wxUSE_HELP" = "yes"; then
43681 cat >>confdefs.h
<<\_ACEOF
43682 #define wxUSE_HELP 1
43685 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43687 if test "$wxUSE_MSW" = 1; then
43688 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43689 cat >>confdefs.h
<<\_ACEOF
43690 #define wxUSE_MS_HTML_HELP 1
43696 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43697 if test "$wxUSE_HTML" = "yes"; then
43698 cat >>confdefs.h
<<\_ACEOF
43699 #define wxUSE_WXHTML_HELP 1
43703 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43704 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43705 wxUSE_WXHTML_HELP
=no
43710 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43711 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43712 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43713 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43715 cat >>confdefs.h
<<\_ACEOF
43716 #define wxUSE_PRINTING_ARCHITECTURE 1
43720 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43725 if test "$wxUSE_METAFILE" = "yes"; then
43726 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43727 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43728 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43734 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43735 -o "$wxUSE_CLIPBOARD" = "yes" \
43736 -o "$wxUSE_OLE" = "yes" \
43737 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43738 echo "$as_me:$LINENO: checking for ole2.h" >&5
43739 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6
43740 if test "${ac_cv_header_ole2_h+set}" = set; then
43741 echo $ECHO_N "(cached) $ECHO_C" >&6
43743 cat >conftest.
$ac_ext <<_ACEOF
43746 cat confdefs.h
>>conftest.
$ac_ext
43747 cat >>conftest.
$ac_ext <<_ACEOF
43748 /* end confdefs.h. */
43753 rm -f conftest.
$ac_objext
43754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43755 (eval $ac_compile) 2>conftest.er1
43757 grep -v '^ *+' conftest.er1
>conftest.err
43759 cat conftest.err
>&5
43760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43761 (exit $ac_status); } &&
43762 { ac_try
='test -z "$ac_c_werror_flag"
43763 || test ! -s conftest.err'
43764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43765 (eval $ac_try) 2>&5
43767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43768 (exit $ac_status); }; } &&
43769 { ac_try
='test -s conftest.$ac_objext'
43770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43771 (eval $ac_try) 2>&5
43773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43774 (exit $ac_status); }; }; then
43775 ac_cv_header_ole2_h
=yes
43777 echo "$as_me: failed program was:" >&5
43778 sed 's/^/| /' conftest.
$ac_ext >&5
43780 ac_cv_header_ole2_h
=no
43782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43784 echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43785 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6
43789 if test "$ac_cv_header_ole2_h" = "yes" ; then
43790 if test "$GCC" = yes ; then
43791 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43792 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43793 cat >conftest.
$ac_ext <<_ACEOF
43796 cat confdefs.h
>>conftest.
$ac_ext
43797 cat >>conftest.
$ac_ext <<_ACEOF
43798 /* end confdefs.h. */
43799 #include <windows.h>
43809 rm -f conftest.
$ac_objext
43810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43811 (eval $ac_compile) 2>conftest.er1
43813 grep -v '^ *+' conftest.er1
>conftest.err
43815 cat conftest.err
>&5
43816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43817 (exit $ac_status); } &&
43818 { ac_try
='test -z "$ac_c_werror_flag"
43819 || test ! -s conftest.err'
43820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43821 (eval $ac_try) 2>&5
43823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43824 (exit $ac_status); }; } &&
43825 { ac_try
='test -s conftest.$ac_objext'
43826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43827 (eval $ac_try) 2>&5
43829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43830 (exit $ac_status); }; }; then
43831 echo "$as_me:$LINENO: result: no" >&5
43832 echo "${ECHO_T}no" >&6
43834 echo "$as_me: failed program was:" >&5
43835 sed 's/^/| /' conftest.
$ac_ext >&5
43837 echo "$as_me:$LINENO: result: yes" >&5
43838 echo "${ECHO_T}yes" >&6
43839 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43842 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43843 if test "$wxUSE_OLE" = "yes" ; then
43844 cat >>confdefs.h
<<\_ACEOF
43845 #define wxUSE_OLE 1
43848 cat >>confdefs.h
<<\_ACEOF
43849 #define wxUSE_OLE_AUTOMATION 1
43852 cat >>confdefs.h
<<\_ACEOF
43853 #define wxUSE_ACTIVEX 1
43856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43860 if test "$wxUSE_DATAOBJ" = "yes" ; then
43861 cat >>confdefs.h
<<\_ACEOF
43862 #define wxUSE_DATAOBJ 1
43867 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43868 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43871 wxUSE_DRAG_AND_DROP
=no
43876 if test "$wxUSE_METAFILE" = "yes"; then
43877 cat >>confdefs.h
<<\_ACEOF
43878 #define wxUSE_METAFILE 1
43882 cat >>confdefs.h
<<\_ACEOF
43883 #define wxUSE_ENH_METAFILE 1
43889 if test "$wxUSE_IPC" = "yes"; then
43890 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43891 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43892 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43896 if test "$wxUSE_IPC" = "yes"; then
43897 cat >>confdefs.h
<<\_ACEOF
43898 #define wxUSE_IPC 1
43901 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43905 if test "$wxUSE_DATAOBJ" = "yes"; then
43906 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43907 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43908 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43911 cat >>confdefs.h
<<\_ACEOF
43912 #define wxUSE_DATAOBJ 1
43917 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43918 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43920 wxUSE_DRAG_AND_DROP
=no
43923 if test "$wxUSE_CLIPBOARD" = "yes"; then
43924 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43925 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43926 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43930 if test "$wxUSE_CLIPBOARD" = "yes"; then
43931 cat >>confdefs.h
<<\_ACEOF
43932 #define wxUSE_CLIPBOARD 1
43938 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43939 if test "$wxUSE_GTK" = 1; then
43940 if test "$WXGTK12" != 1; then
43941 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43942 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43943 wxUSE_DRAG_AND_DROP
=no
43947 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43948 "$wxUSE_DFB" = 1; then
43949 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43950 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43951 wxUSE_DRAG_AND_DROP
=no
43954 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43955 cat >>confdefs.h
<<\_ACEOF
43956 #define wxUSE_DRAG_AND_DROP 1
43963 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43967 if test "$wxUSE_SPLINES" = "yes" ; then
43968 cat >>confdefs.h
<<\_ACEOF
43969 #define wxUSE_SPLINES 1
43974 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43975 cat >>confdefs.h
<<\_ACEOF
43976 #define wxUSE_MOUSEWHEEL 1
43983 if test "$wxUSE_CONTROLS" = "yes"; then
43987 if test "$wxUSE_ACCEL" = "yes"; then
43988 cat >>confdefs.h
<<\_ACEOF
43989 #define wxUSE_ACCEL 1
43995 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
43996 cat >>confdefs.h
<<\_ACEOF
43997 #define wxUSE_ANIMATIONCTRL 1
44001 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
44004 if test "$wxUSE_BUTTON" = "yes"; then
44005 cat >>confdefs.h
<<\_ACEOF
44006 #define wxUSE_BUTTON 1
44012 if test "$wxUSE_BMPBUTTON" = "yes"; then
44013 cat >>confdefs.h
<<\_ACEOF
44014 #define wxUSE_BMPBUTTON 1
44020 if test "$wxUSE_CALCTRL" = "yes"; then
44021 cat >>confdefs.h
<<\_ACEOF
44022 #define wxUSE_CALENDARCTRL 1
44026 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44029 if test "$wxUSE_CARET" = "yes"; then
44030 cat >>confdefs.h
<<\_ACEOF
44031 #define wxUSE_CARET 1
44035 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44038 if test "$wxUSE_COLLPANE" = "yes"; then
44039 cat >>confdefs.h
<<\_ACEOF
44040 #define wxUSE_COLLPANE 1
44044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
44047 if test "$wxUSE_COMBOBOX" = "yes"; then
44048 cat >>confdefs.h
<<\_ACEOF
44049 #define wxUSE_COMBOBOX 1
44055 if test "$wxUSE_COMBOCTRL" = "yes"; then
44056 cat >>confdefs.h
<<\_ACEOF
44057 #define wxUSE_COMBOCTRL 1
44063 if test "$wxUSE_CHOICE" = "yes"; then
44064 cat >>confdefs.h
<<\_ACEOF
44065 #define wxUSE_CHOICE 1
44071 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44072 cat >>confdefs.h
<<\_ACEOF
44073 #define wxUSE_CHOICEBOOK 1
44079 if test "$wxUSE_CHECKBOX" = "yes"; then
44080 cat >>confdefs.h
<<\_ACEOF
44081 #define wxUSE_CHECKBOX 1
44087 if test "$wxUSE_CHECKLST" = "yes"; then
44088 cat >>confdefs.h
<<\_ACEOF
44089 #define wxUSE_CHECKLISTBOX 1
44093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
44096 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44097 cat >>confdefs.h
<<\_ACEOF
44098 #define wxUSE_COLOURPICKERCTRL 1
44104 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44105 cat >>confdefs.h
<<\_ACEOF
44106 #define wxUSE_DATEPICKCTRL 1
44112 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44113 cat >>confdefs.h
<<\_ACEOF
44114 #define wxUSE_DIRPICKERCTRL 1
44120 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44121 cat >>confdefs.h
<<\_ACEOF
44122 #define wxUSE_FILEPICKERCTRL 1
44128 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44129 cat >>confdefs.h
<<\_ACEOF
44130 #define wxUSE_FONTPICKERCTRL 1
44136 if test "$wxUSE_DISPLAY" = "yes"; then
44137 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44138 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44139 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44142 cat >>confdefs.h
<<\_ACEOF
44143 #define wxUSE_DISPLAY 1
44146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
44150 if test "$wxUSE_DETECT_SM" = "yes"; then
44151 cat >>confdefs.h
<<\_ACEOF
44152 #define wxUSE_DETECT_SM 1
44157 if test "$wxUSE_GAUGE" = "yes"; then
44158 cat >>confdefs.h
<<\_ACEOF
44159 #define wxUSE_GAUGE 1
44165 if test "$wxUSE_GRID" = "yes"; then
44166 cat >>confdefs.h
<<\_ACEOF
44167 #define wxUSE_GRID 1
44171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
44174 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44175 cat >>confdefs.h
<<\_ACEOF
44176 #define wxUSE_HYPERLINKCTRL 1
44182 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44183 cat >>confdefs.h
<<\_ACEOF
44184 #define wxUSE_BITMAPCOMBOBOX 1
44190 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44191 cat >>confdefs.h
<<\_ACEOF
44192 #define wxUSE_DATAVIEWCTRL 1
44196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
44199 if test "$wxUSE_IMAGLIST" = "yes"; then
44200 cat >>confdefs.h
<<\_ACEOF
44201 #define wxUSE_IMAGLIST 1
44206 if test "$wxUSE_LISTBOOK" = "yes"; then
44207 cat >>confdefs.h
<<\_ACEOF
44208 #define wxUSE_LISTBOOK 1
44214 if test "$wxUSE_LISTBOX" = "yes"; then
44215 cat >>confdefs.h
<<\_ACEOF
44216 #define wxUSE_LISTBOX 1
44220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
44223 if test "$wxUSE_LISTCTRL" = "yes"; then
44224 if test "$wxUSE_IMAGLIST" = "yes"; then
44225 cat >>confdefs.h
<<\_ACEOF
44226 #define wxUSE_LISTCTRL 1
44230 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
44232 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44233 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44237 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44238 cat >>confdefs.h
<<\_ACEOF
44239 #define wxUSE_EDITABLELISTBOX 1
44243 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
44246 if test "$wxUSE_NOTEBOOK" = "yes"; then
44247 cat >>confdefs.h
<<\_ACEOF
44248 #define wxUSE_NOTEBOOK 1
44252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
44255 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44256 cat >>confdefs.h
<<\_ACEOF
44257 #define wxUSE_ODCOMBOBOX 1
44261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
44265 if test "$wxUSE_RADIOBOX" = "yes"; then
44266 cat >>confdefs.h
<<\_ACEOF
44267 #define wxUSE_RADIOBOX 1
44273 if test "$wxUSE_RADIOBTN" = "yes"; then
44274 cat >>confdefs.h
<<\_ACEOF
44275 #define wxUSE_RADIOBTN 1
44281 if test "$wxUSE_SASH" = "yes"; then
44282 cat >>confdefs.h
<<\_ACEOF
44283 #define wxUSE_SASH 1
44286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
44289 if test "$wxUSE_SCROLLBAR" = "yes"; then
44290 cat >>confdefs.h
<<\_ACEOF
44291 #define wxUSE_SCROLLBAR 1
44295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
44298 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44299 cat >>confdefs.h
<<\_ACEOF
44300 #define wxUSE_SEARCHCTRL 1
44306 if test "$wxUSE_SLIDER" = "yes"; then
44307 cat >>confdefs.h
<<\_ACEOF
44308 #define wxUSE_SLIDER 1
44314 if test "$wxUSE_SPINBTN" = "yes"; then
44315 cat >>confdefs.h
<<\_ACEOF
44316 #define wxUSE_SPINBTN 1
44322 if test "$wxUSE_SPINCTRL" = "yes"; then
44323 cat >>confdefs.h
<<\_ACEOF
44324 #define wxUSE_SPINCTRL 1
44330 if test "$wxUSE_SPLITTER" = "yes"; then
44331 cat >>confdefs.h
<<\_ACEOF
44332 #define wxUSE_SPLITTER 1
44335 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
44338 if test "$wxUSE_STATBMP" = "yes"; then
44339 cat >>confdefs.h
<<\_ACEOF
44340 #define wxUSE_STATBMP 1
44346 if test "$wxUSE_STATBOX" = "yes"; then
44347 cat >>confdefs.h
<<\_ACEOF
44348 #define wxUSE_STATBOX 1
44354 if test "$wxUSE_STATTEXT" = "yes"; then
44355 cat >>confdefs.h
<<\_ACEOF
44356 #define wxUSE_STATTEXT 1
44362 if test "$wxUSE_STATLINE" = "yes"; then
44363 cat >>confdefs.h
<<\_ACEOF
44364 #define wxUSE_STATLINE 1
44370 if test "$wxUSE_STATUSBAR" = "yes"; then
44371 cat >>confdefs.h
<<\_ACEOF
44372 #define wxUSE_NATIVE_STATUSBAR 1
44375 cat >>confdefs.h
<<\_ACEOF
44376 #define wxUSE_STATUSBAR 1
44381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
44384 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44385 cat >>confdefs.h
<<\_ACEOF
44386 #define wxUSE_TAB_DIALOG 1
44391 if test "$wxUSE_TEXTCTRL" = "yes"; then
44392 cat >>confdefs.h
<<\_ACEOF
44393 #define wxUSE_TEXTCTRL 1
44397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44400 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44401 if test "$wxUSE_COCOA" = 1 ; then
44402 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44403 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44407 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44408 cat >>confdefs.h
<<\_ACEOF
44409 #define wxUSE_TOGGLEBTN 1
44416 if test "$wxUSE_TOOLBAR" = "yes"; then
44417 cat >>confdefs.h
<<\_ACEOF
44418 #define wxUSE_TOOLBAR 1
44423 if test "$wxUSE_UNIVERSAL" = "yes"; then
44424 wxUSE_TOOLBAR_NATIVE
="no"
44426 wxUSE_TOOLBAR_NATIVE
="yes"
44427 cat >>confdefs.h
<<\_ACEOF
44428 #define wxUSE_TOOLBAR_NATIVE 1
44433 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44436 if test "$wxUSE_TOOLTIPS" = "yes"; then
44437 if test "$wxUSE_MOTIF" = 1; then
44438 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44439 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44441 if test "$wxUSE_UNIVERSAL" = "yes"; then
44442 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44443 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44445 cat >>confdefs.h
<<\_ACEOF
44446 #define wxUSE_TOOLTIPS 1
44453 if test "$wxUSE_TREEBOOK" = "yes"; then
44454 cat >>confdefs.h
<<\_ACEOF
44455 #define wxUSE_TREEBOOK 1
44461 if test "$wxUSE_TOOLBOOK" = "yes"; then
44462 cat >>confdefs.h
<<\_ACEOF
44463 #define wxUSE_TOOLBOOK 1
44469 if test "$wxUSE_TREECTRL" = "yes"; then
44470 if test "$wxUSE_IMAGLIST" = "yes"; then
44471 cat >>confdefs.h
<<\_ACEOF
44472 #define wxUSE_TREECTRL 1
44476 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44478 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44479 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44483 if test "$wxUSE_POPUPWIN" = "yes"; then
44484 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44485 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44486 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44488 if test "$wxUSE_PM" = 1; then
44489 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44490 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44492 cat >>confdefs.h
<<\_ACEOF
44493 #define wxUSE_POPUPWIN 1
44496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44503 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44504 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44505 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44506 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44508 cat >>confdefs.h
<<\_ACEOF
44509 #define wxUSE_DIALUP_MANAGER 1
44512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44516 if test "$wxUSE_TIPWINDOW" = "yes"; then
44517 if test "$wxUSE_PM" = 1; then
44518 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44519 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44521 cat >>confdefs.h
<<\_ACEOF
44522 #define wxUSE_TIPWINDOW 1
44528 if test "$USES_CONTROLS" = 1; then
44529 cat >>confdefs.h
<<\_ACEOF
44530 #define wxUSE_CONTROLS 1
44536 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44537 cat >>confdefs.h
<<\_ACEOF
44538 #define wxUSE_ACCESSIBILITY 1
44541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44544 if test "$wxUSE_DC_CACHEING" = "yes"; then
44545 cat >>confdefs.h
<<\_ACEOF
44546 #define wxUSE_DC_CACHEING 1
44551 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44552 cat >>confdefs.h
<<\_ACEOF
44553 #define wxUSE_DRAGIMAGE 1
44556 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44559 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44560 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44561 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44562 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44564 cat >>confdefs.h
<<\_ACEOF
44565 #define wxUSE_EXCEPTIONS 1
44568 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44573 if test "$wxUSE_HTML" = "yes"; then
44574 cat >>confdefs.h
<<\_ACEOF
44575 #define wxUSE_HTML 1
44579 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44580 if test "$wxUSE_MAC" = 1; then
44581 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44584 if test "$wxUSE_WEBKIT" = "yes"; then
44585 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44586 old_CPPFLAGS
="$CPPFLAGS"
44587 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44588 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44589 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44590 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44591 echo $ECHO_N "(cached) $ECHO_C" >&6
44593 cat >conftest.
$ac_ext <<_ACEOF
44596 cat confdefs.h
>>conftest.
$ac_ext
44597 cat >>conftest.
$ac_ext <<_ACEOF
44598 /* end confdefs.h. */
44600 #include <Carbon/Carbon.h>
44601 #include <WebKit/WebKit.h>
44604 #include <WebKit/HIWebView.h>
44606 rm -f conftest.
$ac_objext
44607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44608 (eval $ac_compile) 2>conftest.er1
44610 grep -v '^ *+' conftest.er1
>conftest.err
44612 cat conftest.err
>&5
44613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44614 (exit $ac_status); } &&
44615 { ac_try
='test -z "$ac_c_werror_flag"
44616 || test ! -s conftest.err'
44617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44618 (eval $ac_try) 2>&5
44620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44621 (exit $ac_status); }; } &&
44622 { ac_try
='test -s conftest.$ac_objext'
44623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44624 (eval $ac_try) 2>&5
44626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44627 (exit $ac_status); }; }; then
44628 ac_cv_header_WebKit_HIWebView_h
=yes
44630 echo "$as_me: failed program was:" >&5
44631 sed 's/^/| /' conftest.
$ac_ext >&5
44633 ac_cv_header_WebKit_HIWebView_h
=no
44635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44637 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44638 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44639 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44641 cat >>confdefs.h
<<\_ACEOF
44642 #define wxUSE_WEBKIT 1
44645 WEBKIT_LINK
="-framework WebKit"
44649 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44650 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44656 CPPFLAGS
="$old_CPPFLAGS"
44657 elif test "$wxUSE_COCOA" = 1; then
44658 cat >>confdefs.h
<<\_ACEOF
44659 #define wxUSE_WEBKIT 1
44668 if test "$wxUSE_XRC" = "yes"; then
44669 if test "$wxUSE_XML" != "yes"; then
44670 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44671 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44674 cat >>confdefs.h
<<\_ACEOF
44675 #define wxUSE_XRC 1
44679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44684 if test "$wxUSE_AUI" = "yes"; then
44685 cat >>confdefs.h
<<\_ACEOF
44686 #define wxUSE_AUI 1
44690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
44694 if test "$wxUSE_STC" = "yes"; then
44695 cat >>confdefs.h
<<\_ACEOF
44696 #define wxUSE_STC 1
44700 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
44703 if test "$wxUSE_MENUS" = "yes"; then
44704 cat >>confdefs.h
<<\_ACEOF
44705 #define wxUSE_MENUS 1
44708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44711 if test "$wxUSE_METAFILE" = "yes"; then
44712 cat >>confdefs.h
<<\_ACEOF
44713 #define wxUSE_METAFILE 1
44718 if test "$wxUSE_MIMETYPE" = "yes"; then
44719 cat >>confdefs.h
<<\_ACEOF
44720 #define wxUSE_MIMETYPE 1
44725 if test "$wxUSE_MINIFRAME" = "yes"; then
44726 cat >>confdefs.h
<<\_ACEOF
44727 #define wxUSE_MINIFRAME 1
44730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44733 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44734 cat >>confdefs.h
<<\_ACEOF
44735 #define wxUSE_SYSTEM_OPTIONS 1
44738 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44739 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44745 if test "$wxUSE_VALIDATORS" = "yes"; then
44746 cat >>confdefs.h
<<\_ACEOF
44747 #define wxUSE_VALIDATORS 1
44750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44753 if test "$wxUSE_PALETTE" = "yes" ; then
44754 if test "$wxUSE_DFB" = 1; then
44755 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44756 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44759 cat >>confdefs.h
<<\_ACEOF
44760 #define wxUSE_PALETTE 1
44766 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44767 LIBS
=" -lunicows $LIBS"
44771 if test "$wxUSE_RICHTEXT" = "yes"; then
44772 cat >>confdefs.h
<<\_ACEOF
44773 #define wxUSE_RICHTEXT 1
44777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44781 if test "$wxUSE_IMAGE" = "yes" ; then
44782 cat >>confdefs.h
<<\_ACEOF
44783 #define wxUSE_IMAGE 1
44787 if test "$wxUSE_GIF" = "yes" ; then
44788 cat >>confdefs.h
<<\_ACEOF
44789 #define wxUSE_GIF 1
44794 if test "$wxUSE_PCX" = "yes" ; then
44795 cat >>confdefs.h
<<\_ACEOF
44796 #define wxUSE_PCX 1
44801 if test "$wxUSE_TGA" = "yes" ; then
44802 cat >>confdefs.h
<<\_ACEOF
44803 #define wxUSE_TGA 1
44808 if test "$wxUSE_IFF" = "yes" ; then
44809 cat >>confdefs.h
<<\_ACEOF
44810 #define wxUSE_IFF 1
44815 if test "$wxUSE_PNM" = "yes" ; then
44816 cat >>confdefs.h
<<\_ACEOF
44817 #define wxUSE_PNM 1
44822 if test "$wxUSE_XPM" = "yes" ; then
44823 cat >>confdefs.h
<<\_ACEOF
44824 #define wxUSE_XPM 1
44829 if test "$wxUSE_ICO_CUR" = "yes" ; then
44830 cat >>confdefs.h
<<\_ACEOF
44831 #define wxUSE_ICO_CUR 1
44838 if test "$wxUSE_ABOUTDLG" = "yes"; then
44839 cat >>confdefs.h
<<\_ACEOF
44840 #define wxUSE_ABOUTDLG 1
44845 if test "$wxUSE_CHOICEDLG" = "yes"; then
44846 cat >>confdefs.h
<<\_ACEOF
44847 #define wxUSE_CHOICEDLG 1
44852 if test "$wxUSE_COLOURDLG" = "yes"; then
44853 cat >>confdefs.h
<<\_ACEOF
44854 #define wxUSE_COLOURDLG 1
44859 if test "$wxUSE_FILEDLG" = "yes"; then
44860 cat >>confdefs.h
<<\_ACEOF
44861 #define wxUSE_FILEDLG 1
44866 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44867 cat >>confdefs.h
<<\_ACEOF
44868 #define wxUSE_FINDREPLDLG 1
44873 if test "$wxUSE_FONTDLG" = "yes"; then
44874 cat >>confdefs.h
<<\_ACEOF
44875 #define wxUSE_FONTDLG 1
44880 if test "$wxUSE_DIRDLG" = "yes"; then
44881 if test "$wxUSE_TREECTRL" != "yes"; then
44882 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44883 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44885 cat >>confdefs.h
<<\_ACEOF
44886 #define wxUSE_DIRDLG 1
44892 if test "$wxUSE_MSGDLG" = "yes"; then
44893 cat >>confdefs.h
<<\_ACEOF
44894 #define wxUSE_MSGDLG 1
44899 if test "$wxUSE_NUMBERDLG" = "yes"; then
44900 cat >>confdefs.h
<<\_ACEOF
44901 #define wxUSE_NUMBERDLG 1
44906 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44907 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44908 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44909 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44911 cat >>confdefs.h
<<\_ACEOF
44912 #define wxUSE_PROGRESSDLG 1
44918 if test "$wxUSE_SPLASH" = "yes"; then
44919 cat >>confdefs.h
<<\_ACEOF
44920 #define wxUSE_SPLASH 1
44923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44926 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44927 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44928 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44929 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44931 cat >>confdefs.h
<<\_ACEOF
44932 #define wxUSE_STARTUP_TIPS 1
44938 if test "$wxUSE_TEXTDLG" = "yes"; then
44939 cat >>confdefs.h
<<\_ACEOF
44940 #define wxUSE_TEXTDLG 1
44945 if test "$wxUSE_WIZARDDLG" = "yes"; then
44946 cat >>confdefs.h
<<\_ACEOF
44947 #define wxUSE_WIZARDDLG 1
44950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44954 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44955 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44956 cat >>confdefs.h
<<\_ACEOF
44957 #define wxUSE_GRAPHICS_CONTEXT 1
44960 elif test "$wxUSE_GTK" != 1; then
44961 cat >>confdefs.h
<<\_ACEOF
44962 #define wxUSE_GRAPHICS_CONTEXT 1
44968 echo "$as_me:$LINENO: checking for CAIRO" >&5
44969 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
44971 if test -n "$PKG_CONFIG"; then
44972 if test -n "$CAIRO_CFLAGS"; then
44973 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
44975 if test -n "$PKG_CONFIG" && \
44976 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44977 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44980 (exit $ac_status); }; then
44981 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
44989 if test -n "$PKG_CONFIG"; then
44990 if test -n "$CAIRO_LIBS"; then
44991 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
44993 if test -n "$PKG_CONFIG" && \
44994 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44995 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44998 (exit $ac_status); }; then
44999 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45010 if test $pkg_failed = yes; then
45012 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45013 _pkg_short_errors_supported
=yes
45015 _pkg_short_errors_supported
=no
45017 if test $_pkg_short_errors_supported = yes; then
45018 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45020 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45022 # Put the nasty error message in config.log where it belongs
45023 echo "$CAIRO_PKG_ERRORS" >&5
45025 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45026 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45028 elif test $pkg_failed = untried
; then
45029 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45030 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45033 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
45034 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
45035 echo "$as_me:$LINENO: result: yes" >&5
45036 echo "${ECHO_T}yes" >&6
45037 cat >>confdefs.h
<<\_ACEOF
45038 #define wxUSE_GRAPHICS_CONTEXT 1
45048 if test "$wxUSE_MEDIACTRL" = "yes"; then
45051 if test "$wxUSE_GTK" = 1; then
45052 wxUSE_GSTREAMER
="no"
45054 GST_VERSION_MAJOR
=0
45055 GST_VERSION_MINOR
=10
45056 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45058 if test "$wxUSE_GSTREAMER8" = "no"; then
45061 echo "$as_me:$LINENO: checking for GST" >&5
45062 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45064 if test -n "$PKG_CONFIG"; then
45065 if test -n "$GST_CFLAGS"; then
45066 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45068 if test -n "$PKG_CONFIG" && \
45069 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45070 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45073 (exit $ac_status); }; then
45074 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45082 if test -n "$PKG_CONFIG"; then
45083 if test -n "$GST_LIBS"; then
45084 pkg_cv_GST_LIBS
="$GST_LIBS"
45086 if test -n "$PKG_CONFIG" && \
45087 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45088 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45091 (exit $ac_status); }; then
45092 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45103 if test $pkg_failed = yes; then
45105 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45106 _pkg_short_errors_supported
=yes
45108 _pkg_short_errors_supported
=no
45110 if test $_pkg_short_errors_supported = yes; then
45111 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45113 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45115 # Put the nasty error message in config.log where it belongs
45116 echo "$GST_PKG_ERRORS" >&5
45119 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45120 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45121 GST_VERSION_MINOR
=8
45124 elif test $pkg_failed = untried
; then
45126 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45127 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45128 GST_VERSION_MINOR
=8
45132 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45133 GST_LIBS
=$pkg_cv_GST_LIBS
45134 echo "$as_me:$LINENO: result: yes" >&5
45135 echo "${ECHO_T}yes" >&6
45137 wxUSE_GSTREAMER
="yes"
45138 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45142 GST_VERSION_MINOR
=8
45145 if test $GST_VERSION_MINOR = "8"; then
45146 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45149 echo "$as_me:$LINENO: checking for GST" >&5
45150 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45152 if test -n "$PKG_CONFIG"; then
45153 if test -n "$GST_CFLAGS"; then
45154 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45156 if test -n "$PKG_CONFIG" && \
45157 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45158 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45161 (exit $ac_status); }; then
45162 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45170 if test -n "$PKG_CONFIG"; then
45171 if test -n "$GST_LIBS"; then
45172 pkg_cv_GST_LIBS
="$GST_LIBS"
45174 if test -n "$PKG_CONFIG" && \
45175 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45176 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45179 (exit $ac_status); }; then
45180 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45191 if test $pkg_failed = yes; then
45193 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45194 _pkg_short_errors_supported
=yes
45196 _pkg_short_errors_supported
=no
45198 if test $_pkg_short_errors_supported = yes; then
45199 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45201 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45203 # Put the nasty error message in config.log where it belongs
45204 echo "$GST_PKG_ERRORS" >&5
45207 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45208 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45210 elif test $pkg_failed = untried
; then
45212 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45213 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45216 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45217 GST_LIBS
=$pkg_cv_GST_LIBS
45218 echo "$as_me:$LINENO: result: yes" >&5
45219 echo "${ECHO_T}yes" >&6
45220 wxUSE_GSTREAMER
="yes"
45225 if test "$wxUSE_GSTREAMER" = "yes"; then
45228 if "$GCC" = yes; then
45229 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
45230 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
45234 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45235 LIBS
="$GST_LIBS $LIBS"
45237 cat >>confdefs.h
<<\_ACEOF
45238 #define wxUSE_GSTREAMER 1
45246 if test $USE_MEDIA = 1; then
45247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45248 cat >>confdefs.h
<<\_ACEOF
45249 #define wxUSE_MEDIACTRL 1
45256 if test "$cross_compiling" = "yes"; then
45259 OSINFO
=`uname -s -r -m`
45260 OSINFO
="\"$OSINFO\""
45263 cat >>confdefs.h
<<_ACEOF
45264 #define WXWIN_OS_DESCRIPTION $OSINFO
45269 if test "x$prefix" != "xNONE"; then
45272 wxPREFIX
=$ac_default_prefix
45275 cat >>confdefs.h
<<_ACEOF
45276 #define wxINSTALL_PREFIX "$wxPREFIX"
45282 CORE_BASE_LIBS
="net base"
45283 CORE_GUI_LIBS
="adv core"
45285 if test "$wxUSE_XML" = "yes" ; then
45286 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
45288 if test "$wxUSE_ODBC" != "no" ; then
45289 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
45290 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
45292 if test "$wxUSE_HTML" = "yes" ; then
45293 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
45295 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45296 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
45298 if test "$wxUSE_XRC" = "yes" ; then
45299 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
45301 if test "$wxUSE_AUI" = "yes" ; then
45302 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
45304 if test "$wxUSE_STC" = "yes" ; then
45305 CORE_GUI_LIBS
="stc $CORE_GUI_LIBS"
45308 if test "$wxUSE_GUI" != "yes"; then
45317 if test "$wxUSE_MAC" = 1 ; then
45318 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45319 if test "$USE_DARWIN" = 1; then
45320 LDFLAGS
="$LDFLAGS -framework QuickTime"
45322 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
45325 if test "$USE_DARWIN" = 1; then
45326 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45328 LDFLAGS
="$LDFLAGS -lCarbonLib"
45331 if test "$wxUSE_COCOA" = 1 ; then
45332 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
45333 if test "$wxUSE_MEDIACTRL" = "yes"; then
45334 LDFLAGS
="$LDFLAGS -framework QuickTime"
45337 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45338 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45341 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45343 if test "$wxUSE_GUI" = "yes"; then
45346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45347 dynamic erase event exec font image minimal mobile \
45348 mobile/wxedit mobile/styles propsize render \
45349 rotate shaped svg taborder vscroll widgets"
45351 if test "$wxUSE_MONOLITHIC" != "yes"; then
45352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45354 if test "$TOOLKIT" = "MSW"; then
45355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45356 if test "$wxUSE_UNIVERSAL" != "yes"; then
45357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45360 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45361 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45364 SAMPLES_SUBDIRS
="console"
45368 if test "x$INTELCC" = "xyes" ; then
45369 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45370 elif test "$GCC" = yes ; then
45371 CWARNINGS
="-Wall -Wundef"
45374 if test "x$INTELCXX" = "xyes" ; then
45375 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45376 elif test "$GXX" = yes ; then
45377 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45381 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45382 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45385 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45386 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45387 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45390 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45391 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45392 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45394 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45397 if test "x$MWCC" = "xyes"; then
45399 CC
="$CC -cwd source -I-"
45400 CXX
="$CXX -cwd source -I-"
45405 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45406 EXTRALIBS_XML
="$EXPAT_LINK"
45407 EXTRALIBS_HTML
="$MSPACK_LINK"
45408 EXTRALIBS_ODBC
="$ODBC_LINK"
45409 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45410 if test "$wxUSE_GUI" = "yes"; then
45411 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45413 if test "$wxUSE_OPENGL" = "yes"; then
45414 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45417 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45419 WXCONFIG_LIBS
="$LIBS"
45421 if test "$wxUSE_REGEX" = "builtin" ; then
45422 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45424 if test "$wxUSE_EXPAT" = "builtin" ; then
45425 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45427 if test "$wxUSE_ODBC" = "builtin" ; then
45428 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45430 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45431 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45433 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45434 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45436 if test "$wxUSE_LIBPNG" = "builtin" ; then
45437 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45439 if test "$wxUSE_ZLIB" = "builtin" ; then
45440 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45443 for i
in $wxconfig_3rdparty ; do
45444 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45448 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45451 case "$wxUNIV_THEMES" in
45453 cat >>confdefs.h
<<\_ACEOF
45454 #define wxUSE_ALL_THEMES 1
45460 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45461 cat >>confdefs.h
<<_ACEOF
45462 #define wxUSE_THEME_$t 1
45479 if test $wxUSE_MONOLITHIC = "yes" ; then
45485 if test $wxUSE_PLUGINS = "yes" ; then
45491 if test $wxUSE_ODBC != "no" ; then
45497 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45503 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45534 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45545 TOOLKIT_DESC
="GTK+"
45546 if test "$WXGTK20" = 1; then
45547 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
45548 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45549 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
45551 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45552 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
45554 if test "$wxUSE_LIBHILDON" = "yes"; then
45555 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
45558 if test "$TOOLKIT_EXTRA" != ""; then
45559 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45565 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
45569 TOOLKIT_DESC
="base only"
45573 if test "$wxUSE_WINE" = "yes"; then
45574 BAKEFILE_FORCE_PLATFORM
=win32
45577 if test "$wxUSE_MAC" = 1 ; then
45578 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
45579 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
45580 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45582 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45584 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
45585 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
45586 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
45587 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
45590 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45591 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45594 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45596 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45597 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
45598 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45599 echo $ECHO_N "(cached) $ECHO_C" >&6
45602 echo '#include <stdio.h>
45603 const wchar_t test_var[] = L"awidetest";' > conftest.h
45605 echo '#include "conftest.h"
45608 printf("%ls", test_var);
45612 wx_cv_gcc_pch_bug
="pch not supported"
45614 if $CXX conftest.h
>/dev
/null
2>&1
45618 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
45620 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
45621 grep awidetest
>/dev
/null
45623 wx_cv_gcc_pch_bug
=no
45625 wx_cv_gcc_pch_bug
=yes
45630 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
45633 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45634 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
45636 if test "$wx_cv_gcc_pch_bug" = yes; then
45644 if test "x$BAKEFILE_HOST" = "x"; then
45645 if test "x${host}" = "x" ; then
45646 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45647 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45648 { (exit 1); exit 1; }; }
45651 BAKEFILE_HOST
="${host}"
45654 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45656 if test -n "$ac_tool_prefix"; then
45657 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45658 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45659 echo "$as_me:$LINENO: checking for $ac_word" >&5
45660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45661 if test "${ac_cv_prog_RANLIB+set}" = set; then
45662 echo $ECHO_N "(cached) $ECHO_C" >&6
45664 if test -n "$RANLIB"; then
45665 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45668 for as_dir
in $PATH
45671 test -z "$as_dir" && as_dir
=.
45672 for ac_exec_ext
in '' $ac_executable_extensions; do
45673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45674 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45683 RANLIB
=$ac_cv_prog_RANLIB
45684 if test -n "$RANLIB"; then
45685 echo "$as_me:$LINENO: result: $RANLIB" >&5
45686 echo "${ECHO_T}$RANLIB" >&6
45688 echo "$as_me:$LINENO: result: no" >&5
45689 echo "${ECHO_T}no" >&6
45693 if test -z "$ac_cv_prog_RANLIB"; then
45694 ac_ct_RANLIB
=$RANLIB
45695 # Extract the first word of "ranlib", so it can be a program name with args.
45696 set dummy ranlib
; ac_word
=$2
45697 echo "$as_me:$LINENO: checking for $ac_word" >&5
45698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45699 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45700 echo $ECHO_N "(cached) $ECHO_C" >&6
45702 if test -n "$ac_ct_RANLIB"; then
45703 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45706 for as_dir
in $PATH
45709 test -z "$as_dir" && as_dir
=.
45710 for ac_exec_ext
in '' $ac_executable_extensions; do
45711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45712 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45719 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45722 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45723 if test -n "$ac_ct_RANLIB"; then
45724 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45725 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45727 echo "$as_me:$LINENO: result: no" >&5
45728 echo "${ECHO_T}no" >&6
45731 RANLIB
=$ac_ct_RANLIB
45733 RANLIB
="$ac_cv_prog_RANLIB"
45736 # Find a good install program. We prefer a C program (faster),
45737 # so one script is as good as another. But avoid the broken or
45738 # incompatible versions:
45739 # SysV /etc/install, /usr/sbin/install
45740 # SunOS /usr/etc/install
45741 # IRIX /sbin/install
45743 # AmigaOS /C/install, which installs bootblocks on floppy discs
45744 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45745 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45746 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45747 # OS/2's system install, which has a completely different semantic
45748 # ./install, which can be erroneously created by make from ./install.sh.
45749 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45750 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45751 if test -z "$INSTALL"; then
45752 if test "${ac_cv_path_install+set}" = set; then
45753 echo $ECHO_N "(cached) $ECHO_C" >&6
45755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45756 for as_dir
in $PATH
45759 test -z "$as_dir" && as_dir
=.
45760 # Account for people who put trailing slashes in PATH elements.
45762 .
/ | .
// | /cC
/* | \
45763 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45764 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45767 # OSF1 and SCO ODT 3.0 have their own names for install.
45768 # Don't use installbsd from OSF since it installs stuff as root
45770 for ac_prog
in ginstall scoinst
install; do
45771 for ac_exec_ext
in '' $ac_executable_extensions; do
45772 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45773 if test $ac_prog = install &&
45774 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45775 # AIX install. It has an incompatible calling convention.
45777 elif test $ac_prog = install &&
45778 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45779 # program-specific install script used by HP pwplus--don't use.
45782 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45794 if test "${ac_cv_path_install+set}" = set; then
45795 INSTALL
=$ac_cv_path_install
45797 # As a last resort, use the slow shell script. We don't cache a
45798 # path for INSTALL within a source directory, because that will
45799 # break other packages using the cache if that directory is
45800 # removed, or if the path is relative.
45801 INSTALL
=$ac_install_sh
45804 echo "$as_me:$LINENO: result: $INSTALL" >&5
45805 echo "${ECHO_T}$INSTALL" >&6
45807 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45808 # It thinks the first close brace ends the variable substitution.
45809 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45811 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45813 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45815 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45816 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45818 if test "$LN_S" = "ln -s"; then
45819 echo "$as_me:$LINENO: result: yes" >&5
45820 echo "${ECHO_T}yes" >&6
45822 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45823 echo "${ECHO_T}no, using $LN_S" >&6
45827 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45828 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45829 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45830 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45831 echo $ECHO_N "(cached) $ECHO_C" >&6
45833 cat >conftest.
make <<\_ACEOF
45835 @
echo 'ac_maketemp="$(MAKE)"'
45837 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45838 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45839 if test -n "$ac_maketemp"; then
45840 eval ac_cv_prog_make_
${ac_make}_set
=yes
45842 eval ac_cv_prog_make_
${ac_make}_set
=no
45844 rm -f conftest.
make
45846 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45847 echo "$as_me:$LINENO: result: yes" >&5
45848 echo "${ECHO_T}yes" >&6
45851 echo "$as_me:$LINENO: result: no" >&5
45852 echo "${ECHO_T}no" >&6
45853 SET_MAKE
="MAKE=${MAKE-make}"
45858 if test "x$SUNCXX" = "xyes"; then
45860 AROPTIONS
="-xar -o"
45862 elif test "x$SGICC" = "xyes"; then
45867 if test -n "$ac_tool_prefix"; then
45868 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45869 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45870 echo "$as_me:$LINENO: checking for $ac_word" >&5
45871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45872 if test "${ac_cv_prog_AR+set}" = set; then
45873 echo $ECHO_N "(cached) $ECHO_C" >&6
45875 if test -n "$AR"; then
45876 ac_cv_prog_AR
="$AR" # Let the user override the test.
45878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45879 for as_dir
in $PATH
45882 test -z "$as_dir" && as_dir
=.
45883 for ac_exec_ext
in '' $ac_executable_extensions; do
45884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45885 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45895 if test -n "$AR"; then
45896 echo "$as_me:$LINENO: result: $AR" >&5
45897 echo "${ECHO_T}$AR" >&6
45899 echo "$as_me:$LINENO: result: no" >&5
45900 echo "${ECHO_T}no" >&6
45904 if test -z "$ac_cv_prog_AR"; then
45906 # Extract the first word of "ar", so it can be a program name with args.
45907 set dummy
ar; ac_word
=$2
45908 echo "$as_me:$LINENO: checking for $ac_word" >&5
45909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45910 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45911 echo $ECHO_N "(cached) $ECHO_C" >&6
45913 if test -n "$ac_ct_AR"; then
45914 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45917 for as_dir
in $PATH
45920 test -z "$as_dir" && as_dir
=.
45921 for ac_exec_ext
in '' $ac_executable_extensions; do
45922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45923 ac_cv_prog_ac_ct_AR
="ar"
45924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45930 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45933 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45934 if test -n "$ac_ct_AR"; then
45935 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45936 echo "${ECHO_T}$ac_ct_AR" >&6
45938 echo "$as_me:$LINENO: result: no" >&5
45939 echo "${ECHO_T}no" >&6
45944 AR
="$ac_cv_prog_AR"
45951 if test -n "$ac_tool_prefix"; then
45952 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45953 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45954 echo "$as_me:$LINENO: checking for $ac_word" >&5
45955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45956 if test "${ac_cv_prog_STRIP+set}" = set; then
45957 echo $ECHO_N "(cached) $ECHO_C" >&6
45959 if test -n "$STRIP"; then
45960 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45963 for as_dir
in $PATH
45966 test -z "$as_dir" && as_dir
=.
45967 for ac_exec_ext
in '' $ac_executable_extensions; do
45968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45969 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45978 STRIP
=$ac_cv_prog_STRIP
45979 if test -n "$STRIP"; then
45980 echo "$as_me:$LINENO: result: $STRIP" >&5
45981 echo "${ECHO_T}$STRIP" >&6
45983 echo "$as_me:$LINENO: result: no" >&5
45984 echo "${ECHO_T}no" >&6
45988 if test -z "$ac_cv_prog_STRIP"; then
45990 # Extract the first word of "strip", so it can be a program name with args.
45991 set dummy strip
; ac_word
=$2
45992 echo "$as_me:$LINENO: checking for $ac_word" >&5
45993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45994 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45995 echo $ECHO_N "(cached) $ECHO_C" >&6
45997 if test -n "$ac_ct_STRIP"; then
45998 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
46000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46001 for as_dir
in $PATH
46004 test -z "$as_dir" && as_dir
=.
46005 for ac_exec_ext
in '' $ac_executable_extensions; do
46006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46007 ac_cv_prog_ac_ct_STRIP
="strip"
46008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46014 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
46017 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
46018 if test -n "$ac_ct_STRIP"; then
46019 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46020 echo "${ECHO_T}$ac_ct_STRIP" >&6
46022 echo "$as_me:$LINENO: result: no" >&5
46023 echo "${ECHO_T}no" >&6
46028 STRIP
="$ac_cv_prog_STRIP"
46031 if test -n "$ac_tool_prefix"; then
46032 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46033 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
46034 echo "$as_me:$LINENO: checking for $ac_word" >&5
46035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46036 if test "${ac_cv_prog_NM+set}" = set; then
46037 echo $ECHO_N "(cached) $ECHO_C" >&6
46039 if test -n "$NM"; then
46040 ac_cv_prog_NM
="$NM" # Let the user override the test.
46042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46043 for as_dir
in $PATH
46046 test -z "$as_dir" && as_dir
=.
46047 for ac_exec_ext
in '' $ac_executable_extensions; do
46048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46049 ac_cv_prog_NM
="${ac_tool_prefix}nm"
46050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46059 if test -n "$NM"; then
46060 echo "$as_me:$LINENO: result: $NM" >&5
46061 echo "${ECHO_T}$NM" >&6
46063 echo "$as_me:$LINENO: result: no" >&5
46064 echo "${ECHO_T}no" >&6
46068 if test -z "$ac_cv_prog_NM"; then
46070 # Extract the first word of "nm", so it can be a program name with args.
46071 set dummy nm
; ac_word
=$2
46072 echo "$as_me:$LINENO: checking for $ac_word" >&5
46073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46074 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46075 echo $ECHO_N "(cached) $ECHO_C" >&6
46077 if test -n "$ac_ct_NM"; then
46078 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
46080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46081 for as_dir
in $PATH
46084 test -z "$as_dir" && as_dir
=.
46085 for ac_exec_ext
in '' $ac_executable_extensions; do
46086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46087 ac_cv_prog_ac_ct_NM
="nm"
46088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46094 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
46097 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
46098 if test -n "$ac_ct_NM"; then
46099 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46100 echo "${ECHO_T}$ac_ct_NM" >&6
46102 echo "$as_me:$LINENO: result: no" >&5
46103 echo "${ECHO_T}no" >&6
46108 NM
="$ac_cv_prog_NM"
46112 case ${BAKEFILE_HOST} in
46114 INSTALL_DIR
="mkdir -p"
46117 INSTALL_DIR
='$(INSTALL) -d'
46123 case ${BAKEFILE_HOST} in
46124 *-*-cygwin* | *-*-mingw32* )
46125 LDFLAGS_GUI
="-mwindows"
46131 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46132 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46133 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46134 echo $ECHO_N "(cached) $ECHO_C" >&6
46137 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
46138 egrep -s GNU
> /dev
/null
); then
46139 bakefile_cv_prog_makeisgnu
="yes"
46141 bakefile_cv_prog_makeisgnu
="no"
46145 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46146 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46148 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46165 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46166 case "${BAKEFILE_HOST}" in
46173 *-pc-os2_emx | *-pc-os2-emx )
46183 powerpc
-apple-macos* )
46192 case "$BAKEFILE_FORCE_PLATFORM" in
46213 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46214 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46215 { (exit 1); exit 1; }; }
46230 # Check whether --enable-omf or --disable-omf was given.
46231 if test "${enable_omf+set}" = set; then
46232 enableval
="$enable_omf"
46233 bk_os2_use_omf
="$enableval"
46236 case "${BAKEFILE_HOST}" in
46238 if test "x$GCC" = "xyes"; then
46239 CFLAGS
="$CFLAGS -fno-common"
46240 CXXFLAGS
="$CXXFLAGS -fno-common"
46242 if test "x$XLCC" = "xyes"; then
46243 CFLAGS
="$CFLAGS -qnocommon"
46244 CXXFLAGS
="$CXXFLAGS -qnocommon"
46248 *-pc-os2_emx | *-pc-os2-emx )
46249 if test "x$bk_os2_use_omf" = "xyes" ; then
46252 LDFLAGS
="-Zomf $LDFLAGS"
46253 CFLAGS
="-Zomf $CFLAGS"
46254 CXXFLAGS
="-Zomf $CXXFLAGS"
46262 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46268 SO_SUFFIX_MODULE
="so"
46273 DLLPREFIX_MODULE
=""
46277 case "${BAKEFILE_HOST}" in
46280 SO_SUFFIX_MODULE
="sl"
46284 SO_SUFFIX_MODULE
="a"
46288 SO_SUFFIX_MODULE
="dll"
46289 DLLIMP_SUFFIX
="dll.a"
46296 SO_SUFFIX_MODULE
="dll"
46297 DLLIMP_SUFFIX
="dll.a"
46307 *-pc-os2_emx | *-pc-os2-emx )
46309 SO_SUFFIX_MODULE
="dll"
46310 DLLIMP_SUFFIX
=$OS2_LIBEXT
46314 LIBEXT
=".$OS2_LIBEXT"
46319 SO_SUFFIX_MODULE
="bundle"
46323 if test "x$DLLIMP_SUFFIX" = "x" ; then
46324 DLLIMP_SUFFIX
="$SO_SUFFIX"
46339 if test "x$GCC" = "xyes"; then
46343 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46344 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46347 case "${BAKEFILE_HOST}" in
46349 if test "x$GCC" != "xyes"; then
46350 LDFLAGS
="$LDFLAGS -L/usr/lib"
46352 SHARED_LD_CC
="${CC} -b -o"
46353 SHARED_LD_CXX
="${CXX} -b -o"
46359 if test "x$GCC" != "xyes"; then
46360 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46361 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46362 if test "${bakefile_cv_prog_icc+set}" = set; then
46363 echo $ECHO_N "(cached) $ECHO_C" >&6
46366 cat >conftest.
$ac_ext <<_ACEOF
46369 cat confdefs.h
>>conftest.
$ac_ext
46370 cat >>conftest.
$ac_ext <<_ACEOF
46371 /* end confdefs.h. */
46377 #ifndef __INTEL_COMPILER
46385 rm -f conftest.
$ac_objext
46386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46387 (eval $ac_compile) 2>conftest.er1
46389 grep -v '^ *+' conftest.er1
>conftest.err
46391 cat conftest.err
>&5
46392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46393 (exit $ac_status); } &&
46394 { ac_try
='test -z "$ac_c_werror_flag"
46395 || test ! -s conftest.err'
46396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46397 (eval $ac_try) 2>&5
46399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46400 (exit $ac_status); }; } &&
46401 { ac_try
='test -s conftest.$ac_objext'
46402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46403 (eval $ac_try) 2>&5
46405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46406 (exit $ac_status); }; }; then
46407 bakefile_cv_prog_icc
=yes
46409 echo "$as_me: failed program was:" >&5
46410 sed 's/^/| /' conftest.
$ac_ext >&5
46412 bakefile_cv_prog_icc
=no
46415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46418 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46419 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46420 if test "$bakefile_cv_prog_icc" = "yes"; then
46427 if test "x$GCC" != xyes
; then
46428 SHARED_LD_CC
="${CC} -G -o"
46429 SHARED_LD_CXX
="${CXX} -G -o"
46437 cat <<EOF >shared-ld-sh
46439 #-----------------------------------------------------------------------------
46440 #-- Name: distrib/mac/shared-ld-sh
46441 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46442 #-- Author: Gilles Depeyrot
46443 #-- Copyright: (c) 2002 Gilles Depeyrot
46444 #-- Licence: any use permitted
46445 #-----------------------------------------------------------------------------
46450 linking_flag="-dynamiclib"
46451 ldargs="-r -keep_private_externs -nostdlib"
46453 while test ${D}# -gt 0; do
46460 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46461 # collect these options and values
46462 args="${D}{args} ${D}1 ${D}2"
46467 # collect these load args
46468 ldargs="${D}{ldargs} ${D}1"
46471 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46472 # collect these options
46473 args="${D}{args} ${D}1"
46476 -dynamiclib|-bundle)
46477 linking_flag="${D}1"
46481 echo "shared-ld: unhandled option '${D}1'"
46485 *.o | *.a | *.dylib)
46486 # collect object files
46487 objects="${D}{objects} ${D}1"
46491 echo "shared-ld: unhandled argument '${D}1'"
46502 # Link one module containing all the others
46504 if test ${D}{verbose} = 1; then
46505 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46507 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46511 # Link the shared library from the single module created, but only if the
46512 # previous command didn't fail:
46514 if test ${D}{status} = 0; then
46515 if test ${D}{verbose} = 1; then
46516 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46518 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46523 # Remove intermediate module
46525 rm -f master.${D}${D}.o
46530 chmod +x shared
-ld-sh
46532 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46533 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46536 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46537 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46538 if test "${bakefile_cv_gcc31+set}" = set; then
46539 echo $ECHO_N "(cached) $ECHO_C" >&6
46542 cat >conftest.
$ac_ext <<_ACEOF
46545 cat confdefs.h
>>conftest.
$ac_ext
46546 cat >>conftest.
$ac_ext <<_ACEOF
46547 /* end confdefs.h. */
46553 #if (__GNUC__ < 3) || \
46554 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46562 rm -f conftest.
$ac_objext
46563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46564 (eval $ac_compile) 2>conftest.er1
46566 grep -v '^ *+' conftest.er1
>conftest.err
46568 cat conftest.err
>&5
46569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46570 (exit $ac_status); } &&
46571 { ac_try
='test -z "$ac_c_werror_flag"
46572 || test ! -s conftest.err'
46573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46574 (eval $ac_try) 2>&5
46576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46577 (exit $ac_status); }; } &&
46578 { ac_try
='test -s conftest.$ac_objext'
46579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46580 (eval $ac_try) 2>&5
46582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46583 (exit $ac_status); }; }; then
46585 bakefile_cv_gcc31
=yes
46588 echo "$as_me: failed program was:" >&5
46589 sed 's/^/| /' conftest.
$ac_ext >&5
46592 bakefile_cv_gcc31
=no
46596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46599 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46600 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46601 if test "$bakefile_cv_gcc31" = "no"; then
46602 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46603 SHARED_LD_CXX
="$SHARED_LD_CC"
46605 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46606 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46609 if test "x$GCC" == "xyes"; then
46610 PIC_FLAG
="-dynamic -fPIC"
46612 if test "x$XLCC" = "xyes"; then
46613 PIC_FLAG
="-dynamic -DPIC"
46618 if test "x$GCC" = "xyes"; then
46621 case "${BAKEFILE_HOST}" in
46623 LD_EXPFULL
="-Wl,-bexpfull"
46627 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46628 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46630 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46631 set dummy makeC
++SharedLib
; ac_word
=$2
46632 echo "$as_me:$LINENO: checking for $ac_word" >&5
46633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46634 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46635 echo $ECHO_N "(cached) $ECHO_C" >&6
46637 if test -n "$AIX_CXX_LD"; then
46638 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46641 for as_dir
in $PATH
46644 test -z "$as_dir" && as_dir
=.
46645 for ac_exec_ext
in '' $ac_executable_extensions; do
46646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46647 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46654 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46657 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46658 if test -n "$AIX_CXX_LD"; then
46659 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46660 echo "${ECHO_T}$AIX_CXX_LD" >&6
46662 echo "$as_me:$LINENO: result: no" >&5
46663 echo "${ECHO_T}no" >&6
46666 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46667 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46672 SHARED_LD_CC
="${LD} -nostart -o"
46673 SHARED_LD_CXX
="${LD} -nostart -o"
46677 if test "x$GCC" != "xyes"; then
46682 *-*-cygwin* | *-*-mingw32* )
46684 SHARED_LD_CC
="\$(CC) -shared -o"
46685 SHARED_LD_CXX
="\$(CXX) -shared -o"
46689 *-pc-os2_emx | *-pc-os2-emx )
46690 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46691 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46695 cat <<EOF >dllar.sh
46698 # dllar - a tool to build both a .dll and an .a file
46699 # from a set of object (.o) files for EMX/OS2.
46701 # Written by Andrew Zabolotny, bit@freya.etu.ru
46702 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46704 # This script will accept a set of files on the command line.
46705 # All the public symbols from the .o files will be exported into
46706 # a .DEF file, then linker will be run (through gcc) against them to
46707 # build a shared library consisting of all given .o files. All libraries
46708 # (.a) will be first decompressed into component .o files then act as
46709 # described above. You can optionally give a description (-d "description")
46710 # which will be put into .DLL. To see the list of accepted options (as well
46711 # as command-line format) simply run this program without options. The .DLL
46712 # is built to be imported by name (there is no guarantee that new versions
46713 # of the library you build will have same ordinals for same symbols).
46715 # dllar is free software; you can redistribute it and/or modify
46716 # it under the terms of the GNU General Public License as published by
46717 # the Free Software Foundation; either version 2, or (at your option)
46718 # any later version.
46720 # dllar is distributed in the hope that it will be useful,
46721 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46722 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46723 # GNU General Public License for more details.
46725 # You should have received a copy of the GNU General Public License
46726 # along with dllar; see the file COPYING. If not, write to the Free
46727 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46730 # To successfuly run this program you will need:
46731 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46732 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46734 # (used to build the .dll)
46736 # (used to create .def file from .o files)
46738 # (used to create .a file from .def file)
46739 # - GNU text utilites (cat, sort, uniq)
46740 # used to process emxexp output
46741 # - GNU file utilities (mv, rm)
46743 # - lxlite (optional, see flag below)
46744 # (used for general .dll cleanup)
46751 # basnam, variant of basename, which does _not_ remove the path, _iff_
46752 # second argument (suffix to remove) is given
46756 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46759 echo ${D}1 | sed 's/'${D}2'${D}//'
46762 echo "error in basnam ${D}*"
46768 # Cleanup temporary files and output
46771 for i in ${D}inputFiles ; do
46774 rm -rf \`basnam ${D}i !\`
46781 # Kill result in case of failure as there is just to many stupid make/nmake
46782 # things out there which doesn't do this.
46783 if [ ${D}# -eq 0 ]; then
46784 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46788 # Print usage and exit script with rc=1.
46790 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46791 echo ' [-name-mangler-script script.sh]'
46792 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46793 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46794 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46795 echo ' [*.o] [*.a]'
46796 echo '*> "output_file" should have no extension.'
46797 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46798 echo ' The import library name is derived from this and is set to "name".a,'
46799 echo ' unless overridden by -import'
46800 echo '*> "importlib_name" should have no extension.'
46801 echo ' If it has the .o, or .a extension, it is automatically removed.'
46802 echo ' This name is used as the import library name and may be longer and'
46803 echo ' more descriptive than the DLL name which has to follow the old '
46804 echo ' 8.3 convention of FAT.'
46805 echo '*> "script.sh may be given to override the output_file name by a'
46806 echo ' different name. It is mainly useful if the regular make process'
46807 echo ' of some package does not take into account OS/2 restriction of'
46808 echo ' DLL name lengths. It takes the importlib name as input and is'
46809 echo ' supposed to procude a shorter name as output. The script should'
46810 echo ' expect to get importlib_name without extension and should produce'
46811 echo ' a (max.) 8 letter name without extension.'
46812 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46813 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46814 echo ' These flags will be put at the start of GCC command line.'
46815 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46816 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46817 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46818 echo ' If the last character of a symbol is "*", all symbols beginning'
46819 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46820 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46821 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46822 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46823 echo ' C runtime DLLs.'
46824 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46825 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46826 echo ' unchanged to GCC at the end of command line.'
46827 echo '*> If you create a DLL from a library and you do not specify -o,'
46828 echo ' the basename for DLL and import library will be set to library name,'
46829 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46830 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46831 echo ' library will be renamed into gcc_s.a.'
46834 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46835 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46840 # Execute a command.
46841 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46842 # @Uses Whatever CleanUp() uses.
46848 if [ ${D}rcCmd -ne 0 ]; then
46849 echo "command failed, exit code="${D}rcCmd
46864 CFLAGS="-s -Zcrtdll"
46866 EXPORT_BY_ORDINALS=0
46871 case ${D}curDirS in
46875 curDirS=${D}{curDirS}"/"
46878 # Parse commandline
46881 while [ ${D}1 ]; do
46884 EXPORT_BY_ORDINALS=1;
46894 -name-mangler-script)
46915 exclude_symbols=${D}{exclude_symbols}${D}1" "
46919 library_flags=${D}{library_flags}${D}1" "
46938 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46941 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46942 if [ ${D}omfLinking -eq 1 ]; then
46943 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46945 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46950 if [ ${D}libsToLink -ne 0 ]; then
46951 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46953 for file in ${D}1 ; do
46954 if [ -f ${D}file ]; then
46955 inputFiles="${D}{inputFiles} ${D}file"
46959 if [ ${D}found -eq 0 ]; then
46960 echo "ERROR: No file(s) found: "${D}1
46967 done # iterate cmdline words
46970 if [ -z "${D}inputFiles" ]; then
46971 echo "dllar: no input files"
46975 # Now extract all .o files from .a files
46977 for file in ${D}inputFiles ; do
46988 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46993 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46995 if [ ${D}? -ne 0 ]; then
46996 echo "Failed to create subdirectory ./${D}dirname"
47000 # Append '!' to indicate archive
47001 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47002 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47005 for subfile in ${D}dirname/*.o* ; do
47006 if [ -f ${D}subfile ]; then
47008 if [ -s ${D}subfile ]; then
47009 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47010 newInputFiles="${D}newInputFiles ${D}subfile"
47014 if [ ${D}found -eq 0 ]; then
47015 echo "WARNING: there are no files in archive \\'${D}file\\'"
47019 newInputFiles="${D}{newInputFiles} ${D}file"
47023 inputFiles="${D}newInputFiles"
47025 # Output filename(s).
47027 if [ -z ${D}outFile ]; then
47029 set outFile ${D}inputFiles; outFile=${D}2
47032 # If it is an archive, remove the '!' and the '_%' suffixes
47033 case ${D}outFile in
47035 outFile=\`basnam ${D}outFile _%!\`
47040 case ${D}outFile in
47042 outFile=\`basnam ${D}outFile .dll\`
47045 outFile=\`basnam ${D}outFile .DLL\`
47048 outFile=\`basnam ${D}outFile .o\`
47051 outFile=\`basnam ${D}outFile .obj\`
47054 outFile=\`basnam ${D}outFile .a\`
47057 outFile=\`basnam ${D}outFile .lib\`
47062 case ${D}outimpFile in
47064 outimpFile=\`basnam ${D}outimpFile .a\`
47067 outimpFile=\`basnam ${D}outimpFile .lib\`
47072 if [ -z ${D}outimpFile ]; then
47073 outimpFile=${D}outFile
47075 defFile="${D}{outFile}.def"
47076 arcFile="${D}{outimpFile}.a"
47077 arcFile2="${D}{outimpFile}.lib"
47079 #create ${D}dllFile as something matching 8.3 restrictions,
47080 if [ -z ${D}renameScript ] ; then
47081 dllFile="${D}outFile"
47083 dllFile=\`${D}renameScript ${D}outimpFile\`
47086 if [ ${D}do_backup -ne 0 ] ; then
47087 if [ -f ${D}arcFile ] ; then
47088 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47090 if [ -f ${D}arcFile2 ] ; then
47091 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47095 # Extract public symbols from all the object files.
47096 tmpdefFile=${D}{defFile}_%
47097 rm -f ${D}tmpdefFile
47098 for file in ${D}inputFiles ; do
47103 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47108 # Create the def file.
47110 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47111 dllFile="${D}{dllFile}.dll"
47112 if [ ! -z ${D}description ]; then
47113 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47115 echo "EXPORTS" >> ${D}defFile
47117 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47118 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47120 # Checks if the export is ok or not.
47121 for word in ${D}exclude_symbols; do
47122 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47123 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47127 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47128 sed "=" < ${D}tmpdefFile | \\
47132 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47134 ' > ${D}{tmpdefFile}%
47135 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47137 rm -f ${D}{tmpdefFile}%
47139 cat ${D}tmpdefFile >> ${D}defFile
47140 rm -f ${D}tmpdefFile
47142 # Do linking, create implib, and apply lxlite.
47144 for file in ${D}inputFiles ; do
47149 gccCmdl="${D}gccCmdl ${D}file"
47153 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47154 touch "${D}{outFile}.dll"
47156 doCommand "emximp -o ${D}arcFile ${D}defFile"
47157 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47159 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47162 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47164 doCommand "emxomf -s -l ${D}arcFile"
47174 powerpc
-apple-macos* | \
47175 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
47185 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47186 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47187 { (exit 1); exit 1; }; }
47190 if test "x$PIC_FLAG" != "x" ; then
47191 PIC_FLAG
="$PIC_FLAG -DPIC"
47194 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47195 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
47197 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47198 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
47217 case "${BAKEFILE_HOST}" in
47218 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
47219 SONAME_FLAG
="-Wl,-soname,"
47253 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47254 if test "${enable_dependency_tracking+set}" = set; then
47255 enableval
="$enable_dependency_tracking"
47256 bk_use_trackdeps
="$enableval"
47259 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47260 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47263 if test "x$bk_use_trackdeps" = "xno" ; then
47265 echo "$as_me:$LINENO: result: disabled" >&5
47266 echo "${ECHO_T}disabled" >&6
47270 if test "x$GCC" = "xyes"; then
47272 case "${BAKEFILE_HOST}" in
47274 DEPSFLAG
="-no-cpp-precomp -MMD"
47280 echo "$as_me:$LINENO: result: gcc" >&5
47281 echo "${ECHO_T}gcc" >&6
47282 elif test "x$MWCC" = "xyes"; then
47285 echo "$as_me:$LINENO: result: mwcc" >&5
47286 echo "${ECHO_T}mwcc" >&6
47287 elif test "x$SUNCC" = "xyes"; then
47290 echo "$as_me:$LINENO: result: Sun cc" >&5
47291 echo "${ECHO_T}Sun cc" >&6
47292 elif test "x$SGICC" = "xyes"; then
47295 echo "$as_me:$LINENO: result: SGI cc" >&5
47296 echo "${ECHO_T}SGI cc" >&6
47297 elif test "x$HPCC" = "xyes"; then
47300 echo "$as_me:$LINENO: result: HP cc" >&5
47301 echo "${ECHO_T}HP cc" >&6
47302 elif test "x$COMPAQCC" = "xyes"; then
47305 echo "$as_me:$LINENO: result: Compaq cc" >&5
47306 echo "${ECHO_T}Compaq cc" >&6
47309 echo "$as_me:$LINENO: result: none" >&5
47310 echo "${ECHO_T}none" >&6
47313 if test $DEPS_TRACKING = 1 ; then
47319 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47320 # script. It is used to track C/C++ files dependencies in portable way.
47322 # Permission is given to use this file in any way.
47324 DEPSMODE=${DEPSMODE}
47326 DEPSFLAG="${DEPSFLAG}"
47328 mkdir -p ${D}DEPSDIR
47330 if test ${D}DEPSMODE = gcc ; then
47331 ${D}* ${D}{DEPSFLAG}
47333 if test ${D}{status} != 0 ; then
47336 # move created file to the location we want it in:
47337 while test ${D}# -gt 0; do
47351 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47352 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47353 if test -f ${D}depfile ; then
47354 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47357 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47358 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47359 if test ! -f ${D}depfile ; then
47360 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47361 depfile="${D}objfile.d"
47363 if test -f ${D}depfile ; then
47364 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47369 elif test ${D}DEPSMODE = mwcc ; then
47370 ${D}* || exit ${D}?
47371 # Run mwcc again with -MM and redirect into the dep file we want
47372 # NOTE: We can't use shift here because we need ${D}* to be valid
47374 for arg in ${D}* ; do
47375 if test "${D}prevarg" = "-o"; then
47388 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47390 elif test ${D}DEPSMODE = unixcc; then
47391 ${D}* || exit ${D}?
47392 # Run compiler again with deps flag and redirect into the dep file.
47393 # It doesn't work if the '-o FILE' option is used, but without it the
47394 # dependency file will contain the wrong name for the object. So it is
47395 # removed from the command line, and the dep file is fixed with sed.
47397 while test ${D}# -gt 0; do
47404 eval arg${D}#=\\${D}1
47405 cmd="${D}cmd \\${D}arg${D}#"
47410 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47419 BK_DEPS
="`pwd`/bk-deps"
47427 case ${BAKEFILE_HOST} in
47428 *-*-cygwin* | *-*-mingw32* )
47429 if test -n "$ac_tool_prefix"; then
47430 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47431 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47432 echo "$as_me:$LINENO: checking for $ac_word" >&5
47433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47434 if test "${ac_cv_prog_WINDRES+set}" = set; then
47435 echo $ECHO_N "(cached) $ECHO_C" >&6
47437 if test -n "$WINDRES"; then
47438 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47441 for as_dir
in $PATH
47444 test -z "$as_dir" && as_dir
=.
47445 for ac_exec_ext
in '' $ac_executable_extensions; do
47446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47447 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47456 WINDRES
=$ac_cv_prog_WINDRES
47457 if test -n "$WINDRES"; then
47458 echo "$as_me:$LINENO: result: $WINDRES" >&5
47459 echo "${ECHO_T}$WINDRES" >&6
47461 echo "$as_me:$LINENO: result: no" >&5
47462 echo "${ECHO_T}no" >&6
47466 if test -z "$ac_cv_prog_WINDRES"; then
47467 ac_ct_WINDRES
=$WINDRES
47468 # Extract the first word of "windres", so it can be a program name with args.
47469 set dummy windres
; ac_word
=$2
47470 echo "$as_me:$LINENO: checking for $ac_word" >&5
47471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47472 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47473 echo $ECHO_N "(cached) $ECHO_C" >&6
47475 if test -n "$ac_ct_WINDRES"; then
47476 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47479 for as_dir
in $PATH
47482 test -z "$as_dir" && as_dir
=.
47483 for ac_exec_ext
in '' $ac_executable_extensions; do
47484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47485 ac_cv_prog_ac_ct_WINDRES
="windres"
47486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47494 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47495 if test -n "$ac_ct_WINDRES"; then
47496 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47497 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47499 echo "$as_me:$LINENO: result: no" >&5
47500 echo "${ECHO_T}no" >&6
47503 WINDRES
=$ac_ct_WINDRES
47505 WINDRES
="$ac_cv_prog_WINDRES"
47510 *-*-darwin* | powerpc
-apple-macos* )
47511 # Extract the first word of "Rez", so it can be a program name with args.
47512 set dummy Rez
; ac_word
=$2
47513 echo "$as_me:$LINENO: checking for $ac_word" >&5
47514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47515 if test "${ac_cv_prog_REZ+set}" = set; then
47516 echo $ECHO_N "(cached) $ECHO_C" >&6
47518 if test -n "$REZ"; then
47519 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47522 for as_dir
in $PATH
47525 test -z "$as_dir" && as_dir
=.
47526 for ac_exec_ext
in '' $ac_executable_extensions; do
47527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47528 ac_cv_prog_REZ
="Rez"
47529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47535 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47538 REZ
=$ac_cv_prog_REZ
47539 if test -n "$REZ"; then
47540 echo "$as_me:$LINENO: result: $REZ" >&5
47541 echo "${ECHO_T}$REZ" >&6
47543 echo "$as_me:$LINENO: result: no" >&5
47544 echo "${ECHO_T}no" >&6
47547 # Extract the first word of "SetFile", so it can be a program name with args.
47548 set dummy SetFile
; ac_word
=$2
47549 echo "$as_me:$LINENO: checking for $ac_word" >&5
47550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47551 if test "${ac_cv_prog_SETFILE+set}" = set; then
47552 echo $ECHO_N "(cached) $ECHO_C" >&6
47554 if test -n "$SETFILE"; then
47555 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47558 for as_dir
in $PATH
47561 test -z "$as_dir" && as_dir
=.
47562 for ac_exec_ext
in '' $ac_executable_extensions; do
47563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47564 ac_cv_prog_SETFILE
="SetFile"
47565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47571 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47574 SETFILE
=$ac_cv_prog_SETFILE
47575 if test -n "$SETFILE"; then
47576 echo "$as_me:$LINENO: result: $SETFILE" >&5
47577 echo "${ECHO_T}$SETFILE" >&6
47579 echo "$as_me:$LINENO: result: no" >&5
47580 echo "${ECHO_T}no" >&6
47591 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
47594 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
47598 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47599 if test "${enable_precomp_headers+set}" = set; then
47600 enableval
="$enable_precomp_headers"
47601 bk_use_pch
="$enableval"
47609 case ${BAKEFILE_HOST} in
47615 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47616 if test "x$GCC" = "xyes"; then
47617 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47618 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47619 cat >conftest.
$ac_ext <<_ACEOF
47622 cat confdefs.h
>>conftest.
$ac_ext
47623 cat >>conftest.
$ac_ext <<_ACEOF
47624 /* end confdefs.h. */
47630 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47631 There is no PCH support
47634 There is no PCH support
47636 #if (__GNUC__ == 3) && \
47637 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47638 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47639 ( defined(__INTEL_COMPILER) )
47640 There is no PCH support
47647 rm -f conftest.
$ac_objext
47648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47649 (eval $ac_compile) 2>conftest.er1
47651 grep -v '^ *+' conftest.er1
>conftest.err
47653 cat conftest.err
>&5
47654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47655 (exit $ac_status); } &&
47656 { ac_try
='test -z "$ac_c_werror_flag"
47657 || test ! -s conftest.err'
47658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47659 (eval $ac_try) 2>&5
47661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47662 (exit $ac_status); }; } &&
47663 { ac_try
='test -s conftest.$ac_objext'
47664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47665 (eval $ac_try) 2>&5
47667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47668 (exit $ac_status); }; }; then
47670 echo "$as_me:$LINENO: result: yes" >&5
47671 echo "${ECHO_T}yes" >&6
47675 echo "$as_me: failed program was:" >&5
47676 sed 's/^/| /' conftest.
$ac_ext >&5
47679 cat >conftest.
$ac_ext <<_ACEOF
47682 cat confdefs.h
>>conftest.
$ac_ext
47683 cat >>conftest.
$ac_ext <<_ACEOF
47684 /* end confdefs.h. */
47690 #if !defined(__INTEL_COMPILER) || \
47691 (__INTEL_COMPILER < 800)
47692 There is no PCH support
47699 rm -f conftest.
$ac_objext
47700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47701 (eval $ac_compile) 2>conftest.er1
47703 grep -v '^ *+' conftest.er1
>conftest.err
47705 cat conftest.err
>&5
47706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47707 (exit $ac_status); } &&
47708 { ac_try
='test -z "$ac_c_werror_flag"
47709 || test ! -s conftest.err'
47710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47711 (eval $ac_try) 2>&5
47713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47714 (exit $ac_status); }; } &&
47715 { ac_try
='test -s conftest.$ac_objext'
47716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47717 (eval $ac_try) 2>&5
47719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47720 (exit $ac_status); }; }; then
47722 echo "$as_me:$LINENO: result: yes" >&5
47723 echo "${ECHO_T}yes" >&6
47727 echo "$as_me: failed program was:" >&5
47728 sed 's/^/| /' conftest.
$ac_ext >&5
47731 echo "$as_me:$LINENO: result: no" >&5
47732 echo "${ECHO_T}no" >&6
47735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47739 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47743 cat <<EOF >bk-make-pch
47746 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47747 # script. It is used to generated precompiled headers.
47749 # Permission is given to use this file in any way.
47759 while test ${D}{#} -gt 0; do
47763 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47764 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47765 headerfile="${D}{incdir}/${D}{header}"
47768 -use-pch|-use_pch )
47773 if test ${D}add_to_cmdline = 1 ; then
47774 compiler="${D}{compiler} ${D}{1}"
47779 if test "x${D}{headerfile}" = "x" ; then
47780 echo "error: can't find header ${D}{header} in include paths" >&2
47782 if test -f ${D}{outfile} ; then
47783 rm -f ${D}{outfile}
47785 mkdir -p \`dirname ${D}{outfile}\`
47787 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47789 if test "x${GCC_PCH}" = "x1" ; then
47790 # can do this because gcc is >= 3.4:
47791 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47792 elif test "x${ICC_PCH}" = "x1" ; then
47793 filename=pch_gen-${D}${D}
47794 file=${D}{filename}.c
47795 dfile=${D}{filename}.d
47796 cat > ${D}file <<EOT
47797 #include "${D}header"
47799 # using -MF icc complains about differing command lines in creation/use
47800 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47801 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47802 rm -f ${D}file ${D}dfile ${D}{filename}.o
47808 chmod +x bk
-make-pch
47809 BK_MAKE_PCH
="`pwd`/bk-make-pch"
47818 COND_BUILD_DEBUG
="#"
47819 if test "x$BUILD" = "xdebug" ; then
47820 COND_BUILD_DEBUG
=""
47823 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47824 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47825 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47828 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47829 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47830 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47833 COND_BUILD_DEBUG_UNICODE_0
="#"
47834 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47835 COND_BUILD_DEBUG_UNICODE_0
=""
47838 COND_BUILD_DEBUG_UNICODE_1
="#"
47839 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47840 COND_BUILD_DEBUG_UNICODE_1
=""
47843 COND_BUILD_RELEASE
="#"
47844 if test "x$BUILD" = "xrelease" ; then
47845 COND_BUILD_RELEASE
=""
47848 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47849 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47850 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47853 COND_BUILD_RELEASE_UNICODE_0
="#"
47854 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47855 COND_BUILD_RELEASE_UNICODE_0
=""
47858 COND_BUILD_RELEASE_UNICODE_1
="#"
47859 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47860 COND_BUILD_RELEASE_UNICODE_1
=""
47863 COND_DEBUG_FLAG_1
="#"
47864 if test "x$DEBUG_FLAG" = "x1" ; then
47865 COND_DEBUG_FLAG_1
=""
47868 COND_DEBUG_INFO_0
="#"
47869 if test "x$DEBUG_INFO" = "x0" ; then
47870 COND_DEBUG_INFO_0
=""
47873 COND_DEBUG_INFO_1
="#"
47874 if test "x$DEBUG_INFO" = "x1" ; then
47875 COND_DEBUG_INFO_1
=""
47878 COND_DEPS_TRACKING_0
="#"
47879 if test "x$DEPS_TRACKING" = "x0" ; then
47880 COND_DEPS_TRACKING_0
=""
47883 COND_DEPS_TRACKING_1
="#"
47884 if test "x$DEPS_TRACKING" = "x1" ; then
47885 COND_DEPS_TRACKING_1
=""
47889 if test "x$GCC_PCH" = "x1" ; then
47894 if test "x$ICC_PCH" = "x1" ; then
47898 COND_MONOLITHIC_0
="#"
47899 if test "x$MONOLITHIC" = "x0" ; then
47900 COND_MONOLITHIC_0
=""
47903 COND_MONOLITHIC_0_SHARED_0
="#"
47904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47905 COND_MONOLITHIC_0_SHARED_0
=""
47908 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
47909 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47910 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
47913 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47914 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47915 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47918 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47919 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47920 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47923 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
47924 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47925 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
47928 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47929 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47930 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47933 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47934 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47935 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47938 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47939 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47940 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47943 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
47944 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47945 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
47948 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
47949 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
47950 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
47953 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47954 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47955 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47958 COND_MONOLITHIC_0_SHARED_1
="#"
47959 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47960 COND_MONOLITHIC_0_SHARED_1
=""
47963 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
47964 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47965 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
47968 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47969 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47970 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47973 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47974 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47975 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47978 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
47979 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47980 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
47983 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47984 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47985 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47988 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47989 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47990 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47993 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47994 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47995 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47998 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
47999 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48000 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48003 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
48004 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48005 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
48008 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48009 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48010 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48013 COND_MONOLITHIC_0_USE_AUI_1
="#"
48014 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48015 COND_MONOLITHIC_0_USE_AUI_1
=""
48018 COND_MONOLITHIC_0_USE_GUI_1
="#"
48019 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48020 COND_MONOLITHIC_0_USE_GUI_1
=""
48023 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
48024 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48025 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
48028 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
="#"
48029 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48030 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
=""
48033 COND_MONOLITHIC_0_USE_HTML_1
="#"
48034 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48035 COND_MONOLITHIC_0_USE_HTML_1
=""
48038 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48039 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48040 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48043 COND_MONOLITHIC_0_USE_ODBC_1
="#"
48044 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48045 COND_MONOLITHIC_0_USE_ODBC_1
=""
48048 COND_MONOLITHIC_0_USE_QA_1
="#"
48049 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48050 COND_MONOLITHIC_0_USE_QA_1
=""
48053 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
48054 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48055 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
48058 COND_MONOLITHIC_0_USE_STC_1
="#"
48059 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48060 COND_MONOLITHIC_0_USE_STC_1
=""
48063 COND_MONOLITHIC_0_USE_XRC_1
="#"
48064 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48065 COND_MONOLITHIC_0_USE_XRC_1
=""
48068 COND_MONOLITHIC_1
="#"
48069 if test "x$MONOLITHIC" = "x1" ; then
48070 COND_MONOLITHIC_1
=""
48073 COND_MONOLITHIC_1_SHARED_0
="#"
48074 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48075 COND_MONOLITHIC_1_SHARED_0
=""
48078 COND_MONOLITHIC_1_SHARED_1
="#"
48079 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48080 COND_MONOLITHIC_1_SHARED_1
=""
48083 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48084 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48085 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48088 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48089 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48090 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48093 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48094 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48095 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48098 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48099 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48100 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48103 COND_PLATFORM_MACOSX_1
="#"
48104 if test "x$PLATFORM_MACOSX" = "x1" ; then
48105 COND_PLATFORM_MACOSX_1
=""
48108 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48109 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48110 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48113 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48114 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48115 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
48118 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
48119 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48120 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
48123 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
48124 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48125 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
48128 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
48129 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48130 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
48133 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
48134 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48135 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
48138 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
48139 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48140 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
48143 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
48144 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48145 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
48148 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
48149 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48150 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
48153 COND_PLATFORM_MACOS_1
="#"
48154 if test "x$PLATFORM_MACOS" = "x1" ; then
48155 COND_PLATFORM_MACOS_1
=""
48158 COND_PLATFORM_MAC_1
="#"
48159 if test "x$PLATFORM_MAC" = "x1" ; then
48160 COND_PLATFORM_MAC_1
=""
48163 COND_PLATFORM_MSDOS_0
="#"
48164 if test "x$PLATFORM_MSDOS" = "x0" ; then
48165 COND_PLATFORM_MSDOS_0
=""
48168 COND_PLATFORM_MSDOS_1
="#"
48169 if test "x$PLATFORM_MSDOS" = "x1" ; then
48170 COND_PLATFORM_MSDOS_1
=""
48173 COND_PLATFORM_OS2_1
="#"
48174 if test "x$PLATFORM_OS2" = "x1" ; then
48175 COND_PLATFORM_OS2_1
=""
48178 COND_PLATFORM_UNIX_0
="#"
48179 if test "x$PLATFORM_UNIX" = "x0" ; then
48180 COND_PLATFORM_UNIX_0
=""
48183 COND_PLATFORM_UNIX_1
="#"
48184 if test "x$PLATFORM_UNIX" = "x1" ; then
48185 COND_PLATFORM_UNIX_1
=""
48188 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
48189 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48190 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
48193 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
48194 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48195 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
48198 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
48199 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48200 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
48203 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
48204 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48205 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
48208 COND_PLATFORM_WIN32_0
="#"
48209 if test "x$PLATFORM_WIN32" = "x0" ; then
48210 COND_PLATFORM_WIN32_0
=""
48213 COND_PLATFORM_WIN32_1
="#"
48214 if test "x$PLATFORM_WIN32" = "x1" ; then
48215 COND_PLATFORM_WIN32_1
=""
48219 if test "x$SHARED" = "x0" ; then
48223 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
48224 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48225 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
48228 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
48229 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48230 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
48233 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
48234 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48235 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
48238 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
48239 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48240 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
48243 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48244 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48245 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48248 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48249 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48250 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48253 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48254 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48255 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48258 COND_SHARED_0_USE_STC_1
="#"
48259 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48260 COND_SHARED_0_USE_STC_1
=""
48263 COND_SHARED_0_USE_XRC_1
="#"
48264 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48265 COND_SHARED_0_USE_XRC_1
=""
48268 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
48269 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48270 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
48273 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
48274 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48275 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
48278 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
48279 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48280 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
48283 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
48284 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48285 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
48289 if test "x$SHARED" = "x1" ; then
48293 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
48294 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48295 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
48298 COND_SHARED_1_USE_XRC_1
="#"
48299 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48300 COND_SHARED_1_USE_XRC_1
=""
48304 if test "x$TOOLKIT" = "x" ; then
48308 COND_TOOLKIT_COCOA
="#"
48309 if test "x$TOOLKIT" = "xCOCOA" ; then
48310 COND_TOOLKIT_COCOA
=""
48313 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
48314 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48315 COND_TOOLKIT_COCOA_USE_GUI_1
=""
48318 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
48319 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48320 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
48323 COND_TOOLKIT_DFB
="#"
48324 if test "x$TOOLKIT" = "xDFB" ; then
48325 COND_TOOLKIT_DFB
=""
48328 COND_TOOLKIT_DFB_USE_GUI_1
="#"
48329 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48330 COND_TOOLKIT_DFB_USE_GUI_1
=""
48333 COND_TOOLKIT_GTK
="#"
48334 if test "x$TOOLKIT" = "xGTK" ; then
48335 COND_TOOLKIT_GTK
=""
48338 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
48339 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48340 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
48343 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
48344 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48345 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
48348 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
48349 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48350 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
48353 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
48354 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48355 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48358 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48359 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48360 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48363 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48364 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48365 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48368 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48369 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48370 COND_TOOLKIT_GTK_USE_GUI_1
=""
48373 COND_TOOLKIT_MAC
="#"
48374 if test "x$TOOLKIT" = "xMAC" ; then
48375 COND_TOOLKIT_MAC
=""
48378 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48379 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48380 COND_TOOLKIT_MAC_USE_GUI_1
=""
48383 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48384 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48385 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48388 COND_TOOLKIT_MGL
="#"
48389 if test "x$TOOLKIT" = "xMGL" ; then
48390 COND_TOOLKIT_MGL
=""
48393 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48394 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48395 COND_TOOLKIT_MGL_USE_GUI_1
=""
48398 COND_TOOLKIT_MOTIF
="#"
48399 if test "x$TOOLKIT" = "xMOTIF" ; then
48400 COND_TOOLKIT_MOTIF
=""
48403 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48404 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48405 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48408 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48409 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48410 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48413 COND_TOOLKIT_MSW
="#"
48414 if test "x$TOOLKIT" = "xMSW" ; then
48415 COND_TOOLKIT_MSW
=""
48418 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48419 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48420 COND_TOOLKIT_MSW_USE_GUI_1
=""
48423 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48424 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48425 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48428 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48429 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48430 COND_TOOLKIT_MSW_WXUNIV_0
=""
48433 COND_TOOLKIT_PM
="#"
48434 if test "x$TOOLKIT" = "xPM" ; then
48438 COND_TOOLKIT_PM_USE_GUI_1
="#"
48439 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48440 COND_TOOLKIT_PM_USE_GUI_1
=""
48443 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48444 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48445 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48448 COND_TOOLKIT_WINCE
="#"
48449 if test "x$TOOLKIT" = "xWINCE" ; then
48450 COND_TOOLKIT_WINCE
=""
48453 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48454 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48455 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48458 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48459 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48460 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48463 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48464 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48465 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48468 COND_TOOLKIT_X11
="#"
48469 if test "x$TOOLKIT" = "xX11" ; then
48470 COND_TOOLKIT_X11
=""
48473 COND_TOOLKIT_X11_USE_GUI_1
="#"
48474 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48475 COND_TOOLKIT_X11_USE_GUI_1
=""
48479 if test "x$UNICODE" = "x1" ; then
48483 COND_USE_EXCEPTIONS_0
="#"
48484 if test "x$USE_EXCEPTIONS" = "x0" ; then
48485 COND_USE_EXCEPTIONS_0
=""
48488 COND_USE_EXCEPTIONS_1
="#"
48489 if test "x$USE_EXCEPTIONS" = "x1" ; then
48490 COND_USE_EXCEPTIONS_1
=""
48494 if test "x$USE_GUI" = "x0" ; then
48499 if test "x$USE_GUI" = "x1" ; then
48503 COND_USE_GUI_1_USE_OPENGL_1
="#"
48504 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48505 COND_USE_GUI_1_USE_OPENGL_1
=""
48508 COND_USE_GUI_1_WXUNIV_0
="#"
48509 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48510 COND_USE_GUI_1_WXUNIV_0
=""
48513 COND_USE_GUI_1_WXUNIV_1
="#"
48514 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48515 COND_USE_GUI_1_WXUNIV_1
=""
48518 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48519 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48520 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48523 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48524 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48525 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48528 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48529 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48530 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48533 COND_USE_ODBC_1
="#"
48534 if test "x$USE_ODBC" = "x1" ; then
48538 COND_USE_OPENGL_1
="#"
48539 if test "x$USE_OPENGL" = "x1" ; then
48540 COND_USE_OPENGL_1
=""
48544 if test "x$USE_PCH" = "x1" ; then
48548 COND_USE_PLUGINS_0
="#"
48549 if test "x$USE_PLUGINS" = "x0" ; then
48550 COND_USE_PLUGINS_0
=""
48553 COND_USE_RTTI_0
="#"
48554 if test "x$USE_RTTI" = "x0" ; then
48558 COND_USE_RTTI_1
="#"
48559 if test "x$USE_RTTI" = "x1" ; then
48563 COND_USE_SOSYMLINKS_1
="#"
48564 if test "x$USE_SOSYMLINKS" = "x1" ; then
48565 COND_USE_SOSYMLINKS_1
=""
48568 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48569 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48570 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48573 COND_USE_SOVERLINUX_1
="#"
48574 if test "x$USE_SOVERLINUX" = "x1" ; then
48575 COND_USE_SOVERLINUX_1
=""
48578 COND_USE_SOVERSION_0
="#"
48579 if test "x$USE_SOVERSION" = "x0" ; then
48580 COND_USE_SOVERSION_0
=""
48583 COND_USE_SOVERSOLARIS_1
="#"
48584 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48585 COND_USE_SOVERSOLARIS_1
=""
48589 if test "x$USE_STC" = "x1" ; then
48593 COND_USE_THREADS_0
="#"
48594 if test "x$USE_THREADS" = "x0" ; then
48595 COND_USE_THREADS_0
=""
48598 COND_USE_THREADS_1
="#"
48599 if test "x$USE_THREADS" = "x1" ; then
48600 COND_USE_THREADS_1
=""
48604 if test "x$USE_XRC" = "x1" ; then
48608 COND_WINDOWS_IMPLIB_1
="#"
48609 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48610 COND_WINDOWS_IMPLIB_1
=""
48613 COND_WITH_PLUGIN_SDL_1
="#"
48614 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48615 COND_WITH_PLUGIN_SDL_1
=""
48619 if test "x$WXUNIV" = "x0" ; then
48624 if test "x$WXUNIV" = "x1" ; then
48628 COND_WXUSE_EXPAT_BUILTIN
="#"
48629 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48630 COND_WXUSE_EXPAT_BUILTIN
=""
48633 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48634 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48635 COND_WXUSE_LIBJPEG_BUILTIN
=""
48638 COND_WXUSE_LIBPNG_BUILTIN
="#"
48639 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48640 COND_WXUSE_LIBPNG_BUILTIN
=""
48643 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48644 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48645 COND_WXUSE_LIBTIFF_BUILTIN
=""
48648 COND_WXUSE_ODBC_BUILTIN
="#"
48649 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48650 COND_WXUSE_ODBC_BUILTIN
=""
48653 COND_WXUSE_REGEX_BUILTIN
="#"
48654 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48655 COND_WXUSE_REGEX_BUILTIN
=""
48658 COND_WXUSE_ZLIB_BUILTIN
="#"
48659 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48660 COND_WXUSE_ZLIB_BUILTIN
=""
48665 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48666 { { 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
48667 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;}
48668 { (exit 1); exit 1; }; }
48671 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48672 { { 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
48673 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;}
48674 { (exit 1); exit 1; }; }
48678 if test $GCC_PCH = 1
48680 if test "$wx_cv_gcc_pch_bug" = yes; then
48681 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48682 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48683 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48684 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48685 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48686 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48689 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48693 if test "$wxUSE_MAC" = 1 ; then
48694 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48695 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48701 if test "$wxUSE_SHARED" = "yes"; then
48703 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48704 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48707 *-pc-os2_emx | *-pc-os2-emx )
48708 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48709 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48710 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48711 cp -p ${srcdir}/src
/os
2/dllar.sh .
48716 EXE_LINKER
="$CXX -o"
48719 if test "$wxUSE_OMF" = "yes"; then
48721 *-pc-os2_emx | *-pc-os2-emx )
48722 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48723 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48724 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48729 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48731 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48793 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48794 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48795 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48796 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48797 echo $ECHO_N "(cached) $ECHO_C" >&6
48799 cat >conftest.
make <<\_ACEOF
48801 @
echo 'ac_maketemp="$(MAKE)"'
48803 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48804 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48805 if test -n "$ac_maketemp"; then
48806 eval ac_cv_prog_make_
${ac_make}_set
=yes
48808 eval ac_cv_prog_make_
${ac_make}_set
=no
48810 rm -f conftest.
make
48812 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48813 echo "$as_me:$LINENO: result: yes" >&5
48814 echo "${ECHO_T}yes" >&6
48817 echo "$as_me:$LINENO: result: no" >&5
48818 echo "${ECHO_T}no" >&6
48819 SET_MAKE
="MAKE=${MAKE-make}"
48824 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48827 if test "$USE_WIN32" = 1; then
48828 ac_config_commands
="$ac_config_commands
48834 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48837 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48840 if test "$wx_cv_version_script" = "yes"; then
48841 ac_config_files
="$ac_config_files version-script"
48844 ac_config_files
="$ac_config_files Makefile"
48847 ac_config_commands
="$ac_config_commands wx-config"
48851 if test "$wxWITH_SUBDIRS" != "no"; then
48852 if test "$wxUSE_GUI" = "yes"; then
48853 SUBDIRS
="samples demos utils"
48854 else SUBDIRS
="samples utils"
48859 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48860 if test "${with_cppunit_prefix+set}" = set; then
48861 withval
="$with_cppunit_prefix"
48862 cppunit_config_prefix
="$withval"
48864 cppunit_config_prefix
=""
48867 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48868 if test "${with_cppunit_exec_prefix+set}" = set; then
48869 withval
="$with_cppunit_exec_prefix"
48870 cppunit_config_exec_prefix
="$withval"
48872 cppunit_config_exec_prefix
=""
48875 if test x
$cppunit_config_exec_prefix != x
; then
48876 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48877 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48878 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48881 if test x
$cppunit_config_prefix != x
; then
48882 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48883 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48884 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48888 # Extract the first word of "cppunit-config", so it can be a program name with args.
48889 set dummy cppunit
-config; ac_word
=$2
48890 echo "$as_me:$LINENO: checking for $ac_word" >&5
48891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48892 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48893 echo $ECHO_N "(cached) $ECHO_C" >&6
48895 case $CPPUNIT_CONFIG in
48897 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48901 for as_dir
in $PATH
48904 test -z "$as_dir" && as_dir
=.
48905 for ac_exec_ext
in '' $ac_executable_extensions; do
48906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48907 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48914 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48918 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48920 if test -n "$CPPUNIT_CONFIG"; then
48921 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48922 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48924 echo "$as_me:$LINENO: result: no" >&5
48925 echo "${ECHO_T}no" >&6
48928 cppunit_version_min
=1.8.0
48930 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48931 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48933 if test "$CPPUNIT_CONFIG" = "no" ; then
48934 echo "$as_me:$LINENO: result: no" >&5
48935 echo "${ECHO_T}no" >&6
48938 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48939 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48940 cppunit_version
=`$CPPUNIT_CONFIG --version`
48942 cppunit_major_version
=`echo $cppunit_version | \
48943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48944 cppunit_minor_version
=`echo $cppunit_version | \
48945 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48946 cppunit_micro_version
=`echo $cppunit_version | \
48947 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48949 cppunit_major_min
=`echo $cppunit_version_min | \
48950 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48951 if test "x${cppunit_major_min}" = "x" ; then
48952 cppunit_major_min
=0
48955 cppunit_minor_min
=`echo $cppunit_version_min | \
48956 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48957 if test "x${cppunit_minor_min}" = "x" ; then
48958 cppunit_minor_min
=0
48961 cppunit_micro_min
=`echo $cppunit_version_min | \
48962 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48963 if test "x${cppunit_micro_min}" = "x" ; then
48964 cppunit_micro_min
=0
48967 cppunit_version_proper
=`expr \
48968 $cppunit_major_version \> $cppunit_major_min \| \
48969 $cppunit_major_version \= $cppunit_major_min \& \
48970 $cppunit_minor_version \> $cppunit_minor_min \| \
48971 $cppunit_major_version \= $cppunit_major_min \& \
48972 $cppunit_minor_version \= $cppunit_minor_min \& \
48973 $cppunit_micro_version \>= $cppunit_micro_min `
48975 if test "$cppunit_version_proper" = "1" ; then
48976 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48977 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48979 echo "$as_me:$LINENO: result: no" >&5
48980 echo "${ECHO_T}no" >&6
48985 if test "x$no_cppunit" = x
; then
48986 SUBDIRS
="$SUBDIRS tests"
48997 for subdir
in `echo $SUBDIRS`; do
48998 if test -d ${srcdir}/${subdir} ; then
48999 if test "$wxUSE_GUI" = "yes"; then
49000 if test ${subdir} = "samples"; then
49001 makefiles
="samples/Makefile.in $makefiles"
49002 for sample
in `echo $SAMPLES_SUBDIRS`; do
49003 if test -d $srcdir/samples
/$sample; then
49004 makefiles
="samples/$sample/Makefile.in $makefiles"
49008 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
49009 eval "disabled=\$$disabled_var"
49010 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49011 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49013 else if test ${subdir} = "samples"; then
49014 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49015 elif test ${subdir} = "utils"; then
49017 for util
in HelpGen tex2rtf
; do
49018 if test -d $srcdir/utils
/$util ; then
49019 makefiles
="utils/$util/Makefile.in \
49020 utils/$util/src/Makefile.in \
49024 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49028 for mkin
in $makefiles ; do
49029 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49030 ac_config_files
="$ac_config_files $mk"
49036 cat >confcache
<<\_ACEOF
49037 # This file is a shell script that caches the results of configure
49038 # tests run on this system so they can be shared between configure
49039 # scripts and configure runs, see configure's option --config-cache.
49040 # It is not useful on other systems. If it contains results you don't
49041 # want to keep, you may remove or edit it.
49043 # config.status only pays attention to the cache file if you give it
49044 # the --recheck option to rerun configure.
49046 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49047 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49048 # following values.
49052 # The following way of writing the cache mishandles newlines in values,
49053 # but we know of no workaround that is simple, portable, and efficient.
49054 # So, don't put newlines in cache variables' values.
49055 # Ultrix sh set writes to stderr and can't be redirected directly,
49056 # and sets the high bit in the cache file unless we assign to the vars.
49059 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49061 # `set' does not quote correctly, so add quotes (double-quote
49062 # substitution turns \\\\ into \\, and sed turns \\ into \).
49065 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49068 # `set' quotes correctly as required by POSIX, so do not add quotes.
49070 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49077 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49079 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49081 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
49082 if test -w $cache_file; then
49083 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49084 cat confcache
>$cache_file
49086 echo "not updating unwritable cache $cache_file"
49091 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49092 # Let make expand exec_prefix.
49093 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49095 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49096 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49097 # trailing colons and then remove the whole line if VPATH becomes empty
49098 # (actually we leave an empty line to preserve line numbers).
49099 if test "x$srcdir" = x.
; then
49100 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
49101 s/:*\$(srcdir):*/:/;
49102 s/:*\${srcdir}:*/:/;
49104 s/^\([^=]*=[ ]*\):*/\1/;
49110 DEFS
=-DHAVE_CONFIG_H
49114 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49115 # 1. Remove the extension, and $U if already installed.
49116 ac_i
=`echo "$ac_i" |
49117 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49119 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
49120 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
49122 LIBOBJS
=$ac_libobjs
49124 LTLIBOBJS
=$ac_ltlibobjs
49128 : ${CONFIG_STATUS=./config.status}
49129 ac_clean_files_save
=$ac_clean_files
49130 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49131 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49132 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49133 cat >$CONFIG_STATUS <<_ACEOF
49135 # Generated by $as_me.
49136 # Run this file to recreate the current configuration.
49137 # Compiler output produced by configure, useful for debugging
49138 # configure, is in config.log if it exists.
49141 ac_cs_recheck=false
49143 SHELL=\${CONFIG_SHELL-$SHELL}
49146 cat >>$CONFIG_STATUS <<\_ACEOF
49147 ## --------------------- ##
49148 ## M4sh Initialization. ##
49149 ## --------------------- ##
49151 # Be Bourne compatible
49152 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49155 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49156 # is contrary to our usage. Disable this feature.
49157 alias -g '${1+"$@"}'='"$@"'
49158 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
49161 DUALCASE
=1; export DUALCASE
# for MKS sh
49163 # Support unset when possible.
49164 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49171 # Work around bugs in pre-3.0 UWIN ksh.
49172 $as_unset ENV MAIL MAILPATH
49179 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49180 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49181 LC_TELEPHONE LC_TIME
49183 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49184 eval $as_var=C
; export $as_var
49190 # Required to use basename.
49191 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49197 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
49198 as_basename
=basename
49204 # Name of the executable.
49205 as_me
=`$as_basename "$0" ||
49206 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49207 X"$0" : 'X\(//\)$' \| \
49208 X"$0" : 'X\(/\)$' \| \
49209 . : '\(.\)' 2>/dev/null ||
49211 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49212 /^X\/\(\/\/\)$/{ s//\1/; q; }
49213 /^X\/\(\/\).*/{ s//\1/; q; }
49217 # PATH needs CR, and LINENO needs CR and PATH.
49218 # Avoid depending upon Character Ranges.
49219 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49220 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49221 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49222 as_cr_digits
='0123456789'
49223 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49225 # The user is always right.
49226 if test "${PATH_SEPARATOR+set}" != set; then
49227 echo "#! /bin/sh" >conf$$.sh
49228 echo "exit 0" >>conf$$.sh
49230 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49239 as_lineno_1
=$LINENO
49240 as_lineno_2
=$LINENO
49241 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
49242 test "x$as_lineno_1" != "x$as_lineno_2" &&
49243 test "x$as_lineno_3" = "x$as_lineno_2" || {
49244 # Find who we are. Look in the path if we contain no path at all
49247 *[\\/]* ) as_myself
=$0 ;;
49248 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49249 for as_dir
in $PATH
49252 test -z "$as_dir" && as_dir
=.
49253 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49258 # We did not find ourselves, most probably we were run as `sh COMMAND'
49259 # in which case we are not to be found in the path.
49260 if test "x$as_myself" = x
; then
49263 if test ! -f "$as_myself"; then
49264 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49265 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49266 { (exit 1); exit 1; }; }
49268 case $CONFIG_SHELL in
49270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49271 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
49274 test -z "$as_dir" && as_dir
=.
49275 for as_base
in sh bash ksh sh5
; do
49278 if ("$as_dir/$as_base" -c '
49279 as_lineno_1=$LINENO
49280 as_lineno_2=$LINENO
49281 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49282 test "x$as_lineno_1" != "x$as_lineno_2" &&
49283 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
49284 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
49285 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
49286 CONFIG_SHELL
=$as_dir/$as_base
49287 export CONFIG_SHELL
49288 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49296 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49297 # uniformly replaced by the line number. The first 'sed' inserts a
49298 # line-number line before each line; the second 'sed' does the real
49299 # work. The second script uses 'N' to pair each line-number line
49300 # with the numbered line, and appends trailing '-' during
49301 # substitution so that $LINENO is not a special case at line end.
49302 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49303 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49304 sed '=' <$as_myself |
49309 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49312 s,^['$as_cr_digits']*\n,,
49313 ' >$as_me.lineno
&&
49314 chmod +x
$as_me.lineno
||
49315 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49316 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49317 { (exit 1); exit 1; }; }
49319 # Don't try to exec as it changes $[0], causing all sort of problems
49320 # (the dirname of $[0] is not the place where we might find the
49321 # original and so on. Autoconf is especially sensible to this).
49323 # Exit status is that of the last command.
49328 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49329 *c
*,-n*) ECHO_N
= ECHO_C
='
49331 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
49332 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
49335 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49341 rm -f conf$$ conf$$.exe conf$$.
file
49343 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49344 # We could just check for DJGPP; but this test a) works b) is more generic
49345 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49346 if test -f conf$$.exe
; then
49347 # Don't use ln at all; we don't have any links
49352 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49357 rm -f conf$$ conf$$.exe conf$$.
file
49359 if mkdir -p .
2>/dev
/null
; then
49362 test -d .
/-p && rmdir .
/-p
49366 as_executable_p
="test -f"
49368 # Sed expression to map a string onto a valid CPP name.
49369 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49371 # Sed expression to map a string onto a valid variable name.
49372 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49376 # We need space, tab and new line, in precisely that order.
49386 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49387 # report actual input values of CONFIG_FILES etc. instead of their
49388 # values after options handling. Logging --version etc. is OK.
49392 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49393 ## Running $as_me. ##
49398 This file was extended by wxWidgets $as_me 2.9.0, which was
49399 generated by GNU Autoconf 2.59. Invocation command line was
49401 CONFIG_FILES = $CONFIG_FILES
49402 CONFIG_HEADERS = $CONFIG_HEADERS
49403 CONFIG_LINKS = $CONFIG_LINKS
49404 CONFIG_COMMANDS = $CONFIG_COMMANDS
49408 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49412 # Files that config.status was made for.
49413 if test -n "$ac_config_files"; then
49414 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49417 if test -n "$ac_config_headers"; then
49418 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49421 if test -n "$ac_config_links"; then
49422 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49425 if test -n "$ac_config_commands"; then
49426 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49429 cat >>$CONFIG_STATUS <<\_ACEOF
49432 \`$as_me' instantiates files from templates according to the
49433 current configuration.
49435 Usage: $0 [OPTIONS] [FILE]...
49437 -h, --help print this help, then exit
49438 -V, --version print version number, then exit
49439 -q, --quiet do not print progress messages
49440 -d, --debug don't remove temporary files
49441 --recheck update $as_me by reconfiguring in the same conditions
49442 --file=FILE[:TEMPLATE]
49443 instantiate the configuration file FILE
49444 --header=FILE[:TEMPLATE]
49445 instantiate the configuration header FILE
49447 Configuration files:
49450 Configuration headers:
49453 Configuration commands:
49456 Report bugs to <bug-autoconf@gnu.org>."
49459 cat >>$CONFIG_STATUS <<_ACEOF
49461 wxWidgets config.status 2.9.0
49462 configured by $0, generated by GNU Autoconf 2.59,
49463 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49465 Copyright (C) 2003 Free Software Foundation, Inc.
49466 This config.status script is free software; the Free Software Foundation
49467 gives unlimited permission to copy, distribute and modify it."
49472 cat >>$CONFIG_STATUS <<\_ACEOF
49473 # If no file are specified by the user, then we need to provide default
49474 # value. By we need to know if files were specified by the user.
49480 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
49481 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
49489 *) # This is not an option, so the user has probably given explicit
49492 ac_need_defaults
=false
;;
49496 # Handling of the options.
49498 cat >>$CONFIG_STATUS <<\_ACEOF
49499 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49501 --version | --vers* | -V )
49502 echo "$ac_cs_version"; exit 0 ;;
49504 # Conflict between --help and --header
49505 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49506 Try \`$0 --help' for more information." >&5
49507 echo "$as_me: error: ambiguous option: $1
49508 Try \`$0 --help' for more information." >&2;}
49509 { (exit 1); exit 1; }; };;
49510 --help | --hel | -h )
49511 echo "$ac_cs_usage"; exit 0 ;;
49512 --debug | --d* | -d )
49514 --file | --fil | --fi | --f )
49516 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49517 ac_need_defaults
=false
;;
49518 --header | --heade | --head | --hea )
49520 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49521 ac_need_defaults
=false
;;
49522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49523 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49526 # This is an error.
49527 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49528 Try \`$0 --help' for more information." >&5
49529 echo "$as_me: error: unrecognized option: $1
49530 Try \`$0 --help' for more information." >&2;}
49531 { (exit 1); exit 1; }; } ;;
49533 *) ac_config_targets
="$ac_config_targets $1" ;;
49539 ac_configure_extra_args
=
49541 if $ac_cs_silent; then
49543 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49547 cat >>$CONFIG_STATUS <<_ACEOF
49548 if \$ac_cs_recheck; then
49549 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49550 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49555 cat >>$CONFIG_STATUS <<_ACEOF
49557 # INIT-COMMANDS section.
49562 infile="$srcdir/include/wx/msw/genrcdefs.h"
49563 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49566 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49567 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49568 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49576 cat >>$CONFIG_STATUS <<\_ACEOF
49577 for ac_config_target
in $ac_config_targets
49579 case "$ac_config_target" in
49580 # Handling of arguments.
49581 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49582 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49583 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49584 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49585 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49586 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49587 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49588 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49589 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49590 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49591 { (exit 1); exit 1; }; };;
49595 # If the user did not use the arguments to specify the items to instantiate,
49596 # then the envvar interface is used. Set only those that are not.
49597 # We use the long form for the default assignment because of an extremely
49598 # bizarre bug on SunOS 4.1.3.
49599 if $ac_need_defaults; then
49600 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49601 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49602 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49605 # Have a temporary directory for convenience. Make it in the build tree
49606 # simply because there is no reason to put it here, and in addition,
49607 # creating and moving files from /tmp can sometimes cause problems.
49608 # Create a temporary directory, and hook for its removal unless debugging.
49611 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49612 trap '{ (exit 1); exit 1; }' 1 2 13 15
49615 # Create a (secure) tmp directory for tmp files.
49618 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49619 test -n "$tmp" && test -d "$tmp"
49622 tmp
=.
/confstat$$
-$RANDOM
49623 (umask 077 && mkdir $tmp)
49626 echo "$me: cannot create a temporary directory in ." >&2
49627 { (exit 1); exit 1; }
49632 cat >>$CONFIG_STATUS <<_ACEOF
49635 # CONFIG_FILES section.
49638 # No need to generate the scripts if there are no CONFIG_FILES.
49639 # This happens for instance when ./config.status config.h
49640 if test -n "\$CONFIG_FILES"; then
49641 # Protect against being on the right side of a sed subst in config.status.
49642 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49643 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49644 s,@SHELL@,$SHELL,;t t
49645 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49646 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49647 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49648 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49649 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49650 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49651 s,@exec_prefix@,$exec_prefix,;t t
49652 s,@prefix@,$prefix,;t t
49653 s,@program_transform_name@,$program_transform_name,;t t
49654 s,@bindir@,$bindir,;t t
49655 s,@sbindir@,$sbindir,;t t
49656 s,@libexecdir@,$libexecdir,;t t
49657 s,@datadir@,$datadir,;t t
49658 s,@sysconfdir@,$sysconfdir,;t t
49659 s,@sharedstatedir@,$sharedstatedir,;t t
49660 s,@localstatedir@,$localstatedir,;t t
49661 s,@libdir@,$libdir,;t t
49662 s,@includedir@,$includedir,;t t
49663 s,@oldincludedir@,$oldincludedir,;t t
49664 s,@infodir@,$infodir,;t t
49665 s,@mandir@,$mandir,;t t
49666 s,@build_alias@,$build_alias,;t t
49667 s,@host_alias@,$host_alias,;t t
49668 s,@target_alias@,$target_alias,;t t
49669 s,@DEFS@,$DEFS,;t t
49670 s,@ECHO_C@,$ECHO_C,;t t
49671 s,@ECHO_N@,$ECHO_N,;t t
49672 s,@ECHO_T@,$ECHO_T,;t t
49673 s,@LIBS@,$LIBS,;t t
49674 s,@build@,$build,;t t
49675 s,@build_cpu@,$build_cpu,;t t
49676 s,@build_vendor@,$build_vendor,;t t
49677 s,@build_os@,$build_os,;t t
49678 s,@host@,$host,;t t
49679 s,@host_cpu@,$host_cpu,;t t
49680 s,@host_vendor@,$host_vendor,;t t
49681 s,@host_os@,$host_os,;t t
49682 s,@target@,$target,;t t
49683 s,@target_cpu@,$target_cpu,;t t
49684 s,@target_vendor@,$target_vendor,;t t
49685 s,@target_os@,$target_os,;t t
49686 s,@wx_top_builddir@,$wx_top_builddir,;t t
49688 s,@CFLAGS@,$CFLAGS,;t t
49689 s,@LDFLAGS@,$LDFLAGS,;t t
49690 s,@CPPFLAGS@,$CPPFLAGS,;t t
49691 s,@ac_ct_CC@,$ac_ct_CC,;t t
49692 s,@EXEEXT@,$EXEEXT,;t t
49693 s,@OBJEXT@,$OBJEXT,;t t
49695 s,@EGREP@,$EGREP,;t t
49697 s,@CXXFLAGS@,$CXXFLAGS,;t t
49698 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49699 s,@RANLIB@,$RANLIB,;t t
49700 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49702 s,@ac_ct_AR@,$ac_ct_AR,;t t
49703 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49704 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49705 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49706 s,@STRIP@,$STRIP,;t t
49707 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49708 s,@WINDRES@,$WINDRES,;t t
49709 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49710 s,@DLLTOOL@,$DLLTOOL,;t t
49711 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49712 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49713 s,@LN_S@,$LN_S,;t t
49714 s,@subdirs@,$subdirs,;t t
49715 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49716 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49717 s,@GTK_LIBS@,$GTK_LIBS,;t t
49718 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49719 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
49720 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
49721 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
49722 s,@X_CFLAGS@,$X_CFLAGS,;t t
49723 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49724 s,@X_LIBS@,$X_LIBS,;t t
49725 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49726 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49727 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49728 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49729 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49730 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49731 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49733 s,@DEREZ@,$DEREZ,;t t
49734 s,@SETFILE@,$SETFILE,;t t
49735 s,@LIBICONV@,$LIBICONV,;t t
49736 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49737 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49738 s,@SDL_LIBS@,$SDL_LIBS,;t t
49739 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49740 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49741 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49742 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49743 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49744 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49745 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
49746 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
49747 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49748 s,@GST_LIBS@,$GST_LIBS,;t t
49749 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49750 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49751 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49752 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49753 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49754 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49755 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49756 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49757 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49758 s,@VENDOR@,$VENDOR,;t t
49759 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49760 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49761 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49762 s,@WXUNIV@,$WXUNIV,;t t
49763 s,@MONOLITHIC@,$MONOLITHIC,;t t
49764 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49765 s,@CXXWARNINGS@,$CXXWARNINGS,;t t
49766 s,@EXTRALIBS@,$EXTRALIBS,;t t
49767 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49768 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49769 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49770 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49771 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49772 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49773 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49774 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49775 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49776 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49777 s,@UNICODE@,$UNICODE,;t t
49778 s,@BUILD@,$BUILD,;t t
49779 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49780 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49781 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49782 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49783 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49784 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49785 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49786 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49787 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49788 s,@SET_MAKE@,$SET_MAKE,;t t
49789 s,@MAKE_SET@,$MAKE_SET,;t t
49790 s,@AROPTIONS@,$AROPTIONS,;t t
49792 s,@ac_ct_NM@,$ac_ct_NM,;t t
49793 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49794 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49795 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49796 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49797 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49798 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49799 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49800 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49801 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49802 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49803 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49804 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49805 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49806 s,@LIBPREFIX@,$LIBPREFIX,;t t
49807 s,@LIBEXT@,$LIBEXT,;t t
49808 s,@DLLPREFIX@,$DLLPREFIX,;t t
49809 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49810 s,@dlldir@,$dlldir,;t t
49811 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49812 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49813 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49814 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49815 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49816 s,@PIC_FLAG@,$PIC_FLAG,;t t
49817 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49818 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49819 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49820 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49821 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49822 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49823 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49824 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49825 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49826 s,@BK_DEPS@,$BK_DEPS,;t t
49827 s,@GCC_PCH@,$GCC_PCH,;t t
49828 s,@ICC_PCH@,$ICC_PCH,;t t
49829 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
49830 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49831 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49832 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49833 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49834 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49835 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49836 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49837 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49838 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49839 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49840 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49841 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49842 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49843 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49844 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49845 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49846 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49847 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49848 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
49849 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49850 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
49851 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
49852 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
49853 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
49854 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49855 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
49856 s,@COND_MONOLITHIC_0_SHARED_0_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_STC_1,;t t
49857 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49858 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49859 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
49860 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49861 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
49862 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
49863 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
49864 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
49865 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49866 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
49867 s,@COND_MONOLITHIC_0_SHARED_1_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_STC_1,;t t
49868 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49869 s,@COND_MONOLITHIC_0_USE_AUI_1@,$COND_MONOLITHIC_0_USE_AUI_1,;t t
49870 s,@COND_MONOLITHIC_0_USE_GUI_1@,$COND_MONOLITHIC_0_USE_GUI_1,;t t
49871 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1,;t t
49872 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1,;t t
49873 s,@COND_MONOLITHIC_0_USE_HTML_1@,$COND_MONOLITHIC_0_USE_HTML_1,;t t
49874 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49875 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49876 s,@COND_MONOLITHIC_0_USE_QA_1@,$COND_MONOLITHIC_0_USE_QA_1,;t t
49877 s,@COND_MONOLITHIC_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_USE_RICHTEXT_1,;t t
49878 s,@COND_MONOLITHIC_0_USE_STC_1@,$COND_MONOLITHIC_0_USE_STC_1,;t t
49879 s,@COND_MONOLITHIC_0_USE_XRC_1@,$COND_MONOLITHIC_0_USE_XRC_1,;t t
49880 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49881 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49882 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49883 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49884 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49885 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49886 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49887 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49888 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49889 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49890 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49891 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49892 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49893 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49894 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49895 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49896 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49897 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49898 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49899 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49900 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49901 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49902 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49903 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49904 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
49905 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
49906 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49907 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49908 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49909 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49910 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49911 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49912 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49913 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49914 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49915 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49916 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49917 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49918 s,@COND_SHARED_0_USE_STC_1@,$COND_SHARED_0_USE_STC_1,;t t
49919 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49920 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49921 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49922 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49923 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49924 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49925 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49926 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49927 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49928 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49929 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49930 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49931 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
49932 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
49933 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49934 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49935 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49936 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49937 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
49938 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49939 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49940 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49941 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49942 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49943 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49944 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49945 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49946 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49947 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49948 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49949 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49950 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49951 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49952 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49953 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49954 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49955 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49956 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49957 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49958 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49959 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49960 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49961 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49962 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49963 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49964 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49965 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49966 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49967 s,@COND_USE_GUI_1_USE_OPENGL_1@,$COND_USE_GUI_1_USE_OPENGL_1,;t t
49968 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49969 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49970 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49971 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49972 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49973 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49974 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49975 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49976 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49977 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49978 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49979 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49980 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49981 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49982 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49983 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49984 s,@COND_USE_STC_1@,$COND_USE_STC_1,;t t
49985 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49986 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49987 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49988 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49989 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49990 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49991 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49992 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49993 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49994 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49995 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49996 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49997 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49998 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49999 s,@SHARED@,$SHARED,;t t
50000 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50001 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50002 s,@USE_GUI@,$USE_GUI,;t t
50003 s,@AFMINSTALL@,$AFMINSTALL,;t t
50004 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50005 s,@TOOLKIT@,$TOOLKIT,;t t
50006 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50007 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50008 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50009 s,@cross_compiling@,$cross_compiling,;t t
50010 s,@WIDGET_SET@,$WIDGET_SET,;t t
50011 s,@WX_RELEASE@,$WX_RELEASE,;t t
50012 s,@WX_VERSION@,$WX_VERSION,;t t
50013 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50014 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50015 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50016 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50017 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50018 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50019 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50020 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50021 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50022 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50023 s,@EXE_LINKER@,$EXE_LINKER,;t t
50024 s,@GUIDIST@,$GUIDIST,;t t
50025 s,@DISTDIR@,$DISTDIR,;t t
50026 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50027 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50028 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50029 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50030 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50031 s,@RESCOMP@,$RESCOMP,;t t
50032 s,@RESFLAGS@,$RESFLAGS,;t t
50033 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50034 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50035 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50036 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50037 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50038 s,@MACSETFILE@,$MACSETFILE,;t t
50040 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50041 s,@LIBOBJS@,$LIBOBJS,;t t
50042 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50047 cat >>$CONFIG_STATUS <<\_ACEOF
50048 # Split the substitutions into bite-sized pieces for seds with
50049 # small command number limits, like on Digital OSF/1 and HP-UX.
50050 ac_max_sed_lines
=48
50051 ac_sed_frag
=1 # Number of current file.
50052 ac_beg
=1 # First line for current file.
50053 ac_end
=$ac_max_sed_lines # Line after last line for current file.
50056 while $ac_more_lines; do
50057 if test $ac_beg -gt 1; then
50058 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50060 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50062 if test ! -s $tmp/subs.frag
; then
50063 ac_more_lines
=false
50065 # The purpose of the label and of the branching condition is to
50066 # speed up the sed processing (if there are no `@' at all, there
50067 # is no need to browse any of the substitutions).
50068 # These are the two extra sed commands mentioned above.
50070 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
50071 if test -z "$ac_sed_cmds"; then
50072 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
50074 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50076 ac_sed_frag
=`expr $ac_sed_frag + 1`
50078 ac_end
=`expr $ac_end + $ac_max_sed_lines`
50081 if test -z "$ac_sed_cmds"; then
50084 fi # test -n "$CONFIG_FILES"
50087 cat >>$CONFIG_STATUS <<\_ACEOF
50088 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
50089 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50091 - | *:- | *:-:* ) # input from stdin
50093 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50094 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50095 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50096 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50097 * ) ac_file_in
=$ac_file.
in ;;
50100 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50101 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50102 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50103 X"$ac_file" : 'X\(//\)[^/]' \| \
50104 X"$ac_file" : 'X\(//\)$' \| \
50105 X"$ac_file" : 'X\(/\)' \| \
50106 . : '\(.\)' 2>/dev/null ||
50108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50109 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50110 /^X\(\/\/\)$/{ s//\1/; q; }
50111 /^X\(\/\).*/{ s//\1/; q; }
50113 { if $as_mkdir_p; then
50118 while test ! -d "$as_dir"; do
50119 as_dirs
="$as_dir $as_dirs"
50120 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50121 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50122 X"$as_dir" : 'X\(//\)[^/]' \| \
50123 X"$as_dir" : 'X\(//\)$' \| \
50124 X"$as_dir" : 'X\(/\)' \| \
50125 . : '\(.\)' 2>/dev/null ||
50127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50128 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50129 /^X\(\/\/\)$/{ s//\1/; q; }
50130 /^X\(\/\).*/{ s//\1/; q; }
50133 test ! -n "$as_dirs" || mkdir $as_dirs
50134 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50135 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50136 { (exit 1); exit 1; }; }; }
50140 if test "$ac_dir" != .
; then
50141 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50142 # A "../" for each directory in $ac_dir_suffix.
50143 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50145 ac_dir_suffix
= ac_top_builddir
=
50149 .
) # No --srcdir option. We are building in place.
50151 if test -z "$ac_top_builddir"; then
50154 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50156 [\\/]* | ?
:[\\/]* ) # Absolute path.
50157 ac_srcdir
=$srcdir$ac_dir_suffix;
50158 ac_top_srcdir
=$srcdir ;;
50159 *) # Relative path.
50160 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50161 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50164 # Do not use `cd foo && pwd` to compute absolute paths, because
50165 # the directories may not exist.
50167 .
) ac_abs_builddir
="$ac_dir";;
50170 .
) ac_abs_builddir
=`pwd`;;
50171 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50172 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50175 case $ac_abs_builddir in
50176 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50178 case ${ac_top_builddir}.
in
50179 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50180 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50181 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50184 case $ac_abs_builddir in
50185 .
) ac_abs_srcdir
=$ac_srcdir;;
50188 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50189 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50190 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50193 case $ac_abs_builddir in
50194 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50196 case $ac_top_srcdir in
50197 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50198 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50199 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50205 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50206 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
50209 if test x
"$ac_file" != x
-; then
50210 { echo "$as_me:$LINENO: creating $ac_file" >&5
50211 echo "$as_me: creating $ac_file" >&6;}
50214 # Let's still pretend it is `configure' which instantiates (i.e., don't
50215 # use $as_me), people would be surprised to read:
50216 # /* config.h. Generated by config.status. */
50217 if test x
"$ac_file" = x
-; then
50220 configure_input
="$ac_file. "
50222 configure_input
=$configure_input"Generated from `echo $ac_file_in |
50223 sed 's,.*/,,'` by configure."
50225 # First look for the input files in the build tree, otherwise in the
50227 ac_file_inputs
=`IFS=:
50228 for f in $ac_file_in; do
50230 -) echo $tmp/stdin ;;
50232 # Absolute (can't be DOS-style, as IFS=:)
50233 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50234 echo "$as_me: error: cannot find input file: $f" >&2;}
50235 { (exit 1); exit 1; }; }
50238 if test -f "$f"; then
50241 elif test -f "$srcdir/$f"; then
50246 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50247 echo "$as_me: error: cannot find input file: $f" >&2;}
50248 { (exit 1); exit 1; }; }
50251 done` || { (exit 1); exit 1; }
50253 cat >>$CONFIG_STATUS <<_ACEOF
50257 cat >>$CONFIG_STATUS <<\_ACEOF
50259 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50260 s
,@configure_input@
,$configure_input,;t t
50261 s
,@srcdir@
,$ac_srcdir,;t t
50262 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
50263 s
,@top_srcdir@
,$ac_top_srcdir,;t t
50264 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
50265 s
,@builddir@
,$ac_builddir,;t t
50266 s
,@abs_builddir@
,$ac_abs_builddir,;t t
50267 s
,@top_builddir@
,$ac_top_builddir,;t t
50268 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
50269 s
,@INSTALL@
,$ac_INSTALL,;t t
50270 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50272 if test x"$ac_file" != x-; then
50273 mv $tmp/out $ac_file
50279 # Run the commands associated with the file.
50281 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50282 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50286 cat >>$CONFIG_STATUS <<\_ACEOF
50289 # CONFIG_HEADER section.
50292 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
50293 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50295 # ac_d sets the value in "#define NAME VALUE" lines.
50296 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50297 ac_dB
='[ ].*$,\1#\2'
50300 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50301 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50302 ac_uB
='$,\1#\2define\3'
50306 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
50307 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50309 - | *:- | *:-:* ) # input from stdin
50311 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50312 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50313 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50314 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50315 * ) ac_file_in
=$ac_file.
in ;;
50318 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50319 echo "$as_me: creating $ac_file" >&6;}
50321 # First look for the input files in the build tree, otherwise in the
50323 ac_file_inputs
=`IFS=:
50324 for f in $ac_file_in; do
50326 -) echo $tmp/stdin ;;
50328 # Absolute (can't be DOS-style, as IFS=:)
50329 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50330 echo "$as_me: error: cannot find input file: $f" >&2;}
50331 { (exit 1); exit 1; }; }
50332 # Do quote $f, to prevent DOS paths from being IFS'd.
50335 if test -f "$f"; then
50338 elif test -f "$srcdir/$f"; then
50343 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50344 echo "$as_me: error: cannot find input file: $f" >&2;}
50345 { (exit 1); exit 1; }; }
50348 done` || { (exit 1); exit 1; }
50349 # Remove the trailing spaces.
50350 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50354 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50355 # `conftest.undefs', that substitutes the proper values into
50356 # config.h.in to produce config.h. The first handles `#define'
50357 # templates, and the second `#undef' templates.
50358 # And first: Protect against being on the right side of a sed subst in
50359 # config.status. Protect against being in an unquoted here document
50360 # in config.status.
50361 rm -f conftest.defines conftest.undefs
50362 # Using a here document instead of a string reduces the quoting nightmare.
50363 # Putting comments in sed scripts is not portable.
50365 # `end' is used to avoid that the second main sed command (meant for
50366 # 0-ary CPP macros) applies to n-ary macro definitions.
50367 # See the Autoconf documentation for `clear'.
50368 cat >confdef2sed.
sed <<\_ACEOF
50373 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50375 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50378 # If some macros were called several times there might be several times
50379 # the same #defines, which is useless. Nevertheless, we may not want to
50380 # sort them, since we want the *last* AC-DEFINE to be honored.
50381 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50382 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50383 rm -f confdef2sed.sed
50385 # This sed command replaces #undef with comments. This is necessary, for
50386 # example, in the case of _POSIX_SOURCE, which is predefined and required
50387 # on some systems where configure will not decide to define it.
50388 cat >>conftest.undefs <<\_ACEOF
50389 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50392 # Break up conftest.defines because some shells have a limit on the size
50393 # of here documents, and old seds have small limits too (100 cmds).
50394 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50395 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50396 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50397 echo ' :' >>$CONFIG_STATUS
50398 rm -f conftest.tail
50399 while grep . conftest.defines >/dev/null
50401 # Write a limited-size here document to $tmp/defines.sed.
50402 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50403 # Speed up: don't consider the non `#define' lines.
50404 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50405 # Work around the forget-to-reset-the-flag bug.
50406 echo 't clr' >>$CONFIG_STATUS
50407 echo ': clr' >>$CONFIG_STATUS
50408 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
50410 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50412 mv $tmp/out $tmp/in
50414 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
50415 rm -f conftest.defines
50416 mv conftest.
tail conftest.defines
50418 rm -f conftest.defines
50419 echo ' fi # grep' >>$CONFIG_STATUS
50420 echo >>$CONFIG_STATUS
50422 # Break up conftest.undefs because some shells have a limit on the size
50423 # of here documents, and old seds have small limits too (100 cmds).
50424 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50425 rm -f conftest.
tail
50426 while grep . conftest.undefs
>/dev
/null
50428 # Write a limited-size here document to $tmp/undefs.sed.
50429 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50430 # Speed up: don't consider the non
`#undef'
50431 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50432 # Work around the forget-to-reset-the-flag bug.
50433 echo 't clr' >>$CONFIG_STATUS
50434 echo ': clr' >>$CONFIG_STATUS
50435 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50437 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50439 mv $tmp/out $tmp/in
50441 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50442 rm -f conftest.undefs
50443 mv conftest.tail conftest.undefs
50445 rm -f conftest.undefs
50447 cat >>$CONFIG_STATUS <<\_ACEOF
50448 # Let's still pretend it is `configure
' which instantiates (i.e., don't
50449 # use $as_me), people would be surprised to read:
50450 # /* config.h. Generated by config.status. */
50451 if test x
"$ac_file" = x
-; then
50452 echo "/* Generated by configure. */" >$tmp/config.h
50454 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50456 cat $tmp/in >>$tmp/config.h
50458 if test x
"$ac_file" != x
-; then
50459 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
50460 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50461 echo "$as_me: $ac_file is unchanged" >&6;}
50463 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50464 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50465 X"$ac_file" : 'X\(//\)[^/]' \| \
50466 X"$ac_file" : 'X\(//\)$' \| \
50467 X"$ac_file" : 'X\(/\)' \| \
50468 . : '\(.\)' 2>/dev/null ||
50470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50471 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50472 /^X\(\/\/\)$/{ s//\1/; q; }
50473 /^X\(\/\).*/{ s//\1/; q; }
50475 { if $as_mkdir_p; then
50480 while test ! -d "$as_dir"; do
50481 as_dirs
="$as_dir $as_dirs"
50482 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50483 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50484 X"$as_dir" : 'X\(//\)[^/]' \| \
50485 X"$as_dir" : 'X\(//\)$' \| \
50486 X"$as_dir" : 'X\(/\)' \| \
50487 . : '\(.\)' 2>/dev/null ||
50489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50490 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50491 /^X\(\/\/\)$/{ s//\1/; q; }
50492 /^X\(\/\).*/{ s//\1/; q; }
50495 test ! -n "$as_dirs" || mkdir $as_dirs
50496 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50497 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50498 { (exit 1); exit 1; }; }; }
50501 mv $tmp/config.h
$ac_file
50505 rm -f $tmp/config.h
50509 cat >>$CONFIG_STATUS <<\_ACEOF
50512 # CONFIG_COMMANDS section.
50514 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
50515 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
50516 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50517 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
50518 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50519 X"$ac_dest" : 'X\(//\)[^/]' \| \
50520 X"$ac_dest" : 'X\(//\)$' \| \
50521 X"$ac_dest" : 'X\(/\)' \| \
50522 . : '\(.\)' 2>/dev/null ||
50524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50525 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50526 /^X\(\/\/\)$/{ s//\1/; q; }
50527 /^X\(\/\).*/{ s//\1/; q; }
50529 { if $as_mkdir_p; then
50534 while test ! -d "$as_dir"; do
50535 as_dirs
="$as_dir $as_dirs"
50536 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50537 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50538 X"$as_dir" : 'X\(//\)[^/]' \| \
50539 X"$as_dir" : 'X\(//\)$' \| \
50540 X"$as_dir" : 'X\(/\)' \| \
50541 . : '\(.\)' 2>/dev/null ||
50543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50544 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50545 /^X\(\/\/\)$/{ s//\1/; q; }
50546 /^X\(\/\).*/{ s//\1/; q; }
50549 test ! -n "$as_dirs" || mkdir $as_dirs
50550 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50551 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50552 { (exit 1); exit 1; }; }; }
50556 if test "$ac_dir" != .
; then
50557 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50558 # A "../" for each directory in $ac_dir_suffix.
50559 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50561 ac_dir_suffix
= ac_top_builddir
=
50565 .
) # No --srcdir option. We are building in place.
50567 if test -z "$ac_top_builddir"; then
50570 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50572 [\\/]* | ?
:[\\/]* ) # Absolute path.
50573 ac_srcdir
=$srcdir$ac_dir_suffix;
50574 ac_top_srcdir
=$srcdir ;;
50575 *) # Relative path.
50576 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50577 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50580 # Do not use `cd foo && pwd` to compute absolute paths, because
50581 # the directories may not exist.
50583 .
) ac_abs_builddir
="$ac_dir";;
50586 .
) ac_abs_builddir
=`pwd`;;
50587 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50588 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50591 case $ac_abs_builddir in
50592 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50594 case ${ac_top_builddir}.
in
50595 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50596 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50597 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50600 case $ac_abs_builddir in
50601 .
) ac_abs_srcdir
=$ac_srcdir;;
50604 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50605 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50606 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50609 case $ac_abs_builddir in
50610 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50612 case $ac_top_srcdir in
50613 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50614 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50615 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50620 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50621 echo "$as_me: executing $ac_dest commands" >&6;}
50624 mkdir -p $outdir &&
50625 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50627 wx
-config ) rm -f wx
-config
50628 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50634 cat >>$CONFIG_STATUS <<\_ACEOF
50636 { (exit 0); exit 0; }
50638 chmod +x
$CONFIG_STATUS
50639 ac_clean_files
=$ac_clean_files_save
50642 # configure is writing to config.log, and then calls config.status.
50643 # config.status does its own redirection, appending to config.log.
50644 # Unfortunately, on DOS this fails, as config.log is still kept open
50645 # by configure, so config.status won't be able to write to it; its
50646 # output is simply discarded. So we exec the FD to /dev/null,
50647 # effectively closing config.log, so it can be properly (re)opened and
50648 # appended to by config.status. When coming back to configure, we
50649 # need to make the FD available again.
50650 if test "$no_create" != yes; then
50652 ac_config_status_args
=
50653 test "$silent" = yes &&
50654 ac_config_status_args
="$ac_config_status_args --quiet"
50656 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50658 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50659 # would make configure fail if this is the last instruction.
50660 $ac_cs_success || { (exit 1); exit 1; }
50664 # CONFIG_SUBDIRS section.
50666 if test "$no_recursion" != yes; then
50668 # Remove --cache-file and --srcdir arguments so they do not pile up.
50669 ac_sub_configure_args
=
50671 for ac_arg
in $ac_configure_args; do
50672 if test -n "$ac_prev"; then
50677 -cache-file | --cache-file | --cache-fil | --cache-fi \
50678 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50679 ac_prev
=cache_file
;;
50680 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50681 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50684 --config-cache | -C)
50686 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50688 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50690 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50692 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50694 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50698 # Always prepend --prefix to ensure using the same prefix
50699 # in subdir configurations.
50700 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50703 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50705 # Do not complain, so a configure script can configure whichever
50706 # parts of a large source tree are present.
50707 test -d $srcdir/$ac_dir || continue
50709 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50710 echo "$as_me: configuring in $ac_dir" >&6;}
50711 { if $as_mkdir_p; then
50716 while test ! -d "$as_dir"; do
50717 as_dirs
="$as_dir $as_dirs"
50718 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50719 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50720 X"$as_dir" : 'X\(//\)[^/]' \| \
50721 X"$as_dir" : 'X\(//\)$' \| \
50722 X"$as_dir" : 'X\(/\)' \| \
50723 . : '\(.\)' 2>/dev/null ||
50725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50726 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50727 /^X\(\/\/\)$/{ s//\1/; q; }
50728 /^X\(\/\).*/{ s//\1/; q; }
50731 test ! -n "$as_dirs" || mkdir $as_dirs
50732 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50733 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50734 { (exit 1); exit 1; }; }; }
50738 if test "$ac_dir" != .
; then
50739 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50740 # A "../" for each directory in $ac_dir_suffix.
50741 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50743 ac_dir_suffix
= ac_top_builddir
=
50747 .
) # No --srcdir option. We are building in place.
50749 if test -z "$ac_top_builddir"; then
50752 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50754 [\\/]* | ?
:[\\/]* ) # Absolute path.
50755 ac_srcdir
=$srcdir$ac_dir_suffix;
50756 ac_top_srcdir
=$srcdir ;;
50757 *) # Relative path.
50758 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50759 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50762 # Do not use `cd foo && pwd` to compute absolute paths, because
50763 # the directories may not exist.
50765 .
) ac_abs_builddir
="$ac_dir";;
50768 .
) ac_abs_builddir
=`pwd`;;
50769 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50770 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50773 case $ac_abs_builddir in
50774 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50776 case ${ac_top_builddir}.
in
50777 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50778 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50779 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50782 case $ac_abs_builddir in
50783 .
) ac_abs_srcdir
=$ac_srcdir;;
50786 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50787 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50788 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50791 case $ac_abs_builddir in
50792 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50794 case $ac_top_srcdir in
50795 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50796 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50797 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50804 # Check for guested configure; otherwise get Cygnus style configure.
50805 if test -f $ac_srcdir/configure.gnu
; then
50806 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50807 elif test -f $ac_srcdir/configure
; then
50808 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50809 elif test -f $ac_srcdir/configure.
in; then
50810 ac_sub_configure
=$ac_configure
50812 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50813 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50817 # The recursion is here.
50818 if test -n "$ac_sub_configure"; then
50819 # Make the cache file name correct relative to the subdirectory.
50820 case $cache_file in
50821 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50822 *) # Relative path.
50823 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50826 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50827 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50828 # The eval makes quoting arguments work.
50829 eval $ac_sub_configure $ac_sub_configure_args \
50830 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50831 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50832 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50833 { (exit 1); exit 1; }; }
50842 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50844 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50845 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50847 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50848 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50849 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50850 if test "$wxUSE_UNICODE" = "yes"; then
50851 echo " Should wxWidgets use UTF-8 internally? ${wxUSE_UNICODE_UTF8:-no}"
50854 echo " What level of wxWidgets compatibility should be enabled?"
50855 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50856 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50858 echo " Which libraries should wxWidgets use?"
50859 echo " jpeg ${wxUSE_LIBJPEG-none}"
50860 echo " png ${wxUSE_LIBPNG-none}"
50861 echo " regex ${wxUSE_REGEX}"
50862 echo " tiff ${wxUSE_LIBTIFF-none}"
50863 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50864 echo " xpm ${wxUSE_LIBXPM-none}"
50866 echo " zlib ${wxUSE_ZLIB}"
50867 echo " odbc ${wxUSE_ODBC}"
50868 echo " expat ${wxUSE_EXPAT}"
50869 echo " libmspack ${wxUSE_LIBMSPACK}"
50870 echo " sdl ${wxUSE_LIBSDL}"